public class MasterViewStatusHandler extends CommonContractStatusHandler
statusChangeMatrix
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 |
---|
MasterViewStatusHandler(StatefulMbo sm)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
cancel(java.lang.String desiredStatus,
java.util.Date date)
Sets the status of the contract to cancel.
|
void |
checkForChildContracts() |
void |
close(java.lang.String desiredStatus,
java.util.Date closeDate)
Sets the status of the contract to closed.
|
approve, canApprove, canCancel, canChangeStatus, canClose, canDraft, canExpire, canPndRev, canRevise, canSuspnd, canUnapprove, canWStart, changeStatus, checkStatusChangeAuthorization, doesContractReferenceExistOnPO, draft, expire, getNextRevision, getOptionName, possibleStatusChange, postStatusChange, revise, setLineStatus, suspnd, unapprove
preStatusChange, updateMboForStatus
public MasterViewStatusHandler(StatefulMbo sm)
public void close(java.lang.String desiredStatus, java.util.Date closeDate) throws MXException, java.rmi.RemoteException
close
in class CommonContractStatusHandler
approveDate
- MXException
java.rmi.RemoteException
public void checkForChildContracts() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void cancel(java.lang.String desiredStatus, java.util.Date date) throws MXException, java.rmi.RemoteException
cancel
in class CommonContractStatusHandler
approveDate
- MXException
java.rmi.RemoteException
setLineStatus