Class DefaultCAPACreateChangeNoticeHandler

java.lang.Object
com.ptc.qualitymanagement.capa.plan.handler.DefaultCAPACreateChangeNoticeHandler
All Implemented Interfaces:
CAPACreateChangeNoticeHandler

public class DefaultCAPACreateChangeNoticeHandler extends Object implements CAPACreateChangeNoticeHandler
Default implementation of the AutomateFastTrackHandler interface for use by the task page processing.
See Also:
  • Constructor Details

    • DefaultCAPACreateChangeNoticeHandler

      public DefaultCAPACreateChangeNoticeHandler()
      Default constructor

      Supported API: true
  • Method Details

    • createChangeNoticeFromChangeRequest

      public WTChangeOrder2 createChangeNoticeFromChangeRequest(com.ptc.qualitymanagement.capa.request.CAPAChangeRequest changeRequest, com.ptc.qualitymanagement.capa.plan.CAPAChangeActivity capaChangeActivity) throws WTException
      Given an existing change request, create a new change order with the same name, and associate it with the given change request.

      Supported API: true
      Specified by:
      createChangeNoticeFromChangeRequest in interface CAPACreateChangeNoticeHandler
      Parameters:
      changeRequest - - An existing change request in the process of being submitted.
      capaChangeActivity -
      Returns:
      WTChangeOrder2
      Throws:
      WTException
    • createChangeNoticeInstance

      protected WTChangeOrder2 createChangeNoticeInstance(WTContainer wtContainer, com.ptc.qualitymanagement.capa.plan.CAPAChangeActivity capaChangeActivity) throws WTException
      Given the container this method creates a Change Notice object. The Change Notice is created from the default creatable type if it is in the list of creatable types for the user. If the default creatable type is not in the list of creatable types the first creatable type is used to create the Change Notice.

      Supported API: true
      Parameters:
      wtContainer - The container that the object is to created in.
      Returns:
      The Change Notice object.
      Throws:
      WTException - if an error occurs.