org.gcube.common.homelibrary.jcr
Class JCRHomeManagerFactory

java.lang.Object
  extended by org.gcube.common.homelibrary.jcr.JCRHomeManagerFactory
All Implemented Interfaces:
org.gcube.common.homelibrary.home.HomeManagerFactory

public class JCRHomeManagerFactory
extends Object
implements org.gcube.common.homelibrary.home.HomeManagerFactory


Constructor Summary
JCRHomeManagerFactory()
           
 
Method Summary
 boolean exists(String scope)
           
 org.gcube.common.homelibrary.home.manager.HomeLibraryManager getHomeLibraryManager()
           
 org.gcube.common.homelibrary.home.HomeManager getHomeManager()
           
 org.gcube.common.homelibrary.home.HomeManager getHomeManager(String scope)
           
 File getPersistenceFolder()
           
 void initialize(String pathPersistenceFolder)
           
 List<String> listInfrastructureScopes()
           
 List<String> listInfrastructureScopeUsers(String scope)
           
 List<String> listScopes()
           
 List<String> listUserScopes(String portalLogin)
           
 void removeHomeManager()
           
 void shutdown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JCRHomeManagerFactory

public JCRHomeManagerFactory()
Method Detail

initialize

public void initialize(String pathPersistenceFolder)
                throws org.gcube.common.homelibrary.home.exceptions.InternalErrorException
Specified by:
initialize in interface org.gcube.common.homelibrary.home.HomeManagerFactory
Throws:
org.gcube.common.homelibrary.home.exceptions.InternalErrorException

getPersistenceFolder

public File getPersistenceFolder()

listScopes

public List<String> listScopes()
                        throws org.gcube.common.homelibrary.home.exceptions.InternalErrorException
Specified by:
listScopes in interface org.gcube.common.homelibrary.home.HomeManagerFactory
Throws:
org.gcube.common.homelibrary.home.exceptions.InternalErrorException

exists

public boolean exists(String scope)
               throws org.gcube.common.homelibrary.home.exceptions.InternalErrorException
Specified by:
exists in interface org.gcube.common.homelibrary.home.HomeManagerFactory
Throws:
org.gcube.common.homelibrary.home.exceptions.InternalErrorException

getHomeLibraryManager

public org.gcube.common.homelibrary.home.manager.HomeLibraryManager getHomeLibraryManager()
                                                                                   throws org.gcube.common.homelibrary.home.exceptions.InternalErrorException
Specified by:
getHomeLibraryManager in interface org.gcube.common.homelibrary.home.HomeManagerFactory
Throws:
org.gcube.common.homelibrary.home.exceptions.InternalErrorException

listUserScopes

public List<String> listUserScopes(String portalLogin)
                            throws org.gcube.common.homelibrary.home.exceptions.InternalErrorException
Specified by:
listUserScopes in interface org.gcube.common.homelibrary.home.HomeManagerFactory
Throws:
org.gcube.common.homelibrary.home.exceptions.InternalErrorException

listInfrastructureScopes

public List<String> listInfrastructureScopes()
                                      throws org.gcube.common.homelibrary.home.exceptions.InternalErrorException
Specified by:
listInfrastructureScopes in interface org.gcube.common.homelibrary.home.HomeManagerFactory
Throws:
org.gcube.common.homelibrary.home.exceptions.InternalErrorException

listInfrastructureScopeUsers

public List<String> listInfrastructureScopeUsers(String scope)
                                          throws org.gcube.common.homelibrary.home.exceptions.InternalErrorException
Specified by:
listInfrastructureScopeUsers in interface org.gcube.common.homelibrary.home.HomeManagerFactory
Throws:
org.gcube.common.homelibrary.home.exceptions.InternalErrorException

shutdown

public void shutdown()
              throws org.gcube.common.homelibrary.home.exceptions.InternalErrorException
Specified by:
shutdown in interface org.gcube.common.homelibrary.home.HomeManagerFactory
Throws:
org.gcube.common.homelibrary.home.exceptions.InternalErrorException

getHomeManager

public org.gcube.common.homelibrary.home.HomeManager getHomeManager()
                                                             throws org.gcube.common.homelibrary.home.exceptions.InternalErrorException
Specified by:
getHomeManager in interface org.gcube.common.homelibrary.home.HomeManagerFactory
Throws:
org.gcube.common.homelibrary.home.exceptions.InternalErrorException

removeHomeManager

public void removeHomeManager()
                       throws org.gcube.common.homelibrary.home.exceptions.InternalErrorException
Specified by:
removeHomeManager in interface org.gcube.common.homelibrary.home.HomeManagerFactory
Throws:
org.gcube.common.homelibrary.home.exceptions.InternalErrorException

getHomeManager

public org.gcube.common.homelibrary.home.HomeManager getHomeManager(String scope)
                                                             throws org.gcube.common.homelibrary.home.exceptions.InternalErrorException
Specified by:
getHomeManager in interface org.gcube.common.homelibrary.home.HomeManagerFactory
Throws:
org.gcube.common.homelibrary.home.exceptions.InternalErrorException


Copyright © 2013. All Rights Reserved.