com.atlassian.confluence.core
Class CachingInheritedContentPermissionManager

java.lang.Object
  extended by com.atlassian.confluence.core.CachingInheritedContentPermissionManager
All Implemented Interfaces:
InheritedContentPermissionManager, org.springframework.beans.factory.DisposableBean

public class CachingInheritedContentPermissionManager
extends java.lang.Object
implements InheritedContentPermissionManager, org.springframework.beans.factory.DisposableBean


Constructor Summary
CachingInheritedContentPermissionManager()
           
 
Method Summary
 void destroy()
           
 ContentPermissionSetDao getContentPermissionSetDao()
           
 java.lang.Class[] getHandledEventClasses()
           
 java.util.List<ContentPermissionSet> getInheritedContentPermissionSets(ContentEntityObject contentEntityObject)
           
 void handleEvent(ContentPermissionEvent contentPermEvent)
           
 void setCacheFactory(com.atlassian.cache.CacheFactory cacheFactory)
           
 void setContentPermissionSetDao(ContentPermissionSetDao contentPermissionSetDao)
           
 void setDefaultInheritedContentPermissionManager(InheritedContentPermissionManager defaultInheritedContentPermissionManager)
           
 void setPageDao(PageDao pageDao)
           
 void setPluginEventManager(com.atlassian.plugin.event.PluginEventManager pluginEventManager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CachingInheritedContentPermissionManager

public CachingInheritedContentPermissionManager()
Method Detail

getInheritedContentPermissionSets

public java.util.List<ContentPermissionSet> getInheritedContentPermissionSets(ContentEntityObject contentEntityObject)
Specified by:
getInheritedContentPermissionSets in interface InheritedContentPermissionManager
Returns:
a list of ContentPermissionSets of type ContentPermission.VIEW_PERMISSION of all ancestors of contentEntityObject

handleEvent

@EventListener
public void handleEvent(ContentPermissionEvent contentPermEvent)

getHandledEventClasses

public java.lang.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 java.lang.Exception
Specified by:
destroy in interface org.springframework.beans.factory.DisposableBean
Throws:
java.lang.Exception


Copyright © 2003-2014 Atlassian. All Rights Reserved.