|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.commons.api.settings.data.Tools
public class Tools
This class is useful to build the object path saved in JCR.
| Constructor Summary | |
|---|---|
Tools()
|
|
| Method Summary | |
|---|---|
static String |
buildContextPath(Context context)
Builds a path of a specified context in the database. |
static String |
buildFullPath(Context context,
Scope scope,
String key)
Builds a path of a specified setting property stored in the database. |
static String |
buildScopePath(Context context,
Scope scope)
Builds a path of a specified scope in the database. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Tools()
| Method Detail |
|---|
public static String buildScopePath(Context context,
Scope scope)
context - The context with which the path is associated.scope - The scope with which the path is associated.
public static String buildContextPath(Context context)
context - The context with which the path is associated.
public static String buildFullPath(Context context,
Scope scope,
String key)
context - Context of the setting property.scope - Scope of the setting property.key - Key of the setting property.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||