Class RuleMemberLinkRenderer

java.lang.Object
com.ptc.windchill.esi.rnd.BasicESIRenderer
com.ptc.windchill.esi.ov.RuleMemberLinkRenderer
All Implemented Interfaces:
ESIRenderer

public class RuleMemberLinkRenderer extends BasicESIRenderer
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
  • Method Details

    • buildGroups

      protected void buildGroups() throws ESIRendererException
      Renders the input Choice Rule and its related objects as added objects based on their release history.


      Supported API: true
      Specified by:
      buildGroups in class BasicESIRenderer
      Throws:
      ESIRendererException
    • validate

      protected void validate() throws ESIRendererException
      Method ensures that the data needed to execute this renderer is passed in correctly.

      Supported API: true
      Specified by:
      validate in class BasicESIRenderer
      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*Element
      groupName - : Bucked Name
      expressionMemberLink - : Link between conditional rule and member choice master.
      choiceRule - : Conditional rule
      choice - : Member choice
      option - : Option of choice
      targets - : Current target
      Returns: