Class HistoryService
- java.lang.Object
-
- com.netgrif.application.engine.history.service.HistoryService
-
- All Implemented Interfaces:
IHistoryService
@Service public class HistoryService extends java.lang.Object implements IHistoryService
-
-
Constructor Summary
Constructors Constructor Description HistoryService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<AssignTaskEventLog>
findAllAssignTaskEventLogsByTaskId(org.bson.types.ObjectId taskId)
java.util.List<AssignTaskEventLog>
findAllAssignTaskEventLogsByUserId(java.lang.String userId)
java.util.List<EventLog>
findAllByIds(java.util.List<org.bson.types.ObjectId> eventIds)
java.util.List<CancelTaskEventLog>
findAllCancelTaskEventLogsByTaskId(org.bson.types.ObjectId taskId)
java.util.List<CancelTaskEventLog>
findAllCancelTaskEventLogsByUserId(java.lang.String userId)
java.util.List<CreateCaseEventLog>
findAllCreateCaseEventLogsByCaseId(org.bson.types.ObjectId caseId)
java.util.List<DeleteCaseEventLog>
findAllDeleteCaseEventLogsByCaseId(org.bson.types.ObjectId caseId)
java.util.List<DeletePetriNetEventLog>
findAllDeletePetriNetEventLogsByNetId(org.bson.types.ObjectId netId)
java.util.List<FinishTaskEventLog>
findAllFinishTaskEventLogsByTaskId(org.bson.types.ObjectId taskId)
java.util.List<FinishTaskEventLog>
findAllFinishTaskEventLogsByUserId(java.lang.String userId)
java.util.List<GetDataEventLog>
findAllGetDataEventLogsByCaseId(org.bson.types.ObjectId caseId)
java.util.List<GetDataEventLog>
findAllGetDataEventLogsByTaskId(org.bson.types.ObjectId taskId)
java.util.List<ImportPetriNetEventLog>
findAllImportPetriNetEventLogsByNetId(org.bson.types.ObjectId netId)
java.util.List<SetDataEventLog>
findAllSetDataEventLogsByCaseId(org.bson.types.ObjectId caseId)
java.util.List<SetDataEventLog>
findAllSetDataEventLogsByTaskId(org.bson.types.ObjectId taskId)
void
save(EventLog eventLog)
-
-
-
Method Detail
-
save
public void save(EventLog eventLog)
- Specified by:
save
in interfaceIHistoryService
-
findAllByIds
public java.util.List<EventLog> findAllByIds(java.util.List<org.bson.types.ObjectId> eventIds)
- Specified by:
findAllByIds
in interfaceIHistoryService
-
findAllCreateCaseEventLogsByCaseId
public java.util.List<CreateCaseEventLog> findAllCreateCaseEventLogsByCaseId(org.bson.types.ObjectId caseId)
- Specified by:
findAllCreateCaseEventLogsByCaseId
in interfaceIHistoryService
-
findAllDeleteCaseEventLogsByCaseId
public java.util.List<DeleteCaseEventLog> findAllDeleteCaseEventLogsByCaseId(org.bson.types.ObjectId caseId)
- Specified by:
findAllDeleteCaseEventLogsByCaseId
in interfaceIHistoryService
-
findAllGetDataEventLogsByCaseId
public java.util.List<GetDataEventLog> findAllGetDataEventLogsByCaseId(org.bson.types.ObjectId caseId)
- Specified by:
findAllGetDataEventLogsByCaseId
in interfaceIHistoryService
-
findAllGetDataEventLogsByTaskId
public java.util.List<GetDataEventLog> findAllGetDataEventLogsByTaskId(org.bson.types.ObjectId taskId)
- Specified by:
findAllGetDataEventLogsByTaskId
in interfaceIHistoryService
-
findAllSetDataEventLogsByCaseId
public java.util.List<SetDataEventLog> findAllSetDataEventLogsByCaseId(org.bson.types.ObjectId caseId)
- Specified by:
findAllSetDataEventLogsByCaseId
in interfaceIHistoryService
-
findAllSetDataEventLogsByTaskId
public java.util.List<SetDataEventLog> findAllSetDataEventLogsByTaskId(org.bson.types.ObjectId taskId)
- Specified by:
findAllSetDataEventLogsByTaskId
in interfaceIHistoryService
-
findAllDeletePetriNetEventLogsByNetId
public java.util.List<DeletePetriNetEventLog> findAllDeletePetriNetEventLogsByNetId(org.bson.types.ObjectId netId)
- Specified by:
findAllDeletePetriNetEventLogsByNetId
in interfaceIHistoryService
-
findAllImportPetriNetEventLogsByNetId
public java.util.List<ImportPetriNetEventLog> findAllImportPetriNetEventLogsByNetId(org.bson.types.ObjectId netId)
- Specified by:
findAllImportPetriNetEventLogsByNetId
in interfaceIHistoryService
-
findAllAssignTaskEventLogsByTaskId
public java.util.List<AssignTaskEventLog> findAllAssignTaskEventLogsByTaskId(org.bson.types.ObjectId taskId)
- Specified by:
findAllAssignTaskEventLogsByTaskId
in interfaceIHistoryService
-
findAllAssignTaskEventLogsByUserId
public java.util.List<AssignTaskEventLog> findAllAssignTaskEventLogsByUserId(java.lang.String userId)
- Specified by:
findAllAssignTaskEventLogsByUserId
in interfaceIHistoryService
-
findAllCancelTaskEventLogsByTaskId
public java.util.List<CancelTaskEventLog> findAllCancelTaskEventLogsByTaskId(org.bson.types.ObjectId taskId)
- Specified by:
findAllCancelTaskEventLogsByTaskId
in interfaceIHistoryService
-
findAllCancelTaskEventLogsByUserId
public java.util.List<CancelTaskEventLog> findAllCancelTaskEventLogsByUserId(java.lang.String userId)
- Specified by:
findAllCancelTaskEventLogsByUserId
in interfaceIHistoryService
-
findAllFinishTaskEventLogsByTaskId
public java.util.List<FinishTaskEventLog> findAllFinishTaskEventLogsByTaskId(org.bson.types.ObjectId taskId)
- Specified by:
findAllFinishTaskEventLogsByTaskId
in interfaceIHistoryService
-
findAllFinishTaskEventLogsByUserId
public java.util.List<FinishTaskEventLog> findAllFinishTaskEventLogsByUserId(java.lang.String userId)
- Specified by:
findAllFinishTaskEventLogsByUserId
in interfaceIHistoryService
-
-