Package org.alfresco.repo.node
Class ContentPropertyRestrictionInterceptor
- java.lang.Object
-
- org.alfresco.repo.node.ContentPropertyRestrictionInterceptor
-
- All Implemented Interfaces:
org.aopalliance.aop.Advice,org.aopalliance.intercept.Interceptor,org.aopalliance.intercept.MethodInterceptor
public class ContentPropertyRestrictionInterceptor extends Object implements org.aopalliance.intercept.MethodInterceptor
Interceptor that enforces restrictions on updates of properties of type content (cm:content and alike) on NodeService. Can be configured by using global enabled flag -contentPropertyRestrictions.enabled, or comma separated white list of callerscontentPropertyRestrictions.whitelist, which can be either packages or fully qualified class names.- Author:
- Alex Mukha, David Edwards
-
-
Constructor Summary
Constructors Constructor Description ContentPropertyRestrictionInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectinvoke(org.aopalliance.intercept.MethodInvocation invocation)voidsetDictionaryService(DictionaryService dictionaryService)voidsetGlobalContentPropertyRestrictions(boolean globalContentPropertyRestrictions)voidsetGlobalContentPropertyRestrictionWhiteList(String whitelist)voidsetNodeService(NodeService nodeService)
-
-
-
Method Detail
-
setDictionaryService
public void setDictionaryService(DictionaryService dictionaryService)
-
setGlobalContentPropertyRestrictions
public void setGlobalContentPropertyRestrictions(boolean globalContentPropertyRestrictions)
-
setGlobalContentPropertyRestrictionWhiteList
public void setGlobalContentPropertyRestrictionWhiteList(String whitelist)
-
setNodeService
public void setNodeService(NodeService nodeService)
-
-