public interface ItemListItemManagementService<I extends com.broadleafcommerce.cart.client.domain.ItemListItem>
| Modifier and Type | Method and Description |
|---|---|
List<I> |
createItemListItems(String listId,
Collection<I> createRequests,
com.broadleafcommerce.cart.client.domain.CustomerRef customerRef,
com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
Creates item list items.
|
void |
deleteItemListItems(String listId,
Collection<String> itemIds,
com.broadleafcommerce.cart.client.domain.CustomerRef customerRef,
com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
Deletes item list items from a list.
|
org.springframework.data.domain.Page<I> |
getItemListItemPage(String listId,
com.broadleafcommerce.cart.client.domain.CustomerRef customerRef,
org.springframework.data.domain.Pageable pageable,
com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
Gets a page of item list items.
|
List<I> |
getItemListItems(String listId,
Collection<String> itemIds,
com.broadleafcommerce.cart.client.domain.CustomerRef customerRef,
com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
Gets specific item list items by their IDs.
|
List<I> |
replaceItemListItems(String listId,
Collection<I> updateRequests,
com.broadleafcommerce.cart.client.domain.CustomerRef customerRef,
com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
Replaces item list items.
|
List<I> |
updateItemListItems(String listId,
Collection<I> updateRequests,
com.broadleafcommerce.cart.client.domain.CustomerRef customerRef,
com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
Updates item list items.
|
org.springframework.data.domain.Page<I> getItemListItemPage(String listId, com.broadleafcommerce.cart.client.domain.CustomerRef customerRef, @Nullable org.springframework.data.domain.Pageable pageable, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
listId - the ID of the item list to fetch items fromcustomerRef - Information about the owning customerpageable - the page informationcontext - the context of the requestList<I> getItemListItems(String listId, Collection<String> itemIds, com.broadleafcommerce.cart.client.domain.CustomerRef customerRef, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
listId - the ID of the item list to fetch items fromitemIds - the IDs of the items to findcustomerRef - Information about the owning customercontext - the context of the requestList<I> createItemListItems(String listId, Collection<I> createRequests, com.broadleafcommerce.cart.client.domain.CustomerRef customerRef, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
listId - the ID of the item list to create the items forcreateRequests - the item creation requestscustomerRef - Information about the owning customercontext - the context of the requestList<I> replaceItemListItems(String listId, Collection<I> updateRequests, com.broadleafcommerce.cart.client.domain.CustomerRef customerRef, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
listId - the ID of the item list to replace items inupdateRequests - the item update requestscustomerRef - Information about the owning customercontext - the context of the requestList<I> updateItemListItems(String listId, Collection<I> updateRequests, com.broadleafcommerce.cart.client.domain.CustomerRef customerRef, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
listId - the ID of the item list to update items inupdateRequests - the item update requestscontext - the context of the requestvoid deleteItemListItems(String listId, Collection<String> itemIds, com.broadleafcommerce.cart.client.domain.CustomerRef customerRef, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
listId - the ID of the list to delete fromitemIds - the IDs of the items to deletecustomerRef - Information about the owning customercontext - the context of the requestCopyright © 2021. All rights reserved.