Class MLTranslationInterceptor

  • All Implemented Interfaces:
    org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor

    public class MLTranslationInterceptor
    extends java.lang.Object
    implements org.aopalliance.intercept.MethodInterceptor
    An interceptor that replaces files nodes with their equivalent translations according to the locale. It is to be used with the FileFolderService.
    Since:
    2.1
    Author:
    Derek Hulley
    • Constructor Detail

      • MLTranslationInterceptor

        public MLTranslationInterceptor()
        Constructor.
    • Method Detail

      • setNodeService

        public void setNodeService​(org.alfresco.service.cmr.repository.NodeService nodeService)
      • setMultilingualContentService

        public void setMultilingualContentService​(MultilingualContentService multilingualContentService)
      • setFileFolderService

        public void setFileFolderService​(FileFolderService fileFolderService)
      • 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