Interface PlannableService

All Known Implementing Classes:
StandardPlannableService

@RemoteInterface public interface PlannableService
returns a list of precedence constraints which have the given plannable declared as either the predecessor or successor

Supported API: true

Extendable: false
  • Method Details

    • getHistoryRecordsForPlan

      Map<Scheduleable,ActivityHistoryRecord> getHistoryRecordsForPlan(Plan plan) throws WTException
      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

      QuerySpec getEligiblePlansActivitiesForTrackNewWorkQuerySpec(QuerySpec qs) throws WTException
      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

      WTKeyedHashMap getSummaryActivities(WTCollection activities) throws WTException
      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, WTPropertyVetoException
      This API will call calculate Health Status and Deadline methods for Auto Mode Activities

      Supported API: true
      Throws:
      WTException
      WTPropertyVetoException
    • getAllAncestorsOfActivities

      WTKeyedHashMap getAllAncestorsOfActivities(WTCollection activityList) throws WTException
      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