Interface TmaProductSpecificationFacade

All Known Implementing Classes:
DefaultTmaProductSpecificationFacade

public interface TmaProductSpecificationFacade
Facade that handles operations related to TmaProductSpecificationData.
Since:
2102
  • Method Details

    • getProductSpecificationsByLimitAndOffset

      List<TmaProductSpecificationData> getProductSpecificationsByLimitAndOffset(TmaProductSpecificationContextData productSpecificationContextData, Integer offset, Integer limit)
      Retrieves a list of product specifications filtered by context
      Parameters:
      productSpecificationContextData - the context.
      offset - the offset represents the position in list from where the result list will start.
      limit - the limit represents the number of entries that will be selected for the result list.
      Returns:
      the list of product specifications.
    • getProductSpecification

      TmaProductSpecificationData getProductSpecification(String id)
      Retrieves the TmaProductSpecificationData with the given id.
      Parameters:
      id - unique identifier of the TmaProductSpecificationData to be retrieved
      Returns:
      the TmaProductSpecificationData found.
      Throws:
      de.hybris.platform.servicelayer.exceptions.ModelNotFoundException - if no product specification is found.
    • createProductSpecification

      boolean createProductSpecification(TmaProductSpecificationData productSpecificationData)
      Parameters:
      productSpecificationData - the given product specification data.
      Returns:
      true if successful, false otherwise.
    • getNumberOfProductSpecifications

      Integer getNumberOfProductSpecifications(TmaProductSpecificationContextData productSpecificationContextData)
      Computes the total number of productSpecification.
      Parameters:
      productSpecificationContextData - the context.
      Returns:
      the number of productSpecification.
    • removeProductSpecification

      void removeProductSpecification(String id)
      Removes the productSpecification by id.
      Parameters:
      id - the id of the product specification
    • saveProductSpecification

      void saveProductSpecification(TmaProductSpecificationData tmaProductSpecificationData)
      Parameters:
      tmaProductSpecificationData - the product Specification