Package org.apache.syncope.core.logic
Class UserWorkflowTaskLogic
java.lang.Object
org.apache.syncope.core.logic.AbstractLogic<EntityTO>
org.apache.syncope.core.logic.AbstractTransactionalLogic<EntityTO>
org.apache.syncope.core.logic.UserWorkflowTaskLogic
-
Field Summary
Modifier and TypeFieldDescriptionprotected final UserDataBinder
protected final PropagationManager
protected final PropagationTaskExecutor
protected final UserDAO
protected final WorkflowTaskManager
Fields inherited from class org.apache.syncope.core.logic.AbstractLogic
LOG
-
Constructor Summary
ConstructorDescriptionUserWorkflowTaskLogic
(WorkflowTaskManager wfTaskManager, PropagationManager propagationManager, PropagationTaskExecutor taskExecutor, UserDataBinder binder, UserDAO userDAO) -
Method Summary
Modifier and TypeMethodDescriptionexecuteNextTask
(WorkflowTaskExecInput workflowTaskExecInput) getAvailableTasks
(String key) protected EntityTO
resolveReference
(Method method, Object... args) Methods inherited from class org.apache.syncope.core.logic.AbstractLogic
resolveBeanReference
-
Field Details
-
wfTaskManager
-
propagationManager
-
taskExecutor
-
binder
-
userDAO
-
-
Constructor Details
-
UserWorkflowTaskLogic
public UserWorkflowTaskLogic(WorkflowTaskManager wfTaskManager, PropagationManager propagationManager, PropagationTaskExecutor taskExecutor, UserDataBinder binder, UserDAO userDAO)
-
-
Method Details
-
getAvailableTasks
@PreAuthorize("hasRole(\'WORKFLOW_TASK_LIST\') and hasRole(\'USER_READ\')") public List<WorkflowTask> getAvailableTasks(String key) -
executeNextTask
@PreAuthorize("hasRole(\'USER_UPDATE\')") public UserTO executeNextTask(WorkflowTaskExecInput workflowTaskExecInput) -
resolveReference
protected EntityTO resolveReference(Method method, Object... args) throws UnresolvedReferenceException - Specified by:
resolveReference
in classAbstractLogic<EntityTO>
- Throws:
UnresolvedReferenceException
-