Interface CartFieldMappingService<P extends CartFieldMapping>

All Superinterfaces:
com.broadleafcommerce.data.tracking.core.service.CrudEntityService<P>, com.broadleafcommerce.data.tracking.core.service.RsqlCrudEntityService<P>
All Known Implementing Classes:
DefaultCartFieldMappingService

public interface CartFieldMappingService<P extends CartFieldMapping> extends com.broadleafcommerce.data.tracking.core.service.RsqlCrudEntityService<P>
Service API for CartFieldMapping. Supported by CartFieldMappingRepository.
Author:
Jon Fleschler (jfleschler)
  • Method Summary

    Modifier and Type
    Method
    Description
    readAll(com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
    Retrieves of all the CartItemProductMappings.
    readByAttributeName(String attributeName, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
    Retrieve a CartFieldMapping with the requested attribute name.

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

    create, createAll, createAllAllowingPartialSuccess, delete, 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

    • readAll

      List<P> readAll(@Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
      Retrieves of all the CartItemProductMappings.
      Specified by:
      readAll in interface com.broadleafcommerce.data.tracking.core.service.CrudEntityService<P extends CartFieldMapping>
      Parameters:
      context - the current context to look in
      Returns:
      All the CartItemProductMappings.
    • readByAttributeName

      Optional<P> readByAttributeName(String attributeName, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
      Retrieve a CartFieldMapping with the requested attribute name.
      Parameters:
      attributeName - the attribute name to match
      context - the current context to look in
      Returns:
      a CartFieldMapping.