Class CatalogItemList<P extends CatalogItem>
java.lang.Object
com.broadleafcommerce.cartoperation.domain.CatalogItemList<P>
- All Implemented Interfaces:
Serializable
A DTO that holds catalog item references for bulk operations, and lists of failed request params.
- Author:
- Marie Standeven
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe list of provided keys for which a CatalogItem could not be foundAllCatalogItemsand their details.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 foundtoString()
-
Constructor Details
-
CatalogItemList
public CatalogItemList()
-
-
Method Details
-
getCatalogItems
AllCatalogItemsand their details.- Returns:
- All
CatalogItemsreferences.
-
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
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
AllCatalogItemsand their details.- Parameters:
catalogItems- AllCatalogItemreferences.
-
setCatalogItemKeysForMissingEntities
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
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
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-