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 boolean
canEqual(Object other)
boolean
equals(Object o)
Set<String>
getCatalogItemKeysForMissingEntities()
The list of provided keys for which a CatalogItem could not be foundList<P>
getCatalogItems()
AllCatalogItems
and their details.Set<String>
getCatalogItemUrisForMissingEntities()
The list of provided uris for which a CatalogItem could not be foundint
hashCode()
void
setCatalogItemKeysForMissingEntities(Set<String> catalogItemKeysForMissingEntities)
The list of provided keys for which a CatalogItem could not be foundvoid
setCatalogItems(List<P> catalogItems)
AllCatalogItems
and their details.void
setCatalogItemUrisForMissingEntities(Set<String> catalogItemUrisForMissingEntities)
The list of provided uris for which a CatalogItem could not be foundString
toString()
-
-
-
Method Detail
-
getCatalogItems
public List<P> getCatalogItems()
AllCatalogItems
and their details.- Returns:
- All
CatalogItems
references.
-
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)
AllCatalogItems
and their details.- Parameters:
catalogItems
- AllCatalogItem
references.
-
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)
-
-