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