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 voidexecute(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)voidexecute(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:ActionBridgeExecute 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:
executein interfaceActionBridge
-
execute
public void execute(Action action, boolean auto)
Description copied from interface:ActionBridgeExecute 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 setautoto true. It will throw ComponentNotFoundException if there has no zk desktop and you setautoto false.- Specified by:
executein interfaceActionBridgeauto- true wrap the execution in zk desktop lifecycle automatically,
-
-