com.ibm.commerce.tools.contract.beans
Class ContractSearchCriteriaDataBean

java.lang.Object
  |
  +--com.ibm.commerce.tools.contract.beans.ContractSearchCriteriaDataBean
All Implemented Interfaces:
DataBean, InputDataBean, SearchDialogCriteriaBean, java.io.Serializable, SmartDataBean

public class ContractSearchCriteriaDataBean
extends java.lang.Object
implements SearchDialogCriteriaBean

Provides data for drop-down lists for contract, distributor, and hosted stores finder pages.

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.ibm.commerce.tools.common.ui. SearchDialogCriteriaBean
COPYRIGHT
 
Fields inherited from interface com.ibm.commerce.beans. DataBean
emptyString
 
Constructor Summary
ContractSearchCriteriaDataBean()
           
 
Method Summary
  CommandContext getCommandContext()
          Returns the current command's context
  OrderedHashtable getDistributorStatus()
          Retrieve list of states for distributor finder
  TypedProperty getRequestProperties()
          Get the request properties
  OrderedHashtable getResellerStatus()
          Retrieve list of states for hosted reseller finder
  OrderedHashtable getStatus()
          Retrieve list of status for contract finder
 void populate()
          Retreive the data for the contract finder This method does nothing because we do not want to load all of the data at one time.
 void setCommandContext( CommandContext cc)
          Set the command context
 void setRequestProperties( TypedProperty reqProp)
          Set the request properties.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContractSearchCriteriaDataBean

public ContractSearchCriteriaDataBean()
Method Detail

getCommandContext

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

setCommandContext

public void setCommandContext(CommandContext cc)
Set the command context
Specified by:
setCommandContext in interface SmartDataBean
Parameters:
cc - The command context..

getRequestProperties

public TypedProperty getRequestProperties()
Get the request properties
Specified by:
getRequestProperties in interface InputDataBean
Returns:
null

setRequestProperties

public void setRequestProperties(TypedProperty reqProp)
Set the request properties.
Specified by:
setRequestProperties in interface InputDataBean

populate

public void populate()
Retreive 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 load the necessary data.
Specified by:
populate in interface SmartDataBean
Throws:
java.lang.Exception

getStatus

public OrderedHashtable getStatus()
Retrieve list of status for contract finder
Returns:
OrderedHashtable

getDistributorStatus

public OrderedHashtable getDistributorStatus()
Retrieve list of states for distributor finder
Returns:
OrderedHashtable

getResellerStatus

public OrderedHashtable getResellerStatus()
Retrieve list of states for hosted reseller finder
Returns:
OrderedHashtable