com.arsdigita.search.ui.filters
Class ObjectTypeFilterComponent
java.lang.Object
com.arsdigita.bebop.Completable
com.arsdigita.bebop.SimpleComponent
com.arsdigita.search.ui.StaticFilterComponent
com.arsdigita.search.ui.filters.ObjectTypeFilterComponent
- All Implemented Interfaces:
- Cloneable, Component, FilterGenerator, Lockable
- public class ObjectTypeFilterComponent
- extends StaticFilterComponent
A simple filter generator that restricts to a
specified set of object types
Methods inherited from class com.arsdigita.bebop.SimpleComponent |
children, clone, exportAttributes, generateXML, getAttribute, getClassAttr, getIdAttr, getKey, getMetaDataAttribute, getStyleAttr, hasAttributes, isLocked, isVisible, lock, register, register, respond, setAttribute, setClassAttr, setIdAttr, setKey, setMetaDataAttribute, setStyleAttr, setVisible |
ObjectTypeFilterComponent
public ObjectTypeFilterComponent(String type)
- Creates a filter generator restricting to a single
object type
- Parameters:
type
- the object type name
ObjectTypeFilterComponent
public ObjectTypeFilterComponent(String[] types)
- Creates a filter generator restricting to a single
object type
- Parameters:
types
- the list of object type names
getFilter
public FilterSpecification getFilter(PageState state)
- Description copied from interface:
FilterGenerator
- Returns the current filter specification
- Returns:
- a filter specification
Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2337 UTC