public enum NewsPermission extends Enum<NewsPermission> implements ProjectPermission
| Enum Constant and Description |
|---|
FEEDS_EDIT |
FEEDS_REMOVE |
USE_PLUGIN |
| Modifier and Type | Method and Description |
|---|---|
ProjectPermission[] |
getChildren() |
String |
getKey() |
ProjectPermission |
getParent() |
String |
getTranslation() |
String |
getTranslation(Locale locale) |
static NewsPermission |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NewsPermission[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NewsPermission USE_PLUGIN
public static final NewsPermission FEEDS_EDIT
public static final NewsPermission FEEDS_REMOVE
public static NewsPermission[] values()
for (NewsPermission c : NewsPermission.values()) System.out.println(c);
public static NewsPermission 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.