Interface FulfillmentCalculatorConfigService<P extends FulfillmentCalculatorConfig>

Type Parameters:
P - extends FulfillmentCalculatorConfig
All Superinterfaces:
com.broadleafcommerce.data.tracking.core.service.CrudEntityService<P>, com.broadleafcommerce.data.tracking.core.service.RsqlCrudEntityService<P>
All Known Implementing Classes:
DefaultFulfillmentCalculatorConfigService

public interface FulfillmentCalculatorConfigService<P extends FulfillmentCalculatorConfig> extends com.broadleafcommerce.data.tracking.core.service.RsqlCrudEntityService<P>
Operations to support operations on FulfillmentCalculatorConfig.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    existsByFulfillmentDestination(String fulfillmentDestinationId, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
    Checks if any FulfillmentCalculatorConfig exists with the given fulfillment destination ID.
    boolean
    existsByFulfillmentOrigin(String fulfillmentOriginId, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
    Checks if any FulfillmentCalculatorConfig exists with the given fulfillment origin ID.
    org.springframework.data.domain.Page<P>
    readAllByName(String name, cz.jirutka.rsql.parser.ast.Node filters, org.springframework.data.domain.Pageable pageable, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
    Filter all FulfillmentCalculatorConfigs by a name query.

    Methods inherited from interface com.broadleafcommerce.data.tracking.core.service.CrudEntityService

    create, createAll, createAllAllowingPartialSuccess, delete, readAll, readAll, readAll, readAllByContextId, readByContextId, replace, replaceAll, replaceAllAllowingPartialSuccess, update, updateAll, updateAllAllowingPartialSuccess, updateSort

    Methods inherited from interface com.broadleafcommerce.data.tracking.core.service.RsqlCrudEntityService

    readAll, readAll, readAll, readAll
  • Method Details

    • readAllByName

      org.springframework.data.domain.Page<P> readAllByName(String name, @NonNull cz.jirutka.rsql.parser.ast.Node filters, @NonNull org.springframework.data.domain.Pageable pageable, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
      Filter all FulfillmentCalculatorConfigs by a name query.
      Parameters:
      name - The config name used to filter configs.
      filters - The filters to apply to the query.
      pageable - Paging information for the query.
      context - Context information about sandbox and multitenant state.
      Returns:
      Page of FulfillmentCalculatorConfigs that match the given name and filters.
    • existsByFulfillmentOrigin

      boolean existsByFulfillmentOrigin(String fulfillmentOriginId, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
      Checks if any FulfillmentCalculatorConfig exists with the given fulfillment origin ID.
      Parameters:
      fulfillmentOriginId - The fulfillment origin ID to check
      context - Context information about sandbox and multitenant state
      Returns:
      true if a config exists with the given fulfillment origin, false otherwise
      Since:
      2.0.5
    • existsByFulfillmentDestination

      boolean existsByFulfillmentDestination(String fulfillmentDestinationId, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
      Checks if any FulfillmentCalculatorConfig exists with the given fulfillment destination ID.
      Parameters:
      fulfillmentDestinationId - The fulfillment destination ID to check
      context - Context information about sandbox and multitenant state
      Returns:
      true if a config exists with the given fulfillment destination, false otherwise
      Since:
      2.0.5