public class WorkflowTargetDeletionMonitor
extends java.lang.Object
Constructor and Description |
---|
WorkflowTargetDeletionMonitor() |
Modifier and Type | Method and Description |
---|---|
static void |
delete(Mbo mbo)
This method should be only called with the check above returns without an exception.
|
static void |
doCheck(Mbo mbo)
Checks to see that the Mbo isn't the target of a workflow instance.
|
static void |
undelete(Mbo mbo) |
public static void doCheck(Mbo mbo) throws java.rmi.RemoteException, MXException
mbo
- The Mbo being marked for deletion.MXApplicationException
- Thrown with "workflow","NoDelActiveWF" if there
are active workflow instances on the Mbo to be deleted.java.rmi.RemoteException
MXException
public static void delete(Mbo mbo) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public static void undelete(Mbo mbo) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException