public class FldStatusChangeDate extends MboValueAdapter
psdi.mbo.ActionChangeStatusmboValueTYPE_DOMAIN, TYPE_FIELDCLASS, TYPE_KEY, TYPE_UNKNOWNALLROWS, 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 |
|---|
FldStatusChangeDate(MboValue mbv)
Construct and attach to the MboValue.
|
| Modifier and Type | Method and Description |
|---|---|
void |
action()
If the field is cleared, the value is set to the current server date.
|
void |
initValue()
Set the value of ActionChangeStatus Mbo AsOfDate attribute.
|
void |
validate()
The AsOfDate attribute must be a later date than the date
of last status for the parent record.
|
getAppLink, getIntegrationService, getList, getLookupName, getMatchingAttr, getMatchingAttr, getMboValue, getMboValue, getTranslator, getType, hasList, init, setType, setValueFromLookup, smartFill, smartFind, smartFindpublic FldStatusChangeDate(MboValue mbv)
mbv - the MboValue the specified field attach to.public void initValue()
throws MXException,
java.rmi.RemoteException
initValue in interface MboValueListenerinitValue in class MboValueAdapterMXExceptionjava.rmi.RemoteExceptionpublic void validate()
throws MXException,
java.rmi.RemoteException
validate in interface MboValueListenervalidate in class MboValueAdapterMXException - If the date given is not after the last status date of
the owning Mbo, then MXApplicationException("common", "statusdate")java.rmi.RemoteExceptionFldStatusChangeDate.initValue()public void action()
throws MXException,
java.rmi.RemoteException
action in interface MboValueListeneraction in class MboValueAdapterMXExceptionjava.rmi.RemoteException