java.lang.Object
org.apache.wicket.util.string.StringValue
org.apache.wicket.util.lang.EnumeratedType
org.apache.wicket.authorization.Action
- All Implemented Interfaces:
Serializable
,IClusterable
A class for constructing singleton constants that represent a given component action that needs
to be authorized. The Wicket core framework defines Component.RENDER and Component.ENABLE
actions, but future versions of the framework may add more actions and user defined components
can define their own actions as well.
- Since:
- 1.2
- Author:
- Eelco Hillenius, Jonathan Locke
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.wicket.util.lang.EnumeratedType
getValues, readResolve
Methods inherited from class org.apache.wicket.util.string.StringValue
afterFirst, afterLast, beforeFirst, beforeLast, equals, hashCode, isEmpty, isNull, repeat, repeat, replaceAll, to, toBoolean, toBoolean, toBooleanObject, toChar, toChar, toCharacter, toDouble, toDouble, toDoubleObject, toDuration, toDuration, toEnum, toEnum, toEnum, toInstant, toInstant, toInt, toInt, toInteger, toLong, toLong, toLongObject, toOptional, toOptionalBoolean, toOptionalCharacter, toOptionalDouble, toOptionalDuration, toOptionalEnum, toOptionalInstant, toOptionalInteger, toOptionalLong, toOptionalString, toString, toString, valueOf, valueOf, valueOf, valueOf, valueOf, valueOf, valueOf, valueOf
-
Field Details
-
RENDER
RENDER action name (for consistent name and use in annotations).DO NOT use for equals on Action, like
action.equals(Action.RENDER)
as you'll compare an action with a string. Rather, do:action.equals(Component.RENDER)
- See Also:
-
ENABLE
ENABLE action name (for consistent name and use in annotations).DO NOT use for equals on Action, like
action.equals(Action.ENABLE)
as you'll compare an action with a string. Rather, do:action.equals(Component.ENABLE)
- See Also:
-
-
Constructor Details
-
Action
Construct.- Parameters:
name
- The name of this action for debug purposes
-
-
Method Details
-
getName
- Returns:
- The name of this action
-