Class WorkSetCompServiceCommand

java.lang.Object
com.ptc.windchill.enterprise.workSet.commands.WorkSetCompServiceCommand
All Implemented Interfaces:
Serializable, RemoteAccess

public class WorkSetCompServiceCommand extends Object implements RemoteAccess, Serializable
Query class used to obtain the contents for tables of and related to wt.change2.workset.WTWorkSet. such as related component and related Work Sets of components used by the information pages.

Supported API: true

Extendable: true
See Also:
  • Method Details

    • getAssociatedComponents

      public static QueryResult getAssociatedComponents(WTWorkSet workSet) throws WTException
      Retrieves the associated components of a Work Set.

      Supported API: true
      Parameters:
      workSet - The Work Set object.
      Returns:
      a query result of the associated components.
      Throws:
      WTException
    • getRelatedWorkSets

      public static QueryResult getRelatedWorkSets(NmCommandBean cb) throws WTException
      Retrieves the related Work Sets of a context object if the context object is a changeable type. Related Work Sets include Work Sets the context object is a component of or Work Sets a WTDocument references

      Supported API: true
      Parameters:
      cb - The client data.
      Returns:
      a query result of the related Work Sets.
      Throws:
      WTException
    • getReferenceDocuments

      public static QueryResult getReferenceDocuments(NmCommandBean cb) throws WTException
      Retrieves the associated reference documents of a Work Set.

      Supported API: true
      Parameters:
      cb - The client data.
      Returns:
      a query result of the associated reference documents.
      Throws:
      WTException