Interface ServiceRepository

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

public interface ServiceRepository extends org.springframework.data.jpa.repository.JpaRepository<CarService,UUID>
ServiceRepository.java - Repository interface for Service entity.
Author:
Kristian Popov
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Check if service with given name exists.

    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

    • existsByName

      boolean existsByName(String name)
      Check if service with given name exists.
      Parameters:
      name - - service name
      Returns:
      true if service exists, false otherwise