Class AssociativeVisualizationDataControlDelegate
java.lang.Object
com.ptc.windchill.associativity.viz.VisualizationDataControlDelegate
com.ptc.windchill.associativity.viz.AssociativeVisualizationDataControlDelegate
- Direct Known Subclasses:
MPMLVisualizationDataControlDelegate
Default blank implementation for providing customization hooks for controlling visualization related data.
Supported API: true
Extendable: true
Supported API: true
Extendable: true
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Supported API: true Based on the API the generate/re-generate of QuickView will validate publish rules.filterOwnerAssociationForRepresentationJob(WTCollection partsWithoutDefRepresentation)
Supported API: true API filters out parts having owner association with EPMDocument.findPartRepresentablesForQuickViewJob(WTContainerRef parentContainerReference, WVSContentHelper.IterationType iterationType)
Supported API: true Controls the query to find parts valid for generating/re-generating QuickView in Scheduler job based on input container.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.
Supported API: true Returns default representation description for scheduler job.
Supported API: true Returns default representation name for scheduler job.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.getResourcesForRepresentationJob(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 new representation in Scheduler job.Collection<com.ptc.core.foundation.associativity.AssociativityProperties.SchedulerCriteriaType>
Supported API: true API returns the criteria for collecting representables for scheduler jobs.booleanisValidForRepRepublishJob(Representable representable, Representation defaultRepresentation)
Supported API: true Provides customization hook to validate and return if representable is valid for republishing of representation.Methods 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- Specified by:
findPartRepresentablesForRepresentationJobin classVisualizationDataControlDelegate- 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- Specified by:
getEquivalentPartsForRepresentationJobin classVisualizationDataControlDelegate- 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- Specified by:
getAllocatedPartsForRepresentationJobin classVisualizationDataControlDelegate- Parameters:
sourceRepresentables-- Returns:
- - Returns valid allocated assembly parts.
-
getResourcesForRepresentationJob
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 new representation in Scheduler job. API Provides customization hook to support custom logic.
Supported API: true- Specified by:
getResourcesForRepresentationJobin classVisualizationDataControlDelegate- Parameters:
sourceRepresentables-- Returns:
- - Returns valid MPMResources for processing of default representation
-
isValidForRepRepublishJob
public boolean isValidForRepRepublishJob(Representable representable, Representation defaultRepresentation)
Supported API: true Provides customization hook to validate and return if representable is valid for republishing of representation. Supported API: true- Specified by:
isValidForRepRepublishJobin classVisualizationDataControlDelegate- Parameters:
representable-defaultRepresentation-- Returns:
-
findPartRepresentablesForQuickViewJob
public WTCollection findPartRepresentablesForQuickViewJob(WTContainerRef parentContainerReference, WVSContentHelper.IterationType iterationType)
Supported API: true Controls the query to find parts valid for generating/re-generating QuickView in Scheduler job based on input container. This collection is further filtered out based on MPMLink criteria to generate/re-generate QuickView API Provides customization hook to support custom logic.
Supported API: true- Specified by:
findPartRepresentablesForQuickViewJobin classVisualizationDataControlDelegate- Parameters:
iterationType-- Returns:
- - Returns latest iterations of assembly parts in the given container(s).
-
getEquivalentPartsForQuickViewJob
Supported API: true- Specified by:
getEquivalentPartsForQuickViewJobin classVisualizationDataControlDelegate- 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- Specified by:
getAllocatedPartsForQuickViewJobin classVisualizationDataControlDelegate- 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- Specified by:
getResourcesForQuickViewJobin classVisualizationDataControlDelegate- 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- Specified by:
filterOwnerAssociationForRepresentationJobin classVisualizationDataControlDelegate- Parameters:
partsWithoutDefRepresentation-- Returns:
-
getDefaultRepresentationName
Supported API: true Returns default representation name for scheduler job.
Supported API: true- Specified by:
getDefaultRepresentationNamein classVisualizationDataControlDelegate- Returns:
-
getDefaultRepresentationDescription
Supported API: true Returns default representation description for scheduler job.
Supported API: true- Specified by:
getDefaultRepresentationDescriptionin classVisualizationDataControlDelegate- Returns:
-
doValidateQuickViewPublishRules
public boolean doValidateQuickViewPublishRules()
Supported API: true Based on the API the generate/re-generate of QuickView will validate publish rules. If true, then publish rules would be checked else publish rules would be skipped from validation.
Supported API: true- Specified by:
doValidateQuickViewPublishRulesin classVisualizationDataControlDelegate- Returns:
-
getSchedulerCriteriaTypes
public Collection<com.ptc.core.foundation.associativity.AssociativityProperties.SchedulerCriteriaType> getSchedulerCriteriaTypes()
Supported API: true API returns the criteria for collecting representables for scheduler jobs. Default values are EQUIVALENCE, MPMOPERATION, MPMRESOURCE EQUIVALENCE - The assembly parts having upstream equivalent would be collected MPMOPERATION - The allocated assembly parts to MPMOperation are collected. MPMRESOURCE - Collects assembly MPMResources ( MPMWorkCenter invalid input: '&' MPMTooling) for scheduled jobs.
Supported API: true- Specified by:
getSchedulerCriteriaTypesin classVisualizationDataControlDelegate- Returns:
-