com.sdm.quasar.client.jsf.binding
Interface ActionResolver.Action

All Known Implementing Classes:
CommandManagerResolver.CommandManagerAction
Enclosing interface:
ActionResolver

public static interface ActionResolver.Action

This Action is the result of an ActionResolver. The methods of this Action are invoked by JSF using reflection.

Author:
Martin Haft

Method Summary
 boolean isEnabled()
          Checks, if the referenced action currently my be performed
 java.lang.Object perform()
          The referenced action will be performed.
 

Method Detail

isEnabled

public boolean isEnabled()
Checks, if the referenced action currently my be performed

Returns:
true, if the action my be performed in the current satate

perform

public java.lang.Object perform()
The referenced action will be performed.

Returns:
result of the action
Throws:
java.lang.RuntimeException - if the action can not be performed currently. Use #isEnabled(String) to check.