Class BulkTaskRestServiceImpl
java.lang.Object
org.finos.fluxnova.bpm.engine.rest.impl.AbstractRestProcessEngineAware
org.finos.fluxnova.bpm.engine.rest.impl.BulkTaskRestServiceImpl
- All Implemented Interfaces:
BulkTaskRestService
public class BulkTaskRestServiceImpl
extends AbstractRestProcessEngineAware
implements BulkTaskRestService
-
Field Summary
FieldsFields inherited from class org.finos.fluxnova.bpm.engine.rest.impl.AbstractRestProcessEngineAware
objectMapper, relativeRootResourcePathFields inherited from interface org.finos.fluxnova.bpm.engine.rest.BulkTaskRestService
PATH -
Constructor Summary
ConstructorsConstructorDescriptionBulkTaskRestServiceImpl(String engineName, tools.jackson.databind.ObjectMapper objectMapper) -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.ResponseCompletes multiple tasks, optionally returning variables.jakarta.ws.rs.core.ResponseSets the assignee for multiple tasks.jakarta.ws.rs.core.ResponseupdateTasks(List<TaskDto> taskDtos) Updates multiple tasks based on the provided list of TaskDto.Methods inherited from class org.finos.fluxnova.bpm.engine.rest.impl.AbstractRestProcessEngineAware
getObjectMapper, getProcessEngine, setRelativeRootResourceUri
-
Field Details
-
MAX_TASK_UPDATE_ALLOWED
public static final int MAX_TASK_UPDATE_ALLOWED- See Also:
-
-
Constructor Details
-
BulkTaskRestServiceImpl
-
-
Method Details
-
createComments
- Specified by:
createCommentsin interfaceBulkTaskRestService
-
updateTasks
Updates multiple tasks based on the provided list of TaskDto. Returns multi-status if any update fails.- Specified by:
updateTasksin interfaceBulkTaskRestService- Parameters:
taskDtos- List of tasks to update- Returns:
- Response with update results
-
setTasksAssignee
Sets the assignee for multiple tasks. Returns multi-status if any assignment fails.- Specified by:
setTasksAssigneein interfaceBulkTaskRestService- Parameters:
dto- TasksAssignDto containing task IDs and user ID- Returns:
- Response with assignment results
-
completeTasks
Completes multiple tasks, optionally returning variables. Returns multi-status if any completion fails.- Specified by:
completeTasksin interfaceBulkTaskRestService- Parameters:
dtos- CompleteTaskRequestDto containing completion info- Returns:
- Response with completion results
-