public abstract class AbstractActionWebscript
extends org.springframework.extensions.webscripts.DeclarativeWebScript
Modifier and Type | Field and Description |
---|---|
protected org.alfresco.service.cmr.action.ActionService |
actionService |
protected org.alfresco.service.cmr.action.ActionTrackingService |
actionTrackingService |
protected org.alfresco.service.cmr.repository.NodeService |
nodeService |
protected org.alfresco.repo.action.RuntimeActionService |
runtimeActionService |
Constructor and Description |
---|
AbstractActionWebscript() |
Modifier and Type | Method and Description |
---|---|
protected abstract java.util.Map |
buildModel(RunningActionModelBuilder modelBuilder,
org.springframework.extensions.webscripts.WebScriptRequest req,
org.springframework.extensions.webscripts.Status status,
org.springframework.extensions.webscripts.Cache cache) |
protected java.util.Map |
executeImpl(org.springframework.extensions.webscripts.WebScriptRequest req,
org.springframework.extensions.webscripts.Status status,
org.springframework.extensions.webscripts.Cache cache) |
static java.lang.String |
getRunningId(org.alfresco.service.cmr.action.ExecutionSummary summary)
Returns the running action ID for the given
ExecutionSummary
|
static org.alfresco.service.cmr.action.ExecutionSummary |
getSummaryFromAction(org.alfresco.service.cmr.action.Action action)
Returns the ExecutionSummary for the given action if it
is currently executing, or null if it isn't
|
static org.alfresco.service.cmr.action.ExecutionSummary |
getSummaryFromKey(java.lang.String key)
Takes a running action ID, and returns an
ExecutionSummary object for it.
|
void |
setActionService(org.alfresco.service.cmr.action.ActionService actionService) |
void |
setActionTrackingService(org.alfresco.service.cmr.action.ActionTrackingService actionTrackingService) |
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService) |
void |
setRuntimeActionService(org.alfresco.repo.action.RuntimeActionService runtimeActionService) |
execute, executeFinallyImpl, executeImpl, executeImpl, getTemplateModel, renderFormatTemplate
addModuleBundleToCache, checkModuleBundleCache, createArgs, createArgsM, createHeaders, createHeadersM, createScriptParameters, createStatusException, createTemplateParameters, executeScript, getContainer, getDescription, getExecuteScript, getResources, getStatusTemplate, init, renderString, renderString, renderTemplate, sendStatus, setURLModelFactory, toString
protected org.alfresco.service.cmr.repository.NodeService nodeService
protected org.alfresco.service.cmr.action.ActionService actionService
protected org.alfresco.repo.action.RuntimeActionService runtimeActionService
protected org.alfresco.service.cmr.action.ActionTrackingService actionTrackingService
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
public void setActionService(org.alfresco.service.cmr.action.ActionService actionService)
public void setRuntimeActionService(org.alfresco.repo.action.RuntimeActionService runtimeActionService)
public void setActionTrackingService(org.alfresco.service.cmr.action.ActionTrackingService actionTrackingService)
protected java.util.Map executeImpl(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.Status status, org.springframework.extensions.webscripts.Cache cache)
executeImpl
in class org.springframework.extensions.webscripts.DeclarativeWebScript
protected abstract java.util.Map buildModel(RunningActionModelBuilder modelBuilder, org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.Status status, org.springframework.extensions.webscripts.Cache cache)
public static org.alfresco.service.cmr.action.ExecutionSummary getSummaryFromKey(java.lang.String key)
public static org.alfresco.service.cmr.action.ExecutionSummary getSummaryFromAction(org.alfresco.service.cmr.action.Action action)
public static java.lang.String getRunningId(org.alfresco.service.cmr.action.ExecutionSummary summary)
Copyright © 2005 - 2013 Alfresco Software, Inc. All Rights Reserved.