Class CatalogItemList<P extends CatalogItem>
- java.lang.Object
-
- com.broadleafcommerce.cartoperation.domain.CatalogItemList<P>
-
- All Implemented Interfaces:
Serializable
public class CatalogItemList<P extends CatalogItem> extends Object implements Serializable
A DTO that holds catalog item references for bulk operations, and lists of failed request params.- Author:
- Marie Standeven
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CatalogItemList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)Set<String>getCatalogItemKeysForMissingEntities()The list of provided keys for which a CatalogItem could not be foundList<P>getCatalogItems()AllCatalogItemsand their details.Set<String>getCatalogItemUrisForMissingEntities()The list of provided uris for which a CatalogItem could not be foundinthashCode()voidsetCatalogItemKeysForMissingEntities(Set<String> catalogItemKeysForMissingEntities)The list of provided keys for which a CatalogItem could not be foundvoidsetCatalogItems(List<P> catalogItems)AllCatalogItemsand their details.voidsetCatalogItemUrisForMissingEntities(Set<String> catalogItemUrisForMissingEntities)The list of provided uris for which a CatalogItem could not be foundStringtoString()
-
-
-
Method Detail
-
getCatalogItems
public List<P> getCatalogItems()
AllCatalogItemsand their details.- Returns:
- All
CatalogItemsreferences.
-
getCatalogItemKeysForMissingEntities
public Set<String> getCatalogItemKeysForMissingEntities()
The list of provided keys for which a CatalogItem could not be found- Returns:
- The list of provided key for which a CatalogItem could not be found
-
getCatalogItemUrisForMissingEntities
public Set<String> getCatalogItemUrisForMissingEntities()
The list of provided uris for which a CatalogItem could not be found- Returns:
- The list of provided uris for which a CatalogItem could not be found
-
setCatalogItems
public void setCatalogItems(List<P> catalogItems)
AllCatalogItemsand their details.- Parameters:
catalogItems- AllCatalogItemreferences.
-
setCatalogItemKeysForMissingEntities
public void setCatalogItemKeysForMissingEntities(Set<String> catalogItemKeysForMissingEntities)
The list of provided keys for which a CatalogItem could not be found- Parameters:
catalogItemKeysForMissingEntities- The list of provided keys for which a CatalogItem could not be found
-
setCatalogItemUrisForMissingEntities
public void setCatalogItemUrisForMissingEntities(Set<String> catalogItemUrisForMissingEntities)
The list of provided uris for which a CatalogItem could not be found- Parameters:
catalogItemUrisForMissingEntities- The list of provided uris for which a CatalogItem could not be found
-
canEqual
protected boolean canEqual(Object other)
-
-