public class CdmCiTypeStatusHandler extends StatusHandler
ALLROWS, CHANGEDBY_USER, COUNT_ADDITIONS, COUNT_AFTERSAVE, COUNT_DATABASE, COUNT_DELETED, COUNT_EXISTING, DBCONFIG, DELAYVALIDATION, DELAYVALIDATIONONLY, DISCARDABLE, GOTCOMPLETEWHERE, HIDDEN, NO_RELATEDMBOS_OF_OWNERSCHILDREN_FETCH, NOACCESSCHECK, NOACTION, NOADD, NOCOMMIT, NODELETE, NONE, NOOVERWRITE, NOSAVE, NOSETVALUE, NOUPDATE, NOVALIDATION, NOVALIDATION_AND_NOACTION, NOVALIDATION_AND_NOACTION_ALLOWCROSSOVER, READONLY, REBUILD, REQUIRED, SAMEVALUEVALIDATION, SETBYPARENT, USER| Constructor and Description |
|---|
CdmCiTypeStatusHandler(StatefulMbo sm) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addClassUseWith(java.lang.String classStructureID,
MboSetRemote classUseWithSetAdd,
MboRemote domainMbo,
int topLevel)
Set the use with actci record for a classStructureID
|
void |
changeStatus(java.lang.String currentStatus,
java.lang.String status,
java.util.Date asOfDate,
java.lang.String memo)
Object can over override this method to process pre status change logic.
|
void |
checkStatusChangeAuthorization(java.lang.String desiredStatus)
Checks to see if the user is authorised to make a status changes.
|
void |
checkUserSecurity(java.lang.String desiredMaxStatus)
Check out the users security rights to call the specified status.
|
void |
setRootUseWithActCI(MboSetRemote classUseWithSetAdd,
MboRemote domainMbo,
int topLevel) |
void |
setUseWithActCI() |
canChangeStatus, postStatusChange, preStatusChange, statusToOptionName, updateMboForStatuspublic CdmCiTypeStatusHandler(StatefulMbo sm)
sm - public void setUseWithActCI()
throws java.rmi.RemoteException,
MXException
java.rmi.RemoteExceptionMXExceptionpublic void setRootUseWithActCI(MboSetRemote classUseWithSetAdd, MboRemote domainMbo, int topLevel) throws java.rmi.RemoteException, MXException
java.rmi.RemoteExceptionMXExceptionpublic void changeStatus(java.lang.String currentStatus,
java.lang.String status,
java.util.Date asOfDate,
java.lang.String memo)
throws MXException,
java.rmi.RemoteException
changeStatus in class StatusHandlerMXExceptionjava.rmi.RemoteExceptionpublic void checkStatusChangeAuthorization(java.lang.String desiredStatus)
throws MXException,
java.rmi.RemoteException
checkStatusChangeAuthorization in class StatusHandlerdesiredStatus - The current external status of the CI Type.MXExceptionjava.rmi.RemoteExceptioncheckUserSecurity,
possibleStatusChangepublic void checkUserSecurity(java.lang.String desiredMaxStatus)
throws MXException,
java.rmi.RemoteException
status - The status to check if we can change to.MXAccessException - Throws an access exception "notauthorized" if the
check fails.MXExceptionjava.rmi.RemoteExceptionprotected void addClassUseWith(java.lang.String classStructureID,
MboSetRemote classUseWithSetAdd,
MboRemote domainMbo,
int topLevel)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteException