Interface LogicSeparatedDataUtility

All Superinterfaces:
DataUtility
All Known Implementing Classes:
com.ptc.core.components.factory.dataUtilities.AbstractAttributeDataUtility, AbstractMailToDataUtility, com.ptc.core.components.factory.dataUtilities.DefaultDataUtility, DesignContextNameDataUtility, EquivalenceNetworkDataUtility, FloatingBaselineMemberStatusDataUtility, com.ptc.windchill.lotbaseline.data.util.LotBaselinableMultiObjectDataUtility, MpmlSequenceCategoryDataUtility, com.ptc.core.components.factory.dataUtilities.NameDataUtility, com.ptc.core.components.factory.dataUtilities.NameNumberDataUtility, NewCadDocFileNameDataUtility, NewCadDocNameDataUtility, NewCadDocNumberDataUtility, com.ptc.core.components.factory.dataUtilities.NumberDataUtility, PartSupplierStatusDataUtility, SmartCollectionDataUtility, com.ptc.core.components.factory.dataUtilities.StringDataUtility, TraceCodeDataUtility

public interface LogicSeparatedDataUtility extends DataUtility
Interface for providing the getGWTRendererType() contract. This interface replaces the DefaultColumnConfig.setRendererType() API. This interface is intended to consolidate the data utilities and their associated cell renderers (if any). In GWT applications the LogicSeparatedDataUtility defines the plain/raw values that should be returned to the client side. To be able to handle those raw data values, a special renderer may be needed. However, not all data utilities require special handling of their data, therefore the this interface exists to allow renderers to be specified on an as-needed basis.

Supported API: true

Extendable: true
  • Field Details

  • Method Details

    • getPlainDataValue

      Object getPlainDataValue(String component_id, Object datum, ModelContext mc) throws WTException
      This methods retrieves the plain data from the DataUility. Any processing that occurs to the raw data still occurs, but the value is not wrapped in a GUIComponent.
      Parameters:
      component_id - The id to build a view object for
      datum - The object to extract model data from
      mc - The context in which the component model data is being extracted
      Returns:
      An object that can be sent to a view for rendering
      Throws:
      WTException - If a problem occurs while extracting the data.

      Supported API: true
    • getGWTRendererType

      default String getGWTRendererType()
      Retrieves the GWT cell renderer responsible for rendering the data returned by LogicSeparatedDataUtility.getPlainDataValue()

      Supported API: true
    • getGWTEditorType

      default String getGWTEditorType()
      Retrieves the GWT cell editor responsible for editing the data.

      Supported API: true