Class StandardDeliverableService

java.lang.Object
wt.services.StandardManager
com.ptc.projectmanagement.deliverable.StandardDeliverableService
All Implemented Interfaces:
DeliverableService, Serializable, wt.fc._NetFactor, NetFactor, wt.services.Manager

public class StandardDeliverableService extends StandardManager implements DeliverableService, Serializable

Use the newStandardDeliverableService static factory method(s), not the StandardDeliverableService constructor, to construct instances of this class. Instances must be constructed using the static factory(s), in order to ensure proper initialization of the instance.



Supported API: true

Extendable: false

See Also:
  • Method Details

    • getFloatingBaselineMemberLinks

      public Map getFloatingBaselineMemberLinks(WTCollection subjectList) throws WTException
      For the given subjects of deliverables list, returns WTKeyedHashMap (SubjectOfDeliverable-ObjectIdentifier, FloatingBaselineMember).
      API needs to be used when Floating Baseline member needs to be updated.


      Supported API: true
      Specified by:
      getFloatingBaselineMemberLinks in interface DeliverableService
      Parameters:
      subjectList - - List of objects e.g. WTPart, LotBaseline etc. The list should contain persistable objects and not VersionReference
      Returns:
      WTKeyedHashMap - key --> ObjectIdentifier of subject of deliverables : Value --> Associated Floating Baseline Member Link.
      Throws:
      WTException
    • getActivitySubjects

      public WTKeyedHashMap getActivitySubjects(WTCollection activityList) throws WTException
      For the given activity list, returns WTKeyedHashMap(key: PlanActivity.OId, value:ArrayList(SubjectOfDeliverable))
      API needs to be used when activity is created/updated/deleted. Note: If any activity don't have associated subject of deliverables then the empty ArrayList would be returned in the WTKeyedHashMap

      Supported API: true
      Specified by:
      getActivitySubjects in interface DeliverableService
      Parameters:
      activityList -
      Returns:
      WTKeyedHashMap
      Throws:
      WTException
    • getAssociatedActivities

      public WTKeyedHashMap getAssociatedActivities(WTCollection subjectList) throws WTException
      For the given subjects of deliverables list, returns WTKeyedHashMap (SubjectOfDeliverable-ObjectIdentifier, WTArrayList(PlanActivity)) where key is the given SubjectOfDeliverable's ObjectIdentifier and value is the WTArrayList of PlanActivity.
      .
      API needs to be used when Floating Baseline member is created/updated.
      NOTE: If any subject is not associated with any activity then there would not be any entry for this subject in the return map-WTKeyedHashMap

      Supported API: true
      Specified by:
      getAssociatedActivities in interface DeliverableService
      Parameters:
      subjectList - - List of objects e.g. WTPart, LotBaseline etc. The list should contain persistable objects and not VersionReference
      Returns:
      WTKeyedHashMap - key --> ObjectIdentifier of subject of deliverables : Value --> List of associated Plan Activities.
      Throws:
      WTException
    • getActivitiesHavingDeliverableSubjects

      public WTCollection getActivitiesHavingDeliverableSubjects(WTCollection activityColl) throws WTException, WTPropertyVetoException
      For the given collection of activities, returns WTCollection of activities who have any Subject of Deliverable associated to them.
      NOTE: If any activity has been Marked As Deliverable and does not have any Subject of Deliverable, then it will not be included in the collection of activities that are returned.

      Supported API: true
      Specified by:
      getActivitiesHavingDeliverableSubjects in interface DeliverableService
      Parameters:
      activityColl - - Collection of activities
      Returns:
      WTCollection - Collection of Plan activities who have Subject of Deliverable associated with them.
      Throws:
      WTException - WTPropertyVetoException
      WTPropertyVetoException