|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The ProjResourceServiceSvr
interface contains the definition
of server accessible wt.projmgmt.resource API. The access is made through
the ProjResourceServerHelper.service variable.
Supported API: false
Extendable: false
ProjResourceServerHelper
Method Summary | |
Currency |
computeActivityCost(ProjectActivity activity,
Work work)
Computes the current cost for a project activity (@link wt.projmgtm.executionProjectActivity}) for a given work. |
double |
computeCurrentCost(ProjectActivity activity,
Timestamp time)
Returns current cost accrued by the activity due to use of material, equipment and facilities. |
Currency |
computeInitialWorkCost(ProjectActivity activity)
Returns the initial work cost for a given activity. |
double |
computeTotalCost(ProjectActivity activity)
Returns total cost to be accrued by the activity due to use of material, equipment and facilities. |
Currency |
computeWorkItemCost(ProjectWorkItem item,
Work standard_work,
Work overtime_work)
Computes the current cost for a project work item given the current standard work and the current overtime work. |
void |
deleteContainedObjects(ProjectPlan plan)
Delete all resources objects contained in the plan passed as argument. |
QueryResult |
getProjectPlanDeliverables(ProjectPlan plan)
Returns project plan deliverables for a given ProjectPlan . |
QueryResult |
getUnboundProjectPlanDeliverables(ProjectPlan plan)
Returns unbound project plan deliverables for a given ProjectPlan . |
void |
updateResourceAllocation(ExecutionObject exec_obj)
Updates the resource allocation for a project work item or a project activity. |
Method Detail |
public void deleteContainedObjects(ProjectPlan plan) throws WTException
plan
-
WTException
public Currency computeWorkItemCost(ProjectWorkItem item, Work standard_work, Work overtime_work) throws WTException
item
- standard_work
- overtime_work
-
WTException
Work
,
Currency
,
CurrencyRate
public Currency computeActivityCost(ProjectActivity activity, Work work) throws WTException
This is to used when the activity when the performed or total work
is set at the activity level.
Supported API: false
activity
- work
-
WTException
Work
,
Currency
,
CurrencyRate
public Currency computeInitialWorkCost(ProjectActivity activity) throws WTException
activity
-
WTException
public double computeTotalCost(ProjectActivity activity) throws WTException
activity
-
WTException
public double computeCurrentCost(ProjectActivity activity, Timestamp time) throws WTException
activity
- time
-
WTException
public QueryResult getProjectPlanDeliverables(ProjectPlan plan) throws WTException
ProjectPlan
.
A "project deliverable" is a deliverable that has the "projectDeliverable"
set to 'true'.
plan
-
WTException
public QueryResult getUnboundProjectPlanDeliverables(ProjectPlan plan) throws WTException
ProjectPlan
.
A "project deliverable" is a deliverable that has the "projectDeliverable"
set to 'true' and is not associated with either a milestone or an
activity.
plan
-
WTException
public void updateResourceAllocation(ExecutionObject exec_obj) throws WTException
allocation = (100 * work) / (n * duration in days * hour per day)
where n is the number of users assigned to the activity or item.
For items n = 1.
exec_obj
-
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |