public interface IUserRoleWebService
Modifier and Type | Method and Description |
---|---|
boolean |
createRole(ProxyPentahoRole proxyRole)
creates a new role.
|
boolean |
createUser(ProxyPentahoUser proxyUser)
creates a new user.
|
boolean |
deleteRoles(ProxyPentahoRole[] roles)
deletes a set of roles.
|
boolean |
deleteUsers(ProxyPentahoUser[] users)
deletes a set of users.
|
ProxyPentahoRole[] |
getRoles()
returns the list of roles defined in the system
|
ProxyPentahoRole[] |
getRolesForUser(ProxyPentahoUser proxyUser)
returns a set of roles for a user
|
ProxyPentahoUser |
getUser(String pUserName)
returns the user object based on the username.
|
UserRoleSecurityInfo |
getUserRoleSecurityInfo()
This method returns the entire set of users and roles in the system
|
ProxyPentahoUser[] |
getUsers()
returns the list of users.
|
ProxyPentahoUser[] |
getUsersForRole(ProxyPentahoRole proxyRole)
returns the list of users that have a specific role.
|
void |
setRoles(ProxyPentahoUser proxyUser,
ProxyPentahoRole[] assignedRoles)
sets the roles for a user.
|
void |
setUsers(ProxyPentahoRole proxyRole,
ProxyPentahoUser[] assignedUsers)
sets the users for a role.
|
void |
updateRole(String roleName,
String description,
List<String> usernames)
Updates a role object with a new description and set of usernames.
|
boolean |
updateRoleObject(ProxyPentahoRole proxyPentahoRole)
This updates the named role's attributes.
|
boolean |
updateUser(ProxyPentahoUser proxyUser)
This updates the named user's attributes
|
boolean createRole(ProxyPentahoRole proxyRole) throws UserRoleException
proxyRole
- UserRoleException
boolean createUser(ProxyPentahoUser proxyUser) throws UserRoleException
proxyUser
- UserRoleException
boolean deleteRoles(ProxyPentahoRole[] roles) throws UserRoleException
roles
- UserRoleException
boolean deleteUsers(ProxyPentahoUser[] users) throws UserRoleException
users
- UserRoleException
ProxyPentahoRole[] getRoles() throws UserRoleException
UserRoleException
ProxyPentahoRole[] getRolesForUser(ProxyPentahoUser proxyUser) throws UserRoleException
proxyUser
- UserRoleException
ProxyPentahoUser getUser(String pUserName) throws UserRoleException
pUserName
- UserRoleException
UserRoleSecurityInfo getUserRoleSecurityInfo() throws UserRoleException
UserRoleException
ProxyPentahoUser[] getUsers() throws UserRoleException
UserRoleException
ProxyPentahoUser[] getUsersForRole(ProxyPentahoRole proxyRole) throws UserRoleException
proxyRole
- UserRoleException
boolean updateUser(ProxyPentahoUser proxyUser) throws UserRoleException
proxyUser
- UserRoleException
void setRoles(ProxyPentahoUser proxyUser, ProxyPentahoRole[] assignedRoles) throws UserRoleException
proxyUser
- assignedRoles
- UserRoleException
void setUsers(ProxyPentahoRole proxyRole, ProxyPentahoUser[] assignedUsers) throws UserRoleException
proxyRole
- assignedUsers
- UserRoleException
boolean updateRoleObject(ProxyPentahoRole proxyPentahoRole) throws UserRoleException
proxyPentahoRole
- UserRoleException
void updateRole(String roleName, String description, List<String> usernames) throws UserRoleException
roleName
- description
- usernames
- UserRoleException