fr.ifremer.allegro.administration.user
Class UserProfilDaoBase

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

public abstract class UserProfilDaoBase
extends org.springframework.orm.hibernate3.support.HibernateDaoSupport
implements UserProfilDao

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

See Also:
UserProfil

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.administration.user.UserProfilDao
TRANSFORM_CLUSTERUSERPROFIL, TRANSFORM_NONE, TRANSFORM_REMOTEUSERPROFILFULLVO, TRANSFORM_REMOTEUSERPROFILNATURALID
 
Constructor Summary
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 collection.
 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

UserProfilDaoBase

public UserProfilDaoBase()
Method Detail

load

public java.lang.Object load(int transform,
                             java.lang.Integer id)
Description copied from interface: 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.

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

load

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

Specified by:
load in interface UserProfilDao
See Also:
UserProfilDao.load(java.lang.Integer)

loadAll

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

Specified by:
loadAll in interface UserProfilDao
Returns:
the loaded entities.
See Also:
UserProfilDao.loadAll()

loadAll

public java.util.Collection loadAll(int transform)
Description copied from interface: 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.

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

loadAll

public java.util.Collection loadAll(int pageNumber,
                                    int pageSize)
Description copied from interface: 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.

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

loadAll

public java.util.Collection loadAll(int transform,
                                    int pageNumber,
                                    int pageSize)
Description copied from interface: 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.

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

create

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

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

create

public java.lang.Object create(int transform,
                               UserProfil userProfil)
Description copied from interface: 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.

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

create

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

Specified by:
create in interface UserProfilDao
Parameters:
entities - the collection of fr.ifremer.allegro.administration.user.UserProfil instances to create.
Returns:
the created instances.
See Also:
UserProfilDao.create(java.util.Collection)

create

public java.util.Collection create(int transform,
                                   java.util.Collection entities)
Description copied from interface: 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.

Specified by:
create in interface UserProfilDao
See Also:
UserProfilDao.create(int, java.util.Collection)

create

public UserProfil create(java.lang.Integer id,
                         java.lang.String label,
                         java.lang.String name,
                         java.sql.Timestamp updateDate)
Description copied from interface: UserProfilDao

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

Specified by:
create in interface UserProfilDao
See Also:
UserProfilDao.create(java.lang.Integer,java.lang.String,java.lang.String,java.sql.Timestamp)

create

public java.lang.Object create(int transform,
                               java.lang.Integer id,
                               java.lang.String label,
                               java.lang.String name,
                               java.sql.Timestamp updateDate)
Description copied from interface: 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.

Specified by:
create in interface UserProfilDao
See Also:
UserProfilDao.create(int, java.lang.Integer,java.lang.String,java.lang.String,java.sql.Timestamp)

create

public UserProfil create(java.lang.Integer id,
                         java.lang.String label,
                         java.lang.String name)
Description copied from interface: 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.

Specified by:
create in interface UserProfilDao
See Also:
UserProfilDao.create(java.lang.Integer,java.lang.String,java.lang.String)

create

public java.lang.Object create(int transform,
                               java.lang.Integer id,
                               java.lang.String label,
                               java.lang.String name)
Description copied from interface: 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.

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

update

public void update(UserProfil userProfil)
Description copied from interface: UserProfilDao
Updates the userProfil instance in the persistent store.

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

update

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

Specified by:
update in interface UserProfilDao
See Also:
UserProfilDao.update(java.util.Collection)

remove

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

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

remove

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

Specified by:
remove in interface UserProfilDao
See Also:
UserProfilDao.remove(java.lang.Integer)

remove

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

Specified by:
remove in interface UserProfilDao
See Also:
UserProfilDao.remove(java.util.Collection)

getAllUserProfil

public java.util.Collection getAllUserProfil()
Specified by:
getAllUserProfil in interface UserProfilDao
See Also:
UserProfilDao.getAllUserProfil()

getAllUserProfil

public java.util.Collection getAllUserProfil(int transform)
Description copied from interface: 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.

Specified by:
getAllUserProfil in interface UserProfilDao
See Also:
UserProfilDao.getAllUserProfil(int)

getAllUserProfil

public java.util.Collection getAllUserProfil(java.lang.String queryString)
Description copied from interface: 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().

Specified by:
getAllUserProfil in interface UserProfilDao
See Also:
UserProfilDao.getAllUserProfil(java.lang.String)

getAllUserProfil

public java.util.Collection getAllUserProfil(int pageNumber,
                                             int pageSize)
Description copied from interface: 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.

Specified by:
getAllUserProfil in interface UserProfilDao
See Also:
UserProfilDao.getAllUserProfil(int, int)

getAllUserProfil

public java.util.Collection getAllUserProfil(java.lang.String queryString,
                                             int pageNumber,
                                             int pageSize)
Description copied from interface: 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.

Specified by:
getAllUserProfil in interface UserProfilDao
See Also:
UserProfilDao.getAllUserProfil(String, int, int)

getAllUserProfil

public java.util.Collection getAllUserProfil(int transform,
                                             java.lang.String queryString)
Description copied from interface: 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).

Specified by:
getAllUserProfil in interface UserProfilDao
See Also:
UserProfilDao.getAllUserProfil(int, String)

getAllUserProfil

public java.util.Collection getAllUserProfil(int transform,
                                             int pageNumber,
                                             int pageSize)
Description copied from interface: 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.

Specified by:
getAllUserProfil in interface UserProfilDao
See Also:
UserProfilDao.getAllUserProfil(int, int, int)

getAllUserProfil

public java.util.Collection getAllUserProfil(int transform,
                                             java.lang.String queryString,
                                             int pageNumber,
                                             int pageSize)
Description copied from interface: 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.

Specified by:
getAllUserProfil in interface UserProfilDao
See Also:
UserProfilDao.getAllUserProfil(int, java.lang.String, int, int)

findUserProfilById

public UserProfil findUserProfilById(java.lang.Integer id)
Specified by:
findUserProfilById in interface UserProfilDao
See Also:
UserProfilDao.findUserProfilById(java.lang.Integer)

findUserProfilById

public java.lang.Object findUserProfilById(int transform,
                                           java.lang.Integer id)
Description copied from interface: 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.

Specified by:
findUserProfilById in interface UserProfilDao
See Also:
UserProfilDao.findUserProfilById(int, java.lang.Integer)

findUserProfilById

public UserProfil findUserProfilById(java.lang.String queryString,
                                     java.lang.Integer id)
Description copied from interface: 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).

Specified by:
findUserProfilById in interface UserProfilDao
See Also:
UserProfilDao.findUserProfilById(java.lang.String, java.lang.Integer)

findUserProfilById

public java.lang.Object findUserProfilById(int transform,
                                           java.lang.String queryString,
                                           java.lang.Integer id)
Description copied from interface: 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).

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

findUserProfilByNaturalId

public UserProfil findUserProfilByNaturalId(java.lang.Integer id)
Specified by:
findUserProfilByNaturalId in interface UserProfilDao
See Also:
UserProfilDao.findUserProfilByNaturalId(java.lang.Integer)

findUserProfilByNaturalId

public java.lang.Object findUserProfilByNaturalId(int transform,
                                                  java.lang.Integer id)
Description copied from interface: 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.

Specified by:
findUserProfilByNaturalId in interface UserProfilDao
See Also:
UserProfilDao.findUserProfilByNaturalId(int, java.lang.Integer)

findUserProfilByNaturalId

public UserProfil findUserProfilByNaturalId(java.lang.String queryString,
                                            java.lang.Integer id)
Description copied from interface: 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).

Specified by:
findUserProfilByNaturalId in interface UserProfilDao
See Also:
UserProfilDao.findUserProfilByNaturalId(java.lang.String, java.lang.Integer)

findUserProfilByNaturalId

public java.lang.Object findUserProfilByNaturalId(int transform,
                                                  java.lang.String queryString,
                                                  java.lang.Integer id)
Description copied from interface: 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).

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

getAllUserProfilSinceDateSynchro

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

getAllUserProfilSinceDateSynchro

public java.util.Collection getAllUserProfilSinceDateSynchro(int transform,
                                                             java.sql.Timestamp updateDate)
Description copied from interface: 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.

Specified by:
getAllUserProfilSinceDateSynchro in interface UserProfilDao
See Also:
UserProfilDao.getAllUserProfilSinceDateSynchro(int, java.sql.Timestamp)

getAllUserProfilSinceDateSynchro

public java.util.Collection getAllUserProfilSinceDateSynchro(java.lang.String queryString,
                                                             java.sql.Timestamp updateDate)
Description copied from interface: 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).

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

getAllUserProfilSinceDateSynchro

public java.util.Collection getAllUserProfilSinceDateSynchro(int pageNumber,
                                                             int pageSize,
                                                             java.sql.Timestamp updateDate)
Description copied from interface: 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.

Specified by:
getAllUserProfilSinceDateSynchro in interface UserProfilDao
See Also:
UserProfilDao.getAllUserProfilSinceDateSynchro(int, int, java.sql.Timestamp)

getAllUserProfilSinceDateSynchro

public java.util.Collection getAllUserProfilSinceDateSynchro(java.lang.String queryString,
                                                             int pageNumber,
                                                             int pageSize,
                                                             java.sql.Timestamp updateDate)
Description copied from interface: 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.

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

getAllUserProfilSinceDateSynchro

public java.util.Collection getAllUserProfilSinceDateSynchro(int transform,
                                                             java.lang.String queryString,
                                                             java.sql.Timestamp updateDate)
Description copied from interface: 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).

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

getAllUserProfilSinceDateSynchro

public java.util.Collection getAllUserProfilSinceDateSynchro(int transform,
                                                             int pageNumber,
                                                             int pageSize,
                                                             java.sql.Timestamp updateDate)
Description copied from interface: 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.

Specified by:
getAllUserProfilSinceDateSynchro in interface UserProfilDao
See Also:
UserProfilDao.getAllUserProfilSinceDateSynchro(int, int, int, java.sql.Timestamp)

getAllUserProfilSinceDateSynchro

public java.util.Collection getAllUserProfilSinceDateSynchro(int transform,
                                                             java.lang.String queryString,
                                                             int pageNumber,
                                                             int pageSize,
                                                             java.sql.Timestamp updateDate)
Description copied from interface: 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.

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

createFromClusterUserProfil

public UserProfil createFromClusterUserProfil(ClusterUserProfil clusterUserProfil)
Specified by:
createFromClusterUserProfil in interface UserProfilDao
See Also:
UserProfilDao.createFromClusterUserProfil(fr.ifremer.allegro.administration.user.generic.cluster.ClusterUserProfil)

handleCreateFromClusterUserProfil

protected abstract UserProfil handleCreateFromClusterUserProfil(ClusterUserProfil clusterUserProfil)
                                                         throws java.lang.Exception
Performs the core logic for createFromClusterUserProfil(fr.ifremer.allegro.administration.user.generic.cluster.ClusterUserProfil)

Throws:
java.lang.Exception

getAllClusterUserProfilSinceDateSynchro

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

handleGetAllClusterUserProfilSinceDateSynchro

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
Performs the core logic for getAllClusterUserProfilSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Throws:
java.lang.Exception

transformEntity

protected java.lang.Object transformEntity(int transform,
                                           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.

This method will return instances of these types:

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

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

transformEntities

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

This method is to be used internally only.

Parameters:
transform - one of the constants declared in fr.ifremer.allegro.administration.user.UserProfilDao
entities - the collection of entities to transform
See Also:
transformEntity(int,fr.ifremer.allegro.administration.user.UserProfil)

toEntity

protected UserProfil toEntity(java.lang.Object[] row)

toRemoteUserProfilFullVOCollection

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

Specified by:
toRemoteUserProfilFullVOCollection in interface UserProfilDao
See Also:
UserProfilDao.toRemoteUserProfilFullVOCollection(java.util.Collection)

toRemoteUserProfilFullVOArray

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

Specified by:
toRemoteUserProfilFullVOArray in interface UserProfilDao
See Also:
UserProfilDao.toRemoteUserProfilFullVOArray(java.util.Collection)

toRemoteUserProfilFullVO

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

See Also:
UserProfilDao.toRemoteUserProfilFullVO(fr.ifremer.allegro.administration.user.UserProfil)

remoteUserProfilFullVOToEntityCollection

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

Specified by:
remoteUserProfilFullVOToEntityCollection in interface UserProfilDao
See Also:
UserProfilDao.remoteUserProfilFullVOToEntityCollection(java.util.Collection)

toRemoteUserProfilFullVO

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

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

toRemoteUserProfilFullVO

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

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

remoteUserProfilFullVOToEntity

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

Specified by:
remoteUserProfilFullVOToEntity in interface UserProfilDao
copyIfNull - If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE, it will be copied regardless of its value.
See Also:
fr.ifremer.allegro.administration.user.UserProfilDao#remoteUserProfilFullVOToEntity(fr.ifremer.allegro.administration.user.generic.vo.RemoteUserProfilFullVO, fr.ifremer.allegro.administration.user.UserProfil)

toRemoteUserProfilNaturalIdCollection

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

Specified by:
toRemoteUserProfilNaturalIdCollection in interface UserProfilDao
See Also:
UserProfilDao.toRemoteUserProfilNaturalIdCollection(java.util.Collection)

toRemoteUserProfilNaturalIdArray

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

Specified by:
toRemoteUserProfilNaturalIdArray in interface UserProfilDao
See Also:
UserProfilDao.toRemoteUserProfilNaturalIdArray(java.util.Collection)

toRemoteUserProfilNaturalId

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

See Also:
UserProfilDao.toRemoteUserProfilNaturalId(fr.ifremer.allegro.administration.user.UserProfil)

remoteUserProfilNaturalIdToEntityCollection

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

Specified by:
remoteUserProfilNaturalIdToEntityCollection in interface UserProfilDao
See Also:
UserProfilDao.remoteUserProfilNaturalIdToEntityCollection(java.util.Collection)

toRemoteUserProfilNaturalId

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

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

toRemoteUserProfilNaturalId

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

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

remoteUserProfilNaturalIdToEntity

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

Specified by:
remoteUserProfilNaturalIdToEntity in interface UserProfilDao
copyIfNull - If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE, it will be copied regardless of its value.
See Also:
fr.ifremer.allegro.administration.user.UserProfilDao#remoteUserProfilNaturalIdToEntity(fr.ifremer.allegro.administration.user.generic.vo.RemoteUserProfilNaturalId, fr.ifremer.allegro.administration.user.UserProfil)

toClusterUserProfilCollection

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

Specified by:
toClusterUserProfilCollection in interface UserProfilDao
See Also:
UserProfilDao.toClusterUserProfilCollection(java.util.Collection)

toClusterUserProfilArray

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

Specified by:
toClusterUserProfilArray in interface UserProfilDao
See Also:
UserProfilDao.toClusterUserProfilArray(java.util.Collection)

toClusterUserProfil

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

See Also:
UserProfilDao.toClusterUserProfil(fr.ifremer.allegro.administration.user.UserProfil)

clusterUserProfilToEntityCollection

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

Specified by:
clusterUserProfilToEntityCollection in interface UserProfilDao
See Also:
UserProfilDao.clusterUserProfilToEntityCollection(java.util.Collection)

toClusterUserProfil

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

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

toClusterUserProfil

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

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

clusterUserProfilToEntity

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

Specified by:
clusterUserProfilToEntity in interface UserProfilDao
copyIfNull - If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE, it will be copied regardless of its value.
See Also:
fr.ifremer.allegro.administration.user.UserProfilDao#clusterUserProfilToEntity(fr.ifremer.allegro.administration.user.generic.cluster.ClusterUserProfil, fr.ifremer.allegro.administration.user.UserProfil)

getPrincipal

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

Returns:
the current principal

search

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

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

search

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

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

search

public java.util.Set search(int transform,
                            Search search)
Description copied from interface: UserProfilDao
Does the same thing as 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.

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

search

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

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


Copyright © 2008-2010 IFREMER. All Rights Reserved.