|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.orm.hibernate3.support.HibernateDaoSupport
fr.ifremer.allegro.administration.user.PersonDaoBase
fr.ifremer.allegro.administration.user.PersonDaoImpl
fr.ifremer.allegro.administration.user.UserDaoBase
public abstract class UserDaoBase
Base Spring DAO Class: is able to create, update, remove, load, and find
objects of type fr.ifremer.allegro.administration.user.User
.
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 |
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 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 |
Constructor Detail |
---|
public UserDaoBase()
Method Detail |
---|
public void setUserProfilDao(UserProfilDao userProfilDao)
userProfilDao
.
protected UserProfilDao getUserProfilDao()
userProfilDao
.
public java.lang.Object load(int transform, java.lang.Integer id)
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.
load
in interface PersonDao
load
in interface UserDao
load
in class PersonDaoBase
id
- identifier of the entity to load
UserDao.load(int, java.lang.Integer)
public User load(java.lang.Integer id)
PersonDao
load
in interface PersonDao
load
in interface UserDao
load
in class PersonDaoBase
UserDao.load(java.lang.Integer)
public java.util.Collection loadAll()
PersonDao
Person
.
loadAll
in interface PersonDao
loadAll
in interface UserDao
loadAll
in class PersonDaoBase
UserDao.loadAll()
public java.util.Collection loadAll(int transform)
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.
loadAll
in interface PersonDao
loadAll
in interface UserDao
loadAll
in class PersonDaoBase
transform
- the flag indicating what transformation to use.
UserDao.loadAll(int)
public java.util.Collection loadAll(int pageNumber, int pageSize)
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.
loadAll
in interface PersonDao
loadAll
in interface UserDao
loadAll
in class PersonDaoBase
pageNumber
- the page number to retrieve when paging results.pageSize
- the size of the page to retrieve when paging results.
UserDao.loadAll(int, int)
public java.util.Collection loadAll(int transform, int pageNumber, int pageSize)
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.
loadAll
in interface PersonDao
loadAll
in interface UserDao
loadAll
in class PersonDaoBase
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.
UserDao.loadAll(int, int, int)
public User create(User user)
UserDao
create
in interface UserDao
UserDao.create(fr.ifremer.allegro.administration.user.User)
public java.lang.Object create(int transform, User user)
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.
create
in interface UserDao
UserDao.create(int transform, fr.ifremer.allegro.administration.user.User)
public java.util.Collection create(java.util.Collection entities)
PersonDao
entities
collection
create
in interface PersonDao
create
in interface UserDao
create
in class PersonDaoBase
entities
- the collection of fr.ifremer.allegro.administration.user.Person
instances to create.
UserDao.create(java.util.Collection)
public java.util.Collection create(int transform, java.util.Collection entities)
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.
create
in interface PersonDao
create
in interface UserDao
create
in class PersonDaoBase
UserDao.create(int, java.util.Collection)
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)
UserDao
Creates a new fr.ifremer.allegro.administration.user.User
instance from all attributes and
properties and adds it to the persistent store.
create
in interface UserDao
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)
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)
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.
create
in interface UserDao
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)
public User create(java.util.Date creationDate, Department department, java.lang.String firstname, java.lang.String lastname, Status status, java.lang.String username)
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.
create
in interface UserDao
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)
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)
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.
create
in interface UserDao
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)
public void update(User user)
UserDao
user
instance in the persistent store.
update
in interface UserDao
UserDao.update(fr.ifremer.allegro.administration.user.User)
public void update(java.util.Collection entities)
PersonDao
entities
collection in the persistent store.
update
in interface PersonDao
update
in interface UserDao
update
in class PersonDaoBase
PersonDao.update(java.util.Collection)
public void remove(User user)
UserDao
remove
in interface UserDao
UserDao.remove(fr.ifremer.allegro.administration.user.User)
public void remove(java.lang.Integer id)
PersonDao
identifier
from the persistent store.
remove
in interface PersonDao
remove
in interface UserDao
remove
in class PersonDaoBase
UserDao.remove(java.lang.Integer)
public void remove(java.util.Collection entities)
PersonDao
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)
public java.util.Collection getAllUser()
getAllUser
in interface UserDao
UserDao.getAllUser()
public java.util.Collection getAllUser(int transform)
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.
getAllUser
in interface UserDao
UserDao.getAllUser(int)
public java.util.Collection getAllUser(java.lang.String queryString)
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()
.
getAllUser
in interface UserDao
UserDao.getAllUser(java.lang.String)
public java.util.Collection getAllUser(int pageNumber, int pageSize)
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.
getAllUser
in interface UserDao
UserDao.getAllUser(int, int)
public java.util.Collection getAllUser(java.lang.String queryString, int pageNumber, int pageSize)
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.
getAllUser
in interface UserDao
UserDao.getAllUser(String, int, int)
public java.util.Collection getAllUser(int transform, java.lang.String queryString)
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)
.
getAllUser
in interface UserDao
UserDao.getAllUser(int, String)
public java.util.Collection getAllUser(int transform, int pageNumber, int pageSize)
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.
getAllUser
in interface UserDao
UserDao.getAllUser(int, int, int)
public java.util.Collection getAllUser(int transform, java.lang.String queryString, int pageNumber, int pageSize)
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.
getAllUser
in interface UserDao
UserDao.getAllUser(int, java.lang.String, int, int)
public User findUserById(java.lang.Integer id)
findUserById
in interface UserDao
UserDao.findUserById(java.lang.Integer)
public java.lang.Object findUserById(int transform, java.lang.Integer id)
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.
findUserById
in interface UserDao
UserDao.findUserById(int, java.lang.Integer)
public User findUserById(java.lang.String queryString, java.lang.Integer id)
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)
.
findUserById
in interface UserDao
UserDao.findUserById(java.lang.String, java.lang.Integer)
public java.lang.Object findUserById(int transform, java.lang.String queryString, java.lang.Integer id)
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)
.
findUserById
in interface UserDao
UserDao.findUserById(int, java.lang.String, java.lang.Integer)
public java.util.Collection findUserByStatus(Status status)
findUserByStatus
in interface UserDao
UserDao.findUserByStatus(fr.ifremer.allegro.referential.Status)
public java.util.Collection findUserByStatus(int transform, Status status)
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.
findUserByStatus
in interface UserDao
UserDao.findUserByStatus(int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findUserByStatus(java.lang.String queryString, Status status)
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)
.
findUserByStatus
in interface UserDao
UserDao.findUserByStatus(java.lang.String, fr.ifremer.allegro.referential.Status)
public java.util.Collection findUserByStatus(int pageNumber, int pageSize, Status status)
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.
findUserByStatus
in interface UserDao
UserDao.findUserByStatus(int, int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findUserByStatus(java.lang.String queryString, int pageNumber, int pageSize, Status status)
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.
findUserByStatus
in interface UserDao
UserDao.findUserByStatus(String, int, int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findUserByStatus(int transform, java.lang.String queryString, Status status)
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)
.
findUserByStatus
in interface UserDao
UserDao.findUserByStatus(int, String, fr.ifremer.allegro.referential.Status)
public java.util.Collection findUserByStatus(int transform, int pageNumber, int pageSize, Status status)
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.
findUserByStatus
in interface UserDao
UserDao.findUserByStatus(int, int, int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findUserByStatus(int transform, java.lang.String queryString, int pageNumber, int pageSize, Status status)
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.
findUserByStatus
in interface UserDao
UserDao.findUserByStatus(int, java.lang.String, int, int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findUserByDepartment(Department department)
findUserByDepartment
in interface UserDao
UserDao.findUserByDepartment(fr.ifremer.allegro.administration.user.Department)
public java.util.Collection findUserByDepartment(int transform, Department department)
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.
findUserByDepartment
in interface UserDao
UserDao.findUserByDepartment(int, fr.ifremer.allegro.administration.user.Department)
public java.util.Collection findUserByDepartment(java.lang.String queryString, Department department)
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)
.
findUserByDepartment
in interface UserDao
UserDao.findUserByDepartment(java.lang.String, fr.ifremer.allegro.administration.user.Department)
public java.util.Collection findUserByDepartment(int pageNumber, int pageSize, Department department)
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.
findUserByDepartment
in interface UserDao
UserDao.findUserByDepartment(int, int, fr.ifremer.allegro.administration.user.Department)
public java.util.Collection findUserByDepartment(java.lang.String queryString, int pageNumber, int pageSize, Department department)
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.
findUserByDepartment
in interface UserDao
UserDao.findUserByDepartment(String, int, int, fr.ifremer.allegro.administration.user.Department)
public java.util.Collection findUserByDepartment(int transform, java.lang.String queryString, Department department)
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)
.
findUserByDepartment
in interface UserDao
UserDao.findUserByDepartment(int, String, fr.ifremer.allegro.administration.user.Department)
public java.util.Collection findUserByDepartment(int transform, int pageNumber, int pageSize, Department department)
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.
findUserByDepartment
in interface UserDao
UserDao.findUserByDepartment(int, int, int, fr.ifremer.allegro.administration.user.Department)
public java.util.Collection findUserByDepartment(int transform, java.lang.String queryString, int pageNumber, int pageSize, Department department)
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.
findUserByDepartment
in interface UserDao
UserDao.findUserByDepartment(int, java.lang.String, int, int, fr.ifremer.allegro.administration.user.Department)
public User findUserByNaturalId(java.lang.Integer id)
findUserByNaturalId
in interface UserDao
UserDao.findUserByNaturalId(java.lang.Integer)
public java.lang.Object findUserByNaturalId(int transform, java.lang.Integer id)
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.
findUserByNaturalId
in interface UserDao
UserDao.findUserByNaturalId(int, java.lang.Integer)
public User findUserByNaturalId(java.lang.String queryString, java.lang.Integer id)
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)
.
findUserByNaturalId
in interface UserDao
UserDao.findUserByNaturalId(java.lang.String, java.lang.Integer)
public java.lang.Object findUserByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
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)
.
findUserByNaturalId
in interface UserDao
UserDao.findUserByNaturalId(int, java.lang.String, java.lang.Integer)
public java.util.Collection getAllUserSinceDateSynchro(java.sql.Timestamp updateDate)
getAllUserSinceDateSynchro
in interface UserDao
UserDao.getAllUserSinceDateSynchro(java.sql.Timestamp)
public java.util.Collection getAllUserSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
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.
getAllUserSinceDateSynchro
in interface UserDao
UserDao.getAllUserSinceDateSynchro(int, java.sql.Timestamp)
public java.util.Collection getAllUserSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
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)
.
getAllUserSinceDateSynchro
in interface UserDao
UserDao.getAllUserSinceDateSynchro(java.lang.String, java.sql.Timestamp)
public java.util.Collection getAllUserSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
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.
getAllUserSinceDateSynchro
in interface UserDao
UserDao.getAllUserSinceDateSynchro(int, int, java.sql.Timestamp)
public java.util.Collection getAllUserSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
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.
getAllUserSinceDateSynchro
in interface UserDao
UserDao.getAllUserSinceDateSynchro(String, int, int, java.sql.Timestamp)
public java.util.Collection getAllUserSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
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)
.
getAllUserSinceDateSynchro
in interface UserDao
UserDao.getAllUserSinceDateSynchro(int, String, java.sql.Timestamp)
public java.util.Collection getAllUserSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
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.
getAllUserSinceDateSynchro
in interface UserDao
UserDao.getAllUserSinceDateSynchro(int, int, int, java.sql.Timestamp)
public java.util.Collection getAllUserSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
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.
getAllUserSinceDateSynchro
in interface UserDao
UserDao.getAllUserSinceDateSynchro(int, java.lang.String, int, int, java.sql.Timestamp)
public java.util.Collection getAllPerson()
getAllPerson
in interface PersonDao
getAllPerson
in class PersonDaoBase
PersonDao.getAllPerson()
public java.util.Collection getAllPerson(int transform)
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.
getAllPerson
in interface PersonDao
getAllPerson
in class PersonDaoBase
PersonDao.getAllPerson(int)
public java.util.Collection getAllPerson(java.lang.String queryString)
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()
.
getAllPerson
in interface PersonDao
getAllPerson
in class PersonDaoBase
PersonDao.getAllPerson(java.lang.String)
public java.util.Collection getAllPerson(int pageNumber, int pageSize)
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.
getAllPerson
in interface PersonDao
getAllPerson
in class PersonDaoBase
PersonDao.getAllPerson(int, int)
public java.util.Collection getAllPerson(java.lang.String queryString, int pageNumber, int pageSize)
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.
getAllPerson
in interface PersonDao
getAllPerson
in class PersonDaoBase
PersonDao.getAllPerson(String, int, int)
public java.util.Collection getAllPerson(int transform, java.lang.String queryString)
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)
.
getAllPerson
in interface PersonDao
getAllPerson
in class PersonDaoBase
PersonDao.getAllPerson(int, String)
public java.util.Collection getAllPerson(int transform, int pageNumber, int pageSize)
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.
getAllPerson
in interface PersonDao
getAllPerson
in class PersonDaoBase
PersonDao.getAllPerson(int, int, int)
public java.util.Collection getAllPerson(int transform, java.lang.String queryString, int pageNumber, int pageSize)
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.
getAllPerson
in interface PersonDao
getAllPerson
in class PersonDaoBase
PersonDao.getAllPerson(int, java.lang.String, int, int)
public Person findPersonById(java.lang.Integer id)
findPersonById
in interface PersonDao
findPersonById
in class PersonDaoBase
PersonDao.findPersonById(java.lang.Integer)
public java.lang.Object findPersonById(int transform, java.lang.Integer id)
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.
findPersonById
in interface PersonDao
findPersonById
in class PersonDaoBase
PersonDao.findPersonById(int, java.lang.Integer)
public Person findPersonById(java.lang.String queryString, java.lang.Integer id)
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)
.
findPersonById
in interface PersonDao
findPersonById
in class PersonDaoBase
PersonDao.findPersonById(java.lang.String, java.lang.Integer)
public java.lang.Object findPersonById(int transform, java.lang.String queryString, java.lang.Integer id)
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)
.
findPersonById
in interface PersonDao
findPersonById
in class PersonDaoBase
PersonDao.findPersonById(int, java.lang.String, java.lang.Integer)
public java.util.Collection findPersonByStatus(Status status)
findPersonByStatus
in interface PersonDao
findPersonByStatus
in class PersonDaoBase
PersonDao.findPersonByStatus(fr.ifremer.allegro.referential.Status)
public java.util.Collection findPersonByStatus(int transform, Status status)
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.
findPersonByStatus
in interface PersonDao
findPersonByStatus
in class PersonDaoBase
PersonDao.findPersonByStatus(int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findPersonByStatus(java.lang.String queryString, Status status)
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)
.
findPersonByStatus
in interface PersonDao
findPersonByStatus
in class PersonDaoBase
PersonDao.findPersonByStatus(java.lang.String, fr.ifremer.allegro.referential.Status)
public java.util.Collection findPersonByStatus(int pageNumber, int pageSize, Status status)
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.
findPersonByStatus
in interface PersonDao
findPersonByStatus
in class PersonDaoBase
PersonDao.findPersonByStatus(int, int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findPersonByStatus(java.lang.String queryString, int pageNumber, int pageSize, Status status)
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.
findPersonByStatus
in interface PersonDao
findPersonByStatus
in class PersonDaoBase
PersonDao.findPersonByStatus(String, int, int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findPersonByStatus(int transform, java.lang.String queryString, Status status)
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)
.
findPersonByStatus
in interface PersonDao
findPersonByStatus
in class PersonDaoBase
PersonDao.findPersonByStatus(int, String, fr.ifremer.allegro.referential.Status)
public java.util.Collection findPersonByStatus(int transform, int pageNumber, int pageSize, Status status)
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.
findPersonByStatus
in interface PersonDao
findPersonByStatus
in class PersonDaoBase
PersonDao.findPersonByStatus(int, int, int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findPersonByStatus(int transform, java.lang.String queryString, int pageNumber, int pageSize, Status status)
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.
findPersonByStatus
in interface PersonDao
findPersonByStatus
in class PersonDaoBase
PersonDao.findPersonByStatus(int, java.lang.String, int, int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findPersonByDepartment(Department department)
findPersonByDepartment
in interface PersonDao
findPersonByDepartment
in class PersonDaoBase
PersonDao.findPersonByDepartment(fr.ifremer.allegro.administration.user.Department)
public java.util.Collection findPersonByDepartment(int transform, Department department)
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.
findPersonByDepartment
in interface PersonDao
findPersonByDepartment
in class PersonDaoBase
PersonDao.findPersonByDepartment(int, fr.ifremer.allegro.administration.user.Department)
public java.util.Collection findPersonByDepartment(java.lang.String queryString, Department department)
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)
.
findPersonByDepartment
in interface PersonDao
findPersonByDepartment
in class PersonDaoBase
PersonDao.findPersonByDepartment(java.lang.String, fr.ifremer.allegro.administration.user.Department)
public java.util.Collection findPersonByDepartment(int pageNumber, int pageSize, Department department)
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.
findPersonByDepartment
in interface PersonDao
findPersonByDepartment
in class PersonDaoBase
PersonDao.findPersonByDepartment(int, int, fr.ifremer.allegro.administration.user.Department)
public java.util.Collection findPersonByDepartment(java.lang.String queryString, int pageNumber, int pageSize, Department department)
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.
findPersonByDepartment
in interface PersonDao
findPersonByDepartment
in class PersonDaoBase
PersonDao.findPersonByDepartment(String, int, int, fr.ifremer.allegro.administration.user.Department)
public java.util.Collection findPersonByDepartment(int transform, java.lang.String queryString, Department department)
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)
.
findPersonByDepartment
in interface PersonDao
findPersonByDepartment
in class PersonDaoBase
PersonDao.findPersonByDepartment(int, String, fr.ifremer.allegro.administration.user.Department)
public java.util.Collection findPersonByDepartment(int transform, int pageNumber, int pageSize, Department department)
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.
findPersonByDepartment
in interface PersonDao
findPersonByDepartment
in class PersonDaoBase
PersonDao.findPersonByDepartment(int, int, int, fr.ifremer.allegro.administration.user.Department)
public java.util.Collection findPersonByDepartment(int transform, java.lang.String queryString, int pageNumber, int pageSize, Department department)
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.
findPersonByDepartment
in interface PersonDao
findPersonByDepartment
in class PersonDaoBase
PersonDao.findPersonByDepartment(int, java.lang.String, int, int, fr.ifremer.allegro.administration.user.Department)
public Person findPersonByNaturalId(java.lang.Integer id)
findPersonByNaturalId
in interface PersonDao
findPersonByNaturalId
in class PersonDaoBase
PersonDao.findPersonByNaturalId(java.lang.Integer)
public java.lang.Object findPersonByNaturalId(int transform, java.lang.Integer id)
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.
findPersonByNaturalId
in interface PersonDao
findPersonByNaturalId
in class PersonDaoBase
PersonDao.findPersonByNaturalId(int, java.lang.Integer)
public Person findPersonByNaturalId(java.lang.String queryString, java.lang.Integer id)
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)
.
findPersonByNaturalId
in interface PersonDao
findPersonByNaturalId
in class PersonDaoBase
PersonDao.findPersonByNaturalId(java.lang.String, java.lang.Integer)
public java.lang.Object findPersonByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
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)
.
findPersonByNaturalId
in interface PersonDao
findPersonByNaturalId
in class PersonDaoBase
PersonDao.findPersonByNaturalId(int, java.lang.String, java.lang.Integer)
public java.util.Collection getAllPersonSinceDateSynchro(java.sql.Timestamp updateDate)
getAllPersonSinceDateSynchro
in interface PersonDao
getAllPersonSinceDateSynchro
in class PersonDaoBase
PersonDao.getAllPersonSinceDateSynchro(java.sql.Timestamp)
public java.util.Collection getAllPersonSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
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.
getAllPersonSinceDateSynchro
in interface PersonDao
getAllPersonSinceDateSynchro
in class PersonDaoBase
PersonDao.getAllPersonSinceDateSynchro(int, java.sql.Timestamp)
public java.util.Collection getAllPersonSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
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)
.
getAllPersonSinceDateSynchro
in interface PersonDao
getAllPersonSinceDateSynchro
in class PersonDaoBase
PersonDao.getAllPersonSinceDateSynchro(java.lang.String, java.sql.Timestamp)
public java.util.Collection getAllPersonSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
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.
getAllPersonSinceDateSynchro
in interface PersonDao
getAllPersonSinceDateSynchro
in class PersonDaoBase
PersonDao.getAllPersonSinceDateSynchro(int, int, java.sql.Timestamp)
public java.util.Collection getAllPersonSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
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.
getAllPersonSinceDateSynchro
in interface PersonDao
getAllPersonSinceDateSynchro
in class PersonDaoBase
PersonDao.getAllPersonSinceDateSynchro(String, int, int, java.sql.Timestamp)
public java.util.Collection getAllPersonSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
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)
.
getAllPersonSinceDateSynchro
in interface PersonDao
getAllPersonSinceDateSynchro
in class PersonDaoBase
PersonDao.getAllPersonSinceDateSynchro(int, String, java.sql.Timestamp)
public java.util.Collection getAllPersonSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
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.
getAllPersonSinceDateSynchro
in interface PersonDao
getAllPersonSinceDateSynchro
in class PersonDaoBase
PersonDao.getAllPersonSinceDateSynchro(int, int, int, java.sql.Timestamp)
public java.util.Collection getAllPersonSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
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.
getAllPersonSinceDateSynchro
in interface PersonDao
getAllPersonSinceDateSynchro
in class PersonDaoBase
PersonDao.getAllPersonSinceDateSynchro(int, java.lang.String, int, int, java.sql.Timestamp)
public User createFromClusterUser(ClusterUser clusterUser)
createFromClusterUser
in interface UserDao
UserDao.createFromClusterUser(fr.ifremer.allegro.administration.user.generic.cluster.ClusterUser)
protected abstract User handleCreateFromClusterUser(ClusterUser clusterUser) throws java.lang.Exception
createFromClusterUser(fr.ifremer.allegro.administration.user.generic.cluster.ClusterUser)
java.lang.Exception
public ClusterUser[] getAllClusterUserSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
getAllClusterUserSinceDateSynchro
in interface UserDao
UserDao.getAllClusterUserSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
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
getAllClusterUserSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
java.lang.Exception
protected java.lang.Object transformEntity(int transform, User entity)
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:
User
- PersonDao.TRANSFORM_NONE
RemoteUserFullVO
- TRANSFORM_REMOTEUSERFULLVO
RemoteUserNaturalId
- TRANSFORM_REMOTEUSERNATURALID
ClusterUser
- TRANSFORM_CLUSTERUSER
PersonDao.TRANSFORM_NONE
is assumed.
transform
- one of the constants declared in UserDao
entity
- an entity that was found
transformEntities(int,java.util.Collection)
protected void transformEntities(int transform, java.util.Collection entities)
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.
transformEntities
in class PersonDaoBase
transform
- one of the constants declared in fr.ifremer.allegro.administration.user.UserDao
entities
- the collection of entities to transformtransformEntity(int,fr.ifremer.allegro.administration.user.User)
protected User toEntity(java.lang.Object[] row)
toEntity
in class PersonDaoBase
public final void toRemoteUserFullVOCollection(java.util.Collection entities)
UserDao
RemoteUserFullVO
.
toRemoteUserFullVOCollection
in interface UserDao
UserDao.toRemoteUserFullVOCollection(java.util.Collection)
public final RemoteUserFullVO[] toRemoteUserFullVOArray(java.util.Collection entities)
UserDao
RemoteUserFullVO
.
toRemoteUserFullVOArray
in interface UserDao
UserDao.toRemoteUserFullVOArray(java.util.Collection)
protected RemoteUserFullVO toRemoteUserFullVO(java.lang.Object[] row)
UserDaoImpl
class if you intend to use reporting queries.
UserDao.toRemoteUserFullVO(fr.ifremer.allegro.administration.user.User)
public final void remoteUserFullVOToEntityCollection(java.util.Collection instances)
UserDao
RemoteUserFullVO
to this
DAO's entity.
remoteUserFullVOToEntityCollection
in interface UserDao
UserDao.remoteUserFullVOToEntityCollection(java.util.Collection)
public void toRemoteUserFullVO(User source, RemoteUserFullVO target)
UserDao
toRemoteUserFullVO
in interface UserDao
UserDao.toRemoteUserFullVO(fr.ifremer.allegro.administration.user.User, fr.ifremer.allegro.administration.user.generic.vo.RemoteUserFullVO)
public RemoteUserFullVO toRemoteUserFullVO(User entity)
UserDao
RemoteUserFullVO
.
toRemoteUserFullVO
in interface UserDao
UserDao.toRemoteUserFullVO(fr.ifremer.allegro.administration.user.User)
public void remoteUserFullVOToEntity(RemoteUserFullVO source, User target, boolean copyIfNull)
UserDao
RemoteUserFullVO
to the specified entity.
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.fr.ifremer.allegro.administration.user.UserDao#remoteUserFullVOToEntity(fr.ifremer.allegro.administration.user.generic.vo.RemoteUserFullVO, fr.ifremer.allegro.administration.user.User)
public final void toRemoteUserNaturalIdCollection(java.util.Collection entities)
UserDao
RemoteUserNaturalId
.
toRemoteUserNaturalIdCollection
in interface UserDao
UserDao.toRemoteUserNaturalIdCollection(java.util.Collection)
public final RemoteUserNaturalId[] toRemoteUserNaturalIdArray(java.util.Collection entities)
UserDao
RemoteUserNaturalId
.
toRemoteUserNaturalIdArray
in interface UserDao
UserDao.toRemoteUserNaturalIdArray(java.util.Collection)
protected RemoteUserNaturalId toRemoteUserNaturalId(java.lang.Object[] row)
UserDaoImpl
class if you intend to use reporting queries.
UserDao.toRemoteUserNaturalId(fr.ifremer.allegro.administration.user.User)
public final void remoteUserNaturalIdToEntityCollection(java.util.Collection instances)
UserDao
RemoteUserNaturalId
to this
DAO's entity.
remoteUserNaturalIdToEntityCollection
in interface UserDao
UserDao.remoteUserNaturalIdToEntityCollection(java.util.Collection)
public void toRemoteUserNaturalId(User source, RemoteUserNaturalId target)
UserDao
toRemoteUserNaturalId
in interface UserDao
UserDao.toRemoteUserNaturalId(fr.ifremer.allegro.administration.user.User, fr.ifremer.allegro.administration.user.generic.vo.RemoteUserNaturalId)
public RemoteUserNaturalId toRemoteUserNaturalId(User entity)
UserDao
RemoteUserNaturalId
.
toRemoteUserNaturalId
in interface UserDao
UserDao.toRemoteUserNaturalId(fr.ifremer.allegro.administration.user.User)
public void remoteUserNaturalIdToEntity(RemoteUserNaturalId source, User target, boolean copyIfNull)
UserDao
RemoteUserNaturalId
to the specified entity.
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.fr.ifremer.allegro.administration.user.UserDao#remoteUserNaturalIdToEntity(fr.ifremer.allegro.administration.user.generic.vo.RemoteUserNaturalId, fr.ifremer.allegro.administration.user.User)
public final void toClusterUserCollection(java.util.Collection entities)
UserDao
ClusterUser
.
toClusterUserCollection
in interface UserDao
UserDao.toClusterUserCollection(java.util.Collection)
public final ClusterUser[] toClusterUserArray(java.util.Collection entities)
UserDao
ClusterUser
.
toClusterUserArray
in interface UserDao
UserDao.toClusterUserArray(java.util.Collection)
protected ClusterUser toClusterUser(java.lang.Object[] row)
UserDaoImpl
class if you intend to use reporting queries.
UserDao.toClusterUser(fr.ifremer.allegro.administration.user.User)
public final void clusterUserToEntityCollection(java.util.Collection instances)
UserDao
ClusterUser
to this
DAO's entity.
clusterUserToEntityCollection
in interface UserDao
UserDao.clusterUserToEntityCollection(java.util.Collection)
public void toClusterUser(User source, ClusterUser target)
UserDao
toClusterUser
in interface UserDao
UserDao.toClusterUser(fr.ifremer.allegro.administration.user.User, fr.ifremer.allegro.administration.user.generic.cluster.ClusterUser)
public ClusterUser toClusterUser(User entity)
UserDao
ClusterUser
.
toClusterUser
in interface UserDao
UserDao.toClusterUser(fr.ifremer.allegro.administration.user.User)
public void clusterUserToEntity(ClusterUser source, User target, boolean copyIfNull)
UserDao
ClusterUser
to the specified entity.
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.fr.ifremer.allegro.administration.user.UserDao#clusterUserToEntity(fr.ifremer.allegro.administration.user.generic.cluster.ClusterUser, fr.ifremer.allegro.administration.user.User)
protected java.security.Principal getPrincipal()
principal
if one has been set,
otherwise returns null
.
getPrincipal
in class PersonDaoBase
public PaginationResult search(int transform, int pageNumber, int pageSize, Search search)
PersonDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface PersonDao
search
in interface UserDao
search
in class PersonDaoBase
transform
- the transformation flag.pageNumber
- the page number in the data to retrievepageSize
- the size of the page to retrieve.search
- the search object which provides the search parameters and pagination specification.
PaginationResult
instance.UserDao.search(int, int, int, fr.ifremer.allegro.Search)
public PaginationResult search(int pageNumber, int pageSize, Search search)
PersonDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface PersonDao
search
in interface UserDao
search
in class PersonDaoBase
pageNumber
- the page number in the data to retrievepageSize
- the size of the page to retrieve.search
- the search object which provides the search parameters and pagination specification.
PaginationResult
instance.UserDao.search(int, int, fr.ifremer.allegro.Search)
public java.util.Set search(int transform, Search search)
PersonDao
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.
search
in interface PersonDao
search
in interface UserDao
search
in class PersonDaoBase
transform
- the transformation flag.search
- the search object which provides the search parameters and pagination specification.
UserDao.search(int, fr.ifremer.allegro.Search)
public java.util.Set search(Search search)
PersonDao
search
object.
search
in interface PersonDao
search
in interface UserDao
search
in class PersonDaoBase
search
- the search object which provides the search parameters and pagination specification.
UserDao.search(fr.ifremer.allegro.Search)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |