Package com.skava.inventory.repository
Interface CollectionAttributeRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<CollectionAttribute,
,Long> InventoryRepository<CollectionAttribute,
,Long> org.springframework.data.repository.Repository<CollectionAttribute,
Long>
@Repository
public interface CollectionAttributeRepository
extends InventoryRepository<CollectionAttribute,Long>
This is CollectionAttributeRepository interface.
Interface for generic CRUD operations of the collection entity.
This handles the below operations.
- Create
- Read
- Update
- Delete
- Author:
- Infosys Equinox
-
Method Summary
Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findAllById, findById, save, saveAll
Methods inherited from interface com.skava.inventory.repository.InventoryRepository
count, findAll
-
Method Details
-
findAll
@Cacheable(cacheNames="collectionAttributeCache", key="\'getAllCollectionAttribute\'") List<CollectionAttribute> findAll()Load all the collection attribute- Specified by:
findAll
in interfaceorg.springframework.data.repository.CrudRepository<CollectionAttribute,
Long> - Returns:
List
-