- All Known Implementing Classes:
- DefaultUserActionProvider
public interface UserActionProvider
A role that provides 
UserActions.- Since:
- 2.0-ALPHA-1
- Author:
- Fabrizio Giudici
- Stereotype:
- role
- 
Field SummaryFields
- 
Method SummaryModifier and TypeMethodDescriptionReturns a collection ofUserActions.Deprecated.default Optional<UserAction> Returns the default action, if available.static UserActionProviderof(UserAction... actions) Factory method which creates an instance out of an array ofUserActions.
- 
Field Details- 
_UserActionProvider_Shortcut forAs.
 
- 
- 
Method Details- 
getActionsReturns a collection ofUserActions.- Returns:
- a collection of actions
 
- 
getDefaultActionDeprecated.Returns the default action, if available.- Returns:
- the default action
- Throws:
- it.tidalwave.util.NotFoundException- if there's no default action
 
- 
getOptionalDefaultActionReturns the default action, if available.- Returns:
- the default action
- Since:
- 3.1-ALPHA-2
 
- 
ofFactory method which creates an instance out of an array ofUserActions. The first one is considered the default action.- Parameters:
- actions- the actions
- Returns:
- the UserActionProvider
- Since:
- 3.1-ALPHA-2
 
 
- 
getOptionalDefaultAction()