org.alfresco.repo.model.filefolder
Class MLTranslationInterceptor

java.lang.Object
  extended by 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

Constructor Summary
MLTranslationInterceptor()
          Constructor.
 
Method Summary
 java.lang.Object invoke(org.aopalliance.intercept.MethodInvocation invocation)
           
 void setFileFolderService(FileFolderService fileFolderService)
           
 void setMultilingualContentService(MultilingualContentService multilingualContentService)
           
 void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.