|
Betty v1.1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectchristophedelory.ejb.AbstractEntityBean
christophedelory.ejb.BaseBean
public abstract class BaseBean
The entity bean definition of a base object, acting as a super class for other entity beans.
Field Summary |
---|
Fields inherited from class christophedelory.ejb.AbstractEntityBean |
---|
context |
Constructor Summary | |
---|---|
BaseBean()
|
Method Summary | |
---|---|
Object |
ejbCreate()
Creates an instance of this entity bean. |
void |
ejbPostCreate()
Allows this entity bean instance to fully initialize itself. |
abstract Date |
getCreationDate()
Returns the creation date. |
abstract String |
getCreationUserId()
Returns the identifier of the user having created this EJB object. |
abstract void |
setCreationDate(Date date)
Initializes the creation date. |
abstract void |
setCreationUserId(String userId)
Initializes the identifier of the user having created this EJB object. |
Methods inherited from class christophedelory.ejb.AbstractEntityBean |
---|
ejbActivate, ejbLoad, ejbPassivate, ejbRemove, ejbStore, setEntityContext, unsetEntityContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.ejb.EntityBean |
---|
ejbActivate, ejbLoad, ejbPassivate, ejbRemove, ejbStore, setEntityContext, unsetEntityContext |
Constructor Detail |
---|
public BaseBean()
Method Detail |
---|
public abstract Date getCreationDate()
null
.
EJBException
- if any exception occured during the execution of this method.setCreationDate(java.util.Date)
public abstract void setCreationDate(Date date)
date
- a date. Shall not be null
.
EJBException
- if any exception occured during the execution of this method.getCreationDate()
public abstract String getCreationUserId()
null
.
EJBException
- if any exception occured during the execution of this method.setCreationUserId(String)
public abstract void setCreationUserId(String userId)
userId
- a user identifier. Shall not be null
.
EJBException
- if any exception occured during the execution of this method.getCreationUserId()
public Object ejbCreate() throws CreateException
null
(as EJB 2.0 spec says for CMP ejbCreate()
methods).
CreateException
- the EJB object creation failed.public void ejbPostCreate() throws CreateException
CreateException
- the EJB object creation failed.
|
© 2008-2009 Christophe Delory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |