Class 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
    Author:
    Derek Hulley
    See Also:
    ContentService.getReader(NodeRef, QName), FileFolderService.getReader(NodeRef)
    • Constructor Detail

      • MLContentInterceptor

        public MLContentInterceptor()
    • Method Detail

      • setNodeService

        public void setNodeService​(org.alfresco.service.cmr.repository.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