|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UserDao
User
Field Summary | |
---|---|
static int |
TRANSFORM_CLUSTERUSER
This constant is used as a transformation flag; entities can be converted automatically into value objects or other types, different methods in a class implementing this interface support this feature: look for an int parameter called transform . |
static int |
TRANSFORM_REMOTEUSERFULLVO
This constant is used as a transformation flag; entities can be converted automatically into value objects or other types, different methods in a class implementing this interface support this feature: look for an int parameter called transform . |
static int |
TRANSFORM_REMOTEUSERNATURALID
This constant is used as a transformation flag; entities can be converted automatically into value objects or other types, different methods in a class implementing this interface support this feature: look for an int parameter called transform . |
Fields inherited from interface fr.ifremer.allegro.administration.user.PersonDao |
---|
TRANSFORM_CLUSTERPERSON, TRANSFORM_NONE, TRANSFORM_REMOTEPERSONFULLVO, TRANSFORM_REMOTEPERSONNATURALID |
Method Summary | |
---|---|
User |
clusterUserToEntity(ClusterUser clusterUser)
Converts an instance of type ClusterUser to this DAO's entity. |
void |
clusterUserToEntity(ClusterUser source,
User target,
boolean copyIfNull)
Copies the fields of ClusterUser to the specified entity. |
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.User and adds from the passed in entities collection |
Person |
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 create(fr.ifremer.allegro.administration.user.User) 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 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 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 create(fr.ifremer.allegro.administration.user.User) with an
additional flag called transform . |
Person |
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. |
Person |
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 |
findUserByDepartment(Department department)
|
java.util.Collection |
findUserByDepartment(int transform,
Department department)
Does the same thing as 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 |
getAllUser()
|
java.util.Collection |
getAllUser(int transform)
Does the same thing as getAllUser() with an
additional flag called transform . |
java.util.Collection |
getAllUser(int pageNumber,
int pageSize)
Does the same thing as 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 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 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 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 getAllUser() with an
additional argument called queryString . |
java.util.Collection |
getAllUser(java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as 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 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 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 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 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 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 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 getAllUserSinceDateSynchro(java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllUserSinceDateSynchro(java.sql.Timestamp updateDate)
|
Person |
load(java.lang.Integer id)
Loads an instance of fr.ifremer.allegro.administration.user.User from the persistent store. |
java.lang.Object |
load(int transform,
java.lang.Integer id)
Does the same thing as load(java.lang.Integer) with an
additional flag called transform . |
java.util.Collection |
loadAll()
Loads all entities of type User . |
java.util.Collection |
loadAll(int transform)
Does the same thing as loadAll() with an
additional flag called transform . |
java.util.Collection |
loadAll(int pageNumber,
int pageSize)
Does the same thing as 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 loadAll(int) with an
additional two arguments called pageNumber and pageSize . |
User |
remoteUserFullVOToEntity(RemoteUserFullVO remoteUserFullVO)
Converts an instance of type RemoteUserFullVO to this DAO's entity. |
void |
remoteUserFullVOToEntity(RemoteUserFullVO source,
User target,
boolean copyIfNull)
Copies the fields of RemoteUserFullVO to the specified entity. |
void |
remoteUserFullVOToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteUserFullVO to this
DAO's entity. |
User |
remoteUserNaturalIdToEntity(RemoteUserNaturalId remoteUserNaturalId)
Converts an instance of type RemoteUserNaturalId to this DAO's entity. |
void |
remoteUserNaturalIdToEntity(RemoteUserNaturalId source,
User target,
boolean copyIfNull)
Copies the fields of RemoteUserNaturalId to the specified entity. |
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.User 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 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. |
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 . |
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 . |
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 . |
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. |
Field Detail |
---|
static final int TRANSFORM_REMOTEUSERFULLVO
int
parameter called transform
.
This specific flag denotes entities must be transformed into objects of type
RemoteUserFullVO
.
static final int TRANSFORM_REMOTEUSERNATURALID
int
parameter called transform
.
This specific flag denotes entities must be transformed into objects of type
RemoteUserNaturalId
.
static final int TRANSFORM_CLUSTERUSER
int
parameter called transform
.
This specific flag denotes entities must be transformed into objects of type
ClusterUser
.
Method Detail |
---|
void toRemoteUserFullVO(User source, RemoteUserFullVO target)
RemoteUserFullVO toRemoteUserFullVO(User entity)
RemoteUserFullVO
.
void toRemoteUserFullVOCollection(java.util.Collection entities)
RemoteUserFullVO
.
RemoteUserFullVO[] toRemoteUserFullVOArray(java.util.Collection entities)
RemoteUserFullVO
.
void remoteUserFullVOToEntity(RemoteUserFullVO source, User target, boolean copyIfNull)
RemoteUserFullVO
to the specified entity.
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.User remoteUserFullVOToEntity(RemoteUserFullVO remoteUserFullVO)
RemoteUserFullVO
to this DAO's entity.
void remoteUserFullVOToEntityCollection(java.util.Collection instances)
RemoteUserFullVO
to this
DAO's entity.
void toRemoteUserNaturalId(User source, RemoteUserNaturalId target)
RemoteUserNaturalId toRemoteUserNaturalId(User entity)
RemoteUserNaturalId
.
void toRemoteUserNaturalIdCollection(java.util.Collection entities)
RemoteUserNaturalId
.
RemoteUserNaturalId[] toRemoteUserNaturalIdArray(java.util.Collection entities)
RemoteUserNaturalId
.
void remoteUserNaturalIdToEntity(RemoteUserNaturalId source, User target, boolean copyIfNull)
RemoteUserNaturalId
to the specified entity.
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.User remoteUserNaturalIdToEntity(RemoteUserNaturalId remoteUserNaturalId)
RemoteUserNaturalId
to this DAO's entity.
void remoteUserNaturalIdToEntityCollection(java.util.Collection instances)
RemoteUserNaturalId
to this
DAO's entity.
void toClusterUser(User source, ClusterUser target)
ClusterUser toClusterUser(User entity)
ClusterUser
.
void toClusterUserCollection(java.util.Collection entities)
ClusterUser
.
ClusterUser[] toClusterUserArray(java.util.Collection entities)
ClusterUser
.
void clusterUserToEntity(ClusterUser source, User target, boolean copyIfNull)
ClusterUser
to the specified entity.
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.User clusterUserToEntity(ClusterUser clusterUser)
ClusterUser
to this DAO's entity.
void clusterUserToEntityCollection(java.util.Collection instances)
ClusterUser
to this
DAO's entity.
Person load(java.lang.Integer id)
load
in interface PersonDao
java.lang.Object load(int transform, java.lang.Integer id)
Does the same thing as 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
id
- identifier of the entity to load
java.util.Collection loadAll()
User
.
loadAll
in interface PersonDao
java.util.Collection loadAll(int transform)
Does the same thing as 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
transform
- the flag indicating what transformation to use.
java.util.Collection loadAll(int pageNumber, int pageSize)
Does the same thing as 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
pageNumber
- the page number to retrieve when paging results.pageSize
- the size of the page to retrieve when paging results.
java.util.Collection loadAll(int transform, int pageNumber, int pageSize)
Does the same thing as 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
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.
Person create(User user)
java.lang.Object create(int transform, User user)
Does the same thing as 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.
java.util.Collection create(java.util.Collection entities)
entities
collection
create
in interface PersonDao
entities
- the collection of fr.ifremer.allegro.administration.user.User
instances to create.
java.util.Collection create(int transform, java.util.Collection entities)
Does the same thing as 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 entities (into value objects for example). By default, transformation does
not occur.
create
in interface PersonDao
Person 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.
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 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.
Person 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.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 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.
void update(User user)
user
instance in the persistent store.
void update(java.util.Collection entities)
entities
collection in the persistent store.
update
in interface PersonDao
void remove(User user)
void remove(java.lang.Integer id)
identifier
from the persistent store.
remove
in interface PersonDao
void remove(java.util.Collection entities)
entities collection.
- Specified by:
remove
in interface PersonDao
java.util.Collection getAllUser()
java.util.Collection getAllUser(java.lang.String queryString)
Does the same thing as getAllUser()
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in getAllUser()
.
java.util.Collection getAllUser(int pageNumber, int pageSize)
Does the same thing as 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.
java.util.Collection getAllUser(java.lang.String queryString, int pageNumber, int pageSize)
Does the same thing as 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.
java.util.Collection getAllUser(int transform)
Does the same thing as 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.
java.util.Collection getAllUser(int transform, int pageNumber, int pageSize)
Does the same thing as 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.
java.util.Collection getAllUser(int transform, java.lang.String queryString)
Does the same thing as getAllUser(int)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in getAllUser(int)
.
java.util.Collection getAllUser(int transform, java.lang.String queryString, int pageNumber, int pageSize)
Does the same thing as 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.
User findUserById(java.lang.Integer id)
User findUserById(java.lang.String queryString, java.lang.Integer id)
Does the same thing as findUserById(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findUserById(java.lang.Integer)
.
java.lang.Object findUserById(int transform, java.lang.Integer id)
Does the same thing as 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.
java.lang.Object findUserById(int transform, java.lang.String queryString, java.lang.Integer id)
Does the same thing as findUserById(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findUserById(int, java.lang.Integer id)
.
java.util.Collection findUserByStatus(Status status)
java.util.Collection findUserByStatus(java.lang.String queryString, Status status)
Does the same thing as findUserByStatus(fr.ifremer.allegro.referential.Status)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findUserByStatus(fr.ifremer.allegro.referential.Status)
.
java.util.Collection findUserByStatus(int pageNumber, int pageSize, Status status)
Does the same thing as 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.
java.util.Collection findUserByStatus(java.lang.String queryString, int pageNumber, int pageSize, Status status)
Does the same thing as 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.
java.util.Collection findUserByStatus(int transform, Status status)
Does the same thing as 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.
java.util.Collection findUserByStatus(int transform, int pageNumber, int pageSize, Status status)
Does the same thing as 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.
java.util.Collection findUserByStatus(int transform, java.lang.String queryString, Status status)
Does the same thing as 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 findUserByStatus(int, fr.ifremer.allegro.referential.Status status)
.
java.util.Collection findUserByStatus(int transform, java.lang.String queryString, int pageNumber, int pageSize, Status status)
Does the same thing as 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.
java.util.Collection findUserByDepartment(Department department)
java.util.Collection findUserByDepartment(java.lang.String queryString, Department department)
Does the same thing as 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 findUserByDepartment(fr.ifremer.allegro.administration.user.Department)
.
java.util.Collection findUserByDepartment(int pageNumber, int pageSize, Department department)
Does the same thing as 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.
java.util.Collection findUserByDepartment(java.lang.String queryString, int pageNumber, int pageSize, Department department)
Does the same thing as 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.
java.util.Collection findUserByDepartment(int transform, Department department)
Does the same thing as 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.
java.util.Collection findUserByDepartment(int transform, int pageNumber, int pageSize, Department department)
Does the same thing as 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.
java.util.Collection findUserByDepartment(int transform, java.lang.String queryString, Department department)
Does the same thing as 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 findUserByDepartment(int, fr.ifremer.allegro.administration.user.Department department)
.
java.util.Collection findUserByDepartment(int transform, java.lang.String queryString, int pageNumber, int pageSize, Department department)
Does the same thing as 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.
User findUserByNaturalId(java.lang.Integer id)
User findUserByNaturalId(java.lang.String queryString, java.lang.Integer id)
Does the same thing as findUserByNaturalId(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findUserByNaturalId(java.lang.Integer)
.
java.lang.Object findUserByNaturalId(int transform, java.lang.Integer id)
Does the same thing as 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.
java.lang.Object findUserByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
Does the same thing as findUserByNaturalId(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findUserByNaturalId(int, java.lang.Integer id)
.
java.util.Collection getAllUserSinceDateSynchro(java.sql.Timestamp updateDate)
java.util.Collection getAllUserSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
Does the same thing as getAllUserSinceDateSynchro(java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in getAllUserSinceDateSynchro(java.sql.Timestamp)
.
java.util.Collection getAllUserSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
Does the same thing as 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.
java.util.Collection getAllUserSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
Does the same thing as 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.
java.util.Collection getAllUserSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
Does the same thing as 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.
java.util.Collection getAllUserSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
Does the same thing as 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.
java.util.Collection getAllUserSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
Does the same thing as getAllUserSinceDateSynchro(int, java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in getAllUserSinceDateSynchro(int, java.sql.Timestamp updateDate)
.
java.util.Collection getAllUserSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
Does the same thing as 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.
User createFromClusterUser(ClusterUser clusterUser)
ClusterUser[] getAllClusterUserSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
PaginationResult search(int transform, int pageNumber, int pageSize, Search search)
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface PersonDao
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.PaginationResult search(int pageNumber, int pageSize, Search search)
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface PersonDao
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.java.util.Set search(int transform, Search search)
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
transform
- the transformation flag.search
- the search object which provides the search parameters and pagination specification.
java.util.Set search(Search search)
search
object.
search
in interface PersonDao
search
- the search object which provides the search parameters and pagination specification.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |