public class ScriptMboValueAdapter extends MboValueAdapter implements BaseAttributeLP
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 |
---|
ScriptMboValueAdapter(MboValue mboValue) |
Modifier and Type | Method and Description |
---|---|
void |
action()
Called if the data is valid, to perform some action
Does nothing
|
MboSetRemote |
getList()
Return the value list.
|
boolean |
hasList()
Has the MboValue got a value list ?
Returns false.
|
void |
init()
Initizalize
Does nothing in this implementation.
|
void |
initValue()
Called to initialize the MboValue's value.
|
void |
setActionScript(java.lang.String actionSN,
java.lang.String actionLN) |
void |
setInitARScript(java.lang.String initARSN,
java.lang.String initARLN) |
void |
setInitValueScript(java.lang.String initValueSN,
java.lang.String initValueLN) |
void |
setListScript(java.lang.String listSN,
java.lang.String listLN) |
void |
setValidateScript(java.lang.String validateSN,
java.lang.String validateLN) |
void |
setValueFromLookup(MboRemote sourceMbo)
The default implementation does nothing since the default getList() is false.
|
MboSetRemote |
superGetList() |
void |
superValidate() |
void |
validate()
Called to validate the data
Does nothing.
|
getAppLink, getIntegrationService, getLookupName, getMatchingAttr, getMatchingAttr, getMboValue, getMboValue, getType, setType, smartFill, smartFind, smartFind
public ScriptMboValueAdapter(MboValue mboValue)
scriptName
- launchPointName
- mboValue
- init
- public void setInitValueScript(java.lang.String initValueSN, java.lang.String initValueLN)
setInitValueScript
in interface BaseAttributeLP
public void setInitARScript(java.lang.String initARSN, java.lang.String initARLN)
setInitARScript
in interface BaseAttributeLP
public void setActionScript(java.lang.String actionSN, java.lang.String actionLN)
setActionScript
in interface BaseAttributeLP
public void setValidateScript(java.lang.String validateSN, java.lang.String validateLN)
setValidateScript
in interface BaseAttributeLP
public void setListScript(java.lang.String listSN, java.lang.String listLN)
setListScript
in interface BaseAttributeLP
public void initValue() throws MXException, java.rmi.RemoteException
MboValueAdapter
initValue
in interface MboValueListener
initValue
in class MboValueAdapter
MXException
java.rmi.RemoteException
public void init() throws MXException, java.rmi.RemoteException
MboValueAdapter
init
in interface MboValueListener
init
in class MboValueAdapter
MXException
java.rmi.RemoteException
public void validate() throws MXException, java.rmi.RemoteException
MboValueAdapter
validate
in interface MboValueListener
validate
in class MboValueAdapter
MXException
java.rmi.RemoteException
public MboSetRemote superGetList() throws MXException, java.rmi.RemoteException
superGetList
in interface BaseAttributeLP
MXException
java.rmi.RemoteException
public void superValidate() throws MXException, java.rmi.RemoteException
superValidate
in interface BaseAttributeLP
MXException
java.rmi.RemoteException
public void action() throws MXException, java.rmi.RemoteException
MboValueAdapter
action
in interface MboValueListener
action
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 setValueFromLookup(MboRemote sourceMbo) throws MXException, java.rmi.RemoteException
MboValueAdapter
setValueFromLookup
in interface MboValueListener
setValueFromLookup
in class MboValueAdapter
MXException
java.rmi.RemoteException
psdi.mbo.MboValueListner#setvalueFromLookup