|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.portlets.user.homelibrary.home.HomeLibrary
public class HomeLibrary
| Field Summary | |
|---|---|
static String |
HOME_ATTRIBUTE_NAME
Home attribute name in ASLSession. |
protected static HomeManagerFactory |
instance
|
protected static org.gcube.common.core.utils.logging.GCUBELog |
staticLogger
|
| Constructor Summary | |
|---|---|
HomeLibrary()
|
|
| Method Summary | |
|---|---|
protected static void |
checkPersistenceFolder(String persistenceFolder)
Check if the persistence folder exists otherwise create it. |
protected static HomeManagerFactory |
createHomeManagerFactoryInstance(String persistenceRoot)
|
static HomeManagerFactory |
getHomeManagerFactory()
Return the HomeManagerFactory. |
static HomeManagerFactory |
getHomeManagerFactory(String persistenceRoot)
Return an instance of HomeManager factory for the given path. |
protected static HomeManagerFactory |
getHomeManagerFactoryImplementation()
Returns the HomeManagerFactory implementation to use. |
static ApplicationsArea |
getUserDataArea(org.gcube.application.framework.core.session.ASLSession session)
Return the DataArea for the user in session. |
static Home |
getUserHome(org.gcube.application.framework.core.session.ASLSession session)
Return the Home for the user in session. |
static Workspace |
getUserWorkspace(org.gcube.application.framework.core.session.ASLSession session)
Return the Workspace for the user in session. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String HOME_ATTRIBUTE_NAME
protected static org.gcube.common.core.utils.logging.GCUBELog staticLogger
protected static HomeManagerFactory instance
| Constructor Detail |
|---|
public HomeLibrary()
| Method Detail |
|---|
protected static HomeManagerFactory getHomeManagerFactoryImplementation()
throws InternalErrorException
InternalErrorException - if an error occurs retrieving the HomeManagerFactory implementation.
protected static void checkPersistenceFolder(String persistenceFolder)
throws InternalErrorException
persistenceFolder - the persistence folder to check.
InternalErrorException - if the persistence folder check fails.
protected static HomeManagerFactory createHomeManagerFactoryInstance(String persistenceRoot)
throws InternalErrorException
InternalErrorException
public static HomeManagerFactory getHomeManagerFactory(String persistenceRoot)
throws InternalErrorException
persistenceRoot - the persistence root.
InternalErrorException - if an error occurs.
public static HomeManagerFactory getHomeManagerFactory()
throws InternalErrorException
InternalErrorException - if an error occurs.
public static Workspace getUserWorkspace(org.gcube.application.framework.core.session.ASLSession session)
throws InternalErrorException,
HomeNotFoundException,
WorkspaceFolderNotFoundException
session - the asl session.
InternalErrorException - if an error occurs.
HomeNotFoundException - if the user home is not found.
WorkspaceFolderNotFoundException - if the user workspace is not found.
public static ApplicationsArea getUserDataArea(org.gcube.application.framework.core.session.ASLSession session)
throws InternalErrorException,
HomeNotFoundException
session - the ASL session.
InternalErrorException - if an error occurs.
HomeNotFoundException - if the user home is not found.
public static Home getUserHome(org.gcube.application.framework.core.session.ASLSession session)
throws InternalErrorException,
HomeNotFoundException
session - the asl session.
InternalErrorException - if an error occurs.
HomeNotFoundException - if the user home is not found.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||