org.alfresco.repo.avm.actions
Class SimpleAVMPromoteAction

java.lang.Object
  extended by org.alfresco.repo.action.CommonResourceAbstractBase
      extended by org.alfresco.repo.action.ParameterizedItemAbstractBase
          extended by org.alfresco.repo.action.executer.ActionExecuterAbstractBase
              extended by org.alfresco.repo.avm.actions.SimpleAVMPromoteAction
All Implemented Interfaces:
ActionExecuter, org.springframework.beans.factory.BeanNameAware

Deprecated.

public class SimpleAVMPromoteAction
extends ActionExecuterAbstractBase

An ActionExecuter that promotes content from one store to another. The NodeRef argument is in the source AVMStore. The 'target-store' mandatory argument is the name of the destination store.


Field Summary
static java.lang.String NAME
          Deprecated.  
static java.lang.String PARAM_TARGET_STORE
          Deprecated.  
 
Fields inherited from class org.alfresco.repo.action.executer.ActionExecuterAbstractBase
actionDefinition, applicableTypes, publicAction
 
Fields inherited from class org.alfresco.repo.action.ParameterizedItemAbstractBase
DISPLAY_LABEL, runtimeActionService
 
Fields inherited from class org.alfresco.repo.action.CommonResourceAbstractBase
name
 
Fields inherited from interface org.alfresco.repo.action.executer.ActionExecuter
PARAM_RESULT
 
Constructor Summary
SimpleAVMPromoteAction()
          Deprecated. Default constructor.
 
Method Summary
protected  void addParameterDefinitions(java.util.List paramList)
          Deprecated. Define needed parameters.
protected  void executeImpl(Action action, org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef)
          Deprecated. Do a promotion of an asset from one sandbox to another.
 void setAvmSyncService(AVMSyncService avmSyncService)
          Deprecated. Set the AVMSyncService instance.
 
Methods inherited from class org.alfresco.repo.action.executer.ActionExecuterAbstractBase
createActionDefinition, execute, getActionDefinition, getIgnoreLock, getQueueName, getTrackStatus, init, setApplicableTypes, setBaseNodeService, setIgnoreLock, setLockService, setPublicAction, setQueueName, setTrackStatus
 
Methods inherited from class org.alfresco.repo.action.ParameterizedItemAbstractBase
checkMandatoryProperties, getAdhocPropertiesAllowed, getDescriptionKey, getParamDisplayLabel, getParameterDefintions, getTitleKey, setRuntimeActionService, toString
 
Methods inherited from class org.alfresco.repo.action.CommonResourceAbstractBase
setBeanName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NAME

public static final java.lang.String NAME
Deprecated. 
See Also:
Constant Field Values

PARAM_TARGET_STORE

public static final java.lang.String PARAM_TARGET_STORE
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

SimpleAVMPromoteAction

public SimpleAVMPromoteAction()
Deprecated. 
Default constructor.

Method Detail

setAvmSyncService

public void setAvmSyncService(AVMSyncService avmSyncService)
Deprecated. 
Set the AVMSyncService instance.

Parameters:
avmSyncService -

executeImpl

protected void executeImpl(Action action,
                           org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef)
Deprecated. 
Do a promotion of an asset from one sandbox to another. Takes a mandatory parameter 'target-store' which is the name of the target AVMStore.

Specified by:
executeImpl in class ActionExecuterAbstractBase
Parameters:
action - The source of parameters.
actionedUponNodeRef - The source AVM NodeRef.

addParameterDefinitions

protected void addParameterDefinitions(java.util.List paramList)
Deprecated. 
Define needed parameters.

Specified by:
addParameterDefinitions in class ParameterizedItemAbstractBase
Parameters:
paramList - The List of ParameterDefinitions to add to.


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