com.ibm.commerce.ubf.beans

Class TransitionListBean

  • java.lang.Object
    • com.ibm.commerce.beans.InputDataBeanImpl
      • com.ibm.commerce.beans.SmartDataBeanImpl
        • com.ibm.commerce.beans.SortedListBean
          • com.ibm.commerce.ubf.beans.TransitionListBean
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT 
      • Fields inherited from class com.ibm.commerce.beans.SortedListBean

        sortingAtt
      • Fields inherited from interface com.ibm.commerce.beans.DataBean

        emptyString
    • Constructor Summary

      Constructors 
      Constructor and Description
      TransitionListBean()
      Constructs a TransitionListBean object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.Integer getApproval()
      Get approval.
      java.lang.String getEventIdentifier()
      Get event identifier.
      java.lang.Long getFlowId()
      Get flow id.
      java.lang.Long getStateId()
      Get state id.
      TransitionDataBean[] getTransitions()
      Gets a sorted list of TransitionDataBean objects.
      void populate()
      Looks up a sorted list of transitions, then populates an array of TransitionDataBean objects from the list entries.
      void setApproval(java.lang.Integer newApproval)
      Sets the Approval and uses the value to set a key field on the access bean.
      void setEventIdentifier(java.lang.String newEventIdentifier)
      Sets the EventIdentifier and uses the value to set a key field on the access bean.
      void setFlowId(java.lang.Long newFlowId)
      Sets the FlowId and uses the value to set a key field on the access bean.
      void setStateId(java.lang.Long newStateId)
      Sets the StateId and uses the value to set a key field on the access bean.
      void setTransitions(TransitionDataBean[] newTransitions)
      Populates a list of transition data bean.
      • Methods inherited from class com.ibm.commerce.beans.SortedListBean

        getLength, getSortAtt, setSortAtt
      • Methods inherited from class com.ibm.commerce.beans.SmartDataBeanImpl

        fulfills, getCommandContext, getHttpRequest, getHttpResponse, getResources, getViewCommandContext, setCommandContext, setHttpRequest, setHttpResponse, setViewCommandContext
      • Methods inherited from class com.ibm.commerce.beans.InputDataBeanImpl

        getRequestProperties, setRequestProperties
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.ibm.commerce.beans.InputDataBean

        getRequestProperties, setRequestProperties
    • Constructor Detail

      • TransitionListBean

        public TransitionListBean()
        Constructs a TransitionListBean object.
    • Method Detail

      • populate

        public void populate()
                      throws java.lang.Exception
        Looks up a sorted list of transitions, then populates an array of TransitionDataBean objects from the list entries.
        Specified by:
        populate in interface com.ibm.commerce.beans.SmartDataBean
        Overrides:
        populate in class com.ibm.commerce.beans.SmartDataBeanImpl
        Throws:
        java.lang.Exception - if an TransitionAccessBean could not be created.
      • setApproval

        public void setApproval(java.lang.Integer newApproval)
        Sets the Approval and uses the value to set a key field on the access bean.
        Specified by:
        setApproval in interface TransitionListInputDataBean
        Parameters:
        newApproval - relevant Approval.
      • setEventIdentifier

        public void setEventIdentifier(java.lang.String newEventIdentifier)
        Sets the EventIdentifier and uses the value to set a key field on the access bean.
        Specified by:
        setEventIdentifier in interface TransitionListInputDataBean
        Parameters:
        newEventIdentifier - relevant EventIdentifier.
      • setFlowId

        public void setFlowId(java.lang.Long newFlowId)
        Sets the FlowId and uses the value to set a key field on the access bean.
        Specified by:
        setFlowId in interface TransitionListInputDataBean
        Parameters:
        newFlowId - relevant FlowId.
      • setStateId

        public void setStateId(java.lang.Long newStateId)
        Sets the StateId and uses the value to set a key field on the access bean.
        Specified by:
        setStateId in interface TransitionListInputDataBean
        Parameters:
        newStateId - relevant StateId.