public class FldShowWPTaskID extends MboValueAdapter
mboValue
TYPE_DOMAIN, TYPE_FIELDCLASS, TYPE_KEY, TYPE_UNKNOWN
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 |
---|
FldShowWPTaskID(MboValue mbv)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
action()
Updates the totals of the work order that used to own the Mbo
and the work order that gain this Mbo.
|
MboSetRemote |
getList()
Returns the WO's list (related MboSet) of Tasks - SHOWTASKS.
|
boolean |
hasList()
Has the MboValue got a value list ?
Returns false.
|
void |
initValue()
Sets the value of this attribute based on the whether it's work oder
is currently the parent or a child.
|
void |
setValueFromLookup(MboRemote sourceMbo)
Set the value from the lookup.
|
void |
validate()
Checks that the task is valid for the parent + children combined display.
|
getAppLink, getIntegrationService, getLookupName, getMatchingAttr, getMatchingAttr, getMboValue, getMboValue, getType, init, setType, smartFill, smartFind, smartFind
public FldShowWPTaskID(MboValue mbv) throws MXException
mbv
- the current mbo value.MXException
public void initValue() throws MXException, java.rmi.RemoteException
initValue
in interface MboValueListener
initValue
in class MboValueAdapter
MXException
java.rmi.RemoteException
public boolean hasList()
MboValueAdapter
hasList
in interface MboValueListener
hasList
in class MboValueAdapter
public MboSetRemote getList() throws MXException, java.rmi.RemoteException
getList
in interface MboValueListener
getList
in class MboValueAdapter
MXException
java.rmi.RemoteException
public void validate() throws MXException, java.rmi.RemoteException
validate
in interface MboValueListener
validate
in class MboValueAdapter
MXApplicationException
- Thrown with "workorder","NotValidTaskID".MXException
java.rmi.RemoteException
public void action() throws MXException, java.rmi.RemoteException
action
in interface MboValueListener
action
in class MboValueAdapter
MXException
java.rmi.RemoteException
public void setValueFromLookup(MboRemote sourceMbo) throws MXException, java.rmi.RemoteException
setValueFromLookup
in interface MboValueListener
setValueFromLookup
in class MboValueAdapter
MXException
java.rmi.RemoteException
psdi.mbo.MboValueListner#setvalueFromLookup