wt.projmgmt.execution
Interface ProjExecServiceSvr

All Known Implementing Classes:
StandardProjExecService

public interface ProjExecServiceSvr

The ProjExecServiceSvrinterface contains the definition of server accessible wt.projmgmt.execution API. The access is made through the ProjExecServerHelper class

Supported API: false

Extendable: false

See Also:
ProjExecServerHelper

Method Summary
 TimeToElapse computeDuration(ExecutionObject exec_obj)
          Computes the duration of an execution object.
 Timestamp computeFinishTime(ProjectNode node, TimeToElapse duration)
          Computes and returns the finish time for a given given the duration.
 void deleteContainedObjects(ProjectPlan plan)
          Deletes all objects contained in the project plan passed as argument.
 ProjectNode getAssociatedNode(WfConnector conn)
          Returns the project node associated with a given connector.
 WfNode getExecutionNode(WfNodeTemplate node_template)
          Returns the execution node that corresponds to a given template.
 void reassignWorkitems(ContainerTeamManaged container, WTUser user)
          This method reassings all the work items for the user passed in to the responsible role.
 

Method Detail

deleteContainedObjects

public void deleteContainedObjects(ProjectPlan plan)
                            throws WTException
Deletes all objects contained in the project plan passed as argument.

Supported API: false

Parameters:
plan -
Throws:
WTException
See Also:
ProjectPlan

getExecutionNode

public WfNode getExecutionNode(WfNodeTemplate node_template)
                        throws WTException
Returns the execution node that corresponds to a given template. Assumes a 1-1 relationship between templates and execution nodes. Throws a WTRuntimeException if this assumption is violated, indicating a badly formed project plan. Note that a 1-1 relationship is only valid for project management. The same doesn't happen for workflows.

Supported API: false

Parameters:
node_template -
Returns:
WfNode
Throws:
WTException

getAssociatedNode

public ProjectNode getAssociatedNode(WfConnector conn)
                              throws WTException
Returns the project node associated with a given connector. That is, the connector passed asargument is the input connector of the node returned.

Supported API: false

Parameters:
conn -
Returns:
ProjectNode
Throws:
WTException

computeFinishTime

public Timestamp computeFinishTime(ProjectNode node,
                                   TimeToElapse duration)
                            throws WTException
Computes and returns the finish time for a given given the duration.

Supported API: false

Parameters:
node -
duration -
Returns:
Timestamp
Throws:
WTException

reassignWorkitems

public void reassignWorkitems(ContainerTeamManaged container,
                              WTUser user)
                       throws WTException
This method reassings all the work items for the user passed in to the responsible role.

Supported API: false

Parameters:
container -
user -
Throws:
WTException

computeDuration

public TimeToElapse computeDuration(ExecutionObject exec_obj)
                             throws WTException
Computes the duration of an execution object.

Supported API: false

Parameters:
exec_obj -
Returns:
TimeToElapse
Throws:
WTException