Package | Description |
---|---|
com.communote.server.api.core.client | |
com.communote.server.model.client | |
com.communote.server.persistence.client | |
com.communote.server.persistence.user.client |
Modifier and Type | Method and Description |
---|---|
ClientStatus |
ClientTO.getClientStatus() |
ClientStatus |
ClientStatusChangeEvent.getNewStatus() |
ClientStatus |
ClientStatusChangeEvent.getOldStatus() |
Modifier and Type | Method and Description |
---|---|
boolean |
ClientTO.hasStatus(ClientStatus status)
Method to check if this client has the given status.
|
void |
ClientTO.setClientStatus(ClientStatus clientStatus) |
Constructor and Description |
---|
ClientStatusChangeEvent(String clientId,
ClientStatus oldStatus,
ClientStatus newStatus)
Constructor.
|
Modifier and Type | Field and Description |
---|---|
static ClientStatus |
ClientStatus.ACTIVE
The client has been created and is active.
|
Modifier and Type | Method and Description |
---|---|
static ClientStatus |
ClientStatus.define(String value)
Define a new client status type
|
static ClientStatus |
ClientStatus.fromString(String value)
Creates an instance of ClientStatus from
value . |
ClientStatus |
Client.getClientStatus() |
Modifier and Type | Method and Description |
---|---|
boolean |
Client.hasStatus(ClientStatus status)
Test whether the client has the given status
|
static Client |
Client.Factory.newInstance(String clientId,
String name,
ClientStatus clientStatus)
Constructs a new instance of
Client , taking all required and/or read-only
properties as arguments. |
static Client |
Client.Factory.newInstance(String clientId,
String name,
ClientStatus clientStatus,
String creationVersion,
Timestamp creationTime,
String creationRevision)
Constructs a new instance of
Client , taking all possible properties (except the
identifier(s))as arguments. |
void |
Client.setClientStatus(ClientStatus clientStatus) |
static void |
ClientStatus.undefine(ClientStatus status)
Remove a status type that was previously added via
define(String) . |
Modifier and Type | Class and Description |
---|---|
class |
ClientStatusEnum |
Modifier and Type | Method and Description |
---|---|
Client |
ClientDaoBase.changeClientStatus(String clientId,
ClientStatus newStatus,
ClientStatus oldStatus) |
Client |
ClientDao.changeClientStatus(String clientId,
ClientStatus newStatus,
ClientStatus oldStatus) |
protected Client |
ClientDaoImpl.handleChangeClientStatus(String clientId,
ClientStatus newStatus,
ClientStatus oldStatus)
|
protected abstract Client |
ClientDaoBase.handleChangeClientStatus(String clientId,
ClientStatus newStatus,
ClientStatus oldStatus)
|
Copyright © 2019 Communote team. All rights reserved.