|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.arsdigita.search.FilterSpecification
com.arsdigita.cms.search.ContentTypeFilterSpecification
A filter spec for supplying a list of content types to the content type filter type.
Field Summary | |
static String |
TYPES
|
Constructor Summary | |
ContentTypeFilterSpecification(ContentType type)
Creates a new filter restricting results to a single content type. |
|
ContentTypeFilterSpecification(ContentType[] types)
Creates a new filter restricting results to a set content type. |
|
ContentTypeFilterSpecification(String typeName)
Creates a new filter restricting results to a single content type. |
|
ContentTypeFilterSpecification(String[] typeNames)
Creates a new filter restricting results to a set content types. |
Method Summary | |
ContentType[] |
getTypes()
Returns the set of object types to filter on |
Methods inherited from class com.arsdigita.search.FilterSpecification |
equals, get, getType, hashCode, set |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String TYPES
Constructor Detail |
public ContentTypeFilterSpecification(String typeName)
typeName
- the content type namepublic ContentTypeFilterSpecification(String[] typeNames)
public ContentTypeFilterSpecification(ContentType type)
type
- the content typepublic ContentTypeFilterSpecification(ContentType[] types)
Method Detail |
public ContentType[] getTypes()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |