com.ibm.commerce.ubf.beans

Class StateListBean

  • java.lang.Object
    • com.ibm.commerce.beans.InputDataBeanImpl
      • com.ibm.commerce.beans.SmartDataBeanImpl
        • com.ibm.commerce.beans.SortedListBean
          • com.ibm.commerce.ubf.beans.StateListBean
    • 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
      StateListBean()
      Constructs a StateListBean object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getFlowTypeId()
      Get flow type id.
      java.lang.String getStateGroupId()
      Get State group id.
      StateDataBean[] getStates()
      Gets a sorted list of StateDataBean objects.
      void populate()
      Looks up a sorted list of states, then populates an array of StatesDataBean objects from the list entries.
      void setFlowTypeId(java.lang.String newFlowTypeId)
      Sets the FlowTypeId and uses the value to set a key field on the access bean.
      void setStateGroupId(java.lang.String newStateGroupId)
      Sets the StateGroupId and uses the value to set a key field on the access bean.
      void setStates(StateDataBean[] newStates)
      Populates a list of state 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

      • StateListBean

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

      • getStates

        public StateDataBean[] getStates()
        Gets a sorted list of StateDataBean objects. Creation date: (5/22/2001 5:21:36 PM)
        Specified by:
        getStates in interface StateListSmartDataBean
        Returns:
        com.ibm.commerce.ubf.beans.StateDataBean
      • populate

        public void populate()
                      throws java.lang.Exception
        Looks up a sorted list of states, then populates an array of StatesDataBean 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 FlowStateAccessBean could not be created.
      • setFlowTypeId

        public void setFlowTypeId(java.lang.String newFlowTypeId)
        Sets the FlowTypeId and uses the value to set a key field on the access bean.
        Specified by:
        setFlowTypeId in interface StateListInputDataBean
        Parameters:
        newFlowTypeId - relevant FlowTypeId.
      • setStateGroupId

        public void setStateGroupId(java.lang.String newStateGroupId)
        Sets the StateGroupId and uses the value to set a key field on the access bean.
        Specified by:
        setStateGroupId in interface StateListInputDataBean
        Parameters:
        newStateGroupId - relevant StateGroupId.
      • setStates

        public void setStates(StateDataBean[] newStates)
        Populates a list of state data bean. Creation date: (5/22/2001 5:21:36 PM)
        Specified by:
        setStates in interface StateListInputDataBean
        Parameters:
        newStates - com.ibm.commerce.ubf.beans.StateDataBean