Class UserWorkflowTaskServiceImpl
- java.lang.Object
-
- org.apache.syncope.core.rest.cxf.service.AbstractService
-
- org.apache.syncope.core.rest.cxf.service.UserWorkflowTaskServiceImpl
-
- All Implemented Interfaces:
JAXRSService
,UserWorkflowTaskService
@Service public class UserWorkflowTaskServiceImpl extends AbstractService implements UserWorkflowTaskService
-
-
Field Summary
Fields Modifier and Type Field Description protected UserWorkflowTaskLogic
logic
-
Fields inherited from class org.apache.syncope.core.rest.cxf.service.AbstractService
LOG, messageContext, OPTIONS_ALLOW, searchContext, uriInfo
-
Fields inherited from interface org.apache.syncope.common.rest.api.service.JAXRSService
CRLF, DOUBLE_DASH, PARAM_ANYTYPE_KIND, PARAM_ANYTYPEKEY, PARAM_CONNID_PAGED_RESULTS_COOKIE, PARAM_DETAILS, PARAM_ENTITY_KEY, PARAM_FIQL, PARAM_KEYWORD, PARAM_MAX, PARAM_NOTIFICATION, PARAM_ORDERBY, PARAM_PAGE, PARAM_REALM, PARAM_RECURSIVE, PARAM_RESOURCE, PARAM_SIZE, PARAM_USER
-
-
Constructor Summary
Constructors Constructor Description UserWorkflowTaskServiceImpl(UserWorkflowTaskLogic logic)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserTO
executeNextTask(WorkflowTaskExecInput workflowTaskExecInput)
Executes the next workflow task available, for matching user key.List<WorkflowTask>
getAvailableTasks(String userKey)
Returns a list of available tasks for the given user key.-
Methods inherited from class org.apache.syncope.core.rest.cxf.service.AbstractService
applyPreference, buildPagedResult, checkETag, createResponse, getActualKey, getOrderByClauses, getPreference, isNullPriorityAsync, modificationResponse
-
-
-
-
Field Detail
-
logic
protected final UserWorkflowTaskLogic logic
-
-
Constructor Detail
-
UserWorkflowTaskServiceImpl
public UserWorkflowTaskServiceImpl(UserWorkflowTaskLogic logic)
-
-
Method Detail
-
getAvailableTasks
public List<WorkflowTask> getAvailableTasks(String userKey)
Description copied from interface:UserWorkflowTaskService
Returns a list of available tasks for the given user key.- Specified by:
getAvailableTasks
in interfaceUserWorkflowTaskService
- Parameters:
userKey
- user key- Returns:
- list of available tasks for the given user key
-
executeNextTask
public UserTO executeNextTask(WorkflowTaskExecInput workflowTaskExecInput)
Description copied from interface:UserWorkflowTaskService
Executes the next workflow task available, for matching user key.- Specified by:
executeNextTask
in interfaceUserWorkflowTaskService
- Parameters:
workflowTaskExecInput
- input for task execution- Returns:
- updated user
-
-