Interface AttributeRepository

All Superinterfaces:
org.springframework.data.repository.CrudRepository<AttributeEntity,Long>, org.springframework.data.querydsl.QuerydslPredicateExecutor<AttributeEntity>, org.springframework.data.repository.Repository<AttributeEntity,Long>

public interface AttributeRepository extends org.springframework.data.repository.CrudRepository<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:
May 2020
Version:
8.9.0
Author:
Infosys Equinox
  • Method Details

    • findAll

      org.springframework.data.domain.Page<AttributeEntity> findAll(org.springframework.data.jpa.domain.Specification<AttributeEntity> specification, org.springframework.data.domain.Pageable pageRequest)
    • existsByCollectionIdAndIdentifier

      boolean existsByCollectionIdAndIdentifier(long collectionId, String identifier)
    • findByCollectionIdAndIdentifier

      Optional<AttributeEntity> findByCollectionIdAndIdentifier(long collectionId, String identifier)
    • findByCollectionIdAndRequiredTrueAndStatusAndTypeIn

      List<AttributeEntity> findByCollectionIdAndRequiredTrueAndStatusAndTypeIn(long collectionId, AttributeStatus active, List<AttributeType> allowedtypes)
    • findByCollectionIdAndIdentifierIn

      List<AttributeEntity> findByCollectionIdAndIdentifierIn(long collectionId, List<String> identifiers)
    • existsByCollectionIdAndIdentifierAndRequiredTrue

      boolean existsByCollectionIdAndIdentifierAndRequiredTrue(long collectionId, String identifier)