com.atlassian.confluence.search.lucene.extractor
Class ContentPermissionsExtractor
java.lang.Object
com.atlassian.confluence.search.lucene.extractor.ContentPermissionsExtractor
- All Implemented Interfaces:
- com.atlassian.bonnie.search.Extractor
public class ContentPermissionsExtractor
- extends java.lang.Object
- implements com.atlassian.bonnie.search.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 |
PERMISSION_SETS_FIELD
public static final java.lang.String PERMISSION_SETS_FIELD
- See Also:
- Constant Field Values
ContentPermissionsExtractor
public ContentPermissionsExtractor()
addFields
public void addFields(org.apache.lucene.document.Document document,
java.lang.StringBuffer stringBuffer,
com.atlassian.bonnie.Searchable searchable)
- Specified by:
addFields
in interface com.atlassian.bonnie.search.Extractor
setInheritedContentPermissionManager
public void setInheritedContentPermissionManager(InheritedContentPermissionManager inheritedContentPermissionManager)
Copyright © 2003-2014 Atlassian. All Rights Reserved.