|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.websphere.samples.scheduler.accountreportejb.AccountReportBean
public abstract class AccountReportBean
Bean implementation for the AccountReport entity bean
AccountReportHome
,
AccountReport
,
Serialized FormConstructor Summary | |
---|---|
AccountReportBean()
|
Method Summary | |
---|---|
void |
ejbActivate()
A container invokes this method when the instance is taken out of the pool of available instances to become associated with a specific EJB object. |
java.lang.Long |
ejbCreate()
Container invoked callback. |
java.lang.Long |
ejbCreate(java.lang.Long key)
Container invoked callback. |
void |
ejbLoad()
A container invokes this method to instruct the instance to synchronize its state by loading it state from the underlying database. |
void |
ejbPassivate()
A container invokes this method on an instance before the instance becomes disassociated with a specific EJB object. |
void |
ejbPostCreate()
Container invoked callback. |
void |
ejbPostCreate(java.lang.Long key)
Container invoked callback. |
void |
ejbRemove()
A container invokes this method before it removes the EJB object that is currently associated with the instance. |
void |
ejbStore()
A container invokes this method to instruct the instance to synchronize its state by storing it to the underlying database. |
abstract java.lang.Long |
getTimeReportGenerated()
Gets the time this report was generated in milliseconds since the epoch, GMT |
abstract java.lang.Double |
getTotalBalance()
Gets the total balance for this record. |
void |
setEntityContext(javax.ejb.EntityContext ctx)
Set the associated entity context. |
abstract void |
setTimeReportGenerated(java.lang.Long timeReportGenerated)
Sets the time this report was generated. |
abstract void |
setTotalBalance(java.lang.Double totalBalance)
Sets the total balance for this record |
void |
unsetEntityContext()
Unset the associated entity context. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AccountReportBean()
Method Detail |
---|
public void ejbPostCreate()
public void ejbPostCreate(java.lang.Long key)
key
- The keypublic java.lang.Long ejbCreate() throws javax.ejb.CreateException
javax.ejb.CreateException
public java.lang.Long ejbCreate(java.lang.Long key) throws javax.ejb.CreateException
key
- The key
javax.ejb.CreateException
public void ejbActivate() throws javax.ejb.EJBException
ejbActivate
in interface javax.ejb.EntityBean
javax.ejb.EJBException
- Thrown by the method to indicate a failure caused by a system-level error.public void ejbPassivate() throws javax.ejb.EJBException
ejbPassivate
in interface javax.ejb.EntityBean
javax.ejb.EJBException
- Thrown by the method to indicate a failure caused by a system-level error.public void ejbRemove() throws javax.ejb.EJBException
ejbRemove
in interface javax.ejb.EntityBean
javax.ejb.EJBException
- Thrown by the method to indicate a failure caused by a system-level error.public void ejbLoad() throws javax.ejb.EJBException
ejbLoad
in interface javax.ejb.EntityBean
javax.ejb.EJBException
- Thrown by the method to indicate a failure caused by a system-level error.public void ejbStore() throws javax.ejb.EJBException
ejbStore
in interface javax.ejb.EntityBean
javax.ejb.EJBException
- Thrown by the method to indicate a failure caused by a system-level error.public void setEntityContext(javax.ejb.EntityContext ctx) throws javax.ejb.EJBException
setEntityContext
in interface javax.ejb.EntityBean
ctx
- An EntityContext interface for the instance. The instance should store the reference
to the context in an instance variable.
javax.ejb.EJBException
- Thrown by the method to indicate a failure caused by a system-level error.public void unsetEntityContext() throws javax.ejb.EJBException
unsetEntityContext
in interface javax.ejb.EntityBean
javax.ejb.EJBException
- Thrown by the method to indicate a failure caused by a system-level error.public abstract java.lang.Double getTotalBalance()
public abstract void setTotalBalance(java.lang.Double totalBalance)
totalBalance
- The new value of the balancepublic abstract java.lang.Long getTimeReportGenerated()
public abstract void setTimeReportGenerated(java.lang.Long timeReportGenerated)
timeReportGenerated
- The new value for the time field
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |