com.atlassian.confluence.search.lucene.extractor
Class ContentPermissionsExtractor
java.lang.Object
com.atlassian.confluence.search.lucene.extractor.ContentPermissionsExtractor
- All Implemented Interfaces:
- Extractor
public class ContentPermissionsExtractor
- extends Object
- implements Extractor
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
public static final org.apache.log4j.Category log
PERMISSION_SETS_FIELD
public static final String PERMISSION_SETS_FIELD
- See Also:
- Constant Field Values
ContentPermissionsExtractor
public ContentPermissionsExtractor()
addFields
public void addFields(org.apache.lucene.document.Document document,
StringBuffer stringBuffer,
Searchable searchable)
- Specified by:
addFields
in interface Extractor
setContentPermissionManager
public void setContentPermissionManager(ContentPermissionManager contentPermissionManager)