public class PolicyCommandAccessBean extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean implements PolicyCommandAccessBeanData
Constructor and Description |
---|
PolicyCommandAccessBean()
Zero argument constructor used to initialize the access bean.
|
PolicyCommandAccessBean(javax.ejb.EJBObject o)
constructor
|
PolicyCommandAccessBean(java.lang.Long argPolicyId, java.lang.String argBusinesCmdClass)
Constructs an PolicyCommand object with the specified business policy ID, and the name of the specified business command class.
|
Modifier and Type | Method and Description |
---|---|
void | commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage).
|
protected java.lang.String | defaultJNDIName() |
java.util.Enumeration | findByPolicy(java.lang.Long argPolicyId)
Retrieves an Enumeration of PolicyCommandAccessBeans representing all business policy commands with the specified business policy ID.
|
java.lang.String | getBusinessCmdClass()
This method accesses a non-CMP field
|
java.lang.String | getPolicyId()
This method accesses a non-CMP field
|
java.lang.Long | getPolicyIdInEJBType()
This method accesses a non-CMP field
|
java.lang.String | getProperties()
This method accesses a non-CMP field
|
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper()
Load data from the EJBObject.
|
void | setInitKey_businessCmdClass(java.lang.String newValue)
Set the primary key for this object
|
void | setInitKey_policyId(java.lang.String newValue)
Set the primary key for this object
|
void | setProperties(java.lang.String newValue)
This method accesses a non-CMP field
|
public PolicyCommandAccessBean()
public PolicyCommandAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public PolicyCommandAccessBean(java.lang.Long argPolicyId, java.lang.String argBusinesCmdClass) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
Constructs an PolicyCommand object with the specified business policy ID, and the name of the specified business command class.
public java.util.Enumeration findByPolicy(java.lang.Long argPolicyId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves an Enumeration of PolicyCommandAccessBeans representing all business policy commands with the specified business policy ID.
The SQL query used to fetch the required rows from the POLICYCMD table is:
select * from policycmd T1 where T1.policy_id = ?
public void setInitKey_businessCmdClass(java.lang.String newValue)
Set the primary key for this object
public void setInitKey_policyId(java.lang.String newValue)
Set the primary key for this object
protected java.lang.String defaultJNDIName()
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Update(flush) data to the EJBObject (persistent storage).
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
public java.lang.String getBusinessCmdClass() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.String getPolicyId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Long getPolicyIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.String getProperties() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setProperties(java.lang.String newValue)