com.atlassian.confluence.core
Class CachingInheritedContentPermissionManager

java.lang.Object
  extended by com.atlassian.confluence.core.CachingInheritedContentPermissionManager
All Implemented Interfaces:
InheritedContentPermissionManager, com.atlassian.event.EventListener

public class CachingInheritedContentPermissionManager
extends java.lang.Object
implements InheritedContentPermissionManager, com.atlassian.event.EventListener


Constructor Summary
CachingInheritedContentPermissionManager()
           
 
Method Summary
 ContentPermissionSetDao getContentPermissionSetDao()
           
 java.lang.Class[] getHandledEventClasses()
           
 java.util.List getInheritedContentPermissionSets(ContentEntityObject contentEntityObject)
           
 void handleEvent(com.atlassian.event.Event event)
           
 void setCacheFactory(com.atlassian.cache.CacheFactory cacheFactory)
           
 void setContentPermissionSetDao(ContentPermissionSetDao contentPermissionSetDao)
           
 void setDefaultInheritedContentPermissionManager(InheritedContentPermissionManager defaultInheritedContentPermissionManager)
           
 void setPageDao(PageDao pageDao)
           
 
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 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

public void handleEvent(com.atlassian.event.Event event)
Specified by:
handleEvent in interface com.atlassian.event.EventListener

getHandledEventClasses

public java.lang.Class[] getHandledEventClasses()
Specified by:
getHandledEventClasses in interface com.atlassian.event.EventListener

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)


Copyright © 2003-2010 Atlassian. All Rights Reserved.