public class UserRoleWebService extends Object implements IUserRoleWebService
| Constructor and Description |
|---|
UserRoleWebService() |
| 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
|
public UserRoleSecurityInfo getUserRoleSecurityInfo() throws UserRoleException
IUserRoleWebServicegetUserRoleSecurityInfo in interface IUserRoleWebServiceUserRoleExceptionpublic boolean createUser(ProxyPentahoUser proxyUser) throws UserRoleException
IUserRoleWebServicecreateUser in interface IUserRoleWebServiceUserRoleExceptionpublic boolean deleteUsers(ProxyPentahoUser[] users) throws UserRoleException
IUserRoleWebServicedeleteUsers in interface IUserRoleWebServiceUserRoleExceptionpublic ProxyPentahoUser getUser(String pUserName) throws UserRoleException
IUserRoleWebServicegetUser in interface IUserRoleWebServiceUserRoleExceptionpublic ProxyPentahoUser[] getUsers() throws UserRoleException
IUserRoleWebServicegetUsers in interface IUserRoleWebServiceUserRoleExceptionpublic ProxyPentahoUser[] getUsersForRole(ProxyPentahoRole proxyRole) throws UserRoleException
IUserRoleWebServicegetUsersForRole in interface IUserRoleWebServiceUserRoleExceptionpublic boolean updateUser(ProxyPentahoUser proxyUser) throws UserRoleException
IUserRoleWebServiceupdateUser in interface IUserRoleWebServiceUserRoleExceptionpublic void setRoles(ProxyPentahoUser proxyUser, ProxyPentahoRole[] assignedRoles) throws UserRoleException
IUserRoleWebServicesetRoles in interface IUserRoleWebServiceUserRoleExceptionpublic void setUsers(ProxyPentahoRole proxyRole, ProxyPentahoUser[] assignedUsers) throws UserRoleException
IUserRoleWebServicesetUsers in interface IUserRoleWebServiceUserRoleExceptionpublic void updateRole(String roleName, String description, List<String> usernames) throws UserRoleException
IUserRoleWebServiceupdateRole in interface IUserRoleWebServiceUserRoleExceptionpublic boolean createRole(ProxyPentahoRole proxyRole) throws UserRoleException
IUserRoleWebServicecreateRole in interface IUserRoleWebServiceUserRoleExceptionpublic boolean deleteRoles(ProxyPentahoRole[] roles) throws UserRoleException
IUserRoleWebServicedeleteRoles in interface IUserRoleWebServiceUserRoleExceptionpublic ProxyPentahoRole[] getRolesForUser(ProxyPentahoUser proxyUser) throws UserRoleException
IUserRoleWebServicegetRolesForUser in interface IUserRoleWebServiceUserRoleExceptionpublic ProxyPentahoRole[] getRoles() throws UserRoleException
IUserRoleWebServicegetRoles in interface IUserRoleWebServiceUserRoleExceptionpublic boolean updateRoleObject(ProxyPentahoRole proxyPentahoRole) throws UserRoleException
IUserRoleWebServiceupdateRoleObject in interface IUserRoleWebServiceUserRoleException