Class SystemService


  • public class SystemService
    extends Object
    Service class for System endpoints
    • Constructor Detail

      • SystemService

        public SystemService()
    • Method Detail

      • getSystemService

        public static SystemService getSystemService()
      • getRoles

        public org.dom4j.Document getRoles()
                                    throws javax.servlet.ServletException,
                                           IOException
        Returns XML for list of roles.
        Throws:
        javax.servlet.ServletException
        IOException
      • getRolesForUser

        public List<String> getRolesForUser​(String user)
        Returns a list of Roles for a given User.
      • getUsersInRole

        public List<String> getUsersInRole​(String role)
        Returns a list of Users for a given Role.
      • getPermissions

        public org.dom4j.Document getPermissions()
                                          throws javax.servlet.ServletException,
                                                 IOException
        Returns XML for list of Permission.
        Throws:
        javax.servlet.ServletException
        IOException
      • canAdminister

        protected boolean canAdminister()