com.ibm.commerce.contract.objects
Class TermConditionBean

java.lang.Object
  |
  +--com.ibm.commerce.base.objects.ECEntityBean
        |
        +--com.ibm.commerce.contract.objimpl.TermConditionBeanBase
              |
              +--com.ibm.commerce.contract.objects.TermConditionBean
Direct Known Subclasses:
DisplayCustomizationTCBeanBase, FulfillmentTCBeanBase, InvoiceTCBeanBase, ObligationToBuyTCByAmountBeanBase, OrderApprovalTCBeanBase, OrderTCOrderCommentBeanBase, OrderTCOrderItemPAttributeBeanBase, PaymentTCBeanBase, POTCBlanketBeanBase, POTCIndividualBeanBase, POTCLimitedBeanBase, PriceTCCustomPriceListBeanBase, PriceTCMasterCatalogWithFilteringBeanBase, PriceTCMasterCatalogWithOptionalAdjustmentBeanBase, PriceTCPriceListWithOptionalAdjustmentBeanBase, PriceTCPriceListWithSelectiveAdjustmentBeanBase, ProductSetTCCustomExclusionBeanBase, ProductSetTCCustomInclusionBeanBase, ProductSetTCExclusionBeanBase, ProductSetTCInclusionBeanBase, ReferralInterfaceTCBeanBase, ReturnTCRefundPaymentMethodBeanBase, ReturnTCReturnChargeBeanBase, RightToBuyTCByAmountBeanBase, ShippingTCShippingChargeBeanBase, ShippingTCShippingModeBeanBase, ShippingTCShipToAddressBeanBase

public class TermConditionBean
extends TermConditionBeanBase

This bean provides access to the TERMCOND table.

The following is a description of this table:

This table contains terms and conditions used in trading agreements (business accounts, contracts, RFQs). To see how columns are used by different terms and conditions, refer to TERMCOND column mapping in the online help.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.ibm.commerce.contract.objimpl. TermConditionBeanBase
changeableFlag, isDTD, mandatoryFlag, referenceNumber, tcSequence, timeCreated, timeUpdated, tradingId
 
Constructor Summary
TermConditionBean()
           
 
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.TermConditionKey ejbCreate(java.lang.Long argTradingId, org.w3c.dom.Element argElement)
          Constructs a TermConditionAccessBean object with the specified trading agreement ID and the display customization term condition element.
 void ejbLoad()
           
 void ejbPassivate()
           
 void ejbPostCreate(java.lang.Long argTradingId, org.w3c.dom.Element argElement)
          The post create method for the bean..
 void ejbRemove()
           
 void ejbStore()
           
 
Methods inherited from class com.ibm.commerce.contract.objimpl. TermConditionBeanBase
addProductSetAdjustment, createNewVersion, deleteProductSetAdjustment, findProductSetIdsByTCIdAndType, getChangeableFlag, getDescription, getDescription, getEntireCatalogAdjustment, getEntireCatalogSelected, getExclusionProductSets, getFallbackDescription, getInclusionProductSets, getMandatoryFlag, getParticipants, getPolicies, getPoliciesByType, getPolicyNameForElementPolicyReference, getPriceListId, getPriceListIds, getProductSetAdjustments, getProductSetId, getReferenceNumber, getStoreIdentityForElementPolicyReference, getStoreOwnerForElementPolicyReference, getTcSequence, getTcSubType, getTimeCreated, getTimeUpdated, getTradingId, getXMLDefinitions, getXMLString, getXMLString, getXMLStringForElementPolicyReference, getXMLStringForTCData, getXMLStrings, markForDelete, parseElementPolicyReference, parseXMLElement, retrieveBeanName, setChangeableFlag, setEntireCatalogAdjustment, setEntireCatalogAdjustment, setEntireCatalogSelected, setEntireCatalogSelected, setMandatoryFlag, setPriceListId, setProductSetId, setReferenceNumber, setTcSequence, setTimeCreated, setTimeUpdated, setTradingId, setXMLDefinition, setXMLDefinition, updateProductSetAdjustment
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TermConditionBean

public TermConditionBean()
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.TermConditionKey ejbCreate(java.lang.Long argTradingId,
                                                                    org.w3c.dom.Element argElement)
                                                             throws javax.ejb.CreateException,
                                                                    javax.ejb.FinderException,
                                                                    javax.naming.NamingException,
                                                                    javax.ejb.RemoveException
Description copied from class: TermConditionBeanBase
Constructs a TermConditionAccessBean object with the specified trading agreement ID and the display customization term condition element.
Overrides:
ejbCreate in class TermConditionBeanBase
Parameters:
argTradingId - The ID of the trading agreement the terms and conditions will be associated with.
argElement - The XML Elment object representing the terms and conditions.
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception.
javax.ejb.CreateException
javax.ejb.FinderException
javax.ejb.RemoveException
See Also:
TermConditionBeanBase.ejbCreate(Long, Element)

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 argTradingId,
                          org.w3c.dom.Element argElement)
                   throws javax.ejb.CreateException,
                          javax.ejb.FinderException,
                          javax.naming.NamingException,
                          javax.ejb.RemoveException
The post create method for the bean..
Parameters:
argTradingId - The trading agreement ID.
argElement - The XML element representing the terms and conditions.
Throws:
javax.ejb.CreateException - The javax.ejb.CreateException exception.
javax.ejb.FinderException - The javax.ejb.FinderException exception.
javax.naming.NamingException - The javax.naming.NamingException exception.
javax.ejb.RemoveException - The javax.ejb.RemoveException exception.

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()