psdi.webclient.controls

Class InboxPortlet

  • All Implemented Interfaces:
    java.lang.Cloneable


    public class InboxPortlet
    extends PortletDataInstance
    Represents the control instance for Inbox Portlet in the Start Center application. It contains methods to get data needed for rendering the portlet.
    • Constructor Detail

      • InboxPortlet

        public InboxPortlet()
    • Method Detail

      • getAssignments

        public MboValueData[][] getAssignments()
                                        throws MXException,
                                               java.rmi.RemoteException
        Returns inbox assignment data as mabo value data
        Parameters:
        starting - index
        end - index
        Returns:
        MboValueData[][]
        Throws:
        MXException
        java.rmi.RemoteException
      • getSetsInfo

        public MboSetInfo[] getSetsInfo()
                                 throws MXException,
                                        java.rmi.RemoteException
        Returns array, which MboSetInfo's, used by InboxPortlet to detrmine bidi attributes of displayed data.
        Returns:
        MboSetInfo[]: [0] - InbxConfigSet for descriptions (excluding main description), [1] - WFAssignmentSet for data and main description.
        Throws:
        MXException
        java.rmi.RemoteException
      • getNoOfAssignments

        public int getNoOfAssignments()
                               throws MXException,
                                      java.rmi.RemoteException
        Returns No of assignments
        Throws:
        MXException
        java.rmi.RemoteException
      • getKeyAttributeData

        public MboValueData[][] getKeyAttributeData()
                                             throws MXException,
                                                    java.rmi.RemoteException
        Returns key attribute columns
        Returns:
        MboValueData[][]
        Throws:
        MXException
        java.rmi.RemoteException
      • getInboxColumns

        public java.util.Vector getInboxColumns()
                                         throws MXException,
                                                java.rmi.RemoteException
        Returns a collection of the columns the user has selected to display
        Returns:
        vector of the columns the user has selected to display
        Throws:
        MXException
        java.rmi.RemoteException - TODO: Take DESCRIPTION column temporary code to backend in method "getInboxColumns()";
      • getSortAttribute

        public java.lang.String getSortAttribute(java.lang.String sortIndex)
        Return the attribute name for sorting given a column index
        Overrides:
        getSortAttribute in class PortletDataInstance
        Parameters:
        colIndex -
        Returns:
        Attribute Name
      • getNonPersistentColumns

        public java.util.ArrayList getNonPersistentColumns()
                                                    throws MXException,
                                                           java.rmi.RemoteException
        Returns a collection of the columns that are non persistent
        Returns:
        vector of the columns that are non persistent
        Throws:
        MXException
        java.rmi.RemoteException
      • getUserName

        public java.lang.String getUserName()
        Returns the complete name of the current logged use to display on the portlet
      • getLatestDate

        public java.lang.String getLatestDate()
                                       throws java.rmi.RemoteException,
                                              MXException
        Returns the complete name of the current logged use to display on the portlet
        Throws:
        java.rmi.RemoteException
        MXException
      • getDescTitle

        public java.lang.String getDescTitle()
                                      throws java.rmi.RemoteException,
                                             MXException
        Returns title of the description field which will always be shown
        Throws:
        java.rmi.RemoteException
        MXException
      • getLabels

        public java.lang.String[] getLabels()
        Returns labels for this portlet. Following list shows list of keys to be used and the labels they stand for
        Returns:
        String array of locale specific labels
      • openassignment

        public int openassignment()
        Opens the assignment, by opening app on which assigment was created.
      • routeassignment

        public int routeassignment()
        Routes the assignment, by opening app on which assigment was created. The route process is external to this portlet and handled by the AppBean of the application the route goes to.