com.ibm.commerce.approval.beans

Class ApprovalStatusDataBean

  • java.lang.Object
    • com.ibm.commerce.persistence.AbstractJpaEntityAccessBean
      • com.ibm.commerce.approval.objects.ApprovalStatusAccessBean
        • com.ibm.commerce.approval.beans.ApprovalStatusDataBean
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM Copyright field.
      • Fields inherited from interface com.ibm.commerce.beans.DataBean

        emptyString
    • Constructor Summary

      Constructors 
      Constructor and Description
      ApprovalStatusDataBean()
      Constructs an ApprovalStatusDataBean.
      ApprovalStatusDataBean(com.ibm.commerce.approval.objects.ApprovalStatus o)
      Constructs an ApprovalStatusDataBean from an EJB reference.
      ApprovalStatusDataBean(com.ibm.commerce.approval.objects.ApprovalStatusAccessBean anAccessBean)
      Constructs an ApprovalStatusDataBean based on the EJB reference from an existing ApprovalStatusDataBean.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getAprvstatusId()
      Gets the key field of the access bean.
      com.ibm.commerce.command.CommandContext getCommandContext()
      Gets the command context.
      com.ibm.commerce.datatype.TypedProperty getRequestProperties()
      Gets the request properties.
      void populate()
      Populates the databean.
      void setAprvstatusId(java.lang.String newAprvstatusId)
      Sets the key field of access bean.
      void setCommandContext(com.ibm.commerce.command.CommandContext newCommandContext)
      Sets the command context.
      void setRequestProperties(com.ibm.commerce.datatype.TypedProperty newRequestProperties)
      The setRequestProperties method is used to set the request properties associated with the data bean.
      • Methods inherited from class com.ibm.commerce.approval.objects.ApprovalStatusAccessBean

        findAll, findByApproverAndStatus, findByApproverGroupAndStatus, findByFlowAndEntity, findByFlowAndEntityAndStatus, findByFlowAndEntityForUpdate, findByFlowTypeAndApproverAndStatus, findByFlowTypeAndEntity, findByFlowTypeAndEntityAndApprover, findByFlowTypeAndEntityAndApproverAndStateAndStatus, findByFlowTypeAndEntityAndStatus, findByFlowTypeAndSubmitterAndStatus, findByIdForUpdate, findBySubmitter, fulfills, getApproverGroupId, getApproverGroupIdInEntityType, getApproverId, getApproverIdInEntityType, getApproveTime, getApproveTimeInEntityType, getComment, getEntity, getEntityId, getEntityIdInEntityType, getFlowId, getFlowIdInEntityType, getFlowTypeId, getFlowTypeIdInEntityType, getGroupingAttributeValue, getId, getIdInEntityType, getOwner, getStateId, getStateIdInEntityType, getStatus, getStatusInEntityType, getSubmitterId, getSubmitterIdInEntityType, getSubmitTime, getSubmitTimeInEntityType, instantiateEntity, setApproverGroupId, setApproverGroupId, setApproverId, setApproverId, setApproveTime, setApproveTime, setComment, setEntityId, setEntityId, setFlowId, setFlowId, setFlowTypeId, setFlowTypeId, setId, setId, setInitKey_id, setStateId, setStateId, setStatus, setStatus, setSubmitterId, setSubmitterId, setSubmitTime, setSubmitTime
      • 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
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM Copyright field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ApprovalStatusDataBean

        public ApprovalStatusDataBean()
        Constructs an ApprovalStatusDataBean.
      • ApprovalStatusDataBean

        public ApprovalStatusDataBean(com.ibm.commerce.approval.objects.ApprovalStatus o)
        Constructs an ApprovalStatusDataBean from an EJB reference.
        Parameters:
        o - The EJB object for which the databeab will be created.
      • ApprovalStatusDataBean

        public ApprovalStatusDataBean(com.ibm.commerce.approval.objects.ApprovalStatusAccessBean anAccessBean)
        Constructs an ApprovalStatusDataBean based on the EJB reference from an existing ApprovalStatusDataBean.
        Parameters:
        anAccessBean - Another ApprovalStatusDataBean.
        Throws:
        ECException - Thrown if the creation attempt fails.
    • Method Detail

      • getCommandContext

        public com.ibm.commerce.command.CommandContext getCommandContext()
        Gets the command context.
        Specified by:
        getCommandContext in interface com.ibm.commerce.beans.SmartDataBean
        Returns:
        The command context.
      • getRequestProperties

        public com.ibm.commerce.datatype.TypedProperty getRequestProperties()
        Gets the request properties.
        Specified by:
        getRequestProperties in interface com.ibm.commerce.beans.InputDataBean
        Returns:
        The request properties.
      • populate

        public void populate()
        Populates the databean.
        Specified by:
        populate in interface com.ibm.commerce.beans.SmartDataBean
        Throws:
        java.lang.Exception - If populate fails.
      • setAprvstatusId

        public void setAprvstatusId(java.lang.String newAprvstatusId)
        Sets the key field of access bean.
        Specified by:
        setAprvstatusId in interface ApprovalStatusInputDataBean
        Parameters:
        newAprvstatusId - The new approval status ID.
      • setCommandContext

        public void setCommandContext(com.ibm.commerce.command.CommandContext newCommandContext)
        Sets the command context.
        Specified by:
        setCommandContext in interface com.ibm.commerce.beans.SmartDataBean
        Parameters:
        The - new command context.
      • setRequestProperties

        public void setRequestProperties(com.ibm.commerce.datatype.TypedProperty newRequestProperties)
        The setRequestProperties method is used to set the request properties associated with the data bean. This is called by the DataBeanManager during the activate method.
        Specified by:
        setRequestProperties in interface com.ibm.commerce.beans.InputDataBean
        Parameters:
        TypedProperty - requestProperties - the set of properties passed to the JSP page that invokes this data bean,