public interface AuthenticationFailedStatusDao
AuthenticationFailedStatus
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 |
---|---|
AuthenticationFailedStatus |
create(AuthenticationFailedStatus authenticationFailedStatus)
Creates an instance of
com.communote.server.persistence.user.security.AuthenticationFailedStatus and adds it to the
persistent store.
|
Collection<AuthenticationFailedStatus> |
create(Collection<AuthenticationFailedStatus> entities)
Creates a new instance of
com.communote.server.persistence.user.security.AuthenticationFailedStatus and adds from the
passed in
entities collection |
Object |
create(int transform,
AuthenticationFailedStatus authenticationFailedStatus)
Does the same thing as
create(com.communote.server.model.user.security.AuthenticationFailedStatus) with an
additional flag called transform . |
Collection<?> |
create(int transform,
Collection<AuthenticationFailedStatus> entities)
Does the same thing as
create(com.communote.server.model.user.security.AuthenticationFailedStatus) with an
additional flag called transform . |
void |
evict(AuthenticationFailedStatus entity)
Evicts (removes) the entity from the hibernate cache
|
AuthenticationFailedStatus |
findByUserAndChannel(User user,
ChannelType channel) |
void |
incFailedAuthCount(long failedAuthStatusId)
increment failed authentication count
|
Object |
load(int transform,
Long id)
Does the same thing as
load(Long) with an additional flag called
transform . |
AuthenticationFailedStatus |
load(Long id)
Loads an instance of
com.communote.server.persistence.user.security.AuthenticationFailedStatus from the persistent
store.
|
Collection<AuthenticationFailedStatus> |
loadAll()
Loads all entities of type
AuthenticationFailedStatus . |
Collection<?> |
loadAll(int transform)
Does the same thing as
loadAll() with an additional flag called
transform . |
void |
remove(AuthenticationFailedStatus authenticationFailedStatus)
Removes the instance of
com.communote.server.persistence.user.security.AuthenticationFailedStatus from the persistent
store.
|
void |
remove(Collection<AuthenticationFailedStatus> entities)
Removes all entities in the given
entities |
void |
remove(Long id)
Removes the instance of
com.communote.server.persistence.user.security.AuthenticationFailedStatus having the given
identifier from the persistent store. |
void |
update(AuthenticationFailedStatus authenticationFailedStatus)
Updates the
authenticationFailedStatus instance in the persistent store. |
void |
update(Collection<AuthenticationFailedStatus> entities)
Updates all instances in the
entities collection in the persistent store. |
void |
updateLockedTimeout(long failedAuthStatusId,
Timestamp lockedTimeout)
update timeout
|
static final int TRANSFORM_NONE
int
parameter called transform
.
This specific flag denotes no transformation will occur.AuthenticationFailedStatus create(AuthenticationFailedStatus authenticationFailedStatus)
Object create(int transform, AuthenticationFailedStatus authenticationFailedStatus)
Does the same thing as
create(com.communote.server.model.user.security.AuthenticationFailedStatus)
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<AuthenticationFailedStatus> entities)
Does the same thing as
create(com.communote.server.model.user.security.AuthenticationFailedStatus)
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<AuthenticationFailedStatus> create(Collection<AuthenticationFailedStatus> entities)
entities
collectionentities
- the collection of
com.communote.server.persistence.user.security.AuthenticationFailedStatus
instances to create.void evict(AuthenticationFailedStatus entity)
entity
- the entity to evictAuthenticationFailedStatus findByUserAndChannel(User user, ChannelType channel)
void incFailedAuthCount(long failedAuthStatusId)
increment failed authentication count
Object 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.AuthenticationFailedStatus load(Long id)
Collection<AuthenticationFailedStatus> loadAll()
AuthenticationFailedStatus
.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(AuthenticationFailedStatus authenticationFailedStatus)
void remove(Collection<AuthenticationFailedStatus> entities)
entities collection.
void remove(Long id)
identifier
from the persistent store.void update(AuthenticationFailedStatus authenticationFailedStatus)
authenticationFailedStatus
instance in the persistent store.void update(Collection<AuthenticationFailedStatus> entities)
entities
collection in the persistent store.void updateLockedTimeout(long failedAuthStatusId, Timestamp lockedTimeout)
update timeout
Copyright © 2019 Communote team. All rights reserved.