Class AutomateFastTrackDataUtility

java.lang.Object
com.ptc.core.components.factory.AbstractDataUtility
com.ptc.windchill.enterprise.change2.dataUtilities.AutomateFastTrackDataUtility
All Implemented Interfaces:
DataUtility

public class AutomateFastTrackDataUtility extends AbstractDataUtility
This class is responsible for rendering the "Automate Fast Track" GUI component and the change notice template selection drop-down for WorkItem Create New Change Notice task page.

Supported API: true

Extendable: false
  • Method Details

    • getDataValue

      public Object getDataValue(String componentId, Object datum, ModelContext mc) throws WTException
      This method takes in a componentId (as string), a WorkItem (cast to an Object) and a ModelContext. A GuiComponent with a CheckBox and drop-down is returned. This method should not be called with any other componentId except for the string identifying the AUTOMATE_FASTTRACK as defined in the resource com.ptc.windchill.enterprise.change2. ChangeManagementDescriptorConstants class.

      Supported API: true
      Parameters:
      componentId - 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
    • getCreateChangeNoticeWfTaskName

      @Deprecated public static String getCreateChangeNoticeWfTaskName()
      Deprecated.
      use
      invalid reference
      ChangeManagementClientHelper#getCreateChangeNoticeWfTaskName()
      Defines the localized string for the name of the "Create New Change Notice" workflow assignments. Localization of workflow templates for Change Management objects are not supported yet. If customization has been to support localization for change work flows, this method can be overridden to define the localized string for the Create Change Notice task name.

      Supported API: true
      Returns:
      the localized string for the "Create New Change Notice" work flow assignment.