Class SubmissionCommands

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

public class SubmissionCommands extends Object implements RemoteAccess, Serializable
This class is an implementation of Submit Now functionality used for various change objects. The current implementation of Submit Now functionality is to advance the LifeCycleState of the change object. In order to enable Submit Now functionality, the Windchill system must include a specific synchronization robot in the workflow defined for the change object being submitted.

Supported API: true

Extendable: false
See Also:
  • Method Details

    • checkIsSubmitNow

      public static boolean checkIsSubmitNow(NmCommandBean cb, WTContainerRef container) throws WTException
      This method checks to see of the object being passed in is LifeCycleManaged. If it is then the method checks if the object is in the intial Phase defined by the LifeCycleTemplate. If the object is in the initial phase, processing continues via a remote method invocation to check for existence of a synchronization robot with a specific name. If the synchronization robot is found, Submit Now functionality has been enabled in the Windchill system.

      Supported API: true
      Parameters:
      cb - The NmCommandBean that stores a reference to the Windchill object
      container - A reference to the container of the object being submitted
      Returns:
      boolean If the Windchill object's workflow contains the specified workflow synchronization robot, return true
      Throws:
      WTException