Interface PlannableService
- All Known Implementing Classes:
StandardPlannableService
returns a list of precedence constraints which have the given plannable
declared as either the predecessor or successor
Supported API: true
Extendable: false
Supported API: true
Extendable: false
-
Method Summary
Modifier and TypeMethodDescriptiongetAllAncestorsOfActivities(WTCollection activityList) For the given activity list, returns WTKeyedHashMap(key:PlanActivity, value:WTArrayList(PlanActivity)) where key is the given activity and value is the WTArrayList of all it's ancestors.
Note: If any activity don't have parent summary activity and its parent is plan then the empty WTArrayList(PlanActivity) would be returned in the WTKeyedHashMap(PlanActivity, WTArrayList(PlanActivity))
Supported API: trueUSE : Updates the given QuerySpec objects to fetch the scheduled deliverable activities, which are not completed and in progress, associated with logged in user resource.getHistoryRecordsForPlan(Plan plan) Returns map containing all activities of a plan as key and value is the object of 'ActivityHistoryRecord'.This API will return all activities having automatic health status calculation mode, which are schedule deliverable and not completed for given set of summary activities and Plan.This API will return all leaf activities which are schedule deliverable and not completed for given set of summary activities and Plan
Supported API: truegetSummaryActivities(WTCollection activities) This API will return all summary activities for given set of leaf/summary activities
Supported API: truevoidinvokeCalculateDeadlineAndHealthStatusForAutoModeActivities(HashMap<String, WTArrayList> scheduleDeliverablesForAutoMode) This API will call calculate Health Status and Deadline methods for Auto Mode Activities
Supported API: true
-
Method Details
-
getHistoryRecordsForPlan
Returns map containing all activities of a plan as key and value is the object of 'ActivityHistoryRecord'.
Supported API: true- Parameters:
Plan-- Returns:
- Map<Scheduleable,ActivityHistoryRecord>
- Throws:
WTException
-
getEligiblePlansActivitiesForTrackNewWorkQuerySpec
USE : Updates the given QuerySpec objects to fetch the scheduled deliverable activities, which are not completed and in progress, associated with logged in user resource. Supported API: true- Returns:
- - updated QuerySpec object
- Throws:
WTException- - when an error occurred while building query spec.
-
getSummaryActivities
This API will return all summary activities for given set of leaf/summary activities
Supported API: true- Returns:
- WTKeyedHashMap summaryMap - map, key being the leaf activity and the summary as its value
- Throws:
WTException
-
getScheduleDeliverableLeafActivitiesForSummary
WTKeyedHashMap getScheduleDeliverableLeafActivitiesForSummary(WTCollection summaries) throws WTException This API will return all leaf activities which are schedule deliverable and not completed for given set of summary activities and Plan
Supported API: true- Returns:
- WTKeyedHashMap summaryMap - map, key being the leaf activity and the summary as its value
- Throws:
WTException
-
getScheduledDeliverablesWithAutomaticCalculationMode
HashMap<String,WTArrayList> getScheduledDeliverablesWithAutomaticCalculationMode(Plannable plannable) throws WTException This API will return all activities having automatic health status calculation mode, which are schedule deliverable and not completed for given set of summary activities and Plan.
Supported API: true- Returns:
- WTArrayList arrayList - list containing activities having automatic health status calculation mode.
- Throws:
WTException
-
invokeCalculateDeadlineAndHealthStatusForAutoModeActivities
void invokeCalculateDeadlineAndHealthStatusForAutoModeActivities(HashMap<String, WTArrayList> scheduleDeliverablesForAutoMode) throws WTException, WTPropertyVetoExceptionThis API will call calculate Health Status and Deadline methods for Auto Mode Activities
Supported API: true- Throws:
WTExceptionWTPropertyVetoException
-
getAllAncestorsOfActivities
For the given activity list, returns WTKeyedHashMap(key:PlanActivity, value:WTArrayList(PlanActivity)) where key is the given activity and value is the WTArrayList of all it's ancestors.
Note: If any activity don't have parent summary activity and its parent is plan then the empty WTArrayList(PlanActivity) would be returned in the WTKeyedHashMap(PlanActivity, WTArrayList(PlanActivity))
Supported API: true- Parameters:
activityList-- Returns:
- WTKeyedHashMap
- Throws:
WTException
-