| org.objectweb.jonas.jtests.beans.relation.omb.BRemote
BRemote | public interface BRemote extends EJBObject(Code) | | author: S.Chassande-Barrioz, Helene Joanin |
Method Summary | |
void | assignA(String pkA) It replaces the referenced element of the relation by the element specified. | void | assignAInNewTx(String pkA) It replaces the referenced element of the relation by the element specified. | boolean | equalsRelA(String pka) It returns true if relation is the bean A defined
by the primary key specified by the parameter. | String | getId() | void | m1() | String | retrieveA() It returns the primary key of the referenced element. | String | retrieveAInNewTx() It returns the primary key of the referenced element. |
assignA | void assignA(String pkA) throws FinderException, RemoteException(Code) | | It replaces the referenced element of the relation by the element specified.
This method has the transactional attribut TX_SUPPORTS.
Parameters: c - is a primary key of the bean 'A' or null to clear the relation. |
assignAInNewTx | void assignAInNewTx(String pkA) throws FinderException, RemoteException(Code) | | It replaces the referenced element of the relation by the element specified.
This method has the transactional attribut TX_REQUIRES_NEW.
Parameters: c - is a primary key of the bean 'A' or null to clear the relation. |
equalsRelA | boolean equalsRelA(String pka) throws FinderException, RemoteException(Code) | | It returns true if relation is the bean A defined
by the primary key specified by the parameter.
If pkb is null, return true if there is no relation
This method has the transactional attribut TX_SUPPORTS.
|
retrieveA | String retrieveA() throws RemoteException(Code) | | It returns the primary key of the referenced element.
This method has the transactional attribut TX_SUPPORTS.
the primary key of the referenced bean 'A' or null if thereis no referenced bean. |
retrieveAInNewTx | String retrieveAInNewTx() throws RemoteException(Code) | | It returns the primary key of the referenced element.
This method has the transactional attribut TX_REQUIRES_NEW.
the primary key of the referenced bean 'A' or null if thereis no referenced bean.. |
|
|