Class DefaultItemDao

    • Constructor Detail

      • DefaultItemDao

        public DefaultItemDao()
    • Method Detail

      • getItemByUniqueAttributesValues

        public <T extends ItemModel> java.util.Optional<T> getItemByUniqueAttributesValues​(java.lang.String typeCode,
                                                                                           java.util.Map<java.lang.String,​java.lang.Object> attributeValues)
        Description copied from interface: ItemDao
        Method retrieves an ItemModel based on typeCode and unique attribute values.
        Specified by:
        getItemByUniqueAttributesValues in interface ItemDao
        Parameters:
        typeCode - the typeCode of the ItemModel.
        attributeValues - a Map of qualifier and its value that should be used as a filter.
        Returns:
        an Optional ItemModel.
      • getTypeService

        protected TypeService getTypeService()
      • setTypeService

        public void setTypeService​(TypeService typeService)