Package org.apache.syncope.core.logic
Class UserRequestLogic
java.lang.Object
org.apache.syncope.core.logic.AbstractLogic<EntityTO>
org.apache.syncope.core.logic.AbstractTransactionalLogic<EntityTO>
org.apache.syncope.core.logic.UserRequestLogic
-
Field Summary
Modifier and TypeFieldDescriptionprotected final UserDataBinder
protected final BpmnProcessManager
protected final PropagationManager
protected final PropagationTaskExecutor
protected final UserDAO
protected final UserRequestHandler
Fields inherited from class org.apache.syncope.core.logic.AbstractLogic
LOG
-
Constructor Summary
ConstructorDescriptionUserRequestLogic
(BpmnProcessManager bpmnProcessManager, UserRequestHandler userRequestHandler, PropagationManager propagationManager, PropagationTaskExecutor taskExecutor, UserDataBinder binder, UserDAO userDAO) -
Method Summary
Modifier and TypeMethodDescriptionvoid
cancelRequest
(String executionId, String reason) protected UserRequest
doStart
(String bpmnProcess, User user, WorkflowTaskExecInput inputVariables) protected void
evaluateKey
(String userKey) org.springframework.data.domain.Page
<UserRequestForm> org.springframework.data.domain.Page
<UserRequest> listRequests
(String userKey, org.springframework.data.domain.Pageable pageable) protected EntityTO
resolveReference
(Method method, Object... args) protected static void
securityChecks
(String username, String entitlement, String errorMessage) startRequest
(String bpmnProcess, String userKey, WorkflowTaskExecInput inputVariables) startRequest
(String bpmnProcess, WorkflowTaskExecInput inputVariables) submitForm
(UserRequestForm form, boolean nullPriorityAsync) unclaimForm
(String taskId) Methods inherited from class org.apache.syncope.core.logic.AbstractLogic
resolveBeanReference
-
Field Details
-
bpmnProcessManager
-
userRequestHandler
-
propagationManager
-
taskExecutor
-
binder
-
userDAO
-
-
Constructor Details
-
UserRequestLogic
public UserRequestLogic(BpmnProcessManager bpmnProcessManager, UserRequestHandler userRequestHandler, PropagationManager propagationManager, PropagationTaskExecutor taskExecutor, UserDataBinder binder, UserDAO userDAO)
-
-
Method Details
-
listRequests
@PreAuthorize("isAuthenticated()") @Transactional(readOnly=true) public org.springframework.data.domain.Page<UserRequest> listRequests(String userKey, org.springframework.data.domain.Pageable pageable) -
doStart
-
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
-
cancelRequest
-
claimForm
-
unclaimForm
-
evaluateKey
-
getForm
-
listForms
@PreAuthorize("isAuthenticated()") @Transactional(readOnly=true) public org.springframework.data.domain.Page<UserRequestForm> listForms(String userKey, org.springframework.data.domain.Pageable pageable) -
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
-