|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.action.CommonResourceAbstractBase
org.alfresco.repo.action.ParameterizedItemAbstractBase
org.alfresco.repo.action.executer.ActionExecuterAbstractBase
org.alfresco.repo.action.executer.CounterIncrementActionExecuter
public class CounterIncrementActionExecuter
Simple action to increment an integer value. The runtime NodeService is used so any user can increment the counter value on a node.
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 | |
---|---|
CounterIncrementActionExecuter()
|
Method Summary | |
---|---|
protected void |
addParameterDefinitions(java.util.List paramList)
Adds the parameter definitions to the list |
protected void |
executeImpl(Action action,
NodeRef actionedUponNodeRef)
Execute the action implementation |
void |
setNodeService(NodeService nodeService)
|
Methods inherited from class org.alfresco.repo.action.executer.ActionExecuterAbstractBase |
---|
createActionDefinition, execute, getActionDefinition, getQueueName, init, setApplicableTypes, setPublicAction, setQueueName |
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 |
---|
public CounterIncrementActionExecuter()
Method Detail |
---|
public void setNodeService(NodeService nodeService)
nodeService
- The Runtime NodeService to set.protected void executeImpl(Action action, NodeRef actionedUponNodeRef)
ActionExecuterAbstractBase
executeImpl
in class ActionExecuterAbstractBase
action
- the actionactionedUponNodeRef
- the actioned upon nodeActionExecuterAbstractBase.executeImpl(org.alfresco.service.cmr.action.Action, org.alfresco.service.cmr.repository.NodeRef)
protected void addParameterDefinitions(java.util.List paramList)
ParameterizedItemAbstractBase
addParameterDefinitions
in class ParameterizedItemAbstractBase
paramList
- the parameter definitions listParameterizedItemAbstractBase.addParameterDefinitions(java.util.List)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |