Class RetentionPolicyFieldHandler
- java.lang.Object
-
- com.atlassian.querylang.fields.BaseFieldHandler
-
- com.atlassian.confluence.plugins.retentionrules.impl.RetentionPolicyFieldHandler
-
- All Implemented Interfaces:
com.atlassian.querylang.fields.EqualityFieldHandler<String,com.atlassian.confluence.plugins.cql.spi.v2searchhelpers.V2SearchQueryWrapper>
,com.atlassian.querylang.fields.FieldHandler
,com.atlassian.querylang.fields.SubfieldHandlerProvider
public class RetentionPolicyFieldHandler extends com.atlassian.querylang.fields.BaseFieldHandler implements com.atlassian.querylang.fields.EqualityFieldHandler<String,com.atlassian.confluence.plugins.cql.spi.v2searchhelpers.V2SearchQueryWrapper>
A Field handler for a space retention policy. The equality expression allows for spaces with retention policies to be filtered, e.g. rest/api/search?cql=(type=space and retentionPolicy=true)- Since:
- 7.14
-
-
Field Summary
Fields Modifier and Type Field Description static String
CQL_FIELD_NAME
-
Constructor Summary
Constructors Constructor Description RetentionPolicyFieldHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.atlassian.confluence.plugins.cql.spi.v2searchhelpers.V2SearchQueryWrapper
build(com.atlassian.querylang.fields.expressiondata.EqualityExpressionData equalityExpressionData, String value)
com.atlassian.confluence.plugins.cql.spi.v2searchhelpers.V2SearchQueryWrapper
build(com.atlassian.querylang.fields.expressiondata.SetExpressionData expressionData, Iterable<String> values)
-
Methods inherited from class com.atlassian.querylang.fields.BaseFieldHandler
buildOrder, fieldName, getFieldMetaData, getSubfieldHandlers, isOrderSupported, toString, validateSupportedOp
-
-
-
-
Field Detail
-
CQL_FIELD_NAME
public static final String CQL_FIELD_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
build
public com.atlassian.confluence.plugins.cql.spi.v2searchhelpers.V2SearchQueryWrapper build(com.atlassian.querylang.fields.expressiondata.SetExpressionData expressionData, Iterable<String> values)
- Specified by:
build
in interfacecom.atlassian.querylang.fields.EqualityFieldHandler<String,com.atlassian.confluence.plugins.cql.spi.v2searchhelpers.V2SearchQueryWrapper>
-
build
public com.atlassian.confluence.plugins.cql.spi.v2searchhelpers.V2SearchQueryWrapper build(com.atlassian.querylang.fields.expressiondata.EqualityExpressionData equalityExpressionData, String value)
- Specified by:
build
in interfacecom.atlassian.querylang.fields.EqualityFieldHandler<String,com.atlassian.confluence.plugins.cql.spi.v2searchhelpers.V2SearchQueryWrapper>
-
-