Package de.dlr.proseo.model.dao
Schnittstelle WorkflowOptionRepository
- Alle Superschnittstellen:
org.springframework.data.repository.CrudRepository<WorkflowOption,
,Long> org.springframework.data.jpa.repository.JpaRepository<WorkflowOption,
,Long> org.springframework.data.repository.PagingAndSortingRepository<WorkflowOption,
,Long> org.springframework.data.repository.query.QueryByExampleExecutor<WorkflowOption>
,org.springframework.data.repository.Repository<WorkflowOption,
Long>
@Repository
public interface WorkflowOptionRepository
extends org.springframework.data.jpa.repository.JpaRepository<WorkflowOption,Long>
Data Access Object for the WorkflowOption class
- Autor:
- Dr. Thomas Bassler
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungfindByNameAndWorkflowName
(String name, String workflowName) Get the workflow option with the given name and workflow nameVon Schnittstelle geerbte Methoden org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteById, existsById, findById, save
Von Schnittstelle geerbte Methoden org.springframework.data.jpa.repository.JpaRepository
deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getOne, saveAll, saveAndFlush
Von Schnittstelle geerbte Methoden org.springframework.data.repository.PagingAndSortingRepository
findAll
Von Schnittstelle geerbte Methoden org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findOne
-
Methodendetails
-
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- Parameter:
name
- the workflow option nameworkflowName
- the workflow name- Gibt zurück:
- the unique workflow option identified by the search criteria
-