Class DefaultItemService

    • Constructor Detail

      • DefaultItemService

        public DefaultItemService()
    • Method Detail

      • getItemByAttributeValues

        public ItemModel getItemByAttributeValues​(java.lang.String typeCode,
                                                  java.util.Map<java.lang.String,​java.lang.Object> attributeValues)
                                           throws ItemNotFoundException
        Method retrieves an ItemModel based on typeCode and a list of attribute values. The default implementation retrieves the item based on typeCode and the list of unique attributes.
        Specified by:
        getItemByAttributeValues in interface ItemService
        Parameters:
        typeCode - typeCode of the ItemModel
        attributeValues - the Map of the attribute values where the key is a qualifier.
        Returns:
        the ItemModel
        Throws:
        ItemNotFoundException - if the ItemModel can not be found.
      • getItemDao

        protected ItemDao getItemDao()
      • setItemDao

        public void setItemDao​(ItemDao itemDao)