Package it.tidalwave.role.ui.spi
Class DefaultUserActionProvider
java.lang.Object
it.tidalwave.role.ui.spi.DefaultUserActionProvider
- All Implemented Interfaces:
UserActionProvider
A default implementation of
UserActionProvider which returns no actions.- Author:
- Fabrizio Giudici
- Stereotype:
- role
-
Field Summary
Fields inherited from interface it.tidalwave.role.ui.UserActionProvider
_UserActionProvider_ -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCollection<? extends UserAction> Returns a collection ofUserActions.Returns the default action, if available.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface it.tidalwave.role.ui.UserActionProvider
getOptionalDefaultAction
-
Constructor Details
-
DefaultUserActionProvider
public DefaultUserActionProvider()
-
-
Method Details
-
getActions
Returns a collection ofUserActions.- Specified by:
getActionsin interfaceUserActionProvider- Returns:
- a collection of actions
-
getDefaultAction
Returns the default action, if available.- Specified by:
getDefaultActionin interfaceUserActionProvider- Returns:
- the default action
- Throws:
NotFoundException- if there's no default action
-