Interface ProductBackofficeRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<ProductBackoffice,,ProductBackoffice.ProductBackofficeId> org.springframework.data.jpa.repository.JpaRepository<ProductBackoffice,,ProductBackoffice.ProductBackofficeId> org.springframework.data.repository.PagingAndSortingRepository<ProductBackoffice,,ProductBackoffice.ProductBackofficeId> org.springframework.data.repository.query.QueryByExampleExecutor<ProductBackoffice>,org.springframework.data.repository.Repository<ProductBackoffice,ProductBackoffice.ProductBackofficeId>
@Repository
public interface ProductBackofficeRepository
extends org.springframework.data.jpa.repository.JpaRepository<ProductBackoffice,ProductBackoffice.ProductBackofficeId>
Repository for queries for products backoffice.
-
Method Summary
Modifier and TypeMethodDescriptionfindByCoreProductTypeIdAndBackOfficeId(String coreProductTypeId, Integer backOfficeId) Getting product backoffice by product Type and backoffice Id.Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, saveMethods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getById, getOne, getReferenceById, saveAll, saveAllAndFlush, saveAndFlushMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
findByCoreProductTypeIdAndBackOfficeId
ProductBackoffice findByCoreProductTypeIdAndBackOfficeId(String coreProductTypeId, Integer backOfficeId) Getting product backoffice by product Type and backoffice Id.- Parameters:
coreProductTypeId- core Product Type Id.backOfficeId- back office identifier.- Returns:
- the product backoffice.
-