public class WorkflowTemplateDeletionMonitor
extends java.lang.Object
| Constructor and Description |
|---|
WorkflowTemplateDeletionMonitor() |
| Modifier and Type | Method and Description |
|---|---|
static void |
canDeactivate(Mbo mbo)
Check to see whether a comm template's status can be changed to INACTIVE from the standpoint of workflow.
|
static void |
doCheck(Mbo mbo)
Checks to see that the Mbo isn't the target of a workflow instance.
|
public static void doCheck(Mbo mbo) throws java.rmi.RemoteException, MXException
mbo - The Mbo being marked for deletion.MXApplicationException - Thrown with "workflow", "AssignNoDelTemplate" if the
communication template is referenced by an assignment in a process definition. Parameters are
the template ID, process name, and process revision.MXApplicationException - Thrown with "workflow", "NotifNoDelTemplate" if the
communication template is referenced by an notification in a process definition. Parameters are
the template ID, process name, and process revision.java.rmi.RemoteExceptionMXExceptionpublic static void canDeactivate(Mbo mbo) throws java.rmi.RemoteException, MXException
mbo - The comm template mbo which status is to be changed to INACTIVE.MXApplicationException - Thrown with "workflow" and either "AssignNoDeactivateTemplate" or
"NotifNoDeactivateTemplate", with parameters of the templateID, and the name and revision of the
process that references the CommTemplate.java.rmi.RemoteExceptionMXException