1 25 26 package org.objectweb.jonas.jtests.beans.relation.omb; 27 28 import java.util.Collection ; 29 import java.rmi.RemoteException ; 30 import javax.ejb.CreateException ; 31 import javax.ejb.EJBObject ; 32 import javax.ejb.FinderException ; 33 34 37 public interface ARemote extends EJBObject { 38 39 String getId() throws RemoteException ; 40 41 50 void assignB(Collection c) throws FinderException , RemoteException ; 51 52 61 void assignBInNewTx(Collection c) throws FinderException , RemoteException ; 62 63 64 70 Collection retrieveB() throws RemoteException ; 71 72 78 Collection retrieveBisB() throws RemoteException ; 79 80 86 Collection retrieveBInNewTx() throws RemoteException ; 87 88 89 95 void addAllInB(Collection pkbs) throws FinderException , RemoteException ; 96 97 103 void addAllInBInNewTx(Collection pkbs) throws FinderException , RemoteException ; 104 105 106 112 void addInB(String pkb) throws FinderException , RemoteException ; 113 114 120 void addInBInNewTx(String pkb) throws FinderException , RemoteException ; 121 122 125 void addNewB(String pkb) throws CreateException , FinderException , RemoteException ; 126 127 133 void removeFromB(String pkb) throws FinderException , RemoteException ; 134 135 141 void removeFromBInNewTx(String pkb) throws FinderException , RemoteException ; 142 143 144 148 void clearB() throws RemoteException ; 149 150 154 void clearBInNewTx() throws RemoteException ; 155 156 162 boolean containAllInB(Collection pkbs) throws FinderException , RemoteException ; 163 164 165 171 boolean containInB(String pkb) throws FinderException , RemoteException ; 172 173 178 boolean testResetPkForbidden(String pka) throws RemoteException ; 179 180 } 181 | Popular Tags |