Interface ItemDao

    • Method Detail

      • getItemByUniqueAttributesValues

        <T extends ItemModel> java.util.Optional<T> getItemByUniqueAttributesValues​(java.lang.String typeCode,
                                                                                    java.util.Map<java.lang.String,​java.lang.Object> attributeValues)
        Method retrieves an ItemModel based on typeCode and unique attribute values.
        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.