com.atlassian.confluence.core
Class CachingInheritedContentPermissionManager
java.lang.Object
com.atlassian.confluence.core.CachingInheritedContentPermissionManager
- All Implemented Interfaces:
- InheritedContentPermissionManager, org.springframework.beans.factory.DisposableBean
public class CachingInheritedContentPermissionManager
- extends Object
- implements InheritedContentPermissionManager, org.springframework.beans.factory.DisposableBean
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CachingInheritedContentPermissionManager
public CachingInheritedContentPermissionManager()
getInheritedContentPermissionSets
public List<ContentPermissionSet> getInheritedContentPermissionSets(ContentEntityObject contentEntityObject)
- Specified by:
getInheritedContentPermissionSets
in interface InheritedContentPermissionManager
- Returns:
- a list of
ContentPermissionSet
s of type
ContentPermission.VIEW_PERMISSION
of all ancestors of contentEntityObject
handleEvent
@EventListener
public void handleEvent(ContentPermissionEvent contentPermEvent)
getHandledEventClasses
public Class[] getHandledEventClasses()
setPageDao
public void setPageDao(PageDao pageDao)
setCacheFactory
public void setCacheFactory(com.atlassian.cache.CacheFactory cacheFactory)
getContentPermissionSetDao
public ContentPermissionSetDao getContentPermissionSetDao()
setContentPermissionSetDao
public void setContentPermissionSetDao(ContentPermissionSetDao contentPermissionSetDao)
setDefaultInheritedContentPermissionManager
public void setDefaultInheritedContentPermissionManager(InheritedContentPermissionManager defaultInheritedContentPermissionManager)
setPluginEventManager
public void setPluginEventManager(com.atlassian.plugin.event.PluginEventManager pluginEventManager)
destroy
public void destroy()
throws Exception
- Specified by:
destroy
in interface org.springframework.beans.factory.DisposableBean
- Throws:
Exception