org.alfresco.repo.model.ml
Class MLContentInterceptor

java.lang.Object
  extended by org.alfresco.repo.model.ml.MLContentInterceptor
All Implemented Interfaces:
org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor

public class MLContentInterceptor
extends java.lang.Object
implements org.aopalliance.intercept.MethodInterceptor

Replaces content readers according to the empty translation status.

Since:
2.1
See Also:
ContentService.getReader(NodeRef, QName), FileFolderService.getReader(NodeRef)

Constructor Summary
MLContentInterceptor()
           
 
Method Summary
 java.lang.Object invoke(org.aopalliance.intercept.MethodInvocation invocation)
           
 void setContentService(ContentService directContentService)
           
 void setMultilingualContentService(MultilingualContentService directMultilingualContentService)
           
 void setNodeService(NodeService bean)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MLContentInterceptor

public MLContentInterceptor()
Method Detail

setNodeService

public void setNodeService(NodeService bean)

setContentService

public void setContentService(ContentService directContentService)

setMultilingualContentService

public void setMultilingualContentService(MultilingualContentService directMultilingualContentService)

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.