public abstract class LdapSearchConfigurationDaoBase extends org.springframework.orm.hibernate3.support.HibernateDaoSupport implements LdapSearchConfigurationDao
Base Spring DAO Class: is able to create, update, remove, load, and find objects of type
com.communote.server.persistence.config.LdapSearchConfiguration.
LdapSearchConfigurationTRANSFORM_NONE| Constructor and Description |
|---|
LdapSearchConfigurationDaoBase() |
| Modifier and Type | Method and Description |
|---|---|
Collection<LdapSearchConfiguration> |
create(Collection<LdapSearchConfiguration> entities)
Creates a new instance of com.communote.server.persistence.config.LdapSearchConfiguration and
adds from the passed in
entities collection |
Collection<LdapSearchConfiguration> |
create(int transform,
Collection<LdapSearchConfiguration> entities)
Does the same thing as
LdapSearchConfigurationDao.create(com.communote.server.model.config.LdapSearchConfiguration) with an additional
flag called transform. |
Object |
create(int transform,
LdapSearchConfiguration ldapSearchConfiguration)
Does the same thing as
LdapSearchConfigurationDao.create(com.communote.server.model.config.LdapSearchConfiguration) with an additional
flag called transform. |
LdapSearchConfiguration |
create(LdapSearchConfiguration ldapSearchConfiguration)
Creates an instance of com.communote.server.persistence.config.LdapSearchConfiguration and
adds it to the persistent store.
|
void |
evict(LdapSearchConfiguration entity)
Evicts (removes) the entity from the hibernate cache
|
Object |
load(int transform,
Long id)
Does the same thing as
LdapSearchConfigurationDao.load(Long) with an additional flag called
transform. |
LdapSearchConfiguration |
load(Long id)
Loads an instance of com.communote.server.persistence.config.LdapSearchConfiguration from the
persistent store.
|
Collection<LdapSearchConfiguration> |
loadAll()
Loads all entities of type
LdapSearchConfiguration. |
Collection<?> |
loadAll(int transform)
Does the same thing as
LdapSearchConfigurationDao.loadAll() with an additional flag called
transform. |
void |
remove(Collection<LdapSearchConfiguration> entities)
Removes all entities in the given
entities |
void |
remove(LdapSearchConfiguration ldapSearchConfiguration)
Removes the instance of com.communote.server.persistence.config.LdapSearchConfiguration from
the persistent store.
|
void |
remove(Long id)
Removes the instance of com.communote.server.persistence.config.LdapSearchConfiguration
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.config.LdapSearchConfiguration)
method. |
protected Object |
transformEntity(int transform,
LdapSearchConfiguration 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.LdapSearchConfigurationDao, please note
that the LdapSearchConfigurationDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself
will be returned. |
void |
update(Collection<LdapSearchConfiguration> entities)
Updates all instances in the
entities collection in the persistent store. |
void |
update(LdapSearchConfiguration ldapSearchConfiguration)
Updates the
ldapSearchConfiguration instance in the persistent store. |
public LdapSearchConfiguration create(LdapSearchConfiguration ldapSearchConfiguration)
LdapSearchConfigurationDaocreate in interface LdapSearchConfigurationDaoLdapSearchConfigurationDao.create(com.communote.server.model.config.LdapSearchConfiguration)public Object create(int transform, LdapSearchConfiguration ldapSearchConfiguration)
LdapSearchConfigurationDao
Does the same thing as
LdapSearchConfigurationDao.create(com.communote.server.model.config.LdapSearchConfiguration) 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 LdapSearchConfigurationDaocom.communote.server.persistence.config.LdapSearchConfigurationDao#create(int transform,
com.communote.server.persistence.config.LdapSearchConfiguration)public Collection<LdapSearchConfiguration> create(int transform, Collection<LdapSearchConfiguration> entities)
LdapSearchConfigurationDao
Does the same thing as
LdapSearchConfigurationDao.create(com.communote.server.model.config.LdapSearchConfiguration) 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 LdapSearchConfigurationDaocom.communote.server.persistence.config.LdapSearchConfigurationDao#create(int,
java.util.Collection) public Collection<LdapSearchConfiguration> create(Collection<LdapSearchConfiguration> entities)
LdapSearchConfigurationDaoentities collectioncreate in interface LdapSearchConfigurationDaoentities - the collection of com.communote.server.persistence.config.LdapSearchConfiguration
instances to create.com.communote.server.persistence.config.LdapSearchConfigurationDao#create(java.util.
Collection) public void evict(LdapSearchConfiguration entity)
evict in interface LdapSearchConfigurationDaoentity - the entity to evictpublic Object load(int transform, Long id)
LdapSearchConfigurationDao
Does the same thing as LdapSearchConfigurationDao.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 LdapSearchConfigurationDaoid - the identifier of the entity to load.LdapSearchConfigurationDao.load(int, Long)public LdapSearchConfiguration load(Long id)
LdapSearchConfigurationDaoload in interface LdapSearchConfigurationDaoLdapSearchConfigurationDao.load(Long)public Collection<LdapSearchConfiguration> loadAll()
LdapSearchConfigurationDaoLdapSearchConfiguration.loadAll in interface LdapSearchConfigurationDaoLdapSearchConfigurationDao.loadAll()public Collection<?> loadAll(int transform)
LdapSearchConfigurationDao
Does the same thing as LdapSearchConfigurationDao.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 LdapSearchConfigurationDaotransform - the flag indicating what transformation to use.LdapSearchConfigurationDao.loadAll(int)public void remove(LdapSearchConfiguration ldapSearchConfiguration)
LdapSearchConfigurationDaoremove in interface LdapSearchConfigurationDaoLdapSearchConfigurationDao.remove(com.communote.server.model.config.LdapSearchConfiguration)public void remove(Collection<LdapSearchConfiguration> entities)
LdapSearchConfigurationDaoentities collection.remove in interface LdapSearchConfigurationDaocom.communote.server.persistence.config.LdapSearchConfigurationDao#remove(java.util.
Collection) public void remove(Long id)
LdapSearchConfigurationDaoidentifier from the persistent store.remove in interface LdapSearchConfigurationDaoLdapSearchConfigurationDao.remove(Long)protected void transformEntities(int transform,
Collection<?> entities)
transformEntity(int,com.communote.server.model.config.LdapSearchConfiguration)
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.config.LdapSearchConfigurationDaoentities - the collection of entities to transformtransformEntity(int,com.communote.server.model.config.LdapSearchConfiguration)protected Object transformEntity(int transform, LdapSearchConfiguration entity)
transform flag is set to one of the constants defined in
com.communote.server.persistence.config.LdapSearchConfigurationDao, please note
that the LdapSearchConfigurationDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself
will be returned.
If the integer argument value is unknown LdapSearchConfigurationDao.TRANSFORM_NONE is assumed.transform - one of the constants declared in
LdapSearchConfigurationDaoentity - an entity that was foundtransformEntities(int,java.util.Collection)public void update(LdapSearchConfiguration ldapSearchConfiguration)
LdapSearchConfigurationDaoldapSearchConfiguration instance in the persistent store.update in interface LdapSearchConfigurationDaoLdapSearchConfigurationDao.update(com.communote.server.model.config.LdapSearchConfiguration)public void update(Collection<LdapSearchConfiguration> entities)
LdapSearchConfigurationDaoentities collection in the persistent store.update in interface LdapSearchConfigurationDaocom.communote.server.persistence.config.LdapSearchConfigurationDao#update(java.util.
Collection) Copyright © 2019 Communote team. All rights reserved.