Uses of Interface
org.zkoss.zk.ui.Execution
-
Packages that use Execution Package Description org.zkoss.zk.device org.zkoss.zk.ui org.zkoss.zk.ui.http org.zkoss.zk.ui.impl org.zkoss.zk.ui.metainfo org.zkoss.zk.ui.sys org.zkoss.zk.ui.util org.zkoss.zk.xel.impl -
-
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, org.zkoss.xel.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, org.zkoss.util.resource.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, org.zkoss.xel.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<org.zkoss.html.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, org.zkoss.xel.VariableResolver parent)Constructs a resolver with a parent and a page.
-