Package | Description |
---|---|
com.communote.server.model.config | |
com.communote.server.persistence.config |
Modifier and Type | Method and Description |
---|---|
static Setting |
Setting.Factory.newInstance()
Constructs a new instance of
Setting . |
Modifier and Type | Method and Description |
---|---|
Set<Setting> |
Configuration.getSettings() |
Modifier and Type | Method and Description |
---|---|
static Configuration |
Configuration.Factory.newInstance(Set<Setting> settings,
ClientConfiguration clientConfig,
Set<ExternalSystemConfiguration> externalSystemConfigurations)
Constructs a new instance of
Configuration , taking all possible properties
(except the identifier(s))as arguments. |
void |
Configuration.setSettings(Set<Setting> settings) |
Modifier and Type | Method and Description |
---|---|
Setting |
SettingDaoBase.create(Setting setting) |
Setting |
SettingDao.create(Setting setting)
Creates an instance of com.communote.server.persistence.config.Setting and adds it to the
persistent store.
|
Setting |
SettingDaoBase.load(String settingKey) |
Setting |
SettingDao.load(String settingKey)
Loads an instance of com.communote.server.persistence.config.Setting from the persistent
store.
|
Modifier and Type | Method and Description |
---|---|
Collection<Setting> |
SettingDaoBase.create(Collection<Setting> entities) |
Collection<Setting> |
SettingDao.create(Collection<Setting> entities)
Creates a new instance of com.communote.server.persistence.config.Setting and adds from the
passed in
entities collection |
Collection<Setting> |
SettingDaoBase.create(int transform,
Collection<Setting> entities) |
Collection<Setting> |
SettingDaoBase.loadAll() |
Collection<Setting> |
SettingDao.loadAll()
Loads all entities of type
Setting . |
Modifier and Type | Method and Description |
---|---|
Object |
SettingDaoBase.create(int transform,
Setting setting) |
Object |
SettingDao.create(int transform,
Setting setting)
Does the same thing as
SettingDao.create(com.communote.server.model.config.Setting) with an
additional flag called transform . |
Setting |
SettingDaoBase.create(Setting setting) |
Setting |
SettingDao.create(Setting setting)
Creates an instance of com.communote.server.persistence.config.Setting and adds it to the
persistent store.
|
void |
SettingDaoBase.evict(Setting entity)
Evicts (removes) the entity from the hibernate cache
|
void |
SettingDao.evict(Setting entity)
Evicts (removes) the entity from the hibernate cache
|
void |
SettingDaoBase.remove(Setting setting) |
void |
SettingDao.remove(Setting setting)
Removes the instance of com.communote.server.persistence.config.Setting from the persistent
store.
|
protected Object |
SettingDaoBase.transformEntity(int transform,
Setting 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.config.SettingDao , please note that the
SettingDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself will be
returned. |
void |
SettingDaoBase.update(Setting setting) |
void |
SettingDao.update(Setting setting)
Updates the
setting instance in the persistent store. |
Modifier and Type | Method and Description |
---|---|
Collection<Setting> |
SettingDaoBase.create(Collection<Setting> entities) |
Collection<Setting> |
SettingDao.create(Collection<Setting> entities)
Creates a new instance of com.communote.server.persistence.config.Setting and adds from the
passed in
entities collection |
Collection<Setting> |
SettingDaoBase.create(int transform,
Collection<Setting> entities) |
Collection<?> |
SettingDao.create(int transform,
Collection<Setting> entities)
Does the same thing as
SettingDao.create(com.communote.server.model.config.Setting) with an
additional flag called transform . |
void |
SettingDaoBase.remove(Collection<Setting> entities) |
void |
SettingDao.remove(Collection<Setting> entities)
Removes all entities in the given
entities |
void |
SettingDaoBase.update(Collection<Setting> entities) |
void |
SettingDao.update(Collection<Setting> entities)
Updates all instances in the
entities collection in the persistent store. |
Copyright © 2019 Communote team. All rights reserved.