|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ProjDefinerServiceSvr
interface defines the project management
template API that is accessible only in the server.
Supported API: false
Extendable: false
Method Summary | |
ProjectNode |
addNode(ProjectNode node,
WfContainer container)
Adds node to container passed as argument. |
NodeTemplateLink |
createLink(WfNode source_node,
WfNode dest_node,
ProjectLinkType link_type)
Creates dependency link between two nodes. |
Milestone |
createMilestoneTemplate(ProjectPlan plan,
Milestone milestone)
Creates a milestone template given the project plan and the milestone instance. |
ProjectNode |
createNodeTemplate(WfContainer container,
ProjectNode node)
Creates a project node template given the node container (plan or summary) and the node instance. |
ProjectActivity |
createProjectActivityTemplate(ProjectPlan plan,
ProjectActivity activity)
Creates a project activity template given the project plan, the activity instance and a vector containing references to activity assignees. |
ProjectProxy |
createProjectProxyTemplate(ProjectPlan plan,
ProjectProxy proxy)
Creates a project proxy template given the project plan and the proxy instance. |
void |
createStartEndConnectors(WfContainerTemplate template,
WfContainer container)
Creates the start and end connectors for a container passed as arguments. |
SummaryActivity |
createSummaryActivityTemplate(ProjectPlan plan,
SummaryActivity summary)
Creates a summary activity template given the project plan and the activity instance. |
void |
deleteFinalLink(WfNode pred_node,
WfNode succ_node)
Deletes the link that joins the first node to an end connector if both nodes belong to the same container. |
WfNode |
deleteInitialLink(WfNode node)
Deletes the link that joins the start connector to the node passed as argument. |
void |
removeDependency(WfNode source_node,
WfNode dest_node)
Deletes all links between the templates of the nodes passed as argument. |
ProjectNode |
removeNode(ProjectNode node)
Removes node from its current container. |
NodeTemplateLink |
setLinkType(WfNode source_node,
WfNode dest_node,
ProjectLinkType link_type)
Sets the type of dependency beteween two nodes to the dependency passed as argument (ProjectLinkType). |
Method Detail |
public ProjectActivity createProjectActivityTemplate(ProjectPlan plan, ProjectActivity activity) throws WTException
plan
- activity
-
WTException
ProjectActivityTemplate
,
ProjectActivity
public Milestone createMilestoneTemplate(ProjectPlan plan, Milestone milestone) throws WTException
plan
- milestone
-
WTException
public SummaryActivity createSummaryActivityTemplate(ProjectPlan plan, SummaryActivity summary) throws WTException
plan
- summary
-
WTException
SummaryActivityTemplate
,
SummaryActivity
public ProjectProxy createProjectProxyTemplate(ProjectPlan plan, ProjectProxy proxy) throws WTException
plan
- proxy
-
WTException
ProjectProxyTemplate
,
ProjectProxy
public ProjectNode createNodeTemplate(WfContainer container, ProjectNode node) throws WTException
Milestone
,
a ProjectActivity
,
a SummaryActivity
,
or a ProjectProxy
.
The start connector of the container template is connected to the
project node template created.
Supported API: false
container
- node
-
WTException
ProjectNodeTemplate
,
ProjectNode
,
WfContainer
,
ProjectPlan
,
SummaryActivity
public void removeDependency(WfNode source_node, WfNode dest_node) throws WTException
source_node
- dest_node
-
WTException
public NodeTemplateLink setLinkType(WfNode source_node, WfNode dest_node, ProjectLinkType link_type) throws WTException
source_node
- dest_node
- link_type
-
WTException
public NodeTemplateLink createLink(WfNode source_node, WfNode dest_node, ProjectLinkType link_type) throws WTException
source_node
- dest_node
- link_type
-
WTException
public ProjectNode removeNode(ProjectNode node) throws WTException
node
-
WTException
public ProjectNode addNode(ProjectNode node, WfContainer container) throws WTException
node
- container
-
WTException
public void createStartEndConnectors(WfContainerTemplate template, WfContainer container) throws WTException
This method is used when a summary or a project plan is created.
It is called only once for each created object.
Supported API: false
template
- container
-
WTException
public WfNode deleteInitialLink(WfNode node) throws WTException
node
-
WTException
public void deleteFinalLink(WfNode pred_node, WfNode succ_node) throws WTException
pred_node
- succ_node
-
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |