Class ESIAbstractEDRenderer

java.lang.Object
com.ptc.windchill.esi.rnd.BasicESIRenderer
com.ptc.windchill.esi.enterprisedata.ESIAbstractEDRenderer
All Implemented Interfaces:
ESIRenderer
Direct Known Subclasses:
ESIAbstractStructureRenderer, ESIWTPartRenderer

public abstract class ESIAbstractEDRenderer extends BasicESIRenderer
Renders the output of EnterpriseData in ESI response.

Supported API: true

Extendable: true
  • Method Details

    • adjustEnterpriseDataElement

      protected com.infoengine.object.factory.Element adjustEnterpriseDataElement(String groupName, com.infoengine.object.factory.Element partElement, com.infoengine.object.factory.Element enterpriseDataElement, EnterpriseData enterpriseData, Collection targets)
      Allows subclasses to fix the contents of an info engine element.

      Supported API: true
      Parameters:
      groupName - - Name of the group in ESI response for which to adjust the info engine element.
      partElement - - WTPart element that is relevant to the operation.
      enterpriseDataElement - - EnterpriseData info engine element whose contents need to be adjusted.
      enterpriseData - - EnterpriseData that is relevant to the operation.
      targets - - Collection of ESITarget objects.
      Returns:
      - The adjusted Element. OOTB API does not do any adjustments on input eleemnt
    • adjustPFDElement

      protected com.infoengine.object.factory.Element adjustPFDElement(String groupName, com.infoengine.object.factory.Element partElement, com.infoengine.object.factory.Element enterpriseDataElement, EnterpriseData enterpriseData, com.ptc.windchill.enterprise.data.PlantFunctionalData plantFunctionalData, String description, Collection targets)
      Allows subclasses to fix the contents of an info engine element.

      Supported API: true
      Parameters:
      groupName - - Name of the group in ESI response for which to adjust the info engine element.
      partElement - - WTPart element that is relevant to the operation.
      enterpriseDataElement - - EnterpriseData info engine element whose contents need to be adjusted.
      enterpriseData - - EnterpriseData that is relevant to the operation.
      targets - - Collection of ESITarget objects.
      PlantFunctionalData - - PlantFunctionalData that is relevant to the operation.
      Description - - Description that is relevant to the operation.
      Returns:
      - The adjusted Element. OOTB API does not do any adjustments on input eleemnt
    • getAddedGroupName

      protected abstract String getAddedGroupName()
      Returns the added group name for currently rendering resource.

      Supported API: true
      Returns:
      The added group name for currently rendering resource. For example : In case of Tooling, returns ESIConst.ADDED_TOOLING.
    • getChangedGroupName

      protected abstract String getChangedGroupName()
      Returns the changed group name for currently rendering resource.

      Supported API: true
      Returns:
      The added group name for currently rendering resource. For example : In case of Tooling, returns ESIConst.CHANGED_TOOLING.
    • getUnchangedGroupName

      protected abstract String getUnchangedGroupName()
      Returns the unchanged group name for currently rendering resource.

      Supported API: true
      Returns:
      The added group name for currently rendering resource. For example : In case of Tooling, returns ESIConst.UNCHANGED_TOOLING.