|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Scope>
org.exoplatform.commons.api.settings.data.Scope
public enum Scope
Saves some settings linked to a scope.
| Enum Constant Summary | |
|---|---|
APPLICATION
Settings of an application, like Forum, Content, or Social. |
|
GLOBAL
Settings of the whole eXo Platform (all sites and portals). |
|
PAGE
Settings of pages. |
|
PORTAL
Settings of the entire portal (and all its sites). |
|
SITE
Settings of sites. |
|
SPACE
Settings of spaces. |
|
WINDOWS
Settings of portlets or gadgets. |
|
| Method Summary | |
|---|---|
String |
getId()
|
Scope |
id(String id)
|
static Scope |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Scope[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Scope WINDOWS
public static final Scope PAGE
public static final Scope SPACE
public static final Scope SITE
public static final Scope PORTAL
public static final Scope APPLICATION
public static final Scope GLOBAL
| Method Detail |
|---|
public static Scope[] values()
for (Scope c : Scope.values()) System.out.println(c);
public static Scope valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic Scope id(String id)
public String getId()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||