Class ChangeDirectiveQueryCommands

java.lang.Object
com.ptc.windchill.enterprise.changeDirective.commands.ChangeDirectiveQueryCommands
All Implemented Interfaces:
RemoteAccess

public class ChangeDirectiveQueryCommands extends Object implements RemoteAccess
Query class used to obtain the default contents of the change tables, such as affected end items, affected objects, resulting items, used by the information pages and the wizards.

Supported API: true

Extendable: true
  • Method Details

    • getImpactedItems

      public static List<WTPart> getImpactedItems(NmCommandBean cb)
      Get the list of items to show in the impacted items table.

      Supported API: true
      Parameters:
      cb - The command bean for the current client
      Returns:
      The list of WTPartMasters to display in the table.
    • getChangeActions

      public static List<ChangeAction> getChangeActions(NmCommandBean cb)
      Get the list of items to show in the change action table

      Supported API: true
      Parameters:
      cb - The command bean for the current client
      Returns:
      The list of Change Actions to display in the table.
    • getChangeActionsByState

      public static List<ChangeAction> getChangeActionsByState(WTChangeDirective directive, ActionState state)
      Get the list of ChangeActions of the Change Directive by the given action state.

      Supported API: true
      Parameters:
      directive - The Change Directive
      Returns:
      The list of Change Actions with the given state.
    • getImpactingDirectives

      public static List<WTChangeDirective> getImpactingDirectives(NmCommandBean cb)
      Get the list of items to show in the impacting directives table.

      Supported API: true
      Parameters:
      cb - The command bean for the current client
      Returns:
      The list of WTChangeDirectives to display in the table.