Interface WorkflowOptionRepository

All Superinterfaces:
org.springframework.data.repository.CrudRepository<WorkflowOption,Long>, org.springframework.data.jpa.repository.JpaRepository<WorkflowOption,Long>, org.springframework.data.repository.ListCrudRepository<WorkflowOption,Long>, org.springframework.data.repository.ListPagingAndSortingRepository<WorkflowOption,Long>, org.springframework.data.repository.PagingAndSortingRepository<WorkflowOption,Long>, org.springframework.data.repository.query.QueryByExampleExecutor<WorkflowOption>, org.springframework.data.repository.Repository<WorkflowOption,Long>

public interface WorkflowOptionRepository extends org.springframework.data.jpa.repository.JpaRepository<WorkflowOption,Long>
Data Access Object for the WorkflowOption class
Author:
Dr. Thomas Bassler
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the workflow option with the given name and workflow name

    Methods inherited from interface org.springframework.data.repository.CrudRepository

    count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, save

    Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository

    deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlush

    Methods inherited from interface org.springframework.data.repository.ListCrudRepository

    findAll, findAllById, saveAll

    Methods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository

    findAll

    Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository

    findAll

    Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor

    count, exists, findAll, findBy, findOne
  • Method Details

    • findByNameAndWorkflowName

      @Query("select w from WorkflowOption w where w.name = ?1 and w.workflow.name = ?2") WorkflowOption findByNameAndWorkflowName(String name, String workflowName)
      Get the workflow option with the given name and workflow name
      Parameters:
      name - the workflow option name
      workflowName - the workflow name
      Returns:
      the unique workflow option identified by the search criteria