Class SubmissionCommands
java.lang.Object
com.ptc.windchill.enterprise.change2.commands.SubmissionCommands
- All Implemented Interfaces:
Serializable,RemoteAccess
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
Supported API: true
Extendable: false
- See Also:
-
Field Summary
Fields inherited from interface wt.method.RemoteAccess
versionID -
Method Summary
Modifier and TypeMethodDescriptionstatic booleancheckIsSubmitNow(NmCommandBean cb, WTContainerRef container) This method checks to see of the object being passed in isLifeCycleManaged.
-
Method Details
-
checkIsSubmitNow
public static boolean checkIsSubmitNow(NmCommandBean cb, WTContainerRef container) throws WTException This method checks to see of the object being passed in isLifeCycleManaged. If it is then the method checks if the object is in the intialPhasedefined 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 objectcontainer- 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
-