java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.contract.objects.PolicyCommandAccessBean
This table stores command relationship information for a business policy.
Constructor Summary | |
---|---|
PolicyCommandAccessBean() constructor | |
PolicyCommandAccessBean(javax.ejb.EJBObject o) constructor | |
PolicyCommandAccessBean(java.lang.Long arg0,
java.lang.String arg1) constructor |
Method Summary | |
---|---|
void |
commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected
java.lang.String |
defaultJNDIName() |
java.util.Enumeration |
findByPolicy(java.lang.Long arg0) 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 provides access to the POLICYCMD.PROPERTIES column of DB2 type VARCHAR(254). |
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
o
- javax.ejb.EJBObjectjava.rmi.RemoteException
public PolicyCommandAccessBean(java.lang.Long arg0, java.lang.String arg1) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
arg0
- java.lang.Longarg1
- java.lang.Stringjavax.naming.NamingException
javax.ejb.CreateException
javax.ejb.FinderException
java.rmi.RemoteException
Method Detail |
---|
public java.util.Enumeration findByPolicy(java.lang.Long arg0) 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 = ?
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
- The
javax.naming.NamingException exceptionpublic void setInitKey_businessCmdClass(java.lang.String newValue)
Set the primary key for this object
newValue
- java.lang.Stringpublic void setInitKey_policyId(java.lang.String newValue)
Set the primary key for this object
newValue
- java.lang.Stringprotected java.lang.String defaultJNDIName()
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException
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).
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
getBusinessCmdClass
in interface
PolicyCommandAccessBeanData
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
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
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
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
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
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
getProperties
in interface
PolicyCommandAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setProperties(java.lang.String newValue)
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
setProperties
in interface
PolicyCommandAccessBeanData
newValue
- java.lang.String