Class DefaultLocalViewExecutor

  • All Implemented Interfaces:
    LocalViewExecutor

    public class DefaultLocalViewExecutor
    extends java.lang.Object
    implements LocalViewExecutor
    Default implementation of LocalViewExecutor.
    • Constructor Detail

      • DefaultLocalViewExecutor

        public DefaultLocalViewExecutor()
    • Method Detail

      • executeInLocalView

        public <T> T executeInLocalView​(java.util.function.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​(java.util.function.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)
      • setSearchRestrictionService

        public void setSearchRestrictionService​(SearchRestrictionService searchRestrictionService)
      • setSessionService

        public void setSessionService​(SessionService sessionService)