public class FldDoclinksAddInfo extends MboValueAdapter
Printthrulink and Doctype When addinfo is set to False, printthrulink and doctype are set to readonly.
Normally, printthrulink and doctype are readonly until the document is validated against docinfo, at which point these values are copied from docinfo to doclinks and become editable on doclinks. However, when "addinfo" is True, there is no docinfo and we have to be able to specify these on doclinks.
Urltype When addinfo is set to True, if urltype is not FILE or WWW, it is set to FILE.
Document When addinfo is set to either True or False, document is set to Null. This is because validation of document is dependent on addinfo being set first.
MboValueAdapter.validate()
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 |
---|
FldDoclinksAddInfo(MboValue mbv) |
Modifier and Type | Method and Description |
---|---|
void |
action()
Set document to null.
|
getAppLink, getIntegrationService, getList, getLookupName, getMatchingAttr, getMatchingAttr, getMboValue, getMboValue, getType, hasList, init, initValue, setType, setValueFromLookup, smartFill, smartFind, smartFind, validate
public FldDoclinksAddInfo(MboValue mbv) throws MXException
MXException
public void action() throws MXException, java.rmi.RemoteException
If Addinfo is False, set printthrulink and doctype to Readonly.
If Addinfo is True:
action
in interface MboValueListener
action
in class MboValueAdapter
MXException
java.rmi.RemoteException