org.alfresco.wcm.actions
Class WCMSandboxUndoAction
java.lang.Object
org.alfresco.repo.action.CommonResourceAbstractBase
org.alfresco.repo.action.ParameterizedItemAbstractBase
org.alfresco.repo.action.executer.ActionExecuterAbstractBase
org.alfresco.wcm.actions.WCMSandboxUndoAction
- All Implemented Interfaces:
- ActionExecuter, org.springframework.beans.factory.BeanNameAware
public class WCMSandboxUndoAction
- extends ActionExecuterAbstractBase
WCM Undo example action (supercedes AVMUndoSandboxListAction)
Undo (ie. throw away) changed assets in a user sandbox - either all or a list
The actionedUponNodeRef is a dummy and can be null.
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
PARAM_PATH_LIST
public static final java.lang.String PARAM_PATH_LIST
- See Also:
- Constant Field Values
PARAM_SANDBOX_ID
public static final java.lang.String PARAM_SANDBOX_ID
- See Also:
- Constant Field Values
WCMSandboxUndoAction
public WCMSandboxUndoAction()
setSandboxService
public void setSandboxService(SandboxService sbService)
executeImpl
protected void executeImpl(Action action,
org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef)
- Description copied from class:
ActionExecuterAbstractBase
- Execute the action implementation
- Specified by:
executeImpl
in class ActionExecuterAbstractBase
- Parameters:
action
- the actionactionedUponNodeRef
- the actioned upon node
addParameterDefinitions
protected void addParameterDefinitions(java.util.List paramList)
- Description copied from class:
ParameterizedItemAbstractBase
- Adds the parameter definitions to the list
- Specified by:
addParameterDefinitions
in class ParameterizedItemAbstractBase
- Parameters:
paramList
- the parameter definitions list
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.