com.ibm.commerce.contract.commands
Class ContractFlowEntityBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
        |
        +--com.ibm.commerce.contract.objects.ContractAccessBean
              |
              +--com.ibm.commerce.contract.commands.ContractFlowEntityBean
All Implemented Interfaces:
ContractAccessBeanData

public class ContractFlowEntityBean
extends ContractAccessBean

ContractFlowEntityBean is used in the ContractSubmit approval flow (WebSphere Commerce Business Edition only).

See Also:
Serialized Form

Constructor Summary
ContractFlowEntityBean()
           
 
Method Summary
 java.lang.Long getEntityId()
          Returns the id of the entity bean.
 java.lang.Integer getStateIdentifier()
          Returns the state identifier of the entity bean.
 void save()
          saves the state information in the entity bean.
 void setEntityId(java.lang.Long anId)
          Sets the id of the entity bean.
 void setStateIdentifier(java.lang.Integer aStateIdentifier)
          Sets the state identifier of the entity bean.
 
Methods inherited from class com.ibm.commerce.contract.objects. ContractAccessBean
addToStore, commitCopyHelper, createNewVersion, defaultJNDIName, findActiveContractByNameOwnerAndOrigin, findAll, findByNameOwnerAndOrigin, findByNameOwnerOriginAndState, findByNameOwnerOriginAndVersion, findByOwnerId, findByParticipantId, findByState, findClosableContractByNameOwnerAndOrigin, findContractWithLargestMinorByNameOwnerOriginAndMajorVersion, fulfills, getAccountId, getComments, getContractLevelParticipants, getContractsReferringToContractId, getDescription, getDescription, getMajorVersion, getMajorVersionInEJBType, getMarkForDelete, getMarkForDeleteInEJBType, getMinorVersion, getMinorVersionInEJBType, getName, getOrigin, getOriginInEJBType, getOwner, getOwnerReferenceNumber, getOwnerReferenceNumberInEJBType, getReferenceNumber, getReferenceNumberInEJBType, getReferredTradingAgreementId, getState, getStateInEJBType, getStoreXMLDefinition, getStoreXMLString, getTCs, getTCsByTCSubType, getTCsByTCSubTypeWithoutTCParticipant, getTCsByTCType, getTCsByTCTypeWithoutTCParticipant, getTimeActivated, getTimeActivatedInEJBType, getTimeApproved, getTimeApprovedInEJBType, getTimeCreated, getTimeCreatedInEJBType, getTimeDeployed, getTimeDeployedInEJBType, getTimeUpdated, getTimeUpdatedInEJBType, getUsage, getUsageInEJBType, getXMLByTradingIdAndType, instantiateEJB, instantiateEJBByPrimaryKey, refreshCopyHelper, setAccountId, setComments, setInitKey_referenceNumber, setMajorVersion, setMajorVersion, setMarkForDelete, setMarkForDelete, setMinorVersion, setMinorVersion, setName, setOrigin, setOrigin, setOwnerReferenceNumber, setOwnerReferenceNumber, setReferenceNumber, setReferenceNumber, setReferredTradingAgreementId, setState, setState, setStoreXMLDefinition, setStoreXMLDefinition, setTimeActivated, setTimeActivated, setTimeApproved, setTimeApproved, setTimeCreated, setTimeCreated, setTimeDeployed, setTimeDeployed, setTimeUpdated, setTimeUpdated, setUsage, setUsage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContractFlowEntityBean

public ContractFlowEntityBean()
Method Detail

getEntityId

public java.lang.Long getEntityId()
Returns the id of the entity bean. It is the same as the contract id.
Returns:
ID of the business flow entity

getStateIdentifier

public java.lang.Integer getStateIdentifier()
Returns the state identifier of the entity bean.

save

public void save()
saves the state information in the entity bean.

setEntityId

public void setEntityId(java.lang.Long anId)
Sets the id of the entity bean.

setStateIdentifier

public void setStateIdentifier(java.lang.Integer aStateIdentifier)
Sets the state identifier of the entity bean.