psdi.app.solution.virtual

Class SearchSolutionSet

    • Constructor Detail

      • SearchSolutionSet

        public SearchSolutionSet(MboServerInterface ms)
                          throws MXException,
                                 java.rmi.RemoteException
        Construct the set
        Parameters:
        ms - The MboServerInterface
        Throws:
        MXException
        java.rmi.RemoteException
    • Method Detail

      • getMboInstance

        protected Mbo getMboInstance(MboSet ms)
                              throws MXException,
                                     java.rmi.RemoteException
        Factory method to create an SearchSolution object.
        Specified by:
        getMboInstance in class MboSet
        Parameters:
        ms - The SearchSolutionSet.
        Returns:
        an SearchSolutionSet Mbo object.
        Throws:
        MXException
        java.rmi.RemoteException
      • getLDSearchType

        public java.lang.String getLDSearchType()
                                         throws java.rmi.RemoteException,
                                                MXException
        Remote method used to get the longdescription's LDTEXT searchtype.
        Specified by:
        getLDSearchType in interface SearchSolutionSetRemote
        Returns:
        searchtype
        Throws:
        java.rmi.RemoteException
        MXException
        See Also:
        psdi.app.solution.SearchSolutionSet#getLDSearchType()
      • checkMethodAccess

        public void checkMethodAccess(java.lang.String methodName,
                                      long accessModifier)
                               throws MXException,
                                      java.rmi.RemoteException
        Description copied from class: MboSet
        Check if the method name is available. Will throw an MXAccessException if not available due to lack of rights, or if currently not available for this mbo. Programmers of mbos should override this method for implementation of specific secure methods. When overriding, always call the super class.

        If Profile says that the user is not active, throw new MXInactiveUserException (access-invaliduser).

        If methodName is ADD, then check security profile for INSERT. (This particular check does not look at conditional sigoption, since we have not yet provided values on the new Mbo.)

        Generally speaking, if we're not checking methodName ADD, then security checks should be done against the Mbo, not the set. See sigopGranted.

        Overrides:
        checkMethodAccess in class MboSet
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        Profile.getUserStatus(), Profile.getAppOptionAuth(java.lang.String, java.lang.String, java.lang.String)