Interface CartNoteService<P extends com.broadleafcommerce.cart.client.domain.CartNote>
- All Superinterfaces:
- com.broadleafcommerce.data.tracking.core.service.CrudEntityService<P>,- com.broadleafcommerce.data.tracking.core.service.RsqlCrudEntityService<P>
- All Known Implementing Classes:
- DefaultCartNoteService
public interface CartNoteService<P extends com.broadleafcommerce.cart.client.domain.CartNote>
extends com.broadleafcommerce.data.tracking.core.service.RsqlCrudEntityService<P>
Service for management of 
Notes.- Author:
- Sunny Yu
- 
Method SummaryModifier and TypeMethodDescriptionorg.springframework.data.domain.Page<P>readAllByCartId(String cartId, cz.jirutka.rsql.parser.ast.Node filters, org.springframework.data.domain.Pageable pageable, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Reads allCartNotesby cart id.org.springframework.data.domain.Page<P>readAllByCartIdAndCartItemIdIsNull(String cartId, cz.jirutka.rsql.parser.ast.Node filters, org.springframework.data.domain.Pageable pageable, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Reads allCartNotesby cart id and has anullcart item id.Methods inherited from interface com.broadleafcommerce.data.tracking.core.service.CrudEntityServicecreate, createAll, createAllAllowingPartialSuccess, delete, readAll, readAll, readAll, readAllByContextId, readByContextId, replace, replaceAll, replaceAllAllowingPartialSuccess, update, updateAll, updateAllAllowingPartialSuccess, updateSortMethods inherited from interface com.broadleafcommerce.data.tracking.core.service.RsqlCrudEntityServicereadAll, readAll, readAll, readAll
- 
Method Details- 
readAllByCartIdorg.springframework.data.domain.Page<P> readAllByCartId(String cartId, cz.jirutka.rsql.parser.ast.Node filters, @Nullable org.springframework.data.domain.Pageable pageable, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Reads allCartNotesby cart id.- Parameters:
- cartId- the cart id to filter
- filters- additional filters to apply in the query.
- pageable- the page information being requested
- contextInfo- the context of the request
- Returns:
- the CartNoteswith the provided cart id
 
- 
readAllByCartIdAndCartItemIdIsNullorg.springframework.data.domain.Page<P> readAllByCartIdAndCartItemIdIsNull(String cartId, cz.jirutka.rsql.parser.ast.Node filters, @Nullable org.springframework.data.domain.Pageable pageable, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Reads allCartNotesby cart id and has anullcart item id.This is typically used to retrieve Cart-level notes. - Parameters:
- cartId- the cart id to filter
- filters- additional filters to apply in the query.
- pageable- the page information being requested
- contextInfo- the context of the request
- Returns:
- the CartNoteswith the provided cart id and has anullcart item id
 
 
-