All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.netgrif.application.engine.history.service.IHistoryService Maven / Gradle / Ivy

Go to download

System provides workflow management functions including user, role and data management.

There is a newer version: 6.3.3
Show newest version
package com.netgrif.application.engine.history.service;

import com.netgrif.application.engine.history.domain.baseevent.EventLog;
import com.netgrif.application.engine.history.domain.caseevents.CreateCaseEventLog;
import com.netgrif.application.engine.history.domain.caseevents.DeleteCaseEventLog;
import com.netgrif.application.engine.history.domain.dataevents.GetDataEventLog;
import com.netgrif.application.engine.history.domain.dataevents.SetDataEventLog;
import com.netgrif.application.engine.history.domain.petrinetevents.DeletePetriNetEventLog;
import com.netgrif.application.engine.history.domain.petrinetevents.ImportPetriNetEventLog;
import com.netgrif.application.engine.history.domain.taskevents.AssignTaskEventLog;
import com.netgrif.application.engine.history.domain.taskevents.CancelTaskEventLog;
import com.netgrif.application.engine.history.domain.taskevents.FinishTaskEventLog;
import org.bson.types.ObjectId;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.mongodb.core.query.Query;

import java.util.List;

public interface IHistoryService {

    void save(EventLog eventLog);

    List findAllByIds(List eventsIds);

    List findAllCreateCaseEventLogsByCaseId(ObjectId caseId);

    List findAllDeleteCaseEventLogsByCaseId(ObjectId caseId);

    List findAllCreateCaseEventLogsByCaseId(String caseId);

    List findAllDeleteCaseEventLogsByCaseId(String caseId);

    List findAllGetDataEventLogsByCaseId(ObjectId caseId);

    List findAllGetDataEventLogsByTaskId(ObjectId taskId);

    List findAllGetDataEventLogsByCaseId(String caseId);

    List findAllGetDataEventLogsByTaskId(String taskId);

    List findAllSetDataEventLogsByCaseId(ObjectId caseId);

    List findAllSetDataEventLogsByCaseId(String caseId);

    List findAllSetDataEventLogsByTaskId(ObjectId taskId);

    List findAllDeletePetriNetEventLogsByNetId(ObjectId netId);

    List findAllSetDataEventLogsByTaskId(String taskId);

    List findAllImportPetriNetEventLogsByNetId(ObjectId netId);

    List findAllAssignTaskEventLogsByTaskId(ObjectId taskId);

    List findAllAssignTaskEventLogsByTaskId(String taskId);

    List findAllAssignTaskEventLogsByUserId(String userId);

    List findAllAssignTaskEventLogsByCaseId(String caseId);

    List findAllCancelTaskEventLogsByTaskId(String taskId);

    List findAllCancelTaskEventLogsByTaskId(ObjectId taskId);

    List findAllCancelTaskEventLogsByUserId(String userId);

    List findAllFinishTaskEventLogsByTaskId(String taskId);

    List findAllFinishTaskEventLogsByTaskId(ObjectId taskId);

    List findAllFinishTaskEventLogsByUserId(String userId);

    List findAllFinishTaskEventLogsByCaseId(String caseId);

     Page findByUserId(String id, Class clazz, Pageable pageable);

     List findAllByUserId(String id, Class clazz);

     Page findByNetId(String id, Class clazz, Pageable pageable);

     List findAllByNetId(String id, Class clazz);

     Page findByNetId(ObjectId id, Class clazz, Pageable pageable);

     List findAllByNetId(ObjectId id, Class clazz);

     Page findByTaskId(String id, Class clazz);

     Page findByTaskId(String id, Class clazz, Pageable pageable);

     List findAllByTaskId(String id, Class clazz);

     Page findByCaseId(String id, Class clazz, Pageable pageable);

     List findAllByCaseId(String id, Class clazz);

     Page findByQuery(Query query, Class clazz, Pageable pageable);

     Page findByQuery(String queryString, Class clazz, Pageable pageable);

     List findAllByQuery(Query query, Class clazz);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy