Package org.apache.syncope.core.logic
Class UserWorkflowTaskLogic
- java.lang.Object
-
- org.apache.syncope.core.logic.AbstractLogic<T>
-
- org.apache.syncope.core.logic.AbstractTransactionalLogic<EntityTO>
-
- org.apache.syncope.core.logic.UserWorkflowTaskLogic
-
public class UserWorkflowTaskLogic extends AbstractTransactionalLogic<EntityTO>
-
-
Field Summary
Fields Modifier and Type Field Description protected UserDataBinder
binder
protected PropagationManager
propagationManager
protected PropagationTaskExecutor
taskExecutor
protected UserDAO
userDAO
protected WorkflowTaskManager
wfTaskManager
-
Fields inherited from class org.apache.syncope.core.logic.AbstractLogic
LOG
-
-
Constructor Summary
Constructors Constructor Description UserWorkflowTaskLogic(WorkflowTaskManager wfTaskManager, PropagationManager propagationManager, PropagationTaskExecutor taskExecutor, UserDataBinder binder, UserDAO userDAO)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserTO
executeNextTask(WorkflowTaskExecInput workflowTaskExecInput)
List<WorkflowTask>
getAvailableTasks(String key)
protected EntityTO
resolveReference(Method method, Object... args)
-
Methods inherited from class org.apache.syncope.core.logic.AbstractLogic
resolveBeanReference
-
-
-
-
Field Detail
-
wfTaskManager
protected final WorkflowTaskManager wfTaskManager
-
propagationManager
protected final PropagationManager propagationManager
-
taskExecutor
protected final PropagationTaskExecutor taskExecutor
-
binder
protected final UserDataBinder binder
-
userDAO
protected final UserDAO userDAO
-
-
Constructor Detail
-
UserWorkflowTaskLogic
public UserWorkflowTaskLogic(WorkflowTaskManager wfTaskManager, PropagationManager propagationManager, PropagationTaskExecutor taskExecutor, UserDataBinder binder, UserDAO userDAO)
-
-
Method Detail
-
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
-
-