public class DefaultLocalViewExecutor extends java.lang.Object implements LocalViewExecutor
| Constructor and Description |
|---|
DefaultLocalViewExecutor() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
executeInLocalView(java.util.function.Supplier<T> action)
Executes action in local view.
|
<T> T |
executeWithAllCatalogs(java.util.function.Supplier<T> action)
Executes action in local view which has all catalogs set in session.
|
CatalogVersionService |
getCatalogVersionService() |
SearchRestrictionService |
getSearchRestrictionService() |
SessionService |
getSessionService() |
protected void |
setAllCatalogs() |
void |
setCatalogVersionService(CatalogVersionService catalogVersionService) |
void |
setSearchRestrictionService(SearchRestrictionService searchRestrictionService) |
void |
setSessionService(SessionService sessionService) |
public <T> T executeInLocalView(java.util.function.Supplier<T> action)
LocalViewExecutorexecuteInLocalView in interface LocalViewExecutoraction - to be executedpublic <T> T executeWithAllCatalogs(java.util.function.Supplier<T> action)
LocalViewExecutorexecuteWithAllCatalogs in interface LocalViewExecutoraction - to be executedprotected void setAllCatalogs()
public void setCatalogVersionService(CatalogVersionService catalogVersionService)
public CatalogVersionService getCatalogVersionService()
public void setSearchRestrictionService(SearchRestrictionService searchRestrictionService)
public SearchRestrictionService getSearchRestrictionService()
public void setSessionService(SessionService sessionService)
public SessionService getSessionService()
Copyright © 2018 SAP SE. All Rights Reserved.