Schnittstelle TagRepository
- Alle Superschnittstellen:
org.springframework.data.repository.CrudRepository<Tag,
,Long> org.springframework.data.jpa.repository.JpaRepository<Tag,
,Long> org.springframework.data.repository.ListCrudRepository<Tag,
,Long> org.springframework.data.repository.ListPagingAndSortingRepository<Tag,
,Long> org.springframework.data.repository.PagingAndSortingRepository<Tag,
,Long> org.springframework.data.repository.query.QueryByExampleExecutor<Tag>
,org.springframework.data.repository.Repository<Tag,
Long>
public interface TagRepository
extends org.springframework.data.jpa.repository.JpaRepository<Tag,Long>
Repository interface for accessing and managing tag entities in the database.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungboolean
existsByTagNameAndTagGroup
(String tagName, TagGroup tagGroup) Checks whether a tag with the given tagName in a given tagGroup already exists.Von Schnittstelle geerbte Methoden org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, save
Von Schnittstelle geerbte Methoden org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlush
Von Schnittstelle geerbte Methoden org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAll
Von Schnittstelle geerbte Methoden org.springframework.data.repository.ListPagingAndSortingRepository
findAll
Von Schnittstelle geerbte Methoden org.springframework.data.repository.PagingAndSortingRepository
findAll
Von Schnittstelle geerbte Methoden org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Methodendetails
-
existsByTagNameAndTagGroup
Checks whether a tag with the given tagName in a given tagGroup already exists.- Parameter:
tagName
- the tagName to checktagGroup
- the tagGroup to check- Gibt zurück:
true
if a tag with the given tagName in a given tagGroup exists,false
otherwise
-