com.ibm.commerce.tools.contract.beans

Class ContractSearchCriteriaDataBean

  • java.lang.Object
    • com.ibm.commerce.tools.contract.beans.ContractSearchCriteriaDataBean
  • All Implemented Interfaces:
    com.ibm.commerce.beans.DataBean, com.ibm.commerce.beans.InputDataBean, com.ibm.commerce.beans.SmartDataBean, com.ibm.commerce.tools.common.ui.SearchDialogCriteriaBean, java.io.Serializable


    public class ContractSearchCriteriaDataBean
    extends java.lang.Object
    implements com.ibm.commerce.tools.common.ui.SearchDialogCriteriaBean
    This data bean represents a Contract Search Criteria object. Provides data for drop-down lists for contract, distributor, and hosted stores finder pages. When retrieving list of states for finder, the data bean will be called.
    See Also:
    Serialized Form
    • Field Summary

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

        emptyString
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      com.ibm.commerce.command.CommandContext getCommandContext()
      Returns the current command's context
      com.ibm.commerce.tools.util.OrderedHashtable getDistributorStatus()
      Retrieves list of states for distributor finder
      com.ibm.commerce.datatype.TypedProperty getRequestProperties()
      Gets the request properties
      com.ibm.commerce.tools.util.OrderedHashtable getResellerStatus()
      Retrieves list of states for hosted reseller finder
      com.ibm.commerce.tools.util.OrderedHashtable getStatus()
      Retrieves list of status for contract finder
      void populate()
      This method is used to retrieve the data for the contract finder.
      void setCommandContext(com.ibm.commerce.command.CommandContext cc)
      Sets the command context
      void setRequestProperties(com.ibm.commerce.datatype.TypedProperty reqProp)
      Sets the request properties.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ContractSearchCriteriaDataBean

        public ContractSearchCriteriaDataBean()
    • Method Detail

      • getCommandContext

        public com.ibm.commerce.command.CommandContext getCommandContext()
        Returns the current command's context
        Specified by:
        getCommandContext in interface com.ibm.commerce.beans.SmartDataBean
        Returns:
        com.ibm.commerce.command.CommandContext
      • getDistributorStatus

        public com.ibm.commerce.tools.util.OrderedHashtable getDistributorStatus()
        Retrieves list of states for distributor finder
        Returns:
        OrderedHashtable
      • getRequestProperties

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

        public com.ibm.commerce.tools.util.OrderedHashtable getResellerStatus()
        Retrieves list of states for hosted reseller finder
        Returns:
        OrderedHashtable
      • getStatus

        public com.ibm.commerce.tools.util.OrderedHashtable getStatus()
        Retrieves list of status for contract finder
        Returns:
        OrderedHashtable
      • populate

        public void populate()
        This method is used to retrieve the data for the contract finder. This method does nothing because we do not want to load all of the data at one time. Each method loads the necessary data. Loads data into the data bean when the DataBeanManager.activate() runs.
        Specified by:
        populate in interface com.ibm.commerce.beans.SmartDataBean
      • setCommandContext

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

        public void setRequestProperties(com.ibm.commerce.datatype.TypedProperty reqProp)
        Sets the request properties.
        Specified by:
        setRequestProperties in interface com.ibm.commerce.beans.InputDataBean
        Parameters:
        reqProp - com.ibm.commerce.datatype.TypedProperty