Package com.ptc.windchill.esi.ov
Class RuleMemberLinkRenderer
java.lang.Object
com.ptc.windchill.esi.rnd.BasicESIRenderer
com.ptc.windchill.esi.ov.RuleMemberLinkRenderer
- All Implemented Interfaces:
ESIRenderer
This class renders the output of Link between Choice Rule and its source member.
Source Choice in case of basic rules.
ExpressionMemberLink in case of Conditional Rules
Supported API: true
Extendable: true
Source Choice in case of basic rules.
ExpressionMemberLink in case of Conditional Rules
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.ElementadjustRuleMemberLinkElement(com.infoengine.object.factory.Element element, String groupName, ExpressionMemberLink expressionMemberLink, ChoiceRule choiceRule, Choice choice, Option option, Collection<ESITarget> targets) Allow subclasses to fix the contents of an element.protected voidRenders the input Choice Rule and its related objects as added objects based on their release history.
Supported API: truevoidsetData(Map<ChoiceRule, Set<RuleMemberBean>> _ruleMemberLinks, Persistable _pbo, Map<ChoiceRule, ChoiceRule> _currentPreviousChoiceRuleMap, Collection<ChoiceRule>[] _choiceRuleDiff, ESITarget _target) Establish the renderer's state so that it can process requests.protected voidvalidate()Method ensures that the data needed to execute this renderer is passed in correctly.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
Renders the input Choice Rule and its related objects as added objects based on their release history.
Supported API: true- Specified by:
buildGroupsin classBasicESIRenderer- Throws:
ESIRendererException
-
validate
Method ensures that the data needed to execute this renderer is passed in correctly.
Supported API: true- Specified by:
validatein classBasicESIRenderer- Throws:
ESIRendererException
-
setData
public void setData(Map<ChoiceRule, Set<RuleMemberBean>> _ruleMemberLinks, Persistable _pbo, Map<ChoiceRule, ChoiceRule> _currentPreviousChoiceRuleMap, Collection<ChoiceRule>[] _choiceRuleDiff, ESITarget _target) Establish the renderer's state so that it can process requests.
Supported API: true- Parameters:
_ruleMemberLinks- : Map of choice rule and collection of rule member beans_pbo- : Primary object on which publishing is executed_currentPreviousChoiceRuleMap- : Map of new current choice rule and already published choice rule iteration if any._choiceRuleDiff- : Collection array of size 3 of choice rules. 0- Added, 1- Changed and 2 is index of unchanged rules._target- : Current target
-
adjustRuleMemberLinkElement
protected com.infoengine.object.factory.Element adjustRuleMemberLinkElement(com.infoengine.object.factory.Element element, String groupName, ExpressionMemberLink expressionMemberLink, ChoiceRule choiceRule, Choice choice, Option option, Collection<ESITarget> targets) Allow subclasses to fix the contents of an element.
Supported API: true- Parameters:
element- : Current IE*ElementgroupName- : Bucked NameexpressionMemberLink- : Link between conditional rule and member choice master.choiceRule- : Conditional rulechoice- : Member choiceoption- : Option of choicetargets- : Current target- Returns:
-