com.ibm.commerce.contract.objects
Class OrderTCOrderItemPAttributeBean

java.lang.Object
  |
  +--com.ibm.commerce.base.objects.ECEntityBean
        |
        +--com.ibm.commerce.contract.objimpl.TermConditionBeanBase
              |
              +--com.ibm.commerce.contract.objects.TermConditionBean
                    |
                    +--com.ibm.commerce.contract.objimpl.OrderTCOrderItemPAttributeBeanBase
                          |
                          +--com.ibm.commerce.contract.objects.OrderTCOrderItemPAttributeBean

public class OrderTCOrderItemPAttributeBean
extends OrderTCOrderItemPAttributeBeanBase

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. OrderTCOrderItemPAttributeBeanBase
catEntryId
 
Fields inherited from class com.ibm.commerce.contract.objimpl. TermConditionBeanBase
changeableFlag, isDTD, mandatoryFlag, referenceNumber, tcSequence, timeCreated, timeUpdated, tradingId
 
Constructor Summary
OrderTCOrderItemPAttributeBean()
           
 
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.
 com.ibm.commerce.contract.objects.TermConditionKey ejbCreate(java.lang.Long argTradingId, org.w3c.dom.Element argElement)
          Constructs an OrderTCOrderItemPAttributeAccessBean object with the specified trading agreement ID, and the order item term condition element.
 com.ibm.commerce.contract.objects.TermConditionKey ejbCreate(java.lang.Long argTradingId, java.lang.Long argCatEntryId, java.lang.Integer mandatory, java.lang.Integer changeable)
          Constructs an OrderTCOrderItemPAttributeAccessBean object with the specified trading agreement ID, and the order item term condition element.
 
Methods inherited from class com.ibm.commerce.contract.objimpl. OrderTCOrderItemPAttributeBeanBase
createNewVersion, ejbPostCreate, ejbPostCreate, getCatEntryId, getPAttrValues, getXMLString, getXMLString, parseXMLElement, setCatEntryId
 
Methods inherited from class com.ibm.commerce.contract.objects. TermConditionBean
_removeLinks, ejbActivate, ejbLoad, ejbPassivate, ejbRemove, ejbStore
 
Methods inherited from class com.ibm.commerce.contract.objimpl. TermConditionBeanBase
addProductSetAdjustment, 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, getXMLStringForElementPolicyReference, getXMLStringForTCData, getXMLStrings, markForDelete, parseElementPolicyReference, 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

OrderTCOrderItemPAttributeBean

public OrderTCOrderItemPAttributeBean()
Method Detail

_copyFromEJB

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

_copyToEJB

public void _copyToEJB(java.util.Hashtable h)
Description copied from class: TermConditionBean
Method _copyToEJB.
Overrides:
_copyToEJB in class TermConditionBean
Parameters:
h -
See Also:
TermConditionBean._copyToEJB(Hashtable)

_getLinks

protected java.util.Vector _getLinks()
Description copied from class: TermConditionBean
Method _getLinks.
Overrides:
_getLinks in class TermConditionBean
Returns:
Vector
See Also:
TermConditionBean._getLinks()

_initLinks

protected void _initLinks()
Description copied from class: TermConditionBean
Method _initLinks.
Overrides:
_initLinks in class TermConditionBean
See Also:
TermConditionBean._initLinks()

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: OrderTCOrderItemPAttributeBeanBase
Constructs an OrderTCOrderItemPAttributeAccessBean object with the specified trading agreement ID, and the order item term condition element.
Overrides:
ejbCreate in class OrderTCOrderItemPAttributeBeanBase
Parameters:
argTradingId - The ID of the trading agreement the terms and conditions will be associated with.
argElement - The XML Elment object represeting 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)

ejbCreate

public com.ibm.commerce.contract.objects.TermConditionKey ejbCreate(java.lang.Long argTradingId,
                                                                    java.lang.Long argCatEntryId,
                                                                    java.lang.Integer mandatory,
                                                                    java.lang.Integer changeable)
                                                             throws javax.ejb.CreateException,
                                                                    javax.ejb.FinderException,
                                                                    javax.naming.NamingException,
                                                                    javax.ejb.RemoveException
Description copied from class: OrderTCOrderItemPAttributeBeanBase

Constructs an OrderTCOrderItemPAttributeAccessBean object with the specified trading agreement ID, and the order item term condition element.

This method is called by RFQ and does not create a row in the PATTRVALUE table.

Overrides:
ejbCreate in class OrderTCOrderItemPAttributeBeanBase
Parameters:
argTradingId - The ID of the trading agreement the terms and conditions will be associated with.
argCatEntryId - The ID of the catalog entry.
mandatory - The flag indicating whether the term condition is mandatory.
changeable - The flag indicating whether the term condition is changeable.
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception.
javax.ejb.CreateException
javax.ejb.FinderException
javax.ejb.RemoveException
See Also:
OrderTCOrderItemPAttributeBeanBase.ejbCreate(Long, Long, Integer, Integer)