Package org.apache.syncope.core.logic
Class UserRequestLogic
- java.lang.Object
-
- org.apache.syncope.core.logic.AbstractLogic<T>
-
- org.apache.syncope.core.logic.AbstractTransactionalLogic<EntityTO>
-
- org.apache.syncope.core.logic.UserRequestLogic
-
public class UserRequestLogic extends AbstractTransactionalLogic<EntityTO>
-
-
Field Summary
Fields Modifier and Type Field Description protected UserDataBinder
binder
protected BpmnProcessManager
bpmnProcessManager
protected PropagationManager
propagationManager
protected PropagationTaskExecutor
taskExecutor
protected UserDAO
userDAO
protected UserRequestHandler
userRequestHandler
-
Fields inherited from class org.apache.syncope.core.logic.AbstractLogic
LOG
-
-
Constructor Summary
Constructors Constructor Description UserRequestLogic(BpmnProcessManager bpmnProcessManager, UserRequestHandler userRequestHandler, PropagationManager propagationManager, PropagationTaskExecutor taskExecutor, UserDataBinder binder, UserDAO userDAO)
-
Method Summary
-
Methods inherited from class org.apache.syncope.core.logic.AbstractLogic
resolveBeanReference
-
-
-
-
Field Detail
-
bpmnProcessManager
protected final BpmnProcessManager bpmnProcessManager
-
userRequestHandler
protected final UserRequestHandler userRequestHandler
-
propagationManager
protected final PropagationManager propagationManager
-
taskExecutor
protected final PropagationTaskExecutor taskExecutor
-
binder
protected final UserDataBinder binder
-
userDAO
protected final UserDAO userDAO
-
-
Constructor Detail
-
UserRequestLogic
public UserRequestLogic(BpmnProcessManager bpmnProcessManager, UserRequestHandler userRequestHandler, PropagationManager propagationManager, PropagationTaskExecutor taskExecutor, UserDataBinder binder, UserDAO userDAO)
-
-
Method Detail
-
listRequests
@PreAuthorize("isAuthenticated()") @Transactional(readOnly=true) public Pair<Integer,List<UserRequest>> listRequests(String userKey, int page, int size, List<OrderByClause> orderByClauses)
-
doStart
protected UserRequest doStart(String bpmnProcess, User user, WorkflowTaskExecInput inputVariables)
-
startRequest
@PreAuthorize("isAuthenticated()") public UserRequest startRequest(String bpmnProcess, WorkflowTaskExecInput inputVariables)
-
startRequest
@PreAuthorize("hasRole(\'USER_REQUEST_START\')") public UserRequest startRequest(String bpmnProcess, String userKey, WorkflowTaskExecInput inputVariables)
-
securityChecks
protected static void securityChecks(String username, String entitlement, String errorMessage)
-
cancelRequest
@PreAuthorize("isAuthenticated()") public void cancelRequest(String executionId, String reason)
-
claimForm
@PreAuthorize("isAuthenticated()") public UserRequestForm claimForm(String taskId)
-
unclaimForm
@PreAuthorize("isAuthenticated()") public UserRequestForm unclaimForm(String taskId)
-
evaluateKey
protected void evaluateKey(String userKey)
-
getForm
@PreAuthorize("isAuthenticated()") public UserRequestForm getForm(String userKey, String taskId)
-
listForms
@PreAuthorize("isAuthenticated()") @Transactional(readOnly=true) public Pair<Integer,List<UserRequestForm>> listForms(String userKey, int page, int size, List<OrderByClause> orderByClauses)
-
submitForm
@PreAuthorize("isAuthenticated()") public ProvisioningResult<UserTO> submitForm(UserRequestForm form, boolean nullPriorityAsync)
-
resolveReference
protected EntityTO resolveReference(Method method, Object... args) throws UnresolvedReferenceException
- Specified by:
resolveReference
in classAbstractLogic<EntityTO>
- Throws:
UnresolvedReferenceException
-
-