public class LeaseViewStatusHandler extends CommonContractStatusHandler
statusChangeMatrixALLROWS, 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 |
|---|
LeaseViewStatusHandler(StatefulMbo sm)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
approve(java.lang.String desiredStatus,
java.util.Date approveDate)
Check for required fields if the payment schedule flag for this lease contract is true.
|
void |
cancel(java.lang.String desiredStatus,
java.util.Date cancelDate)
Warn the user if there are payments generated for this contract.
|
void |
close(java.lang.String desiredStatus,
java.util.Date closeDate)
Warn the user if there are payments generated for this contract.
|
canApprove, canCancel, canChangeStatus, canClose, canDraft, canExpire, canPndRev, canRevise, canSuspnd, canUnapprove, canWStart, changeStatus, checkStatusChangeAuthorization, doesContractReferenceExistOnPO, draft, expire, getNextRevision, getOptionName, possibleStatusChange, postStatusChange, revise, setLineStatus, suspnd, unapprovepreStatusChange, updateMboForStatuspublic LeaseViewStatusHandler(StatefulMbo sm)
public void approve(java.lang.String desiredStatus,
java.util.Date approveDate)
throws MXException,
java.rmi.RemoteException
approve in class CommonContractStatusHandlerMXExceptionjava.rmi.RemoteExceptionpublic void cancel(java.lang.String desiredStatus,
java.util.Date cancelDate)
throws MXException,
java.rmi.RemoteException
cancel in class CommonContractStatusHandlerMXExceptionjava.rmi.RemoteExceptionsetLineStatuspublic void close(java.lang.String desiredStatus,
java.util.Date closeDate)
throws MXException,
java.rmi.RemoteException
close in class CommonContractStatusHandlerMXExceptionjava.rmi.RemoteException