Class NCRelationshipDelegate

java.lang.Object
com.ptc.qualitymanagement.nc.businessrules.NCRelationshipDelegate
All Implemented Interfaces:
BusinessRuleSetRelationshipDelegate

public class NCRelationshipDelegate extends Object implements BusinessRuleSetRelationshipDelegate
Gathers the collected objects listed below for a Nonconformance. Any primary object listed below can be provided as the primary business objects.

Collected Objects:
Nonconformance (Nonconformance )
Related Personal and Locations (QMS Contact)
Investigation (NC Investigation)
Trending Categories(Trending Categories)
Review(NCReview)
Disposition(Disposition Plan, Disposition Record, Disposition Action, Disposition Details Link)
Affected Objects (Reported Against,Containment Details, ExperiencedEffect)
Other Items (Other Containment Item,Trending Categories OtherItem,Immediate Actions)
Associated Process Objects (ChangeProcessLink)

Primary Objects:
Nonconformance
Reported Against
NC Investigation
NC TrendingCategories
NC Review
NC Disposition

This Relationship delegate is registered with the key com.ptc.qualitymanagement.nc.Nonconformance in NC.service.properties.xconf



Supported API: true

Extendable: true

  • Method Details

    • getRelatedPersonalAndLocations

      protected Collection getRelatedPersonalAndLocations(Nonconformance nonconformance) throws WTException
      Get Related Personal and Locations (QMS Contact)

      Supported API: true
      Parameters:
      nonconformance -
      Returns:
      Throws:
      WTException
    • getInvestigation

      protected Collection getInvestigation(Nonconformance nonconformance) throws WTException
      Get NC Investigation

      Supported API: true
      Parameters:
      nonconformance -
      Returns:
      Throws:
      WTException
    • getTrendingCategories

      protected Collection getTrendingCategories(Nonconformance nonconformance) throws WTException
      Get NC Trending Categories

      Supported API: true
      Parameters:
      nonconformance -
      Returns:
      Throws:
      WTException
    • getReview

      protected Collection getReview(Nonconformance nonconformance) throws WTException
      Get NC Review

      Supported API: true
      Parameters:
      nonconformance -
      Returns:
      Throws:
      WTException
    • getDispositionObjects

      protected Collection getDispositionObjects(Nonconformance nonconformance) throws WTException
      Get NC Disposition(Disposition Plan,Disposition Record,Disposition Action, Disposition Details Link)

      Supported API: true
      Parameters:
      nonconformance -
      Returns:
      Throws:
      WTException
    • getAssociatedProcessObjects

      protected Collection getAssociatedProcessObjects(Nonconformance nonconformance) throws WTException
      Get Associated Process Objects (Change Process Link)

      Supported API: true
      Parameters:
      nonconformance - the Nonconformance
      Returns:
      Associated Process Objects (ChangeProcessLink)
      Throws:
      WTException
    • getRelatedObjects

      protected Collection getRelatedObjects(Nonconformance nonconformance) throws WTException
      Get NC Related Objects(Containment Details, Reported Against,Trending Codes, Immediate Action,Experienced Effect)

      Supported API: true
      Parameters:
      nonconformance -
      Returns:
      Throws:
      WTException
    • findNCFromPrimaryBusinessObject

      protected Nonconformance findNCFromPrimaryBusinessObject(Object primaryBusinessObject) throws WTException
      Get Nonconformance from Primary Business Object

      Supported API: true
      Parameters:
      primaryBusinessObject -
      Returns:
      Throws:
      WTException