Package io.github.astrapi69.spring.rest
Enum Class BaseActionRestPath
- All Implemented Interfaces:
Serializable
,Comparable<BaseActionRestPath>
,Constable
The enum class
BaseActionRestPath
holds constants for the base action that follows after
base rest paths-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe constant for the action deleteThe constant for the action findThe constant for the action find allThe constant for the action find byThe constant for the action find by nameThe constant for the action persist.The constant for the action saveThe constant for the action save or updateThe constant for the action update. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetValue()
static BaseActionRestPath
Returns the enum constant of this class with the specified name.static BaseActionRestPath[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SAVE
The constant for the action save -
PERSIST
The constant for the action persist. -
UPDATE
The constant for the action update. -
SAVE_OR_UPDATE
The constant for the action save or update -
DELETE
The constant for the action delete -
FIND
The constant for the action find -
FIND_BY
The constant for the action find by -
FIND_ALL
The constant for the action find all -
FIND_BY_NAME
The constant for the action find by name
-
-
Field Details
-
ACTION_SAVE
- See Also:
-
ACTION_PERSIST
- See Also:
-
ACTION_UPDATE
- See Also:
-
ACTION_SAVE_OR_UPDATE
- See Also:
-
ACTION_DELETE
- See Also:
-
ACTION_FIND
- See Also:
-
ACTION_FIND_BY
- See Also:
-
ACTION_FIND_BY_NAME
- See Also:
-
ACTION_FIND_ALL
- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
-