Class ConfigSpecRenderer

All Implemented Interfaces:
ESIRenderer

public class ConfigSpecRenderer extends NavigationCriteriaAssociatedObjectRenderer
Renders Choice and Group

Supported API: true

Extendable: true
  • Method Details

    • getAllConfigSpecs

      public void getAllConfigSpecs(WTPart contextPart, NavigationCriteria navCriteria, String groupName, String authentication, VdbBuilder builder) throws WTException
      Renders the all configSpecs related to the input variantSpec.

      Supported API: true
      Parameters:
      navCriteria -
      builder - - The VdbBuilder to use when creating output.
      context - - Object for which the configSpec has to rendered(VariantSpec) code.
      part -
      auth - - This parameter contains authentication information required for executing certain Windchill adapter
      Throws:
      WTException
    • buildGroups

      protected void buildGroups() throws ESIRendererException
      Renders the all configSpecs related to a VariantSpec which includes StandardConfigSPec, BaselineConfigSpec,PromotionNoticeConfigSpec, EffectivityConfigSpec and AsMaturedConfigSpec.
      Supported API: true
      Specified by:
      buildGroups in class BasicESIRenderer
      Throws:
      ESIRendererException
    • adjustConfigSpecElement

      protected com.infoengine.object.factory.Element adjustConfigSpecElement(com.infoengine.object.factory.Element element, Persistable context, String groupName, WTPartConfigSpec partConfigSpec, Collection<ESITarget> tgts2, String standardConfigSpecId)
      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:
      element - - The element to be updated.
      context - - Persistable object in the context of which this configSPec information has to rendered.
      groupName - - The logical name of the group to which the element will be added.
      partConfigSpec - - The WTPartConfigSpec that is being processed.
      targets - - The collection of ESITarget objects.
      Returns:
      updated element.