|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.syncope.console.rest.RolesRestClient
public class RolesRestClient
Console client for invoking Rest Role's services.
| Constructor Summary | |
|---|---|
RolesRestClient()
|
|
| Method Summary | |
|---|---|
void |
createRole(RoleTO roleTO)
Create new role. |
void |
deleteRole(java.lang.Long id)
Delete an already existent role by its name. |
java.util.List<RoleTO> |
getAllRoles()
Get all Roles. |
RestClient |
getRestClient()
|
RoleTO |
readRole(java.lang.Long id)
Load an already existent role by its name. |
void |
setRestClient(RestClient restClient)
|
boolean |
updateRole(RoleMod roleMod)
Update an already existent role. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RolesRestClient()
| Method Detail |
|---|
public java.util.List<RoleTO> getAllRoles()
throws SyncopeClientCompositeErrorException,
org.springframework.web.client.RestClientException
SyncopeClientCompositeErrorException
org.springframework.web.client.RestClientExceptionpublic void createRole(RoleTO roleTO)
roleTO - public RoleTO readRole(java.lang.Long id)
name - (e.g.:surname)
public boolean updateRole(RoleMod roleMod)
roleTO - updated
public void deleteRole(java.lang.Long id)
name - (e.g.:surname)public RestClient getRestClient()
public void setRestClient(RestClient restClient)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||