|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.commons.api.settings.data.SettingContext
org.exoplatform.commons.api.settings.data.SettingScope
public class SettingScope
Associates setting properties with a specified scope (for example, GLOBAL/PORTAL/APPLICATION). SettingScope is composed by [context, scope] and is used to specify context of setting properties at the Scope level when working with database, cache or dispatching the setting event.
| Field Summary | |
|---|---|
protected Scope |
scope
|
protected String |
scopePath
|
| Fields inherited from class org.exoplatform.commons.api.settings.data.SettingContext |
|---|
context, ContextPath, repositoryName |
| Constructor Summary | |
|---|---|
SettingScope(Context context,
Scope scope)
Creates a setting scope object with a composite key [context, scope]. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Compares a specified object with the SettingScope for equality. |
Scope |
getScope()
Gets a scope value of the SettingScope object. |
String |
getScopePath()
Gets a path to the SettingScope object. |
int |
hashCode()
Returns the hash code value for the SettingScope object. |
| Methods inherited from class org.exoplatform.commons.api.settings.data.SettingContext |
|---|
getContext, getContextPath, getCurrentRepositoryName, getRepositoryName |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Scope scope
protected String scopePath
| Constructor Detail |
|---|
public SettingScope(Context context,
Scope scope)
context - The context value.scope - The scope value.| Method Detail |
|---|
public boolean equals(Object obj)
equals in class SettingContextpublic int hashCode()
hashCode in class SettingContextpublic Scope getScope()
public String getScopePath()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||