public interface ClientManagement
| Modifier and Type | Method and Description |
|---|---|
void |
createGlobalClient(String clientName,
String timeZoneId)
Create the global client (as entity with db config only)
|
ClientTO |
findClient(String clientId)
Get the client by its client id
|
Collection<ClientTO> |
getAllClients() |
void |
initializeGlobalClient(UserVO userVO)
Initializes the global client.
|
ClientTO |
updateClientName(String clientId,
String clientName)
Update the name of the given client
|
void createGlobalClient(String clientName, String timeZoneId) throws InvalidClientIdException
Create the global client (as entity with db config only)
InvalidClientIdExceptionClientTO findClient(String clientId) throws ClientNotFoundException
Get the client by its client id
ClientNotFoundExceptionCollection<ClientTO> getAllClients()
void initializeGlobalClient(UserVO userVO) throws EmailValidationException
Initializes the global client.
userVO - VO with details of the user to create as administrator for the client
EmailValidationExceptionClientTO updateClientName(String clientId, String clientName) throws ClientNotFoundException
clientId - the ID of the client to updateclientName - the new nameClientNotFoundException - in case there is no client with the IDCopyright © 2019 Communote team. All rights reserved.