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 TypeMethodDescriptionreadAll(com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Retrieves of all theCartItemProductMappings.readByAttributeName(String attributeName, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Retrieve aCartFieldMappingwith 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, updateSortMethods inherited from interface com.broadleafcommerce.data.tracking.core.service.RsqlCrudEntityService
readAll, readAll, readAll, readAll
-
Method Details
-
readAll
Retrieves of all theCartItemProductMappings.- Specified by:
readAllin interfacecom.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 aCartFieldMappingwith the requested attribute name.- Parameters:
attributeName- the attribute name to matchcontext- the current context to look in- Returns:
- a
CartFieldMapping.
-