public enum ContactsPermission extends Enum<ContactsPermission> implements ProjectPermission
Enum Constant and Description |
---|
ENTRIES_EDIT |
ENTRIES_EDIT_GROUP |
ENTRIES_EXPORT |
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 ContactsPermission |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContactsPermission[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContactsPermission USE_PLUGIN
public static final ContactsPermission GROUPS_EDIT
public static final ContactsPermission GROUPS_REMOVE
public static final ContactsPermission ENTRIES_EDIT
public static final ContactsPermission ENTRIES_EDIT_GROUP
public static final ContactsPermission ENTRIES_EXPORT
public static final ContactsPermission ENTRIES_IMPORT
public static final ContactsPermission ENTRIES_REMOVE
public static ContactsPermission[] values()
for (ContactsPermission c : ContactsPermission.values()) System.out.println(c);
public static ContactsPermission 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 ProjectPermission
public String getKey()
getKey
in interface ProjectPermission
public ProjectPermission getParent()
getParent
in interface ProjectPermission
public String getTranslation()
getTranslation
in interface com.openindex.openestate.impl.utils.Translatable
Copyright © 2015 OpenEstate. All rights reserved.