|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.beasys.commerce.axiom.reasoning.rules.RuleSheetDefinitionBean
Entity bean for storing xml rulesheets.
Field Summary | |
javax.ejb.EntityContext |
ctx
EJB spec variable. |
byte[] |
document
The actual document. |
java.lang.String |
name
The name of the rule sheet. |
Constructor Summary | |
RuleSheetDefinitionBean()
|
Method Summary | |
void |
ejbActivate()
Required by spec. |
RuleSheetDefinitionPK |
ejbCreate(java.lang.String aName,
byte[] aDocument)
Ejb create. |
RuleSheetDefinitionPK |
ejbFindByName(java.lang.String aName)
Ejb find by name. |
RuleSheetDefinitionPK |
ejbFindByPrimaryKey(RuleSheetDefinitionPK pk)
Ejb find by primary key. |
void |
ejbLoad()
ejbLoad |
void |
ejbPassivate()
Required by spec. |
void |
ejbPostCreate(java.lang.String aName,
byte[] aDocument)
Ejb post create. |
void |
ejbRemove()
Required by spec. |
void |
ejbStore()
Required by spec. |
java.sql.Connection |
getConnection()
Get connection. |
byte[] |
getDocument()
Get document. |
java.lang.String |
getDocumentAsString()
Get document as string. |
java.lang.String |
getName()
Get name. |
void |
setDocument(byte[] aDocument)
Set document. |
void |
setEntityContext(javax.ejb.EntityContext ec)
Required by spec. |
void |
unsetEntityContext()
Required by spec. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public java.lang.String name
public byte[] document
public javax.ejb.EntityContext ctx
Constructor Detail |
public RuleSheetDefinitionBean()
Method Detail |
public void ejbLoad() throws java.rmi.RemoteException
RemoteException
- public void ejbPassivate() throws java.rmi.RemoteException
RemoteException
- public void ejbRemove() throws java.rmi.RemoteException
RemoteException
- public void ejbStore() throws java.rmi.RemoteException
RemoteException
- public void setEntityContext(javax.ejb.EntityContext ec) throws java.rmi.RemoteException
ec
- the entity context.RemoteException
- public void unsetEntityContext() throws java.rmi.RemoteException
RemoteException
- public void ejbActivate() throws java.rmi.RemoteException
RemoteException
- public RuleSheetDefinitionPK ejbCreate(java.lang.String aName, byte[] aDocument) throws javax.ejb.CreateException, javax.ejb.EJBException, java.rmi.RemoteException
aName
- aDocument
- CreateException
- EJBException
- RemoteException
- public void ejbPostCreate(java.lang.String aName, byte[] aDocument) throws javax.ejb.CreateException, java.rmi.RemoteException
pk
- the primary key.CreateException
- RemoteException
- public java.lang.String getName()
String
public byte[] getDocument()
byte[]
public java.lang.String getDocumentAsString()
String
public void setDocument(byte[] aDocument)
aDocument
- public RuleSheetDefinitionPK ejbFindByName(java.lang.String aName) throws javax.ejb.FinderException, java.rmi.RemoteException
aName
- RuleSheetDefinitionPK
FinderException
- RemoteException
- public RuleSheetDefinitionPK ejbFindByPrimaryKey(RuleSheetDefinitionPK pk) throws javax.ejb.FinderException, java.rmi.RemoteException
pk
- RuleSheetDefinitionPK
FinderException
- RemoteException
- public java.sql.Connection getConnection() throws java.sql.SQLException
Connection
SQLException
-
|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |