Class MLTranslationInterceptor

java.lang.Object
org.alfresco.repo.model.filefolder.MLTranslationInterceptor
All Implemented Interfaces:
org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor

public class MLTranslationInterceptor extends 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 Details

    • MLTranslationInterceptor

      public MLTranslationInterceptor()
      Constructor.
  • Method Details

    • setNodeService

      public void setNodeService(NodeService nodeService)
    • setMultilingualContentService

      public void setMultilingualContentService(MultilingualContentService multilingualContentService)
    • setFileFolderService

      public void setFileFolderService(FileFolderService fileFolderService)
    • invoke

      public Object invoke(org.aopalliance.intercept.MethodInvocation invocation) throws Throwable
      Specified by:
      invoke in interface org.aopalliance.intercept.MethodInterceptor
      Throws:
      Throwable