@Component public class UserWorkflowTaskLogic extends Object
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
UserWorkflowTaskLogic() |
Modifier and Type | Method and Description |
---|---|
UserTO |
executeNextTask(WorkflowTaskExecInput workflowTaskExecInput) |
List<WorkflowTask> |
getAvailableTasks(String key) |
T |
resolveBeanReference(Method method,
Object... args)
Resolves stored bean (if existing) referred by the given CUD method.
|
protected EntityTO |
resolveReference(Method method,
Object... args) |
@PreAuthorize(value="hasRole(\'WORKFLOW_TASK_LIST\') and hasRole(\'USER_READ\')") public List<WorkflowTask> getAvailableTasks(String key)
@PreAuthorize(value="hasRole(\'USER_UPDATE\')") public UserTO executeNextTask(WorkflowTaskExecInput workflowTaskExecInput)
protected EntityTO resolveReference(Method method, Object... args) throws UnresolvedReferenceException
UnresolvedReferenceException
public T resolveBeanReference(Method method, Object... args) throws UnresolvedReferenceException
method
- method.args
- method arguments.UnresolvedReferenceException
- in case of failures, read-only methods and unresolved bean.Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.