org.alfresco.repo.publishing
Class PublishEventAction

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.publishing.PublishEventAction
All Implemented Interfaces:
ActionExecuter, org.springframework.beans.factory.BeanNameAware

public class PublishEventAction
extends ActionExecuterAbstractBase

This ActionExecuter adds a publish event to the publish event queue.

Since:
4.0

Field Summary
 
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
PublishEventAction()
           
 
Method Summary
protected  void addParameterDefinitions(java.util.List paramList)
          Adds the parameter definitions to the list
protected  void executeImpl(Action action, org.alfresco.service.cmr.repository.NodeRef eventNode)
          Execute the action implementation
 void setPublishingEventProcessor(PublishingEventProcessor processor)
           
 
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
 

Constructor Detail

PublishEventAction

public PublishEventAction()
Method Detail

executeImpl

protected void executeImpl(Action action,
                           org.alfresco.service.cmr.repository.NodeRef eventNode)
Execute the action implementation

Specified by:
executeImpl in class ActionExecuterAbstractBase
Parameters:
action - the action
eventNode - the actioned upon node

addParameterDefinitions

protected void addParameterDefinitions(java.util.List paramList)
Adds the parameter definitions to the list

Specified by:
addParameterDefinitions in class ParameterizedItemAbstractBase
Parameters:
paramList - the parameter definitions list

setPublishingEventProcessor

public void setPublishingEventProcessor(PublishingEventProcessor processor)
Parameters:
processor - the processor to set


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