public abstract class AuthenticationFailedStatusDaoBase extends org.springframework.orm.hibernate3.support.HibernateDaoSupport implements AuthenticationFailedStatusDao
Base Spring DAO Class: is able to create, update, remove, load, and find objects of type
com.communote.server.persistence.user.security.AuthenticationFailedStatus.
AuthenticationFailedStatusTRANSFORM_NONE| Constructor and Description |
|---|
AuthenticationFailedStatusDaoBase() |
| 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
AuthenticationFailedStatusDao.create(com.communote.server.model.user.security.AuthenticationFailedStatus) with an
additional flag called transform. |
Collection<AuthenticationFailedStatus> |
create(int transform,
Collection<AuthenticationFailedStatus> entities)
Does the same thing as
AuthenticationFailedStatusDao.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) |
protected abstract AuthenticationFailedStatus |
handleFindByUserAndChannel(User user,
ChannelType channel)
Performs the core logic for
findByUserAndChannel(com.communote.server.model.user.User, com.communote.server.model.security.ChannelType) |
protected abstract void |
handleIncFailedAuthCount(long failedAuthStatusId)
Performs the core logic for
incFailedAuthCount(long) |
protected abstract void |
handleUpdateLockedTimeout(long failedAuthStatusId,
Timestamp lockedTimeout)
Performs the core logic for
updateLockedTimeout(long, java.sql.Timestamp) |
void |
incFailedAuthCount(long failedAuthStatusId)
increment failed authentication count
|
Object |
load(int transform,
Long id)
Does the same thing as
AuthenticationFailedStatusDao.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
AuthenticationFailedStatusDao.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. |
protected void |
transformEntities(int transform,
Collection<?> entities)
Transforms a collection of entities using the
transformEntity(int,com.communote.server.model.user.security.AuthenticationFailedStatus)
method. |
protected Object |
transformEntity(int transform,
AuthenticationFailedStatus 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.AuthenticationFailedStatusDao,
please note that the AuthenticationFailedStatusDao.TRANSFORM_NONE constant denotes no transformation, so the
entity itself will be returned. |
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
|
public AuthenticationFailedStatus create(AuthenticationFailedStatus authenticationFailedStatus)
AuthenticationFailedStatusDaocreate in interface AuthenticationFailedStatusDaoAuthenticationFailedStatusDao.create(com.communote.server.model.user.security.AuthenticationFailedStatus)public Object create(int transform, AuthenticationFailedStatus authenticationFailedStatus)
AuthenticationFailedStatusDao
Does the same thing as
AuthenticationFailedStatusDao.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.
create in interface AuthenticationFailedStatusDaocom.communote.server.persistence.user.security.AuthenticationFailedStatusDao#create(int
transform, com.communote.server.persistence.user.security.AuthenticationFailedStatus)public Collection<AuthenticationFailedStatus> create(int transform, Collection<AuthenticationFailedStatus> entities)
AuthenticationFailedStatusDao
Does the same thing as
AuthenticationFailedStatusDao.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.
create in interface AuthenticationFailedStatusDaocom.communote.server.persistence.user.security.AuthenticationFailedStatusDao#create(int,
java.util.Collection) public Collection<AuthenticationFailedStatus> create(Collection<AuthenticationFailedStatus> entities)
AuthenticationFailedStatusDaoentities collectioncreate in interface AuthenticationFailedStatusDaoentities - the collection of
com.communote.server.persistence.user.security.AuthenticationFailedStatus
instances to create.com.communote.server.persistence.user.security.AuthenticationFailedStatusDao#create(java.
util
.Collection) public void evict(AuthenticationFailedStatus entity)
evict in interface AuthenticationFailedStatusDaoentity - the entity to evictpublic AuthenticationFailedStatus findByUserAndChannel(User user, ChannelType channel)
protected abstract AuthenticationFailedStatus handleFindByUserAndChannel(User user, ChannelType channel)
findByUserAndChannel(com.communote.server.model.user.User, com.communote.server.model.security.ChannelType)protected abstract void handleIncFailedAuthCount(long failedAuthStatusId)
incFailedAuthCount(long)protected abstract void handleUpdateLockedTimeout(long failedAuthStatusId,
Timestamp lockedTimeout)
updateLockedTimeout(long, java.sql.Timestamp)public void incFailedAuthCount(long failedAuthStatusId)
AuthenticationFailedStatusDaoincrement failed authentication count
incFailedAuthCount in interface AuthenticationFailedStatusDaoAuthenticationFailedStatusDao.incFailedAuthCount(long)public Object load(int transform, Long id)
AuthenticationFailedStatusDao
Does the same thing as AuthenticationFailedStatusDao.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 AuthenticationFailedStatusDaoid - the identifier of the entity to load.AuthenticationFailedStatusDao.load(int,
Long)public AuthenticationFailedStatus load(Long id)
AuthenticationFailedStatusDaoload in interface AuthenticationFailedStatusDaoAuthenticationFailedStatusDao.load(Long)public Collection<AuthenticationFailedStatus> loadAll()
AuthenticationFailedStatusDaoAuthenticationFailedStatus.loadAll in interface AuthenticationFailedStatusDaoAuthenticationFailedStatusDao.loadAll()public Collection<?> loadAll(int transform)
AuthenticationFailedStatusDao
Does the same thing as AuthenticationFailedStatusDao.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 AuthenticationFailedStatusDaotransform - the flag indicating what transformation to use.AuthenticationFailedStatusDao.loadAll(int)public void remove(AuthenticationFailedStatus authenticationFailedStatus)
AuthenticationFailedStatusDaoremove in interface AuthenticationFailedStatusDaoAuthenticationFailedStatusDao.remove(com.communote.server.model.user.security.AuthenticationFailedStatus)public void remove(Collection<AuthenticationFailedStatus> entities)
AuthenticationFailedStatusDaoentities collection.remove in interface AuthenticationFailedStatusDaocom.communote.server.persistence.user.security.AuthenticationFailedStatusDao#remove(java.
util
.Collection) public void remove(Long id)
AuthenticationFailedStatusDaoidentifier from the persistent store.remove in interface AuthenticationFailedStatusDaoAuthenticationFailedStatusDao.remove(Long)protected void transformEntities(int transform,
Collection<?> entities)
transformEntity(int,com.communote.server.model.user.security.AuthenticationFailedStatus)
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.AuthenticationFailedStatusDaoentities - the collection of entities to transformtransformEntity(int,com.communote.server.model.user.security.AuthenticationFailedStatus)protected Object transformEntity(int transform, AuthenticationFailedStatus entity)
transform flag is set to one of the constants defined in
com.communote.server.persistence.user.security.AuthenticationFailedStatusDao,
please note that the AuthenticationFailedStatusDao.TRANSFORM_NONE constant denotes no transformation, so the
entity itself will be returned.
If the integer argument value is unknown AuthenticationFailedStatusDao.TRANSFORM_NONE is assumed.transform - one of the constants declared in
AuthenticationFailedStatusDaoentity - an entity that was foundtransformEntities(int,java.util.Collection)public void update(AuthenticationFailedStatus authenticationFailedStatus)
AuthenticationFailedStatusDaoauthenticationFailedStatus instance in the persistent store.update in interface AuthenticationFailedStatusDaoAuthenticationFailedStatusDao.update(com.communote.server.model.user.security.AuthenticationFailedStatus)public void update(Collection<AuthenticationFailedStatus> entities)
AuthenticationFailedStatusDaoentities collection in the persistent store.update in interface AuthenticationFailedStatusDaocom.communote.server.persistence.user.security.AuthenticationFailedStatusDao#update(java.
util
.Collection) public void updateLockedTimeout(long failedAuthStatusId,
Timestamp lockedTimeout)
AuthenticationFailedStatusDaoupdate timeout
updateLockedTimeout in interface AuthenticationFailedStatusDaoAuthenticationFailedStatusDao.updateLockedTimeout(long,
java.sql.Timestamp)Copyright © 2019 Communote team. All rights reserved.