|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bankframe.ejb.extension.EEntityBean
com.bankframe.ejb.extension.EBeanManagedEntityBean
public abstract class EBeanManagedEntityBean
BankFrame superclass for BMP Beans. All BMP EntityBeans subclass from this
Field Summary | |
---|---|
static String |
SYSTEM_OFF_LINE_MESSAGE
|
Constructor Summary | |
---|---|
EBeanManagedEntityBean()
|
Method Summary | |
---|---|
String |
checkForDouble(String data)
This method checks if the specified String can be converted to a Double |
String |
checkForInteger(String data)
This method checks if the specified String can be converted to a Integer |
String |
checkForLong(String data)
This method checks if the specified String can be converted to a Long |
void |
ejbActivate()
This method activates the EJB. |
void |
ejbPassivate()
This method passivates the EJB. |
TransactionHandler |
getConnection()
This method gets a connection to the transaction handler. |
boolean |
isModified()
This method checks if the entity bean has been modified. |
void |
setEntityContext(EntityContext ctx)
This method sets the entity's context. |
void |
setModified(boolean flag)
This method sets the modidifed flag. |
Methods inherited from class com.bankframe.ejb.extension.EEntityBean |
---|
ejbLoad, ejbRemove, ejbStore, getEntityContext, getPopulator, toDataPacket, toString, unsetEntityContext, validate |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static String SYSTEM_OFF_LINE_MESSAGE
Constructor Detail |
---|
public EBeanManagedEntityBean()
Method Detail |
---|
public String checkForDouble(String data)
data
- the String to check
public String checkForInteger(String data)
data
- the String to check
public String checkForLong(String data)
data
- the String to check
public void ejbActivate()
ejbActivate
in interface EntityBean
ejbActivate
in class EEntityBean
public void ejbPassivate()
ejbPassivate
in interface EntityBean
ejbPassivate
in class EEntityBean
public TransactionHandler getConnection() throws ProcessingErrorException, RemoteException
ProcessingErrorException
- if an error occurs during processing
RemoteException
public boolean isModified()
public void setEntityContext(EntityContext ctx) throws RemoteException
setEntityContext
in interface EntityBean
setEntityContext
in class EEntityBean
ctx
- EntityContext the new context for the entity.
RemoteException
public void setModified(boolean flag)
flag
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |