Package | Description |
---|---|
com.communote.server.core.vo.client.converters | |
com.communote.server.model.client | |
com.communote.server.persistence.user.client |
Modifier and Type | Method and Description |
---|---|
ClientTO |
ClientToClientTOConverter.convert(Client source)
method to convert a client to a client TO.
|
Modifier and Type | Method and Description |
---|---|
static Client |
Client.Factory.newInstance()
Constructs a new instance of
Client . |
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. |
Modifier and Type | Method and Description |
---|---|
Client |
ClientDaoBase.changeClientStatus(String clientId,
ClientStatus newStatus,
ClientStatus oldStatus) |
Client |
ClientDao.changeClientStatus(String clientId,
ClientStatus newStatus,
ClientStatus oldStatus) |
Client |
ClientDaoBase.create(Client client) |
Client |
ClientDao.create(Client client)
Creates an instance of com.communote.server.persistence.user.client.Client and adds it to the
persistent store.
|
Client |
ClientDaoBase.findByClientId(String clientId) |
Client |
ClientDao.findByClientId(String clientId)
Find the client by its id
|
Client |
ClientDaoBase.findByClientIdForWriting(String clientId) |
Client |
ClientDao.findByClientIdForWriting(String clientId)
Find the client by its id and obtain a write lock
|
protected Client |
ClientDaoImpl.handleChangeClientStatus(String clientId,
ClientStatus newStatus,
ClientStatus oldStatus)
|
protected abstract Client |
ClientDaoBase.handleChangeClientStatus(String clientId,
ClientStatus newStatus,
ClientStatus oldStatus)
|
protected Client |
ClientDaoImpl.handleFindByClientId(String clientId)
Performs the core logic for
ClientDaoBase.findByClientId(String) |
protected abstract Client |
ClientDaoBase.handleFindByClientId(String clientId)
Performs the core logic for
ClientDaoBase.findByClientId(String) |
protected Client |
ClientDaoImpl.handleFindByClientIdForWriting(String clientId)
Performs the core logic for
ClientDaoBase.findByClientIdForWriting(String) |
protected abstract Client |
ClientDaoBase.handleFindByClientIdForWriting(String clientId)
Performs the core logic for
ClientDaoBase.findByClientIdForWriting(String) |
Client |
ClientDaoBase.load(Long id) |
Client |
ClientDao.load(Long id)
Loads an instance of com.communote.server.persistence.user.client.Client from the persistent
store.
|
Modifier and Type | Method and Description |
---|---|
Collection<Client> |
ClientDaoBase.create(Collection<Client> entities) |
Collection<Client> |
ClientDao.create(Collection<Client> entities)
Creates a new instance of com.communote.server.persistence.user.client.Client and adds from
the passed in
entities collection |
Collection<Client> |
ClientDaoBase.create(int transform,
Collection<Client> entities) |
Collection<Client> |
ClientDaoBase.loadAll() |
Collection<Client> |
ClientDao.loadAll()
Loads all entities of type
Client . |
Modifier and Type | Method and Description |
---|---|
Client |
ClientDaoBase.create(Client client) |
Client |
ClientDao.create(Client client)
Creates an instance of com.communote.server.persistence.user.client.Client and adds it to the
persistent store.
|
Object |
ClientDaoBase.create(int transform,
Client client) |
Object |
ClientDao.create(int transform,
Client client)
Does the same thing as
ClientDao.create(com.communote.server.model.client.Client) with an
additional flag called transform . |
void |
ClientDaoBase.evict(Client entity)
Evicts (removes) the entity from the hibernate cache
|
void |
ClientDao.evict(Client entity)
Evicts (removes) the entity from the hibernate cache
|
void |
ClientDaoBase.remove(Client client) |
void |
ClientDao.remove(Client client)
Removes the instance of com.communote.server.persistence.user.client.Client from the
persistent store.
|
protected Object |
ClientDaoBase.transformEntity(int transform,
Client entity)
Allows transformation of entities into value objects (or something else for that matter),
when the
transform flag is set to one of the constants defined in
com.communote.server.persistence.user.client.ClientDao , please note that the
ClientDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself will be
returned. |
void |
ClientDaoBase.update(Client client) |
void |
ClientDao.update(Client client)
Updates the
client instance in the persistent store. |
Modifier and Type | Method and Description |
---|---|
Collection<Client> |
ClientDaoBase.create(Collection<Client> entities) |
Collection<Client> |
ClientDao.create(Collection<Client> entities)
Creates a new instance of com.communote.server.persistence.user.client.Client and adds from
the passed in
entities collection |
Collection<Client> |
ClientDaoBase.create(int transform,
Collection<Client> entities) |
Collection<?> |
ClientDao.create(int transform,
Collection<Client> entities)
Does the same thing as
ClientDao.create(com.communote.server.model.client.Client) with an
additional flag called transform . |
void |
ClientDaoBase.remove(Collection<Client> entities) |
void |
ClientDao.remove(Collection<Client> entities)
Removes all entities in the given
entities |
void |
ClientDaoBase.update(Collection<Client> entities) |
void |
ClientDao.update(Collection<Client> entities)
Updates all instances in the
entities collection in the persistent store. |
Copyright © 2019 Communote team. All rights reserved.