Class ESIOperationWorkCenterRenderer
java.lang.Object
com.ptc.windchill.esi.rnd.BasicESIRenderer
com.ptc.windchill.esi.mpml.processplan.operation.ESIOperationWorkCenterRenderer
- All Implemented Interfaces:
ESIRenderer
Renders com.ptc.windchill.mpml.processplan.operation.MPMOperationToWorkCenterLink objects.
Supported API: true
Extendable: true
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, MPMOperationToWorkCenterLink workCenterLink, MPMWorkCenterMaster workCenter, Collection targets) Allow subclasses to fix the contents of an element before it's added to the output group(s).voidPopulates the associated VdbBuilder instance with the response data for Operation to WorkCenter Links.Returns the set MPMWorkCenters rendered.protected MPMOperationgetRoot()Gets the value of the attribute: root.protected Collection<ESITargetAssociation> Gets the value of the attribute: targets.protected StringDeprecated.protected Collection[]Gets the value of the attribute: workcenters.voidsetData(MPMOperation root, Collection[] workCenterLinks, Collection<ESITargetAssociation> targetAssociations, String auth, String wcAdapter) Set this renderer's member variables that are necessary for rendering operation to work center links.protected voidvalidate()Force all subclasses to implement the method.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
-
getTargets
Gets the value of the attribute: targets.
Supported API: true- Returns:
- Collection
-
getWorkcenters
Gets the value of the attribute: workcenters.
Supported API: true- Returns:
- Collection[]
-
getRoot
Gets the value of the attribute: root.
Supported API: true- Returns:
- MPMOperation
-
getWcAdapter
Deprecated.Returns the value of the attribute adapterName. This attribute holds the name of the Windchill Adapter instance where the Query-Objects webject is to be executed.- Returns:
- The value stored in the field adapterName.
-
buildGroups
Populates the associated VdbBuilder instance with the response data for Operation to WorkCenter Links.
Supported API: true- Specified by:
buildGroupsin classBasicESIRenderer- Throws:
ESIRendererException- if any exception thrown by an ESIRenderer.
-
setData
public void setData(MPMOperation root, Collection[] workCenterLinks, Collection<ESITargetAssociation> targetAssociations, String auth, String wcAdapter) throws WTException Set this renderer's member variables that are necessary for rendering operation to work center links.
Supported API: true- Parameters:
root- - Object (operation) for which to process operation to work center links.workCenterLinks- - Array of collections of added, deleted, changed and unchanged operation to work center links.targetAssociations- - Collection of target associations.auth- - Info*Engine authentication information to use when executing a query task.wcAdapter- - Windchill adapter instance name to use when executing a webject.- Throws:
WTException- if any of the invoked methods throws this exception.
-
validate
Force all subclasses to implement the method. The concrete method is expected to examine the attributes of the object and throw an exception if they are not set properly.
Supported API: true- Specified by:
validatein classBasicESIRenderer- Throws:
ESIRendererException- if any exception thrown by an ESIRenderer.
-
adjustElement
public com.infoengine.object.factory.Element adjustElement(com.infoengine.object.factory.Element elem, String group, MPMOperationToWorkCenterLink workCenterLink, MPMWorkCenterMaster workCenter, Collection targets) throws ESIRendererException Allow subclasses to fix the contents of an element before it's 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.workCenterLink- - Operation to WorkCenter link.workCenter- - Mater of the WorkCenter object associated with input operation to workcenter link.targets- - Collection of ESITarget objects.- Returns:
- Info*Engine element containing the response data of input operation to workcenter link.
- Throws:
ESIRendererException- if any exception thrown by an ESIRenderer.
-
getRenderedWorkCenters
Returns the set MPMWorkCenters rendered.
Supported API: true- Returns:
- the set MPMWorkCenters rendered.
-
BasicESIRenderer.getAdapterName()instead.Supported API: true