public class DefaultItemService extends java.lang.Object implements ItemService
ItemService.| Constructor and Description |
|---|
DefaultItemService() |
| Modifier and Type | Method and Description |
|---|---|
ItemModel |
getItemByAttributeValues(java.lang.String typeCode,
java.util.Map<java.lang.String,java.lang.Object> attributeValues)
Method retrieves an
ItemModel based on typeCode and a list of attribute values. |
protected ItemDao |
getItemDao() |
void |
setItemDao(ItemDao itemDao) |
public ItemModel getItemByAttributeValues(java.lang.String typeCode, java.util.Map<java.lang.String,java.lang.Object> attributeValues) throws ItemNotFoundException
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.getItemByAttributeValues in interface ItemServicetypeCode - typeCode of the ItemModelattributeValues - the Map of the attribute values where the key is a qualifier.ItemModelItemNotFoundException - if the ItemModel can not be found.protected ItemDao getItemDao()
public void setItemDao(ItemDao itemDao)
Copyright © 2018 SAP SE. All Rights Reserved.