java.lang.Objectcom.ibm.commerce.base.objects.ECEntityBean
com.ibm.commerce.contract.objimpl.ContractBeanBase
com.ibm.commerce.contract.objects.ContractBean
Provides access to the CONTRACT table.
The following is a description of this table:
Each row of this table represents a Contract. A Contract is part of a Store, and represents terms and conditions that may be associated with OrderItems, such as prices, minimum quantities, and who can use the Contract.
Field Summary |
Fields inherited from class com.ibm.commerce.contract.objimpl.ContractBeanBase |
majorVersion, markForDelete, minorVersion, name, origin, ownerReferenceNumber, referenceNumber, state, timeActivated, timeApproved, timeCreated, timeDeployed, timeUpdated, usage |
Constructor Summary | |
ContractBean() |
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.ContractKey | ejbCreate(java.lang.Long argTradingId, java.lang.Integer argOrigin, java.lang.String argName, java.lang.Long argOwnerId) Constructs an ContractAccessBean object with the specified contract ID, origin, name, and the owner ID. |
com.ibm.commerce.contract.objects.ContractKey | ejbCreate(java.lang.String argName, java.lang.Integer argMajorVersion, java.lang.Integer argMinorVersion, java.lang.Long argOwnerId, java.sql.Timestamp argStartTime, java.sql.Timestamp argEndTime) Constructs an ContractAccessBean object with the specified contract name, major version, |
void | ejbLoad() |
void | ejbPassivate() |
void | ejbPostCreate(java.lang.Long argTradingId, java.lang.Integer argOrigin, java.lang.String argName, java.lang.Long argOwnerId) The postCreate method for the Contract bean. |
void | ejbPostCreate(java.lang.String argName, java.lang.Integer argMajorVersion, java.lang.Integer argMinorVersion, java.lang.Long argOwnerId, java.sql.Timestamp argStartTime, java.sql.Timestamp argEndTime) The postCreate method for the Contract bean. |
void | ejbRemove() |
void | ejbStore() |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ContractBean()
Method Detail |
public java.util.Hashtable _copyFromEJB()
public void _copyToEJB(java.util.Hashtable h)
protected java.util.Vector _getLinks()
protected void _initLinks()
protected void _removeLinks() throws javax.ejb.RemoveException
public void ejbActivate()
public com.ibm.commerce.contract.objects.ContractKey ejbCreate(java.lang.Long argTradingId, java.lang.Integer argOrigin, java.lang.String argName, java.lang.Long argOwnerId) throws javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Constructs an ContractAccessBean object with the specified contract ID, origin, name, and the owner ID.
This create method will be invoked when creating a contract from rfq.
public com.ibm.commerce.contract.objects.ContractKey ejbCreate(java.lang.String argName, java.lang.Integer argMajorVersion, java.lang.Integer argMinorVersion, java.lang.Long argOwnerId, java.sql.Timestamp argStartTime, java.sql.Timestamp argEndTime) throws javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Constructs an ContractAccessBean object with the specified contract name, major version,
minor version, owner ID, starting time, and the ending time.
This create method will be invoked when creating a new contract from scratch.
public void ejbLoad()
public void ejbPassivate()
public void ejbPostCreate(java.lang.Long argTradingId, java.lang.Integer argOrigin, java.lang.String argName, java.lang.Long argOwnerId)
public void ejbPostCreate(java.lang.String argName, java.lang.Integer argMajorVersion, java.lang.Integer argMinorVersion, java.lang.Long argOwnerId, java.sql.Timestamp argStartTime, java.sql.Timestamp argEndTime)
public void ejbRemove() throws javax.ejb.RemoveException
public void ejbStore()
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.