|
||||||||||
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.UserProfilDaoBase
public abstract class UserProfilDaoBase
Base Spring DAO Class: is able to create, update, remove, load, and find
objects of type fr.ifremer.allegro.administration.user.UserProfil
.
UserProfil
Field Summary |
---|
Fields inherited from interface fr.ifremer.allegro.administration.user.UserProfilDao |
---|
TRANSFORM_CLUSTERUSERPROFIL, TRANSFORM_NONE, TRANSFORM_REMOTEUSERPROFILFULLVO, TRANSFORM_REMOTEUSERPROFILNATURALID |
Constructor Summary | |
---|---|
UserProfilDaoBase()
|
Method Summary | |
---|---|
void |
clusterUserProfilToEntity(ClusterUserProfil source,
UserProfil target,
boolean copyIfNull)
Copies the fields of ClusterUserProfil to the specified entity. |
void |
clusterUserProfilToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type ClusterUserProfil to this
DAO's entity. |
java.util.Collection |
create(java.util.Collection entities)
Creates a new instance of fr.ifremer.allegro.administration.user.UserProfil and adds from the passed in entities collection |
java.util.Collection |
create(int transform,
java.util.Collection entities)
Does the same thing as UserProfilDao.create(fr.ifremer.allegro.administration.user.UserProfil) with an
additional flag called transform . |
UserProfil |
create(java.lang.Integer id,
java.lang.String label,
java.lang.String name)
Creates a new fr.ifremer.allegro.administration.user.UserProfil
instance from only required properties (attributes
and association ends) and adds it to the persistent store. |
UserProfil |
create(java.lang.Integer id,
java.lang.String label,
java.lang.String name,
java.sql.Timestamp updateDate)
Creates a new fr.ifremer.allegro.administration.user.UserProfil
instance from all attributes and
properties and adds it to the persistent store. |
java.lang.Object |
create(int transform,
java.lang.Integer id,
java.lang.String label,
java.lang.String name)
Does the same thing as UserProfilDao.create(java.lang.Integer,java.lang.String,java.lang.String) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
java.lang.Integer id,
java.lang.String label,
java.lang.String name,
java.sql.Timestamp updateDate)
Does the same thing as UserProfilDao.create(java.lang.Integer,java.lang.String,java.lang.String,java.sql.Timestamp) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
UserProfil userProfil)
Does the same thing as UserProfilDao.create(fr.ifremer.allegro.administration.user.UserProfil) with an
additional flag called transform . |
UserProfil |
create(UserProfil userProfil)
Creates an instance of fr.ifremer.allegro.administration.user.UserProfil and adds it to the persistent store. |
UserProfil |
createFromClusterUserProfil(ClusterUserProfil clusterUserProfil)
|
UserProfil |
findUserProfilById(java.lang.Integer id)
|
java.lang.Object |
findUserProfilById(int transform,
java.lang.Integer id)
Does the same thing as UserProfilDao.findUserProfilById(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findUserProfilById(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as UserProfilDao.findUserProfilById(int, java.lang.Integer) with an
additional argument called queryString . |
UserProfil |
findUserProfilById(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as UserProfilDao.findUserProfilById(java.lang.Integer) with an
additional argument called queryString . |
UserProfil |
findUserProfilByNaturalId(java.lang.Integer id)
|
java.lang.Object |
findUserProfilByNaturalId(int transform,
java.lang.Integer id)
Does the same thing as UserProfilDao.findUserProfilByNaturalId(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findUserProfilByNaturalId(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as UserProfilDao.findUserProfilByNaturalId(int, java.lang.Integer) with an
additional argument called queryString . |
UserProfil |
findUserProfilByNaturalId(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as UserProfilDao.findUserProfilByNaturalId(java.lang.Integer) with an
additional argument called queryString . |
ClusterUserProfil[] |
getAllClusterUserProfilSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize)
|
java.util.Collection |
getAllUserProfil()
|
java.util.Collection |
getAllUserProfil(int transform)
Does the same thing as UserProfilDao.getAllUserProfil() with an
additional flag called transform . |
java.util.Collection |
getAllUserProfil(int pageNumber,
int pageSize)
Does the same thing as UserProfilDao.getAllUserProfil() with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllUserProfil(int transform,
int pageNumber,
int pageSize)
Does the same thing as UserProfilDao.getAllUserProfil(int) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllUserProfil(int transform,
java.lang.String queryString)
Does the same thing as UserProfilDao.getAllUserProfil(int) with an
additional argument called queryString . |
java.util.Collection |
getAllUserProfil(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as UserProfilDao.getAllUserProfil(int, String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllUserProfil(java.lang.String queryString)
Does the same thing as UserProfilDao.getAllUserProfil() with an
additional argument called queryString . |
java.util.Collection |
getAllUserProfil(java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as UserProfilDao.getAllUserProfil(String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllUserProfilSinceDateSynchro(int transform,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as UserProfilDao.getAllUserProfilSinceDateSynchro(int, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllUserProfilSinceDateSynchro(int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as UserProfilDao.getAllUserProfilSinceDateSynchro(java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllUserProfilSinceDateSynchro(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as UserProfilDao.getAllUserProfilSinceDateSynchro(int, String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllUserProfilSinceDateSynchro(int transform,
java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as UserProfilDao.getAllUserProfilSinceDateSynchro(int, java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllUserProfilSinceDateSynchro(int transform,
java.sql.Timestamp updateDate)
Does the same thing as UserProfilDao.getAllUserProfilSinceDateSynchro(java.sql.Timestamp) with an
additional flag called transform . |
java.util.Collection |
getAllUserProfilSinceDateSynchro(java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as UserProfilDao.getAllUserProfilSinceDateSynchro(String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllUserProfilSinceDateSynchro(java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as UserProfilDao.getAllUserProfilSinceDateSynchro(java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllUserProfilSinceDateSynchro(java.sql.Timestamp updateDate)
|
protected java.security.Principal |
getPrincipal()
Gets the current principal if one has been set,
otherwise returns null . |
protected abstract UserProfil |
handleCreateFromClusterUserProfil(ClusterUserProfil clusterUserProfil)
Performs the core logic for createFromClusterUserProfil(fr.ifremer.allegro.administration.user.generic.cluster.ClusterUserProfil) |
protected abstract ClusterUserProfil[] |
handleGetAllClusterUserProfilSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize)
Performs the core logic for getAllClusterUserProfilSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer) |
UserProfil |
load(java.lang.Integer id)
Loads an instance of fr.ifremer.allegro.administration.user.UserProfil from the persistent store. |
java.lang.Object |
load(int transform,
java.lang.Integer id)
Does the same thing as UserProfilDao.load(java.lang.Integer) with an
additional flag called transform . |
java.util.Collection |
loadAll()
Loads all entities of type UserProfil . |
java.util.Collection |
loadAll(int transform)
Does the same thing as UserProfilDao.loadAll() with an
additional flag called transform . |
java.util.Collection |
loadAll(int pageNumber,
int pageSize)
Does the same thing as UserProfilDao.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 UserProfilDao.loadAll(int) with an
additional two arguments called pageNumber and pageSize . |
void |
remoteUserProfilFullVOToEntity(RemoteUserProfilFullVO source,
UserProfil target,
boolean copyIfNull)
Copies the fields of RemoteUserProfilFullVO to the specified entity. |
void |
remoteUserProfilFullVOToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteUserProfilFullVO to this
DAO's entity. |
void |
remoteUserProfilNaturalIdToEntity(RemoteUserProfilNaturalId source,
UserProfil target,
boolean copyIfNull)
Copies the fields of RemoteUserProfilNaturalId to the specified entity. |
void |
remoteUserProfilNaturalIdToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteUserProfilNaturalId 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.UserProfil having the given identifier from the persistent store. |
void |
remove(UserProfil userProfil)
Removes the instance of fr.ifremer.allegro.administration.user.UserProfil 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 UserProfilDao.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. |
protected ClusterUserProfil |
toClusterUserProfil(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
ClusterUserProfil |
toClusterUserProfil(UserProfil entity)
Converts this DAO's entity to an object of type ClusterUserProfil . |
void |
toClusterUserProfil(UserProfil source,
ClusterUserProfil target)
Copies the fields of the specified entity to the target value object. |
ClusterUserProfil[] |
toClusterUserProfilArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type ClusterUserProfil . |
void |
toClusterUserProfilCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type ClusterUserProfil . |
protected UserProfil |
toEntity(java.lang.Object[] row)
|
protected RemoteUserProfilFullVO |
toRemoteUserProfilFullVO(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteUserProfilFullVO |
toRemoteUserProfilFullVO(UserProfil entity)
Converts this DAO's entity to an object of type RemoteUserProfilFullVO . |
void |
toRemoteUserProfilFullVO(UserProfil source,
RemoteUserProfilFullVO target)
Copies the fields of the specified entity to the target value object. |
RemoteUserProfilFullVO[] |
toRemoteUserProfilFullVOArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteUserProfilFullVO . |
void |
toRemoteUserProfilFullVOCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteUserProfilFullVO . |
protected RemoteUserProfilNaturalId |
toRemoteUserProfilNaturalId(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteUserProfilNaturalId |
toRemoteUserProfilNaturalId(UserProfil entity)
Converts this DAO's entity to an object of type RemoteUserProfilNaturalId . |
void |
toRemoteUserProfilNaturalId(UserProfil source,
RemoteUserProfilNaturalId target)
Copies the fields of the specified entity to the target value object. |
RemoteUserProfilNaturalId[] |
toRemoteUserProfilNaturalIdArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteUserProfilNaturalId . |
void |
toRemoteUserProfilNaturalIdCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteUserProfilNaturalId . |
protected void |
transformEntities(int transform,
java.util.Collection entities)
Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.administration.user.UserProfil)
method. |
protected java.lang.Object |
transformEntity(int transform,
UserProfil 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.UserProfilDao , please note
that the UserProfilDao.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(UserProfil userProfil)
Updates the userProfil instance in the persistent store. |
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.UserProfilDao |
---|
clusterUserProfilToEntity, remoteUserProfilFullVOToEntity, remoteUserProfilNaturalIdToEntity |
Constructor Detail |
---|
public UserProfilDaoBase()
Method Detail |
---|
public java.lang.Object load(int transform, java.lang.Integer id)
UserProfilDao
Does the same thing as UserProfilDao.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 UserProfilDao
id
- identifier of the entity to load
UserProfilDao.load(int, java.lang.Integer)
public UserProfil load(java.lang.Integer id)
UserProfilDao
load
in interface UserProfilDao
UserProfilDao.load(java.lang.Integer)
public java.util.Collection loadAll()
UserProfilDao
UserProfil
.
loadAll
in interface UserProfilDao
UserProfilDao.loadAll()
public java.util.Collection loadAll(int transform)
UserProfilDao
Does the same thing as UserProfilDao.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 UserProfilDao
transform
- the flag indicating what transformation to use.
UserProfilDao.loadAll(int)
public java.util.Collection loadAll(int pageNumber, int pageSize)
UserProfilDao
Does the same thing as UserProfilDao.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 UserProfilDao
pageNumber
- the page number to retrieve when paging results.pageSize
- the size of the page to retrieve when paging results.
UserProfilDao.loadAll(int, int)
public java.util.Collection loadAll(int transform, int pageNumber, int pageSize)
UserProfilDao
Does the same thing as UserProfilDao.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 UserProfilDao
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.
UserProfilDao.loadAll(int, int, int)
public UserProfil create(UserProfil userProfil)
UserProfilDao
create
in interface UserProfilDao
UserProfilDao.create(fr.ifremer.allegro.administration.user.UserProfil)
public java.lang.Object create(int transform, UserProfil userProfil)
UserProfilDao
Does the same thing as UserProfilDao.create(fr.ifremer.allegro.administration.user.UserProfil)
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 UserProfilDao
UserProfilDao.create(int transform, fr.ifremer.allegro.administration.user.UserProfil)
public java.util.Collection create(java.util.Collection entities)
UserProfilDao
entities
collection
create
in interface UserProfilDao
entities
- the collection of fr.ifremer.allegro.administration.user.UserProfil
instances to create.
UserProfilDao.create(java.util.Collection)
public java.util.Collection create(int transform, java.util.Collection entities)
UserProfilDao
Does the same thing as UserProfilDao.create(fr.ifremer.allegro.administration.user.UserProfil)
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 UserProfilDao
UserProfilDao.create(int, java.util.Collection)
public UserProfil create(java.lang.Integer id, java.lang.String label, java.lang.String name, java.sql.Timestamp updateDate)
UserProfilDao
Creates a new fr.ifremer.allegro.administration.user.UserProfil
instance from all attributes and
properties and adds it to the persistent store.
create
in interface UserProfilDao
UserProfilDao.create(java.lang.Integer,java.lang.String,java.lang.String,java.sql.Timestamp)
public java.lang.Object create(int transform, java.lang.Integer id, java.lang.String label, java.lang.String name, java.sql.Timestamp updateDate)
UserProfilDao
Does the same thing as UserProfilDao.create(java.lang.Integer,java.lang.String,java.lang.String,java.sql.Timestamp)
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 UserProfilDao
UserProfilDao.create(int, java.lang.Integer,java.lang.String,java.lang.String,java.sql.Timestamp)
public UserProfil create(java.lang.Integer id, java.lang.String label, java.lang.String name)
UserProfilDao
Creates a new fr.ifremer.allegro.administration.user.UserProfil
instance from only required properties (attributes
and association ends) and adds it to the persistent store.
create
in interface UserProfilDao
UserProfilDao.create(java.lang.Integer,java.lang.String,java.lang.String)
public java.lang.Object create(int transform, java.lang.Integer id, java.lang.String label, java.lang.String name)
UserProfilDao
Does the same thing as UserProfilDao.create(java.lang.Integer,java.lang.String,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 UserProfilDao
UserProfilDao.create(int, java.lang.Integer,java.lang.String,java.lang.String)
public void update(UserProfil userProfil)
UserProfilDao
userProfil
instance in the persistent store.
update
in interface UserProfilDao
UserProfilDao.update(fr.ifremer.allegro.administration.user.UserProfil)
public void update(java.util.Collection entities)
UserProfilDao
entities
collection in the persistent store.
update
in interface UserProfilDao
UserProfilDao.update(java.util.Collection)
public void remove(UserProfil userProfil)
UserProfilDao
remove
in interface UserProfilDao
UserProfilDao.remove(fr.ifremer.allegro.administration.user.UserProfil)
public void remove(java.lang.Integer id)
UserProfilDao
identifier
from the persistent store.
remove
in interface UserProfilDao
UserProfilDao.remove(java.lang.Integer)
public void remove(java.util.Collection entities)
UserProfilDao
entities collection.
- Specified by:
remove
in interface UserProfilDao
- See Also:
UserProfilDao.remove(java.util.Collection)
public java.util.Collection getAllUserProfil()
getAllUserProfil
in interface UserProfilDao
UserProfilDao.getAllUserProfil()
public java.util.Collection getAllUserProfil(int transform)
UserProfilDao
Does the same thing as UserProfilDao.getAllUserProfil()
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.
getAllUserProfil
in interface UserProfilDao
UserProfilDao.getAllUserProfil(int)
public java.util.Collection getAllUserProfil(java.lang.String queryString)
UserProfilDao
Does the same thing as UserProfilDao.getAllUserProfil()
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in UserProfilDao.getAllUserProfil()
.
getAllUserProfil
in interface UserProfilDao
UserProfilDao.getAllUserProfil(java.lang.String)
public java.util.Collection getAllUserProfil(int pageNumber, int pageSize)
UserProfilDao
Does the same thing as UserProfilDao.getAllUserProfil()
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.
getAllUserProfil
in interface UserProfilDao
UserProfilDao.getAllUserProfil(int, int)
public java.util.Collection getAllUserProfil(java.lang.String queryString, int pageNumber, int pageSize)
UserProfilDao
Does the same thing as UserProfilDao.getAllUserProfil(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.
getAllUserProfil
in interface UserProfilDao
UserProfilDao.getAllUserProfil(String, int, int)
public java.util.Collection getAllUserProfil(int transform, java.lang.String queryString)
UserProfilDao
Does the same thing as UserProfilDao.getAllUserProfil(int)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in UserProfilDao.getAllUserProfil(int)
.
getAllUserProfil
in interface UserProfilDao
UserProfilDao.getAllUserProfil(int, String)
public java.util.Collection getAllUserProfil(int transform, int pageNumber, int pageSize)
UserProfilDao
Does the same thing as UserProfilDao.getAllUserProfil(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.
getAllUserProfil
in interface UserProfilDao
UserProfilDao.getAllUserProfil(int, int, int)
public java.util.Collection getAllUserProfil(int transform, java.lang.String queryString, int pageNumber, int pageSize)
UserProfilDao
Does the same thing as UserProfilDao.getAllUserProfil(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.
getAllUserProfil
in interface UserProfilDao
UserProfilDao.getAllUserProfil(int, java.lang.String, int, int)
public UserProfil findUserProfilById(java.lang.Integer id)
findUserProfilById
in interface UserProfilDao
UserProfilDao.findUserProfilById(java.lang.Integer)
public java.lang.Object findUserProfilById(int transform, java.lang.Integer id)
UserProfilDao
Does the same thing as UserProfilDao.findUserProfilById(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.
findUserProfilById
in interface UserProfilDao
UserProfilDao.findUserProfilById(int, java.lang.Integer)
public UserProfil findUserProfilById(java.lang.String queryString, java.lang.Integer id)
UserProfilDao
Does the same thing as UserProfilDao.findUserProfilById(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in UserProfilDao.findUserProfilById(java.lang.Integer)
.
findUserProfilById
in interface UserProfilDao
UserProfilDao.findUserProfilById(java.lang.String, java.lang.Integer)
public java.lang.Object findUserProfilById(int transform, java.lang.String queryString, java.lang.Integer id)
UserProfilDao
Does the same thing as UserProfilDao.findUserProfilById(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in UserProfilDao.findUserProfilById(int, java.lang.Integer id)
.
findUserProfilById
in interface UserProfilDao
UserProfilDao.findUserProfilById(int, java.lang.String, java.lang.Integer)
public UserProfil findUserProfilByNaturalId(java.lang.Integer id)
findUserProfilByNaturalId
in interface UserProfilDao
UserProfilDao.findUserProfilByNaturalId(java.lang.Integer)
public java.lang.Object findUserProfilByNaturalId(int transform, java.lang.Integer id)
UserProfilDao
Does the same thing as UserProfilDao.findUserProfilByNaturalId(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.
findUserProfilByNaturalId
in interface UserProfilDao
UserProfilDao.findUserProfilByNaturalId(int, java.lang.Integer)
public UserProfil findUserProfilByNaturalId(java.lang.String queryString, java.lang.Integer id)
UserProfilDao
Does the same thing as UserProfilDao.findUserProfilByNaturalId(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in UserProfilDao.findUserProfilByNaturalId(java.lang.Integer)
.
findUserProfilByNaturalId
in interface UserProfilDao
UserProfilDao.findUserProfilByNaturalId(java.lang.String, java.lang.Integer)
public java.lang.Object findUserProfilByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
UserProfilDao
Does the same thing as UserProfilDao.findUserProfilByNaturalId(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in UserProfilDao.findUserProfilByNaturalId(int, java.lang.Integer id)
.
findUserProfilByNaturalId
in interface UserProfilDao
UserProfilDao.findUserProfilByNaturalId(int, java.lang.String, java.lang.Integer)
public java.util.Collection getAllUserProfilSinceDateSynchro(java.sql.Timestamp updateDate)
getAllUserProfilSinceDateSynchro
in interface UserProfilDao
UserProfilDao.getAllUserProfilSinceDateSynchro(java.sql.Timestamp)
public java.util.Collection getAllUserProfilSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
UserProfilDao
Does the same thing as UserProfilDao.getAllUserProfilSinceDateSynchro(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.
getAllUserProfilSinceDateSynchro
in interface UserProfilDao
UserProfilDao.getAllUserProfilSinceDateSynchro(int, java.sql.Timestamp)
public java.util.Collection getAllUserProfilSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
UserProfilDao
Does the same thing as UserProfilDao.getAllUserProfilSinceDateSynchro(java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in UserProfilDao.getAllUserProfilSinceDateSynchro(java.sql.Timestamp)
.
getAllUserProfilSinceDateSynchro
in interface UserProfilDao
UserProfilDao.getAllUserProfilSinceDateSynchro(java.lang.String, java.sql.Timestamp)
public java.util.Collection getAllUserProfilSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
UserProfilDao
Does the same thing as UserProfilDao.getAllUserProfilSinceDateSynchro(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.
getAllUserProfilSinceDateSynchro
in interface UserProfilDao
UserProfilDao.getAllUserProfilSinceDateSynchro(int, int, java.sql.Timestamp)
public java.util.Collection getAllUserProfilSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
UserProfilDao
Does the same thing as UserProfilDao.getAllUserProfilSinceDateSynchro(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.
getAllUserProfilSinceDateSynchro
in interface UserProfilDao
UserProfilDao.getAllUserProfilSinceDateSynchro(String, int, int, java.sql.Timestamp)
public java.util.Collection getAllUserProfilSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
UserProfilDao
Does the same thing as UserProfilDao.getAllUserProfilSinceDateSynchro(int, java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in UserProfilDao.getAllUserProfilSinceDateSynchro(int, java.sql.Timestamp updateDate)
.
getAllUserProfilSinceDateSynchro
in interface UserProfilDao
UserProfilDao.getAllUserProfilSinceDateSynchro(int, String, java.sql.Timestamp)
public java.util.Collection getAllUserProfilSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
UserProfilDao
Does the same thing as UserProfilDao.getAllUserProfilSinceDateSynchro(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.
getAllUserProfilSinceDateSynchro
in interface UserProfilDao
UserProfilDao.getAllUserProfilSinceDateSynchro(int, int, int, java.sql.Timestamp)
public java.util.Collection getAllUserProfilSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
UserProfilDao
Does the same thing as UserProfilDao.getAllUserProfilSinceDateSynchro(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.
getAllUserProfilSinceDateSynchro
in interface UserProfilDao
UserProfilDao.getAllUserProfilSinceDateSynchro(int, java.lang.String, int, int, java.sql.Timestamp)
public UserProfil createFromClusterUserProfil(ClusterUserProfil clusterUserProfil)
createFromClusterUserProfil
in interface UserProfilDao
UserProfilDao.createFromClusterUserProfil(fr.ifremer.allegro.administration.user.generic.cluster.ClusterUserProfil)
protected abstract UserProfil handleCreateFromClusterUserProfil(ClusterUserProfil clusterUserProfil) throws java.lang.Exception
createFromClusterUserProfil(fr.ifremer.allegro.administration.user.generic.cluster.ClusterUserProfil)
java.lang.Exception
public ClusterUserProfil[] getAllClusterUserProfilSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
getAllClusterUserProfilSinceDateSynchro
in interface UserProfilDao
UserProfilDao.getAllClusterUserProfilSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected abstract ClusterUserProfil[] handleGetAllClusterUserProfilSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize) throws java.lang.Exception
getAllClusterUserProfilSinceDateSynchro(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, UserProfil entity)
transform
flag is set to one of the constants defined in fr.ifremer.allegro.administration.user.UserProfilDao
, please note
that the UserProfilDao.TRANSFORM_NONE
constant denotes no transformation, so the entity itself
will be returned.
This method will return instances of these types:
UserProfil
- UserProfilDao.TRANSFORM_NONE
RemoteUserProfilFullVO
- TRANSFORM_REMOTEUSERPROFILFULLVO
RemoteUserProfilNaturalId
- TRANSFORM_REMOTEUSERPROFILNATURALID
ClusterUserProfil
- TRANSFORM_CLUSTERUSERPROFIL
UserProfilDao.TRANSFORM_NONE
is assumed.
transform
- one of the constants declared in UserProfilDao
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.UserProfil)
method. This method does not instantiate a new collection.
This method is to be used internally only.
transform
- one of the constants declared in fr.ifremer.allegro.administration.user.UserProfilDao
entities
- the collection of entities to transformtransformEntity(int,fr.ifremer.allegro.administration.user.UserProfil)
protected UserProfil toEntity(java.lang.Object[] row)
public final void toRemoteUserProfilFullVOCollection(java.util.Collection entities)
UserProfilDao
RemoteUserProfilFullVO
.
toRemoteUserProfilFullVOCollection
in interface UserProfilDao
UserProfilDao.toRemoteUserProfilFullVOCollection(java.util.Collection)
public final RemoteUserProfilFullVO[] toRemoteUserProfilFullVOArray(java.util.Collection entities)
UserProfilDao
RemoteUserProfilFullVO
.
toRemoteUserProfilFullVOArray
in interface UserProfilDao
UserProfilDao.toRemoteUserProfilFullVOArray(java.util.Collection)
protected RemoteUserProfilFullVO toRemoteUserProfilFullVO(java.lang.Object[] row)
UserProfilDaoImpl
class if you intend to use reporting queries.
UserProfilDao.toRemoteUserProfilFullVO(fr.ifremer.allegro.administration.user.UserProfil)
public final void remoteUserProfilFullVOToEntityCollection(java.util.Collection instances)
UserProfilDao
RemoteUserProfilFullVO
to this
DAO's entity.
remoteUserProfilFullVOToEntityCollection
in interface UserProfilDao
UserProfilDao.remoteUserProfilFullVOToEntityCollection(java.util.Collection)
public void toRemoteUserProfilFullVO(UserProfil source, RemoteUserProfilFullVO target)
UserProfilDao
toRemoteUserProfilFullVO
in interface UserProfilDao
UserProfilDao.toRemoteUserProfilFullVO(fr.ifremer.allegro.administration.user.UserProfil, fr.ifremer.allegro.administration.user.generic.vo.RemoteUserProfilFullVO)
public RemoteUserProfilFullVO toRemoteUserProfilFullVO(UserProfil entity)
UserProfilDao
RemoteUserProfilFullVO
.
toRemoteUserProfilFullVO
in interface UserProfilDao
UserProfilDao.toRemoteUserProfilFullVO(fr.ifremer.allegro.administration.user.UserProfil)
public void remoteUserProfilFullVOToEntity(RemoteUserProfilFullVO source, UserProfil target, boolean copyIfNull)
UserProfilDao
RemoteUserProfilFullVO
to the specified entity.
remoteUserProfilFullVOToEntity
in interface UserProfilDao
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.UserProfilDao#remoteUserProfilFullVOToEntity(fr.ifremer.allegro.administration.user.generic.vo.RemoteUserProfilFullVO, fr.ifremer.allegro.administration.user.UserProfil)
public final void toRemoteUserProfilNaturalIdCollection(java.util.Collection entities)
UserProfilDao
RemoteUserProfilNaturalId
.
toRemoteUserProfilNaturalIdCollection
in interface UserProfilDao
UserProfilDao.toRemoteUserProfilNaturalIdCollection(java.util.Collection)
public final RemoteUserProfilNaturalId[] toRemoteUserProfilNaturalIdArray(java.util.Collection entities)
UserProfilDao
RemoteUserProfilNaturalId
.
toRemoteUserProfilNaturalIdArray
in interface UserProfilDao
UserProfilDao.toRemoteUserProfilNaturalIdArray(java.util.Collection)
protected RemoteUserProfilNaturalId toRemoteUserProfilNaturalId(java.lang.Object[] row)
UserProfilDaoImpl
class if you intend to use reporting queries.
UserProfilDao.toRemoteUserProfilNaturalId(fr.ifremer.allegro.administration.user.UserProfil)
public final void remoteUserProfilNaturalIdToEntityCollection(java.util.Collection instances)
UserProfilDao
RemoteUserProfilNaturalId
to this
DAO's entity.
remoteUserProfilNaturalIdToEntityCollection
in interface UserProfilDao
UserProfilDao.remoteUserProfilNaturalIdToEntityCollection(java.util.Collection)
public void toRemoteUserProfilNaturalId(UserProfil source, RemoteUserProfilNaturalId target)
UserProfilDao
toRemoteUserProfilNaturalId
in interface UserProfilDao
UserProfilDao.toRemoteUserProfilNaturalId(fr.ifremer.allegro.administration.user.UserProfil, fr.ifremer.allegro.administration.user.generic.vo.RemoteUserProfilNaturalId)
public RemoteUserProfilNaturalId toRemoteUserProfilNaturalId(UserProfil entity)
UserProfilDao
RemoteUserProfilNaturalId
.
toRemoteUserProfilNaturalId
in interface UserProfilDao
UserProfilDao.toRemoteUserProfilNaturalId(fr.ifremer.allegro.administration.user.UserProfil)
public void remoteUserProfilNaturalIdToEntity(RemoteUserProfilNaturalId source, UserProfil target, boolean copyIfNull)
UserProfilDao
RemoteUserProfilNaturalId
to the specified entity.
remoteUserProfilNaturalIdToEntity
in interface UserProfilDao
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.UserProfilDao#remoteUserProfilNaturalIdToEntity(fr.ifremer.allegro.administration.user.generic.vo.RemoteUserProfilNaturalId, fr.ifremer.allegro.administration.user.UserProfil)
public final void toClusterUserProfilCollection(java.util.Collection entities)
UserProfilDao
ClusterUserProfil
.
toClusterUserProfilCollection
in interface UserProfilDao
UserProfilDao.toClusterUserProfilCollection(java.util.Collection)
public final ClusterUserProfil[] toClusterUserProfilArray(java.util.Collection entities)
UserProfilDao
ClusterUserProfil
.
toClusterUserProfilArray
in interface UserProfilDao
UserProfilDao.toClusterUserProfilArray(java.util.Collection)
protected ClusterUserProfil toClusterUserProfil(java.lang.Object[] row)
UserProfilDaoImpl
class if you intend to use reporting queries.
UserProfilDao.toClusterUserProfil(fr.ifremer.allegro.administration.user.UserProfil)
public final void clusterUserProfilToEntityCollection(java.util.Collection instances)
UserProfilDao
ClusterUserProfil
to this
DAO's entity.
clusterUserProfilToEntityCollection
in interface UserProfilDao
UserProfilDao.clusterUserProfilToEntityCollection(java.util.Collection)
public void toClusterUserProfil(UserProfil source, ClusterUserProfil target)
UserProfilDao
toClusterUserProfil
in interface UserProfilDao
UserProfilDao.toClusterUserProfil(fr.ifremer.allegro.administration.user.UserProfil, fr.ifremer.allegro.administration.user.generic.cluster.ClusterUserProfil)
public ClusterUserProfil toClusterUserProfil(UserProfil entity)
UserProfilDao
ClusterUserProfil
.
toClusterUserProfil
in interface UserProfilDao
UserProfilDao.toClusterUserProfil(fr.ifremer.allegro.administration.user.UserProfil)
public void clusterUserProfilToEntity(ClusterUserProfil source, UserProfil target, boolean copyIfNull)
UserProfilDao
ClusterUserProfil
to the specified entity.
clusterUserProfilToEntity
in interface UserProfilDao
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.UserProfilDao#clusterUserProfilToEntity(fr.ifremer.allegro.administration.user.generic.cluster.ClusterUserProfil, fr.ifremer.allegro.administration.user.UserProfil)
protected java.security.Principal getPrincipal()
principal
if one has been set,
otherwise returns null
.
public PaginationResult search(int transform, int pageNumber, int pageSize, Search search)
UserProfilDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface UserProfilDao
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.UserProfilDao.search(int, int, int, fr.ifremer.allegro.Search)
public PaginationResult search(int pageNumber, int pageSize, Search search)
UserProfilDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface UserProfilDao
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.UserProfilDao.search(int, int, fr.ifremer.allegro.Search)
public java.util.Set search(int transform, Search search)
UserProfilDao
UserProfilDao.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 UserProfilDao
transform
- the transformation flag.search
- the search object which provides the search parameters and pagination specification.
UserProfilDao.search(int, fr.ifremer.allegro.Search)
public java.util.Set search(Search search)
UserProfilDao
search
object.
search
in interface UserProfilDao
search
- the search object which provides the search parameters and pagination specification.
UserProfilDao.search(fr.ifremer.allegro.Search)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |