psdi.app.inbxconfig

Interface InbxConfigSetRemote

    • Method Detail

      • setInboxColumns

        void setInboxColumns()
                      throws java.rmi.RemoteException,
                             MXException
        Gets attributes related to WFASSIGNMENT from MAXIMODD and uses them as the list of attributes to be given to user to select from to display portlet.
        The list is then added to this set. This method is called only the first time when use configures / edits the portlet. The list of attributes is kept filled up for the user until the portlet is disposed off.
        Throws:
        java.rmi.RemoteException
        MXException
      • getColumns

        java.util.Vector getColumns()
                             throws java.rmi.RemoteException,
                                    MXException
        Returns a collection of attributes and their desciptions for the currently configured portlet. This method returns all fields irrespective of "DISPLAY" flag
        Returns:
        Vector collection of array of names and description for selected inbox attributes
        Throws:
        java.rmi.RemoteException
        MXException
      • getInboxColumns

        java.util.Vector getInboxColumns()
                                  throws java.rmi.RemoteException,
                                         MXException
        Returns a vector of attributes in the WFASSIGNMENT table. This list is needed to setup the portlet and configure it with list of attributes that are aviaible for use to select from.
        Returns:
        Vector of attrribute names
        Throws:
        java.rmi.RemoteException
        MXException
      • getAssignments

        MboValueData[][] getAssignments(int start,
                                        int rowcount,
                                        java.lang.String sortBy)
                                 throws java.rmi.RemoteException,
                                        MXException
        Returns the data to be displayed to user in the Inbox Portlet. Based on how many records the user wants to see and what the sort by is, MboValueData of all the attributes with DISPLAY flag as true, is formed. Along side, data of the key attributes is passed on which is necessary for linking to WORKFLOW and ROUTING functions
        Parameters:
        start -
        rowcount -
        sortBy -
        Returns:
        MboValueData[][] of "description", "app","assignid","ownerid" plus selected attributes
        Throws:
        java.rmi.RemoteException
        MXException
      • getKeyAttributeData

        MboValueData[][] getKeyAttributeData()
                                      throws java.rmi.RemoteException,
                                             MXException
        Returns key data of the key attributes needed for linking to WORKFLOW and ROUTING functions
        Returns:
        mvd MboValueData[][] of key attributes from WFASSIGNMENT "description", "app","assignid","ownerid"
        Throws:
        java.rmi.RemoteException
        MXException
      • getNoOfAssignments

        int getNoOfAssignments()
                        throws java.rmi.RemoteException,
                               MXException
        Returns number of assignments if already set, otherwise makes a quick call to WFASSIGNMENT table and calls method getInboxAssignments(), to get the count of the assignments user has
        Returns:
        number of assignments as integer
        Throws:
        java.rmi.RemoteException
        MXException
      • latestDate

        java.lang.String latestDate()
                             throws java.rmi.RemoteException,
                                    MXException
        Returns the String of the latest date among assignments. This is the date of the assignment which is due the next.
        Returns:
        latestdate as string
        Throws:
        java.rmi.RemoteException
        MXException
      • getInboxDescTitle

        java.lang.String getInboxDescTitle()
                                    throws java.rmi.RemoteException,
                                           MXException
        Returns title of the "DESCRIPTION" attribute from WFAASSIGNMENT table.
        Returns:
        title as String
        Throws:
        java.rmi.RemoteException
        MXException
      • getNonPersistentAttributes

        java.util.ArrayList getNonPersistentAttributes()
                                                throws java.rmi.RemoteException,
                                                       MXException
        Returns a collection of all non-persistent fields of WFASSIGNMENT table.
        This is needed in the portlet to restrict user from scrolling.
        Returns:
        ArrayList of attribute names
        Throws:
        java.rmi.RemoteException
        MXException
      • resetInboxColumns

        void resetInboxColumns()
                        throws java.rmi.RemoteException,
                               MXException
        Empties the collection that contains info about inbox columns
        Throws:
        java.rmi.RemoteException
        MXException