public class ContractBean extends ContractBeanBase implements javax.ejb.EntityBean
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. It may be associated with OrderItems, such as prices, minimum quantities, and who can use the Contract. This bean accesses the database table CONTRACT
Constructor and Description |
---|
ContractBean() |
Modifier and Type | Method and Description |
---|---|
java.util.Hashtable | _copyFromEJB()
_copyFromEJB
|
void | _copyToEJB(java.util.Hashtable h)
_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() |
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()