public class

ContentPermissionsExtractor

extends Object
implements Extractor
java.lang.Object
   ↳ com.atlassian.confluence.search.lucene.extractor.ContentPermissionsExtractor

Class Overview

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.

Summary

Constants
String PERMISSION_SETS_FIELD
Public Constructors
ContentPermissionsExtractor()
Public Methods
void addFields(Document document, StringBuffer stringBuffer, Searchable searchable)
void setInheritedContentPermissionManager(InheritedContentPermissionManager inheritedContentPermissionManager)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.bonnie.search.Extractor

Constants

public static final String PERMISSION_SETS_FIELD

Constant Value: "permissionSets"

Public Constructors

public ContentPermissionsExtractor ()

Public Methods

public void addFields (Document document, StringBuffer stringBuffer, Searchable searchable)

public void setInheritedContentPermissionManager (InheritedContentPermissionManager inheritedContentPermissionManager)