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 Type
    Method
    Description
    findByCoreProductTypeIdAndBackOfficeId(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, save

    Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository

    deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getById, getOne, getReferenceById, saveAll, saveAllAndFlush, saveAndFlush

    Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository

    findAll

    Methods 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.