com.ibm.commerce.ubf.beans

Class StateDataBean

  • java.lang.Object
    • com.ibm.commerce.persistence.AbstractJpaEntityAccessBean
      • com.ibm.commerce.ubf.objects.FlowStateAccessBean
        • com.ibm.commerce.ubf.beans.StateDataBean
  • All Implemented Interfaces:
    com.ibm.commerce.beans.DataBean, com.ibm.commerce.beans.InputDataBean, com.ibm.commerce.beans.SmartDataBean, StateInputDataBean, StateSmartDataBean, java.io.Serializable


    public class StateDataBean
    extends com.ibm.commerce.ubf.objects.FlowStateAccessBean
    implements StateInputDataBean, StateSmartDataBean, com.ibm.commerce.beans.SmartDataBean
    Interfaces to the data members of the FlowStateAccessBean.
    See Also:
    FlowStateAccessBean, SmartDataBean, Serialized Form
    • Field Summary

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

        emptyString
    • Constructor Summary

      Constructors 
      Constructor and Description
      StateDataBean()
      Constructs StateDataBean.
      StateDataBean(com.ibm.commerce.ubf.objects.FlowState o)
      Constructs StateDataBean.
      StateDataBean(com.ibm.commerce.ubf.objects.FlowStateAccessBean anAccessBean)
      Constructs StateDataBean.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      com.ibm.commerce.command.CommandContext getCommandContext()
      Gets the active commandContext.
      com.ibm.commerce.datatype.TypedProperty getRequestProperties()
      Gets the value of requestProperties; currently implemented to return null.
      java.lang.Long getStateId()
      Gets the stateId field.
      void populate()
      Fetches field values from the access bean.
      void setCommandContext(com.ibm.commerce.command.CommandContext newCommandContext)
      Sets the active commandContext.
      void setRequestProperties(com.ibm.commerce.datatype.TypedProperty param)
      Currently does nothing.
      void setStateByFlowTypeIdAndIdentifier(java.lang.String newFlowTypeId, java.lang.String newIdentifier)
      Sets the flowTypeId and identifier value.
      void setStateByFlowTypeIdAndStateName(java.lang.String newFlowTypeId, java.lang.String newStateName)
      Sets the flowTypeId and stateName value.
      void setStateId(java.lang.Long newStateId)
      Sets the stateId and uses the value to set a key field on the access bean.
      void setStateId(java.lang.String newStateId)
      Sets the stateId and uses the value to set a key field on the access bean.
      • Methods inherited from class com.ibm.commerce.ubf.objects.FlowStateAccessBean

        findAllFlowStates, findFlowStateByFlowTypeAndIdentifier, findFlowStateByFlowTypeAndStateName, findFlowStatesByFlowType, findFlowStatesByStateGroup, getApproverMemberGroupName, getDescription, getEntity, getFlowTypeId, getFlowTypeIdInEntityType, getId, getIdentifier, getIdentifierInEntityType, getIdInEntityType, getStateGroupId, getStateGroupIdInEntityType, getStateName, getStateType, getStateTypeInEntityType, instantiateEntity, setApproverMemberGroupName, setFlowTypeId, setFlowTypeId, setId, setId, setIdentifier, setIdentifier, setInitKey_id, setStateGroupId, setStateGroupId, setStateName, setStateType, setStateType
      • 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

      • StateDataBean

        public StateDataBean()
        Constructs StateDataBean.
      • StateDataBean

        public StateDataBean(com.ibm.commerce.ubf.objects.FlowState o)
        Constructs StateDataBean.
        Parameters:
        o - javax.ejb.EJBObject
      • StateDataBean

        public StateDataBean(com.ibm.commerce.ubf.objects.FlowStateAccessBean anAccessBean)
        Constructs StateDataBean.
        Parameters:
        anAccessBean - com.ibm.commerce.ubf.objects.FlowStateAccessBean
        Throws:
        ECException
    • Method Detail

      • getCommandContext

        public com.ibm.commerce.command.CommandContext getCommandContext()
        Gets the active commandContext. Creation date: (5/22/01 11:23:15 AM)
        Specified by:
        getCommandContext in interface com.ibm.commerce.beans.SmartDataBean
        Returns:
        the active commandContext.
      • getRequestProperties

        public com.ibm.commerce.datatype.TypedProperty getRequestProperties()
        Gets the value of requestProperties; currently implemented to return null. Creation date: (5/22/01 2:49:26 PM)
        Specified by:
        getRequestProperties in interface com.ibm.commerce.beans.InputDataBean
        Returns:
        always null
      • getStateId

        public java.lang.Long getStateId()
        Gets the stateId field. Creation date: (5/22/01 5:06:28 PM)
        Specified by:
        getStateId in interface StateSmartDataBean
        Returns:
        the state id.
      • populate

        public void populate()
        Fetches field values from the access bean. Creation date: (5/22/01 2:25:09 PM)
        Specified by:
        populate in interface com.ibm.commerce.beans.SmartDataBean
        Throws:
        java.lang.Exception - On any access bean error.
      • setCommandContext

        public void setCommandContext(com.ibm.commerce.command.CommandContext newCommandContext)
        Sets the active commandContext. Creation date: (5/22/01 11:23:15 AM)
        Specified by:
        setCommandContext in interface com.ibm.commerce.beans.SmartDataBean
        Parameters:
        newCommandContext - the active command context.
      • setRequestProperties

        public void setRequestProperties(com.ibm.commerce.datatype.TypedProperty param)
        Currently does nothing. Creation date: (5/22/01 3:02:08 PM)
        Specified by:
        setRequestProperties in interface com.ibm.commerce.beans.InputDataBean
        Parameters:
        param - a TypedProperty that is ignored.
      • setStateByFlowTypeIdAndIdentifier

        public void setStateByFlowTypeIdAndIdentifier(java.lang.String newFlowTypeId,
                                                      java.lang.String newIdentifier)
        Sets the flowTypeId and identifier value. This method will find state information by flowTypeId and identifier.
        Specified by:
        setStateByFlowTypeIdAndIdentifier in interface StateInputDataBean
        Parameters:
        newFlowTypeId - relevant flowTypeId.
        newIdentifier - relevant identifier.
      • setStateByFlowTypeIdAndStateName

        public void setStateByFlowTypeIdAndStateName(java.lang.String newFlowTypeId,
                                                     java.lang.String newStateName)
        Sets the flowTypeId and stateName value. This method will find state information by flowTypeId and stateName.
        Specified by:
        setStateByFlowTypeIdAndStateName in interface StateInputDataBean
        Parameters:
        newFlowTypeId - relevant flowTypeId.
        newStateName - relevant stateName.
      • setStateId

        public void setStateId(java.lang.Long newStateId)
        Sets the stateId and uses the value to set a key field on the access bean. Creation date: (5/22/01 5:06:28 PM)
        Parameters:
        newStateId - relevant stateId.
      • setStateId

        public void setStateId(java.lang.String newStateId)
        Sets the stateId and uses the value to set a key field on the access bean. Creation date: (5/22/01 5:06:28 PM)
        Specified by:
        setStateId in interface StateInputDataBean
        Parameters:
        newStateId - relevant stateId.