Class CatalogItemList<P extends CatalogItem>

  • 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 Detail

      • CatalogItemList

        public CatalogItemList()
    • Method Detail

      • 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)
        All CatalogItems and their details.
        Parameters:
        catalogItems - All CatalogItem 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)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object