org.alfresco.repo.node
Class NodeRefPropertyMethodInterceptor
java.lang.Object
org.alfresco.repo.node.NodeRefPropertyMethodInterceptor
- All Implemented Interfaces:
- org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor
public class NodeRefPropertyMethodInterceptor
- extends java.lang.Object
- implements org.aopalliance.intercept.MethodInterceptor
A method interceptor to clean up node ref properties as they are passed in and out of the node service. For
getProperty and getProperies calls invalid node refs are removed from the returned set (they appear to have be
cleaned up). For setProperty and setProperties calls invalid node refs are removed and thus not set. It only
considers properties of type d:noderef.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodeRefPropertyMethodInterceptor
public NodeRefPropertyMethodInterceptor()
isFilterOnGet
public boolean isFilterOnGet()
setFilterOnGet
public void setFilterOnGet(boolean filterOnGet)
isFilterOnSet
public boolean isFilterOnSet()
setFilterOnSet
public void setFilterOnSet(boolean filterOnSet)
setDictionaryService
public void setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
setNodeService
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
init
public void init()
invoke
public java.lang.Object invoke(org.aopalliance.intercept.MethodInvocation invocation)
throws java.lang.Throwable
- Specified by:
invoke
in interface org.aopalliance.intercept.MethodInterceptor
- Throws:
java.lang.Throwable
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.