com.ibm.commerce.contract.objects
Class PolicyCommandBean

java.lang.Object
  |
  +--com.ibm.commerce.base.objects.ECEntityBean
        |
        +--com.ibm.commerce.contract.objimpl.PolicyCommandBeanBase
              |
              +--com.ibm.commerce.contract.objects.PolicyCommandBean

public class PolicyCommandBean
extends PolicyCommandBeanBase

This bean provides access to the POLICYCMD table.

The following is a description of this table:

The business policy to command relationship table.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.ibm.commerce.contract.objimpl. PolicyCommandBeanBase
businessCmdClass, policyId, properties
 
Constructor Summary
PolicyCommandBean()
           
 
Method Summary
 java.util.Hashtable _copyFromEJB()
           
 void _copyToEJB(java.util.Hashtable h)
          Method _copyToEJB.
protected  java.util.Vector _getLinks()
          Method _getLinks.
protected  void _initLinks()
          Method _initLinks.
protected  void _removeLinks()
          Method _removeLinks.
 void ejbActivate()
           
 com.ibm.commerce.contract.objects.PolicyCommandKey ejbCreate(java.lang.Long argPolicyId, java.lang.String argBusinesCmdClass)
          Constructs an PolicyCommandAccessBean object with the specified business policy ID, and the name of the specified business command class.
 void ejbLoad()
           
 void ejbPassivate()
           
 void ejbPostCreate(java.lang.Long argPolicyId, java.lang.String argBusinesCmdClass)
          The post create method for the bean.
 void ejbRemove()
           
 void ejbStore()
           
 
Methods inherited from class com.ibm.commerce.contract.objimpl. PolicyCommandBeanBase
getBusinessCmdClass, getPolicyId, getProperties, setProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PolicyCommandBean

public PolicyCommandBean()
Method Detail

_copyFromEJB

public java.util.Hashtable _copyFromEJB()
See Also:
com.ibm.commerce.base.objects.ECEntityBean#_copyFromEJB()

_copyToEJB

public void _copyToEJB(java.util.Hashtable h)
Method _copyToEJB.
Parameters:
h -

_getLinks

protected java.util.Vector _getLinks()
Method _getLinks.
Returns:
Vector

_initLinks

protected void _initLinks()
Method _initLinks.

_removeLinks

protected void _removeLinks()
                     throws javax.ejb.RemoveException
Method _removeLinks.
Throws:
RemoveException

ejbActivate

public void ejbActivate()
See Also:
javax.ejb.EntityBean#ejbActivate()

ejbCreate

public com.ibm.commerce.contract.objects.PolicyCommandKey ejbCreate(java.lang.Long argPolicyId,
                                                                    java.lang.String argBusinesCmdClass)
                                                             throws javax.ejb.CreateException,
                                                                    javax.ejb.FinderException,
                                                                    javax.naming.NamingException
Description copied from class: PolicyCommandBeanBase
Constructs an PolicyCommandAccessBean object with the specified business policy ID, and the name of the specified business command class.
Overrides:
ejbCreate in class PolicyCommandBeanBase
Parameters:
argPolicyId - The ID of the business policy.
argBusinesCmdClass - The name of the business policy command class.
Throws:
javax.naming.NamingException - The javax.naming.NamingExceptionexception.
javax.ejb.CreateException
javax.ejb.FinderException
See Also:
PolicyCommandBeanBase.ejbCreate(Long, String)

ejbLoad

public void ejbLoad()
See Also:
com.ibm.commerce.base.objects.ECEntityBean#ejbLoad()

ejbPassivate

public void ejbPassivate()
See Also:
javax.ejb.EntityBean#ejbPassivate()

ejbPostCreate

public void ejbPostCreate(java.lang.Long argPolicyId,
                          java.lang.String argBusinesCmdClass)
The post create method for the bean.
Parameters:
argPolicyId - The ID of the business policy.
argBusinesCmdClass - The name of the business class.

ejbRemove

public void ejbRemove()
               throws javax.ejb.RemoveException
javax.ejb.RemoveException
See Also:
javax.ejb.EntityBean#ejbRemove()

ejbStore

public void ejbStore()
See Also:
com.ibm.commerce.base.objects.ECEntityBean#ejbStore()