psdi.app.doclink

Class FldDoclinksAddInfo

  • All Implemented Interfaces:
    MboConstants, MboValueListener


    public class FldDoclinksAddInfo
    extends MboValueAdapter
    Behavior of addinfo in the Doclinks object. This is a non-persistent attribute.

    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.

    See Also:
    MboValueAdapter.validate()
    • Method Detail

      • action

        public void action()
                    throws MXException,
                           java.rmi.RemoteException
        Set document to null.

        If Addinfo is False, set printthrulink and doctype to Readonly.

        If Addinfo is True:

        • Set printthrulink and doctype to editable.
        • If urltype not FILE or WWW, then set to FILE.
        Specified by:
        action in interface MboValueListener
        Overrides:
        action in class MboValueAdapter
        Throws:
        MXException
        java.rmi.RemoteException