Interface AttributeRepository

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

public interface AttributeRepository extends org.springframework.data.jpa.repository.JpaRepository<AttributeEntity,Long>, org.springframework.data.querydsl.QuerydslPredicateExecutor<AttributeEntity>
The Interface AttributeRepository extends another CrudRepository which contains all default crud operations. AttributeRepository contains customized methods definitions for the operations in Attribute entity.
Since:
June 2024
Version:
8.18.4
Author:
Infosys Equinox
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    existsByCollectionIdAndIdentifier(long collectionId, String identifier)
     
    findByCollectionIdAndIdentifier(long collectionId, String identifier)
     

    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

    Methods inherited from interface org.springframework.data.querydsl.QuerydslPredicateExecutor

    count, exists, findAll, findAll, findAll, findAll, findAll, findBy, findOne
  • Method Details

    • findByCollectionIdAndIdentifier

      Optional<AttributeEntity> findByCollectionIdAndIdentifier(long collectionId, String identifier)
      Parameters:
      collectionId -
      identifier -
      Returns:
    • existsByCollectionIdAndIdentifier

      boolean existsByCollectionIdAndIdentifier(long collectionId, String identifier)
      Parameters:
      collectionId -
      identifier -
      Returns: