|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.commons.utils.CommonsUtils
public class CommonsUtils
| Constructor Summary | |
|---|---|
CommonsUtils()
|
|
| Method Summary | ||
|---|---|---|
static org.exoplatform.services.jcr.core.ManageableRepository |
getRepository()
Get the current repository |
|
static String |
getRestContextName()
|
|
static
|
getService(Class<T> clazz)
Gets the service. |
|
static
|
getService(Class<T> clazz,
String containerName)
Gets the service. |
|
static org.exoplatform.services.jcr.ext.common.SessionProvider |
getSystemSessionProvider()
Gets the system session provider. |
|
static org.exoplatform.services.jcr.ext.common.SessionProvider |
getUserSessionProvider()
Gets the session provider. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CommonsUtils()
| Method Detail |
|---|
public static org.exoplatform.services.jcr.ext.common.SessionProvider getSystemSessionProvider()
public static org.exoplatform.services.jcr.ext.common.SessionProvider getUserSessionProvider()
public static <T> T getService(Class<T> clazz)
clazz - the clazz
public static <T> T getService(Class<T> clazz,
String containerName)
clazz - the classcontainerName - the container's name
public static org.exoplatform.services.jcr.core.ManageableRepository getRepository()
public static String getRestContextName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||