Package com.ptc.projectmanagement.plan
Interface EPPCustomEventHandlerService
- All Known Implementing Classes:
StandardEPPCustomEventHandlerService
Supported API: true
Extendable: true
-
Method Summary
Modifier and TypeMethodDescriptionvoidcalculateDeadline(WTCollection activities, Object event) This API invokes the API to calculate the leaf activity Deadline and roll up to the parent
Supported API: truevoidcalculateDeadlineAndHealthStatus(WTCollection activities, Object event) This API invokes the handler based on the type of the leaf activity to calculate its Deadline and Heath Status
Supported API: truevoidcalculateDeadlineforLeafActivity(WTCollection activities, Object event) This API invokes the handler based on the type of the leaf activity to calculate its Deadline
Supported API: truevoidcalculateDeadlineForSummaryActivities(WTCollection activities, Object event) This API invokes the handler based on the type of the Summary activity to calculate its Deadline
Supported API: truevoidcalculateHealthStatus(WTCollection activities, Object event) This API invokes the API to calculate the leaf activity health status and roll up to the parent
Supported API: truevoidcalculateHealthStatusforLeafActivity(WTCollection activities, Object event) This API invokes the handler based on the type of the leaf activity to calculate its health status
Supported API: truevoidrollUpHealthStatus(WTCollection leafActivities, Object event) Use: This API will rollup the health status to summary activities and thereby to planvoidthrowActivityCustomEvents(HashMap<String, PlanActivity> actMap, WTCollection newActCollection) Use: This API will get called at the end of throwActivityEvents and is an API to add more Events.voidupdateProjectStatus(WTHashSet containersList) Use : This API will update the status of the project, after plan and its summaries have been rolled up
-
Method Details
-
calculateHealthStatus
void calculateHealthStatus(WTCollection activities, Object event) throws WTException, WTPropertyVetoException This API invokes the API to calculate the leaf activity health status and roll up to the parent
Supported API: true- Parameters:
collection- of activities for which health status needs to be calculated.event-- Throws:
WTExceptionWTPropertyVetoException
-
calculateHealthStatusforLeafActivity
void calculateHealthStatusforLeafActivity(WTCollection activities, Object event) throws WTException, WTPropertyVetoException This API invokes the handler based on the type of the leaf activity to calculate its health status
Supported API: true- Parameters:
collection- of activities for which health status needs to be calculated.event-- Throws:
WTExceptionWTPropertyVetoException
-
calculateDeadline
void calculateDeadline(WTCollection activities, Object event) throws WTException, WTPropertyVetoException This API invokes the API to calculate the leaf activity Deadline and roll up to the parent
Supported API: true- Parameters:
collection- of activities for which Deadline needs to be calculated.event-- Throws:
WTExceptionWTPropertyVetoException
-
calculateDeadlineforLeafActivity
void calculateDeadlineforLeafActivity(WTCollection activities, Object event) throws WTException, WTPropertyVetoException This API invokes the handler based on the type of the leaf activity to calculate its Deadline
Supported API: true- Parameters:
collection- of activities for which Deadline needs to be calculated.event-- Throws:
WTExceptionWTPropertyVetoException
-
calculateDeadlineForSummaryActivities
void calculateDeadlineForSummaryActivities(WTCollection activities, Object event) throws WTException, WTPropertyVetoException This API invokes the handler based on the type of the Summary activity to calculate its Deadline
Supported API: true- Parameters:
collection- of activities for which Deadline needs to be calculated.event-- Throws:
WTExceptionWTPropertyVetoException
-
calculateDeadlineAndHealthStatus
void calculateDeadlineAndHealthStatus(WTCollection activities, Object event) throws WTException, WTPropertyVetoException This API invokes the handler based on the type of the leaf activity to calculate its Deadline and Heath Status
Supported API: true- Parameters:
collection- of activities for which Deadline and Health Status needs to be calculated.event-- Throws:
WTExceptionWTPropertyVetoException
-
rollUpHealthStatus
void rollUpHealthStatus(WTCollection leafActivities, Object event) throws WTException, WTPropertyVetoException Use: This API will rollup the health status to summary activities and thereby to plan- Parameters:
Plannable- plannablesevent-- Throws:
WTPropertyVetoExceptionWTException
-
throwActivityCustomEvents
void throwActivityCustomEvents(HashMap<String, PlanActivity> actMap, WTCollection newActCollection) throws WTException, WTPropertyVetoExceptionUse: This API will get called at the end of throwActivityEvents and is an API to add more Events.- Parameters:
actMap-WTCollection- newActCollection- Throws:
WTPropertyVetoExceptionWTException
-
updateProjectStatus
void updateProjectStatus(WTHashSet containersList) throws WTException, WTInvalidParameterException, ObjectNoLongerExistsException, WTPropertyVetoException Use : This API will update the status of the project, after plan and its summaries have been rolled up- Parameters:
containersList-
Supported API: true- Throws:
WTExceptionWTInvalidParameterExceptionObjectNoLongerExistsExceptionWTPropertyVetoException
-