org.alfresco.repo.web.scripts.action
Class RunningActionModelBuilder

java.lang.Object
  extended by org.alfresco.repo.web.scripts.action.RunningActionModelBuilder

public class RunningActionModelBuilder
extends java.lang.Object

Builds up models for running actions

Since:
3.4

Field Summary
protected static java.lang.String ACTION_CANCEL_REQUESTED
           
protected static java.lang.String ACTION_ID
           
protected static java.lang.String ACTION_INSTANCE
           
protected static java.lang.String ACTION_KEY
           
protected static java.lang.String ACTION_NODE_REF
           
protected static java.lang.String ACTION_RUNNING_ON
           
protected static java.lang.String ACTION_STARTED_AT
           
protected static java.lang.String ACTION_TYPE
           
protected  org.alfresco.service.cmr.action.ActionService actionService
           
protected  org.alfresco.service.cmr.action.ActionTrackingService actionTrackingService
           
protected static java.lang.String MODEL_DATA_ITEM
           
protected static java.lang.String MODEL_DATA_LIST
           
protected  org.alfresco.service.cmr.repository.NodeService nodeService
           
 
Constructor Summary
RunningActionModelBuilder(org.alfresco.service.cmr.repository.NodeService nodeService, org.alfresco.service.cmr.action.ActionService actionService, org.alfresco.service.cmr.action.ActionTrackingService actionTrackingService)
           
 
Method Summary
protected  java.util.Map buildSimpleList(java.util.List runningActions)
          Build a model containing a list of running actions for the given list of Running Actions
protected  java.util.Map buildSimpleModel(org.alfresco.service.cmr.action.ExecutionSummary summary)
          Build a model containing a single running action
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MODEL_DATA_ITEM

protected static final java.lang.String MODEL_DATA_ITEM
See Also:
Constant Field Values

MODEL_DATA_LIST

protected static final java.lang.String MODEL_DATA_LIST
See Also:
Constant Field Values

ACTION_ID

protected static final java.lang.String ACTION_ID
See Also:
Constant Field Values

ACTION_TYPE

protected static final java.lang.String ACTION_TYPE
See Also:
Constant Field Values

ACTION_INSTANCE

protected static final java.lang.String ACTION_INSTANCE
See Also:
Constant Field Values

ACTION_NODE_REF

protected static final java.lang.String ACTION_NODE_REF
See Also:
Constant Field Values

ACTION_STARTED_AT

protected static final java.lang.String ACTION_STARTED_AT
See Also:
Constant Field Values

ACTION_RUNNING_ON

protected static final java.lang.String ACTION_RUNNING_ON
See Also:
Constant Field Values

ACTION_CANCEL_REQUESTED

protected static final java.lang.String ACTION_CANCEL_REQUESTED
See Also:
Constant Field Values

ACTION_KEY

protected static final java.lang.String ACTION_KEY
See Also:
Constant Field Values

nodeService

protected org.alfresco.service.cmr.repository.NodeService nodeService

actionService

protected org.alfresco.service.cmr.action.ActionService actionService

actionTrackingService

protected org.alfresco.service.cmr.action.ActionTrackingService actionTrackingService
Constructor Detail

RunningActionModelBuilder

public RunningActionModelBuilder(org.alfresco.service.cmr.repository.NodeService nodeService,
                                 org.alfresco.service.cmr.action.ActionService actionService,
                                 org.alfresco.service.cmr.action.ActionTrackingService actionTrackingService)
Method Detail

buildSimpleModel

protected java.util.Map buildSimpleModel(org.alfresco.service.cmr.action.ExecutionSummary summary)
Build a model containing a single running action


buildSimpleList

protected java.util.Map buildSimpleList(java.util.List runningActions)
Build a model containing a list of running actions for the given list of Running Actions



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