com.arsdigita.search.ui.filters
Class ObjectTypeFilterComponent

java.lang.Object
  extended bycom.arsdigita.bebop.Completable
      extended bycom.arsdigita.bebop.SimpleComponent
          extended bycom.arsdigita.search.ui.StaticFilterComponent
              extended bycom.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


Field Summary
 
Fields inherited from class com.arsdigita.bebop.SimpleComponent
m_attr, versionId
 
Fields inherited from interface com.arsdigita.bebop.Component
BEBOP_XML_NS, CLASS, ID, ON_CLICK, STYLE
 
Constructor Summary
ObjectTypeFilterComponent(String type)
          Creates a filter generator restricting to a single object type
ObjectTypeFilterComponent(String[] types)
          Creates a filter generator restricting to a single object type
 
Method Summary
 FilterSpecification getFilter(PageState state)
          Returns the current filter specification
 
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
 
Methods inherited from class com.arsdigita.bebop.Completable
addCompletionListener, fireCompletionEvent
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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
Method Detail

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