Package com.skava.accounts.repository
Interface VersionRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<VersionEntity,
,Long> org.springframework.data.querydsl.QuerydslPredicateExecutor<VersionEntity>
,org.springframework.data.repository.Repository<VersionEntity,
Long>
public interface VersionRepository
extends org.springframework.data.repository.CrudRepository<VersionEntity,Long>, org.springframework.data.querydsl.QuerydslPredicateExecutor<VersionEntity>
Handles CRUD operations of Version entity
- Author:
- Infosys Equinox
-
Method Summary
Modifier and TypeMethodDescriptionfindByIdAndCollectionId
(long id, long collectionId) Loads Version by Version id and PriceList id.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
-
findByIdAndCollectionId
Loads Version by Version id and PriceList id.- Parameters:
id
- Identifier of the Version.collectionId
- Identifier of the collectionId.- Returns:
VersionEntity
entity which matches the identifier
-