Interface CancellationPolicyProvider<C extends CancellationPolicy>

All Known Implementing Classes:
ExternalCancellationPolicyProvider

public interface CancellationPolicyProvider<C extends CancellationPolicy>
Provider interfacing with a service or datastore providing catalog entity details for the CancellationPolicy.
Author:
Sunny Yu
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.data.domain.Page<C>
    readAll(cz.jirutka.rsql.parser.ast.Node filters, org.springframework.data.domain.Pageable page, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    Reads all CancellationPolicies based on the provided filters and paging.
    readById(String id, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    Reads a CancellationPolicy by its id.
  • Method Details

    • readById

      C readById(String id, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Reads a CancellationPolicy by its id.
      Parameters:
      id - the id of the CancellationPolicy
      contextInfo - context information around multi-tenant state
      Returns:
      the CancellationPolicy with the provided id
    • readAll

      org.springframework.data.domain.Page<C> readAll(@Nullable cz.jirutka.rsql.parser.ast.Node filters, @Nullable org.springframework.data.domain.Pageable page, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Reads all CancellationPolicies based on the provided filters and paging.
      Parameters:
      filters - the Node filters to apply
      page - the current Pageable
      contextInfo - context information around multi-tenant state
      Returns:
      a page of CancellationPolicies