com.ibm.commerce.contract.objects
Class BusinessPolicyBean

java.lang.Object
  com.ibm.commerce.base.objects.ECEntityBean
      com.ibm.commerce.contract.objimpl.BusinessPolicyBeanBase
          com.ibm.commerce.contract.objects.BusinessPolicyBean

public class BusinessPolicyBean
extends BusinessPolicyBeanBase

This bean provides access to the POLICY table.

The following is a description of this table:

Each row in this table represents a business policy.

See Also:
Serialized Form

Field Summary
Fields inherited from class com.ibm.commerce.contract.objimpl.BusinessPolicyBeanBase
endDate, policyId, policyName, properties, startDate, storeEntityId, type
Constructor Summary
BusinessPolicyBean()
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.BusinessPolicyKey ejbCreate(java.lang.String argPolicyName, java.lang.String argType, java.lang.Integer argStoreEntityId)
Constructs an BusinessPolicyAccessBean object with the specified policy name, policy type, and the store entity ID.
void ejbLoad()
void ejbPassivate()
void ejbPostCreate(java.lang.String argPolicyName, java.lang.String argType, java.lang.Integer argStoreEntityId)
Method ejbPostCreate.
void ejbRemove()
void ejbStore()
Methods inherited from class com.ibm.commerce.contract.objimpl.BusinessPolicyBeanBase
getDescription, getDescription, getEndDate, getFallbackDescription, getPolicyId, getPolicyName, getProperties, getStartDate, getStoreEntityId, getType, setEndDate, setPolicyId, setPolicyName, setProperties, setStartDate, setStoreEntityId, setType
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

BusinessPolicyBean

public BusinessPolicyBean()
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.BusinessPolicyKey ejbCreate(java.lang.String argPolicyName,
                                                                     java.lang.String argType,
                                                                     java.lang.Integer argStoreEntityId)
                                                              throws javax.ejb.CreateException,
                                                                     javax.ejb.FinderException,
                                                                     javax.naming.NamingException
Description copied from class: BusinessPolicyBeanBase

Constructs an BusinessPolicyAccessBean object with the specified policy name, policy type, and the store entity ID.

Overrides:
ejbCreate in class BusinessPolicyBeanBase
Parameters:
argPolicyName - The name of the business policy.
argType - The type of the business policy.
argStoreEntityId - The ID of store entity.
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception.
javax.ejb.CreateException
javax.ejb.FinderException
See Also:
BusinessPolicyBeanBase.ejbCreate(String, String, Integer)

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.String argPolicyName,
                          java.lang.String argType,
                          java.lang.Integer argStoreEntityId)
Method ejbPostCreate.
Parameters:
argPolicyName - The name of the policy.
argType - The type of the policy.
argStoreEntityId - The ID of the store entity.

ejbRemove

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

ejbStore

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

Feedback