com.ibm.commerce.contract.objects
Class PurchaseLimitBean

java.lang.Object
  |
  +--com.ibm.commerce.base.objects.ECEntityBean
        |
        +--com.ibm.commerce.contract.objimpl.PurchaseLimitBeanBase
              |
              +--com.ibm.commerce.contract.objects.PurchaseLimitBean

public class PurchaseLimitBean
extends PurchaseLimitBeanBase

This bean provides access to the PURCHASELT table.

The following is a description of this table:

The Purchase Limit table.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.ibm.commerce.contract.objimpl. PurchaseLimitBeanBase
catEntryId, currency, currentAmount, currentQuantity, limitType, maxAmount, maxQuantity, minAmount, minQuantity, purchaseLimitId, tcId, tradingPositionContainerId
 
Constructor Summary
PurchaseLimitBean()
           
 
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.PurchaseLimitKey ejbCreate(java.lang.Long argTCId, java.lang.Long argTradingPositionContainerId, java.lang.Long argCatEntryId, java.lang.String argLimitType)
          Constructs an PurchaseLimitAccessBean object with the specified term condition ID, trading position container ID, catalog entry ID, ant the limit type.
 void ejbLoad()
           
 void ejbPassivate()
           
 void ejbPostCreate(java.lang.Long argTCId, java.lang.Long argTradingPositionContainerId, java.lang.Long argCatEntryId, java.lang.String argLimitType)
          The EJB post create method for the Purchase Limit bean
 void ejbRemove()
           
 void ejbStore()
           
 
Methods inherited from class com.ibm.commerce.contract.objimpl. PurchaseLimitBeanBase
getCatEntryId, getCurrency, getCurrentAmount, getCurrentQuantity, getLimitType, getMaxAmount, getMaxQuantity, getMinAmount, getMinQuantity, getPurchaseLimitId, getTcId, getTradingPositionContainerId, setCatEntryId, setCurrency, setCurrentAmount, setCurrentQuantity, setLimitType, setMaxAmount, setMaxQuantity, setMinAmount, setMinQuantity, setPurchaseLimitId, setTcId, setTradingPositionContainerId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PurchaseLimitBean

public PurchaseLimitBean()
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.PurchaseLimitKey ejbCreate(java.lang.Long argTCId,
                                                                    java.lang.Long argTradingPositionContainerId,
                                                                    java.lang.Long argCatEntryId,
                                                                    java.lang.String argLimitType)
                                                             throws javax.ejb.CreateException,
                                                                    javax.ejb.FinderException,
                                                                    javax.naming.NamingException
Description copied from class: PurchaseLimitBeanBase
Constructs an PurchaseLimitAccessBean object with the specified term condition ID, trading position container ID, catalog entry ID, ant the limit type.
Overrides:
ejbCreate in class PurchaseLimitBeanBase
Parameters:
argTCId - The ID of the terms and conditions.
argTradingPositionContainerId - The ID of the trading position container, or price list.
argCatEntryId - The ID of the catalog entry.
argLimitType - The type of limit.
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception.
javax.ejb.CreateException
javax.ejb.FinderException
See Also:
PurchaseLimitBeanBase.ejbCreate(Long, Long, 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 argTCId,
                          java.lang.Long argTradingPositionContainerId,
                          java.lang.Long argCatEntryId,
                          java.lang.String argLimitType)
Description copied from class: PurchaseLimitBeanBase
The EJB post create method for the Purchase Limit bean
Overrides:
ejbPostCreate in class PurchaseLimitBeanBase
Parameters:
argTCId - The ID of the terms and conditions.
argTradingPositionContainerId - The ID of the trading position container, or price list.
argCatEntryId - The ID of the catalog entry.
argLimitType - The type of limit.
See Also:
PurchaseLimitBeanBase.ejbPostCreate(Long, Long, Long, String)

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