Interface CartActionAuditService<P extends com.broadleafcommerce.cart.client.domain.CartActionAudit>
-
- All Superinterfaces:
com.broadleafcommerce.data.tracking.core.service.CrudEntityService<P>
- All Known Implementing Classes:
DefaultCartActionAuditService
public interface CartActionAuditService<P extends com.broadleafcommerce.cart.client.domain.CartActionAudit> extends com.broadleafcommerce.data.tracking.core.service.CrudEntityService<P>
Service API forCartActionAudits
. Supported byCartActionAuditRepository
.- Author:
- Sunny Yu
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.springframework.data.domain.Page<P>
readByCartId(String cartId, org.springframework.data.domain.Pageable page, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Reads all cart action audits for the given cart id.-
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
-
-
-
-
Method Detail
-
readByCartId
org.springframework.data.domain.Page<P> readByCartId(String cartId, @Nullable org.springframework.data.domain.Pageable page, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Reads all cart action audits for the given cart id.- Parameters:
cartId
- the ID of the cart whose audits need to be accessedcontextInfo
- Context information used to discriminate the correct version of an entity by context id when multiple versions may be available across sandboxes, catalogs and applications.page
- the requested page of results from the database- Returns:
- all cart action audits for the given cart id
-
-