psdi.app.faconfig

Class FAConfigSet

    • Constructor Detail

      • FAConfigSet

        public FAConfigSet(MboServerInterface ms)
                    throws MXException,
                           java.rmi.RemoteException
        Constructs the set of FAConfig.
        Parameters:
        ms - the MboServerInterface
        Throws:
        MXException
        java.rmi.RemoteException
    • Method Detail

      • getMboInstance

        protected Mbo getMboInstance(MboSet ms)
                              throws MXException,
                                     java.rmi.RemoteException
        Generates a new FAConfig object.
        Specified by:
        getMboInstance in class MboSet
        Parameters:
        ms - MboSet.
        Returns:
        Mbo - the new FAConfig.
        Throws:
        MXException
        java.rmi.RemoteException
      • updateFavApps

        public void updateFavApps(MboSetRemote dataSet)
                           throws java.rmi.RemoteException,
                                  MXException
        Updates the favoriteapplications.
        It adds the applications that have not been added
        Specified by:
        updateFavApps in interface FAConfigSetRemote
        Parameters:
        mboset - of MaxApps
        Throws:
        java.rmi.RemoteException
        MXException
      • getFavoriteApps

        public java.util.TreeMap getFavoriteApps()
                                          throws java.rmi.RemoteException,
                                                 MXException
        Returns a TreeMap of all applications currently marked as favorite.
        The treemap contains name of the app, id , description and image. This is directly used in the portlet.
        Specified by:
        getFavoriteApps in interface FAConfigSetRemote
        Returns:
        TreeMap - collection of hastables with information about application marked as favorites
        Throws:
        java.rmi.RemoteException
        MXException