public interface HomeManagerFactory
| Modifier and Type | Method and Description |
|---|---|
boolean |
exists(String scope)
Check if the specified scope exists.
|
AccessManager |
getAccessManager() |
HomeLibraryManager |
getHomeLibraryManager()
Return the HomeLibraryManager instance.
|
HomeManager |
getHomeManager()
Retrieves an HomeManager for the given GCube's scope.
|
HomeManager |
getHomeManager(String scope) |
PrivilegeManager |
getPrivilegeManager() |
UserManager |
getUserManager() |
void |
initialize(String persistenceFolder)
Initialize the HomeManagerFactory instance.
|
List<String> |
listInfrastructureScopes()
Returns the scopes list from the infrastructure.
|
List<String> |
listInfrastructureScopeUsers(String scope)
Return the users list from the infrastructure for the specified scope.
|
List<String> |
listScopes()
List the actuals scopes.
|
List<String> |
listUserScopes(String portalLogin)
List the User scopes.
|
void |
removeHomeManager()
Remove the HomeManager for the specified scope.
|
void |
shutdown()
Shutdown the HomeManagerFactory.
|
void initialize(String persistenceFolder) throws InternalErrorException
persistenceFolder - the persistence folder.InternalErrorException - if an error occurs during the initialization.HomeManager getHomeManager() throws InternalErrorException
scope - the HomeManager's scope.InternalErrorException - if an error occurs.HomeManager getHomeManager(String scope) throws InternalErrorException
InternalErrorExceptionList<String> listScopes() throws InternalErrorException
InternalErrorException - if an error occurs.boolean exists(String scope) throws InternalErrorException
scope - the scope to check.true if the scope exists, false otherwise.InternalErrorException - if an error occurs.void removeHomeManager()
throws InternalErrorException
scope - the scope to remove.InternalErrorException - if an error occurs.HomeLibraryManager getHomeLibraryManager() throws InternalErrorException
InternalErrorException - if an error occurs.List<String> listUserScopes(String portalLogin) throws InternalErrorException
portalLogin - the user portal login.InternalErrorException - if an error occurs.List<String> listInfrastructureScopes() throws InternalErrorException
InternalErrorException - if an error occurs.List<String> listInfrastructureScopeUsers(String scope) throws InternalErrorException
scope - the users scope.InternalErrorException - if an error occurs.void shutdown()
throws InternalErrorException
InternalErrorException - if an error occurs.UserManager getUserManager() throws InternalErrorException
InternalErrorExceptionAccessManager getAccessManager() throws InternalErrorException
InternalErrorExceptionPrivilegeManager getPrivilegeManager() throws InternalErrorException
InternalErrorExceptionCopyright © 2020. All Rights Reserved.