Class DefaultLocalViewExecutor
java.lang.Object
de.hybris.platform.webservicescommons.util.impl.DefaultLocalViewExecutor
- All Implemented Interfaces:
LocalViewExecutor
Default implementation of LocalViewExecutor.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> TexecuteInLocalView(Supplier<T> action) Executes action in local view.<T> TexecuteWithAllCatalogs(Supplier<T> action) Executes action in local view which has all catalogs set in session.protected voidvoidsetCatalogVersionService(CatalogVersionService catalogVersionService) voidsetSearchRestrictionService(SearchRestrictionService searchRestrictionService) voidsetSessionService(SessionService sessionService)
-
Constructor Details
-
DefaultLocalViewExecutor
public DefaultLocalViewExecutor()
-
-
Method Details
-
executeInLocalView
Description copied from interface:LocalViewExecutorExecutes action in local view.- Specified by:
executeInLocalViewin interfaceLocalViewExecutor- Parameters:
action- to be executed- Returns:
- result of action execution
-
executeWithAllCatalogs
Description copied from interface:LocalViewExecutorExecutes action in local view which has all catalogs set in session.- Specified by:
executeWithAllCatalogsin interfaceLocalViewExecutor- Parameters:
action- to be executed- Returns:
- result of action execution
-
setAllCatalogs
protected void setAllCatalogs() -
setCatalogVersionService
-
getCatalogVersionService
-
setSearchRestrictionService
-
getSearchRestrictionService
-
setSessionService
-
getSessionService
-