com.atlassian.confluence.search.lucene.extractor
Class ContentPermissionsExtractor

java.lang.Object
  extended bycom.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 Pages. Hence this class only handles permissions for Page objects.


Field Summary
static org.apache.log4j.Category log
           
static String PERMISSION_SETS_FIELD
           
 
Constructor Summary
ContentPermissionsExtractor()
           
 
Method Summary
 void addFields(Document document, StringBuffer stringBuffer, Searchable searchable)
           
 void setContentPermissionManager(ContentPermissionManager contentPermissionManager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

public static final org.apache.log4j.Category log

PERMISSION_SETS_FIELD

public static final String PERMISSION_SETS_FIELD
See Also:
Constant Field Values
Constructor Detail

ContentPermissionsExtractor

public ContentPermissionsExtractor()
Method Detail

addFields

public void addFields(Document document,
                      StringBuffer stringBuffer,
                      Searchable searchable)
Specified by:
addFields in interface Extractor

setContentPermissionManager

public void setContentPermissionManager(ContentPermissionManager contentPermissionManager)


Confluence is developed by Atlassian.