| |
|
| java.lang.Object org.jboss.test.cts.ejb.CtsBmpBean
CtsBmpBean | public class CtsBmpBean implements EntityBean(Code) | | Class CtsBmpBean is a simple BMP entity bean for testing.
If the table used for persistence here does not exist, ejbFindAll()
will create it.
author: $Author: dimitris@jboss.org $ version: $Revision: 57211 $ |
log | org.apache.log4j.Category log(Code) | | |
ejbActivate | public void ejbActivate()(Code) | | Method ejbActivate
|
ejbCreate | public AccountPK ejbCreate(AccountPK pk, String personsName) throws CreateException, DuplicateKeyException(Code) | | Create a new instance.
Parameters: pk - The primary key of the new instance. Parameters: personsName - Person name of the new instance. throws: CreateException - In case of database row creation failure. throws: DuplicateKeyException - If another instance with this primary key already exist. |
ejbFindAll | public Collection ejbFindAll() throws FinderException(Code) | | Find all instances.
throws: FinderException - If the lookup failed. |
ejbFindByPersonsName | public Collection ejbFindByPersonsName(String guysName) throws FinderException(Code) | | Find all instances where the personsName property is
equal to the argument.
throws: FinderException - If the lookup failed. |
ejbFindByPrimaryKey | public AccountPK ejbFindByPrimaryKey(AccountPK pk) throws FinderException(Code) | | Find a single instance by primary key.
Parameters: pk - Primary key of the instance searched for. throws: ObjectNotFoundException - If no instance with this primary key exists. throws: FinderException - If the lookup failed. |
ejbLoad | public void ejbLoad()(Code) | | Method ejbLoad
|
ejbPassivate | public void ejbPassivate()(Code) | | Method ejbPassivate
|
ejbRemove | public void ejbRemove()(Code) | | Method ejbRemove
|
ejbStore | public void ejbStore()(Code) | | Method ejbStore
|
getPersonsName | public String getPersonsName()(Code) | | Getter for property personsName.
|
setEntityContext | public void setEntityContext(EntityContext ctx)(Code) | | Method setEntityContext
|
setPersonsName | public void setPersonsName(String personsName)(Code) | | Setter for property personsName.
|
unsetEntityContext | public void unsetEntityContext()(Code) | | Method unsetEntityContext
|
|
|
|