public interface ForgottenPasswordSecurityCodeDao
ForgottenPasswordSecurityCode
Modifier and Type | Field and Description |
---|---|
static int |
TRANSFORM_NONE
This constant is used as a transformation flag; entities can be converted automatically into
value objects or other types, different methods in a class implementing this interface
support this feature: look for an
int parameter called transform . |
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<?> |
create(int transform,
Collection<ForgottenPasswordSecurityCode> entities)
Does the same thing as
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
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
|
Object |
load(int transform,
Long id)
Does the same thing as
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
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. |
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. |
static final int TRANSFORM_NONE
int
parameter called transform
.
This specific flag denotes no transformation will occur.ForgottenPasswordSecurityCode create(ForgottenPasswordSecurityCode forgottenPasswordSecurityCode)
Object create(int transform, ForgottenPasswordSecurityCode forgottenPasswordSecurityCode)
Does the same thing as
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.
Collection<?> create(int transform, Collection<ForgottenPasswordSecurityCode> entities)
Does the same thing as
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.
Collection<ForgottenPasswordSecurityCode> create(Collection<ForgottenPasswordSecurityCode> entities)
entities
collectionentities
- the collection of
com.communote.server.persistence.user.security.ForgottenPasswordSecurityCode
instances to create.ForgottenPasswordSecurityCode createCode(User user)
void evict(ForgottenPasswordSecurityCode entity)
entity
- the entity to evictObject load(int transform, Long id)
Does the same thing as 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.
id
- the identifier of the entity to load.ForgottenPasswordSecurityCode load(Long id)
Collection<ForgottenPasswordSecurityCode> loadAll()
ForgottenPasswordSecurityCode
.Collection<?> loadAll(int transform)
Does the same thing as 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.
transform
- the flag indicating what transformation to use.void remove(ForgottenPasswordSecurityCode forgottenPasswordSecurityCode)
void remove(Collection<ForgottenPasswordSecurityCode> entities)
entities collection.
void remove(Long id)
identifier
from the persistent store.void update(ForgottenPasswordSecurityCode forgottenPasswordSecurityCode)
forgottenPasswordSecurityCode
instance in the persistent store.void update(Collection<ForgottenPasswordSecurityCode> entities)
entities
collection in the persistent store.Copyright © 2019 Communote team. All rights reserved.