|
||||||||||
| 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
public class SettingContext
SettingContext associates setting properties with a specified context (GLOBAL/USER). Use SettingScope to specify context of setting properties in action with database, cache or in dispatching setting event.
| Field Summary | |
|---|---|
protected Context |
context
|
protected String |
ContextPath
path of context in jcr |
protected String |
repositoryName
|
| Constructor Summary | |
|---|---|
SettingContext(Context context)
Create a setting context object with a specified context |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
Context |
getContext()
get context object associated to this setting-context |
String |
getContextPath()
get path associated to this setting-context |
static String |
getCurrentRepositoryName()
|
String |
getRepositoryName()
get repository name associated to this setting-context |
int |
hashCode()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String repositoryName
protected Context context
protected String ContextPath
| Constructor Detail |
|---|
public SettingContext(Context context)
context - context with which the specified value is to be associated| Method Detail |
|---|
public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String getContextPath()
public String getRepositoryName()
public Context getContext()
public static String getCurrentRepositoryName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||