Class MPMProcessPlanHelper

java.lang.Object
com.ptc.windchill.mpml.processplan.MPMProcessPlanHelper

public class MPMProcessPlanHelper extends Object
This helper is used to access an implementation of MPMProcessPlanService via the static reference MPMProcessPlanHelper.service.

Supported API: true

Extendable: false
  • Field Details

  • Method Details

    • getSequenceHolder

      public static MPMSequenceHolder getSequenceHolder(MPMOperationUsageLink link, NCServerHolder nc_server_holder) throws WTException
      Gets the sequence holder out out of operation usage link. It navigates through passed operation usage link and fetches first immediate parent in tree hierarchy which is of type sequence holder.

      Supported API: true
      Parameters:
      link -
      nc_server_holder -
      Returns:
      MPMSequenceHolder
      Throws:
      WTException
    • getProcessPlan

      public static MPMProcessPlan getProcessPlan(MPMOperationUsageLink link, NCServerHolder nc_server_holder) throws WTException
      Gets the process plan out of operation usage link. It navigates through passed operation usage link and fetches first immediate parent in tree hierarchy which is of type process plan.

      Supported API: true
      Parameters:
      link -
      nc_server_holder -
      Returns:
      MPMProcessPlan
      Throws:
      WTException
    • getProcessPlanFromSequence

      public static MPMProcessPlan getProcessPlanFromSequence(MPMSequence sequence, NCServerHolder nc_server_holder) throws WTException
      Gets process plan for the provided sequence. It navigates through passed sequence and fetches first immediate parent in tree hierarchy which is of type process plan.

      Supported API: true
      Parameters:
      sequence -
      nc_server_holder -
      Returns:
      MPMProcessPlan
      Throws:
      WTException
    • getOperationHolderFromOperation

      public static MPMOperationHolder getOperationHolderFromOperation(MPMOperation operation, NCServerHolder nc_server_holder) throws WTException
      Gets immediate parent of operation.

      Supported API: true
      Parameters:
      operation -
      nc_server_holder -
      Returns:
      Throws:
      WTException