Class CEMRelationshipDelegate
java.lang.Object
com.ptc.qualitymanagement.cem.businessrules.CEMRelationshipDelegate
- All Implemented Interfaces:
BusinessRuleSetRelationshipDelegate
Gathers the collected objects listed below for a Customer Experience. Any primary object listed below can be provided
as the primary business objects. This relationship delegate is registered with the key CustomerExperience in CEM.service.properties.xconf.
Extendable: true
Objects Collected Out-of-the-Box:
- Customer Experience (CustomerExperience)
- Reported Product Details (Product Effect Code, Reported Failure Mode, Reported Against)
- Activities (General Activities, Product Activities, and QMS Activities)
- Investigation (Product Investigation Activity, History Review, Disposition, Testing Results, Decontamination History)
- Regulatory Report (Regulatory Report Decision, Regulatory Reports)
- Related Objects (Experienced Effects, Trending Code, Evaluation, Summary and Review)
- Associated Process Objects (ChangeProcessLink)
- Related Personal and Locations (QMSContact)
Primary Customer Experience Objects:
- CustomerExperience
- CEEvaluation
- CEProductDetail
- CEGeneralActivity
- CEProductActivity
- CEProductInvestigationActivity
- CEDecontamination
- CEProductInvestigation
- CERegulatoryReport
- CEReview
- CERegulatoryReportSubmissionExternal
- WorkItem with CustomerExperience, CEEvaluation, CEProductInvestigationActivity, or CERegulatoryReportDecision
Extendable: true
-
Method Summary
Modifier and TypeMethodDescriptionprotected CustomerExperiencefindCEMFromPrimaryBusinessObject(Object primaryBusinessObject) Find the applicable Customer Experience object based on provided primary business object.protected CollectionGet all activity objects associated with a Customer Experience.protected CollectionGet Associated Process Objects: ChangeProcessLink
Supported API: trueprotected CEEvaluationGet the CEEvaluation object associated with a Customer Experience.protected CollectionGet all Experienced Effects objects associated with a Customer Experience.protected CollectionGet all the Failure Mode objects associated with a Customer Experience.protected CollectionGet all investigation objects associated with a Customer Experience: Product Investigation Activity History Review Disposition Testing Results Decontamination History
Supported API: trueprotected CollectionGet all the Effect Code objects associated with a Customer Experience.protected CollectionGet Related Personal and Locations: QMSContact
Supported API: trueprotected CollectionGet all Regulatory objects associated with a Customer Experience: Regulatory Report Decision Regulatory Reports
Supported API: trueprotected CollectionGet related objects associated with a Customer Experience: Experienced Effects Trending Code Evaluation Summary and Review Summary and Review Codes
Supported API: trueprotected CollectionGet all Reported Against objects associated with a Customer Experience.protected CollectionGet Reported Product Details and related objects associated with a Customer Experience:
Product Effect Code Reported Failure Mode Reported Against Link
Supported API: trueprotected CollectionGet all the objects associated with a Customer Experience's summary and review.getTargetObjects(Object primaryBusinessObject) Get all the objects associated with a Customer Experience.protected CollectionGet all the CETrendingCode objects associated with a Customer Experience.
-
Method Details
-
getTargetObjects
Get all the objects associated with a Customer Experience. See class level JavaDoc for details.
Supported API: true- Specified by:
getTargetObjectsin interfaceBusinessRuleSetRelationshipDelegate- Parameters:
primaryBusinessObject- Any Customer Experience Object Listed In Class-Level Javadoc- Returns:
- all associated objects
- Throws:
WTException
-
getReportedProductDetails
Get Reported Product Details and related objects associated with a Customer Experience:
- Product Effect Code
- Reported Failure Mode
- Reported Against Link
Supported API: true- Parameters:
cem- The Customer Experience Object- Returns:
- all associated Product Detail objects
- Throws:
WTException
-
getProductEffectCodes
Get all the Effect Code objects associated with a Customer Experience.
Supported API: true- Parameters:
cem- The Customer Experience Object- Returns:
- all associated effect code objects
- Throws:
WTException
-
getFailureModes
Get all the Failure Mode objects associated with a Customer Experience.
Supported API: true- Parameters:
cem- The Customer Experience Object- Returns:
- all associated failure mode objects
- Throws:
WTException
-
getReportedAgainst
Get all Reported Against objects associated with a Customer Experience.
Supported API: true- Parameters:
cem- The Customer Experience Object- Returns:
- all associated reported against objects
- Throws:
WTException
-
getActivities
Get all activity objects associated with a Customer Experience.
Supported API: true- Parameters:
cem- The Customer Experience Object- Returns:
- all associated activity objects
- Throws:
WTException
-
getInvestigationObjects
Get all investigation objects associated with a Customer Experience:- Product Investigation Activity
- History Review
- Disposition
- Testing Results
- Decontamination History
Supported API: true- Parameters:
cem- The Customer Experience Object- Returns:
- all associated investigation objects
- Throws:
WTException
-
getRegulatoryObjects
Get all Regulatory objects associated with a Customer Experience:- Regulatory Report Decision
- Regulatory Reports
Supported API: true- Parameters:
cem- The Customer Experience Object- Returns:
- all associated regulatory report objects
- Throws:
WTException
-
getRelatedObjects
Get related objects associated with a Customer Experience:- Experienced Effects
- Trending Code
- Evaluation
- Summary and Review
- Summary and Review Codes
Supported API: true- Parameters:
cem- The Customer Experience Object- Returns:
- all associated regulatory report objects
- Throws:
WTException
-
getTrendingCodes
Get all the CETrendingCode objects associated with a Customer Experience.
Supported API: true- Parameters:
cem- The Customer Experience Object- Returns:
- all associated trending code objects
- Throws:
WTException
-
getEvaluation
Get the CEEvaluation object associated with a Customer Experience.
Supported API: true- Parameters:
cem- The Customer Experience Object- Returns:
- CEEvaluation
- Throws:
WTException
-
getSummaryAndReviewObjects
Get all the objects associated with a Customer Experience's summary and review.
Supported API: true- Parameters:
cem- The Customer Experience Object- Returns:
- Summary and Review Objects
- Throws:
WTException
-
getExperiencedEffects
Get all Experienced Effects objects associated with a Customer Experience.
Supported API: true- Parameters:
cem- The Customer Experience Object- Returns:
- Collection
- Throws:
WTException
-
getAssociatedProcessObjects
Get Associated Process Objects:- ChangeProcessLink
Supported API: true- Parameters:
cem- The Customer Experience Object- Returns:
- Associated Process Objects (ChangeProcessLink)
- Throws:
WTException
-
getQMSContacts
Get Related Personal and Locations:- QMSContact
Supported API: true- Parameters:
cem- The Customer Experience Object- Returns:
- Related Personal and Locations (QMSContact)
- Throws:
WTException
-
findCEMFromPrimaryBusinessObject
protected CustomerExperience findCEMFromPrimaryBusinessObject(Object primaryBusinessObject) throws WTException Find the applicable Customer Experience object based on provided primary business object. See class level Java-Doc for applicable types of objects.
Supported API: true- Parameters:
primaryBusinessObject- The Primary Business Object- Returns:
- CustomerExperience
- Throws:
WTException
-