public enum CalendarPermission extends Enum<CalendarPermission> implements ProjectPermission
| Enum Constant and Description |
|---|
ENTRIES_EDIT |
ENTRIES_EDIT_GROUP |
ENTRIES_IMPORT |
ENTRIES_REMOVE |
GROUPS_EDIT |
GROUPS_REMOVE |
USE_PLUGIN |
| Modifier and Type | Method and Description |
|---|---|
ProjectPermission[] |
getChildren() |
String |
getKey() |
ProjectPermission |
getParent() |
String |
getTranslation() |
String |
getTranslation(Locale locale) |
static CalendarPermission |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CalendarPermission[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CalendarPermission USE_PLUGIN
public static final CalendarPermission GROUPS_EDIT
public static final CalendarPermission GROUPS_REMOVE
public static final CalendarPermission ENTRIES_EDIT
public static final CalendarPermission ENTRIES_EDIT_GROUP
public static final CalendarPermission ENTRIES_IMPORT
public static final CalendarPermission ENTRIES_REMOVE
public static CalendarPermission[] values()
for (CalendarPermission c : CalendarPermission.values()) System.out.println(c);
public static CalendarPermission valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic ProjectPermission[] getChildren()
getChildren in interface ProjectPermissionpublic String getKey()
getKey in interface ProjectPermissionpublic ProjectPermission getParent()
getParent in interface ProjectPermissionpublic String getTranslation()
getTranslation in interface com.openindex.openestate.impl.utils.TranslatableCopyright © 2015 OpenEstate. All rights reserved.