1 25 26 package org.objectweb.jonas.jtests.beans.relation.omu; 27 28 import java.util.Collection ; 29 import java.rmi.RemoteException ; 30 import javax.ejb.EJBObject ; 31 import javax.ejb.FinderException ; 32 33 36 public interface ARemote extends EJBObject { 37 38 String getId() throws RemoteException ; 39 40 49 void assignB(Collection c) throws FinderException , RemoteException ; 50 51 60 void assignBInNewTx(Collection c) throws FinderException , RemoteException ; 61 62 63 69 Collection retrieveB() throws RemoteException ; 70 71 77 Collection retrieveBInNewTx() throws RemoteException ; 78 79 80 86 void addAllInB(Collection pkbs) throws FinderException , RemoteException ; 87 88 94 void addAllInBInNewTx(Collection pkbs) throws FinderException , RemoteException ; 95 96 97 103 void addInB(String pkb) throws FinderException , RemoteException ; 104 105 111 void addInBInNewTx(String pkb) throws FinderException , RemoteException ; 112 113 114 120 void removeFromB(String pkb) throws FinderException , RemoteException ; 121 122 128 void removeFromBInNewTx(String pkb) throws FinderException , RemoteException ; 129 130 131 135 void clearB() throws RemoteException ; 136 137 141 void clearBInNewTx() throws RemoteException ; 142 143 149 boolean containAllInB(Collection pkbs) throws FinderException , RemoteException ; 150 151 152 158 boolean containInB(String pkb) throws FinderException , RemoteException ; 159 } 160 | Popular Tags |