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 java.lang.Object implements org.aopalliance.intercept.MethodInterceptorAn interceptor that replaces files nodes with their equivalent translations according to the locale. It is to be used with theFileFolderService.- Since:
- 2.1
- Author:
- Derek Hulley
-
-
Constructor Summary
Constructors Constructor Description MLTranslationInterceptor()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectinvoke(org.aopalliance.intercept.MethodInvocation invocation)voidsetFileFolderService(FileFolderService fileFolderService)voidsetMultilingualContentService(MultilingualContentService multilingualContentService)voidsetNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
-
-
-
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:
invokein interfaceorg.aopalliance.intercept.MethodInterceptor- Throws:
java.lang.Throwable
-
-