Class NonViewableCustomContentTypeQuery
- java.lang.Object
-
- com.atlassian.confluence.search.v2.query.NonViewableCustomContentTypeQuery
-
- All Implemented Interfaces:
Expandable<SearchQuery>
,SearchQuery
public class NonViewableCustomContentTypeQuery extends Object implements SearchQuery
A V2SearchQuery
implementation which only finds viewable custom content types or non-custom content. Viewable means the user making the query has permissions to see the custom content type.- Since:
- 7.20
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
NonViewableCustomContentTypeQuery(NonViewableContentTypeSupplier nonViewableContentTypeSupplier)
NonViewableCustomContentTypeQuery(com.atlassian.plugin.PluginAccessor pluginAccessor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SearchQuery
expand()
Expands into aSearchQuery
which will not find custom content which is not viewable.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
-
-
-
-
Constructor Detail
-
NonViewableCustomContentTypeQuery
public NonViewableCustomContentTypeQuery(com.atlassian.plugin.PluginAccessor pluginAccessor)
-
NonViewableCustomContentTypeQuery
protected NonViewableCustomContentTypeQuery(NonViewableContentTypeSupplier nonViewableContentTypeSupplier)
-
-
Method Detail
-
expand
public SearchQuery expand()
Expands into aSearchQuery
which will not find custom content which is not viewable.- Specified by:
expand
in interfaceExpandable<SearchQuery>
- Specified by:
expand
in interfaceSearchQuery
- Returns:
- a query
-
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.
-
-