public class ContractAccessBean extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean implements ContractAccessBeanData
Constructor and Description |
---|
ContractAccessBean()
Zero argument constructor used to initialize the access bean.
|
ContractAccessBean(javax.ejb.EJBObject o)
constructor
|
ContractAccessBean(java.lang.Long argTradingId, java.lang.Integer argOrigin, java.lang.String argName, java.lang.Long argOwnerId)
Constructs a Contract object with the specified contract ID, origin, name, and the owner ID.
|
ContractAccessBean(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 a Contract object with the specified contract name, major version, minor version, owner ID, starting time, and the ending time.
|
Modifier and Type | Method and Description |
---|---|
void | addToStore(java.lang.Integer storeId)
This method adds a contract to the store.
|
void | commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage).
|
java.lang.Long | createNewVersion()
Creates a new version of the contract.
|
protected java.lang.String | defaultJNDIName() |
ContractAccessBean | findActiveContractByFamilyId(java.lang.Long argFamilyId)
Retrieves the Contract representing the active contract with the specified contract family ID.
|
ContractAccessBean | findActiveContractByNameOwnerAndOrigin(java.lang.String argName, java.lang.Long argOwnerId, java.lang.Integer argOrigin)
Retrieves the Contract representing the active contract with the specified contract name, origin, and the owner ID.
|
java.util.Enumeration | findAll()
Retrieves an Enumeration of ContractAccessBeans representing all contracts are not marked for deleting.
|
java.util.Enumeration | findByNameOwnerAndOrigin(java.lang.String argName, java.lang.Long argOwnerId, java.lang.Integer argOrigin)
Retrieves all contracts with the specified contract name, owner ID, and the contract origin.
|
java.util.Enumeration | findByNameOwnerOriginAndState(java.lang.String argName, java.lang.Long argOwnerId, java.lang.Integer argOrigin, java.lang.Integer argState)
findByNameOwnerOriginAndState
|
ContractAccessBean | findByNameOwnerOriginAndVersion(java.lang.String argName, java.lang.Long argOwnerId, java.lang.Integer argOrigin, java.lang.Integer argMajorVersion, java.lang.Integer argMinorVersion)
Retrieves the Contract representing the contract with the specified contract name, owner ID, origin, major version, and the minor version.
|
java.util.Enumeration | findByOwnerId(java.lang.Long argOwnerId)
Retrieves an Enumeration of ContractAccessBeans representing all contracts with the specified owner ID.
|
java.util.Enumeration | findByParticipantId(java.lang.Long argParticipantId)
Retrieves an Enumeration of ContractAccessBeans representing all contracts that the specified ID as a contract participant.
|
java.util.Enumeration | findByState(java.lang.Integer argState)
Retrieves an Enumeration of ContractAccessBeans representing all contracts with the specified state.
|
java.util.Enumeration | findClosableContractByNameOwnerAndOrigin(java.lang.String argName, java.lang.Long argOwnerId, java.lang.Integer argOrigin, java.lang.Long argExclusiveContractId)
Retrieves an Enumeration of ContractAccessBeans representing all contracts that need to be closed when a new version of contract is deployed.
|
ContractAccessBean | findContractWithLargestMinorByNameOwnerOriginAndMajorVersion(java.lang.String argName, java.lang.Long argOwnerId, java.lang.Integer argOrigin, java.lang.Integer argMajorVersion)
Retrieves the Contract representing the contract with the largest minor version number for the specified contract name, origin, and the owner ID.
|
boolean | fulfills(java.lang.Long arg0, java.lang.String arg1) |
java.lang.Long | getAccountId()
This method provides access to the.
|
java.lang.String | getComments()
This method accesses a non-CMP field
|
ParticipantAccessBean[] | getContractLevelParticipants()
The method returns an array of ParticipantAccessBean representing all participants that the current contract has.
|
java.util.Enumeration | getContractsReferringToContractId() |
TradingDescriptionAccessBean | getDescription(java.lang.Integer language_id)
Retrieves the TradingDescriptionAccessBean representing the contract description with the specified language ID.
|
TradingDescriptionAccessBean | getDescription(java.lang.Integer language_id, java.lang.Integer storeId)
Retrieves the TradingDescriptionAccessBean representing the contract description with the specified language ID.
|
java.lang.String | getFamilyId()
getFamilyId
|
java.lang.Long | getFamilyIdInEJBType()
getFamilyIdInEJBType
|
java.lang.String | getMajorVersion()
This method accesses a non-CMP field
|
java.lang.Integer | getMajorVersionInEJBType()
This method accesses a non-CMP field
|
java.lang.String | getMarkForDelete()
This method accesses a non-CMP field
|
java.lang.Integer | getMarkForDeleteInEJBType()
This method accesses a non-CMP field
|
java.lang.String | getMinorVersion()
This method accesses a non-CMP field
|
java.lang.Integer | getMinorVersionInEJBType()
This method accesses a non-CMP field
|
java.lang.String | getName()
This method accesses a non-CMP field
|
java.lang.String | getOrigin()
This method accesses a non-CMP field
|
java.lang.Integer | getOriginInEJBType()
This method accesses a non-CMP field
|
java.lang.Long | getOwner()
This method accesses a non-CMP field
|
java.lang.String | getOwnerReferenceNumber()
This method accesses a non-CMP field
|
java.lang.Long | getOwnerReferenceNumberInEJBType()
This method accesses a non-CMP field
|
java.lang.String | getReferenceNumber()
This method accesses a non-CMP field
|
java.lang.Long | getReferenceNumberInEJBType()
This method accesses a non-CMP field
|
java.lang.Long | getReferredTradingAgreementId() |
java.lang.String | getState()
This method accesses a non-CMP field
|
java.lang.Integer | getStateInEJBType()
This method accesses a non-CMP field
|
java.lang.String | getStoreXMLDefinition() |
java.lang.String | getStoreXMLString() |
TermConditionAccessBean[] | getTCs()
The method returns an array of TermConditionAccessBean representing all the terms and conditions that the current contract has.
|
TermConditionAccessBean[] | getTCsByTCSubType(java.lang.String argTCSubType)
The method returns an array of TermConditionAccessBeans representing the terms and conditions with the given argTCSubType .
|
TermConditionAccessBean[] | getTCsByTCSubTypeWithoutTCParticipant(java.lang.String argTCSubType)
The method returns an array of TermConditionAccessBean representing the terms and conditions with the given argTCSubType .
|
TermConditionAccessBean[] | getTCsByTCType(java.lang.String argTCType)
The method returns an array of TermConditionAccessBean representing the terms and conditions with the given argTCType .
|
TermConditionAccessBean[] | getTCsByTCTypeWithoutTCParticipant(java.lang.String argTCType)
The method returns an array of TermConditionAccessBean representing the terms and conditions with the given argTCType .
|
java.lang.String | getTimeActivated()
This method accesses a non-CMP field
|
java.sql.Timestamp | getTimeActivatedInEJBType()
This method accesses a non-CMP field
|
java.lang.String | getTimeApproved()
This method accesses a non-CMP field
|
java.sql.Timestamp | getTimeApprovedInEJBType()
This method accesses a non-CMP field
|
java.lang.String | getTimeCreated()
This method accesses a non-CMP field
|
java.sql.Timestamp | getTimeCreatedInEJBType()
This method accesses a non-CMP field
|
java.lang.String | getTimeDeployed()
This method accesses a non-CMP field
|
java.sql.Timestamp | getTimeDeployedInEJBType()
This method accesses a non-CMP field
|
java.lang.String | getTimeUpdated()
This method accesses a non-CMP field
|
java.sql.Timestamp | getTimeUpdatedInEJBType()
This method accesses a non-CMP field
|
java.lang.String | getUsage()
This method accesses a non-CMP field
|
java.lang.Integer | getUsageInEJBType()
This method accesses a non-CMP field
|
TermConditionAccessBean[] | getXMLByTradingIdAndType(java.lang.Long tradingId, java.lang.Integer type)
getXMLByTradingIdAndType
|
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper()
Load data from the EJBObject.
|
void | setAccountId(java.lang.Long newAccountId)
This method updates the account ID associated with the contract.
|
void | setComments(java.lang.String newValue)
This method accesses a non-CMP field
|
void | setFamilyId(java.lang.Long newValue)
This method accesses a non-CMP field
|
void | setFamilyId(java.lang.String newValue)
This method accesses a non-CMP field
|
void | setInitKey_referenceNumber(java.lang.String newValue)
Set the primary key for this object
|
void | setMajorVersion(java.lang.Integer newValue)
This method accesses a non-CMP field
|
void | setMajorVersion(java.lang.String newValue)
This method accesses a non-CMP field
|
void | setMarkForDelete(java.lang.Integer newValue)
This method accesses a non-CMP field
|
void | setMarkForDelete(java.lang.String newValue)
This method accesses a non-CMP field
|
void | setMinorVersion(java.lang.Integer newValue)
This method accesses a non-CMP field
|
void | setMinorVersion(java.lang.String newValue)
This method accesses a non-CMP field
|
void | setName(java.lang.String newValue)
This method accesses a non-CMP field
|
void | setOrigin(java.lang.Integer newValue)
This method accesses a non-CMP field
|
void | setOrigin(java.lang.String newValue)
This method accesses a non-CMP field
|
void | setOwnerReferenceNumber(java.lang.Long newValue)
This method accesses a non-CMP field
|
void | setOwnerReferenceNumber(java.lang.String newValue)
This method accesses a non-CMP field
|
void | setReferenceNumber(java.lang.Long newValue)
This method accesses a non-CMP field
|
void | setReferenceNumber(java.lang.String newValue)
This method accesses a non-CMP field
|
void | setReferredTradingAgreementId(java.lang.Long newReferenceId) |
void | setState(java.lang.Integer newValue)
This method accesses a non-CMP field
|
void | setState(java.lang.String newValue)
This method accesses a non-CMP field
|
void | setStoreXMLDefinition(org.w3c.dom.Element newStoreXML) |
void | setStoreXMLDefinition(java.lang.String newStoreXML) |
void | setTimeActivated(java.lang.String newValue)
This method accesses a non-CMP field
|
void | setTimeActivated(java.sql.Timestamp newValue)
This method accesses a non-CMP field
|
void | setTimeApproved(java.lang.String newValue)
This method accesses a non-CMP field
|
void | setTimeApproved(java.sql.Timestamp newValue)
This method accesses a non-CMP field
|
void | setTimeCreated(java.lang.String newValue)
This method accesses a non-CMP field
|
void | setTimeCreated(java.sql.Timestamp newValue)
This method accesses a non-CMP field
|
void | setTimeDeployed(java.lang.String newValue)
This method accesses a non-CMP field
|
void | setTimeDeployed(java.sql.Timestamp newValue)
This method accesses a non-CMP field
|
void | setTimeUpdated(java.lang.String newValue)
This method accesses a non-CMP field
|
void | setTimeUpdated(java.sql.Timestamp newValue)
This method accesses a non-CMP field
|
void | setUsage(java.lang.Integer newValue)
This method accesses a non-CMP field
|
void | setUsage(java.lang.String newValue)
This method accesses a non-CMP field
|
public ContractAccessBean()
public ContractAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public ContractAccessBean(java.lang.Long argTradingId, java.lang.Integer argOrigin, java.lang.String argName, java.lang.Long argOwnerId) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
Constructs a Contract object with the specified contract ID, origin, name, and the owner ID.
public ContractAccessBean(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.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
Constructs a Contract object with the specified contract name, major version, minor version, owner ID, starting time, and the ending time.
public ContractAccessBean findActiveContractByNameOwnerAndOrigin(java.lang.String argName, java.lang.Long argOwnerId, java.lang.Integer argOrigin) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves the Contract representing the active contract with the specified contract name, origin, and the owner ID. The contract should be effective and not expired.
public ContractAccessBean findByNameOwnerOriginAndVersion(java.lang.String argName, java.lang.Long argOwnerId, java.lang.Integer argOrigin, java.lang.Integer argMajorVersion, java.lang.Integer argMinorVersion) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves the Contract representing the contract with the specified contract name, owner ID, origin, major version, and the minor version.
The SQL query used to fetch the required rows from the CONTRACT table is:
select * from contract T1 where T1.name = ? and member_id = ? and origin = ? and majorversion = ? and minorversion = ?
public ContractAccessBean findContractWithLargestMinorByNameOwnerOriginAndMajorVersion(java.lang.String argName, java.lang.Long argOwnerId, java.lang.Integer argOrigin, java.lang.Integer argMajorVersion) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves the Contract representing the contract with the largest minor version number for the specified contract name, origin, and the owner ID. The contract should be effective and not expired.
public java.util.Enumeration findAll() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves an Enumeration of ContractAccessBeans representing all contracts are not marked for deleting.
The SQL query used to fetch the required rows from the CONTRACT table is:
select * from contract T1 where T1.markfordelete = 0 order by name, majorversion , minorversion
public java.util.Enumeration findByNameOwnerAndOrigin(java.lang.String argName, java.lang.Long argOwnerId, java.lang.Integer argOrigin) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all contracts with the specified contract name, owner ID, and the contract origin.
The SQL query used to fetch the required rows from the CONTRACT table is:
select * from contract T1 where T1.name = ? and member_id = ? and origin = ? and markfordelete = 0 order by majorversion , minorversion
public java.util.Enumeration findByOwnerId(java.lang.Long argOwnerId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves an Enumeration of ContractAccessBeans representing all contracts with the specified owner ID.
The SQL query used to fetch the required rows from the CONTRACT table is:
select * from contract T1 where T1.state = ? and markfordelete = 0 order by name, majorversion , minorversion
public java.util.Enumeration findByParticipantId(java.lang.Long argParticipantId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves an Enumeration of ContractAccessBeans representing all contracts that the specified ID as a contract participant.
The SQL query used to fetch the required rows from the CONTRACT table is:
select * from contract T1 where T1.contract_id in (select distinct trading_id from participnt where member_id =?) and markfordelete = 0 order by name, majorversion , minorversion
public java.util.Enumeration findByState(java.lang.Integer argState) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves an Enumeration of ContractAccessBeans representing all contracts with the specified state.
The SQL query used to fetch the required rows from the CONTRACT table is:
select * from contract T1 where T1.state = ? and markfordelete = 0 order by name, majorversion , minorversion
public java.util.Enumeration findClosableContractByNameOwnerAndOrigin(java.lang.String argName, java.lang.Long argOwnerId, java.lang.Integer argOrigin, java.lang.Long argExclusiveContractId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves an Enumeration of ContractAccessBeans representing all contracts that need to be closed when a new version of contract is deployed.
The SQL query used to fetch the required rows from the CONTRACT table is:
select * from contract T1 where T1.name = ? and member_id = ? and origin = ? and state in (2, 3, 7) and markfordelete = 0 and contract_id <> ?
public void setInitKey_referenceNumber(java.lang.String newValue)
Set the primary key for this object
protected java.lang.String defaultJNDIName()
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Update(flush) data to the EJBObject (persistent storage).
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
public java.lang.String getTimeApproved() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.sql.Timestamp getTimeApprovedInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setTimeApproved(java.lang.String newValue)
public void setTimeApproved(java.sql.Timestamp newValue)
public java.lang.String getTimeActivated() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.sql.Timestamp getTimeActivatedInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setTimeActivated(java.lang.String newValue)
public void setTimeActivated(java.sql.Timestamp newValue)
public java.lang.String getState() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Integer getStateInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setState(java.lang.String newValue)
public void setState(java.lang.Integer newValue)
public java.lang.String getTimeUpdated() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.sql.Timestamp getTimeUpdatedInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setTimeUpdated(java.lang.String newValue)
public void setTimeUpdated(java.sql.Timestamp newValue)
public java.lang.String getMajorVersion() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Integer getMajorVersionInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setMajorVersion(java.lang.String newValue)
public void setMajorVersion(java.lang.Integer newValue)
public java.lang.String getMarkForDelete() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Integer getMarkForDeleteInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setMarkForDelete(java.lang.String newValue)
public void setMarkForDelete(java.lang.Integer newValue)
public java.lang.String getOwnerReferenceNumber() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Long getOwnerReferenceNumberInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setOwnerReferenceNumber(java.lang.String newValue)
public void setOwnerReferenceNumber(java.lang.Long newValue)
public java.lang.String getTimeDeployed() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.sql.Timestamp getTimeDeployedInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setTimeDeployed(java.lang.String newValue)
public void setTimeDeployed(java.sql.Timestamp newValue)
public java.lang.String getUsage() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Integer getUsageInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setUsage(java.lang.String newValue)
public void setUsage(java.lang.Integer newValue)
public java.lang.String getOrigin() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Integer getOriginInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setOrigin(java.lang.String newValue)
public void setOrigin(java.lang.Integer newValue)
public java.lang.String getComments() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setComments(java.lang.String newValue)
public java.lang.String getTimeCreated() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.sql.Timestamp getTimeCreatedInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setTimeCreated(java.lang.String newValue)
public void setTimeCreated(java.sql.Timestamp newValue)
public java.lang.String getName() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setName(java.lang.String newValue)
public java.lang.String getReferenceNumber() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Long getReferenceNumberInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setReferenceNumber(java.lang.String newValue)
public void setReferenceNumber(java.lang.Long newValue)
public java.lang.String getMinorVersion() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Integer getMinorVersionInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setMinorVersion(java.lang.String newValue)
public void setMinorVersion(java.lang.Integer newValue)
public boolean fulfills(java.lang.Long arg0, java.lang.String arg1) throws java.rmi.RemoteException, java.lang.Exception, javax.ejb.FinderException, javax.naming.NamingException
public ParticipantAccessBean[] getContractLevelParticipants() throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
The method returns an array of ParticipantAccessBean representing all participants that the current contract has.
public TermConditionAccessBean[] getTCsByTCSubTypeWithoutTCParticipant(java.lang.String argTCSubType) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
The method returns an array of TermConditionAccessBean representing the terms and conditions with the given argTCSubType . But without the terms and conditions that have participant(s).
public TermConditionAccessBean[] getTCsByTCTypeWithoutTCParticipant(java.lang.String argTCType) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
The method returns an array of TermConditionAccessBean representing the terms and conditions with the given argTCType . But without the terms and conditions that have participant(s).
public TermConditionAccessBean[] getTCs() throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
The method returns an array of TermConditionAccessBean representing all the terms and conditions that the current contract has.
public TermConditionAccessBean[] getTCsByTCSubType(java.lang.String argTCSubType) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
The method returns an array of TermConditionAccessBeans representing the terms and conditions with the given argTCSubType .
public TermConditionAccessBean[] getTCsByTCType(java.lang.String argTCType) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
The method returns an array of TermConditionAccessBean representing the terms and conditions with the given argTCType .
public TradingDescriptionAccessBean getDescription(java.lang.Integer language_id) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
Retrieves the TradingDescriptionAccessBean representing the contract description with the specified language ID.
public TradingDescriptionAccessBean getDescription(java.lang.Integer language_id, java.lang.Integer storeId) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
Retrieves the TradingDescriptionAccessBean representing the contract description with the specified language ID. If the description for the specified language is not available for the specified store, An alternate language description will be returned.
public java.lang.Long createNewVersion() throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
Creates a new version of the contract.
public java.lang.Long getAccountId() throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
This method provides access to the. TRADING.ACCOUNT_ID. column of DB2 type BIGINT NULL.
The following is a description of this column:
The account which the contract referred to.
public java.lang.Long getOwner() throws java.lang.Exception, java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
public void addToStore(java.lang.Integer storeId) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
This method adds a contract to the store.
public void setAccountId(java.lang.Long newAccountId) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
This method updates the account ID associated with the contract.
public java.util.Enumeration findByNameOwnerOriginAndState(java.lang.String argName, java.lang.Long argOwnerId, java.lang.Integer argOrigin, java.lang.Integer argState) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
public java.util.Enumeration getContractsReferringToContractId() throws javax.naming.NamingException, javax.ejb.FinderException, javax.ejb.CreateException, java.rmi.RemoteException
public void setReferredTradingAgreementId(java.lang.Long newReferenceId) throws javax.naming.NamingException, javax.ejb.FinderException, javax.ejb.CreateException, java.rmi.RemoteException
public java.lang.Long getReferredTradingAgreementId() throws javax.naming.NamingException, javax.ejb.FinderException, javax.ejb.CreateException, java.rmi.RemoteException
public void setStoreXMLDefinition(org.w3c.dom.Element newStoreXML) throws javax.naming.NamingException, javax.ejb.FinderException, javax.ejb.CreateException, java.sql.SQLException, java.rmi.RemoteException
public void setStoreXMLDefinition(java.lang.String newStoreXML) throws javax.naming.NamingException, javax.ejb.FinderException, javax.ejb.CreateException, java.sql.SQLException, java.rmi.RemoteException
public java.lang.String getStoreXMLDefinition() throws javax.naming.NamingException, javax.ejb.FinderException, javax.ejb.CreateException, java.sql.SQLException, java.rmi.RemoteException
public java.lang.String getStoreXMLString() throws javax.naming.NamingException, javax.ejb.FinderException, javax.ejb.CreateException, java.sql.SQLException, java.rmi.RemoteException
public TermConditionAccessBean[] getXMLByTradingIdAndType(java.lang.Long tradingId, java.lang.Integer type) throws javax.naming.NamingException, javax.ejb.FinderException, javax.ejb.CreateException, java.rmi.RemoteException, java.sql.SQLException
public java.lang.String getFamilyId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Long getFamilyIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setFamilyId(java.lang.String newValue)
public void setFamilyId(java.lang.Long newValue)
public ContractAccessBean findActiveContractByFamilyId(java.lang.Long argFamilyId) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
Retrieves the Contract representing the active contract with the specified contract family ID. The contract should be effective and not expired.