org.gcube.portlets.user.homelibrary.jcr
Class JCRHomeManagerFactory
java.lang.Object
org.gcube.portlets.user.homelibrary.jcr.JCRHomeManagerFactory
- All Implemented Interfaces:
- org.gcube.portlets.user.homelibrary.home.HomeManagerFactory
public class JCRHomeManagerFactory
- extends Object
- implements org.gcube.portlets.user.homelibrary.home.HomeManagerFactory
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JCRHomeManagerFactory
public JCRHomeManagerFactory()
initialize
public void initialize(String pathPersistenceFolder)
throws org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
- Specified by:
initialize in interface org.gcube.portlets.user.homelibrary.home.HomeManagerFactory
- Throws:
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
getPersistenceFolder
public File getPersistenceFolder()
listScopes
public List<String> listScopes()
throws org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
- Specified by:
listScopes in interface org.gcube.portlets.user.homelibrary.home.HomeManagerFactory
- Throws:
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
exists
public boolean exists(String scope)
throws org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
- Specified by:
exists in interface org.gcube.portlets.user.homelibrary.home.HomeManagerFactory
- Throws:
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
getHomeLibraryManager
public org.gcube.portlets.user.homelibrary.home.manager.HomeLibraryManager getHomeLibraryManager()
throws org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
- Specified by:
getHomeLibraryManager in interface org.gcube.portlets.user.homelibrary.home.HomeManagerFactory
- Throws:
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
listUserScopes
public List<String> listUserScopes(String portalLogin)
throws org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
- Specified by:
listUserScopes in interface org.gcube.portlets.user.homelibrary.home.HomeManagerFactory
- Throws:
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
listInfrastructureScopes
public List<String> listInfrastructureScopes()
throws org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
- Specified by:
listInfrastructureScopes in interface org.gcube.portlets.user.homelibrary.home.HomeManagerFactory
- Throws:
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
listInfrastructureScopeUsers
public List<String> listInfrastructureScopeUsers(String scope)
throws org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
- Specified by:
listInfrastructureScopeUsers in interface org.gcube.portlets.user.homelibrary.home.HomeManagerFactory
- Throws:
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
shutdown
public void shutdown()
throws org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
- Specified by:
shutdown in interface org.gcube.portlets.user.homelibrary.home.HomeManagerFactory
- Throws:
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
getHomeManager
public org.gcube.portlets.user.homelibrary.home.HomeManager getHomeManager()
throws org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
- Specified by:
getHomeManager in interface org.gcube.portlets.user.homelibrary.home.HomeManagerFactory
- Throws:
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
removeHomeManager
public void removeHomeManager()
throws org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
- Specified by:
removeHomeManager in interface org.gcube.portlets.user.homelibrary.home.HomeManagerFactory
- Throws:
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
getHomeManager
public org.gcube.portlets.user.homelibrary.home.HomeManager getHomeManager(String scope)
throws org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
- Specified by:
getHomeManager in interface org.gcube.portlets.user.homelibrary.home.HomeManagerFactory
- Throws:
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
Copyright © 2013. All Rights Reserved.