public abstract class MessagerConnectorConfigDaoBase extends org.springframework.orm.hibernate3.support.HibernateDaoSupport implements MessagerConnectorConfigDao
Base Spring DAO Class: is able to create, update, remove, load, and find objects of type
MessagerConnectorConfig.
MessagerConnectorConfigTRANSFORM_NONE| Constructor and Description |
|---|
MessagerConnectorConfigDaoBase() |
| Modifier and Type | Method and Description |
|---|---|
Collection<MessagerConnectorConfig> |
create(Collection<MessagerConnectorConfig> entities)
Creates a new instance of MessagerConnectorConfig and
adds from the passed in
entities collection |
Collection<MessagerConnectorConfig> |
create(int transform,
Collection<MessagerConnectorConfig> entities)
Does the same thing as
MessagerConnectorConfigDao.create(MessagerConnectorConfig) with an additional flag
called transform. |
Object |
create(int transform,
MessagerConnectorConfig messagerConnectorConfig)
Does the same thing as
MessagerConnectorConfigDao.create(MessagerConnectorConfig) with an additional flag
called transform. |
MessagerConnectorConfig |
create(MessagerConnectorConfig messagerConnectorConfig)
Creates an instance of MessagerConnectorConfig and adds
it to the persistent store.
|
void |
evict(MessagerConnectorConfig entity)
Evicts (removes) the entity from the hibernate cache
|
Object |
load(int transform,
Long id)
Does the same thing as
MessagerConnectorConfigDao.load(Long) with an additional flag called
transform. |
MessagerConnectorConfig |
load(Long id)
Loads an instance of MessagerConnectorConfig from the
persistent store.
|
Collection<MessagerConnectorConfig> |
loadAll()
Loads all entities of type
MessagerConnectorConfig. |
Collection<?> |
loadAll(int transform)
Does the same thing as
MessagerConnectorConfigDao.loadAll() with an additional flag called
transform. |
void |
remove(Collection<MessagerConnectorConfig> entities)
Removes all entities in the given
entities |
void |
remove(Long id)
Removes the instance of MessagerConnectorConfig having
the given
identifier from the persistent store. |
void |
remove(MessagerConnectorConfig messagerConnectorConfig)
Removes the instance of MessagerConnectorConfig from
the persistent store.
|
protected void |
transformEntities(int transform,
Collection<?> entities)
Transforms a collection of entities using the
transformEntity(int,MessagerConnectorConfig) method. |
protected Object |
transformEntity(int transform,
MessagerConnectorConfig 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
MessagerConnectorConfigDao, please note that the MessagerConnectorConfigDao.TRANSFORM_NONE
constant denotes no transformation, so the entity itself will be returned. |
void |
update(Collection<MessagerConnectorConfig> entities)
Updates all instances in the
entities collection in the persistent store. |
void |
update(MessagerConnectorConfig messagerConnectorConfig)
Updates the
messagerConnectorConfig instance in the persistent store. |
public Collection<MessagerConnectorConfig> create(int transform, Collection<MessagerConnectorConfig> entities)
MessagerConnectorConfigDao
Does the same thing as MessagerConnectorConfigDao.create(MessagerConnectorConfig) 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 MessagerConnectorConfigDaopublic Object create(int transform, MessagerConnectorConfig messagerConnectorConfig)
MessagerConnectorConfigDao
Does the same thing as MessagerConnectorConfigDao.create(MessagerConnectorConfig) 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 MessagerConnectorConfigDaopublic Collection<MessagerConnectorConfig> create(Collection<MessagerConnectorConfig> entities)
MessagerConnectorConfigDaoentities collectioncreate in interface MessagerConnectorConfigDaoentities - the collection of MessagerConnectorConfig
instances to create.public MessagerConnectorConfig create(MessagerConnectorConfig messagerConnectorConfig)
MessagerConnectorConfigDaocreate in interface MessagerConnectorConfigDaoMessagerConnectorConfigDao.create(MessagerConnectorConfig)public void evict(MessagerConnectorConfig entity)
evict in interface MessagerConnectorConfigDaoentity - the entity to evictpublic Object load(int transform, Long id)
MessagerConnectorConfigDao
Does the same thing as MessagerConnectorConfigDao.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 MessagerConnectorConfigDaoid - the identifier of the entity to load.MessagerConnectorConfigDao.load(int,
Long)public MessagerConnectorConfig load(Long id)
MessagerConnectorConfigDaoload in interface MessagerConnectorConfigDaoMessagerConnectorConfigDao.load(Long)public Collection<MessagerConnectorConfig> loadAll()
MessagerConnectorConfigDaoMessagerConnectorConfig.loadAll in interface MessagerConnectorConfigDaoMessagerConnectorConfigDao.loadAll()public Collection<?> loadAll(int transform)
MessagerConnectorConfigDao
Does the same thing as MessagerConnectorConfigDao.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 MessagerConnectorConfigDaotransform - the flag indicating what transformation to use.MessagerConnectorConfigDao.loadAll(int)public void remove(Collection<MessagerConnectorConfig> entities)
MessagerConnectorConfigDaoentities collection.remove in interface MessagerConnectorConfigDaopublic void remove(Long id)
MessagerConnectorConfigDaoidentifier from the persistent store.remove in interface MessagerConnectorConfigDaopublic void remove(MessagerConnectorConfig messagerConnectorConfig)
MessagerConnectorConfigDaoremove in interface MessagerConnectorConfigDaoMessagerConnectorConfigDao.remove(MessagerConnectorConfig)protected void transformEntities(int transform,
Collection<?> entities)
transformEntity(int,MessagerConnectorConfig) method. This method does not
instantiate a new collection.
This method is to be used internally only.transform - one of the constants declared in MessagerConnectorConfigDaoentities - the collection of entities to transformtransformEntity(int,MessagerConnectorConfig)protected Object transformEntity(int transform, MessagerConnectorConfig entity)
transform flag is set to one of the constants defined in
MessagerConnectorConfigDao, please note that the MessagerConnectorConfigDao.TRANSFORM_NONE
constant denotes no transformation, so the entity itself will be returned.
If the integer argument value is unknown MessagerConnectorConfigDao.TRANSFORM_NONE is assumed.transform - one of the constants declared in
MessagerConnectorConfigDaoentity - an entity that was foundtransformEntities(int,java.util.Collection)public void update(Collection<MessagerConnectorConfig> entities)
MessagerConnectorConfigDaoentities collection in the persistent store.update in interface MessagerConnectorConfigDaopublic void update(MessagerConnectorConfig messagerConnectorConfig)
MessagerConnectorConfigDaomessagerConnectorConfig instance in the persistent store.update in interface MessagerConnectorConfigDaoMessagerConnectorConfigDao.update(MessagerConnectorConfig)Copyright © 2019 Communote team. All rights reserved.