Class DeletingRetentionPolicyExtractor
java.lang.Object
com.atlassian.confluence.impl.search.v2.extractor.DeletingRetentionPolicyExtractor
- All Implemented Interfaces:
Extractor2
Extract 2 fields to tell whether a space retention policy may delete historical versions or trash.
- Since:
- 7.16.0
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Deprecated.static final String
Deprecated.since 7.20 useSearchFieldMappings.RETENTION_POLICY_DELETE_VERSION
instead. -
Constructor Summary
ConstructorDescriptionDeletingRetentionPolicyExtractor
(SpaceRetentionPolicyManager spaceRetentionPolicyManager) -
Method Summary
Modifier and TypeMethodDescriptionextractFields
(Object searchable) Extract fields from the searchable object.extractText
(Object searchable) Returns a buffer of text that will be appended onto the end of a larger buffer of text that will eventually become the searchable body text.
-
Field Details
-
SEARCH_FIELD_NAME_TRASH
Deprecated.since 7.20 useSearchFieldMappings.RETENTION_POLICY_DELETE_TRASH
instead. -
SEARCH_FIELD_NAME_VERSION
Deprecated.since 7.20 useSearchFieldMappings.RETENTION_POLICY_DELETE_VERSION
instead.
-
-
Constructor Details
-
DeletingRetentionPolicyExtractor
-
-
Method Details
-
extractText
Description copied from interface:Extractor2
Returns a buffer of text that will be appended onto the end of a larger buffer of text that will eventually become the searchable body text.- Specified by:
extractText
in interfaceExtractor2
- Parameters:
searchable
- a searchable object- Returns:
- Returns a buffer of text that will be appended onto the end of a larger buffer of text that will eventually become the searchable body text.
-
extractFields
Description copied from interface:Extractor2
Extract fields from the searchable object.- Specified by:
extractFields
in interfaceExtractor2
- Parameters:
searchable
- a searchable object- Returns:
- list of fields extracted from the searchable object
-
SearchFieldMappings.RETENTION_POLICY_DELETE_TRASH
instead.