psdi.app.doclink

Class DocinfoSet

    • Method Detail

      • getMboInstance

        protected Mbo getMboInstance(MboSet ms)
                              throws MXException,
                                     java.rmi.RemoteException
        Description copied from class: MboSet
        Factory to create the business objects This must be overridden in derived class
        Specified by:
        getMboInstance in class MboSet
        Throws:
        MXException
        java.rmi.RemoteException
      • findDocinfo

        public void findDocinfo(java.lang.String urlname,
                                java.lang.String[] urlparam)
                         throws MXException,
                                java.rmi.RemoteException
        Get the DocInfo mbo for the specified urlname and urlparam(1-5). Docinfo has a unique index by urlname, urlparam(1-5), and siteid. This implicitly applies the siteid via the framework.

        This method will reset this MboSet. If no Mbo exists matching the input parameters, the set will be empty.

        Specified by:
        findDocinfo in interface DocinfoSetRemote
        Parameters:
        urlname - The urlname (filename or web url) of the docinfo to be retrieved.
        urlparam - An array of up to five parameters composing the index to the docinfo. This may be null, indicating that all urlparams are null. Any param without a value in the array is searched for with "is null."
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        DocinfoSet.findDocinfo(String, String[])
      • addDoclinksForSelectedDocinfo

        public void addDoclinksForSelectedDocinfo(java.lang.String doctype,
                                                  java.lang.String keytable,
                                                  java.lang.String keycolumn,
                                                  java.lang.String keyvalue,
                                                  java.lang.String app)
                                           throws MXException,
                                                  java.rmi.RemoteException
        Given a multi-select set of Docinfo, loop through the set, and for each selected record, add one child Doclinks mbo with the specified values. (If Doclinks already exists, no error, we do not try to add a duplicate.)
        Specified by:
        addDoclinksForSelectedDocinfo in interface DocinfoSetRemote
        Parameters:
        doctype - The doctype for the new Doclinks mbo(s).
        keytable - The keytable for the new Doclinks mbo(s).
        keycolumn - The keycolumn for the new Doclinks mbo(s).
        keyvalue - The keyvalue for the new Doclinks mbo(s). See javadocs for class Doclinks for special requirements for this attribute. Must be passed in as string without locale-specific formatting.
        app - The application name.
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        Docinfo.addDoclinks(java.lang.String, java.lang.String, java.lang.String, java.lang.String[])