Class DummyExecution

java.lang.Object
de.hybris.platform.cockpit.zk.mock.DummyExecution
All Implemented Interfaces:
org.zkoss.zk.ui.Execution, org.zkoss.zk.ui.ext.Scope, org.zkoss.zk.ui.sys.ExecutionCtrl

public class DummyExecution extends Object implements org.zkoss.zk.ui.Execution, org.zkoss.zk.ui.sys.ExecutionCtrl
  • Constructor Details

    • DummyExecution

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

    • addAuResponse

      public void addAuResponse(String key, org.zkoss.zk.au.AuResponse resposne)
      Specified by:
      addAuResponse in interface org.zkoss.zk.ui.Execution
    • addResponseHeader

      public void addResponseHeader(String name, String value)
      Specified by:
      addResponseHeader in interface org.zkoss.zk.ui.Execution
    • containsResponseHeader

      public boolean containsResponseHeader(String name)
      Specified by:
      containsResponseHeader in interface org.zkoss.zk.ui.Execution
    • createComponents

      public org.zkoss.zk.ui.Component[] createComponents(org.zkoss.zk.ui.metainfo.PageDefinition pagedef, Map arg)
      Specified by:
      createComponents in interface org.zkoss.zk.ui.Execution
    • createComponents

      public org.zkoss.zk.ui.Component[] createComponents(String uri, Map arg)
      Specified by:
      createComponents in interface org.zkoss.zk.ui.Execution
    • createComponents

      public org.zkoss.zk.ui.Component createComponents(org.zkoss.zk.ui.metainfo.PageDefinition pagedef, org.zkoss.zk.ui.Component parent, Map arg)
      Specified by:
      createComponents in interface org.zkoss.zk.ui.Execution
    • createComponents

      public org.zkoss.zk.ui.Component createComponents(String uri, org.zkoss.zk.ui.Component parent, Map arg)
      Specified by:
      createComponents in interface org.zkoss.zk.ui.Execution
    • createComponentsDirectly

      public org.zkoss.zk.ui.Component[] createComponentsDirectly(String content, String extension, Map arg)
      Specified by:
      createComponentsDirectly in interface org.zkoss.zk.ui.Execution
    • createComponentsDirectly

      public org.zkoss.zk.ui.Component[] createComponentsDirectly(org.zkoss.idom.Document content, String extension, Map arg)
      Specified by:
      createComponentsDirectly in interface org.zkoss.zk.ui.Execution
    • createComponentsDirectly

      public org.zkoss.zk.ui.Component[] createComponentsDirectly(Reader reader, String extension, Map arg) throws IOException
      Specified by:
      createComponentsDirectly in interface org.zkoss.zk.ui.Execution
      Throws:
      IOException
    • createComponentsDirectly

      public org.zkoss.zk.ui.Component createComponentsDirectly(String content, String extension, org.zkoss.zk.ui.Component parent, Map arg)
      Specified by:
      createComponentsDirectly in interface org.zkoss.zk.ui.Execution
    • createComponentsDirectly

      public org.zkoss.zk.ui.Component createComponentsDirectly(org.zkoss.idom.Document content, String extension, org.zkoss.zk.ui.Component parent, Map arg)
      Specified by:
      createComponentsDirectly in interface org.zkoss.zk.ui.Execution
    • createComponentsDirectly

      public org.zkoss.zk.ui.Component createComponentsDirectly(Reader reader, String extension, org.zkoss.zk.ui.Component parent, Map arg) throws IOException
      Specified by:
      createComponentsDirectly in interface org.zkoss.zk.ui.Execution
      Throws:
      IOException
    • encodeURL

      public String encodeURL(String uri)
      Specified by:
      encodeURL in interface org.zkoss.zk.ui.Execution
    • evaluate

      public Object evaluate(org.zkoss.zk.ui.Component comp, String expr, Class expectedType)
      Specified by:
      evaluate in interface org.zkoss.zk.ui.Execution
    • evaluate

      public Object evaluate(org.zkoss.zk.ui.Page page, String expr, Class expectedType)
      Specified by:
      evaluate in interface org.zkoss.zk.ui.Execution
    • forward

      public void forward(String page) throws IOException
      Specified by:
      forward in interface org.zkoss.zk.ui.Execution
      Throws:
      IOException
    • forward

      public void forward(Writer writer, String page, Map params, int mode) throws IOException
      Specified by:
      forward in interface org.zkoss.zk.ui.Execution
      Throws:
      IOException
    • getArg

      public Map getArg()
      Specified by:
      getArg in interface org.zkoss.zk.ui.Execution
    • getAttribute

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

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

      public String getContextPath()
      Specified by:
      getContextPath in interface org.zkoss.zk.ui.Execution
    • getDesktop

      public org.zkoss.zk.ui.Desktop getDesktop()
      Specified by:
      getDesktop in interface org.zkoss.zk.ui.Execution
    • getEvaluator

      public org.zkoss.zk.xel.Evaluator getEvaluator(org.zkoss.zk.ui.Page page, Class expfcls)
      Specified by:
      getEvaluator in interface org.zkoss.zk.ui.Execution
    • getEvaluator

      public org.zkoss.zk.xel.Evaluator getEvaluator(org.zkoss.zk.ui.Component comp, Class expfcls)
      Specified by:
      getEvaluator in interface org.zkoss.zk.ui.Execution
    • getHeader

      public String getHeader(String name)
      Specified by:
      getHeader in interface org.zkoss.zk.ui.Execution
    • getHeaderNames

      public Iterator getHeaderNames()
      Specified by:
      getHeaderNames in interface org.zkoss.zk.ui.Execution
    • getHeaders

      public Iterator getHeaders(String name)
      Specified by:
      getHeaders in interface org.zkoss.zk.ui.Execution
    • getLocalAddr

      public String getLocalAddr()
      Specified by:
      getLocalAddr in interface org.zkoss.zk.ui.Execution
    • getLocalName

      public String getLocalName()
      Specified by:
      getLocalName in interface org.zkoss.zk.ui.Execution
    • getLocalPort

      public int getLocalPort()
      Specified by:
      getLocalPort in interface org.zkoss.zk.ui.Execution
    • getNativeRequest

      public Object getNativeRequest()
      Specified by:
      getNativeRequest in interface org.zkoss.zk.ui.Execution
    • getNativeResponse

      public Object getNativeResponse()
      Specified by:
      getNativeResponse in interface org.zkoss.zk.ui.Execution
    • getPageDefinition

      public org.zkoss.zk.ui.metainfo.PageDefinition getPageDefinition(String uri)
      Specified by:
      getPageDefinition in interface org.zkoss.zk.ui.Execution
    • getPageDefinitionDirectly

      public org.zkoss.zk.ui.metainfo.PageDefinition getPageDefinitionDirectly(String content, String extension)
      Specified by:
      getPageDefinitionDirectly in interface org.zkoss.zk.ui.Execution
    • getPageDefinitionDirectly

      public org.zkoss.zk.ui.metainfo.PageDefinition getPageDefinitionDirectly(org.zkoss.idom.Document content, String extension)
      Specified by:
      getPageDefinitionDirectly in interface org.zkoss.zk.ui.Execution
    • getPageDefinitionDirectly

      public org.zkoss.zk.ui.metainfo.PageDefinition getPageDefinitionDirectly(Reader reader, String extension) throws IOException
      Specified by:
      getPageDefinitionDirectly in interface org.zkoss.zk.ui.Execution
      Throws:
      IOException
    • getParameter

      public String getParameter(String name)
      Specified by:
      getParameter in interface org.zkoss.zk.ui.Execution
    • getParameterMap

      public Map getParameterMap()
      Specified by:
      getParameterMap in interface org.zkoss.zk.ui.Execution
    • getParameterValues

      public String[] getParameterValues(String name)
      Specified by:
      getParameterValues in interface org.zkoss.zk.ui.Execution
    • getRemoteAddr

      public String getRemoteAddr()
      Specified by:
      getRemoteAddr in interface org.zkoss.zk.ui.Execution
    • getRemoteHost

      public String getRemoteHost()
      Specified by:
      getRemoteHost in interface org.zkoss.zk.ui.Execution
    • getRemoteName

      public String getRemoteName()
    • getRemoteUser

      public String getRemoteUser()
      Specified by:
      getRemoteUser in interface org.zkoss.zk.ui.Execution
    • getScheme

      public String getScheme()
      Specified by:
      getScheme in interface org.zkoss.zk.ui.Execution
    • getServerName

      public String getServerName()
      Specified by:
      getServerName in interface org.zkoss.zk.ui.Execution
    • getServerPort

      public int getServerPort()
      Specified by:
      getServerPort in interface org.zkoss.zk.ui.Execution
    • getUserAgent

      public String getUserAgent()
      Specified by:
      getUserAgent in interface org.zkoss.zk.ui.Execution
    • getUserPrincipal

      public Principal getUserPrincipal()
      Specified by:
      getUserPrincipal in interface org.zkoss.zk.ui.Execution
    • getVariableResolver

      public org.zkoss.xel.VariableResolver getVariableResolver()
      Specified by:
      getVariableResolver in interface org.zkoss.zk.ui.Execution
    • include

      public void include(String page) throws IOException
      Specified by:
      include in interface org.zkoss.zk.ui.Execution
      Throws:
      IOException
    • include

      public void include(Writer writer, String page, Map params, int mode) throws IOException
      Specified by:
      include in interface org.zkoss.zk.ui.Execution
      Throws:
      IOException
    • isAsyncUpdate

      public boolean isAsyncUpdate(org.zkoss.zk.ui.Page page)
      Specified by:
      isAsyncUpdate in interface org.zkoss.zk.ui.Execution
    • isBrowser

      public boolean isBrowser()
      Specified by:
      isBrowser in interface org.zkoss.zk.ui.Execution
    • isBrowser

      public boolean isBrowser(String type)
      Specified by:
      isBrowser in interface org.zkoss.zk.ui.Execution
    • isExplorer

      public boolean isExplorer()
      Specified by:
      isExplorer in interface org.zkoss.zk.ui.Execution
    • isExplorer7

      public boolean isExplorer7()
      Specified by:
      isExplorer7 in interface org.zkoss.zk.ui.Execution
    • isForwarded

      public boolean isForwarded()
      Specified by:
      isForwarded in interface org.zkoss.zk.ui.Execution
    • isGecko

      public boolean isGecko()
      Specified by:
      isGecko in interface org.zkoss.zk.ui.Execution
    • isGecko3

      public boolean isGecko3()
      Specified by:
      isGecko3 in interface org.zkoss.zk.ui.Execution
    • isHilDevice

      public boolean isHilDevice()
      Specified by:
      isHilDevice in interface org.zkoss.zk.ui.Execution
    • isIncluded

      public boolean isIncluded()
      Specified by:
      isIncluded in interface org.zkoss.zk.ui.Execution
    • isMilDevice

      public boolean isMilDevice()
    • isOpera

      public boolean isOpera()
      Specified by:
      isOpera in interface org.zkoss.zk.ui.Execution
    • isRobot

      public boolean isRobot()
      Specified by:
      isRobot in interface org.zkoss.zk.ui.Execution
    • isSafari

      public boolean isSafari()
      Specified by:
      isSafari in interface org.zkoss.zk.ui.Execution
    • isUserInRole

      public boolean isUserInRole(String role)
      Specified by:
      isUserInRole in interface org.zkoss.zk.ui.Execution
    • isVoided

      public boolean isVoided()
      Specified by:
      isVoided in interface org.zkoss.zk.ui.Execution
    • popArg

      public void popArg()
      Specified by:
      popArg in interface org.zkoss.zk.ui.Execution
    • postEvent

      public void postEvent(org.zkoss.zk.ui.event.Event evt)
      Specified by:
      postEvent in interface org.zkoss.zk.ui.Execution
    • postEvent

      public void postEvent(int priority, org.zkoss.zk.ui.event.Event evt)
      Specified by:
      postEvent in interface org.zkoss.zk.ui.Execution
    • pushArg

      public void pushArg(Map arg)
      Specified by:
      pushArg in interface org.zkoss.zk.ui.Execution
    • removeAttribute

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

      public void sendRedirect(String uri)
      Specified by:
      sendRedirect in interface org.zkoss.zk.ui.Execution
    • sendRedirect

      public void sendRedirect(String uri, String target)
      Specified by:
      sendRedirect in interface org.zkoss.zk.ui.Execution
    • setAttribute

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

      public void setResponseHeader(String name, String value)
      Specified by:
      setResponseHeader in interface org.zkoss.zk.ui.Execution
    • setVoided

      public void setVoided(boolean voided)
      Specified by:
      setVoided in interface org.zkoss.zk.ui.Execution
    • toAbsoluteURI

      public String toAbsoluteURI(String uri, boolean skipInclude)
      Specified by:
      toAbsoluteURI in interface org.zkoss.zk.ui.Execution
    • getCurrentPage

      public org.zkoss.zk.ui.Page getCurrentPage()
      Specified by:
      getCurrentPage in interface org.zkoss.zk.ui.sys.ExecutionCtrl
    • setCurrentPage

      public void setCurrentPage(org.zkoss.zk.ui.Page page)
      Specified by:
      setCurrentPage in interface org.zkoss.zk.ui.sys.ExecutionCtrl
    • getCurrentPageDefinition

      public org.zkoss.zk.ui.metainfo.PageDefinition getCurrentPageDefinition()
      Specified by:
      getCurrentPageDefinition in interface org.zkoss.zk.ui.sys.ExecutionCtrl
    • setCurrentPageDefinition

      public void setCurrentPageDefinition(org.zkoss.zk.ui.metainfo.PageDefinition pgdef)
      Specified by:
      setCurrentPageDefinition in interface org.zkoss.zk.ui.sys.ExecutionCtrl
    • getNextEvent

      public org.zkoss.zk.ui.event.Event getNextEvent()
      Specified by:
      getNextEvent in interface org.zkoss.zk.ui.sys.ExecutionCtrl
    • isActivated

      public boolean isActivated()
      Specified by:
      isActivated in interface org.zkoss.zk.ui.sys.ExecutionCtrl
    • onActivate

      public void onActivate()
      Specified by:
      onActivate in interface org.zkoss.zk.ui.sys.ExecutionCtrl
    • onDeactivate

      public void onDeactivate()
      Specified by:
      onDeactivate in interface org.zkoss.zk.ui.sys.ExecutionCtrl
    • isRecovering

      public boolean isRecovering()
      Specified by:
      isRecovering in interface org.zkoss.zk.ui.sys.ExecutionCtrl
    • getVisualizer

      public org.zkoss.zk.ui.sys.Visualizer getVisualizer()
      Specified by:
      getVisualizer in interface org.zkoss.zk.ui.sys.ExecutionCtrl
    • setHeader

      public void setHeader(String name, String value)
    • setDateHeader

      public void setDateHeader(String name, long value)
    • addHeader

      public void addHeader(String name, String value)
    • addDateHeader

      public void addDateHeader(String name, long value)
    • getRequestAttribute

      public Object getRequestAttribute(String name)
    • setRequestAttribute

      public void setRequestAttribute(String name, Object value)
    • setDesktop

      public void setDesktop(org.zkoss.zk.ui.Desktop desktop)
      Specified by:
      setDesktop in interface org.zkoss.zk.ui.sys.ExecutionCtrl
    • setRequestId

      public void setRequestId(String reqId)
      Specified by:
      setRequestId in interface org.zkoss.zk.ui.sys.ExecutionCtrl
    • getRequestId

      public String getRequestId()
      Specified by:
      getRequestId in interface org.zkoss.zk.ui.sys.ExecutionCtrl
    • locate

      public String locate(String arg0)
      Specified by:
      locate in interface org.zkoss.zk.ui.Execution