fr.ifremer.allegro.administration.user.ageReader
Class AgeReaderQualificationDaoBase

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.administration.user.ageReader.AgeReaderQualificationDaoBase
All Implemented Interfaces:
AgeReaderQualificationDao
Direct Known Subclasses:
AgeReaderQualificationDaoImpl

public abstract class AgeReaderQualificationDaoBase
extends org.springframework.orm.hibernate3.support.HibernateDaoSupport
implements AgeReaderQualificationDao

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

See Also:
AgeReaderQualification

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.administration.user.ageReader.AgeReaderQualificationDao
TRANSFORM_CLUSTERAGEREADERQUALIFICATION, TRANSFORM_NONE, TRANSFORM_REMOTEAGEREADERQUALIFICATIONFULLVO, TRANSFORM_REMOTEAGEREADERQUALIFICATIONNATURALID
 
Constructor Summary
AgeReaderQualificationDaoBase()
           
 
Method Summary
 void clusterAgeReaderQualificationToEntity(ClusterAgeReaderQualification source, AgeReaderQualification target, boolean copyIfNull)
          Copies the fields of ClusterAgeReaderQualification to the specified entity.
 void clusterAgeReaderQualificationToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type ClusterAgeReaderQualification to this DAO's entity.
 AgeReaderQualification create(AgeReaderQualification ageReaderQualification)
          Creates an instance of fr.ifremer.allegro.administration.user.ageReader.AgeReaderQualification and adds it to the persistent store.
 java.util.Collection create(java.util.Collection entities)
          Creates a new instance of fr.ifremer.allegro.administration.user.ageReader.AgeReaderQualification and adds from the passed in entities collection
 AgeReaderQualification create(java.util.Collection locations, java.lang.Integer qualificationLevel, ReferenceTaxon referenceTaxon, java.util.Date startDate)
           Creates a new fr.ifremer.allegro.administration.user.ageReader.AgeReaderQualification instance from only required properties (attributes and association ends) and adds it to the persistent store.
 AgeReaderQualification create(java.util.Date startDate, java.util.Date endDate, java.lang.Integer qualificationLevel, java.util.Collection people, ReferenceTaxon referenceTaxon, java.util.Collection locations)
           Creates a new fr.ifremer.allegro.administration.user.ageReader.AgeReaderQualification instance from all attributes and properties and adds it to the persistent store.
 java.lang.Object create(int transform, AgeReaderQualification ageReaderQualification)
           Does the same thing as AgeReaderQualificationDao.create(fr.ifremer.allegro.administration.user.ageReader.AgeReaderQualification) with an additional flag called transform.
 java.util.Collection create(int transform, java.util.Collection entities)
           Does the same thing as AgeReaderQualificationDao.create(fr.ifremer.allegro.administration.user.ageReader.AgeReaderQualification) with an additional flag called transform.
 java.lang.Object create(int transform, java.util.Collection locations, java.lang.Integer qualificationLevel, ReferenceTaxon referenceTaxon, java.util.Date startDate)
           Does the same thing as AgeReaderQualificationDao.create(java.util.Collection,java.lang.Integer,fr.ifremer.allegro.referential.taxon.ReferenceTaxon,java.util.Date) with an additional flag called transform.
 java.lang.Object create(int transform, java.util.Date startDate, java.util.Date endDate, java.lang.Integer qualificationLevel, java.util.Collection people, ReferenceTaxon referenceTaxon, java.util.Collection locations)
           Does the same thing as AgeReaderQualificationDao.create(java.util.Date,java.util.Date,java.lang.Integer,java.util.Collection,fr.ifremer.allegro.referential.taxon.ReferenceTaxon,java.util.Collection) with an additional flag called transform.
 AgeReaderQualification createFromClusterAgeReaderQualification(ClusterAgeReaderQualification clusterAgeReaderQualification)
           
 AgeReaderQualification findAgeReaderQualificationById(java.lang.Integer id)
           
 java.lang.Object findAgeReaderQualificationById(int transform, java.lang.Integer id)
           Does the same thing as AgeReaderQualificationDao.findAgeReaderQualificationById(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findAgeReaderQualificationById(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as AgeReaderQualificationDao.findAgeReaderQualificationById(int, java.lang.Integer) with an additional argument called queryString.
 AgeReaderQualification findAgeReaderQualificationById(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as AgeReaderQualificationDao.findAgeReaderQualificationById(java.lang.Integer) with an additional argument called queryString.
 AgeReaderQualification findAgeReaderQualificationByNaturalId(java.lang.Integer id)
           
 java.lang.Object findAgeReaderQualificationByNaturalId(int transform, java.lang.Integer id)
           Does the same thing as AgeReaderQualificationDao.findAgeReaderQualificationByNaturalId(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findAgeReaderQualificationByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as AgeReaderQualificationDao.findAgeReaderQualificationByNaturalId(int, java.lang.Integer) with an additional argument called queryString.
 AgeReaderQualification findAgeReaderQualificationByNaturalId(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as AgeReaderQualificationDao.findAgeReaderQualificationByNaturalId(java.lang.Integer) with an additional argument called queryString.
 java.util.Collection findAgeReaderQualificationByReferenceTaxon(int transform, int pageNumber, int pageSize, ReferenceTaxon referenceTaxon)
           Does the same thing as AgeReaderQualificationDao.findAgeReaderQualificationByReferenceTaxon(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findAgeReaderQualificationByReferenceTaxon(int pageNumber, int pageSize, ReferenceTaxon referenceTaxon)
           Does the same thing as AgeReaderQualificationDao.findAgeReaderQualificationByReferenceTaxon(fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findAgeReaderQualificationByReferenceTaxon(int transform, ReferenceTaxon referenceTaxon)
           Does the same thing as AgeReaderQualificationDao.findAgeReaderQualificationByReferenceTaxon(fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an additional flag called transform.
 java.util.Collection findAgeReaderQualificationByReferenceTaxon(int transform, java.lang.String queryString, int pageNumber, int pageSize, ReferenceTaxon referenceTaxon)
           Does the same thing as AgeReaderQualificationDao.findAgeReaderQualificationByReferenceTaxon(int, String, fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findAgeReaderQualificationByReferenceTaxon(int transform, java.lang.String queryString, ReferenceTaxon referenceTaxon)
           Does the same thing as AgeReaderQualificationDao.findAgeReaderQualificationByReferenceTaxon(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an additional argument called queryString.
 java.util.Collection findAgeReaderQualificationByReferenceTaxon(ReferenceTaxon referenceTaxon)
           
 java.util.Collection findAgeReaderQualificationByReferenceTaxon(java.lang.String queryString, int pageNumber, int pageSize, ReferenceTaxon referenceTaxon)
           Does the same thing as AgeReaderQualificationDao.findAgeReaderQualificationByReferenceTaxon(String, fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findAgeReaderQualificationByReferenceTaxon(java.lang.String queryString, ReferenceTaxon referenceTaxon)
           Does the same thing as AgeReaderQualificationDao.findAgeReaderQualificationByReferenceTaxon(fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an additional argument called queryString.
 java.util.Collection getAllAgeReaderQualification()
           
 java.util.Collection getAllAgeReaderQualification(int transform)
           Does the same thing as AgeReaderQualificationDao.getAllAgeReaderQualification() with an additional flag called transform.
 java.util.Collection getAllAgeReaderQualification(int pageNumber, int pageSize)
           Does the same thing as AgeReaderQualificationDao.getAllAgeReaderQualification() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllAgeReaderQualification(int transform, int pageNumber, int pageSize)
           Does the same thing as AgeReaderQualificationDao.getAllAgeReaderQualification(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllAgeReaderQualification(int transform, java.lang.String queryString)
           Does the same thing as AgeReaderQualificationDao.getAllAgeReaderQualification(int) with an additional argument called queryString.
 java.util.Collection getAllAgeReaderQualification(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as AgeReaderQualificationDao.getAllAgeReaderQualification(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllAgeReaderQualification(java.lang.String queryString)
           Does the same thing as AgeReaderQualificationDao.getAllAgeReaderQualification() with an additional argument called queryString.
 java.util.Collection getAllAgeReaderQualification(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as AgeReaderQualificationDao.getAllAgeReaderQualification(String) with an additional two arguments called pageNumber and pageSize.
 ClusterAgeReaderQualification[] getAllClusterAgeReaderQualification(java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
protected  LocationDao getLocationDao()
          Gets the reference to locationDao.
protected  PersonDao getPersonDao()
          Gets the reference to personDao.
protected  java.security.Principal getPrincipal()
          Gets the current principal if one has been set, otherwise returns null.
protected  ReferenceTaxonDao getReferenceTaxonDao()
          Gets the reference to referenceTaxonDao.
protected abstract  AgeReaderQualification handleCreateFromClusterAgeReaderQualification(ClusterAgeReaderQualification clusterAgeReaderQualification)
          Performs the core logic for createFromClusterAgeReaderQualification(fr.ifremer.allegro.administration.user.ageReader.generic.cluster.ClusterAgeReaderQualification)
protected abstract  ClusterAgeReaderQualification[] handleGetAllClusterAgeReaderQualification(java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
          Performs the core logic for getAllClusterAgeReaderQualification(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 AgeReaderQualification load(java.lang.Integer id)
          Loads an instance of fr.ifremer.allegro.administration.user.ageReader.AgeReaderQualification from the persistent store.
 java.lang.Object load(int transform, java.lang.Integer id)
           Does the same thing as AgeReaderQualificationDao.load(java.lang.Integer) with an additional flag called transform.
 java.util.Collection loadAll()
          Loads all entities of type AgeReaderQualification.
 java.util.Collection loadAll(int transform)
           Does the same thing as AgeReaderQualificationDao.loadAll() with an additional flag called transform.
 java.util.Collection loadAll(int pageNumber, int pageSize)
           Does the same thing as AgeReaderQualificationDao.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 AgeReaderQualificationDao.loadAll(int) with an additional two arguments called pageNumber and pageSize.
 void remoteAgeReaderQualificationFullVOToEntity(RemoteAgeReaderQualificationFullVO source, AgeReaderQualification target, boolean copyIfNull)
          Copies the fields of RemoteAgeReaderQualificationFullVO to the specified entity.
 void remoteAgeReaderQualificationFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteAgeReaderQualificationFullVO to this DAO's entity.
 void remoteAgeReaderQualificationNaturalIdToEntity(RemoteAgeReaderQualificationNaturalId source, AgeReaderQualification target, boolean copyIfNull)
          Copies the fields of RemoteAgeReaderQualificationNaturalId to the specified entity.
 void remoteAgeReaderQualificationNaturalIdToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteAgeReaderQualificationNaturalId to this DAO's entity.
 void remove(AgeReaderQualification ageReaderQualification)
          Removes the instance of fr.ifremer.allegro.administration.user.ageReader.AgeReaderQualification from the persistent store.
 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.ageReader.AgeReaderQualification having the given identifier 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 AgeReaderQualificationDao.search(fr.ifremer.allegro.Search) but with an additional flag called transform.
 java.util.Set search(Search search)
          Performs a search using the parameters specified in the given search object.
 void setLocationDao(LocationDao locationDao)
          Sets the reference to locationDao.
 void setPersonDao(PersonDao personDao)
          Sets the reference to personDao.
 void setReferenceTaxonDao(ReferenceTaxonDao referenceTaxonDao)
          Sets the reference to referenceTaxonDao.
 ClusterAgeReaderQualification toClusterAgeReaderQualification(AgeReaderQualification entity)
          Converts this DAO's entity to an object of type ClusterAgeReaderQualification.
 void toClusterAgeReaderQualification(AgeReaderQualification source, ClusterAgeReaderQualification target)
          Copies the fields of the specified entity to the target value object.
protected  ClusterAgeReaderQualification toClusterAgeReaderQualification(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 ClusterAgeReaderQualification[] toClusterAgeReaderQualificationArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type ClusterAgeReaderQualification.
 void toClusterAgeReaderQualificationCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type ClusterAgeReaderQualification.
protected  AgeReaderQualification toEntity(java.lang.Object[] row)
           
 RemoteAgeReaderQualificationFullVO toRemoteAgeReaderQualificationFullVO(AgeReaderQualification entity)
          Converts this DAO's entity to an object of type RemoteAgeReaderQualificationFullVO.
 void toRemoteAgeReaderQualificationFullVO(AgeReaderQualification source, RemoteAgeReaderQualificationFullVO target)
          Copies the fields of the specified entity to the target value object.
protected  RemoteAgeReaderQualificationFullVO toRemoteAgeReaderQualificationFullVO(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteAgeReaderQualificationFullVO[] toRemoteAgeReaderQualificationFullVOArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteAgeReaderQualificationFullVO.
 void toRemoteAgeReaderQualificationFullVOCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteAgeReaderQualificationFullVO.
 RemoteAgeReaderQualificationNaturalId toRemoteAgeReaderQualificationNaturalId(AgeReaderQualification entity)
          Converts this DAO's entity to an object of type RemoteAgeReaderQualificationNaturalId.
 void toRemoteAgeReaderQualificationNaturalId(AgeReaderQualification source, RemoteAgeReaderQualificationNaturalId target)
          Copies the fields of the specified entity to the target value object.
protected  RemoteAgeReaderQualificationNaturalId toRemoteAgeReaderQualificationNaturalId(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteAgeReaderQualificationNaturalId[] toRemoteAgeReaderQualificationNaturalIdArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteAgeReaderQualificationNaturalId.
 void toRemoteAgeReaderQualificationNaturalIdCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteAgeReaderQualificationNaturalId.
protected  void transformEntities(int transform, java.util.Collection entities)
          Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.administration.user.ageReader.AgeReaderQualification) method.
protected  java.lang.Object transformEntity(int transform, AgeReaderQualification 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.ageReader.AgeReaderQualificationDao, please note that the AgeReaderQualificationDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself will be returned.
 void update(AgeReaderQualification ageReaderQualification)
          Updates the ageReaderQualification instance in the persistent store.
 void update(java.util.Collection entities)
          Updates all instances in the entities collection 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.ageReader.AgeReaderQualificationDao
clusterAgeReaderQualificationToEntity, remoteAgeReaderQualificationFullVOToEntity, remoteAgeReaderQualificationNaturalIdToEntity
 

Constructor Detail

AgeReaderQualificationDaoBase

public AgeReaderQualificationDaoBase()
Method Detail

setReferenceTaxonDao

public void setReferenceTaxonDao(ReferenceTaxonDao referenceTaxonDao)
Sets the reference to referenceTaxonDao.


getReferenceTaxonDao

protected ReferenceTaxonDao getReferenceTaxonDao()
Gets the reference to referenceTaxonDao.


setLocationDao

public void setLocationDao(LocationDao locationDao)
Sets the reference to locationDao.


getLocationDao

protected LocationDao getLocationDao()
Gets the reference to locationDao.


setPersonDao

public void setPersonDao(PersonDao personDao)
Sets the reference to personDao.


getPersonDao

protected PersonDao getPersonDao()
Gets the reference to personDao.


load

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

Does the same thing as AgeReaderQualificationDao.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 AgeReaderQualificationDao
id - identifier of the entity to load
Returns:
either the entity or the object transformed from the entity.
See Also:
AgeReaderQualificationDao.load(int, java.lang.Integer)

load

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

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

loadAll

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

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

loadAll

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

Does the same thing as AgeReaderQualificationDao.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 AgeReaderQualificationDao
Parameters:
transform - the flag indicating what transformation to use.
Returns:
the loaded entities.
See Also:
AgeReaderQualificationDao.loadAll(int)

loadAll

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

Does the same thing as AgeReaderQualificationDao.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 AgeReaderQualificationDao
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:
AgeReaderQualificationDao.loadAll(int, int)

loadAll

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

Does the same thing as AgeReaderQualificationDao.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 AgeReaderQualificationDao
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:
AgeReaderQualificationDao.loadAll(int, int, int)

create

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

Specified by:
create in interface AgeReaderQualificationDao
See Also:
AgeReaderQualificationDao.create(fr.ifremer.allegro.administration.user.ageReader.AgeReaderQualification)

create

public java.lang.Object create(int transform,
                               AgeReaderQualification ageReaderQualification)
Description copied from interface: AgeReaderQualificationDao

Does the same thing as AgeReaderQualificationDao.create(fr.ifremer.allegro.administration.user.ageReader.AgeReaderQualification) 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 AgeReaderQualificationDao
See Also:
AgeReaderQualificationDao.create(int transform, fr.ifremer.allegro.administration.user.ageReader.AgeReaderQualification)

create

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

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

create

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

Does the same thing as AgeReaderQualificationDao.create(fr.ifremer.allegro.administration.user.ageReader.AgeReaderQualification) 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 AgeReaderQualificationDao
See Also:
AgeReaderQualificationDao.create(int, java.util.Collection)

create

public AgeReaderQualification create(java.util.Date startDate,
                                     java.util.Date endDate,
                                     java.lang.Integer qualificationLevel,
                                     java.util.Collection people,
                                     ReferenceTaxon referenceTaxon,
                                     java.util.Collection locations)
Description copied from interface: AgeReaderQualificationDao

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

Specified by:
create in interface AgeReaderQualificationDao
See Also:
AgeReaderQualificationDao.create(java.util.Date,java.util.Date,java.lang.Integer,java.util.Collection,fr.ifremer.allegro.referential.taxon.ReferenceTaxon,java.util.Collection)

create

public java.lang.Object create(int transform,
                               java.util.Date startDate,
                               java.util.Date endDate,
                               java.lang.Integer qualificationLevel,
                               java.util.Collection people,
                               ReferenceTaxon referenceTaxon,
                               java.util.Collection locations)
Description copied from interface: AgeReaderQualificationDao

Does the same thing as AgeReaderQualificationDao.create(java.util.Date,java.util.Date,java.lang.Integer,java.util.Collection,fr.ifremer.allegro.referential.taxon.ReferenceTaxon,java.util.Collection) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then the returned entity will NOT be transformed. If this flag is any of the other constants defined here then the result WILL BE passed through an operation which can optionally transform the entity (into a value object for example). By default, transformation does not occur.

Specified by:
create in interface AgeReaderQualificationDao
See Also:
AgeReaderQualificationDao.create(int, java.util.Date,java.util.Date,java.lang.Integer,java.util.Collection,fr.ifremer.allegro.referential.taxon.ReferenceTaxon,java.util.Collection)

create

public AgeReaderQualification create(java.util.Collection locations,
                                     java.lang.Integer qualificationLevel,
                                     ReferenceTaxon referenceTaxon,
                                     java.util.Date startDate)
Description copied from interface: AgeReaderQualificationDao

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

Specified by:
create in interface AgeReaderQualificationDao
See Also:
AgeReaderQualificationDao.create(java.util.Collection,java.lang.Integer,fr.ifremer.allegro.referential.taxon.ReferenceTaxon,java.util.Date)

create

public java.lang.Object create(int transform,
                               java.util.Collection locations,
                               java.lang.Integer qualificationLevel,
                               ReferenceTaxon referenceTaxon,
                               java.util.Date startDate)
Description copied from interface: AgeReaderQualificationDao

Does the same thing as AgeReaderQualificationDao.create(java.util.Collection,java.lang.Integer,fr.ifremer.allegro.referential.taxon.ReferenceTaxon,java.util.Date) 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 AgeReaderQualificationDao
See Also:
AgeReaderQualificationDao.create(int, java.util.Collection,java.lang.Integer,fr.ifremer.allegro.referential.taxon.ReferenceTaxon,java.util.Date)

update

public void update(AgeReaderQualification ageReaderQualification)
Description copied from interface: AgeReaderQualificationDao
Updates the ageReaderQualification instance in the persistent store.

Specified by:
update in interface AgeReaderQualificationDao
See Also:
AgeReaderQualificationDao.update(fr.ifremer.allegro.administration.user.ageReader.AgeReaderQualification)

update

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

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

remove

public void remove(AgeReaderQualification ageReaderQualification)
Description copied from interface: AgeReaderQualificationDao
Removes the instance of fr.ifremer.allegro.administration.user.ageReader.AgeReaderQualification from the persistent store.

Specified by:
remove in interface AgeReaderQualificationDao
See Also:
AgeReaderQualificationDao.remove(fr.ifremer.allegro.administration.user.ageReader.AgeReaderQualification)

remove

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

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

remove

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

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

getAllAgeReaderQualification

public java.util.Collection getAllAgeReaderQualification()
Specified by:
getAllAgeReaderQualification in interface AgeReaderQualificationDao
See Also:
AgeReaderQualificationDao.getAllAgeReaderQualification()

getAllAgeReaderQualification

public java.util.Collection getAllAgeReaderQualification(int transform)
Description copied from interface: AgeReaderQualificationDao

Does the same thing as AgeReaderQualificationDao.getAllAgeReaderQualification() 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:
getAllAgeReaderQualification in interface AgeReaderQualificationDao
See Also:
AgeReaderQualificationDao.getAllAgeReaderQualification(int)

getAllAgeReaderQualification

public java.util.Collection getAllAgeReaderQualification(java.lang.String queryString)
Description copied from interface: AgeReaderQualificationDao

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

Specified by:
getAllAgeReaderQualification in interface AgeReaderQualificationDao
See Also:
AgeReaderQualificationDao.getAllAgeReaderQualification(java.lang.String)

getAllAgeReaderQualification

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

Does the same thing as AgeReaderQualificationDao.getAllAgeReaderQualification() 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:
getAllAgeReaderQualification in interface AgeReaderQualificationDao
See Also:
AgeReaderQualificationDao.getAllAgeReaderQualification(int, int)

getAllAgeReaderQualification

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

Does the same thing as AgeReaderQualificationDao.getAllAgeReaderQualification(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:
getAllAgeReaderQualification in interface AgeReaderQualificationDao
See Also:
AgeReaderQualificationDao.getAllAgeReaderQualification(String, int, int)

getAllAgeReaderQualification

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

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

Specified by:
getAllAgeReaderQualification in interface AgeReaderQualificationDao
See Also:
AgeReaderQualificationDao.getAllAgeReaderQualification(int, String)

getAllAgeReaderQualification

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

Does the same thing as AgeReaderQualificationDao.getAllAgeReaderQualification(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:
getAllAgeReaderQualification in interface AgeReaderQualificationDao
See Also:
AgeReaderQualificationDao.getAllAgeReaderQualification(int, int, int)

getAllAgeReaderQualification

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

Does the same thing as AgeReaderQualificationDao.getAllAgeReaderQualification(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:
getAllAgeReaderQualification in interface AgeReaderQualificationDao
See Also:
AgeReaderQualificationDao.getAllAgeReaderQualification(int, java.lang.String, int, int)

findAgeReaderQualificationById

public AgeReaderQualification findAgeReaderQualificationById(java.lang.Integer id)
Specified by:
findAgeReaderQualificationById in interface AgeReaderQualificationDao
See Also:
AgeReaderQualificationDao.findAgeReaderQualificationById(java.lang.Integer)

findAgeReaderQualificationById

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

Does the same thing as AgeReaderQualificationDao.findAgeReaderQualificationById(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:
findAgeReaderQualificationById in interface AgeReaderQualificationDao
See Also:
AgeReaderQualificationDao.findAgeReaderQualificationById(int, java.lang.Integer)

findAgeReaderQualificationById

public AgeReaderQualification findAgeReaderQualificationById(java.lang.String queryString,
                                                             java.lang.Integer id)
Description copied from interface: AgeReaderQualificationDao

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

Specified by:
findAgeReaderQualificationById in interface AgeReaderQualificationDao
See Also:
AgeReaderQualificationDao.findAgeReaderQualificationById(java.lang.String, java.lang.Integer)

findAgeReaderQualificationById

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

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

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

findAgeReaderQualificationByReferenceTaxon

public java.util.Collection findAgeReaderQualificationByReferenceTaxon(ReferenceTaxon referenceTaxon)
Specified by:
findAgeReaderQualificationByReferenceTaxon in interface AgeReaderQualificationDao
See Also:
AgeReaderQualificationDao.findAgeReaderQualificationByReferenceTaxon(fr.ifremer.allegro.referential.taxon.ReferenceTaxon)

findAgeReaderQualificationByReferenceTaxon

public java.util.Collection findAgeReaderQualificationByReferenceTaxon(int transform,
                                                                       ReferenceTaxon referenceTaxon)
Description copied from interface: AgeReaderQualificationDao

Does the same thing as AgeReaderQualificationDao.findAgeReaderQualificationByReferenceTaxon(fr.ifremer.allegro.referential.taxon.ReferenceTaxon) 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:
findAgeReaderQualificationByReferenceTaxon in interface AgeReaderQualificationDao
See Also:
AgeReaderQualificationDao.findAgeReaderQualificationByReferenceTaxon(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)

findAgeReaderQualificationByReferenceTaxon

public java.util.Collection findAgeReaderQualificationByReferenceTaxon(java.lang.String queryString,
                                                                       ReferenceTaxon referenceTaxon)
Description copied from interface: AgeReaderQualificationDao

Does the same thing as AgeReaderQualificationDao.findAgeReaderQualificationByReferenceTaxon(fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an additional argument called queryString. This queryString argument allows you to override the query string defined in AgeReaderQualificationDao.findAgeReaderQualificationByReferenceTaxon(fr.ifremer.allegro.referential.taxon.ReferenceTaxon).

Specified by:
findAgeReaderQualificationByReferenceTaxon in interface AgeReaderQualificationDao
See Also:
AgeReaderQualificationDao.findAgeReaderQualificationByReferenceTaxon(java.lang.String, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)

findAgeReaderQualificationByReferenceTaxon

public java.util.Collection findAgeReaderQualificationByReferenceTaxon(int pageNumber,
                                                                       int pageSize,
                                                                       ReferenceTaxon referenceTaxon)
Description copied from interface: AgeReaderQualificationDao

Does the same thing as AgeReaderQualificationDao.findAgeReaderQualificationByReferenceTaxon(fr.ifremer.allegro.referential.taxon.ReferenceTaxon) 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:
findAgeReaderQualificationByReferenceTaxon in interface AgeReaderQualificationDao
See Also:
AgeReaderQualificationDao.findAgeReaderQualificationByReferenceTaxon(int, int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)

findAgeReaderQualificationByReferenceTaxon

public java.util.Collection findAgeReaderQualificationByReferenceTaxon(java.lang.String queryString,
                                                                       int pageNumber,
                                                                       int pageSize,
                                                                       ReferenceTaxon referenceTaxon)
Description copied from interface: AgeReaderQualificationDao

Does the same thing as AgeReaderQualificationDao.findAgeReaderQualificationByReferenceTaxon(String, fr.ifremer.allegro.referential.taxon.ReferenceTaxon) 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:
findAgeReaderQualificationByReferenceTaxon in interface AgeReaderQualificationDao
See Also:
AgeReaderQualificationDao.findAgeReaderQualificationByReferenceTaxon(String, int, int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)

findAgeReaderQualificationByReferenceTaxon

public java.util.Collection findAgeReaderQualificationByReferenceTaxon(int transform,
                                                                       java.lang.String queryString,
                                                                       ReferenceTaxon referenceTaxon)
Description copied from interface: AgeReaderQualificationDao

Does the same thing as AgeReaderQualificationDao.findAgeReaderQualificationByReferenceTaxon(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an additional argument called queryString. This queryString argument allows you to override the query string defined in AgeReaderQualificationDao.findAgeReaderQualificationByReferenceTaxon(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon referenceTaxon).

Specified by:
findAgeReaderQualificationByReferenceTaxon in interface AgeReaderQualificationDao
See Also:
AgeReaderQualificationDao.findAgeReaderQualificationByReferenceTaxon(int, String, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)

findAgeReaderQualificationByReferenceTaxon

public java.util.Collection findAgeReaderQualificationByReferenceTaxon(int transform,
                                                                       int pageNumber,
                                                                       int pageSize,
                                                                       ReferenceTaxon referenceTaxon)
Description copied from interface: AgeReaderQualificationDao

Does the same thing as AgeReaderQualificationDao.findAgeReaderQualificationByReferenceTaxon(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon) 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:
findAgeReaderQualificationByReferenceTaxon in interface AgeReaderQualificationDao
See Also:
AgeReaderQualificationDao.findAgeReaderQualificationByReferenceTaxon(int, int, int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)

findAgeReaderQualificationByReferenceTaxon

public java.util.Collection findAgeReaderQualificationByReferenceTaxon(int transform,
                                                                       java.lang.String queryString,
                                                                       int pageNumber,
                                                                       int pageSize,
                                                                       ReferenceTaxon referenceTaxon)
Description copied from interface: AgeReaderQualificationDao

Does the same thing as AgeReaderQualificationDao.findAgeReaderQualificationByReferenceTaxon(int, String, fr.ifremer.allegro.referential.taxon.ReferenceTaxon) 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:
findAgeReaderQualificationByReferenceTaxon in interface AgeReaderQualificationDao
See Also:
AgeReaderQualificationDao.findAgeReaderQualificationByReferenceTaxon(int, java.lang.String, int, int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)

findAgeReaderQualificationByNaturalId

public AgeReaderQualification findAgeReaderQualificationByNaturalId(java.lang.Integer id)
Specified by:
findAgeReaderQualificationByNaturalId in interface AgeReaderQualificationDao
See Also:
AgeReaderQualificationDao.findAgeReaderQualificationByNaturalId(java.lang.Integer)

findAgeReaderQualificationByNaturalId

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

Does the same thing as AgeReaderQualificationDao.findAgeReaderQualificationByNaturalId(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:
findAgeReaderQualificationByNaturalId in interface AgeReaderQualificationDao
See Also:
AgeReaderQualificationDao.findAgeReaderQualificationByNaturalId(int, java.lang.Integer)

findAgeReaderQualificationByNaturalId

public AgeReaderQualification findAgeReaderQualificationByNaturalId(java.lang.String queryString,
                                                                    java.lang.Integer id)
Description copied from interface: AgeReaderQualificationDao

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

Specified by:
findAgeReaderQualificationByNaturalId in interface AgeReaderQualificationDao
See Also:
AgeReaderQualificationDao.findAgeReaderQualificationByNaturalId(java.lang.String, java.lang.Integer)

findAgeReaderQualificationByNaturalId

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

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

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

createFromClusterAgeReaderQualification

public AgeReaderQualification createFromClusterAgeReaderQualification(ClusterAgeReaderQualification clusterAgeReaderQualification)
Specified by:
createFromClusterAgeReaderQualification in interface AgeReaderQualificationDao
See Also:
AgeReaderQualificationDao.createFromClusterAgeReaderQualification(fr.ifremer.allegro.administration.user.ageReader.generic.cluster.ClusterAgeReaderQualification)

handleCreateFromClusterAgeReaderQualification

protected abstract AgeReaderQualification handleCreateFromClusterAgeReaderQualification(ClusterAgeReaderQualification clusterAgeReaderQualification)
                                                                                 throws java.lang.Exception
Performs the core logic for createFromClusterAgeReaderQualification(fr.ifremer.allegro.administration.user.ageReader.generic.cluster.ClusterAgeReaderQualification)

Throws:
java.lang.Exception

getAllClusterAgeReaderQualification

public ClusterAgeReaderQualification[] getAllClusterAgeReaderQualification(java.lang.Integer userId,
                                                                           java.lang.Integer[] registrationLocationIds,
                                                                           java.lang.Integer pageNumber,
                                                                           java.lang.Integer pageSize)
Specified by:
getAllClusterAgeReaderQualification in interface AgeReaderQualificationDao
See Also:
AgeReaderQualificationDao.getAllClusterAgeReaderQualification(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

handleGetAllClusterAgeReaderQualification

protected abstract ClusterAgeReaderQualification[] handleGetAllClusterAgeReaderQualification(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 getAllClusterAgeReaderQualification(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Throws:
java.lang.Exception

transformEntity

protected java.lang.Object transformEntity(int transform,
                                           AgeReaderQualification 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.ageReader.AgeReaderQualificationDao, please note that the AgeReaderQualificationDao.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 AgeReaderQualificationDao.TRANSFORM_NONE is assumed.

Parameters:
transform - one of the constants declared in AgeReaderQualificationDao
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.ageReader.AgeReaderQualification) 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.ageReader.AgeReaderQualificationDao
entities - the collection of entities to transform
See Also:
transformEntity(int,fr.ifremer.allegro.administration.user.ageReader.AgeReaderQualification)

toEntity

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

toRemoteAgeReaderQualificationFullVOCollection

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

Specified by:
toRemoteAgeReaderQualificationFullVOCollection in interface AgeReaderQualificationDao
See Also:
AgeReaderQualificationDao.toRemoteAgeReaderQualificationFullVOCollection(java.util.Collection)

toRemoteAgeReaderQualificationFullVOArray

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

Specified by:
toRemoteAgeReaderQualificationFullVOArray in interface AgeReaderQualificationDao
See Also:
AgeReaderQualificationDao.toRemoteAgeReaderQualificationFullVOArray(java.util.Collection)

toRemoteAgeReaderQualificationFullVO

protected RemoteAgeReaderQualificationFullVO toRemoteAgeReaderQualificationFullVO(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 AgeReaderQualificationDaoImpl class if you intend to use reporting queries.

See Also:
AgeReaderQualificationDao.toRemoteAgeReaderQualificationFullVO(fr.ifremer.allegro.administration.user.ageReader.AgeReaderQualification)

remoteAgeReaderQualificationFullVOToEntityCollection

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

Specified by:
remoteAgeReaderQualificationFullVOToEntityCollection in interface AgeReaderQualificationDao
See Also:
AgeReaderQualificationDao.remoteAgeReaderQualificationFullVOToEntityCollection(java.util.Collection)

toRemoteAgeReaderQualificationFullVO

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

toRemoteAgeReaderQualificationFullVO

public RemoteAgeReaderQualificationFullVO toRemoteAgeReaderQualificationFullVO(AgeReaderQualification entity)
Description copied from interface: AgeReaderQualificationDao
Converts this DAO's entity to an object of type RemoteAgeReaderQualificationFullVO.

Specified by:
toRemoteAgeReaderQualificationFullVO in interface AgeReaderQualificationDao
See Also:
AgeReaderQualificationDao.toRemoteAgeReaderQualificationFullVO(fr.ifremer.allegro.administration.user.ageReader.AgeReaderQualification)

remoteAgeReaderQualificationFullVOToEntity

public void remoteAgeReaderQualificationFullVOToEntity(RemoteAgeReaderQualificationFullVO source,
                                                       AgeReaderQualification target,
                                                       boolean copyIfNull)
Description copied from interface: AgeReaderQualificationDao
Copies the fields of RemoteAgeReaderQualificationFullVO to the specified entity.

Specified by:
remoteAgeReaderQualificationFullVOToEntity in interface AgeReaderQualificationDao
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.ageReader.AgeReaderQualificationDao#remoteAgeReaderQualificationFullVOToEntity(fr.ifremer.allegro.administration.user.ageReader.generic.vo.RemoteAgeReaderQualificationFullVO, fr.ifremer.allegro.administration.user.ageReader.AgeReaderQualification)

toRemoteAgeReaderQualificationNaturalIdCollection

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

Specified by:
toRemoteAgeReaderQualificationNaturalIdCollection in interface AgeReaderQualificationDao
See Also:
AgeReaderQualificationDao.toRemoteAgeReaderQualificationNaturalIdCollection(java.util.Collection)

toRemoteAgeReaderQualificationNaturalIdArray

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

Specified by:
toRemoteAgeReaderQualificationNaturalIdArray in interface AgeReaderQualificationDao
See Also:
AgeReaderQualificationDao.toRemoteAgeReaderQualificationNaturalIdArray(java.util.Collection)

toRemoteAgeReaderQualificationNaturalId

protected RemoteAgeReaderQualificationNaturalId toRemoteAgeReaderQualificationNaturalId(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 AgeReaderQualificationDaoImpl class if you intend to use reporting queries.

See Also:
AgeReaderQualificationDao.toRemoteAgeReaderQualificationNaturalId(fr.ifremer.allegro.administration.user.ageReader.AgeReaderQualification)

remoteAgeReaderQualificationNaturalIdToEntityCollection

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

Specified by:
remoteAgeReaderQualificationNaturalIdToEntityCollection in interface AgeReaderQualificationDao
See Also:
AgeReaderQualificationDao.remoteAgeReaderQualificationNaturalIdToEntityCollection(java.util.Collection)

toRemoteAgeReaderQualificationNaturalId

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

toRemoteAgeReaderQualificationNaturalId

public RemoteAgeReaderQualificationNaturalId toRemoteAgeReaderQualificationNaturalId(AgeReaderQualification entity)
Description copied from interface: AgeReaderQualificationDao
Converts this DAO's entity to an object of type RemoteAgeReaderQualificationNaturalId.

Specified by:
toRemoteAgeReaderQualificationNaturalId in interface AgeReaderQualificationDao
See Also:
AgeReaderQualificationDao.toRemoteAgeReaderQualificationNaturalId(fr.ifremer.allegro.administration.user.ageReader.AgeReaderQualification)

remoteAgeReaderQualificationNaturalIdToEntity

public void remoteAgeReaderQualificationNaturalIdToEntity(RemoteAgeReaderQualificationNaturalId source,
                                                          AgeReaderQualification target,
                                                          boolean copyIfNull)
Description copied from interface: AgeReaderQualificationDao
Copies the fields of RemoteAgeReaderQualificationNaturalId to the specified entity.

Specified by:
remoteAgeReaderQualificationNaturalIdToEntity in interface AgeReaderQualificationDao
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.ageReader.AgeReaderQualificationDao#remoteAgeReaderQualificationNaturalIdToEntity(fr.ifremer.allegro.administration.user.ageReader.generic.vo.RemoteAgeReaderQualificationNaturalId, fr.ifremer.allegro.administration.user.ageReader.AgeReaderQualification)

toClusterAgeReaderQualificationCollection

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

Specified by:
toClusterAgeReaderQualificationCollection in interface AgeReaderQualificationDao
See Also:
AgeReaderQualificationDao.toClusterAgeReaderQualificationCollection(java.util.Collection)

toClusterAgeReaderQualificationArray

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

Specified by:
toClusterAgeReaderQualificationArray in interface AgeReaderQualificationDao
See Also:
AgeReaderQualificationDao.toClusterAgeReaderQualificationArray(java.util.Collection)

toClusterAgeReaderQualification

protected ClusterAgeReaderQualification toClusterAgeReaderQualification(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 AgeReaderQualificationDaoImpl class if you intend to use reporting queries.

See Also:
AgeReaderQualificationDao.toClusterAgeReaderQualification(fr.ifremer.allegro.administration.user.ageReader.AgeReaderQualification)

clusterAgeReaderQualificationToEntityCollection

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

Specified by:
clusterAgeReaderQualificationToEntityCollection in interface AgeReaderQualificationDao
See Also:
AgeReaderQualificationDao.clusterAgeReaderQualificationToEntityCollection(java.util.Collection)

toClusterAgeReaderQualification

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

toClusterAgeReaderQualification

public ClusterAgeReaderQualification toClusterAgeReaderQualification(AgeReaderQualification entity)
Description copied from interface: AgeReaderQualificationDao
Converts this DAO's entity to an object of type ClusterAgeReaderQualification.

Specified by:
toClusterAgeReaderQualification in interface AgeReaderQualificationDao
See Also:
AgeReaderQualificationDao.toClusterAgeReaderQualification(fr.ifremer.allegro.administration.user.ageReader.AgeReaderQualification)

clusterAgeReaderQualificationToEntity

public void clusterAgeReaderQualificationToEntity(ClusterAgeReaderQualification source,
                                                  AgeReaderQualification target,
                                                  boolean copyIfNull)
Description copied from interface: AgeReaderQualificationDao
Copies the fields of ClusterAgeReaderQualification to the specified entity.

Specified by:
clusterAgeReaderQualificationToEntity in interface AgeReaderQualificationDao
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.ageReader.AgeReaderQualificationDao#clusterAgeReaderQualificationToEntity(fr.ifremer.allegro.administration.user.ageReader.generic.cluster.ClusterAgeReaderQualification, fr.ifremer.allegro.administration.user.ageReader.AgeReaderQualification)

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: AgeReaderQualificationDao
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 AgeReaderQualificationDao
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:
AgeReaderQualificationDao.search(int, int, int, fr.ifremer.allegro.Search)

search

public PaginationResult search(int pageNumber,
                               int pageSize,
                               Search search)
Description copied from interface: AgeReaderQualificationDao
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 AgeReaderQualificationDao
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:
AgeReaderQualificationDao.search(int, int, fr.ifremer.allegro.Search)

search

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

search

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

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


Copyright © 2008-2010 IFREMER. All Rights Reserved.