public class OKMUserConfig extends Object implements UserConfigModule
| Modifier and Type | Method and Description |
|---|---|
UserConfig |
getConfig(String token)
Get user config
|
static OKMUserConfig |
getInstance() |
void |
setHome(String token,
String path)
Set the user default home node
|
public static OKMUserConfig getInstance()
public void setHome(String token, String path) throws AccessDeniedException, RepositoryException, DatabaseException
UserConfigModulesetHome in interface UserConfigModulepath - A node path to be set as user home folder.RepositoryException - If there is any general repository problem.AccessDeniedExceptionDatabaseExceptionpublic UserConfig getConfig(String token) throws AccessDeniedException, RepositoryException, DatabaseException
UserConfigModulegetConfig in interface UserConfigModuleRepositoryException - If there is any general repository problem.AccessDeniedExceptionDatabaseExceptionCopyright © 2017 Open Knowledge Management System S.L.. All rights reserved.