Uses of Interface
org.zkoss.zk.ui.Execution
-
-
Uses of Execution in org.zkoss.bind.impl
Methods in org.zkoss.bind.impl with parameters of type Execution Modifier and Type Method Description voidParamCall. setExecution(Execution exec) -
Uses of Execution in org.zkoss.stateless.ui
Methods in org.zkoss.stateless.ui with parameters of type Execution Modifier and Type Method Description static UiAgentUiAgent. of(Execution execution)Returns a new UiAgent from the given execution, which is activated. -
Uses of Execution in org.zkoss.za11y.impl
Methods in org.zkoss.za11y.impl with parameters of type Execution Modifier and Type Method Description voidZa11yMessageLoader. load(java.lang.StringBuffer out, Execution exec) -
Uses of Execution in org.zkoss.zhtml
Methods in org.zkoss.zhtml with parameters of type Execution Modifier and Type Method Description protected voidTextarea. redrawChildrenDirectly(TagRenderContext rc, Execution exec, java.io.Writer out) -
Uses of Execution in org.zkoss.zhtml.impl
Methods in org.zkoss.zhtml.impl with parameters of type Execution Modifier and Type Method Description static voidPageRenderer. afterRenderHtml(Execution exec, Page page, java.io.Writer out, java.lang.Object param)Ends and cleans up the rendering of a complete ZHTML page.static voidPageRenderer. afterRenderTag(Execution exec, java.lang.Object param)Ends and cleans up the rendering of a ZHTML tag.static java.lang.ObjectPageRenderer. beforeRenderHtml(Execution exec, Page page, java.io.Writer out)Prepares for rendering a complete ZHTML page.static java.lang.ObjectPageRenderer. beforeRenderTag(Execution exec)Prepares for rendering a ZHTML tag.static TagRenderContextPageRenderer. getTagRenderContext(Execution exec)Returns the render context, or null if not available.protected voidAbstractTag. redrawChildrenDirectly(TagRenderContext rc, Execution exec, java.io.Writer out)Renders the children directly to the given output.protected voidContentTag. redrawChildrenDirectly(TagRenderContext rc, Execution exec, java.io.Writer out)protected voidPageRenderer. renderComplete(Execution exec, Page page, java.io.Writer out)Renders the page ifPage.isComplete()is true.protected voidPageRenderer. renderPage(Execution exec, Page page, java.io.Writer out, boolean au)Renders the page ifPage.isComplete()is false. -
Uses of Execution in org.zkoss.zk.device
Methods in org.zkoss.zk.device with parameters of type Execution Modifier and Type Method Description static java.lang.StringDevices. loadFileContentAsString(Execution exec, java.lang.String path)Loads the content of a file as a String.static java.lang.StringDevices. loadJavaScript(Execution exec, java.lang.String path)Loads the content of a javascript file as a String. -
Uses of Execution in org.zkoss.zk.ui
Fields in org.zkoss.zk.ui with type parameters of type Execution Modifier and Type Field Description protected static java.lang.ThreadLocal<Execution>Executions. _execStores the currentExecution.Methods in org.zkoss.zk.ui that return Execution Modifier and Type Method Description static ExecutionExecutions. getCurrent()Returns the current execution.ExecutionDesktop. getExecution()Returns the execution, or null if this desktop is not serving any execution (a.k.a., not locked). -
Uses of Execution in org.zkoss.zk.ui.http
Classes in org.zkoss.zk.ui.http that implement Execution Modifier and Type Class Description classExecutionImplAnExecutionimplementation for HTTP request and response.Methods in org.zkoss.zk.ui.http with parameters of type Execution Modifier and Type Method Description voidCspProviderImpl. setCspHeader(Execution exec, Configuration config) -
Uses of Execution in org.zkoss.zk.ui.impl
Classes in org.zkoss.zk.ui.impl that implement Execution Modifier and Type Class Description classAbstractExecutionA skeletal implementation ofExecution.Methods in org.zkoss.zk.ui.impl that return Execution Modifier and Type Method Description ExecutionDesktopImpl. getExecution()Methods in org.zkoss.zk.ui.impl with parameters of type Execution Modifier and Type Method Description voidUiEngineImpl. activate(Execution exec)booleanUiEngineImpl. activate(Execution exec, int timeout)voidUiEngineImpl. beginUpdate(Execution exec)Component[]UiEngineImpl. createComponents(Execution exec, PageDefinition pagedef, Page page, Component parent, Component insertBefore, VariableResolver resolver, java.util.Map<?,?> arg)voidUiEngineImpl. deactivate(Execution exec)voidUiEngineImpl. endUpdate(Execution exec)voidUiEngineImpl. execNewPage(Execution exec, PageDefinition pagedef, Page page, java.io.Writer out)voidUiEngineImpl. execNewPage(Execution exec, Richlet richlet, Page page, java.io.Writer out)voidUiEngineImpl. execRecover(Execution exec, FailoverManager failover)voidUiEngineImpl. execUpdate(Execution exec, java.util.List<AuRequest> requests, AuWriter out)voidDesktopImpl. invokeExecutionCleanups(Execution exec, Execution parent, java.util.List<java.lang.Throwable> errs)voidDesktopImpl. invokeExecutionInits(Execution exec, Execution parent)voidUiEngineImpl. recycleDesktop(Execution exec, Page page, java.io.Writer out)static booleanDesktopRecycles. removeDesktop(Execution exec)Called to remove the desktop.voidDesktopImpl. setExecution(Execution exec)java.lang.ObjectUiEngineImpl. startUpdate(Execution exec)Constructors in org.zkoss.zk.ui.impl with parameters of type Execution Constructor Description RequestInfoImpl(Execution exec, Locator locator)Constructor. -
Uses of Execution in org.zkoss.zk.ui.metainfo
Methods in org.zkoss.zk.ui.metainfo with parameters of type Execution Modifier and Type Method Description voidMessageLoader. load(java.lang.StringBuffer out, Execution exec)Load the message to output StringBuffer. -
Uses of Execution in org.zkoss.zk.ui.sys
Methods in org.zkoss.zk.ui.sys that return Execution Modifier and Type Method Description ExecutionVisualizer. getExecution()Returns the execution that this visualizer is associated with.Methods in org.zkoss.zk.ui.sys with parameters of type Execution Modifier and Type Method Description voidUiEngine. activate(Execution exec)Activates an execution such that you can access a component.booleanUiEngine. activate(Execution exec, int timeout)Activates an execution such that you can access a component.voidUiEngine. beginUpdate(Execution exec)Activates and prepare for asynchronous updateComponent[]UiEngine. createComponents(Execution exec, PageDefinition pagedef, Page page, Component parent, Component insertBefore, VariableResolver resolver, java.util.Map<?,?> arg)Creates components from the specified page and definition.voidUiEngine. deactivate(Execution exec)Deactivates an execution, such that other threads could activate and access components.voidUiEngine. endUpdate(Execution exec)Executes posted events, deactivate and ends the asynchronous update.voidUiEngine. execNewPage(Execution exec, PageDefinition pagedef, Page page, java.io.Writer out)Creates components specified in the given page definition.voidUiEngine. execNewPage(Execution exec, Richlet richlet, Page page, java.io.Writer out)InvokeRichlet.service(org.zkoss.zk.ui.Page), when a new page is creates upon visiting a richlet.voidUiEngine. execRecover(Execution exec, FailoverManager failover)Executes the recovering.voidUiEngine. execUpdate(Execution exec, java.util.List<AuRequest> requests, AuWriter out)Executes an asynchronous update to a component (or page).static java.lang.StringExecutionsCtrl. getPageRedrawControl(Execution exec)Returns the page redraw control.static HtmlPageRenders.RenderContextHtmlPageRenders. getRenderContext(Execution exec)Returns the render context, or null if not available.static java.util.List<StyleSheet>HtmlPageRenders. getStyleSheets(Execution exec, WebApp wapp, java.lang.String deviceType)Returns a list ofStyleSheetthat shall be generated to the client for the specified execution.voidDesktopCtrl. invokeExecutionCleanups(Execution exec, Execution parent, java.util.List<java.lang.Throwable> errs)InvokesExecutionCleanup.cleanup(org.zkoss.zk.ui.Execution, org.zkoss.zk.ui.Execution, java.util.List<java.lang.Throwable>)for each relevant listener registered byDesktop.addListener(java.lang.Object).voidDesktopCtrl. invokeExecutionInits(Execution exec, Execution parent)InvokesExecutionInit.init(org.zkoss.zk.ui.Execution, org.zkoss.zk.ui.Execution)for each relevant listener registered byDesktop.addListener(java.lang.Object).static booleanHtmlPageRenders. isDirectContent(Execution exec)Returns whether a component can directly generate HTML tags to the output.static booleanHtmlPageRenders. isZkTagsGenerated(Execution exec)Returns if the ZK specific HTML tags are generated.static java.lang.StringHtmlPageRenders. outDocType(Execution exec, Page page)Returns the doc type, or null if not available.static java.lang.StringHtmlPageRenders. outFirstLine(Execution exec, Page page)Returns the first line to be generated to the output, or null if no special first line.static java.lang.StringHtmlPageRenders. outHeaders(Execution exec, Page page, boolean before)Returns the content of the specified condition that will be placed inside the header element of the specified page, or null if it was generated before.static java.lang.StringHtmlPageRenders. outHeaderZkTags(Execution exec, Page page)Generates and returns the ZK specific HTML tags including the headers defined in the specified page, or null if it was generated before.static java.lang.StringHtmlPageRenders. outInitCrashScript(Execution exec, WebApp wapp)Returns Script tag to include init-crash-script and init-crash-timeout defined in zk.xmlstatic java.lang.StringHtmlPageRenders. outLangJavaScripts(Execution exec, WebApp wapp, java.lang.String deviceType)Returns HTML tags to include all JavaScript files and codes that are required when loading a ZUML page (never null).static java.lang.StringHtmlPageRenders. outLangStyleSheets(Execution exec, WebApp wapp, java.lang.String deviceType)Returns HTML tags to include all style sheets that are defined in all languages of the specified device (never null).static voidHtmlPageRenders. outPageContent(Execution exec, Page page, java.io.Writer out, boolean au)Returns the HTML content representing a page.static java.lang.StringHtmlPageRenders. outResponseJavaScripts(Execution exec)Generates the AU responses that are part of a page rendering.static java.lang.StringHtmlPageRenders. outResponseJavaScripts(Execution exec, boolean directJS)Generates the AU responses that are part of a page rendering.static voidHtmlPageRenders. outStandalone(Execution exec, Component comp, java.io.Writer out)Generates the content of a standalone component that the peer widget is not a child of the page widget at the client.static java.lang.StringHtmlPageRenders. outUnavailable(Execution exec)Generates the unavailable message in HTML tags, if any.static java.lang.StringHtmlPageRenders. outZkTags(Execution exec, WebApp wapp, java.lang.String deviceType)Generates and returns the ZK specific HTML tags such as stylesheet and JavaScript.voidFailoverManager. recover(Session sess, Execution exec, Desktop desktop)Recovers the specified desktop.voidUiEngine. recycleDesktop(Execution exec, Page page, java.io.Writer out)Reuse the desktop and generate the output.static voidHtmlPageRenders. setContentType(Execution exec, Page page)Sets the content type to the specified execution for the given page.static voidExecutionsCtrl. setCurrent(Execution exec)Sets the execution for the current thread.static booleanHtmlPageRenders. setDirectContent(Execution exec, boolean direct)Sets whether a component can directly generate HTML tags to the output.voidDesktopCtrl. setExecution(Execution exec)Sets the execution (used to represent a lock).java.lang.ObjectUiEngine. startUpdate(Execution exec)Activates an execution that will allow developers to update the state of components. -
Uses of Execution in org.zkoss.zk.ui.util
Fields in org.zkoss.zk.ui.util declared as Execution Modifier and Type Field Description protected ExecutionGenericAutowireComposer. executionImplicit Object; the current execution.Methods in org.zkoss.zk.ui.util with parameters of type Execution Modifier and Type Method Description booleanDesktopRecycle. beforeRemove(Execution exec, Desktop desktop, int cause)Called when the client asks the server to remove a desktop because of the user's navigating to other URL or refreshing the page.DesktopDesktopRecycle. beforeService(Execution exec, java.lang.String uri)Called when an user requests the content of a page.java.lang.StringThemeProvider. beforeWCS(Execution exec, java.lang.String uri)Called when a WCS (Widget CSS descriptor) file is about to be loaded.java.lang.StringThemeProvider. beforeWidgetCSS(Execution exec, java.lang.String uri)Called when a WCS (Widget CSS descriptor) file is about to load the CSS file associated with a widget.voidExecutionCleanup. cleanup(Execution exec, Execution parent, java.util.List<java.lang.Throwable> errs)called when an execution is about to be destroyed.voidExecutionMonitor. executionAbort(Execution exec, Desktop desktop, java.lang.Throwable t)Called when the activation of the given execution is aborted.voidExecutionMonitor. executionActivate(Execution exec, Desktop desktop)Called when an execution is activated.voidExecutionMonitor. executionDeactivate(Execution exec, Desktop desktop)Called when an activated execution completes and is deactivated.voidExecutionMonitor. executionWait(Execution exec, Desktop desktop)Called when an execution fails to activate and then being waiting for activation.java.util.Collection<java.lang.Object>ThemeProvider. getThemeURIs(Execution exec, java.util.List<java.lang.Object> uris)Returns a list of the theme's URIs of the specified execution, or null if no theme shall be generated.intThemeProvider. getWCSCacheControl(Execution exec, java.lang.String uri)Returns the number of hours that the specified WCS (Widget CSS descriptor) file won't be changed.voidExecutionInit. init(Execution exec, Execution parent)Called when an execution is created and initialized.voidConfiguration. invokeExecutionCleanups(Execution exec, Execution parent, java.util.List<java.lang.Throwable> errs)InvokesExecutionCleanup.cleanup(org.zkoss.zk.ui.Execution, org.zkoss.zk.ui.Execution, java.util.List<java.lang.Throwable>)for each relevant listener registered byConfiguration.addListener(java.lang.Class<?>).voidConfiguration. invokeExecutionInits(Execution exec, Execution parent)InvokesExecutionInit.init(org.zkoss.zk.ui.Execution, org.zkoss.zk.ui.Execution)for each relevant listener registered byConfiguration.addListener(java.lang.Class<?>).voidThemeURIHandler. modifyThemeURIs(Execution exec, ThemeURIModifier modifier)Allow developer to modify the theme uri list throughThemeURIModifierwhen a desktop is about to be rendered.voidPerformanceMeter. requestCompleteAtClient(java.lang.String requestId, Execution exec, long time)Called to notify when the client has completed the processing of the response.voidPerformanceMeter. requestCompleteAtServer(java.lang.String requestId, Execution exec, long time)Called to notify when the server has completed the processing of the request.voidPerformanceMeter. requestReceiveAtClient(java.lang.String requestId, Execution exec, long time)Called to notify when the client has received the response (but not processed yet).voidPerformanceMeter. requestStartAtClient(java.lang.String requestId, Execution exec, long time)Called to notify when the client starts to send the request to server.voidPerformanceMeter. requestStartAtServer(java.lang.String requestId, Execution exec, long time)Called to notify when the server receives the request.voidCspProvider. setCspHeader(Execution exec, Configuration config)Sets the CSP header for the given execution based on the configuration. -
Uses of Execution in org.zkoss.zk.xel.impl
Constructors in org.zkoss.zk.xel.impl with parameters of type Execution Constructor Description ExecutionResolver(Execution exec, VariableResolver parent)Constructs a resolver with a parent and a page. -
Uses of Execution in org.zkoss.zkex.theme
Methods in org.zkoss.zkex.theme with parameters of type Execution Modifier and Type Method Description java.lang.StringStandardThemeProvider. beforeWidgetCSS(Execution exec, java.lang.String uri) -
Uses of Execution in org.zkoss.zkex.ui.comet
Methods in org.zkoss.zkex.ui.comet that return Execution Modifier and Type Method Description ExecutionCometServerPush.ThreadInfo. getExecution()Methods in org.zkoss.zkex.ui.comet with parameters of type Execution Modifier and Type Method Description protected voidCometServerPush. processRequest(Execution exec, CometServerPush.AsyncInfo ai)Called when receiving the comet request from the client.voidCometServerPush.ThreadInfo. setActive(Execution exec) -
Uses of Execution in org.zkoss.zkmax.theme
Methods in org.zkoss.zkmax.theme with parameters of type Execution Modifier and Type Method Description java.lang.StringStandardThemeProvider. beforeWidgetCSS(Execution exec, java.lang.String uri)voidTabletThemeURIHandler. modifyThemeURIs(Execution exec, ThemeURIModifier modifier) -
Uses of Execution in org.zkoss.zkmax.ui.comet
Methods in org.zkoss.zkmax.ui.comet with parameters of type Execution Modifier and Type Method Description protected voidCometServerPush. processRequest(Execution exec, CometServerPush.AsyncInfo ai)Called when receiving the comet request from the client. -
Uses of Execution in org.zkoss.zkmax.ui.util
Methods in org.zkoss.zkmax.ui.util with parameters of type Execution Modifier and Type Method Description booleanDesktopRecycle. beforeRemove(Execution exec, Desktop desktop, int cause)DesktopDesktopRecycle. beforeService(Execution exec, java.lang.String uri) -
Uses of Execution in org.zkoss.zkplus.cluster
Methods in org.zkoss.zkplus.cluster with parameters of type Execution Modifier and Type Method Description voidClusterSessionPatch. cleanup(Execution exec, Execution parent, java.util.List errs) -
Uses of Execution in org.zkoss.zkplus.embed
Methods in org.zkoss.zkplus.embed that return Execution Modifier and Type Method Description ExecutionBridge. getExecution()Returns the execution.Constructors in org.zkoss.zkplus.embed with parameters of type Execution Constructor Description PageRenderer(Execution exec)PageRenderer(Execution exec, boolean pageDOM) -
Uses of Execution in org.zkoss.zkplus.jpa
Methods in org.zkoss.zkplus.jpa with parameters of type Execution Modifier and Type Method Description voidOpenEntityManagerInViewListener. cleanup(Execution exec, Execution parent, java.util.List errs)protected voidOpenEntityManagerInViewListener. handleException(Execution exec, java.lang.Throwable ex)Default exception handler.voidOpenEntityManagerInViewListener. init(Execution exec, Execution parent) -
Uses of Execution in org.zkoss.zml.impl
Methods in org.zkoss.zml.impl with parameters of type Execution Modifier and Type Method Description protected voidPageRenderer. renderComplete(Execution exec, Page page, java.io.Writer out)Renders the page ifPage.isComplete()is true.protected voidPageRenderer. renderPage(Execution exec, Page page, java.io.Writer out)Renders the page ifPage.isComplete()is false. -
Uses of Execution in org.zkoss.zul.impl
Methods in org.zkoss.zul.impl with parameters of type Execution Modifier and Type Method Description voidZulMessageLoader. load(java.lang.StringBuffer out, Execution exec)protected voidPageRenderer. renderComplete(Execution exec, Page page, java.io.Writer out)Renders the page ifPage.isComplete()is true.protected voidPageRenderer. renderDesktop(Execution exec, Page page, java.io.Writer out)Renders the desktop and the page.protected voidPageRenderer. renderPage(Execution exec, Page page, java.io.Writer out, boolean au)Renders the page ifPage.isComplete()is false. -
Uses of Execution in org.zkoss.zul.theme
Methods in org.zkoss.zul.theme with parameters of type Execution Modifier and Type Method Description java.lang.StringStandardThemeProvider. beforeWCS(Execution exec, java.lang.String uri)java.lang.StringStandardThemeProvider. beforeWidgetCSS(Execution exec, java.lang.String uri)static java.lang.StringThemes. getTheme(Execution exe)Returns the theme specified using the current theme resolution strategy Default strategy is to use cookiesjava.util.Collection<java.lang.Object>StandardThemeProvider. getThemeURIs(Execution exec, java.util.List<java.lang.Object> uris)intStandardThemeProvider. getWCSCacheControl(Execution exec, java.lang.String uri)static voidThemes. setTheme(Execution exe, java.lang.String themeName)Sets the theme name using the current theme resolution strategy Default strategy is to use cookies
-