Package com.ptc.windchill.mpml.viz
Class MPMLVisualizationDataControlDelegate
java.lang.Object
com.ptc.windchill.associativity.viz.VisualizationDataControlDelegate
com.ptc.windchill.associativity.viz.AssociativeVisualizationDataControlDelegate
com.ptc.windchill.mpml.viz.MPMLVisualizationDataControlDelegate
public class MPMLVisualizationDataControlDelegate
extends AssociativeVisualizationDataControlDelegate
Delegate provides OOTB implementation for scheduler filtering logic and
controlling the visualization data for MPMLink.
Supported API: true
Extendable: true
Supported API: true
Extendable: true
-
Method Summary
Modifier and TypeMethodDescriptionfilterOwnerAssociationForRepresentationJob(WTCollection partsWithoutDefRepresentation)
Supported API: true API filters out parts having owner association with EPMDocument.findPartRepresentablesForRepresentationJob(WTContainerRef parentContainerReference, WVSContentHelper.IterationType iterationType) Controls the query to find parts valid for generating default representation in Scheduler job based on input container.getAllocatedPartsForQuickViewJob(WTSet sourceRepresentables)
Supported API: true Filters out assembly parts from input sourceRepresentables allocated to latest iteration of MPMOperation.getAllocatedPartsForRepresentationJob(WTSet sourceRepresentables)
Supported API: true Filters out assembly parts from input sourceRepresentables allocated to latest iteration of MPMOperation.getEquivalentPartsForQuickViewJob(WTSet sourceRepresentables)
Supported API: truegetEquivalentPartsForRepresentationJob(WTSet sourceRepresentables) Filters out assembly parts from input sourceRepresentables which have valid upstream equivalent.getResourcesForQuickViewJob(WTSet sourceRepresentables)
Supported API: true Filters out assembly MPMResources ( MPMWorkCenter invalid input: '&' MPMTooling) from input sourceRepresentables Collection of valid MPMWorkCenter invalid input: '&' MPMTooling are returned for generating/re-generating QuickView in Scheduler job.Methods inherited from class com.ptc.windchill.associativity.viz.AssociativeVisualizationDataControlDelegate
doValidateQuickViewPublishRules, getDefaultRepresentationDescription, getDefaultRepresentationName, getSchedulerCriteriaTypesMethods inherited from class com.ptc.windchill.associativity.viz.VisualizationDataControlDelegate
deleteVizDataForNewDownstreamAssemblies, filterNewDownstreamsForVizDataDeletion, getAllRepresentations, handleVizDataCarryForwardOnEquivalenceLinkCreation, handleVizDataDeletionOnEquivalenceLinkCreation, manageQuickView, manageQuickViewForParents, onEquivalenceLinkCreation
-
Method Details
-
findPartRepresentablesForRepresentationJob
public WTCollection findPartRepresentablesForRepresentationJob(WTContainerRef parentContainerReference, WVSContentHelper.IterationType iterationType) Controls the query to find parts valid for generating default representation in Scheduler job based on input container. This collection is further filtered out based on MPMLink criteria to generate default representation. Note: The representation would only be created for parts without any default representation. API Provides customization hook to support custom logic.
Supported API: true
Supported API: true
Supported API: true- Overrides:
findPartRepresentablesForRepresentationJobin classAssociativeVisualizationDataControlDelegate- Parameters:
iterationType-- Returns:
- - Returns latest iterations of assembly parts in the given container(s).
-
getEquivalentPartsForRepresentationJob
Filters out assembly parts from input sourceRepresentables which have valid upstream equivalent. Skips self equivalent parts. Collection of valid parts are returned for generating new representation in Scheduler job. API Provides customization hook to support custom logic.
Supported API: true
Supported API: true
Supported API: true- Overrides:
getEquivalentPartsForRepresentationJobin classAssociativeVisualizationDataControlDelegate- Parameters:
sourceRepresentables-- Returns:
- - Returns valid assembly parts based on equivalence criteria.
-
getAllocatedPartsForRepresentationJob
Supported API: true Filters out assembly parts from input sourceRepresentables allocated to latest iteration of MPMOperation. Collection of such parts are returned for generating new representation in Scheduler job. API Provides customization hook to support custom logic.
Supported API: true
Supported API: true- Overrides:
getAllocatedPartsForRepresentationJobin classAssociativeVisualizationDataControlDelegate- Parameters:
sourceRepresentables-- Returns:
- - Returns valid allocated assembly parts.
-
getEquivalentPartsForQuickViewJob
Supported API: true
Supported API: true- Overrides:
getEquivalentPartsForQuickViewJobin classAssociativeVisualizationDataControlDelegate- Parameters:
sourceRepresentables-- Returns:
- - Returns valid assembly parts based on equivalence criteria.
-
getAllocatedPartsForQuickViewJob
Supported API: true Filters out assembly parts from input sourceRepresentables allocated to latest iteration of MPMOperation. Collection of such parts are returned for generating/re-generating QuickView in Scheduler job. API Provides customization hook to support custom logic.
Supported API: true
Supported API: true- Overrides:
getAllocatedPartsForQuickViewJobin classAssociativeVisualizationDataControlDelegate- Parameters:
sourceRepresentables-- Returns:
- - Returns valid allocated assembly parts.
-
getResourcesForQuickViewJob
Supported API: true Filters out assembly MPMResources ( MPMWorkCenter invalid input: '&' MPMTooling) from input sourceRepresentables Collection of valid MPMWorkCenter invalid input: '&' MPMTooling are returned for generating/re-generating QuickView in Scheduler job. API Provides customization hook to support custom logic.
Supported API: true
Supported API: true- Overrides:
getResourcesForQuickViewJobin classAssociativeVisualizationDataControlDelegate- Parameters:
sourceRepresentables-- Returns:
- - Returns valid MPMResources for processing QuickView in scheduler job.
-
filterOwnerAssociationForRepresentationJob
public WTCollection filterOwnerAssociationForRepresentationJob(WTCollection partsWithoutDefRepresentation)
Supported API: true API filters out parts having owner association with EPMDocument. Such parts are skipped during new Representation creation. Provides customization hook if no filtering is needed. In such cases return empty collection. Supported API: true
Supported API: true- Overrides:
filterOwnerAssociationForRepresentationJobin classAssociativeVisualizationDataControlDelegate- Parameters:
partsWithoutDefRepresentation-- Returns:
-