psdi.app.scconfig

Class SCConfigService

    • Constructor Detail

      • SCConfigService

        public SCConfigService()
                        throws java.rmi.RemoteException
        Construct the SCConfigService object without sending a parameter.
        Parameters:
        none -
        Throws:
        java.rmi.RemoteException
      • SCConfigService

        public SCConfigService(MXServer mxServer)
                        throws java.rmi.RemoteException
        Construct the SCConfigService object by sending in a server environment parameter.
        Parameters:
        mxServer - The "Server Environment" for the created Service Contract.
        Throws:
        java.rmi.RemoteException
    • Method Detail

      • loadStartCenterFromTemplate

        public long loadStartCenterFromTemplate(java.lang.String templateId,
                                                java.lang.String groupName,
                                                UserInfo ui,
                                                boolean modifyTemplate)
                                         throws java.rmi.RemoteException,
                                                MXException
        Creates startcenters for a user directly based on template id
        Specified by:
        loadStartCenterFromTemplate in interface SCConfigServiceRemote
        Throws:
        java.rmi.RemoteException
        MXException
      • getStartCenters

        public java.lang.Object[] getStartCenters(UserInfo ui)
                                           throws java.rmi.RemoteException,
                                                  MXException
        Retreives all startcenters for a user that he already has. Creates startcenters based on his group template if not already created.
        Specified by:
        getStartCenters in interface SCConfigServiceRemote
        Throws:
        java.rmi.RemoteException
        MXException
      • checkGroupAssociation

        public java.util.Hashtable checkGroupAssociation(MboSetRemote scconfigSet)
                                                  throws java.rmi.RemoteException,
                                                         MXException
        Returns message if any start centers have been removed due to exclusion from the group or group's dissassociation from the *
        Returns:
        hashtable with keys 'groupsremoved','scremoved'
        Throws:
        java.rmi.RemoteException
        MXException
      • doesAttributeExist

        public boolean doesAttributeExist(MboSetRemote msr,
                                          java.lang.String attributeName)
                                   throws java.rmi.RemoteException,
                                          MXException
        Returns true if the given attribute exists in the mboSet
        Specified by:
        doesAttributeExist in interface SCConfigServiceRemote
        Parameters:
        mboName -
        attributeName -
        Returns:
        Throws:
        java.rmi.RemoteException
        MXException