|
||||||||||
| 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
This class allow a user to be able to save some settings linked to a scope.
| Enum Constant Summary | |
|---|---|
APPLICATION
Settings for an application like Forum, Content, Social, etc. |
|
GLOBAL
Settings for the platform (for all sites and portals). |
|
PAGE
Settings for a page. |
|
PORTAL
Settings for the entire portal (and all these sites). |
|
SITE
Settings for one site in one portal. |
|
SPACE
Settings for a space. |
|
WINDOWS
Settings for 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 | |||||||||