public interface TaskanaHistory
| Modifier and Type | Method and Description |
|---|---|
void |
create(ClassificationHistoryEvent event)
Create a new classification history event.
|
void |
create(TaskHistoryEvent event)
Create a new task history event.
|
void |
create(WorkbasketHistoryEvent event)
Create a new workbasket history event.
|
void |
deleteHistoryEventsByTaskIds(List<String> taskIds)
Delete history events by taskIds.
|
void |
initialize(TaskanaEngine taskanaEngine)
Initialize TaskanaHistory service.
|
void initialize(TaskanaEngine taskanaEngine)
taskanaEngine - TaskanaEngine The Taskana engine for needed initialization.void create(TaskHistoryEvent event)
event - TaskHistoryEvent The event to be created.void create(WorkbasketHistoryEvent event)
event - WorkbasketHistoryEvent The event to be created.void create(ClassificationHistoryEvent event)
event - ClassificationHistoryEvent The event to be created.void deleteHistoryEventsByTaskIds(List<String> taskIds) throws InvalidArgumentException, NotAuthorizedException
taskIds - the task ids for which all history events must be deletedInvalidArgumentException - If the list of taskIds is nullNotAuthorizedException - If the user has no permission to delete eventsCopyright © 2020. All rights reserved.