org.yasl.arch.action
Interface YASLActionHandler

All Known Implementing Classes:
YASLActionHandlerImpl

public interface YASLActionHandler

Defines the methods for storing and accessing Actions.


Method Summary
 void addActionByKey(String actionKey, Action action)
          Adds an action to the handler and associates it with the passed key.
 Action getActionByKey(String actionKey)
          Returns the Action associated with the passed key.
 Set getActionKeys()
          Returns a non-modifiable set of keys to actions.
 boolean isKeyInUse(String actionKey)
          Returns true if an action is associated with the passed key.
 

Method Detail

getActionByKey

public Action getActionByKey(String actionKey)
Returns the Action associated with the passed key.

Parameters:
actionKey - String
Returns:
Action

addActionByKey

public void addActionByKey(String actionKey,
                           Action action)
Adds an action to the handler and associates it with the passed key.

Parameters:
actionKey - String
action - Action

isKeyInUse

public boolean isKeyInUse(String actionKey)
Returns true if an action is associated with the passed key.

Parameters:
actionKey - String
Returns:
boolean

getActionKeys

public Set getActionKeys()
Returns a non-modifiable set of keys to actions.

Returns:
Set