Class UserRestClient
- java.lang.Object
-
- org.apache.syncope.client.console.rest.BaseRestClient
-
- org.apache.syncope.client.console.rest.AbstractAnyRestClient<UserTO>
-
- org.apache.syncope.client.console.rest.UserRestClient
-
- All Implemented Interfaces:
Serializable
,RestClient
public class UserRestClient extends AbstractAnyRestClient<UserTO>
Console client for invoking rest users services.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apache.syncope.client.console.rest.BaseRestClient
LOG
-
-
Constructor Summary
Constructors Constructor Description UserRestClient()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
count(String realm, String fiql, String type)
ProvisioningResult<UserTO>
create(UserCR createReq)
protected Class<? extends AnyService<UserTO>>
getAnyServiceClass()
ProvisioningResult<UserTO>
mustChangePassword(String etag, boolean value, String key)
Map<String,String>
reactivate(String etag, String userKey, List<StatusBean> statuses)
List<UserTO>
search(String realm, String fiql, int page, int size, SortParam<String> sort, String type)
Map<String,String>
suspend(String etag, String userKey, List<StatusBean> statuses)
ProvisioningResult<UserTO>
update(String etag, UserUR updateReq)
-
Methods inherited from class org.apache.syncope.client.console.rest.AbstractAnyRestClient
associate, batch, deassociate, delete, parseBatchResponse, read
-
Methods inherited from class org.apache.syncope.client.console.rest.BaseRestClient
getObject, getService, getService, getStatus, getSyncopeService, resetClient, toOrderBy
-
-
-
-
Method Detail
-
getAnyServiceClass
protected Class<? extends AnyService<UserTO>> getAnyServiceClass()
- Specified by:
getAnyServiceClass
in classAbstractAnyRestClient<UserTO>
-
create
public ProvisioningResult<UserTO> create(UserCR createReq)
-
update
public ProvisioningResult<UserTO> update(String etag, UserUR updateReq)
-
count
public int count(String realm, String fiql, String type)
- Specified by:
count
in classAbstractAnyRestClient<UserTO>
-
search
public List<UserTO> search(String realm, String fiql, int page, int size, SortParam<String> sort, String type)
- Specified by:
search
in classAbstractAnyRestClient<UserTO>
-
mustChangePassword
public ProvisioningResult<UserTO> mustChangePassword(String etag, boolean value, String key)
-
-