Class ArchivedSpacesQuery
- java.lang.Object
-
- com.atlassian.confluence.search.v2.query.ArchivedSpacesQuery
-
- All Implemented Interfaces:
Expandable<SearchQuery>,SearchQuery
public class ArchivedSpacesQuery extends Object implements SearchQuery
Filters archived spaces (and their contents) out of search results. Can be inverted to only include archived spaces.- Since:
- 7.20
-
-
Field Summary
Fields Modifier and Type Field Description static StringKEY-
Fields inherited from interface com.atlassian.confluence.search.v2.SearchQuery
DEFAULT_BOOST
-
-
Constructor Summary
Constructors Constructor Description ArchivedSpacesQuery(boolean inverse, SpaceManager spaceManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)SearchQueryexpand()Expands this query into a composite query (that composes other queries).StringgetKey()ListgetParameters()List of parameters asStrings orSearchQuerys.inthashCode()booleanisInverse()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.atlassian.confluence.search.v2.SearchQuery
getBoost, getSubClauses
-
-
-
-
Field Detail
-
KEY
public static final String KEY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ArchivedSpacesQuery
public ArchivedSpacesQuery(boolean inverse, SpaceManager spaceManager)
-
-
Method Detail
-
getKey
public String getKey()
- Specified by:
getKeyin interfaceSearchQuery- Returns:
- the plugin key
-
getParameters
public List getParameters()
Description copied from interface:SearchQueryList of parameters asStrings orSearchQuerys.- Specified by:
getParametersin interfaceSearchQuery- Returns:
Strings orSearchQuerys.
-
expand
public SearchQuery expand()
Description copied from interface:SearchQueryExpands this query into a composite query (that composes other queries). By overriding this method, one can specify a new query that is composition of the behaviour of the composed queries.- Specified by:
expandin interfaceExpandable<SearchQuery>- Specified by:
expandin interfaceSearchQuery- Returns:
- a query
-
isInverse
public boolean isInverse()
-
-