Package io.keikai.jsf.ui.impl
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ActionBridgeImpl(String clientId, String compUuid)
-
Method Summary
All Methods Instance Methods Concrete Methods 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.
-
-
-
Method Detail
-
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 interfaceActionBridge
-
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 callAction.execute()
directly if there has no zk desktop to wrap lice-cycle and you setauto
to true. It will throw ComponentNotFoundException if there has no zk desktop and you set
auto
to false.
- Specified by:
execute
in interfaceActionBridge
auto
- true wrap the execution in zk desktop lifecycle automatically,
-
-