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
-
Method Summary
Modifier and TypeMethodDescriptionCollection
<? extends UserAction> Returns a collection ofUserAction
s.Returns the default action, if available.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface it.tidalwave.role.ui.UserActionProvider
getOptionalDefaultAction
-
Constructor Details
-
DefaultUserActionProvider
public DefaultUserActionProvider()
-
-
Method Details
-
getActions
Returns a collection ofUserAction
s.- Specified by:
getActions
in interfaceUserActionProvider
- Returns:
- a collection of actions
-
getDefaultAction
Returns the default action, if available.- Specified by:
getDefaultAction
in interfaceUserActionProvider
- Returns:
- the default action
- Throws:
NotFoundException
- if there's no default action
-