|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractAccessBean | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.contract.objects.PolicyCommandAccessBean
This bean provides access to the POLICYCMD table.
The following is a description of this table:
The business policy to command relationship table.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
PolicyCommandAccessBean()
Default constructor. |
|
PolicyCommandAccessBean(javax.ejb.EJBObject anObject)
Creates an access bean for the specified EJB |
|
PolicyCommandAccessBean(java.lang.Long businessPolicyId,
java.lang.String businessCmdClass)
Constructs an PolicyCommandAccessBean 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). |
java.util.Enumeration |
findByPolicy(java.lang.Long policyId)
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) NULL. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setInitKey_businessCmdClass(java.lang.String aInitKey_businessCmdClass)
Set the primary key for this object |
void |
setInitKey_policyId(java.lang.String aInitKey_policyId)
Set the primary key for this object |
void |
setProperties(java.lang.String aProperties)
This method provides access to the POLICYCMD.PROPERTIES column of DB2 type VARCHAR(254) NULL. |
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean |
__getCache, __getCache, __getKey, __setCache, __setCache, __setKey, commitCopyHelper, createAccessBeans, createAccessBeans, instantiateEJBByPrimaryKey, refreshCopyHelper, setEJBRef |
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
defaultJNDIName, defaultNameServiceType, defaultNameServiceURL, getEJBRef, getGlobalHome, getHome, getInit_GlobalNameServiceTypeName, getInit_GlobalNameServiceURLName, getInit_JNDIName, getInit_NameServiceTypeName, getInit_NameServiceURLName, getInitContext, getInitContext, instantiateEJB, resetEJBRef, resetHomeCache, setInit_GlobalNameServiceTypeName, setInit_GlobalNameServiceURLName, setInit_JNDIName, setInit_NameServiceTypeName, setInit_NameServiceURLName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PolicyCommandAccessBean()
Default constructor. Maps to findByPrimaryKey.
public PolicyCommandAccessBean(javax.ejb.EJBObject anObject) throws java.rmi.RemoteException
Creates an access bean for the specified EJB
anObject
- The EJB Object used for the access bean construction.java.rmi.RemoteException
- The java.rmi.RemoteException exceptionpublic PolicyCommandAccessBean(java.lang.Long businessPolicyId, java.lang.String businessCmdClass) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
Constructs an PolicyCommandAccessBean object with the specified business policy ID, and the name of the specified business command class.
businessPolicyId
- The ID of the business policy.businessCmdClass
- The name of the business policy command class.javax.naming.NamingException
- The javax.naming.NamingException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionMethod Detail |
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Update(flush) data to the EJBObject (persistent storage).
commitCopyHelper
in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.util.Enumeration findByPolicy(java.lang.Long policyId) 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 = ?
policyId
- The ID of the business policy.java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
getBusinessCmdClass
in interface PolicyCommandAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
getPolicyId
in interface PolicyCommandAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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) NULL.
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&n2=v2. If null, use the properties from the POLICY table.
getProperties
in interface PolicyCommandAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
refreshCopyHelper
in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic void setInitKey_businessCmdClass(java.lang.String aInitKey_businessCmdClass)
Set the primary key for this object
aInitKey_businessCmdClass
- The ID of the business policy command.public void setInitKey_policyId(java.lang.String aInitKey_policyId)
Set the primary key for this object
aInitKey_policyId
- java.lang.Stringpublic void setProperties(java.lang.String aProperties)
This method provides access to the POLICYCMD.PROPERTIES column of DB2 type VARCHAR(254) NULL.
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&n2=v2. If null, use the properties from the POLICY table.
setProperties
in interface PolicyCommandAccessBeanData
aProperties
- The properties of the business policy command.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |