Class DefaultLocalViewExecutor

java.lang.Object
de.hybris.platform.webservicescommons.util.impl.DefaultLocalViewExecutor
All Implemented Interfaces:
LocalViewExecutor

public class DefaultLocalViewExecutor extends Object implements LocalViewExecutor
Default implementation of LocalViewExecutor.
  • Constructor Details

    • DefaultLocalViewExecutor

      public DefaultLocalViewExecutor()
  • Method Details

    • executeInLocalView

      public <T> T executeInLocalView(Supplier<T> action)
      Description copied from interface: LocalViewExecutor
      Executes action in local view.
      Specified by:
      executeInLocalView in interface LocalViewExecutor
      Parameters:
      action - to be executed
      Returns:
      result of action execution
    • executeWithAllCatalogs

      public <T> T executeWithAllCatalogs(Supplier<T> action)
      Description copied from interface: LocalViewExecutor
      Executes action in local view which has all catalogs set in session.
      Specified by:
      executeWithAllCatalogs in interface LocalViewExecutor
      Parameters:
      action - to be executed
      Returns:
      result of action execution
    • setAllCatalogs

      protected void setAllCatalogs()
    • setCatalogVersionService

      public void setCatalogVersionService(CatalogVersionService catalogVersionService)
    • getCatalogVersionService

      public CatalogVersionService getCatalogVersionService()
    • setSearchRestrictionService

      public void setSearchRestrictionService(SearchRestrictionService searchRestrictionService)
    • getSearchRestrictionService

      public SearchRestrictionService getSearchRestrictionService()
    • setSessionService

      public void setSessionService(SessionService sessionService)
    • getSessionService

      public SessionService getSessionService()