Class ContentPermissionsExtractor
java.lang.Object
com.atlassian.confluence.impl.search.v2.extractor.ContentPermissionsExtractor
- All Implemented Interfaces:
Extractor2
Extracts the content permissions set on a searchable object.
If the searchable object is an attachment or comment extract the permissions
from the containing content object. At the moment, content permissions are only
set on Page
s. Hence, this class only
handles permissions for Page
objects.
- Since:
- 7.20
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionextractFields
(Object searchable) Extract fields from the searchable object.extractText
(Object searchable) Always returns an empty buffer.void
setInheritedContentPermissionManager
(InheritedContentPermissionManager inheritedContentPermissionManager)
-
Constructor Details
-
ContentPermissionsExtractor
public ContentPermissionsExtractor()
-
-
Method Details
-
extractText
Always returns an empty buffer.- Specified by:
extractText
in interfaceExtractor2
- Parameters:
searchable
- a searchable object- Returns:
- an empty buffer.
-
extractFields
Extract fields from the searchable object.- Specified by:
extractFields
in interfaceExtractor2
- Parameters:
searchable
- a searchable object- Returns:
- collection of fields extracted from the searchable object
-
setInheritedContentPermissionManager
public void setInheritedContentPermissionManager(InheritedContentPermissionManager inheritedContentPermissionManager)
-