public class SystemService extends Object
Constructor and Description |
---|
SystemService() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canAdminister() |
org.dom4j.Document |
getAll() |
org.dom4j.Document |
getPermissions()
Returns XML for list of Permission.
|
org.dom4j.Document |
getRoles()
Returns XML for list of roles.
|
List<String> |
getRolesForUser(String user)
Returns a list of Roles for a given User.
|
static SystemService |
getSystemService() |
org.dom4j.Document |
getUsers()
Returns XML for list of users in the platform.
|
List<String> |
getUsersInRole(String role)
Returns a list of Users for a given Role.
|
public static SystemService getSystemService()
public org.dom4j.Document getUsers() throws javax.servlet.ServletException, IOException, IllegalAccessException
javax.servlet.ServletException
IOException
IllegalAccessException
public org.dom4j.Document getRoles() throws javax.servlet.ServletException, IOException
javax.servlet.ServletException
IOException
public List<String> getRolesForUser(String user)
public List<String> getUsersInRole(String role)
public org.dom4j.Document getPermissions() throws javax.servlet.ServletException, IOException
javax.servlet.ServletException
IOException
public org.dom4j.Document getAll() throws javax.servlet.ServletException, IOException, IllegalAccessException
javax.servlet.ServletException
IOException
IllegalAccessException
protected boolean canAdminister()
Copyright © 2018 Hitachi Vantara. All rights reserved.