***  This class is subject to change   ***

com.sas.dataselectors.filters
Class AbstractFilterItemListBase

java.lang.Object
  |
  +--com.sas.dataselectors.filters.AbstractFilterItemListBase
All Implemented Interfaces:
FilterItemListInterface, FilterItemLookupInterface
Direct Known Subclasses:
BusinessQueryToFilterItemListAdapter, InformationMapToFilterItemListAdapter

public abstract class AbstractFilterItemListBase
extends java.lang.Object
implements FilterItemListInterface, FilterItemLookupInterface

The AbstractFilterItemListBase provides the basic components for a listing of filter items in the filter model. FilterItemInterface objects are the first part of any filter in the model and derivatives of this class will provide access to them.


Constructor Summary
AbstractFilterItemListBase()
           
 
Method Summary
 List getFilterItemList()
          Returns the list of filter items.
 String getFilterItemListLabel()
          Returns the label that can be used to identify the list of filter items.
protected  Map getFilterItemLookupMap()
          Returns the complete lookup table that provides the mapping between native model objects and filter model objects.
 FilterItemInterface lookupFilterItem(Object filterItemObject)
          Lookup and return a FilterItemInterface for a given FilterItem object.
protected  void setFilterItemList(List listOfItems)
          Sets the list of filter items.
 void setFilterItemListLabel(String label)
          Sets the label that can be used to identify the list of filter items.
protected  void setFilterItemLookupMap(Map newMap)
          Directly sets the lookup table mapping native objects to their corresponding filter model objects.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractFilterItemListBase

public AbstractFilterItemListBase()
Method Detail

lookupFilterItem

public FilterItemInterface lookupFilterItem(Object filterItemObject)
Lookup and return a FilterItemInterface for a given FilterItem object.
Specified by:
lookupFilterItem in interface FilterItemLookupInterface
Parameters:
filterItemObject - the object to find a filter item for
Returns:
the filter item associated w/ the search object or null if none was found

getFilterItemList

public List getFilterItemList()
Returns the list of filter items.
Specified by:
getFilterItemList in interface FilterItemListInterface
Returns:
the list of filter items
See Also:
FilterItemListInterface

getFilterItemListLabel

public String getFilterItemListLabel()
Returns the label that can be used to identify the list of filter items.
Specified by:
getFilterItemListLabel in interface FilterItemListInterface
Returns:
the label for the list
See Also:
FilterItemListInterface

setFilterItemListLabel

public void setFilterItemListLabel(String label)
Sets the label that can be used to identify the list of filter items.
Parameters:
label - the new label for the list

setFilterItemLookupMap

protected void setFilterItemLookupMap(Map newMap)
Directly sets the lookup table mapping native objects to their corresponding filter model objects.
Parameters:
newMap - the new lookup table

getFilterItemLookupMap

protected Map getFilterItemLookupMap()
Returns the complete lookup table that provides the mapping between native model objects and filter model objects.
Returns:
the lookup table

setFilterItemList

protected void setFilterItemList(List listOfItems)
Sets the list of filter items.
Parameters:
listOfItems - the new list of filter items

***  This class is subject to change   ***




Copyright © 2005 SAS Institute Inc. All Rights Reserved.
javadoc generated Thu, 16 Feb 2006 01:55:38