Interface StrategyRepository

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

@Repository public interface StrategyRepository extends org.springframework.data.jpa.repository.JpaRepository<Strategy,Long>, org.springframework.data.jpa.repository.JpaSpecificationExecutor<Strategy>
Data-access layer for Strategy.
Version:
2.0.5
Author:
Stephen Prizio
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.springframework.data.jpa.repository.JpaSpecificationExecutor

    org.springframework.data.jpa.repository.JpaSpecificationExecutor.SpecificationFluentQuery<T>
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the Strategy for the given name.
    Returns the Strategy for the given reference 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.jpa.repository.JpaSpecificationExecutor

    count, count, delete, delete, exists, exists, findAll, findAll, findAll, findAll, findAll, findBy, findBy, findOne, findOne, update

    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

    • findByReferenceCodeIgnoreCase

      Strategy findByReferenceCodeIgnoreCase(String referenceCode)
      Returns the Strategy for the given reference code.
      Parameters:
      referenceCode - strategy reference code
      Returns:
      Strategy
    • findByNameIgnoreCase

      Strategy findByNameIgnoreCase(String name)
      Returns the Strategy for the given name.
      Parameters:
      name - strategy name
      Returns:
      Strategy