public class CachingInheritedContentPermissionManager extends Object implements InheritedContentPermissionManager, org.springframework.beans.factory.DisposableBean
Constructor and Description |
---|
CachingInheritedContentPermissionManager() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
ContentPermissionSetDao |
getContentPermissionSetDao() |
Class[] |
getHandledEventClasses() |
List<ContentPermissionSet> |
getInheritedContentPermissionSets(ContentEntityObject contentEntityObject) |
List<ContentPermissionSet> |
getInheritedContentPermissionSetsIncludeEdit(ContentEntityObject contentEntityObject) |
void |
handleEvent(ContentPermissionEvent contentPermEvent) |
void |
setCacheFactory(com.atlassian.cache.CacheFactory cacheFactory) |
void |
setContentPermissionSetDao(ContentPermissionSetDao contentPermissionSetDao) |
void |
setDefaultInheritedContentPermissionManager(InheritedContentPermissionManager defaultInheritedContentPermissionManager) |
void |
setEventListenerRegistrar(com.atlassian.event.api.EventListenerRegistrar eventListenerRegistrar) |
void |
setPageDao(PageDao pageDao) |
public CachingInheritedContentPermissionManager()
public List<ContentPermissionSet> getInheritedContentPermissionSets(ContentEntityObject contentEntityObject)
getInheritedContentPermissionSets
in interface InheritedContentPermissionManager
ContentPermissionSet
s of type
ContentPermission.VIEW_PERMISSION
of all ancestors of contentEntityObjectpublic List<ContentPermissionSet> getInheritedContentPermissionSetsIncludeEdit(ContentEntityObject contentEntityObject)
getInheritedContentPermissionSetsIncludeEdit
in interface InheritedContentPermissionManager
contentEntityObject
- content to get inherited permissions forContentPermission.EDIT_PERMISSION
@EventListener public void handleEvent(ContentPermissionEvent contentPermEvent)
public Class[] getHandledEventClasses()
public void setPageDao(PageDao pageDao)
public void setCacheFactory(com.atlassian.cache.CacheFactory cacheFactory)
public ContentPermissionSetDao getContentPermissionSetDao()
public void setContentPermissionSetDao(ContentPermissionSetDao contentPermissionSetDao)
public void setDefaultInheritedContentPermissionManager(InheritedContentPermissionManager defaultInheritedContentPermissionManager)
public void setEventListenerRegistrar(com.atlassian.event.api.EventListenerRegistrar eventListenerRegistrar)
Copyright © 2003–2015 Atlassian. All rights reserved.