public class DefaultItemDao extends AbstractItemDao implements ItemDao
ItemModel.flexibleSearchService, modelService| Constructor and Description |
|---|
DefaultItemDao() |
| Modifier and Type | Method and Description |
|---|---|
<T extends ItemModel> |
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. |
protected TypeService |
getTypeService() |
void |
setTypeService(TypeService typeService) |
getAllSources, getFlexibleSearchService, getModelService, getSource, load, loadAll, search, search, searchUnique, setFlexibleSearchService, setModelServicepublic <T extends ItemModel> java.util.Optional<T> getItemByUniqueAttributesValues(java.lang.String typeCode, java.util.Map<java.lang.String,java.lang.Object> attributeValues)
ItemDaoItemModel based on typeCode and unique attribute values.getItemByUniqueAttributesValues in interface ItemDaotypeCode - the typeCode of the ItemModel.attributeValues - a Map of qualifier and its value that should be used as a filter.Optional ItemModel.protected TypeService getTypeService()
public void setTypeService(TypeService typeService)
Copyright © 2018 SAP SE. All Rights Reserved.