Package com.skava.accounts.repository
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 Summary
Modifier and TypeMethodDescriptionboolean
existsByCollectionIdAndIdentifier
(long collectionId, String identifier) boolean
existsByCollectionIdAndIdentifierAndRequiredTrue
(long collectionId, String identifier) org.springframework.data.domain.Page<AttributeEntity>
findAll
(org.springframework.data.jpa.domain.Specification<AttributeEntity> specification, org.springframework.data.domain.Pageable pageRequest) findByCollectionIdAndIdentifier
(long collectionId, String identifier) findByCollectionIdAndIdentifierIn
(long collectionId, List<String> identifiers) findByCollectionIdAndRequiredTrueAndStatusAndTypeIn
(long collectionId, AttributeStatus active, List<AttributeType> allowedtypes) Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findAll, findAllById, findById, save, saveAll
Methods inherited from interface org.springframework.data.querydsl.QuerydslPredicateExecutor
count, exists, findAll, findAll, findAll, findAll, findAll, findBy, findOne
-
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
-
findByCollectionIdAndIdentifier
-
findByCollectionIdAndRequiredTrueAndStatusAndTypeIn
List<AttributeEntity> findByCollectionIdAndRequiredTrueAndStatusAndTypeIn(long collectionId, AttributeStatus active, List<AttributeType> allowedtypes) -
findByCollectionIdAndIdentifierIn
List<AttributeEntity> findByCollectionIdAndIdentifierIn(long collectionId, List<String> identifiers) -
existsByCollectionIdAndIdentifierAndRequiredTrue
-