Class SelectedChoicesInfoRenderer

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

public class SelectedChoicesInfoRenderer extends BasicESIRenderer
Renders Option, Choice

Supported API: true

Extendable: true
  • Method Details

    • setdata

      protected void setdata(ATONavigationFilter atoOptionFilter, Map<String,Set<String>> selectedOptionChoiceMap, ESITarget currentTarget, String auth) throws WTException
      Initializes this renderer instance appropriately.

      Supported API: true
      Parameters:
      atoOptionFilter - - Object which is referring to the ATONavigaitonFilter which in turns contain the Selected Options and choices
      selectedOptionChoiceMap - - Map with the OptionId as key and a set of its choiceIds as its value.
      currentTarget - - Distribution target to which the option is being processed.
      auth - - This parameter contains authentication information required for executing certain Windchill adapter webjects as part of the rendering process.
      auth - - Authentication information for Info*Engine tasks.
      Throws:
      WTException
    • 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
    • buildGroups

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


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

      protected com.infoengine.object.factory.Element adjustSelectedChoicesElement(com.infoengine.object.factory.Element element, Persistable context, String groupName, ATONavigationFilter optionFilter, Collection<ESITarget> targets)
      Allow subclasses to fix the contents of an element.

      Supported API: true
      Parameters:
      element - - I*E element containing the input attributes that are to be mapped to the output Element.
      context - - Current Context
      groupName - - A logical group name for the respective object to perform mapping.
      optionFilter - - Contains selected options and choices
      targets - - Collection of ESITargets instances
    • getOptionAndChoices

      public void getOptionAndChoices(ATONavigationFilter atoOptionFIlter, Map<String,Set<String>> selectedOptionChoiceMap, String auth, VdbBuilder builder) throws WTException
      Renders the options and choices available in the input map "allOptionsAndChoicesToBeRendered".

      Supported API: true
      Parameters:
      selectedOptionChoiceMap - - Map with the OptionId as key and a set of its choiceIds as its value.
      auth - - This parameter contains authentication information required for executing certain Windchill adapter webjects as part of the rendering process.
      builder - - The VdbBuilder to use when creating output.
      optionFilter - - Object which is referring to the ATONavigaitonFilter which in turns contain the Selected options and choices
      paramsMap - - Can be used to pass additional data to this renderer. Currently this is not being used by Out-Of-box code.
      Throws:
      WTException