Package org.alfresco.repo.download
Class LocalActionServiceHelper
- java.lang.Object
-
- org.alfresco.repo.download.LocalActionServiceHelper
-
- All Implemented Interfaces:
ActionServiceHelper,org.springframework.beans.factory.InitializingBean
public class LocalActionServiceHelper extends java.lang.Object implements org.springframework.beans.factory.InitializingBean, ActionServiceHelper
Implementation ofActionServiceHelperwhich schedules the zip creation process to run in the same alfresco node as the caller.- Author:
- Alex Miller
-
-
Constructor Summary
Constructors Constructor Description LocalActionServiceHelper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()voidexecuteAction(org.alfresco.service.cmr.repository.NodeRef downloadNode)Implementations should trigger the CreateDownloadArchiveAction on the provided downloadNodevoidsetLocalActionService(ActionService localActionService)
-
-
-
Method Detail
-
setLocalActionService
public void setLocalActionService(ActionService localActionService)
-
executeAction
public void executeAction(org.alfresco.service.cmr.repository.NodeRef downloadNode)
Description copied from interface:ActionServiceHelperImplementations should trigger the CreateDownloadArchiveAction on the provided downloadNode- Specified by:
executeActionin interfaceActionServiceHelper- Parameters:
downloadNode- NodeRef
-
afterPropertiesSet
public void afterPropertiesSet() throws java.lang.Exception- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
java.lang.Exception
-
-