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.
-
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
-
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
-