public class JCRRepository extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
HL_VERSION |
static String |
HOME_FOLDER |
static String |
PATH_SEPARATOR |
static String |
ROOT_WEBDAV |
static Map<String,org.gcube.common.resources.gcore.GCoreEndpoint.Profile.Endpoint> |
servlets |
static String |
SHARED_FOLDER |
static String |
WEBDAV_URL |
| Constructor and Description |
|---|
JCRRepository(org.gcube.common.homelibrary.home.User user) |
| Modifier and Type | Method and Description |
|---|---|
org.gcube.common.homelibary.model.items.ItemDelegate |
getChatRoot()
Get Conversation root
|
org.gcube.common.homelibary.model.items.ItemDelegate |
getGCubeRoot()
Get gCube root
|
org.gcube.common.homelibary.model.items.ItemDelegate |
getHome()
Get Home Folder "/Home/"
|
List<String> |
getHomeNames()
Get users home names
|
org.gcube.common.homelibary.model.items.ItemDelegate |
getInBoxFolder(String user)
get InBoxFolder
|
org.gcube.common.homelibary.model.items.ItemDelegate |
getOutBoxFolder()
get OutBoxFolder
|
org.gcube.common.homelibary.model.items.ItemDelegate |
getOwnInBoxFolder()
get InBoxFolder
|
javax.jcr.Node |
getRootFolderBulkCreators(javax.jcr.Session session)
Get Download folder
|
org.gcube.common.homelibary.model.items.ItemDelegate |
getRootSmartFolders()
Get Smart Folders root
|
org.gcube.common.homelibary.model.items.ItemDelegate |
getSharedRoot()
get SharedRoot
|
org.gcube.common.homelibary.model.items.ItemDelegate |
getUserHome()
get User Home
|
static JCRUserManager |
getUserManager() |
static String |
getUserVersion(String portalLogin) |
String |
getWebDavUrl(String portalLogin) |
void |
init()
Create folder in /Home/xxx/
|
static void |
initialize() |
List<String> |
listScopes() |
public static final String PATH_SEPARATOR
public static final String ROOT_WEBDAV
public static final String HOME_FOLDER
public static final String SHARED_FOLDER
public static final String HL_VERSION
public static final String WEBDAV_URL
public JCRRepository(org.gcube.common.homelibrary.home.User user)
throws org.gcube.common.homelibrary.home.exceptions.InternalErrorException
org.gcube.common.homelibrary.home.exceptions.InternalErrorExceptionpublic List<String> getHomeNames() throws org.gcube.common.homelibrary.model.exceptions.RepositoryException
org.gcube.common.homelibrary.model.exceptions.RepositoryExceptionpublic org.gcube.common.homelibary.model.items.ItemDelegate getHome()
throws org.gcube.common.homelibrary.model.exceptions.RepositoryException
org.gcube.common.homelibrary.model.exceptions.RepositoryExceptionpublic static void initialize()
throws org.gcube.common.homelibrary.home.exceptions.InternalErrorException
org.gcube.common.homelibrary.home.exceptions.InternalErrorExceptionpublic void init()
throws Exception
user - Exceptionpublic List<String> listScopes() throws org.gcube.common.homelibrary.model.exceptions.RepositoryException, org.gcube.common.homelibrary.home.exceptions.InternalErrorException
org.gcube.common.homelibrary.model.exceptions.RepositoryExceptionorg.gcube.common.homelibrary.home.exceptions.InternalErrorExceptionpublic org.gcube.common.homelibary.model.items.ItemDelegate getGCubeRoot()
throws org.gcube.common.homelibrary.model.exceptions.RepositoryException,
org.gcube.common.homelibrary.home.exceptions.InternalErrorException
org.gcube.common.homelibrary.model.exceptions.RepositoryExceptionorg.gcube.common.homelibrary.home.exceptions.InternalErrorExceptionpublic org.gcube.common.homelibary.model.items.ItemDelegate getSharedRoot()
throws org.gcube.common.homelibrary.model.exceptions.RepositoryException,
org.gcube.common.homelibrary.home.exceptions.InternalErrorException
org.gcube.common.homelibrary.model.exceptions.RepositoryExceptionorg.gcube.common.homelibrary.home.exceptions.InternalErrorExceptionpublic org.gcube.common.homelibary.model.items.ItemDelegate getUserHome()
throws org.gcube.common.homelibrary.model.exceptions.RepositoryException,
org.gcube.common.homelibrary.home.workspace.exceptions.ItemNotFoundException
session - org.gcube.common.homelibrary.model.exceptions.RepositoryExceptionorg.gcube.common.homelibrary.home.workspace.exceptions.ItemNotFoundExceptionpublic org.gcube.common.homelibary.model.items.ItemDelegate getRootSmartFolders()
throws org.gcube.common.homelibrary.model.exceptions.RepositoryException
session - org.gcube.common.homelibrary.model.exceptions.RepositoryExceptionpublic org.gcube.common.homelibary.model.items.ItemDelegate getOwnInBoxFolder()
throws javax.jcr.RepositoryException
session - org.gcube.common.homelibrary.model.exceptions.RepositoryExceptionjavax.jcr.RepositoryExceptionpublic org.gcube.common.homelibary.model.items.ItemDelegate getOutBoxFolder()
throws javax.jcr.RepositoryException
session - org.gcube.common.homelibrary.model.exceptions.RepositoryExceptionjavax.jcr.RepositoryExceptionpublic javax.jcr.Node getRootFolderBulkCreators(javax.jcr.Session session)
throws javax.jcr.RepositoryException
session - org.gcube.common.homelibrary.model.exceptions.RepositoryExceptionjavax.jcr.RepositoryExceptionpublic org.gcube.common.homelibary.model.items.ItemDelegate getInBoxFolder(String user) throws javax.jcr.RepositoryException, org.gcube.common.homelibrary.home.exceptions.InternalErrorException
session - user - org.gcube.common.homelibrary.model.exceptions.RepositoryExceptionorg.gcube.common.homelibrary.home.exceptions.InternalErrorExceptionjavax.jcr.RepositoryExceptionpublic static String getUserVersion(String portalLogin) throws org.gcube.common.homelibrary.home.exceptions.InternalErrorException
org.gcube.common.homelibrary.home.exceptions.InternalErrorExceptionpublic org.gcube.common.homelibary.model.items.ItemDelegate getChatRoot()
throws org.gcube.common.homelibrary.model.exceptions.RepositoryException,
org.gcube.common.homelibrary.home.exceptions.InternalErrorException
org.gcube.common.homelibrary.model.exceptions.RepositoryExceptionorg.gcube.common.homelibrary.home.exceptions.InternalErrorExceptionpublic static JCRUserManager getUserManager()
Copyright © 2017. All Rights Reserved.