psdi.app.scconfig

Class SCConfigSet

    • Constructor Detail

      • SCConfigSet

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

      • isStartCenterConfigured

        public boolean isStartCenterConfigured()
                                        throws java.rmi.RemoteException,
                                               MXException
        Returns if the user has a personal startcenter configured or not
        Specified by:
        isStartCenterConfigured in interface SCConfigSetRemote
        Returns:
        true - if the start center is configured
        Throws:
        java.rmi.RemoteException
        MXException
      • getMboInstance

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

        public boolean isSCAdmin()
                          throws java.rmi.RemoteException,
                                 MXException
        Returns true if current user is allowed to create templates
        Specified by:
        isSCAdmin in interface SCConfigSetRemote
        Parameters:
        bFlag - true if user can create templates
        Throws:
        java.rmi.RemoteException
        MXException
      • canUpdateSC

        public boolean canUpdateSC()
                            throws java.rmi.RemoteException,
                                   MXException
        Returns true if current user is allowed to create templates return true if user can update start center
        Specified by:
        canUpdateSC in interface SCConfigSetRemote
        Throws:
        java.rmi.RemoteException
        MXException
      • getAllowedPortlets

        public java.util.HashSet getAllowedPortlets()
                                             throws java.rmi.RemoteException,
                                                    MXException
        Gets allowed portlets for the current user based on his profile
        Specified by:
        getAllowedPortlets in interface SCConfigSetRemote
        Returns:
        HashSet of all portlets he is allowed to see
        Throws:
        java.rmi.RemoteException
        MXException