com.ibm.commerce.contract.commands

Class ContractFlowEntityBean

  • java.lang.Object
    • com.ibm.commerce.persistence.AbstractJpaEntityAccessBean
      • com.ibm.commerce.contract.objects.ContractAccessBean
        • com.ibm.commerce.contract.commands.ContractFlowEntityBean
  • All Implemented Interfaces:
    com.ibm.commerce.security.Protectable, BusinessFlowEntityBean, java.io.Serializable


    public class ContractFlowEntityBean
    extends com.ibm.commerce.contract.objects.ContractAccessBean
    implements BusinessFlowEntityBean
    This class is used in the ContractSubmit approval flow (WebSphere Commerce Enterprise only).
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class com.ibm.commerce.contract.objects.ContractAccessBean

        COPYRIGHT
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      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, createNewVersion, findActiveContractByFamilyId, findActiveContractByFamilyIdNoCache, findActiveContractByNameOwnerAndOrigin, findActiveContractByNameOwnerAndOriginNoCache, findAll, findByNameOwnerAndOrigin, findByNameOwnerAndOriginNoCache, findByNameOwnerOriginAndState, findByNameOwnerOriginAndStateNoCache, findByNameOwnerOriginAndVersion, findByNameOwnerOriginAndVersionNoCache, findByOwnerId, findByParticipantId, findByState, findClosableContractByNameOwnerAndOrigin, findContractWithLargestMinorByNameOwnerOriginAndMajorVersion, fulfills, getAccountId, getComments, getContractLevelParticipants, getContractsReferringToContractId, getDescription, getDescription, getEntity, getFamilyId, getFamilyIdInEntityType, getMajorVersion, getMajorVersionInEntityType, getMarkForDelete, getMarkForDeleteInEntityType, getMinorVersion, getMinorVersionInEntityType, getName, getOrigin, getOriginInEntityType, getOwner, getOwnerReferenceNumber, getOwnerReferenceNumberInEntityType, getReferenceNumber, getReferenceNumberInEntityType, getReferredTradingAgreementId, getState, getStateInEntityType, getStoreXMLDefinition, getStoreXMLString, getTCs, getTCsByTCSubType, getTCsByTCSubTypeWithoutTCParticipant, getTCsByTCType, getTCsByTCTypeWithoutTCParticipant, getTimeActivated, getTimeActivatedInEntityType, getTimeApproved, getTimeApprovedInEntityType, getTimeCreated, getTimeCreatedInEntityType, getTimeDeployed, getTimeDeployedInEntityType, getTimeUpdated, getTimeUpdatedInEntityType, getUsage, getUsageInEntityType, getXMLByTradingIdAndType, instantiateEntity, setAccountId, setComments, setFamilyId, setFamilyId, setInitKey_referenceNumber, 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 com.ibm.commerce.persistence.AbstractJpaEntityAccessBean

        createAccessBean, createAccessBean, createAccessBeanCollection, createAccessBeanCollection, createEntityCollection, detach, remove, setUseDataCache, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, 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.
        Specified by:
        getEntityId in interface BusinessFlowEntityBean
        Returns:
        ID of the business flow entity
      • getStateIdentifier

        public java.lang.Integer getStateIdentifier()
        Returns the state identifier of the entity bean.
        Specified by:
        getStateIdentifier in interface BusinessFlowEntityBean
        Returns:
        java.lang.Integer
      • save

        public void save()
        saves the state information in the entity bean.
        Specified by:
        save in interface BusinessFlowEntityBean
      • setEntityId

        public void setEntityId(java.lang.Long anId)
        Sets the id of the entity bean.
        Specified by:
        setEntityId in interface BusinessFlowEntityBean
        Parameters:
        anId - java.lang.Long
      • setStateIdentifier

        public void setStateIdentifier(java.lang.Integer aStateIdentifier)
        Sets the state identifier of the entity bean.
        Specified by:
        setStateIdentifier in interface BusinessFlowEntityBean
        Parameters:
        aStateIdentifier - java.lang.Integer