public abstract class ChannelConfigurationDaoBase extends org.springframework.orm.hibernate3.support.HibernateDaoSupport implements ChannelConfigurationDao
Base Spring DAO Class: is able to create, update, remove, load, and find objects of type
com.communote.server.persistence.security.ssl.ChannelConfiguration.
ChannelConfigurationTRANSFORM_NONE| Constructor and Description |
|---|
ChannelConfigurationDaoBase() |
| Modifier and Type | Method and Description |
|---|---|
ChannelConfiguration |
create(ChannelConfiguration channelConfiguration)
Creates an instance of com.communote.server.persistence.security.ssl.ChannelConfiguration and
adds it to the persistent store.
|
Collection<ChannelConfiguration> |
create(Collection<ChannelConfiguration> entities)
Creates a new instance of com.communote.server.persistence.security.ssl.ChannelConfiguration
and adds from the passed in
entities collection |
Object |
create(int transform,
ChannelConfiguration channelConfiguration)
Does the same thing as
ChannelConfigurationDao.create(com.communote.server.model.security.ChannelConfiguration) with an additional
flag called transform. |
Collection<ChannelConfiguration> |
create(int transform,
Collection<ChannelConfiguration> entities)
Does the same thing as
ChannelConfigurationDao.create(com.communote.server.model.security.ChannelConfiguration) with an additional
flag called transform. |
void |
evict(ChannelConfiguration entity)
Evicts (removes) the entity from the hibernate cache
|
Object |
load(int transform,
Long id)
Does the same thing as
ChannelConfigurationDao.load(Long) with an additional flag called
transform. |
ChannelConfiguration |
load(Long id)
Loads an instance of com.communote.server.persistence.security.ssl.ChannelConfiguration from
the persistent store.
|
Collection<ChannelConfiguration> |
loadAll()
Loads all entities of type
ChannelConfiguration. |
Collection<?> |
loadAll(int transform)
Does the same thing as
ChannelConfigurationDao.loadAll() with an additional flag called
transform. |
void |
remove(ChannelConfiguration channelConfiguration)
Removes the instance of com.communote.server.persistence.security.ssl.ChannelConfiguration
from the persistent store.
|
void |
remove(Collection<ChannelConfiguration> entities)
Removes all entities in the given
entities |
void |
remove(Long id)
Removes the instance of com.communote.server.persistence.security.ssl.ChannelConfiguration
having the given
identifier from the persistent store. |
protected void |
transformEntities(int transform,
Collection<?> entities)
Transforms a collection of entities using the
transformEntity(int,com.communote.server.model.security.ChannelConfiguration)
method. |
protected Object |
transformEntity(int transform,
ChannelConfiguration 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.security.ssl.ChannelConfigurationDao, please
note that the ChannelConfigurationDao.TRANSFORM_NONE constant denotes no transformation, so the entity
itself will be returned. |
void |
update(ChannelConfiguration channelConfiguration)
Updates the
channelConfiguration instance in the persistent store. |
void |
update(Collection<ChannelConfiguration> entities)
Updates all instances in the
entities collection in the persistent store. |
public ChannelConfiguration create(ChannelConfiguration channelConfiguration)
ChannelConfigurationDaocreate in interface ChannelConfigurationDaoChannelConfigurationDao.create(com.communote.server.model.security.ChannelConfiguration)public Object create(int transform, ChannelConfiguration channelConfiguration)
ChannelConfigurationDao
Does the same thing as
ChannelConfigurationDao.create(com.communote.server.model.security.ChannelConfiguration) with an additional
flag called transform. If this flag is set to TRANSFORM_NONE then
the returned entity will NOT be transformed. If this flag is any of the
other constants defined here then the result WILL BE passed through an
operation which can optionally transform the entity (into a value object for example). By
default, transformation does not occur.
create in interface ChannelConfigurationDaocom.communote.server.persistence.security.ssl.ChannelConfigurationDao#create(int
transform, com.communote.server.persistence.security.ssl.ChannelConfiguration)public Collection<ChannelConfiguration> create(int transform, Collection<ChannelConfiguration> entities)
ChannelConfigurationDao
Does the same thing as
ChannelConfigurationDao.create(com.communote.server.model.security.ChannelConfiguration) with an additional
flag called transform. If this flag is set to TRANSFORM_NONE then
the returned entity will NOT be transformed. If this flag is any of the
other constants defined here then the result WILL BE passed through an
operation which can optionally transform the entities (into value objects for example). By
default, transformation does not occur.
create in interface ChannelConfigurationDaocom.communote.server.persistence.security.ssl.ChannelConfigurationDao#create(int,
java.util
.Collection) public Collection<ChannelConfiguration> create(Collection<ChannelConfiguration> entities)
ChannelConfigurationDaoentities collectioncreate in interface ChannelConfigurationDaoentities - the collection of
com.communote.server.persistence.security.ssl.ChannelConfiguration instances to
create.com.communote.server.persistence.security.ssl.ChannelConfigurationDao#create(java.util.
Collection) public void evict(ChannelConfiguration entity)
evict in interface ChannelConfigurationDaoentity - the entity to evictpublic Object load(int transform, Long id)
ChannelConfigurationDao
Does the same thing as ChannelConfigurationDao.load(Long) with an additional flag called
transform. If this flag is set to TRANSFORM_NONE then the returned
entity will NOT be transformed. If this flag is any of the other constants
defined in this class then the result WILL BE passed through an operation
which can optionally transform the entity (into a value object for example). By default,
transformation does not occur.
load in interface ChannelConfigurationDaoid - the identifier of the entity to load.ChannelConfigurationDao.load(int, Long)public ChannelConfiguration load(Long id)
ChannelConfigurationDaoload in interface ChannelConfigurationDaoChannelConfigurationDao.load(Long)public Collection<ChannelConfiguration> loadAll()
ChannelConfigurationDaoChannelConfiguration.loadAll in interface ChannelConfigurationDaoChannelConfigurationDao.loadAll()public Collection<?> loadAll(int transform)
ChannelConfigurationDao
Does the same thing as ChannelConfigurationDao.loadAll() with an additional flag called
transform. If this flag is set to TRANSFORM_NONE then the returned
entity will NOT be transformed. If this flag is any of the other constants
defined here then the result WILL BE passed through an operation which can
optionally transform the entity (into a value object for example). By default, transformation
does not occur.
loadAll in interface ChannelConfigurationDaotransform - the flag indicating what transformation to use.ChannelConfigurationDao.loadAll(int)public void remove(ChannelConfiguration channelConfiguration)
ChannelConfigurationDaoremove in interface ChannelConfigurationDaoChannelConfigurationDao.remove(com.communote.server.model.security.ChannelConfiguration)public void remove(Collection<ChannelConfiguration> entities)
ChannelConfigurationDaoentities collection.remove in interface ChannelConfigurationDaocom.communote.server.persistence.security.ssl.ChannelConfigurationDao#remove(java.util.
Collection) public void remove(Long id)
ChannelConfigurationDaoidentifier from the persistent store.remove in interface ChannelConfigurationDaoChannelConfigurationDao.remove(Long)protected void transformEntities(int transform,
Collection<?> entities)
transformEntity(int,com.communote.server.model.security.ChannelConfiguration)
method. This method does not instantiate a new collection.
This method is to be used internally only.transform - one of the constants declared in
com.communote.server.persistence.security.ssl.ChannelConfigurationDaoentities - the collection of entities to transformtransformEntity(int,com.communote.server.model.security.ChannelConfiguration)protected Object transformEntity(int transform, ChannelConfiguration entity)
transform flag is set to one of the constants defined in
com.communote.server.persistence.security.ssl.ChannelConfigurationDao, please
note that the ChannelConfigurationDao.TRANSFORM_NONE constant denotes no transformation, so the entity
itself will be returned.
If the integer argument value is unknown ChannelConfigurationDao.TRANSFORM_NONE is assumed.transform - one of the constants declared in
ChannelConfigurationDaoentity - an entity that was foundtransformEntities(int,java.util.Collection)public void update(ChannelConfiguration channelConfiguration)
ChannelConfigurationDaochannelConfiguration instance in the persistent store.update in interface ChannelConfigurationDaoChannelConfigurationDao.update(com.communote.server.model.security.ChannelConfiguration)public void update(Collection<ChannelConfiguration> entities)
ChannelConfigurationDaoentities collection in the persistent store.update in interface ChannelConfigurationDaocom.communote.server.persistence.security.ssl.ChannelConfigurationDao#update(java.util.
Collection) Copyright © 2019 Communote team. All rights reserved.