public class AbstractItemDao extends Object implements Dao
ModelService and
FlexibleSearchService set as protected instance variables.| Modifier and Type | Field and Description |
|---|---|
protected FlexibleSearchService |
flexibleSearchService
Deprecated.
|
protected ModelService |
modelService
Deprecated.
|
| Constructor and Description |
|---|
AbstractItemDao() |
| Modifier and Type | Method and Description |
|---|---|
protected <T extends Collection> |
getAllSources(Collection<? extends Object> models,
T result) |
protected FlexibleSearchService |
getFlexibleSearchService() |
protected ModelService |
getModelService() |
protected <T> T |
getSource(Object model) |
protected <T> T |
load(Object source) |
protected <T extends Collection> |
loadAll(Collection<? extends Object> source,
T result) |
protected <T> SearchResult<T> |
search(FlexibleSearchQuery searchQuery) |
protected <T> SearchResult<T> |
search(String query,
Map queryParams) |
protected <T> T |
searchUnique(FlexibleSearchQuery searchQuery) |
void |
setFlexibleSearchService(FlexibleSearchService flexibleSearch) |
void |
setModelService(ModelService modelService) |
@Deprecated protected FlexibleSearchService flexibleSearchService
@Deprecated protected ModelService modelService
protected <T> T load(Object source)
protected <T extends Collection> T loadAll(Collection<? extends Object> source, T result)
protected <T> T getSource(Object model)
protected <T extends Collection> T getAllSources(Collection<? extends Object> models, T result)
protected <T> SearchResult<T> search(String query, Map queryParams)
protected <T> SearchResult<T> search(FlexibleSearchQuery searchQuery)
protected <T> T searchUnique(FlexibleSearchQuery searchQuery)
public void setFlexibleSearchService(FlexibleSearchService flexibleSearch)
protected FlexibleSearchService getFlexibleSearchService()
public void setModelService(ModelService modelService)
protected ModelService getModelService()
Copyright © 2017 SAP SE. All Rights Reserved.