|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.syncope.console.rest.AbstractBaseRestClient
org.syncope.console.rest.RoleRestClient
@Component public class RoleRestClient
Console client for invoking Rest Role's services.
| Field Summary |
|---|
| Fields inherited from class org.syncope.console.rest.AbstractBaseRestClient |
|---|
baseURL, LOG, restTemplate |
| Constructor Summary | |
|---|---|
RoleRestClient()
|
|
| Method Summary | |
|---|---|
void |
createRole(RoleTO roleTO)
Create new role. |
void |
deleteRole(Long id)
Delete an already existent role by its name. |
List<RoleTO> |
getAllRoles()
Get all Roles. |
RoleTO |
readRole(Long id)
Load an already existent role by its name. |
void |
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 RoleRestClient()
| Method Detail |
|---|
public List<RoleTO> getAllRoles()
throws SyncopeClientCompositeErrorException
SyncopeClientCompositeErrorExceptionpublic void createRole(RoleTO roleTO)
roleTO - public RoleTO readRole(Long id)
name - (e.g.:surname)
public void updateRole(RoleMod roleMod)
roleTO - updatedpublic void deleteRole(Long id)
name - (e.g.:surname)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||