Class UserRequestRestClient
- java.lang.Object
-
- org.apache.syncope.client.console.rest.BaseRestClient
-
- org.apache.syncope.client.console.rest.UserRequestRestClient
-
- All Implemented Interfaces:
Serializable
,RestClient
public class UserRequestRestClient extends BaseRestClient
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apache.syncope.client.console.rest.BaseRestClient
LOG
-
-
Constructor Summary
Constructors Constructor Description UserRequestRestClient()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>
batch(BatchRequest batchRequest)
void
cancelRequest(String executionId, String reason)
UserRequestForm
claimForm(String taskKey)
int
countForms(String keyword)
int
countRequests(String keyword)
Optional<UserRequestForm>
getForm(String userKey)
List<UserRequestForm>
listForms(String keyword, int page, int size, SortParam<String> sort)
List<UserRequest>
listRequests(String keyword, int page, int size, SortParam<String> sort)
void
submitForm(UserRequestForm form)
UserRequestForm
unclaimForm(String taskKey)
-
Methods inherited from class org.apache.syncope.client.console.rest.BaseRestClient
getObject, getService, getService, getStatus, getSyncopeService, resetClient, toOrderBy
-
-
-
-
Method Detail
-
countRequests
public int countRequests(String keyword)
-
listRequests
public List<UserRequest> listRequests(String keyword, int page, int size, SortParam<String> sort)
-
countForms
public int countForms(String keyword)
-
listForms
public List<UserRequestForm> listForms(String keyword, int page, int size, SortParam<String> sort)
-
getForm
public Optional<UserRequestForm> getForm(String userKey)
-
claimForm
public UserRequestForm claimForm(String taskKey)
-
unclaimForm
public UserRequestForm unclaimForm(String taskKey)
-
submitForm
public void submitForm(UserRequestForm form)
-
batch
public Map<String,String> batch(BatchRequest batchRequest)
-
-