Class UserRequestRestClient
- java.lang.Object
-
- org.apache.syncope.client.enduser.rest.BaseRestClient
-
- org.apache.syncope.client.enduser.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.enduser.rest.BaseRestClient
LOG
-
-
Constructor Summary
Constructors Constructor Description UserRequestRestClient()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cancelRequest(String executionId, String reason)
UserRequestForm
claimForm(String taskKey)
int
countForms()
int
countRequests()
Optional<UserRequestForm>
getForm(String username, String taskId)
List<UserRequestForm>
listForms(int page, int size, SortParam<String> sort)
List<UserRequest>
listRequests(int page, int size, String username, SortParam<String> sort)
void
startRequest(String bpmnProcess, String user)
ProvisioningResult<UserTO>
submitForm(UserRequestForm form)
-
Methods inherited from class org.apache.syncope.client.enduser.rest.BaseRestClient
getObject, getService, getService, getStatus, getSyncopeService, resetClient, toOrderBy
-
-
-
-
Method Detail
-
countRequests
public int countRequests()
-
listRequests
public List<UserRequest> listRequests(int page, int size, String username, SortParam<String> sort)
-
countForms
public int countForms()
-
listForms
public List<UserRequestForm> listForms(int page, int size, SortParam<String> sort)
-
getForm
public Optional<UserRequestForm> getForm(String username, String taskId)
-
submitForm
public ProvisioningResult<UserTO> submitForm(UserRequestForm form)
-
claimForm
public UserRequestForm claimForm(String taskKey)
-
-