com.ibm.commerce.contract.objects
Class TradingAgreementBean

java.lang.Object
  |
  +--com.ibm.commerce.base.objects.ECEntityBean
        |
        +--com.ibm.commerce.contract.objimpl.TradingAgreementBeanBase
              |
              +--com.ibm.commerce.contract.objects.TradingAgreementBean

public class TradingAgreementBean
extends TradingAgreementBeanBase

This bean provides access to the TRADING table.

The following is a description of this table:

Each row in this table represents a trading agreement.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.ibm.commerce.contract.objimpl. TradingAgreementBeanBase
accountId, creditAllowedFlag, endTime, markForDelete, referenceCount, referenceId, startTime, state, tradingId, tradingType
 
Constructor Summary
TradingAgreementBean()
           
 
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.TradingAgreementKey ejbCreate(java.lang.Integer argType)
          Constructs a TradingAgreementAccessBean object with the specified trading type.
 com.ibm.commerce.contract.objects.TradingAgreementKey ejbCreate(java.lang.Integer argType, java.sql.Timestamp argStartTime, java.sql.Timestamp argEndTime)
          Constructs a TradingAgreementAccessBean object with the specified trading type.
 void ejbLoad()
           
 void ejbPassivate()
           
 void ejbPostCreate(java.lang.Integer argType)
          Method ejbPostCreate.
 void ejbPostCreate(java.lang.Integer argType, java.sql.Timestamp argStartTime, java.sql.Timestamp argEndTime)
          The post create method for the bean.
 void ejbRemove()
           
 void ejbStore()
           
 
Methods inherited from class com.ibm.commerce.contract.objimpl. TradingAgreementBeanBase
getAccountId, getAttachment, getCreditAllowedFlag, getDescription, getDescription, getEndTime, getFallbackDescription, getMarkForDelete, getPolicies, getPolicies, getPoliciesByType, getPoliciesByType, getReferenceCount, getReferenceId, getStartTime, getState, getTCsByTCSubType, getTCsByTCSubType, getTCsByTCType, getTCsByTCType, getTradingId, getTradingLevelParticipants, getTradingType, hasTCLevelParticipant, isValid, markForDelete, setAccountId, setCreditAllowedFlag, setEndTime, setMarkForDelete, setReferenceCount, setReferenceId, setStartTime, setState, setTradingId, setTradingType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TradingAgreementBean

public TradingAgreementBean()
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.TradingAgreementKey ejbCreate(java.lang.Integer argType)
                                                                throws javax.ejb.CreateException,
                                                                       javax.ejb.FinderException,
                                                                       javax.naming.NamingException
Description copied from class: TradingAgreementBeanBase
Constructs a TradingAgreementAccessBean object with the specified trading type. The start time and the ending time of the trading agreement are set to NULL.
Overrides:
ejbCreate in class TradingAgreementBeanBase
Parameters:
argType - The type of the trading agreement.
Returns:
The TradingAgreement key.
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception.
javax.ejb.CreateException
javax.ejb.FinderException
See Also:
TradingAgreementBeanBase.ejbCreate(Integer)

ejbCreate

public com.ibm.commerce.contract.objects.TradingAgreementKey ejbCreate(java.lang.Integer argType,
                                                                       java.sql.Timestamp argStartTime,
                                                                       java.sql.Timestamp argEndTime)
                                                                throws javax.ejb.CreateException,
                                                                       javax.ejb.FinderException,
                                                                       javax.naming.NamingException
Description copied from class: TradingAgreementBeanBase
Constructs a TradingAgreementAccessBean object with the specified trading type. The start time of the trading agreement is set to the specified startTime, and the ending time is set to the specified endTime.
Overrides:
ejbCreate in class TradingAgreementBeanBase
Parameters:
argType - The type of the trading agreement.
argStartTime - The starting time of the trading agreement.
argEndTime - The ending time of the trading agreement.
Returns:
The TradingAgreement key.
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception.
javax.ejb.CreateException
javax.ejb.FinderException
See Also:
TradingAgreementBeanBase.ejbCreate(Integer, Timestamp, Timestamp)

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.Integer argType)
Method ejbPostCreate.
Parameters:
argType - The type of trading agreement.

ejbPostCreate

public void ejbPostCreate(java.lang.Integer argType,
                          java.sql.Timestamp argStartTime,
                          java.sql.Timestamp argEndTime)
The post create method for the bean.
Parameters:
argType - The type of trading agreement.
argStartTime - The start time of the trading agreement.
argEndTime - The end time of the trading agreement.

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