|
||||||||||
| 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.UserRestClient
@Component public class UserRestClient
Console client for invoking rest users services.
| Field Summary |
|---|
| Fields inherited from class org.syncope.console.rest.AbstractBaseRestClient |
|---|
baseURL, LOG, restTemplate |
| Constructor Summary | |
|---|---|
UserRestClient()
|
|
| Method Summary | |
|---|---|
Integer |
count()
|
void |
create(UserTO userTO)
Create a new user and start off the workflow. |
void |
delete(Long id)
|
List<UserTO> |
list(int page,
int size)
Get all stored users. |
UserTO |
read(String id)
|
List<UserTO> |
search(NodeCond searchCond)
Search an user by its schema values. |
List<UserTO> |
search(NodeCond searchCond,
int page,
int size)
|
Integer |
searchCount(NodeCond searchCond)
|
void |
update(UserMod userModTO)
Update existing user. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UserRestClient()
| Method Detail |
|---|
public Integer count()
public List<UserTO> list(int page,
int size)
page - pagination element to fetchsize - maximum number to fetch
public void create(UserTO userTO)
throws SyncopeClientCompositeErrorException
userTO - instance
SyncopeClientCompositeErrorException
public void update(UserMod userModTO)
throws SyncopeClientCompositeErrorException
userTO -
SyncopeClientCompositeErrorExceptionpublic void delete(Long id)
public UserTO read(String id)
public Integer searchCount(NodeCond searchCond)
public List<UserTO> search(NodeCond searchCond)
throws SyncopeClientCompositeErrorException
userTO -
SyncopeClientCompositeErrorException
public List<UserTO> search(NodeCond searchCond,
int page,
int size)
throws SyncopeClientCompositeErrorException
SyncopeClientCompositeErrorException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||