|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.orm.hibernate3.support.HibernateDaoSupport
fr.ifremer.allegro.administration.user.PersonDaoBase
fr.ifremer.allegro.administration.user.PersonDaoImpl
fr.ifremer.allegro.administration.user.UserDaoBase
fr.ifremer.allegro.administration.user.UserDaoImpl
public class UserDaoImpl
User
Field Summary |
---|
Fields inherited from interface fr.ifremer.allegro.administration.user.UserDao |
---|
TRANSFORM_CLUSTERUSER, TRANSFORM_REMOTEUSERFULLVO, TRANSFORM_REMOTEUSERNATURALID |
Fields inherited from interface fr.ifremer.allegro.administration.user.PersonDao |
---|
TRANSFORM_CLUSTERPERSON, TRANSFORM_NONE, TRANSFORM_REMOTEPERSONFULLVO, TRANSFORM_REMOTEPERSONNATURALID |
Constructor Summary | |
---|---|
UserDaoImpl()
|
Method Summary | |
---|---|
User |
clusterUserToEntity(ClusterUser clusterUser)
Converts an instance of type ClusterUser to this DAO's entity. |
void |
clusterUserToEntity(ClusterUser source,
User target,
boolean copyIfNull)
Copies the fields of ClusterUser to the specified entity. |
protected User |
handleCreateFromClusterUser(ClusterUser clusterUser)
Performs the core logic for UserDaoBase.createFromClusterUser(fr.ifremer.allegro.administration.user.generic.cluster.ClusterUser) |
protected ClusterUser[] |
handleGetAllClusterUserSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize)
Performs the core logic for UserDaoBase.getAllClusterUserSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer) |
User |
remoteUserFullVOToEntity(RemoteUserFullVO remoteUserFullVO)
Converts an instance of type RemoteUserFullVO to this DAO's entity. |
void |
remoteUserFullVOToEntity(RemoteUserFullVO source,
User target,
boolean copyIfNull)
Copies the fields of RemoteUserFullVO to the specified entity. |
User |
remoteUserNaturalIdToEntity(RemoteUserNaturalId remoteUserNaturalId)
Converts an instance of type RemoteUserNaturalId to this DAO's entity. |
void |
remoteUserNaturalIdToEntity(RemoteUserNaturalId source,
User target,
boolean copyIfNull)
Copies the fields of RemoteUserNaturalId to the specified entity. |
ClusterUser |
toClusterUser(User entity)
Converts this DAO's entity to an object of type ClusterUser . |
void |
toClusterUser(User source,
ClusterUser target)
Copies the fields of the specified entity to the target value object. |
RemoteUserFullVO |
toRemoteUserFullVO(User entity)
Converts this DAO's entity to an object of type RemoteUserFullVO . |
void |
toRemoteUserFullVO(User source,
RemoteUserFullVO target)
Copies the fields of the specified entity to the target value object. |
RemoteUserNaturalId |
toRemoteUserNaturalId(User entity)
Converts this DAO's entity to an object of type RemoteUserNaturalId . |
void |
toRemoteUserNaturalId(User source,
RemoteUserNaturalId target)
Copies the fields of the specified entity to the target value object. |
Methods inherited from class fr.ifremer.allegro.administration.user.PersonDaoImpl |
---|
clusterPersonToEntity, clusterPersonToEntity, handleCreateFromClusterPerson, handleGetAllClusterPersonSinceDateSynchro, remotePersonFullVOToEntity, remotePersonFullVOToEntity, remotePersonNaturalIdToEntity, remotePersonNaturalIdToEntity, toClusterPerson, toClusterPerson, toRemotePersonFullVO, toRemotePersonFullVO, toRemotePersonNaturalId, toRemotePersonNaturalId |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UserDaoImpl()
Method Detail |
---|
protected User handleCreateFromClusterUser(ClusterUser clusterUser)
UserDaoBase
UserDaoBase.createFromClusterUser(fr.ifremer.allegro.administration.user.generic.cluster.ClusterUser)
handleCreateFromClusterUser
in class UserDaoBase
UserDao.createFromClusterUser(fr.ifremer.allegro.administration.user.generic.cluster.ClusterUser)
protected ClusterUser[] handleGetAllClusterUserSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
UserDaoBase
UserDaoBase.getAllClusterUserSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
handleGetAllClusterUserSinceDateSynchro
in class UserDaoBase
UserDao.getAllClusterUserSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
public void toRemoteUserFullVO(User source, RemoteUserFullVO target)
UserDao
toRemoteUserFullVO
in interface UserDao
toRemoteUserFullVO
in class UserDaoBase
UserDao.toRemoteUserFullVO(fr.ifremer.allegro.administration.user.User, fr.ifremer.allegro.administration.user.generic.vo.RemoteUserFullVO)
public RemoteUserFullVO toRemoteUserFullVO(User entity)
UserDao
RemoteUserFullVO
.
toRemoteUserFullVO
in interface UserDao
toRemoteUserFullVO
in class UserDaoBase
UserDao.toRemoteUserFullVO(fr.ifremer.allegro.administration.user.User)
public User remoteUserFullVOToEntity(RemoteUserFullVO remoteUserFullVO)
UserDao
RemoteUserFullVO
to this DAO's entity.
UserDao.remoteUserFullVOToEntity(fr.ifremer.allegro.administration.user.generic.vo.RemoteUserFullVO)
public void remoteUserFullVOToEntity(RemoteUserFullVO source, User target, boolean copyIfNull)
UserDao
RemoteUserFullVO
to the specified entity.
remoteUserFullVOToEntity
in interface UserDao
remoteUserFullVOToEntity
in class UserDaoBase
copyIfNull
- If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE,
it will be copied regardless of its value.fr.ifremer.allegro.administration.user.UserDao#remoteUserFullVOToEntity(fr.ifremer.allegro.administration.user.generic.vo.RemoteUserFullVO, fr.ifremer.allegro.administration.user.User)
public void toRemoteUserNaturalId(User source, RemoteUserNaturalId target)
UserDao
toRemoteUserNaturalId
in interface UserDao
toRemoteUserNaturalId
in class UserDaoBase
UserDao.toRemoteUserNaturalId(fr.ifremer.allegro.administration.user.User, fr.ifremer.allegro.administration.user.generic.vo.RemoteUserNaturalId)
public RemoteUserNaturalId toRemoteUserNaturalId(User entity)
UserDao
RemoteUserNaturalId
.
toRemoteUserNaturalId
in interface UserDao
toRemoteUserNaturalId
in class UserDaoBase
UserDao.toRemoteUserNaturalId(fr.ifremer.allegro.administration.user.User)
public User remoteUserNaturalIdToEntity(RemoteUserNaturalId remoteUserNaturalId)
UserDao
RemoteUserNaturalId
to this DAO's entity.
UserDao.remoteUserNaturalIdToEntity(fr.ifremer.allegro.administration.user.generic.vo.RemoteUserNaturalId)
public void remoteUserNaturalIdToEntity(RemoteUserNaturalId source, User target, boolean copyIfNull)
UserDao
RemoteUserNaturalId
to the specified entity.
remoteUserNaturalIdToEntity
in interface UserDao
remoteUserNaturalIdToEntity
in class UserDaoBase
copyIfNull
- If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE,
it will be copied regardless of its value.fr.ifremer.allegro.administration.user.UserDao#remoteUserNaturalIdToEntity(fr.ifremer.allegro.administration.user.generic.vo.RemoteUserNaturalId, fr.ifremer.allegro.administration.user.User)
public void toClusterUser(User source, ClusterUser target)
UserDao
toClusterUser
in interface UserDao
toClusterUser
in class UserDaoBase
UserDao.toClusterUser(fr.ifremer.allegro.administration.user.User, fr.ifremer.allegro.administration.user.generic.cluster.ClusterUser)
public ClusterUser toClusterUser(User entity)
UserDao
ClusterUser
.
toClusterUser
in interface UserDao
toClusterUser
in class UserDaoBase
UserDao.toClusterUser(fr.ifremer.allegro.administration.user.User)
public User clusterUserToEntity(ClusterUser clusterUser)
UserDao
ClusterUser
to this DAO's entity.
UserDao.clusterUserToEntity(fr.ifremer.allegro.administration.user.generic.cluster.ClusterUser)
public void clusterUserToEntity(ClusterUser source, User target, boolean copyIfNull)
UserDao
ClusterUser
to the specified entity.
clusterUserToEntity
in interface UserDao
clusterUserToEntity
in class UserDaoBase
copyIfNull
- If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE,
it will be copied regardless of its value.fr.ifremer.allegro.administration.user.UserDao#clusterUserToEntity(fr.ifremer.allegro.administration.user.generic.cluster.ClusterUser, fr.ifremer.allegro.administration.user.User)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |