Package com.ptc.qualitymanagement.nc
Interface NCService
- All Known Implementing Classes:
StandardNCService
The intent of the NC service is to handle service calls for the NC Module
Supported API: true
Extendable: false
Supported API: true
Extendable: false
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptioncreateEditNonconformance(NcInfo ncInfo) Create Nonconformance object based on the inputs provided in NCInfoBean object.voiddispatchNonconformanceEvent(String eventType, Persistable object) Dispatch the event when a Nonconformance object is created.getAffectedObjectsList(Nonconformance nonconformance) Retrieves the Containment Details object associated with a given Nonconformance
Supported API: truegetNCInvestigation(Nonconformance nonConformance) Retrieve NC Investigation object from Nonconformance
Supported API: truecom.ptc.qualitymanagement.nc.review.NCReviewgetNCReview(Nonconformance nonConformance) Retrieves NC Review object from Nonconformance.getNCTrendingCategories(Nonconformance nonconformance) Returns list of Trending Categories associated with Nonconformance
Supported API: truegetReportedAgainsts(Nonconformance nonconformance) Retrieves all the Reported Against objects associated with a given Nonconformance
Supported API: truegetTrendingCategories(wt.change2.disposition.ContainmentDetails affectedObject) Returns list of Trending Categories associated with affected Object
Supported API: true
-
Method Details
-
dispatchNonconformanceEvent
void dispatchNonconformanceEvent(String eventType, Persistable object) throws WTException, WTPropertyVetoException Dispatch the event when a Nonconformance object is created. This method is used because the event must be thrown after the object is created and workflow is initiated on Nonconformance Object.
Supported API: true- Parameters:
eventType-object-- Throws:
WTExceptionWTPropertyVetoException
-
getReportedAgainsts
Retrieves all the Reported Against objects associated with a given Nonconformance
Supported API: true- Parameters:
nonconformance-- Returns:
- WTArrayList
- Throws:
WTException
-
getAffectedObjectsList
Retrieves the Containment Details object associated with a given Nonconformance
Supported API: true- Parameters:
nonconformance-- Returns:
- WTArrayList
- Throws:
WTException
-
getNCReview
com.ptc.qualitymanagement.nc.review.NCReview getNCReview(Nonconformance nonConformance) throws WTException Retrieves NC Review object from Nonconformance.
Supported API: true- Parameters:
nonConformance-- Returns:
- Throws:
WTException
-
getNCInvestigation
Retrieve NC Investigation object from Nonconformance
Supported API: true- Parameters:
nonConformance-- Returns:
- Throws:
WTException
-
getNCTrendingCategories
Returns list of Trending Categories associated with Nonconformance
Supported API: true- Parameters:
nonconformance-- Returns:
- WTArrayList
- Throws:
WTException
-
getTrendingCategories
WTArrayList getTrendingCategories(wt.change2.disposition.ContainmentDetails affectedObject) throws WTException Returns list of Trending Categories associated with affected Object
Supported API: true- Parameters:
affectedObject-- Returns:
- WTArrayList
- Throws:
WTException
-
createEditNonconformance
NcStatus createEditNonconformance(NcInfo ncInfo) throws WTException, WTPropertyVetoException, IOException Create Nonconformance object based on the inputs provided in NCInfoBean object.
Supported API: true- Parameters:
ncInfoBean-- Returns:
- Throws:
WTExceptionWTPropertyVetoExceptionIOException
-