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 Summary
Modifier and TypeMethodDescriptiongetActivitiesHavingDeliverableSubjects(WTCollection activityColl) For the given collection of activities, returns WTCollection of activities who have any Subject of Deliverable associated to them.getActivitySubjects(WTCollection activityList) For the given activity list, returns WTKeyedHashMap(key: PlanActivity.OId, value:ArrayList(SubjectOfDeliverable))
API needs to be used when activity is created/updated/deleted.getAssociatedActivities(WTCollection subjectList) 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: truegetFloatingBaselineMemberLinks(WTCollection subjectList) 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: trueMethods inherited from class wt.services.StandardManager
getManagerService, getManagerStatus, getName, getStartupType, initialize, performShutdownProcess, registerEvents
-
Method Details
-
getFloatingBaselineMemberLinks
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:
getFloatingBaselineMemberLinksin interfaceDeliverableService- 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
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:
getActivitySubjectsin interfaceDeliverableService- Parameters:
activityList-- Returns:
- WTKeyedHashMap
- Throws:
WTException
-
getAssociatedActivities
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:
getAssociatedActivitiesin interfaceDeliverableService- 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:
getActivitiesHavingDeliverableSubjectsin interfaceDeliverableService- Parameters:
activityColl- - Collection of activities- Returns:
- WTCollection - Collection of Plan activities who have Subject of Deliverable associated with them.
- Throws:
WTException- WTPropertyVetoExceptionWTPropertyVetoException
-