java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.contract.objects.PolicyCommandAccessBean
This table stores command relationship information for a business policy. This access bean corresponds to the database table 'POLICYCMD'.
Constructor Summary | |
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. |
Method Summary | |
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 provides access to the POLICYCMD.BUSINESSCMDCLASS column of DB2 type VARCHAR(200) NOT NULL. |
java.lang.String | getPolicyId() This method provides access to the POLICYCMD.POLICY_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getPolicyIdInEJBType() This method provides access to the POLICYCMD.POLICY_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String | getProperties() This method provides access to the POLICYCMD.PROPERTIES column of DB2 type VARCHAR(254). |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
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.
Method Detail |
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
This method provides access to the POLICYCMD.BUSINESSCMDCLASS column of DB2 type VARCHAR(200) NOT NULL.
The following is a description of this column:
The command that implements this business policy.
public java.lang.String getPolicyId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the POLICYCMD.POLICY_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The business policy ID.
public java.lang.Long getPolicyIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the POLICYCMD.POLICY_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The business policy ID.
public java.lang.String getProperties() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the POLICYCMD.PROPERTIES column of DB2 type VARCHAR(254).
The following is a description of this column:
Default name value pairs that can be set to the business policy command. For example: n1=v1&am
public void setProperties(java.lang.String newValue)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.