Interface CollectionPropertyRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<CollectionPropertyEntity,
,CollectionPropertyPK> org.springframework.data.repository.Repository<CollectionPropertyEntity,
CollectionPropertyPK>
@Repository
public interface CollectionPropertyRepository
extends org.springframework.data.repository.CrudRepository<CollectionPropertyEntity,CollectionPropertyPK>
Class CollectionProprtyRepository
Holds the information about the collectionPropertyRepository
Handles CRUD operations of Collection Property entity
- Author:
- Infosys Equinox
-
Method Summary
Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findAll, findAllById, findById, save, saveAll
-
Method Details
-
getByCollectionId
@Query("select p from collectionproperty p where p.collectionPropertyPK.collection.id = :collectionId") List<CollectionPropertyEntity> getByCollectionId(@Param("collectionId") Long collectionId) methodGetByCollectionId
Find by collection identifier and status
- Parameters:
collectionId
- The collection id- Returns:
- The collection property entity model with all collection properties
-