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
.
LdapGroupSyncConfiguration
TRANSFORM_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)
LdapGroupSyncConfigurationDao
create
in interface LdapGroupSyncConfigurationDao
LdapGroupSyncConfigurationDao.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 LdapGroupSyncConfigurationDao
com.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 LdapGroupSyncConfigurationDao
com.communote.server.persistence.config.LdapGroupSyncConfigurationDao#create(int,
java.util
.Collection)
public Collection<LdapGroupSyncConfiguration> create(Collection<LdapGroupSyncConfiguration> entities)
LdapGroupSyncConfigurationDao
entities
collectioncreate
in interface LdapGroupSyncConfigurationDao
entities
- 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 LdapGroupSyncConfigurationDao
entity
- 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 LdapGroupSyncConfigurationDao
id
- the identifier of the entity to load.LdapGroupSyncConfigurationDao.load(int, Long)
public LdapGroupSyncConfiguration load(Long id)
LdapGroupSyncConfigurationDao
load
in interface LdapGroupSyncConfigurationDao
LdapGroupSyncConfigurationDao.load(Long)
public Collection<LdapGroupSyncConfiguration> loadAll()
LdapGroupSyncConfigurationDao
LdapGroupSyncConfiguration
.loadAll
in interface LdapGroupSyncConfigurationDao
LdapGroupSyncConfigurationDao.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 LdapGroupSyncConfigurationDao
transform
- the flag indicating what transformation to use.LdapGroupSyncConfigurationDao.loadAll(int)
public void remove(LdapGroupSyncConfiguration ldapGroupSyncConfiguration)
LdapGroupSyncConfigurationDao
remove
in interface LdapGroupSyncConfigurationDao
LdapGroupSyncConfigurationDao.remove(com.communote.server.model.config.LdapGroupSyncConfiguration)
public void remove(Collection<LdapGroupSyncConfiguration> entities)
LdapGroupSyncConfigurationDao
entities collection.
remove
in interface LdapGroupSyncConfigurationDao
com.communote.server.persistence.config.LdapGroupSyncConfigurationDao#remove(java.util.
Collection)
public void remove(Long id)
LdapGroupSyncConfigurationDao
identifier
from the persistent store.remove
in interface LdapGroupSyncConfigurationDao
LdapGroupSyncConfigurationDao.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.LdapGroupSyncConfigurationDao
entities
- 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
LdapGroupSyncConfigurationDao
entity
- an entity that was foundtransformEntities(int,java.util.Collection)
public void update(LdapGroupSyncConfiguration ldapGroupSyncConfiguration)
LdapGroupSyncConfigurationDao
ldapGroupSyncConfiguration
instance in the persistent store.update
in interface LdapGroupSyncConfigurationDao
LdapGroupSyncConfigurationDao.update(com.communote.server.model.config.LdapGroupSyncConfiguration)
public void update(Collection<LdapGroupSyncConfiguration> entities)
LdapGroupSyncConfigurationDao
entities
collection in the persistent store.update
in interface LdapGroupSyncConfigurationDao
com.communote.server.persistence.config.LdapGroupSyncConfigurationDao#update(java.util.
Collection)
Copyright © 2019 Communote team. All rights reserved.