Enum AdminAccess
- java.lang.Object
-
- java.lang.Enum<AdminAccess>
-
- io.surati.gap.admin.module.secure.AdminAccess
-
- All Implemented Interfaces:
io.surati.gap.admin.base.api.Access
,Serializable
,Comparable<AdminAccess>
public enum AdminAccess extends Enum<AdminAccess> implements io.surati.gap.admin.base.api.Access
Access right for a user.- Since:
- 0.3
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
code()
Get Code.String
description()
Get description.io.surati.gap.admin.base.api.Module
module()
Get module.String
title()
Get title.String
toString()
static AdminAccess
valueOf(String name)
Returns the enum constant of this type with the specified name.static AdminAccess[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VISUALISER_UTILISATEURS
public static final AdminAccess VISUALISER_UTILISATEURS
-
CONFIGURER_UTILISATEURS
public static final AdminAccess CONFIGURER_UTILISATEURS
-
BLOQUER_UTILISATEURS
public static final AdminAccess BLOQUER_UTILISATEURS
-
CHANGER_MOT_DE_PASSE_UTILISATEURS
public static final AdminAccess CHANGER_MOT_DE_PASSE_UTILISATEURS
-
VISUALISER_PROFILS
public static final AdminAccess VISUALISER_PROFILS
-
CONFIGURER_PROFILS
public static final AdminAccess CONFIGURER_PROFILS
-
VISUALISER_INFO_ENTREPRISE
public static final AdminAccess VISUALISER_INFO_ENTREPRISE
-
CONFIGURER_INFO_ENTREPRISE
public static final AdminAccess CONFIGURER_INFO_ENTREPRISE
-
VISUALISER_LA_JOURNALISATION
public static final AdminAccess VISUALISER_LA_JOURNALISATION
-
-
Method Detail
-
values
public static AdminAccess[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AdminAccess c : AdminAccess.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AdminAccess valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
title
public String title()
Get title.- Specified by:
title
in interfaceio.surati.gap.admin.base.api.Access
- Returns:
- Title
-
code
public String code()
Get Code.- Specified by:
code
in interfaceio.surati.gap.admin.base.api.Access
- Returns:
- Code
-
description
public String description()
Get description.- Specified by:
description
in interfaceio.surati.gap.admin.base.api.Access
- Returns:
- Code
-
module
public io.surati.gap.admin.base.api.Module module()
Get module.- Specified by:
module
in interfaceio.surati.gap.admin.base.api.Access
- Returns:
- Module name
-
toString
public String toString()
- Overrides:
toString
in classEnum<AdminAccess>
-
-