Package com.ptc.windchill.esi.ov
Class ExpressionRenderer
java.lang.Object
com.ptc.windchill.esi.rnd.BasicESIRenderer
com.ptc.windchill.esi.ov.ExpressionRenderer
- All Implemented Interfaces:
ESIRenderer
This class renders the output of expressions assigned to expressionable/choicemappable object.
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 TypeMethodDescriptionprotected com.infoengine.object.factory.ElementadjustElement(com.infoengine.object.factory.Element elem, String expr, Expressionable expressionable, OptionSet optionSet, IndependentAssignedExpression iaExpression) Allow subclasses to fix I*E elements.protected voidRenders Independent Assigned Expression object, populates the associated VdbBuilder instance with the respective object information and invokes the renderer for rendering Option and Choice objects.voidsetData(Collection<Expressionable> contexts, Expressionable optionSetAssignable, String auth, String adapter, VdbBuilder builder, com.infoengine.object.factory.Element element) Establish the renderer's state so that it can process requests.protected voidvalidate()Validate expression members for alias.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
-
adjustElement
protected com.infoengine.object.factory.Element adjustElement(com.infoengine.object.factory.Element elem, String expr, Expressionable expressionable, OptionSet optionSet, IndependentAssignedExpression iaExpression) Allow subclasses to fix I*E elements.
Supported API: true- Parameters:
elem- : I*E Elementexpr- : String expression representationexpressionable- : Object expression assigned tooptionSet- : Option set assigned to rootiaExpression- : IAExpression associated to expressionable object, is available- Returns:
-
buildGroups
Renders Independent Assigned Expression object, populates the associated VdbBuilder instance with the respective object information and invokes the renderer for rendering Option and Choice objects.
Supported API: true- Specified by:
buildGroupsin classBasicESIRenderer- Throws:
ESIRendererException
-
setData
public void setData(Collection<Expressionable> contexts, Expressionable optionSetAssignable, String auth, String adapter, VdbBuilder builder, com.infoengine.object.factory.Element element) throws ESIRendererException Establish the renderer's state so that it can process requests.
Supported API: true- Parameters:
contexts- : Collection of expressionable objectsoptionSetAssignable- : Root object, options set assigned toauth- :adapter- :builder- : Current VDBBuilderelement- : Current IE*Element- Throws:
ESIRendererException
-
validate
Validate expression members for alias.
Supported API: true- Specified by:
validatein classBasicESIRenderer- Throws:
ESIRendererException
-