fr.ifremer.allegro.administration.user
Class UserDaoBase

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.administration.user.PersonDaoBase
          extended by fr.ifremer.allegro.administration.user.PersonDaoImpl
              extended by fr.ifremer.allegro.administration.user.UserDaoBase
All Implemented Interfaces:
PersonDao, UserDao
Direct Known Subclasses:
UserDaoImpl

public abstract class UserDaoBase
extends PersonDaoImpl
implements UserDao

Base Spring DAO Class: is able to create, update, remove, load, and find objects of type fr.ifremer.allegro.administration.user.User.

See Also:
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
UserDaoBase()
           
 
Method Summary
 void clusterUserToEntity(ClusterUser source, User target, boolean copyIfNull)
          Copies the fields of ClusterUser to the specified entity.
 void clusterUserToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type ClusterUser to this DAO's entity.
 java.util.Collection create(java.util.Collection entities)
          Creates a new instance of fr.ifremer.allegro.administration.user.Person and adds from the passed in entities collection
 User create(java.util.Date creationDate, Department department, java.lang.String firstname, java.lang.String lastname, Status status, java.lang.String username)
           Creates a new fr.ifremer.allegro.administration.user.User instance from only required properties (attributes and association ends) and adds it to the persistent store.
 java.util.Collection create(int transform, java.util.Collection entities)
           Does the same thing as PersonDao.create(fr.ifremer.allegro.administration.user.Person) with an additional flag called transform.
 java.lang.Object create(int transform, java.util.Date creationDate, Department department, java.lang.String firstname, java.lang.String lastname, Status status, java.lang.String username)
           Does the same thing as UserDao.create(java.util.Date,fr.ifremer.allegro.administration.user.Department,java.lang.String,java.lang.String,fr.ifremer.allegro.referential.Status,java.lang.String) with an additional flag called transform.
 java.lang.Object create(int transform, java.lang.String lastname, java.lang.String firstname, java.lang.String address, java.util.Date creationDate, java.sql.Timestamp updateDate, java.util.Collection program2Persons, Status status, Department department, java.util.Collection ageReaderQualifications, java.lang.String username, java.lang.String usernameExtranet, java.lang.String employeeNumber, java.lang.String email, java.util.Collection profils)
           Does the same thing as UserDao.create(java.lang.String,java.lang.String,java.lang.String,java.util.Date,java.sql.Timestamp,java.util.Collection,fr.ifremer.allegro.referential.Status,fr.ifremer.allegro.administration.user.Department,java.util.Collection,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.util.Collection) with an additional flag called transform.
 java.lang.Object create(int transform, User user)
           Does the same thing as UserDao.create(fr.ifremer.allegro.administration.user.User) with an additional flag called transform.
 User create(java.lang.String lastname, java.lang.String firstname, java.lang.String address, java.util.Date creationDate, java.sql.Timestamp updateDate, java.util.Collection program2Persons, Status status, Department department, java.util.Collection ageReaderQualifications, java.lang.String username, java.lang.String usernameExtranet, java.lang.String employeeNumber, java.lang.String email, java.util.Collection profils)
           Creates a new fr.ifremer.allegro.administration.user.User instance from all attributes and properties and adds it to the persistent store.
 User create(User user)
          Creates an instance of fr.ifremer.allegro.administration.user.User and adds it to the persistent store.
 User createFromClusterUser(ClusterUser clusterUser)
           
 java.util.Collection findPersonByDepartment(Department department)
           
 java.util.Collection findPersonByDepartment(int transform, Department department)
           Does the same thing as PersonDao.findPersonByDepartment(fr.ifremer.allegro.administration.user.Department) with an additional flag called transform.
 java.util.Collection findPersonByDepartment(int pageNumber, int pageSize, Department department)
           Does the same thing as PersonDao.findPersonByDepartment(fr.ifremer.allegro.administration.user.Department) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findPersonByDepartment(int transform, int pageNumber, int pageSize, Department department)
           Does the same thing as PersonDao.findPersonByDepartment(int, fr.ifremer.allegro.administration.user.Department) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findPersonByDepartment(int transform, java.lang.String queryString, Department department)
           Does the same thing as PersonDao.findPersonByDepartment(int, fr.ifremer.allegro.administration.user.Department) with an additional argument called queryString.
 java.util.Collection findPersonByDepartment(int transform, java.lang.String queryString, int pageNumber, int pageSize, Department department)
           Does the same thing as PersonDao.findPersonByDepartment(int, String, fr.ifremer.allegro.administration.user.Department) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findPersonByDepartment(java.lang.String queryString, Department department)
           Does the same thing as PersonDao.findPersonByDepartment(fr.ifremer.allegro.administration.user.Department) with an additional argument called queryString.
 java.util.Collection findPersonByDepartment(java.lang.String queryString, int pageNumber, int pageSize, Department department)
           Does the same thing as PersonDao.findPersonByDepartment(String, fr.ifremer.allegro.administration.user.Department) with an additional two arguments called pageNumber and pageSize.
 Person findPersonById(java.lang.Integer id)
           
 java.lang.Object findPersonById(int transform, java.lang.Integer id)
           Does the same thing as PersonDao.findPersonById(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findPersonById(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as PersonDao.findPersonById(int, java.lang.Integer) with an additional argument called queryString.
 Person findPersonById(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as PersonDao.findPersonById(java.lang.Integer) with an additional argument called queryString.
 Person findPersonByNaturalId(java.lang.Integer id)
           
 java.lang.Object findPersonByNaturalId(int transform, java.lang.Integer id)
           Does the same thing as PersonDao.findPersonByNaturalId(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findPersonByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as PersonDao.findPersonByNaturalId(int, java.lang.Integer) with an additional argument called queryString.
 Person findPersonByNaturalId(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as PersonDao.findPersonByNaturalId(java.lang.Integer) with an additional argument called queryString.
 java.util.Collection findPersonByStatus(int transform, int pageNumber, int pageSize, Status status)
           Does the same thing as PersonDao.findPersonByStatus(int, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findPersonByStatus(int pageNumber, int pageSize, Status status)
           Does the same thing as PersonDao.findPersonByStatus(fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findPersonByStatus(int transform, Status status)
           Does the same thing as PersonDao.findPersonByStatus(fr.ifremer.allegro.referential.Status) with an additional flag called transform.
 java.util.Collection findPersonByStatus(int transform, java.lang.String queryString, int pageNumber, int pageSize, Status status)
           Does the same thing as PersonDao.findPersonByStatus(int, String, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findPersonByStatus(int transform, java.lang.String queryString, Status status)
           Does the same thing as PersonDao.findPersonByStatus(int, fr.ifremer.allegro.referential.Status) with an additional argument called queryString.
 java.util.Collection findPersonByStatus(Status status)
           
 java.util.Collection findPersonByStatus(java.lang.String queryString, int pageNumber, int pageSize, Status status)
           Does the same thing as PersonDao.findPersonByStatus(String, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findPersonByStatus(java.lang.String queryString, Status status)
           Does the same thing as PersonDao.findPersonByStatus(fr.ifremer.allegro.referential.Status) with an additional argument called queryString.
 java.util.Collection findUserByDepartment(Department department)
           
 java.util.Collection findUserByDepartment(int transform, Department department)
           Does the same thing as UserDao.findUserByDepartment(fr.ifremer.allegro.administration.user.Department) with an additional flag called transform.
 java.util.Collection findUserByDepartment(int pageNumber, int pageSize, Department department)
           Does the same thing as UserDao.findUserByDepartment(fr.ifremer.allegro.administration.user.Department) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findUserByDepartment(int transform, int pageNumber, int pageSize, Department department)
           Does the same thing as UserDao.findUserByDepartment(int, fr.ifremer.allegro.administration.user.Department) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findUserByDepartment(int transform, java.lang.String queryString, Department department)
           Does the same thing as UserDao.findUserByDepartment(int, fr.ifremer.allegro.administration.user.Department) with an additional argument called queryString.
 java.util.Collection findUserByDepartment(int transform, java.lang.String queryString, int pageNumber, int pageSize, Department department)
           Does the same thing as UserDao.findUserByDepartment(int, String, fr.ifremer.allegro.administration.user.Department) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findUserByDepartment(java.lang.String queryString, Department department)
           Does the same thing as UserDao.findUserByDepartment(fr.ifremer.allegro.administration.user.Department) with an additional argument called queryString.
 java.util.Collection findUserByDepartment(java.lang.String queryString, int pageNumber, int pageSize, Department department)
           Does the same thing as UserDao.findUserByDepartment(String, fr.ifremer.allegro.administration.user.Department) with an additional two arguments called pageNumber and pageSize.
 User findUserById(java.lang.Integer id)
           
 java.lang.Object findUserById(int transform, java.lang.Integer id)
           Does the same thing as UserDao.findUserById(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findUserById(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as UserDao.findUserById(int, java.lang.Integer) with an additional argument called queryString.
 User findUserById(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as UserDao.findUserById(java.lang.Integer) with an additional argument called queryString.
 User findUserByNaturalId(java.lang.Integer id)
           
 java.lang.Object findUserByNaturalId(int transform, java.lang.Integer id)
           Does the same thing as UserDao.findUserByNaturalId(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findUserByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as UserDao.findUserByNaturalId(int, java.lang.Integer) with an additional argument called queryString.
 User findUserByNaturalId(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as UserDao.findUserByNaturalId(java.lang.Integer) with an additional argument called queryString.
 java.util.Collection findUserByStatus(int transform, int pageNumber, int pageSize, Status status)
           Does the same thing as UserDao.findUserByStatus(int, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findUserByStatus(int pageNumber, int pageSize, Status status)
           Does the same thing as UserDao.findUserByStatus(fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findUserByStatus(int transform, Status status)
           Does the same thing as UserDao.findUserByStatus(fr.ifremer.allegro.referential.Status) with an additional flag called transform.
 java.util.Collection findUserByStatus(int transform, java.lang.String queryString, int pageNumber, int pageSize, Status status)
           Does the same thing as UserDao.findUserByStatus(int, String, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findUserByStatus(int transform, java.lang.String queryString, Status status)
           Does the same thing as UserDao.findUserByStatus(int, fr.ifremer.allegro.referential.Status) with an additional argument called queryString.
 java.util.Collection findUserByStatus(Status status)
           
 java.util.Collection findUserByStatus(java.lang.String queryString, int pageNumber, int pageSize, Status status)
           Does the same thing as UserDao.findUserByStatus(String, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findUserByStatus(java.lang.String queryString, Status status)
           Does the same thing as UserDao.findUserByStatus(fr.ifremer.allegro.referential.Status) with an additional argument called queryString.
 ClusterUser[] getAllClusterUserSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
 java.util.Collection getAllPerson()
           
 java.util.Collection getAllPerson(int transform)
           Does the same thing as PersonDao.getAllPerson() with an additional flag called transform.
 java.util.Collection getAllPerson(int pageNumber, int pageSize)
           Does the same thing as PersonDao.getAllPerson() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllPerson(int transform, int pageNumber, int pageSize)
           Does the same thing as PersonDao.getAllPerson(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllPerson(int transform, java.lang.String queryString)
           Does the same thing as PersonDao.getAllPerson(int) with an additional argument called queryString.
 java.util.Collection getAllPerson(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as PersonDao.getAllPerson(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllPerson(java.lang.String queryString)
           Does the same thing as PersonDao.getAllPerson() with an additional argument called queryString.
 java.util.Collection getAllPerson(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as PersonDao.getAllPerson(String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllPersonSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as PersonDao.getAllPersonSinceDateSynchro(int, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllPersonSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as PersonDao.getAllPersonSinceDateSynchro(java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllPersonSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as PersonDao.getAllPersonSinceDateSynchro(int, String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllPersonSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as PersonDao.getAllPersonSinceDateSynchro(int, java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllPersonSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
           Does the same thing as PersonDao.getAllPersonSinceDateSynchro(java.sql.Timestamp) with an additional flag called transform.
 java.util.Collection getAllPersonSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as PersonDao.getAllPersonSinceDateSynchro(String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllPersonSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as PersonDao.getAllPersonSinceDateSynchro(java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllPersonSinceDateSynchro(java.sql.Timestamp updateDate)
           
 java.util.Collection getAllUser()
           
 java.util.Collection getAllUser(int transform)
           Does the same thing as UserDao.getAllUser() with an additional flag called transform.
 java.util.Collection getAllUser(int pageNumber, int pageSize)
           Does the same thing as UserDao.getAllUser() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllUser(int transform, int pageNumber, int pageSize)
           Does the same thing as UserDao.getAllUser(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllUser(int transform, java.lang.String queryString)
           Does the same thing as UserDao.getAllUser(int) with an additional argument called queryString.
 java.util.Collection getAllUser(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as UserDao.getAllUser(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllUser(java.lang.String queryString)
           Does the same thing as UserDao.getAllUser() with an additional argument called queryString.
 java.util.Collection getAllUser(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as UserDao.getAllUser(String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllUserSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as UserDao.getAllUserSinceDateSynchro(int, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllUserSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as UserDao.getAllUserSinceDateSynchro(java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllUserSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as UserDao.getAllUserSinceDateSynchro(int, String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllUserSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as UserDao.getAllUserSinceDateSynchro(int, java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllUserSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
           Does the same thing as UserDao.getAllUserSinceDateSynchro(java.sql.Timestamp) with an additional flag called transform.
 java.util.Collection getAllUserSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as UserDao.getAllUserSinceDateSynchro(String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllUserSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as UserDao.getAllUserSinceDateSynchro(java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllUserSinceDateSynchro(java.sql.Timestamp updateDate)
           
protected  java.security.Principal getPrincipal()
          Gets the current principal if one has been set, otherwise returns null.
protected  UserProfilDao getUserProfilDao()
          Gets the reference to userProfilDao.
protected abstract  User handleCreateFromClusterUser(ClusterUser clusterUser)
          Performs the core logic for createFromClusterUser(fr.ifremer.allegro.administration.user.generic.cluster.ClusterUser)
protected abstract  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 getAllClusterUserSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 User load(java.lang.Integer id)
          Loads an instance of fr.ifremer.allegro.administration.user.Person from the persistent store.
 java.lang.Object load(int transform, java.lang.Integer id)
           Does the same thing as PersonDao.load(java.lang.Integer) with an additional flag called transform.
 java.util.Collection loadAll()
          Loads all entities of type Person.
 java.util.Collection loadAll(int transform)
           Does the same thing as PersonDao.loadAll() with an additional flag called transform.
 java.util.Collection loadAll(int pageNumber, int pageSize)
           Does the same thing as PersonDao.loadAll() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection loadAll(int transform, int pageNumber, int pageSize)
           Does the same thing as PersonDao.loadAll(int) with an additional two arguments called pageNumber and pageSize.
 void remoteUserFullVOToEntity(RemoteUserFullVO source, User target, boolean copyIfNull)
          Copies the fields of RemoteUserFullVO to the specified entity.
 void remoteUserFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteUserFullVO to this DAO's entity.
 void remoteUserNaturalIdToEntity(RemoteUserNaturalId source, User target, boolean copyIfNull)
          Copies the fields of RemoteUserNaturalId to the specified entity.
 void remoteUserNaturalIdToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteUserNaturalId to this DAO's entity.
 void remove(java.util.Collection entities)
          Removes all entities in the given entities collection.
 void remove(java.lang.Integer id)
          Removes the instance of fr.ifremer.allegro.administration.user.Person having the given identifier from the persistent store.
 void remove(User user)
          Removes the instance of fr.ifremer.allegro.administration.user.User from the persistent store.
 PaginationResult search(int transform, int pageNumber, int pageSize, Search search)
          Does the same thing as {@link #search(int, fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize.
 PaginationResult search(int pageNumber, int pageSize, Search search)
          Does the same thing as {@link #search(fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize.
 java.util.Set search(int transform, Search search)
          Does the same thing as PersonDao.search(fr.ifremer.allegro.Search) but with an additional flag called transform.
 java.util.Set search(Search search)
          Performs a search using the parameters specified in the given search object.
 void setUserProfilDao(UserProfilDao userProfilDao)
          Sets the reference to userProfilDao.
protected  ClusterUser toClusterUser(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 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.
 ClusterUser[] toClusterUserArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type ClusterUser.
 void toClusterUserCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type ClusterUser.
protected  User toEntity(java.lang.Object[] row)
           
protected  RemoteUserFullVO toRemoteUserFullVO(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a 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.
 RemoteUserFullVO[] toRemoteUserFullVOArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteUserFullVO.
 void toRemoteUserFullVOCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteUserFullVO.
protected  RemoteUserNaturalId toRemoteUserNaturalId(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a 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.
 RemoteUserNaturalId[] toRemoteUserNaturalIdArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteUserNaturalId.
 void toRemoteUserNaturalIdCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteUserNaturalId.
protected  void transformEntities(int transform, java.util.Collection entities)
          Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.administration.user.User) method.
protected  java.lang.Object transformEntity(int transform, User 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 fr.ifremer.allegro.administration.user.UserDao, please note that the PersonDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself will be returned.
 void update(java.util.Collection entities)
          Updates all instances in the entities collection in the persistent store.
 void update(User user)
          Updates the user instance in the persistent store.
 
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 fr.ifremer.allegro.administration.user.PersonDaoBase
clusterPersonToEntityCollection, create, create, create, create, create, create, createFromClusterPerson, getAgeReaderQualificationDao, getAllClusterPersonSinceDateSynchro, getDepartmentDao, getProgram2PersonDao, getStatusDao, remotePersonFullVOToEntityCollection, remotePersonNaturalIdToEntityCollection, remove, setAgeReaderQualificationDao, setDepartmentDao, setProgram2PersonDao, setStatusDao, toClusterPerson, toClusterPersonArray, toClusterPersonCollection, toRemotePersonFullVO, toRemotePersonFullVOArray, toRemotePersonFullVOCollection, toRemotePersonNaturalId, toRemotePersonNaturalIdArray, toRemotePersonNaturalIdCollection, transformEntity, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface fr.ifremer.allegro.administration.user.UserDao
clusterUserToEntity, remoteUserFullVOToEntity, remoteUserNaturalIdToEntity
 
Methods inherited from interface fr.ifremer.allegro.administration.user.PersonDao
clusterPersonToEntity, clusterPersonToEntity, clusterPersonToEntityCollection, create, create, create, create, create, create, createFromClusterPerson, getAllClusterPersonSinceDateSynchro, remotePersonFullVOToEntity, remotePersonFullVOToEntity, remotePersonFullVOToEntityCollection, remotePersonNaturalIdToEntity, remotePersonNaturalIdToEntity, remotePersonNaturalIdToEntityCollection, remove, toClusterPerson, toClusterPerson, toClusterPersonArray, toClusterPersonCollection, toRemotePersonFullVO, toRemotePersonFullVO, toRemotePersonFullVOArray, toRemotePersonFullVOCollection, toRemotePersonNaturalId, toRemotePersonNaturalId, toRemotePersonNaturalIdArray, toRemotePersonNaturalIdCollection, update
 

Constructor Detail

UserDaoBase

public UserDaoBase()
Method Detail

setUserProfilDao

public void setUserProfilDao(UserProfilDao userProfilDao)
Sets the reference to userProfilDao.


getUserProfilDao

protected UserProfilDao getUserProfilDao()
Gets the reference to userProfilDao.


load

public java.lang.Object load(int transform,
                             java.lang.Integer id)
Description copied from interface: PersonDao

Does the same thing as PersonDao.load(java.lang.Integer) 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.

Specified by:
load in interface PersonDao
Specified by:
load in interface UserDao
Overrides:
load in class PersonDaoBase
id - identifier of the entity to load
Returns:
either the entity or the object transformed from the entity.
See Also:
UserDao.load(int, java.lang.Integer)

load

public User load(java.lang.Integer id)
Description copied from interface: PersonDao
Loads an instance of fr.ifremer.allegro.administration.user.Person from the persistent store.

Specified by:
load in interface PersonDao
Specified by:
load in interface UserDao
Overrides:
load in class PersonDaoBase
See Also:
UserDao.load(java.lang.Integer)

loadAll

public java.util.Collection loadAll()
Description copied from interface: PersonDao
Loads all entities of type Person.

Specified by:
loadAll in interface PersonDao
Specified by:
loadAll in interface UserDao
Overrides:
loadAll in class PersonDaoBase
Returns:
the loaded entities.
See Also:
UserDao.loadAll()

loadAll

public java.util.Collection loadAll(int transform)
Description copied from interface: PersonDao

Does the same thing as PersonDao.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.

Specified by:
loadAll in interface PersonDao
Specified by:
loadAll in interface UserDao
Overrides:
loadAll in class PersonDaoBase
Parameters:
transform - the flag indicating what transformation to use.
Returns:
the loaded entities.
See Also:
UserDao.loadAll(int)

loadAll

public java.util.Collection loadAll(int pageNumber,
                                    int pageSize)
Description copied from interface: PersonDao

Does the same thing as PersonDao.loadAll() with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
loadAll in interface PersonDao
Specified by:
loadAll in interface UserDao
Overrides:
loadAll in class PersonDaoBase
Parameters:
pageNumber - the page number to retrieve when paging results.
pageSize - the size of the page to retrieve when paging results.
Returns:
the loaded entities.
See Also:
UserDao.loadAll(int, int)

loadAll

public java.util.Collection loadAll(int transform,
                                    int pageNumber,
                                    int pageSize)
Description copied from interface: PersonDao

Does the same thing as PersonDao.loadAll(int) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
loadAll in interface PersonDao
Specified by:
loadAll in interface UserDao
Overrides:
loadAll in class PersonDaoBase
Parameters:
transform - the flag indicating what transformation to use.
pageNumber - the page number to retrieve when paging results.
pageSize - the size of the page to retrieve when paging results.
Returns:
the loaded entities.
See Also:
UserDao.loadAll(int, int, int)

create

public User create(User user)
Description copied from interface: UserDao
Creates an instance of fr.ifremer.allegro.administration.user.User and adds it to the persistent store.

Specified by:
create in interface UserDao
See Also:
UserDao.create(fr.ifremer.allegro.administration.user.User)

create

public java.lang.Object create(int transform,
                               User user)
Description copied from interface: UserDao

Does the same thing as UserDao.create(fr.ifremer.allegro.administration.user.User) 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.

Specified by:
create in interface UserDao
See Also:
UserDao.create(int transform, fr.ifremer.allegro.administration.user.User)

create

public java.util.Collection create(java.util.Collection entities)
Description copied from interface: PersonDao
Creates a new instance of fr.ifremer.allegro.administration.user.Person and adds from the passed in entities collection

Specified by:
create in interface PersonDao
Specified by:
create in interface UserDao
Overrides:
create in class PersonDaoBase
Parameters:
entities - the collection of fr.ifremer.allegro.administration.user.Person instances to create.
Returns:
the created instances.
See Also:
UserDao.create(java.util.Collection)

create

public java.util.Collection create(int transform,
                                   java.util.Collection entities)
Description copied from interface: PersonDao

Does the same thing as PersonDao.create(fr.ifremer.allegro.administration.user.Person) 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.

Specified by:
create in interface PersonDao
Specified by:
create in interface UserDao
Overrides:
create in class PersonDaoBase
See Also:
UserDao.create(int, java.util.Collection)

create

public User create(java.lang.String lastname,
                   java.lang.String firstname,
                   java.lang.String address,
                   java.util.Date creationDate,
                   java.sql.Timestamp updateDate,
                   java.util.Collection program2Persons,
                   Status status,
                   Department department,
                   java.util.Collection ageReaderQualifications,
                   java.lang.String username,
                   java.lang.String usernameExtranet,
                   java.lang.String employeeNumber,
                   java.lang.String email,
                   java.util.Collection profils)
Description copied from interface: UserDao

Creates a new fr.ifremer.allegro.administration.user.User instance from all attributes and properties and adds it to the persistent store.

Specified by:
create in interface UserDao
See Also:
fr.ifremer.allegro.administration.user.PersonDao#create(java.lang.String,java.lang.String,java.lang.String,java.util.Date,java.sql.Timestamp,java.util.Collection,fr.ifremer.allegro.referential.Status,fr.ifremer.allegro.administration.user.Department,java.util.Collection,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.util.Collection)

create

public java.lang.Object create(int transform,
                               java.lang.String lastname,
                               java.lang.String firstname,
                               java.lang.String address,
                               java.util.Date creationDate,
                               java.sql.Timestamp updateDate,
                               java.util.Collection program2Persons,
                               Status status,
                               Department department,
                               java.util.Collection ageReaderQualifications,
                               java.lang.String username,
                               java.lang.String usernameExtranet,
                               java.lang.String employeeNumber,
                               java.lang.String email,
                               java.util.Collection profils)
Description copied from interface: UserDao

Does the same thing as UserDao.create(java.lang.String,java.lang.String,java.lang.String,java.util.Date,java.sql.Timestamp,java.util.Collection,fr.ifremer.allegro.referential.Status,fr.ifremer.allegro.administration.user.Department,java.util.Collection,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.util.Collection) 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.

Specified by:
create in interface UserDao
See Also:
fr.ifremer.allegro.administration.user.PersonDao#create(int, java.lang.String,java.lang.String,java.lang.String,java.util.Date,java.sql.Timestamp,java.util.Collection,fr.ifremer.allegro.referential.Status,fr.ifremer.allegro.administration.user.Department,java.util.Collection,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.util.Collection)

create

public User create(java.util.Date creationDate,
                   Department department,
                   java.lang.String firstname,
                   java.lang.String lastname,
                   Status status,
                   java.lang.String username)
Description copied from interface: UserDao

Creates a new fr.ifremer.allegro.administration.user.User instance from only required properties (attributes and association ends) and adds it to the persistent store.

Specified by:
create in interface UserDao
See Also:
UserDao.create(java.util.Date,fr.ifremer.allegro.administration.user.Department,java.lang.String,java.lang.String,fr.ifremer.allegro.referential.Status,java.lang.String)

create

public java.lang.Object create(int transform,
                               java.util.Date creationDate,
                               Department department,
                               java.lang.String firstname,
                               java.lang.String lastname,
                               Status status,
                               java.lang.String username)
Description copied from interface: UserDao

Does the same thing as UserDao.create(java.util.Date,fr.ifremer.allegro.administration.user.Department,java.lang.String,java.lang.String,fr.ifremer.allegro.referential.Status,java.lang.String) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then the returned entity will NOTWILL BE passed through an operation which can optionally transform the entity (into a value object for example). By default, transformation does not occur.

Specified by:
create in interface UserDao
See Also:
UserDao.create(int, java.util.Date,fr.ifremer.allegro.administration.user.Department,java.lang.String,java.lang.String,fr.ifremer.allegro.referential.Status,java.lang.String)

update

public void update(User user)
Description copied from interface: UserDao
Updates the user instance in the persistent store.

Specified by:
update in interface UserDao
See Also:
UserDao.update(fr.ifremer.allegro.administration.user.User)

update

public void update(java.util.Collection entities)
Description copied from interface: PersonDao
Updates all instances in the entities collection in the persistent store.

Specified by:
update in interface PersonDao
Specified by:
update in interface UserDao
Overrides:
update in class PersonDaoBase
See Also:
PersonDao.update(java.util.Collection)

remove

public void remove(User user)
Description copied from interface: UserDao
Removes the instance of fr.ifremer.allegro.administration.user.User from the persistent store.

Specified by:
remove in interface UserDao
See Also:
UserDao.remove(fr.ifremer.allegro.administration.user.User)

remove

public void remove(java.lang.Integer id)
Description copied from interface: PersonDao
Removes the instance of fr.ifremer.allegro.administration.user.Person having the given identifier from the persistent store.

Specified by:
remove in interface PersonDao
Specified by:
remove in interface UserDao
Overrides:
remove in class PersonDaoBase
See Also:
UserDao.remove(java.lang.Integer)

remove

public void remove(java.util.Collection entities)
Description copied from interface: PersonDao
Removes all entities in the given entities collection.

Specified by:
remove in interface PersonDao
Specified by:
remove in interface UserDao
Overrides:
remove in class PersonDaoBase
See Also:
PersonDao.remove(java.util.Collection)

getAllUser

public java.util.Collection getAllUser()
Specified by:
getAllUser in interface UserDao
See Also:
UserDao.getAllUser()

getAllUser

public java.util.Collection getAllUser(int transform)
Description copied from interface: UserDao

Does the same thing as UserDao.getAllUser() with an additional flag called transform. If this flag is set to TRANSFORM_NONE then finder results will NOT be transformed during retrieval. If this flag is any of the other constants defined here then finder results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.

Specified by:
getAllUser in interface UserDao
See Also:
UserDao.getAllUser(int)

getAllUser

public java.util.Collection getAllUser(java.lang.String queryString)
Description copied from interface: UserDao

Does the same thing as UserDao.getAllUser() with an additional argument called queryString. This queryString argument allows you to override the query string defined in UserDao.getAllUser().

Specified by:
getAllUser in interface UserDao
See Also:
UserDao.getAllUser(java.lang.String)

getAllUser

public java.util.Collection getAllUser(int pageNumber,
                                       int pageSize)
Description copied from interface: UserDao

Does the same thing as UserDao.getAllUser() with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
getAllUser in interface UserDao
See Also:
UserDao.getAllUser(int, int)

getAllUser

public java.util.Collection getAllUser(java.lang.String queryString,
                                       int pageNumber,
                                       int pageSize)
Description copied from interface: UserDao

Does the same thing as UserDao.getAllUser(String) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
getAllUser in interface UserDao
See Also:
UserDao.getAllUser(String, int, int)

getAllUser

public java.util.Collection getAllUser(int transform,
                                       java.lang.String queryString)
Description copied from interface: UserDao

Does the same thing as UserDao.getAllUser(int) with an additional argument called queryString. This queryString argument allows you to override the query string defined in UserDao.getAllUser(int).

Specified by:
getAllUser in interface UserDao
See Also:
UserDao.getAllUser(int, String)

getAllUser

public java.util.Collection getAllUser(int transform,
                                       int pageNumber,
                                       int pageSize)
Description copied from interface: UserDao

Does the same thing as UserDao.getAllUser(int) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
getAllUser in interface UserDao
See Also:
UserDao.getAllUser(int, int, int)

getAllUser

public java.util.Collection getAllUser(int transform,
                                       java.lang.String queryString,
                                       int pageNumber,
                                       int pageSize)
Description copied from interface: UserDao

Does the same thing as UserDao.getAllUser(int, String) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
getAllUser in interface UserDao
See Also:
UserDao.getAllUser(int, java.lang.String, int, int)

findUserById

public User findUserById(java.lang.Integer id)
Specified by:
findUserById in interface UserDao
See Also:
UserDao.findUserById(java.lang.Integer)

findUserById

public java.lang.Object findUserById(int transform,
                                     java.lang.Integer id)
Description copied from interface: UserDao

Does the same thing as UserDao.findUserById(java.lang.Integer) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then finder results will NOT be transformed during retrieval. If this flag is any of the other constants defined here then finder results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.

Specified by:
findUserById in interface UserDao
See Also:
UserDao.findUserById(int, java.lang.Integer)

findUserById

public User findUserById(java.lang.String queryString,
                         java.lang.Integer id)
Description copied from interface: UserDao

Does the same thing as UserDao.findUserById(java.lang.Integer) with an additional argument called queryString. This queryString argument allows you to override the query string defined in UserDao.findUserById(java.lang.Integer).

Specified by:
findUserById in interface UserDao
See Also:
UserDao.findUserById(java.lang.String, java.lang.Integer)

findUserById

public java.lang.Object findUserById(int transform,
                                     java.lang.String queryString,
                                     java.lang.Integer id)
Description copied from interface: UserDao

Does the same thing as UserDao.findUserById(int, java.lang.Integer) with an additional argument called queryString. This queryString argument allows you to override the query string defined in UserDao.findUserById(int, java.lang.Integer id).

Specified by:
findUserById in interface UserDao
See Also:
UserDao.findUserById(int, java.lang.String, java.lang.Integer)

findUserByStatus

public java.util.Collection findUserByStatus(Status status)
Specified by:
findUserByStatus in interface UserDao
See Also:
UserDao.findUserByStatus(fr.ifremer.allegro.referential.Status)

findUserByStatus

public java.util.Collection findUserByStatus(int transform,
                                             Status status)
Description copied from interface: UserDao

Does the same thing as UserDao.findUserByStatus(fr.ifremer.allegro.referential.Status) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then finder results will NOT be transformed during retrieval. If this flag is any of the other constants defined here then finder results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.

Specified by:
findUserByStatus in interface UserDao
See Also:
UserDao.findUserByStatus(int, fr.ifremer.allegro.referential.Status)

findUserByStatus

public java.util.Collection findUserByStatus(java.lang.String queryString,
                                             Status status)
Description copied from interface: UserDao

Does the same thing as UserDao.findUserByStatus(fr.ifremer.allegro.referential.Status) with an additional argument called queryString. This queryString argument allows you to override the query string defined in UserDao.findUserByStatus(fr.ifremer.allegro.referential.Status).

Specified by:
findUserByStatus in interface UserDao
See Also:
UserDao.findUserByStatus(java.lang.String, fr.ifremer.allegro.referential.Status)

findUserByStatus

public java.util.Collection findUserByStatus(int pageNumber,
                                             int pageSize,
                                             Status status)
Description copied from interface: UserDao

Does the same thing as UserDao.findUserByStatus(fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findUserByStatus in interface UserDao
See Also:
UserDao.findUserByStatus(int, int, fr.ifremer.allegro.referential.Status)

findUserByStatus

public java.util.Collection findUserByStatus(java.lang.String queryString,
                                             int pageNumber,
                                             int pageSize,
                                             Status status)
Description copied from interface: UserDao

Does the same thing as UserDao.findUserByStatus(String, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findUserByStatus in interface UserDao
See Also:
UserDao.findUserByStatus(String, int, int, fr.ifremer.allegro.referential.Status)

findUserByStatus

public java.util.Collection findUserByStatus(int transform,
                                             java.lang.String queryString,
                                             Status status)
Description copied from interface: UserDao

Does the same thing as UserDao.findUserByStatus(int, fr.ifremer.allegro.referential.Status) with an additional argument called queryString. This queryString argument allows you to override the query string defined in UserDao.findUserByStatus(int, fr.ifremer.allegro.referential.Status status).

Specified by:
findUserByStatus in interface UserDao
See Also:
UserDao.findUserByStatus(int, String, fr.ifremer.allegro.referential.Status)

findUserByStatus

public java.util.Collection findUserByStatus(int transform,
                                             int pageNumber,
                                             int pageSize,
                                             Status status)
Description copied from interface: UserDao

Does the same thing as UserDao.findUserByStatus(int, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findUserByStatus in interface UserDao
See Also:
UserDao.findUserByStatus(int, int, int, fr.ifremer.allegro.referential.Status)

findUserByStatus

public java.util.Collection findUserByStatus(int transform,
                                             java.lang.String queryString,
                                             int pageNumber,
                                             int pageSize,
                                             Status status)
Description copied from interface: UserDao

Does the same thing as UserDao.findUserByStatus(int, String, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findUserByStatus in interface UserDao
See Also:
UserDao.findUserByStatus(int, java.lang.String, int, int, fr.ifremer.allegro.referential.Status)

findUserByDepartment

public java.util.Collection findUserByDepartment(Department department)
Specified by:
findUserByDepartment in interface UserDao
See Also:
UserDao.findUserByDepartment(fr.ifremer.allegro.administration.user.Department)

findUserByDepartment

public java.util.Collection findUserByDepartment(int transform,
                                                 Department department)
Description copied from interface: UserDao

Does the same thing as UserDao.findUserByDepartment(fr.ifremer.allegro.administration.user.Department) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then finder results will NOT be transformed during retrieval. If this flag is any of the other constants defined here then finder results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.

Specified by:
findUserByDepartment in interface UserDao
See Also:
UserDao.findUserByDepartment(int, fr.ifremer.allegro.administration.user.Department)

findUserByDepartment

public java.util.Collection findUserByDepartment(java.lang.String queryString,
                                                 Department department)
Description copied from interface: UserDao

Does the same thing as UserDao.findUserByDepartment(fr.ifremer.allegro.administration.user.Department) with an additional argument called queryString. This queryString argument allows you to override the query string defined in UserDao.findUserByDepartment(fr.ifremer.allegro.administration.user.Department).

Specified by:
findUserByDepartment in interface UserDao
See Also:
UserDao.findUserByDepartment(java.lang.String, fr.ifremer.allegro.administration.user.Department)

findUserByDepartment

public java.util.Collection findUserByDepartment(int pageNumber,
                                                 int pageSize,
                                                 Department department)
Description copied from interface: UserDao

Does the same thing as UserDao.findUserByDepartment(fr.ifremer.allegro.administration.user.Department) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findUserByDepartment in interface UserDao
See Also:
UserDao.findUserByDepartment(int, int, fr.ifremer.allegro.administration.user.Department)

findUserByDepartment

public java.util.Collection findUserByDepartment(java.lang.String queryString,
                                                 int pageNumber,
                                                 int pageSize,
                                                 Department department)
Description copied from interface: UserDao

Does the same thing as UserDao.findUserByDepartment(String, fr.ifremer.allegro.administration.user.Department) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findUserByDepartment in interface UserDao
See Also:
UserDao.findUserByDepartment(String, int, int, fr.ifremer.allegro.administration.user.Department)

findUserByDepartment

public java.util.Collection findUserByDepartment(int transform,
                                                 java.lang.String queryString,
                                                 Department department)
Description copied from interface: UserDao

Does the same thing as UserDao.findUserByDepartment(int, fr.ifremer.allegro.administration.user.Department) with an additional argument called queryString. This queryString argument allows you to override the query string defined in UserDao.findUserByDepartment(int, fr.ifremer.allegro.administration.user.Department department).

Specified by:
findUserByDepartment in interface UserDao
See Also:
UserDao.findUserByDepartment(int, String, fr.ifremer.allegro.administration.user.Department)

findUserByDepartment

public java.util.Collection findUserByDepartment(int transform,
                                                 int pageNumber,
                                                 int pageSize,
                                                 Department department)
Description copied from interface: UserDao

Does the same thing as UserDao.findUserByDepartment(int, fr.ifremer.allegro.administration.user.Department) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findUserByDepartment in interface UserDao
See Also:
UserDao.findUserByDepartment(int, int, int, fr.ifremer.allegro.administration.user.Department)

findUserByDepartment

public java.util.Collection findUserByDepartment(int transform,
                                                 java.lang.String queryString,
                                                 int pageNumber,
                                                 int pageSize,
                                                 Department department)
Description copied from interface: UserDao

Does the same thing as UserDao.findUserByDepartment(int, String, fr.ifremer.allegro.administration.user.Department) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findUserByDepartment in interface UserDao
See Also:
UserDao.findUserByDepartment(int, java.lang.String, int, int, fr.ifremer.allegro.administration.user.Department)

findUserByNaturalId

public User findUserByNaturalId(java.lang.Integer id)
Specified by:
findUserByNaturalId in interface UserDao
See Also:
UserDao.findUserByNaturalId(java.lang.Integer)

findUserByNaturalId

public java.lang.Object findUserByNaturalId(int transform,
                                            java.lang.Integer id)
Description copied from interface: UserDao

Does the same thing as UserDao.findUserByNaturalId(java.lang.Integer) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then finder results will NOT be transformed during retrieval. If this flag is any of the other constants defined here then finder results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.

Specified by:
findUserByNaturalId in interface UserDao
See Also:
UserDao.findUserByNaturalId(int, java.lang.Integer)

findUserByNaturalId

public User findUserByNaturalId(java.lang.String queryString,
                                java.lang.Integer id)
Description copied from interface: UserDao

Does the same thing as UserDao.findUserByNaturalId(java.lang.Integer) with an additional argument called queryString. This queryString argument allows you to override the query string defined in UserDao.findUserByNaturalId(java.lang.Integer).

Specified by:
findUserByNaturalId in interface UserDao
See Also:
UserDao.findUserByNaturalId(java.lang.String, java.lang.Integer)

findUserByNaturalId

public java.lang.Object findUserByNaturalId(int transform,
                                            java.lang.String queryString,
                                            java.lang.Integer id)
Description copied from interface: UserDao

Does the same thing as UserDao.findUserByNaturalId(int, java.lang.Integer) with an additional argument called queryString. This queryString argument allows you to override the query string defined in UserDao.findUserByNaturalId(int, java.lang.Integer id).

Specified by:
findUserByNaturalId in interface UserDao
See Also:
UserDao.findUserByNaturalId(int, java.lang.String, java.lang.Integer)

getAllUserSinceDateSynchro

public java.util.Collection getAllUserSinceDateSynchro(java.sql.Timestamp updateDate)
Specified by:
getAllUserSinceDateSynchro in interface UserDao
See Also:
UserDao.getAllUserSinceDateSynchro(java.sql.Timestamp)

getAllUserSinceDateSynchro

public java.util.Collection getAllUserSinceDateSynchro(int transform,
                                                       java.sql.Timestamp updateDate)
Description copied from interface: UserDao

Does the same thing as UserDao.getAllUserSinceDateSynchro(java.sql.Timestamp) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then finder results will NOT be transformed during retrieval. If this flag is any of the other constants defined here then finder results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.

Specified by:
getAllUserSinceDateSynchro in interface UserDao
See Also:
UserDao.getAllUserSinceDateSynchro(int, java.sql.Timestamp)

getAllUserSinceDateSynchro

public java.util.Collection getAllUserSinceDateSynchro(java.lang.String queryString,
                                                       java.sql.Timestamp updateDate)
Description copied from interface: UserDao

Does the same thing as UserDao.getAllUserSinceDateSynchro(java.sql.Timestamp) with an additional argument called queryString. This queryString argument allows you to override the query string defined in UserDao.getAllUserSinceDateSynchro(java.sql.Timestamp).

Specified by:
getAllUserSinceDateSynchro in interface UserDao
See Also:
UserDao.getAllUserSinceDateSynchro(java.lang.String, java.sql.Timestamp)

getAllUserSinceDateSynchro

public java.util.Collection getAllUserSinceDateSynchro(int pageNumber,
                                                       int pageSize,
                                                       java.sql.Timestamp updateDate)
Description copied from interface: UserDao

Does the same thing as UserDao.getAllUserSinceDateSynchro(java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
getAllUserSinceDateSynchro in interface UserDao
See Also:
UserDao.getAllUserSinceDateSynchro(int, int, java.sql.Timestamp)

getAllUserSinceDateSynchro

public java.util.Collection getAllUserSinceDateSynchro(java.lang.String queryString,
                                                       int pageNumber,
                                                       int pageSize,
                                                       java.sql.Timestamp updateDate)
Description copied from interface: UserDao

Does the same thing as UserDao.getAllUserSinceDateSynchro(String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
getAllUserSinceDateSynchro in interface UserDao
See Also:
UserDao.getAllUserSinceDateSynchro(String, int, int, java.sql.Timestamp)

getAllUserSinceDateSynchro

public java.util.Collection getAllUserSinceDateSynchro(int transform,
                                                       java.lang.String queryString,
                                                       java.sql.Timestamp updateDate)
Description copied from interface: UserDao

Does the same thing as UserDao.getAllUserSinceDateSynchro(int, java.sql.Timestamp) with an additional argument called queryString. This queryString argument allows you to override the query string defined in UserDao.getAllUserSinceDateSynchro(int, java.sql.Timestamp updateDate).

Specified by:
getAllUserSinceDateSynchro in interface UserDao
See Also:
UserDao.getAllUserSinceDateSynchro(int, String, java.sql.Timestamp)

getAllUserSinceDateSynchro

public java.util.Collection getAllUserSinceDateSynchro(int transform,
                                                       int pageNumber,
                                                       int pageSize,
                                                       java.sql.Timestamp updateDate)
Description copied from interface: UserDao

Does the same thing as UserDao.getAllUserSinceDateSynchro(int, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
getAllUserSinceDateSynchro in interface UserDao
See Also:
UserDao.getAllUserSinceDateSynchro(int, int, int, java.sql.Timestamp)

getAllUserSinceDateSynchro

public java.util.Collection getAllUserSinceDateSynchro(int transform,
                                                       java.lang.String queryString,
                                                       int pageNumber,
                                                       int pageSize,
                                                       java.sql.Timestamp updateDate)
Description copied from interface: UserDao

Does the same thing as UserDao.getAllUserSinceDateSynchro(int, String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
getAllUserSinceDateSynchro in interface UserDao
See Also:
UserDao.getAllUserSinceDateSynchro(int, java.lang.String, int, int, java.sql.Timestamp)

getAllPerson

public java.util.Collection getAllPerson()
Specified by:
getAllPerson in interface PersonDao
Overrides:
getAllPerson in class PersonDaoBase
See Also:
PersonDao.getAllPerson()

getAllPerson

public java.util.Collection getAllPerson(int transform)
Description copied from interface: PersonDao

Does the same thing as PersonDao.getAllPerson() with an additional flag called transform. If this flag is set to TRANSFORM_NONE then finder results will NOT be transformed during retrieval. If this flag is any of the other constants defined here then finder results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.

Specified by:
getAllPerson in interface PersonDao
Overrides:
getAllPerson in class PersonDaoBase
See Also:
PersonDao.getAllPerson(int)

getAllPerson

public java.util.Collection getAllPerson(java.lang.String queryString)
Description copied from interface: PersonDao

Does the same thing as PersonDao.getAllPerson() with an additional argument called queryString. This queryString argument allows you to override the query string defined in PersonDao.getAllPerson().

Specified by:
getAllPerson in interface PersonDao
Overrides:
getAllPerson in class PersonDaoBase
See Also:
PersonDao.getAllPerson(java.lang.String)

getAllPerson

public java.util.Collection getAllPerson(int pageNumber,
                                         int pageSize)
Description copied from interface: PersonDao

Does the same thing as PersonDao.getAllPerson() with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
getAllPerson in interface PersonDao
Overrides:
getAllPerson in class PersonDaoBase
See Also:
PersonDao.getAllPerson(int, int)

getAllPerson

public java.util.Collection getAllPerson(java.lang.String queryString,
                                         int pageNumber,
                                         int pageSize)
Description copied from interface: PersonDao

Does the same thing as PersonDao.getAllPerson(String) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
getAllPerson in interface PersonDao
Overrides:
getAllPerson in class PersonDaoBase
See Also:
PersonDao.getAllPerson(String, int, int)

getAllPerson

public java.util.Collection getAllPerson(int transform,
                                         java.lang.String queryString)
Description copied from interface: PersonDao

Does the same thing as PersonDao.getAllPerson(int) with an additional argument called queryString. This queryString argument allows you to override the query string defined in PersonDao.getAllPerson(int).

Specified by:
getAllPerson in interface PersonDao
Overrides:
getAllPerson in class PersonDaoBase
See Also:
PersonDao.getAllPerson(int, String)

getAllPerson

public java.util.Collection getAllPerson(int transform,
                                         int pageNumber,
                                         int pageSize)
Description copied from interface: PersonDao

Does the same thing as PersonDao.getAllPerson(int) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
getAllPerson in interface PersonDao
Overrides:
getAllPerson in class PersonDaoBase
See Also:
PersonDao.getAllPerson(int, int, int)

getAllPerson

public java.util.Collection getAllPerson(int transform,
                                         java.lang.String queryString,
                                         int pageNumber,
                                         int pageSize)
Description copied from interface: PersonDao

Does the same thing as PersonDao.getAllPerson(int, String) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
getAllPerson in interface PersonDao
Overrides:
getAllPerson in class PersonDaoBase
See Also:
PersonDao.getAllPerson(int, java.lang.String, int, int)

findPersonById

public Person findPersonById(java.lang.Integer id)
Specified by:
findPersonById in interface PersonDao
Overrides:
findPersonById in class PersonDaoBase
See Also:
PersonDao.findPersonById(java.lang.Integer)

findPersonById

public java.lang.Object findPersonById(int transform,
                                       java.lang.Integer id)
Description copied from interface: PersonDao

Does the same thing as PersonDao.findPersonById(java.lang.Integer) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then finder results will NOT be transformed during retrieval. If this flag is any of the other constants defined here then finder results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.

Specified by:
findPersonById in interface PersonDao
Overrides:
findPersonById in class PersonDaoBase
See Also:
PersonDao.findPersonById(int, java.lang.Integer)

findPersonById

public Person findPersonById(java.lang.String queryString,
                             java.lang.Integer id)
Description copied from interface: PersonDao

Does the same thing as PersonDao.findPersonById(java.lang.Integer) with an additional argument called queryString. This queryString argument allows you to override the query string defined in PersonDao.findPersonById(java.lang.Integer).

Specified by:
findPersonById in interface PersonDao
Overrides:
findPersonById in class PersonDaoBase
See Also:
PersonDao.findPersonById(java.lang.String, java.lang.Integer)

findPersonById

public java.lang.Object findPersonById(int transform,
                                       java.lang.String queryString,
                                       java.lang.Integer id)
Description copied from interface: PersonDao

Does the same thing as PersonDao.findPersonById(int, java.lang.Integer) with an additional argument called queryString. This queryString argument allows you to override the query string defined in PersonDao.findPersonById(int, java.lang.Integer id).

Specified by:
findPersonById in interface PersonDao
Overrides:
findPersonById in class PersonDaoBase
See Also:
PersonDao.findPersonById(int, java.lang.String, java.lang.Integer)

findPersonByStatus

public java.util.Collection findPersonByStatus(Status status)
Specified by:
findPersonByStatus in interface PersonDao
Overrides:
findPersonByStatus in class PersonDaoBase
See Also:
PersonDao.findPersonByStatus(fr.ifremer.allegro.referential.Status)

findPersonByStatus

public java.util.Collection findPersonByStatus(int transform,
                                               Status status)
Description copied from interface: PersonDao

Does the same thing as PersonDao.findPersonByStatus(fr.ifremer.allegro.referential.Status) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then finder results will NOT be transformed during retrieval. If this flag is any of the other constants defined here then finder results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.

Specified by:
findPersonByStatus in interface PersonDao
Overrides:
findPersonByStatus in class PersonDaoBase
See Also:
PersonDao.findPersonByStatus(int, fr.ifremer.allegro.referential.Status)

findPersonByStatus

public java.util.Collection findPersonByStatus(java.lang.String queryString,
                                               Status status)
Description copied from interface: PersonDao

Does the same thing as PersonDao.findPersonByStatus(fr.ifremer.allegro.referential.Status) with an additional argument called queryString. This queryString argument allows you to override the query string defined in PersonDao.findPersonByStatus(fr.ifremer.allegro.referential.Status).

Specified by:
findPersonByStatus in interface PersonDao
Overrides:
findPersonByStatus in class PersonDaoBase
See Also:
PersonDao.findPersonByStatus(java.lang.String, fr.ifremer.allegro.referential.Status)

findPersonByStatus

public java.util.Collection findPersonByStatus(int pageNumber,
                                               int pageSize,
                                               Status status)
Description copied from interface: PersonDao

Does the same thing as PersonDao.findPersonByStatus(fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findPersonByStatus in interface PersonDao
Overrides:
findPersonByStatus in class PersonDaoBase
See Also:
PersonDao.findPersonByStatus(int, int, fr.ifremer.allegro.referential.Status)

findPersonByStatus

public java.util.Collection findPersonByStatus(java.lang.String queryString,
                                               int pageNumber,
                                               int pageSize,
                                               Status status)
Description copied from interface: PersonDao

Does the same thing as PersonDao.findPersonByStatus(String, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findPersonByStatus in interface PersonDao
Overrides:
findPersonByStatus in class PersonDaoBase
See Also:
PersonDao.findPersonByStatus(String, int, int, fr.ifremer.allegro.referential.Status)

findPersonByStatus

public java.util.Collection findPersonByStatus(int transform,
                                               java.lang.String queryString,
                                               Status status)
Description copied from interface: PersonDao

Does the same thing as PersonDao.findPersonByStatus(int, fr.ifremer.allegro.referential.Status) with an additional argument called queryString. This queryString argument allows you to override the query string defined in PersonDao.findPersonByStatus(int, fr.ifremer.allegro.referential.Status status).

Specified by:
findPersonByStatus in interface PersonDao
Overrides:
findPersonByStatus in class PersonDaoBase
See Also:
PersonDao.findPersonByStatus(int, String, fr.ifremer.allegro.referential.Status)

findPersonByStatus

public java.util.Collection findPersonByStatus(int transform,
                                               int pageNumber,
                                               int pageSize,
                                               Status status)
Description copied from interface: PersonDao

Does the same thing as PersonDao.findPersonByStatus(int, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findPersonByStatus in interface PersonDao
Overrides:
findPersonByStatus in class PersonDaoBase
See Also:
PersonDao.findPersonByStatus(int, int, int, fr.ifremer.allegro.referential.Status)

findPersonByStatus

public java.util.Collection findPersonByStatus(int transform,
                                               java.lang.String queryString,
                                               int pageNumber,
                                               int pageSize,
                                               Status status)
Description copied from interface: PersonDao

Does the same thing as PersonDao.findPersonByStatus(int, String, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findPersonByStatus in interface PersonDao
Overrides:
findPersonByStatus in class PersonDaoBase
See Also:
PersonDao.findPersonByStatus(int, java.lang.String, int, int, fr.ifremer.allegro.referential.Status)

findPersonByDepartment

public java.util.Collection findPersonByDepartment(Department department)
Specified by:
findPersonByDepartment in interface PersonDao
Overrides:
findPersonByDepartment in class PersonDaoBase
See Also:
PersonDao.findPersonByDepartment(fr.ifremer.allegro.administration.user.Department)

findPersonByDepartment

public java.util.Collection findPersonByDepartment(int transform,
                                                   Department department)
Description copied from interface: PersonDao

Does the same thing as PersonDao.findPersonByDepartment(fr.ifremer.allegro.administration.user.Department) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then finder results will NOT be transformed during retrieval. If this flag is any of the other constants defined here then finder results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.

Specified by:
findPersonByDepartment in interface PersonDao
Overrides:
findPersonByDepartment in class PersonDaoBase
See Also:
PersonDao.findPersonByDepartment(int, fr.ifremer.allegro.administration.user.Department)

findPersonByDepartment

public java.util.Collection findPersonByDepartment(java.lang.String queryString,
                                                   Department department)
Description copied from interface: PersonDao

Does the same thing as PersonDao.findPersonByDepartment(fr.ifremer.allegro.administration.user.Department) with an additional argument called queryString. This queryString argument allows you to override the query string defined in PersonDao.findPersonByDepartment(fr.ifremer.allegro.administration.user.Department).

Specified by:
findPersonByDepartment in interface PersonDao
Overrides:
findPersonByDepartment in class PersonDaoBase
See Also:
PersonDao.findPersonByDepartment(java.lang.String, fr.ifremer.allegro.administration.user.Department)

findPersonByDepartment

public java.util.Collection findPersonByDepartment(int pageNumber,
                                                   int pageSize,
                                                   Department department)
Description copied from interface: PersonDao

Does the same thing as PersonDao.findPersonByDepartment(fr.ifremer.allegro.administration.user.Department) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findPersonByDepartment in interface PersonDao
Overrides:
findPersonByDepartment in class PersonDaoBase
See Also:
PersonDao.findPersonByDepartment(int, int, fr.ifremer.allegro.administration.user.Department)

findPersonByDepartment

public java.util.Collection findPersonByDepartment(java.lang.String queryString,
                                                   int pageNumber,
                                                   int pageSize,
                                                   Department department)
Description copied from interface: PersonDao

Does the same thing as PersonDao.findPersonByDepartment(String, fr.ifremer.allegro.administration.user.Department) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findPersonByDepartment in interface PersonDao
Overrides:
findPersonByDepartment in class PersonDaoBase
See Also:
PersonDao.findPersonByDepartment(String, int, int, fr.ifremer.allegro.administration.user.Department)

findPersonByDepartment

public java.util.Collection findPersonByDepartment(int transform,
                                                   java.lang.String queryString,
                                                   Department department)
Description copied from interface: PersonDao

Does the same thing as PersonDao.findPersonByDepartment(int, fr.ifremer.allegro.administration.user.Department) with an additional argument called queryString. This queryString argument allows you to override the query string defined in PersonDao.findPersonByDepartment(int, fr.ifremer.allegro.administration.user.Department department).

Specified by:
findPersonByDepartment in interface PersonDao
Overrides:
findPersonByDepartment in class PersonDaoBase
See Also:
PersonDao.findPersonByDepartment(int, String, fr.ifremer.allegro.administration.user.Department)

findPersonByDepartment

public java.util.Collection findPersonByDepartment(int transform,
                                                   int pageNumber,
                                                   int pageSize,
                                                   Department department)
Description copied from interface: PersonDao

Does the same thing as PersonDao.findPersonByDepartment(int, fr.ifremer.allegro.administration.user.Department) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findPersonByDepartment in interface PersonDao
Overrides:
findPersonByDepartment in class PersonDaoBase
See Also:
PersonDao.findPersonByDepartment(int, int, int, fr.ifremer.allegro.administration.user.Department)

findPersonByDepartment

public java.util.Collection findPersonByDepartment(int transform,
                                                   java.lang.String queryString,
                                                   int pageNumber,
                                                   int pageSize,
                                                   Department department)
Description copied from interface: PersonDao

Does the same thing as PersonDao.findPersonByDepartment(int, String, fr.ifremer.allegro.administration.user.Department) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findPersonByDepartment in interface PersonDao
Overrides:
findPersonByDepartment in class PersonDaoBase
See Also:
PersonDao.findPersonByDepartment(int, java.lang.String, int, int, fr.ifremer.allegro.administration.user.Department)

findPersonByNaturalId

public Person findPersonByNaturalId(java.lang.Integer id)
Specified by:
findPersonByNaturalId in interface PersonDao
Overrides:
findPersonByNaturalId in class PersonDaoBase
See Also:
PersonDao.findPersonByNaturalId(java.lang.Integer)

findPersonByNaturalId

public java.lang.Object findPersonByNaturalId(int transform,
                                              java.lang.Integer id)
Description copied from interface: PersonDao

Does the same thing as PersonDao.findPersonByNaturalId(java.lang.Integer) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then finder results will NOT be transformed during retrieval. If this flag is any of the other constants defined here then finder results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.

Specified by:
findPersonByNaturalId in interface PersonDao
Overrides:
findPersonByNaturalId in class PersonDaoBase
See Also:
PersonDao.findPersonByNaturalId(int, java.lang.Integer)

findPersonByNaturalId

public Person findPersonByNaturalId(java.lang.String queryString,
                                    java.lang.Integer id)
Description copied from interface: PersonDao

Does the same thing as PersonDao.findPersonByNaturalId(java.lang.Integer) with an additional argument called queryString. This queryString argument allows you to override the query string defined in PersonDao.findPersonByNaturalId(java.lang.Integer).

Specified by:
findPersonByNaturalId in interface PersonDao
Overrides:
findPersonByNaturalId in class PersonDaoBase
See Also:
PersonDao.findPersonByNaturalId(java.lang.String, java.lang.Integer)

findPersonByNaturalId

public java.lang.Object findPersonByNaturalId(int transform,
                                              java.lang.String queryString,
                                              java.lang.Integer id)
Description copied from interface: PersonDao

Does the same thing as PersonDao.findPersonByNaturalId(int, java.lang.Integer) with an additional argument called queryString. This queryString argument allows you to override the query string defined in PersonDao.findPersonByNaturalId(int, java.lang.Integer id).

Specified by:
findPersonByNaturalId in interface PersonDao
Overrides:
findPersonByNaturalId in class PersonDaoBase
See Also:
PersonDao.findPersonByNaturalId(int, java.lang.String, java.lang.Integer)

getAllPersonSinceDateSynchro

public java.util.Collection getAllPersonSinceDateSynchro(java.sql.Timestamp updateDate)
Specified by:
getAllPersonSinceDateSynchro in interface PersonDao
Overrides:
getAllPersonSinceDateSynchro in class PersonDaoBase
See Also:
PersonDao.getAllPersonSinceDateSynchro(java.sql.Timestamp)

getAllPersonSinceDateSynchro

public java.util.Collection getAllPersonSinceDateSynchro(int transform,
                                                         java.sql.Timestamp updateDate)
Description copied from interface: PersonDao

Does the same thing as PersonDao.getAllPersonSinceDateSynchro(java.sql.Timestamp) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then finder results will NOT be transformed during retrieval. If this flag is any of the other constants defined here then finder results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.

Specified by:
getAllPersonSinceDateSynchro in interface PersonDao
Overrides:
getAllPersonSinceDateSynchro in class PersonDaoBase
See Also:
PersonDao.getAllPersonSinceDateSynchro(int, java.sql.Timestamp)

getAllPersonSinceDateSynchro

public java.util.Collection getAllPersonSinceDateSynchro(java.lang.String queryString,
                                                         java.sql.Timestamp updateDate)
Description copied from interface: PersonDao

Does the same thing as PersonDao.getAllPersonSinceDateSynchro(java.sql.Timestamp) with an additional argument called queryString. This queryString argument allows you to override the query string defined in PersonDao.getAllPersonSinceDateSynchro(java.sql.Timestamp).

Specified by:
getAllPersonSinceDateSynchro in interface PersonDao
Overrides:
getAllPersonSinceDateSynchro in class PersonDaoBase
See Also:
PersonDao.getAllPersonSinceDateSynchro(java.lang.String, java.sql.Timestamp)

getAllPersonSinceDateSynchro

public java.util.Collection getAllPersonSinceDateSynchro(int pageNumber,
                                                         int pageSize,
                                                         java.sql.Timestamp updateDate)
Description copied from interface: PersonDao

Does the same thing as PersonDao.getAllPersonSinceDateSynchro(java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
getAllPersonSinceDateSynchro in interface PersonDao
Overrides:
getAllPersonSinceDateSynchro in class PersonDaoBase
See Also:
PersonDao.getAllPersonSinceDateSynchro(int, int, java.sql.Timestamp)

getAllPersonSinceDateSynchro

public java.util.Collection getAllPersonSinceDateSynchro(java.lang.String queryString,
                                                         int pageNumber,
                                                         int pageSize,
                                                         java.sql.Timestamp updateDate)
Description copied from interface: PersonDao

Does the same thing as PersonDao.getAllPersonSinceDateSynchro(String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
getAllPersonSinceDateSynchro in interface PersonDao
Overrides:
getAllPersonSinceDateSynchro in class PersonDaoBase
See Also:
PersonDao.getAllPersonSinceDateSynchro(String, int, int, java.sql.Timestamp)

getAllPersonSinceDateSynchro

public java.util.Collection getAllPersonSinceDateSynchro(int transform,
                                                         java.lang.String queryString,
                                                         java.sql.Timestamp updateDate)
Description copied from interface: PersonDao

Does the same thing as PersonDao.getAllPersonSinceDateSynchro(int, java.sql.Timestamp) with an additional argument called queryString. This queryString argument allows you to override the query string defined in PersonDao.getAllPersonSinceDateSynchro(int, java.sql.Timestamp updateDate).

Specified by:
getAllPersonSinceDateSynchro in interface PersonDao
Overrides:
getAllPersonSinceDateSynchro in class PersonDaoBase
See Also:
PersonDao.getAllPersonSinceDateSynchro(int, String, java.sql.Timestamp)

getAllPersonSinceDateSynchro

public java.util.Collection getAllPersonSinceDateSynchro(int transform,
                                                         int pageNumber,
                                                         int pageSize,
                                                         java.sql.Timestamp updateDate)
Description copied from interface: PersonDao

Does the same thing as PersonDao.getAllPersonSinceDateSynchro(int, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
getAllPersonSinceDateSynchro in interface PersonDao
Overrides:
getAllPersonSinceDateSynchro in class PersonDaoBase
See Also:
PersonDao.getAllPersonSinceDateSynchro(int, int, int, java.sql.Timestamp)

getAllPersonSinceDateSynchro

public java.util.Collection getAllPersonSinceDateSynchro(int transform,
                                                         java.lang.String queryString,
                                                         int pageNumber,
                                                         int pageSize,
                                                         java.sql.Timestamp updateDate)
Description copied from interface: PersonDao

Does the same thing as PersonDao.getAllPersonSinceDateSynchro(int, String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
getAllPersonSinceDateSynchro in interface PersonDao
Overrides:
getAllPersonSinceDateSynchro in class PersonDaoBase
See Also:
PersonDao.getAllPersonSinceDateSynchro(int, java.lang.String, int, int, java.sql.Timestamp)

createFromClusterUser

public User createFromClusterUser(ClusterUser clusterUser)
Specified by:
createFromClusterUser in interface UserDao
See Also:
UserDao.createFromClusterUser(fr.ifremer.allegro.administration.user.generic.cluster.ClusterUser)

handleCreateFromClusterUser

protected abstract User handleCreateFromClusterUser(ClusterUser clusterUser)
                                             throws java.lang.Exception
Performs the core logic for createFromClusterUser(fr.ifremer.allegro.administration.user.generic.cluster.ClusterUser)

Throws:
java.lang.Exception

getAllClusterUserSinceDateSynchro

public ClusterUser[] getAllClusterUserSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
                                                       java.lang.Integer userId,
                                                       java.lang.Integer[] registrationLocationIds,
                                                       java.lang.Integer pageNumber,
                                                       java.lang.Integer pageSize)
Specified by:
getAllClusterUserSinceDateSynchro in interface UserDao
See Also:
UserDao.getAllClusterUserSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

handleGetAllClusterUserSinceDateSynchro

protected abstract ClusterUser[] handleGetAllClusterUserSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
                                                                         java.lang.Integer userId,
                                                                         java.lang.Integer[] registrationLocationIds,
                                                                         java.lang.Integer pageNumber,
                                                                         java.lang.Integer pageSize)
                                                                  throws java.lang.Exception
Performs the core logic for getAllClusterUserSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Throws:
java.lang.Exception

transformEntity

protected java.lang.Object transformEntity(int transform,
                                           User 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 fr.ifremer.allegro.administration.user.UserDao, please note that the PersonDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself will be returned.

This method will return instances of these types:

If the integer argument value is unknown PersonDao.TRANSFORM_NONE is assumed.

Parameters:
transform - one of the constants declared in UserDao
entity - an entity that was found
Returns:
the transformed entity (i.e. new value object, etc)
See Also:
transformEntities(int,java.util.Collection)

transformEntities

protected void transformEntities(int transform,
                                 java.util.Collection entities)
Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.administration.user.User) method. This method does not instantiate a new collection.

This method is to be used internally only.

Overrides:
transformEntities in class PersonDaoBase
Parameters:
transform - one of the constants declared in fr.ifremer.allegro.administration.user.UserDao
entities - the collection of entities to transform
See Also:
transformEntity(int,fr.ifremer.allegro.administration.user.User)

toEntity

protected User toEntity(java.lang.Object[] row)
Overrides:
toEntity in class PersonDaoBase

toRemoteUserFullVOCollection

public final void toRemoteUserFullVOCollection(java.util.Collection entities)
Description copied from interface: UserDao
Converts this DAO's entity to a Collection of instances of type RemoteUserFullVO.

Specified by:
toRemoteUserFullVOCollection in interface UserDao
See Also:
UserDao.toRemoteUserFullVOCollection(java.util.Collection)

toRemoteUserFullVOArray

public final RemoteUserFullVO[] toRemoteUserFullVOArray(java.util.Collection entities)
Description copied from interface: UserDao
Converts this DAO's entity to an array of instances of type RemoteUserFullVO.

Specified by:
toRemoteUserFullVOArray in interface UserDao
See Also:
UserDao.toRemoteUserFullVOArray(java.util.Collection)

toRemoteUserFullVO

protected RemoteUserFullVO toRemoteUserFullVO(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. This implementation exists for convenience reasons only. It needs only be overridden in the UserDaoImpl class if you intend to use reporting queries.

See Also:
UserDao.toRemoteUserFullVO(fr.ifremer.allegro.administration.user.User)

remoteUserFullVOToEntityCollection

public final void remoteUserFullVOToEntityCollection(java.util.Collection instances)
Description copied from interface: UserDao
Converts a Collection of instances of type RemoteUserFullVO to this DAO's entity.

Specified by:
remoteUserFullVOToEntityCollection in interface UserDao
See Also:
UserDao.remoteUserFullVOToEntityCollection(java.util.Collection)

toRemoteUserFullVO

public void toRemoteUserFullVO(User source,
                               RemoteUserFullVO target)
Description copied from interface: UserDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteUserFullVO(), 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:
toRemoteUserFullVO in interface UserDao
See Also:
UserDao.toRemoteUserFullVO(fr.ifremer.allegro.administration.user.User, fr.ifremer.allegro.administration.user.generic.vo.RemoteUserFullVO)

toRemoteUserFullVO

public RemoteUserFullVO toRemoteUserFullVO(User entity)
Description copied from interface: UserDao
Converts this DAO's entity to an object of type RemoteUserFullVO.

Specified by:
toRemoteUserFullVO in interface UserDao
See Also:
UserDao.toRemoteUserFullVO(fr.ifremer.allegro.administration.user.User)

remoteUserFullVOToEntity

public void remoteUserFullVOToEntity(RemoteUserFullVO source,
                                     User target,
                                     boolean copyIfNull)
Description copied from interface: UserDao
Copies the fields of RemoteUserFullVO to the specified entity.

Specified by:
remoteUserFullVOToEntity in interface UserDao
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.UserDao#remoteUserFullVOToEntity(fr.ifremer.allegro.administration.user.generic.vo.RemoteUserFullVO, fr.ifremer.allegro.administration.user.User)

toRemoteUserNaturalIdCollection

public final void toRemoteUserNaturalIdCollection(java.util.Collection entities)
Description copied from interface: UserDao
Converts this DAO's entity to a Collection of instances of type RemoteUserNaturalId.

Specified by:
toRemoteUserNaturalIdCollection in interface UserDao
See Also:
UserDao.toRemoteUserNaturalIdCollection(java.util.Collection)

toRemoteUserNaturalIdArray

public final RemoteUserNaturalId[] toRemoteUserNaturalIdArray(java.util.Collection entities)
Description copied from interface: UserDao
Converts this DAO's entity to an array of instances of type RemoteUserNaturalId.

Specified by:
toRemoteUserNaturalIdArray in interface UserDao
See Also:
UserDao.toRemoteUserNaturalIdArray(java.util.Collection)

toRemoteUserNaturalId

protected RemoteUserNaturalId toRemoteUserNaturalId(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. This implementation exists for convenience reasons only. It needs only be overridden in the UserDaoImpl class if you intend to use reporting queries.

See Also:
UserDao.toRemoteUserNaturalId(fr.ifremer.allegro.administration.user.User)

remoteUserNaturalIdToEntityCollection

public final void remoteUserNaturalIdToEntityCollection(java.util.Collection instances)
Description copied from interface: UserDao
Converts a Collection of instances of type RemoteUserNaturalId to this DAO's entity.

Specified by:
remoteUserNaturalIdToEntityCollection in interface UserDao
See Also:
UserDao.remoteUserNaturalIdToEntityCollection(java.util.Collection)

toRemoteUserNaturalId

public void toRemoteUserNaturalId(User source,
                                  RemoteUserNaturalId target)
Description copied from interface: UserDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteUserNaturalId(), 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:
toRemoteUserNaturalId in interface UserDao
See Also:
UserDao.toRemoteUserNaturalId(fr.ifremer.allegro.administration.user.User, fr.ifremer.allegro.administration.user.generic.vo.RemoteUserNaturalId)

toRemoteUserNaturalId

public RemoteUserNaturalId toRemoteUserNaturalId(User entity)
Description copied from interface: UserDao
Converts this DAO's entity to an object of type RemoteUserNaturalId.

Specified by:
toRemoteUserNaturalId in interface UserDao
See Also:
UserDao.toRemoteUserNaturalId(fr.ifremer.allegro.administration.user.User)

remoteUserNaturalIdToEntity

public void remoteUserNaturalIdToEntity(RemoteUserNaturalId source,
                                        User target,
                                        boolean copyIfNull)
Description copied from interface: UserDao
Copies the fields of RemoteUserNaturalId to the specified entity.

Specified by:
remoteUserNaturalIdToEntity in interface UserDao
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.UserDao#remoteUserNaturalIdToEntity(fr.ifremer.allegro.administration.user.generic.vo.RemoteUserNaturalId, fr.ifremer.allegro.administration.user.User)

toClusterUserCollection

public final void toClusterUserCollection(java.util.Collection entities)
Description copied from interface: UserDao
Converts this DAO's entity to a Collection of instances of type ClusterUser.

Specified by:
toClusterUserCollection in interface UserDao
See Also:
UserDao.toClusterUserCollection(java.util.Collection)

toClusterUserArray

public final ClusterUser[] toClusterUserArray(java.util.Collection entities)
Description copied from interface: UserDao
Converts this DAO's entity to an array of instances of type ClusterUser.

Specified by:
toClusterUserArray in interface UserDao
See Also:
UserDao.toClusterUserArray(java.util.Collection)

toClusterUser

protected ClusterUser toClusterUser(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. This implementation exists for convenience reasons only. It needs only be overridden in the UserDaoImpl class if you intend to use reporting queries.

See Also:
UserDao.toClusterUser(fr.ifremer.allegro.administration.user.User)

clusterUserToEntityCollection

public final void clusterUserToEntityCollection(java.util.Collection instances)
Description copied from interface: UserDao
Converts a Collection of instances of type ClusterUser to this DAO's entity.

Specified by:
clusterUserToEntityCollection in interface UserDao
See Also:
UserDao.clusterUserToEntityCollection(java.util.Collection)

toClusterUser

public void toClusterUser(User source,
                          ClusterUser target)
Description copied from interface: UserDao
Copies the fields of the specified entity to the target value object. This method is similar to toClusterUser(), 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:
toClusterUser in interface UserDao
See Also:
UserDao.toClusterUser(fr.ifremer.allegro.administration.user.User, fr.ifremer.allegro.administration.user.generic.cluster.ClusterUser)

toClusterUser

public ClusterUser toClusterUser(User entity)
Description copied from interface: UserDao
Converts this DAO's entity to an object of type ClusterUser.

Specified by:
toClusterUser in interface UserDao
See Also:
UserDao.toClusterUser(fr.ifremer.allegro.administration.user.User)

clusterUserToEntity

public void clusterUserToEntity(ClusterUser source,
                                User target,
                                boolean copyIfNull)
Description copied from interface: UserDao
Copies the fields of ClusterUser to the specified entity.

Specified by:
clusterUserToEntity in interface UserDao
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.UserDao#clusterUserToEntity(fr.ifremer.allegro.administration.user.generic.cluster.ClusterUser, fr.ifremer.allegro.administration.user.User)

getPrincipal

protected java.security.Principal getPrincipal()
Gets the current principal if one has been set, otherwise returns null.

Overrides:
getPrincipal in class PersonDaoBase
Returns:
the current principal

search

public PaginationResult search(int transform,
                               int pageNumber,
                               int pageSize,
                               Search search)
Description copied from interface: PersonDao
Does the same thing as {@link #search(int, fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize. These flags allow you to limit your data to a specified page number and size.

Specified by:
search in interface PersonDao
Specified by:
search in interface UserDao
Overrides:
search in class PersonDaoBase
Parameters:
transform - the transformation flag.
pageNumber - the page number in the data to retrieve
pageSize - the size of the page to retrieve.
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search wrapped in a PaginationResult instance.
See Also:
UserDao.search(int, int, int, fr.ifremer.allegro.Search)

search

public PaginationResult search(int pageNumber,
                               int pageSize,
                               Search search)
Description copied from interface: PersonDao
Does the same thing as {@link #search(fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize. These flags allow you to limit your data to a specified page number and size.

Specified by:
search in interface PersonDao
Specified by:
search in interface UserDao
Overrides:
search in class PersonDaoBase
Parameters:
pageNumber - the page number in the data to retrieve
pageSize - the size of the page to retrieve.
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search wrapped in a PaginationResult instance.
See Also:
UserDao.search(int, int, fr.ifremer.allegro.Search)

search

public java.util.Set search(int transform,
                            Search search)
Description copied from interface: PersonDao
Does the same thing as PersonDao.search(fr.ifremer.allegro.Search) but with an additional flag called transform. If this flag is set to TRANSFORM_NONE then finder results will NOT be transformed during retrieval. If this flag is any of the other constants defined here then results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.

Specified by:
search in interface PersonDao
Specified by:
search in interface UserDao
Overrides:
search in class PersonDaoBase
Parameters:
transform - the transformation flag.
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search.
See Also:
UserDao.search(int, fr.ifremer.allegro.Search)

search

public java.util.Set search(Search search)
Description copied from interface: PersonDao
Performs a search using the parameters specified in the given search object.

Specified by:
search in interface PersonDao
Specified by:
search in interface UserDao
Overrides:
search in class PersonDaoBase
Parameters:
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search.
See Also:
UserDao.search(fr.ifremer.allegro.Search)


Copyright © 2008-2010 IFREMER. All Rights Reserved.