public abstract class ForgottenPasswordSecurityCodeDaoBase extends org.springframework.orm.hibernate3.support.HibernateDaoSupport implements ForgottenPasswordSecurityCodeDao
Base Spring DAO Class: is able to create, update, remove, load, and find objects of type
com.communote.server.persistence.user.security.ForgottenPasswordSecurityCode.
ForgottenPasswordSecurityCodeTRANSFORM_NONE| Constructor and Description |
|---|
ForgottenPasswordSecurityCodeDaoBase() |
| Modifier and Type | Method and Description |
|---|---|
Collection<ForgottenPasswordSecurityCode> |
create(Collection<ForgottenPasswordSecurityCode> entities)
Creates a new instance of
com.communote.server.persistence.user.security.ForgottenPasswordSecurityCode and adds from
the passed in
entities collection |
ForgottenPasswordSecurityCode |
create(ForgottenPasswordSecurityCode forgottenPasswordSecurityCode)
Creates an instance of
com.communote.server.persistence.user.security.ForgottenPasswordSecurityCode and adds it to
the persistent store.
|
Collection<ForgottenPasswordSecurityCode> |
create(int transform,
Collection<ForgottenPasswordSecurityCode> entities)
Does the same thing as
ForgottenPasswordSecurityCodeDao.create(com.communote.server.model.user.security.ForgottenPasswordSecurityCode) with
an additional flag called transform. |
Object |
create(int transform,
ForgottenPasswordSecurityCode forgottenPasswordSecurityCode)
Does the same thing as
ForgottenPasswordSecurityCodeDao.create(com.communote.server.model.user.security.ForgottenPasswordSecurityCode) with
an additional flag called transform. |
ForgottenPasswordSecurityCode |
createCode(User user) |
void |
evict(ForgottenPasswordSecurityCode entity)
Evicts (removes) the entity from the hibernate cache
|
protected abstract ForgottenPasswordSecurityCode |
handleCreateCode(User user)
Performs the core logic for
createCode(com.communote.server.model.user.User) |
Object |
load(int transform,
Long id)
Does the same thing as
ForgottenPasswordSecurityCodeDao.load(Long) with an additional flag called
transform. |
ForgottenPasswordSecurityCode |
load(Long id)
Loads an instance of
com.communote.server.persistence.user.security.ForgottenPasswordSecurityCode from the
persistent store.
|
Collection<ForgottenPasswordSecurityCode> |
loadAll()
Loads all entities of type
ForgottenPasswordSecurityCode. |
Collection<?> |
loadAll(int transform)
Does the same thing as
ForgottenPasswordSecurityCodeDao.loadAll() with an additional flag called
transform. |
void |
remove(Collection<ForgottenPasswordSecurityCode> entities)
Removes all entities in the given
entities |
void |
remove(ForgottenPasswordSecurityCode forgottenPasswordSecurityCode)
Removes the instance of
com.communote.server.persistence.user.security.ForgottenPasswordSecurityCode from the
persistent store.
|
void |
remove(Long id)
Removes the instance of
com.communote.server.persistence.user.security.ForgottenPasswordSecurityCode 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.user.security.ForgottenPasswordSecurityCode)
method. |
protected Object |
transformEntity(int transform,
ForgottenPasswordSecurityCode 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.user.security.ForgottenPasswordSecurityCodeDao,
please note that the ForgottenPasswordSecurityCodeDao.TRANSFORM_NONE constant denotes no transformation, so the
entity itself will be returned. |
void |
update(Collection<ForgottenPasswordSecurityCode> entities)
Updates all instances in the
entities collection in the persistent store. |
void |
update(ForgottenPasswordSecurityCode forgottenPasswordSecurityCode)
Updates the
forgottenPasswordSecurityCode instance in the persistent store. |
public ForgottenPasswordSecurityCodeDaoBase()
public ForgottenPasswordSecurityCode create(ForgottenPasswordSecurityCode forgottenPasswordSecurityCode)
ForgottenPasswordSecurityCodeDaocreate in interface ForgottenPasswordSecurityCodeDaoForgottenPasswordSecurityCodeDao.create(com.communote.server.model.user.security.ForgottenPasswordSecurityCode)public Object create(int transform, ForgottenPasswordSecurityCode forgottenPasswordSecurityCode)
ForgottenPasswordSecurityCodeDao
Does the same thing as
ForgottenPasswordSecurityCodeDao.create(com.communote.server.model.user.security.ForgottenPasswordSecurityCode) 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 ForgottenPasswordSecurityCodeDaocom.communote.server.persistence.user.security.ForgottenPasswordSecurityCodeDao#create(int
transform, com.communote.server.persistence.user.security.ForgottenPasswordSecurityCode)public Collection<ForgottenPasswordSecurityCode> create(int transform, Collection<ForgottenPasswordSecurityCode> entities)
ForgottenPasswordSecurityCodeDao
Does the same thing as
ForgottenPasswordSecurityCodeDao.create(com.communote.server.model.user.security.ForgottenPasswordSecurityCode) 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 ForgottenPasswordSecurityCodeDaocom.communote.server.persistence.user.security.ForgottenPasswordSecurityCodeDao#create(int
, java.util.Collection) public Collection<ForgottenPasswordSecurityCode> create(Collection<ForgottenPasswordSecurityCode> entities)
ForgottenPasswordSecurityCodeDaoentities collectioncreate in interface ForgottenPasswordSecurityCodeDaoentities - the collection of
com.communote.server.persistence.user.security.ForgottenPasswordSecurityCode
instances to create.com.communote.server.persistence.user.security.ForgottenPasswordSecurityCodeDao#create(java
.util.Collection) public ForgottenPasswordSecurityCode createCode(User user)
createCode in interface ForgottenPasswordSecurityCodeDaoForgottenPasswordSecurityCodeDao.createCode(com.communote.server.model.user.User)public void evict(ForgottenPasswordSecurityCode entity)
evict in interface ForgottenPasswordSecurityCodeDaoentity - the entity to evictprotected abstract ForgottenPasswordSecurityCode handleCreateCode(User user)
createCode(com.communote.server.model.user.User)public Object load(int transform, Long id)
ForgottenPasswordSecurityCodeDao
Does the same thing as ForgottenPasswordSecurityCodeDao.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 ForgottenPasswordSecurityCodeDaoid - the identifier of the entity to load.ForgottenPasswordSecurityCodeDao.load(int,
Long)public ForgottenPasswordSecurityCode load(Long id)
ForgottenPasswordSecurityCodeDaoload in interface ForgottenPasswordSecurityCodeDaoForgottenPasswordSecurityCodeDao.load(Long)public Collection<ForgottenPasswordSecurityCode> loadAll()
ForgottenPasswordSecurityCodeDaoForgottenPasswordSecurityCode.loadAll in interface ForgottenPasswordSecurityCodeDaoForgottenPasswordSecurityCodeDao.loadAll()public Collection<?> loadAll(int transform)
ForgottenPasswordSecurityCodeDao
Does the same thing as ForgottenPasswordSecurityCodeDao.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 ForgottenPasswordSecurityCodeDaotransform - the flag indicating what transformation to use.ForgottenPasswordSecurityCodeDao.loadAll(int)public void remove(ForgottenPasswordSecurityCode forgottenPasswordSecurityCode)
ForgottenPasswordSecurityCodeDaoremove in interface ForgottenPasswordSecurityCodeDaoForgottenPasswordSecurityCodeDao.remove(com.communote.server.model.user.security.ForgottenPasswordSecurityCode)public void remove(Collection<ForgottenPasswordSecurityCode> entities)
ForgottenPasswordSecurityCodeDaoentities collection.remove in interface ForgottenPasswordSecurityCodeDaocom.communote.server.persistence.user.security.ForgottenPasswordSecurityCodeDao#remove(java
.util.Collection) public void remove(Long id)
ForgottenPasswordSecurityCodeDaoidentifier from the persistent store.remove in interface ForgottenPasswordSecurityCodeDaoForgottenPasswordSecurityCodeDao.remove(Long)protected void transformEntities(int transform,
Collection<?> entities)
transformEntity(int,com.communote.server.model.user.security.ForgottenPasswordSecurityCode)
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.user.security.ForgottenPasswordSecurityCodeDaoentities - the collection of entities to transformtransformEntity(int,com.communote.server.model.user.security.ForgottenPasswordSecurityCode)protected Object transformEntity(int transform, ForgottenPasswordSecurityCode entity)
transform flag is set to one of the constants defined in
com.communote.server.persistence.user.security.ForgottenPasswordSecurityCodeDao,
please note that the ForgottenPasswordSecurityCodeDao.TRANSFORM_NONE constant denotes no transformation, so the
entity itself will be returned.
If the integer argument value is unknown ForgottenPasswordSecurityCodeDao.TRANSFORM_NONE is assumed.transform - one of the constants declared in
ForgottenPasswordSecurityCodeDaoentity - an entity that was foundtransformEntities(int,java.util.Collection)public void update(ForgottenPasswordSecurityCode forgottenPasswordSecurityCode)
ForgottenPasswordSecurityCodeDaoforgottenPasswordSecurityCode instance in the persistent store.update in interface ForgottenPasswordSecurityCodeDaoForgottenPasswordSecurityCodeDao.update(com.communote.server.model.user.security.ForgottenPasswordSecurityCode)public void update(Collection<ForgottenPasswordSecurityCode> entities)
ForgottenPasswordSecurityCodeDaoentities collection in the persistent store.update in interface ForgottenPasswordSecurityCodeDaocom.communote.server.persistence.user.security.ForgottenPasswordSecurityCodeDao#update(java
.util.Collection) Copyright © 2019 Communote team. All rights reserved.