@Transactional(propagation=REQUIRED) public abstract class ClientManagementBase extends Object implements ClientManagement
Spring Service base class for ClientManagement
, provides access to all services and
entities referenced by this service.
ClientManagement
Constructor and Description |
---|
ClientManagementBase() |
Modifier and Type | Method and Description |
---|---|
void |
createGlobalClient(String clientName,
String timeZoneId)
Create the global client (as entity with db config only)
|
protected abstract void |
handleCreateGlobalClient(String clientName,
String timeZoneId)
Performs the core logic for
createGlobalClient(String, String) |
protected abstract void |
handleInitializeGlobalClient(UserVO userVO)
Performs the core logic for
initializeGlobalClient(com.communote.server.api.core.user.UserVO) |
void |
initializeGlobalClient(UserVO userVO)
Initializes the global client.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
findClient, getAllClients, updateClientName
public void createGlobalClient(String clientName, String timeZoneId) throws InvalidClientIdException
ClientManagement
Create the global client (as entity with db config only)
createGlobalClient
in interface ClientManagement
InvalidClientIdException
ClientManagement.createGlobalClient(String, String)
protected abstract void handleCreateGlobalClient(String clientName, String timeZoneId) throws InvalidClientIdException
createGlobalClient(String, String)
InvalidClientIdException
protected abstract void handleInitializeGlobalClient(UserVO userVO) throws EmailValidationException
initializeGlobalClient(com.communote.server.api.core.user.UserVO)
EmailValidationException
public void initializeGlobalClient(UserVO userVO) throws EmailValidationException
ClientManagement
Initializes the global client.
initializeGlobalClient
in interface ClientManagement
userVO
- VO with details of the user to create as administrator for the client
EmailValidationException
ClientManagement.initializeGlobalClient(com.communote.server.api.core.user.UserVO)
Copyright © 2019 Communote team. All rights reserved.