Class EnabledCustomContentTypesQuery
- java.lang.Object
-
- com.atlassian.confluence.search.v2.query.EnabledCustomContentTypesQuery
-
- All Implemented Interfaces:
Expandable<SearchQuery>
,SearchQuery
public class EnabledCustomContentTypesQuery extends Object implements SearchQuery
A V2SearchQuery
implementation which only finds custom content which have been enabled, or non-custom content.- Since:
- 7.20
-
-
Constructor Summary
Constructors Modifier Constructor Description EnabledCustomContentTypesQuery(com.atlassian.plugin.PluginAccessor pluginAccessor)
protected
EnabledCustomContentTypesQuery(Supplier<Set<String>> enabledCustomContentTypeSupplier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SearchQuery
expand()
Expands this query into a composite query (that composes other queries).String
getKey()
List
getParameters()
List of parameters asString
s orSearchQuery
s.-
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.SearchQuery
getBoost, getSubClauses
-
-
-
-
Method Detail
-
getKey
public String getKey()
- Specified by:
getKey
in interfaceSearchQuery
- Returns:
- the plugin key
-
getParameters
public List getParameters()
Description copied from interface:SearchQuery
List of parameters asString
s orSearchQuery
s.- Specified by:
getParameters
in interfaceSearchQuery
- Returns:
String
s orSearchQuery
s.
-
expand
public SearchQuery expand()
Description copied from interface:SearchQuery
Expands 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:
expand
in interfaceExpandable<SearchQuery>
- Specified by:
expand
in interfaceSearchQuery
- Returns:
- a query
-
-