@Service(value="clientManagement") public class ClientManagementImpl extends ClientManagementBase
ClientManagement
Constructor and Description |
---|
ClientManagementImpl() |
Modifier and Type | Method and Description |
---|---|
ClientTO |
findClient(String clientId)
Get the client by its client id
|
Collection<ClientTO> |
getAllClients() |
protected void |
handleCreateGlobalClient(String clientName,
String timeZoneId)
Performs the core logic for
ClientManagementBase.createGlobalClient(String, String) |
protected void |
handleInitializeGlobalClient(UserVO userVO)
Performs the core logic for
ClientManagementBase.initializeGlobalClient(com.communote.server.api.core.user.UserVO) |
ClientTO |
updateClientName(String clientId,
String clientName)
Update the name of the given client
|
createGlobalClient, initializeGlobalClient
@Transactional(readOnly=true) public ClientTO findClient(String clientId) throws ClientNotFoundException
ClientManagement
Get the client by its client id
ClientNotFoundException
@Transactional(readOnly=true) public Collection<ClientTO> getAllClients()
protected void handleCreateGlobalClient(String clientName, String timeZoneId) throws InvalidClientIdException
ClientManagementBase
ClientManagementBase.createGlobalClient(String, String)
handleCreateGlobalClient
in class ClientManagementBase
InvalidClientIdException
protected void handleInitializeGlobalClient(UserVO userVO) throws EmailValidationException
ClientManagementBase.initializeGlobalClient(com.communote.server.api.core.user.UserVO)
handleInitializeGlobalClient
in class ClientManagementBase
EmailValidationException
public ClientTO updateClientName(String clientId, String clientName) throws ClientNotFoundException
ClientManagement
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.