org.alfresco.repo.model.filefolder
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.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MLTranslationInterceptor
public MLTranslationInterceptor()
- Constructor.
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
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.