Class ActionBridgeImpl

java.lang.Object
io.keikai.jsf.ui.impl.ActionBridgeImpl
All Implemented Interfaces:
ActionBridge, Serializable

public class ActionBridgeImpl extends Object implements ActionBridge, Serializable
Implement of action bridge
Author:
dennis
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    ActionBridgeImpl(String clientId, String compUuid)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    execute(Action action)
    Execute the action in zk lifecycle, and update the result to client, it throws ComponentNotFoundException if zk desktop not found (e.g you run the action in JSF post-back, so desktop was removed)
    void
    execute(Action action, boolean auto)
    Execute the action in zk lifecycle, and update the result to client.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ActionBridgeImpl

      public ActionBridgeImpl(String clientId, String compUuid)
  • Method Details

    • execute

      public void execute(Action action)
      Description copied from interface: ActionBridge
      Execute the action in zk lifecycle, and update the result to client, it throws ComponentNotFoundException if zk desktop not found (e.g you run the action in JSF post-back, so desktop was removed)
      Specified by:
      execute in interface ActionBridge
    • execute

      public void execute(Action action, boolean auto)
      Description copied from interface: ActionBridge
      Execute the action in zk lifecycle, and update the result to client. It will call Action.execute() directly if there has no zk desktop to wrap lice-cycle and you set auto to true. It will throw ComponentNotFoundException if there has no zk desktop and you set auto to false.
      Specified by:
      execute in interface ActionBridge
      auto - true wrap the execution in zk desktop lifecycle automatically,