fr.ifremer.allegro.administration.user
Class UserProfilDaoImpl

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.administration.user.UserProfilDaoBase
          extended by fr.ifremer.allegro.administration.user.UserProfilDaoImpl
All Implemented Interfaces:
UserProfilDao

public class UserProfilDaoImpl
extends UserProfilDaoBase

See Also:
UserProfil

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.administration.user.UserProfilDao
TRANSFORM_CLUSTERUSERPROFIL, TRANSFORM_NONE, TRANSFORM_REMOTEUSERPROFILFULLVO, TRANSFORM_REMOTEUSERPROFILNATURALID
 
Constructor Summary
UserProfilDaoImpl()
           
 
Method Summary
 UserProfil clusterUserProfilToEntity(ClusterUserProfil clusterUserProfil)
          Converts an instance of type ClusterUserProfil to this DAO's entity.
 void clusterUserProfilToEntity(ClusterUserProfil source, UserProfil target, boolean copyIfNull)
          Copies the fields of ClusterUserProfil to the specified entity.
protected  UserProfil handleCreateFromClusterUserProfil(ClusterUserProfil clusterUserProfil)
          Performs the core logic for UserProfilDaoBase.createFromClusterUserProfil(fr.ifremer.allegro.administration.user.generic.cluster.ClusterUserProfil)
protected  ClusterUserProfil[] handleGetAllClusterUserProfilSinceDateSynchro(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 UserProfilDaoBase.getAllClusterUserProfilSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 UserProfil remoteUserProfilFullVOToEntity(RemoteUserProfilFullVO remoteUserProfilFullVO)
          Converts an instance of type RemoteUserProfilFullVO to this DAO's entity.
 void remoteUserProfilFullVOToEntity(RemoteUserProfilFullVO source, UserProfil target, boolean copyIfNull)
          Copies the fields of RemoteUserProfilFullVO to the specified entity.
 UserProfil remoteUserProfilNaturalIdToEntity(RemoteUserProfilNaturalId remoteUserProfilNaturalId)
          Converts an instance of type RemoteUserProfilNaturalId to this DAO's entity.
 void remoteUserProfilNaturalIdToEntity(RemoteUserProfilNaturalId source, UserProfil target, boolean copyIfNull)
          Copies the fields of RemoteUserProfilNaturalId to the specified entity.
 ClusterUserProfil toClusterUserProfil(UserProfil entity)
          Converts this DAO's entity to an object of type ClusterUserProfil.
 void toClusterUserProfil(UserProfil source, ClusterUserProfil target)
          Copies the fields of the specified entity to the target value object.
 RemoteUserProfilFullVO toRemoteUserProfilFullVO(UserProfil entity)
          Converts this DAO's entity to an object of type RemoteUserProfilFullVO.
 void toRemoteUserProfilFullVO(UserProfil source, RemoteUserProfilFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteUserProfilNaturalId toRemoteUserProfilNaturalId(UserProfil entity)
          Converts this DAO's entity to an object of type RemoteUserProfilNaturalId.
 void toRemoteUserProfilNaturalId(UserProfil source, RemoteUserProfilNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.administration.user.UserProfilDaoBase
clusterUserProfilToEntityCollection, create, create, create, create, create, create, create, create, createFromClusterUserProfil, findUserProfilById, findUserProfilById, findUserProfilById, findUserProfilById, findUserProfilByNaturalId, findUserProfilByNaturalId, findUserProfilByNaturalId, findUserProfilByNaturalId, getAllClusterUserProfilSinceDateSynchro, getAllUserProfil, getAllUserProfil, getAllUserProfil, getAllUserProfil, getAllUserProfil, getAllUserProfil, getAllUserProfil, getAllUserProfil, getAllUserProfilSinceDateSynchro, getAllUserProfilSinceDateSynchro, getAllUserProfilSinceDateSynchro, getAllUserProfilSinceDateSynchro, getAllUserProfilSinceDateSynchro, getAllUserProfilSinceDateSynchro, getAllUserProfilSinceDateSynchro, getAllUserProfilSinceDateSynchro, getPrincipal, load, load, loadAll, loadAll, loadAll, loadAll, remoteUserProfilFullVOToEntityCollection, remoteUserProfilNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, toClusterUserProfil, toClusterUserProfilArray, toClusterUserProfilCollection, toEntity, toRemoteUserProfilFullVO, toRemoteUserProfilFullVOArray, toRemoteUserProfilFullVOCollection, toRemoteUserProfilNaturalId, toRemoteUserProfilNaturalIdArray, toRemoteUserProfilNaturalIdCollection, transformEntities, transformEntity, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserProfilDaoImpl

public UserProfilDaoImpl()
Method Detail

handleCreateFromClusterUserProfil

protected UserProfil handleCreateFromClusterUserProfil(ClusterUserProfil clusterUserProfil)
Description copied from class: UserProfilDaoBase
Performs the core logic for UserProfilDaoBase.createFromClusterUserProfil(fr.ifremer.allegro.administration.user.generic.cluster.ClusterUserProfil)

Specified by:
handleCreateFromClusterUserProfil in class UserProfilDaoBase
See Also:
UserProfilDao.createFromClusterUserProfil(fr.ifremer.allegro.administration.user.generic.cluster.ClusterUserProfil)

handleGetAllClusterUserProfilSinceDateSynchro

protected ClusterUserProfil[] handleGetAllClusterUserProfilSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
                                                                            java.lang.Integer userId,
                                                                            java.lang.Integer[] registrationLocationIds,
                                                                            java.lang.Integer pageNumber,
                                                                            java.lang.Integer pageSize)
Description copied from class: UserProfilDaoBase
Performs the core logic for UserProfilDaoBase.getAllClusterUserProfilSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Specified by:
handleGetAllClusterUserProfilSinceDateSynchro in class UserProfilDaoBase
See Also:
UserProfilDao.getAllClusterUserProfilSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

toRemoteUserProfilFullVO

public void toRemoteUserProfilFullVO(UserProfil source,
                                     RemoteUserProfilFullVO target)
Description copied from interface: UserProfilDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteUserProfilFullVO(), but it does not handle any attributes in the target value object that are "read-only" (as those do not have setter methods exposed).

Specified by:
toRemoteUserProfilFullVO in interface UserProfilDao
Overrides:
toRemoteUserProfilFullVO in class UserProfilDaoBase
See Also:
UserProfilDao.toRemoteUserProfilFullVO(fr.ifremer.allegro.administration.user.UserProfil, fr.ifremer.allegro.administration.user.generic.vo.RemoteUserProfilFullVO)

toRemoteUserProfilFullVO

public RemoteUserProfilFullVO toRemoteUserProfilFullVO(UserProfil entity)
Description copied from interface: UserProfilDao
Converts this DAO's entity to an object of type RemoteUserProfilFullVO.

Specified by:
toRemoteUserProfilFullVO in interface UserProfilDao
Overrides:
toRemoteUserProfilFullVO in class UserProfilDaoBase
See Also:
UserProfilDao.toRemoteUserProfilFullVO(fr.ifremer.allegro.administration.user.UserProfil)

remoteUserProfilFullVOToEntity

public UserProfil remoteUserProfilFullVOToEntity(RemoteUserProfilFullVO remoteUserProfilFullVO)
Description copied from interface: UserProfilDao
Converts an instance of type RemoteUserProfilFullVO to this DAO's entity.

See Also:
UserProfilDao.remoteUserProfilFullVOToEntity(fr.ifremer.allegro.administration.user.generic.vo.RemoteUserProfilFullVO)

remoteUserProfilFullVOToEntity

public void remoteUserProfilFullVOToEntity(RemoteUserProfilFullVO source,
                                           UserProfil target,
                                           boolean copyIfNull)
Description copied from interface: UserProfilDao
Copies the fields of RemoteUserProfilFullVO to the specified entity.

Specified by:
remoteUserProfilFullVOToEntity in interface UserProfilDao
Overrides:
remoteUserProfilFullVOToEntity in class UserProfilDaoBase
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.
See Also:
fr.ifremer.allegro.administration.user.UserProfilDao#remoteUserProfilFullVOToEntity(fr.ifremer.allegro.administration.user.generic.vo.RemoteUserProfilFullVO, fr.ifremer.allegro.administration.user.UserProfil)

toRemoteUserProfilNaturalId

public void toRemoteUserProfilNaturalId(UserProfil source,
                                        RemoteUserProfilNaturalId target)
Description copied from interface: UserProfilDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteUserProfilNaturalId(), but it does not handle any attributes in the target value object that are "read-only" (as those do not have setter methods exposed).

Specified by:
toRemoteUserProfilNaturalId in interface UserProfilDao
Overrides:
toRemoteUserProfilNaturalId in class UserProfilDaoBase
See Also:
UserProfilDao.toRemoteUserProfilNaturalId(fr.ifremer.allegro.administration.user.UserProfil, fr.ifremer.allegro.administration.user.generic.vo.RemoteUserProfilNaturalId)

toRemoteUserProfilNaturalId

public RemoteUserProfilNaturalId toRemoteUserProfilNaturalId(UserProfil entity)
Description copied from interface: UserProfilDao
Converts this DAO's entity to an object of type RemoteUserProfilNaturalId.

Specified by:
toRemoteUserProfilNaturalId in interface UserProfilDao
Overrides:
toRemoteUserProfilNaturalId in class UserProfilDaoBase
See Also:
UserProfilDao.toRemoteUserProfilNaturalId(fr.ifremer.allegro.administration.user.UserProfil)

remoteUserProfilNaturalIdToEntity

public UserProfil remoteUserProfilNaturalIdToEntity(RemoteUserProfilNaturalId remoteUserProfilNaturalId)
Description copied from interface: UserProfilDao
Converts an instance of type RemoteUserProfilNaturalId to this DAO's entity.

See Also:
UserProfilDao.remoteUserProfilNaturalIdToEntity(fr.ifremer.allegro.administration.user.generic.vo.RemoteUserProfilNaturalId)

remoteUserProfilNaturalIdToEntity

public void remoteUserProfilNaturalIdToEntity(RemoteUserProfilNaturalId source,
                                              UserProfil target,
                                              boolean copyIfNull)
Description copied from interface: UserProfilDao
Copies the fields of RemoteUserProfilNaturalId to the specified entity.

Specified by:
remoteUserProfilNaturalIdToEntity in interface UserProfilDao
Overrides:
remoteUserProfilNaturalIdToEntity in class UserProfilDaoBase
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.
See Also:
fr.ifremer.allegro.administration.user.UserProfilDao#remoteUserProfilNaturalIdToEntity(fr.ifremer.allegro.administration.user.generic.vo.RemoteUserProfilNaturalId, fr.ifremer.allegro.administration.user.UserProfil)

toClusterUserProfil

public void toClusterUserProfil(UserProfil source,
                                ClusterUserProfil target)
Description copied from interface: UserProfilDao
Copies the fields of the specified entity to the target value object. This method is similar to toClusterUserProfil(), but it does not handle any attributes in the target value object that are "read-only" (as those do not have setter methods exposed).

Specified by:
toClusterUserProfil in interface UserProfilDao
Overrides:
toClusterUserProfil in class UserProfilDaoBase
See Also:
UserProfilDao.toClusterUserProfil(fr.ifremer.allegro.administration.user.UserProfil, fr.ifremer.allegro.administration.user.generic.cluster.ClusterUserProfil)

toClusterUserProfil

public ClusterUserProfil toClusterUserProfil(UserProfil entity)
Description copied from interface: UserProfilDao
Converts this DAO's entity to an object of type ClusterUserProfil.

Specified by:
toClusterUserProfil in interface UserProfilDao
Overrides:
toClusterUserProfil in class UserProfilDaoBase
See Also:
UserProfilDao.toClusterUserProfil(fr.ifremer.allegro.administration.user.UserProfil)

clusterUserProfilToEntity

public UserProfil clusterUserProfilToEntity(ClusterUserProfil clusterUserProfil)
Description copied from interface: UserProfilDao
Converts an instance of type ClusterUserProfil to this DAO's entity.

See Also:
UserProfilDao.clusterUserProfilToEntity(fr.ifremer.allegro.administration.user.generic.cluster.ClusterUserProfil)

clusterUserProfilToEntity

public void clusterUserProfilToEntity(ClusterUserProfil source,
                                      UserProfil target,
                                      boolean copyIfNull)
Description copied from interface: UserProfilDao
Copies the fields of ClusterUserProfil to the specified entity.

Specified by:
clusterUserProfilToEntity in interface UserProfilDao
Overrides:
clusterUserProfilToEntity in class UserProfilDaoBase
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.
See Also:
fr.ifremer.allegro.administration.user.UserProfilDao#clusterUserProfilToEntity(fr.ifremer.allegro.administration.user.generic.cluster.ClusterUserProfil, fr.ifremer.allegro.administration.user.UserProfil)


Copyright © 2008-2010 IFREMER. All Rights Reserved.