Interface CollectionPropertyRepository

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

public interface CollectionPropertyRepository extends org.springframework.data.jpa.repository.JpaRepository<CollectionProperty,Long>
Repository class to represent the data access layer of the `collection_properties` entity.
Author:
Infosys Equinox
  • Method Summary

    Modifier and Type
    Method
    Description
    Service definition to find attributes by name and collection id.

    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

    • findByAttributeNameAndCollectionId

      Optional<CollectionProperty> findByAttributeNameAndCollectionId(String name, Long collectionId)
      Service definition to find attributes by name and collection id.
      Parameters:
      name - String
      collectionId - long
      Returns:
      CollectionProperty