Class DummyWebApp

java.lang.Object
de.hybris.platform.cockpit.zk.mock.DummyWebApp
All Implemented Interfaces:
org.zkoss.util.resource.Locator, org.zkoss.zk.ui.ext.Scope, org.zkoss.zk.ui.sys.WebAppCtrl, org.zkoss.zk.ui.WebApp

public class DummyWebApp extends Object implements org.zkoss.zk.ui.WebApp, org.zkoss.zk.ui.sys.WebAppCtrl
  • Constructor Details

    • DummyWebApp

      public DummyWebApp(org.springframework.context.ApplicationContext applicationContext)
      Parameters:
      applicationContext -
  • Method Details

    • getAppName

      public String getAppName()
      Specified by:
      getAppName in interface org.zkoss.zk.ui.WebApp
    • getAttribute

      public Object getAttribute(String name)
      Specified by:
      getAttribute in interface org.zkoss.zk.ui.ext.Scope
      Specified by:
      getAttribute in interface org.zkoss.zk.ui.WebApp
    • getAttributes

      public Map getAttributes()
      Specified by:
      getAttributes in interface org.zkoss.zk.ui.ext.Scope
      Specified by:
      getAttributes in interface org.zkoss.zk.ui.WebApp
    • getBuild

      public String getBuild()
      Specified by:
      getBuild in interface org.zkoss.zk.ui.WebApp
    • getConfiguration

      public org.zkoss.zk.ui.util.Configuration getConfiguration()
      Specified by:
      getConfiguration in interface org.zkoss.zk.ui.WebApp
    • getInitParameter

      public String getInitParameter(String name)
      Specified by:
      getInitParameter in interface org.zkoss.zk.ui.WebApp
    • getInitParameterNames

      public Iterator getInitParameterNames()
      Specified by:
      getInitParameterNames in interface org.zkoss.zk.ui.WebApp
    • getMimeType

      public String getMimeType(String file)
      Specified by:
      getMimeType in interface org.zkoss.zk.ui.WebApp
    • getNativeContext

      public Object getNativeContext()
      Specified by:
      getNativeContext in interface org.zkoss.zk.ui.WebApp
    • getRealPath

      public String getRealPath(String path)
      Specified by:
      getRealPath in interface org.zkoss.zk.ui.WebApp
    • getResource

      public URL getResource(String path)
      Specified by:
      getResource in interface org.zkoss.util.resource.Locator
      Specified by:
      getResource in interface org.zkoss.zk.ui.WebApp
    • getResourceAsStream

      public InputStream getResourceAsStream(String path)
      Specified by:
      getResourceAsStream in interface org.zkoss.util.resource.Locator
      Specified by:
      getResourceAsStream in interface org.zkoss.zk.ui.WebApp
    • getResourcePaths

      public Set getResourcePaths(String path)
      Specified by:
      getResourcePaths in interface org.zkoss.zk.ui.WebApp
    • getSubversion

      public int getSubversion(int portion)
      Specified by:
      getSubversion in interface org.zkoss.zk.ui.WebApp
    • getUpdateURI

      public String getUpdateURI()
      Specified by:
      getUpdateURI in interface org.zkoss.zk.ui.WebApp
    • getVersion

      public String getVersion()
      Specified by:
      getVersion in interface org.zkoss.zk.ui.WebApp
    • getWebApp

      public org.zkoss.zk.ui.WebApp getWebApp(String uripath)
      Specified by:
      getWebApp in interface org.zkoss.zk.ui.WebApp
    • removeAttribute

      public void removeAttribute(String name)
      Specified by:
      removeAttribute in interface org.zkoss.zk.ui.ext.Scope
      Specified by:
      removeAttribute in interface org.zkoss.zk.ui.WebApp
    • setAppName

      public void setAppName(String name)
      Specified by:
      setAppName in interface org.zkoss.zk.ui.WebApp
    • setAttribute

      public void setAttribute(String name, Object value)
      Specified by:
      setAttribute in interface org.zkoss.zk.ui.ext.Scope
      Specified by:
      setAttribute in interface org.zkoss.zk.ui.WebApp
    • getDirectory

      public String getDirectory()
      Specified by:
      getDirectory in interface org.zkoss.util.resource.Locator
    • init

      public void init(Object context, org.zkoss.zk.ui.util.Configuration config)
      Specified by:
      init in interface org.zkoss.zk.ui.sys.WebAppCtrl
    • destroy

      public void destroy()
      Specified by:
      destroy in interface org.zkoss.zk.ui.sys.WebAppCtrl
    • getUiEngine

      public org.zkoss.zk.ui.sys.UiEngine getUiEngine()
      Specified by:
      getUiEngine in interface org.zkoss.zk.ui.sys.WebAppCtrl
    • setUiEngine

      public void setUiEngine(org.zkoss.zk.ui.sys.UiEngine engine)
      Specified by:
      setUiEngine in interface org.zkoss.zk.ui.sys.WebAppCtrl
    • getDesktopCache

      public org.zkoss.zk.ui.sys.DesktopCache getDesktopCache(org.zkoss.zk.ui.Session sess)
      Specified by:
      getDesktopCache in interface org.zkoss.zk.ui.sys.WebAppCtrl
    • getDesktopCacheProvider

      public org.zkoss.zk.ui.sys.DesktopCacheProvider getDesktopCacheProvider()
      Specified by:
      getDesktopCacheProvider in interface org.zkoss.zk.ui.sys.WebAppCtrl
    • setDesktopCacheProvider

      public void setDesktopCacheProvider(org.zkoss.zk.ui.sys.DesktopCacheProvider provider)
      Specified by:
      setDesktopCacheProvider in interface org.zkoss.zk.ui.sys.WebAppCtrl
    • getUiFactory

      public org.zkoss.zk.ui.sys.UiFactory getUiFactory()
      Specified by:
      getUiFactory in interface org.zkoss.zk.ui.sys.WebAppCtrl
    • setUiFactory

      public void setUiFactory(org.zkoss.zk.ui.sys.UiFactory factory)
      Specified by:
      setUiFactory in interface org.zkoss.zk.ui.sys.WebAppCtrl
    • getFailoverManager

      public org.zkoss.zk.ui.sys.FailoverManager getFailoverManager()
      Specified by:
      getFailoverManager in interface org.zkoss.zk.ui.sys.WebAppCtrl
    • setFailoverManager

      public void setFailoverManager(org.zkoss.zk.ui.sys.FailoverManager manager)
      Specified by:
      setFailoverManager in interface org.zkoss.zk.ui.sys.WebAppCtrl
    • getIdGenerator

      public org.zkoss.zk.ui.sys.IdGenerator getIdGenerator()
      Specified by:
      getIdGenerator in interface org.zkoss.zk.ui.sys.WebAppCtrl
    • setIdGenerator

      public void setIdGenerator(org.zkoss.zk.ui.sys.IdGenerator generator)
      Specified by:
      setIdGenerator in interface org.zkoss.zk.ui.sys.WebAppCtrl
    • getSessionCache

      public org.zkoss.zk.ui.sys.SessionCache getSessionCache()
      Specified by:
      getSessionCache in interface org.zkoss.zk.ui.sys.WebAppCtrl
    • setSessionCache

      public void setSessionCache(org.zkoss.zk.ui.sys.SessionCache cache)
      Specified by:
      setSessionCache in interface org.zkoss.zk.ui.sys.WebAppCtrl
    • sessionWillPassivate

      public void sessionWillPassivate(org.zkoss.zk.ui.Session sess)
      Specified by:
      sessionWillPassivate in interface org.zkoss.zk.ui.sys.WebAppCtrl
    • sessionDidActivate

      public void sessionDidActivate(org.zkoss.zk.ui.Session sess)
      Specified by:
      sessionDidActivate in interface org.zkoss.zk.ui.sys.WebAppCtrl
    • sessionDestroyed

      public void sessionDestroyed(org.zkoss.zk.ui.Session sess)
      Specified by:
      sessionDestroyed in interface org.zkoss.zk.ui.sys.WebAppCtrl