|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pentaho.platform.engine.security.userroledao.ws.UserRoleWebService
public class UserRoleWebService
This class implements a concrete form of IUserRoleDao, wrapping the underlying IUserRoleDao implementation.
| Constructor Summary | |
|---|---|
UserRoleWebService()
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UserRoleWebService()
| Method Detail |
|---|
public UserRoleSecurityInfo getUserRoleSecurityInfo()
throws UserRoleException
IUserRoleWebService
getUserRoleSecurityInfo in interface IUserRoleWebServiceUserRoleException
public boolean createUser(ProxyPentahoUser proxyUser)
throws UserRoleException
IUserRoleWebService
createUser in interface IUserRoleWebServiceUserRoleException
public boolean deleteUsers(ProxyPentahoUser[] users)
throws UserRoleException
IUserRoleWebService
deleteUsers in interface IUserRoleWebServiceUserRoleException
public ProxyPentahoUser getUser(String pUserName)
throws UserRoleException
IUserRoleWebService
getUser in interface IUserRoleWebServiceUserRoleException
public ProxyPentahoUser[] getUsers()
throws UserRoleException
IUserRoleWebService
getUsers in interface IUserRoleWebServiceUserRoleException
public ProxyPentahoUser[] getUsersForRole(ProxyPentahoRole proxyRole)
throws UserRoleException
IUserRoleWebService
getUsersForRole in interface IUserRoleWebServiceUserRoleException
public boolean updateUser(ProxyPentahoUser proxyUser)
throws UserRoleException
IUserRoleWebService
updateUser in interface IUserRoleWebServiceUserRoleException
public void setRoles(ProxyPentahoUser proxyUser,
ProxyPentahoRole[] assignedRoles)
throws UserRoleException
IUserRoleWebService
setRoles in interface IUserRoleWebServiceUserRoleException
public void setUsers(ProxyPentahoRole proxyRole,
ProxyPentahoUser[] assignedUsers)
throws UserRoleException
IUserRoleWebService
setUsers in interface IUserRoleWebServiceUserRoleException
public void updateRole(String roleName,
String description,
List<String> usernames)
throws UserRoleException
IUserRoleWebService
updateRole in interface IUserRoleWebServiceUserRoleException
public boolean createRole(ProxyPentahoRole proxyRole)
throws UserRoleException
IUserRoleWebService
createRole in interface IUserRoleWebServiceUserRoleException
public boolean deleteRoles(ProxyPentahoRole[] roles)
throws UserRoleException
IUserRoleWebService
deleteRoles in interface IUserRoleWebServiceUserRoleException
public ProxyPentahoRole[] getRolesForUser(ProxyPentahoUser proxyUser)
throws UserRoleException
IUserRoleWebService
getRolesForUser in interface IUserRoleWebServiceUserRoleException
public ProxyPentahoRole[] getRoles()
throws UserRoleException
IUserRoleWebService
getRoles in interface IUserRoleWebServiceUserRoleException
public boolean updateRoleObject(ProxyPentahoRole proxyPentahoRole)
throws UserRoleException
IUserRoleWebService
updateRoleObject in interface IUserRoleWebServiceUserRoleException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||