public abstract class BaseContext
extends ExternalResource
| Constructor and Description |
|---|
BaseContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
before() |
protected <T extends ItemModel> |
findAll(java.lang.Class<T> type)
Retrieves all model items existing in the persistent storage.
|
FlexibleSearchService |
flexibleSearch() |
static <T> T |
getService(java.lang.String name,
java.lang.Class<T> type) |
ModelService |
modelService() |
protected <T extends ItemModel> |
removeAll(java.lang.Class<T> type) |
public static <T> T getService(java.lang.String name,
java.lang.Class<T> type)
public ModelService modelService()
public FlexibleSearchService flexibleSearch()
public void before()
protected <T extends ItemModel> void removeAll(java.lang.Class<T> type)
protected <T extends ItemModel> java.util.Collection<T> findAll(java.lang.Class<T> type)
Copyright © 2018 SAP SE. All Rights Reserved.