Package com.ptc.windchill.esi.mpml.pmi
Class ESIStandardCCUsageToProcessPlanLinkRenderer
java.lang.Object
com.ptc.windchill.esi.rnd.BasicESIRenderer
com.ptc.windchill.esi.mpml.pmi.ESIStandardCCUsageToProcessPlanLinkRenderer
- All Implemented Interfaces:
ESIRenderer
Renders the links
Supported API: true
Extendable: true
MPMPartQualityLink, MPMProcessQualityLink and MPMOperationQualityLink
Supported API: true
Extendable: true
-
Field Summary
Fields inherited from class com.ptc.windchill.esi.rnd.BasicESIRenderer
adapterName, authentication, currentTarget, DELIMITER, objectTypeDefs, OPTIONSVARIANTS_HELPER_CLASS_STRING, SEPARATOR, taskHelper, XML_META_NAME -
Method Summary
Modifier and TypeMethodDescriptioncom.infoengine.object.factory.ElementadjustElement(com.infoengine.object.factory.Element elem, String group, ObjectToObjectLink sccUsageSPLLink, MPMProcessPlan stdProcedure, Collection targets) Allow subclasses to fix the contents of quality link element before it is added to the output group(s).voidPopulates the associated VdbBuilder instance with the response data for operation to part Links.Returns the set MPMWorkCenters rendered.protected Collection<MPMStdCCUsageToProcessPlanLink>[]Gets the value of the attribute: components.voidsetData(ObjectToObjectLink link, Collection<MPMStdCCUsageToProcessPlanLink>[] stdProcedureLinks, String auth, String wcAdapter, VdbBuilder builder) Sets the state of this renderer appropriately.protected voidvalidate()Validates the attributes which are required for this renderer to execute properly.Methods inherited from class com.ptc.windchill.esi.rnd.BasicESIRenderer
addAtt, adjustConfigurableAndCollapsibleAtts, adjustDateEffCxt, adjustDateEffectivities, adjustEffectivities, adjustLotNumberEffCxt, adjustLotNumberEffectivities, adjustObjectID, adjustSerialNumberEffCxt, adjustSerialNumberEffectivities, adjustTargets, buildUfidString, evaluateBussinessRule, fetchLatestEffectivities, formatDateEffectivityElement, getAdapterName, getAssignedVariantSpec, getAssignedVariantSpec, getAUMRenderer, getAuth, getBuilder, getEffectivityElementMap, getEffectivityHandler, getEffectivityTargetAttributes, getElements, getERPMaterialAttributeList, getERPMaterialAttributeList, getERPMaterialTargetAttributes, getFormatedDate, getGroupInfo, getGroupInfo, getGroupInfo, getMap, getMap, getMapInfo, getMapInfo, getMapInfo, getNavigationFilter, getObjectTypeDefs, getPlantSpecificAttributeList, getPlantSpecificAttributeList, getPlantSpecificTargetAttributes, getPreviousObject, getPreviousPublishedEffectivity, getTargetsFromAssns, getTargetUtility, getTransactionUtility, getUnwantedAttributes, getVersionRefObjectRefMap, getWCAttributeList, getWCAttributeList, initEffectivityHandler, initializeElementForGroup, invokeQueryTask, invokeQueryTask, invokeQueryTask, invokeQueryTaskForObjects, isExpressionToBePublished, isGroupAvailable, isPublishAssocOptionSetFlagEnabled, mapDateEffectivities, mapEffectivities, mapEffectivityAttributes, mapEffectivityElement, mapEffectivityParentElement, mapElement, mapElement, mapElement, mapElementWithEffectivityAttrs, mapLotNumberEffectivities, mapObject, mapObject, mapSerialNumberEffectivities, mergeElements, overrideAttrValue, populateDateEffectivityInfo, populateEffectivityInfo, processBussinessRulesWithAnd, processBussinessRuleValidationResultSet, processNoMatchingVersionFound, removeAttributesNotRequired, removeUnwantedEffectivityAttributes, render, renderAssociatedSkinnyVariantSpec, renderAssociatedVariantSpec, renderAssocOptionSetLinks, renderAssocSkinnyVariantSpec, renderAssocVariantSpec, renderATONavigationFilter, renderChoiceRules, renderEffectivities, renderEffectivities, renderExpressions, renderOptionSets, renderRoleBObjectOfModuleVariantLink, setAttrValue, setAttrValue, setAttrValues, setBuilder, setCurrentTarget, setCurrentTarget, setCurrentTargetFromTgtAssocs, setEffectivityHandler, setObjectTypeDefs, setObjectTypeDefs, setObjectTypeDefsFromObj, setStartEndEffAttr, setTransactionUtility, shallPublishAssocOptionSet, shouldRenderEffectivityElementInPartElement, shouldUseOldEffectivityBehaviour, storeCurrentAndItsPreviousObject, storeCurrentAndItsPreviousObject
-
Method Details
-
buildGroups
Populates the associated VdbBuilder instance with the response data for operation to part Links. It creates a collection of all the added, changed and unchanged links which is further processed by the ESIOperationRenderer.- Calls adjustObjectID().
- Calls adjustTargets().
Supported API: true- Specified by:
buildGroupsin classBasicESIRenderer- Throws:
ESIRendererExceptionWTException
-
adjustElement
public com.infoengine.object.factory.Element adjustElement(com.infoengine.object.factory.Element elem, String group, ObjectToObjectLink sccUsageSPLLink, MPMProcessPlan stdProcedure, Collection targets) throws ESIRendererException Allow subclasses to fix the contents of quality link element before it is added to the output group(s). Default behavior is to return the argument.
Supported API: true
- Parameters:
elem- - The element to be updated.group- - The logical name of the group to which the element will be added.targets- - Collection of ESITarget objects.qualityLink- - Quality link.controlCharacteristic- - Control characteristic.- Returns:
- Element
- Throws:
ESIRendererException- if any exception thrown by an ESIRenderer.
-
validate
Validates the attributes which are required for this renderer to execute properly.
Supported API: true- Specified by:
validatein classBasicESIRenderer- Throws:
ESIRendererException
-
setData
public void setData(ObjectToObjectLink link, Collection<MPMStdCCUsageToProcessPlanLink>[] stdProcedureLinks, String auth, String wcAdapter, VdbBuilder builder) throws WTException Sets the state of this renderer appropriately.
Supported API: true
- Parameters:
auth- - Authentication to be used while fetching the corresponding info engine elements of the control characteristics to be rendered.wcAdapter- - Name of the Windchill adapter instance to use when executing a webject.builder- - VdbBuilder instance to be populated with the response data.root- - A persistable object whose associated Quality Links have to be rendered in to the response. This object can be a Part, process plan or operation.qualityLinksToCCMaps- - An array of maps whose keys are the quality links and the values are corresponding control characteristics. index 0 - added quality links, 1- deleted, 2- changed, 3- unchanged and corresponding control characteristics.- Throws:
WTException- if any of the invoked methods throws this exception.
-
getSccUsageToStdProcedureLinks
Gets the value of the attribute: components.
Supported API: true- Returns:
- Collection[]
-
getRenderedStdProcedures
Returns the set MPMWorkCenters rendered.
Supported API: true- Returns:
- the set MPMWorkCenters rendered.
-