Package de.dlr.proseo.model.dao
Interface MissionRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<Mission,,Long> org.springframework.data.jpa.repository.JpaRepository<Mission,,Long> org.springframework.data.repository.ListCrudRepository<Mission,,Long> org.springframework.data.repository.ListPagingAndSortingRepository<Mission,,Long> org.springframework.data.repository.PagingAndSortingRepository<Mission,,Long> org.springframework.data.repository.query.QueryByExampleExecutor<Mission>,org.springframework.data.repository.Repository<Mission,Long>
public interface MissionRepository
extends org.springframework.data.jpa.repository.JpaRepository<Mission,Long>
Data Access Object for the Mission class
- Author:
- Dr. Thomas Bassler
-
Method Summary
Modifier and TypeMethodDescriptionfindByCode(String missionCode) Get the mission with the given codeMethods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, saveMethods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlushMethods inherited from interface org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAllMethods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
findByCode
Get the mission with the given code- Parameters:
missionCode- the mission code- Returns:
- the unique mission identified by the code
-