|
||||||||||
| 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
Associates setting properties with a specified context (GLOBAL/USER). This is used to specify context of setting properties at the Context level when working with database and cache or dispatching the setting event.
| Field Summary | |
|---|---|
protected Context |
context
Context of the setting object. |
protected String |
ContextPath
Path of the context in JCR. |
protected String |
repositoryName
Name of the repository in JCR. |
| Constructor Summary | |
|---|---|
SettingContext(Context context)
Creates a SettingContext object with a specified context type. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Compares a specified object with the SettingContext for equality. |
Context |
getContext()
Gets a context object associated with the SettingContext object. |
String |
getContextPath()
Gets path of the SettingContext object. |
static String |
getCurrentRepositoryName()
Gets the current repository name. |
String |
getRepositoryName()
Gets a repository name associated with the SettingContext object. |
int |
hashCode()
Returns the hash code value for the SettingContext object. |
| 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 - The context type.| 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 | |||||||||