Package com.openkm.sdk4j.impl
Class UserConfigImpl
- java.lang.Object
-
- com.openkm.sdk4j.impl.ClientImpl
-
- com.openkm.sdk4j.impl.UserConfigImpl
-
- All Implemented Interfaces:
BaseUserConfig,Serializable
public class UserConfigImpl extends ClientImpl implements BaseUserConfig, Serializable
UserConfigImpl- Author:
- sochoa
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UserConfigImpl(String host)UserConfigImpl
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserConfiggetConfig()Gets config.protected voidsetAuthorizationToken(String authorizationToken)setAuthenticationTokenvoidsetHome(String uuid)Sets home.-
Methods inherited from class com.openkm.sdk4j.impl.ClientImpl
getClient, getWebTarget, setAuthorizationHeader, setJsessionIdHeader
-
-
-
-
Constructor Detail
-
UserConfigImpl
public UserConfigImpl(String host)
UserConfigImpl
-
-
Method Detail
-
setAuthorizationToken
protected void setAuthorizationToken(String authorizationToken)
setAuthenticationToken
-
getConfig
public UserConfig getConfig() throws AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
Description copied from interface:BaseUserConfigGets config.- Specified by:
getConfigin interfaceBaseUserConfig- Returns:
- the config
- Throws:
AccessDeniedException- the access denied exceptionRepositoryException- the repository exceptionDatabaseException- the database exceptionUnknownException- the unknown exceptionWebserviceException- the webservice exception
-
setHome
public void setHome(String uuid) throws AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
Description copied from interface:BaseUserConfigSets home.- Specified by:
setHomein interfaceBaseUserConfig- Parameters:
uuid- the uuid- Throws:
AccessDeniedException- the access denied exceptionRepositoryException- the repository exceptionDatabaseException- the database exceptionUnknownException- the unknown exceptionWebserviceException- the webservice exception
-
-