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 Type
    Method
    Description
    findByCode(String missionCode)
    Get the mission with the given code

    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

    • findByCode

      Mission findByCode(String missionCode)
      Get the mission with the given code
      Parameters:
      missionCode - the mission code
      Returns:
      the unique mission identified by the code