com.atlassian.confluence.search.v2
Class AbstractChainableSearchFilter

java.lang.Object
  extended by com.atlassian.confluence.search.v2.AbstractChainableSearchFilter
All Implemented Interfaces:
SearchFilter
Direct Known Subclasses:
ArchivedSpacesSearchFilter, AuthorSearchFilter, ContentPermissionsSearchFilter, DeactivatedUserSearchFilter, ExcludePersonalInformationSearchFilter, ExternallyDeletedUserSearchFilter, InSpaceSearchFilter, LabelsSearchFilter, LastModifierSearchFilter, SearchResultTypeSearchFilter, SiteSearchPermissionsSearchFilter, SpacePermissionsSearchFilter, ViewUserProfilePermissionsSearchFilter

public abstract class AbstractChainableSearchFilter
extends Object
implements SearchFilter

A super class that defines standard AND and OR chaining behaviour.


Constructor Summary
AbstractChainableSearchFilter()
           
 
Method Summary
 SearchFilter and(SearchFilter other)
          Combines this filter with the one specified, returning a new filter.
 SearchFilter or(SearchFilter other)
          Combines this filter with the one specified, returning a new filter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.confluence.search.v2.SearchFilter
getKey
 

Constructor Detail

AbstractChainableSearchFilter

public AbstractChainableSearchFilter()
Method Detail

and

public SearchFilter and(SearchFilter other)
Description copied from interface: SearchFilter
Combines this filter with the one specified, returning a new filter. To pass the new filter, matches to both the original filters are required.

Specified by:
and in interface SearchFilter
Parameters:
other - the other filter.
Returns:
a new filter

or

public SearchFilter or(SearchFilter other)
Description copied from interface: SearchFilter
Combines this filter with the one specified, returning a new filter. To pass the new filter, there must be a match in at least one of the original filters.

Specified by:
or in interface SearchFilter
Parameters:
other - the other filter
Returns:
a new filter


Copyright © 2003-2013 Atlassian. All Rights Reserved.