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


public interface ActionResolver

The ActionResolver defines the action binding to an object that is not resolved by JSF (e.g. an action manager). It encapsulates the access to an action referenced by a keyword.

Author:
Martin Haft

Nested Class Summary
static interface ActionResolver.Action
          This Action is the result of an ActionResolver.
 
Method Summary
 ActionResolver.Action getAction(java.lang.String actionName)
           
 boolean hasAction(java.lang.String actionName)
          Checks, if the action name can be resolved.
 

Method Detail

hasAction

public boolean hasAction(java.lang.String actionName)
Checks, if the action name can be resolved.

Parameters:
actionName - a name referencing an action
Returns:
true, if an action referred by the action name is existing

getAction

public ActionResolver.Action getAction(java.lang.String actionName)
Returns:
the resolved ActionResolver.Action
Throws:
java.lang.RuntimeException - if the name can not be resolved by this. Use hasAction(String) to check.