Interface ArmaDAO

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

public interface ArmaDAO extends org.springframework.data.jpa.repository.JpaRepository<Arma,Long>
Representa la interfaz que expone para la API las armas
Author:
JOSE LUIS PUENTES ALAMOS - MIGUEL PRADA MUNOZ
  • Method Summary

    Modifier and Type
    Method
    Description
    Devuelve una lista de armas que contiene ese texto en su Tipo de Tiro

    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

    • findBytipoTiroIgnoreCaseContaining

      List<Arma> findBytipoTiroIgnoreCaseContaining(@Param("tipo") String txt)
      Devuelve una lista de armas que contiene ese texto en su Tipo de Tiro
      Parameters:
      txt - Texto que esta incluido en el Tipo de Tiro de las armas buscadas
      Returns:
      Devuelve una lista de armas que contiene ese texto en su Tipo de Tiro