fr.ifremer.allegro.referential
Class SurveyQualificationDaoBase

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.referential.SurveyQualificationDaoBase
All Implemented Interfaces:
SurveyQualificationDao
Direct Known Subclasses:
SurveyQualificationDaoImpl

public abstract class SurveyQualificationDaoBase
extends org.springframework.orm.hibernate3.support.HibernateDaoSupport
implements SurveyQualificationDao

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

See Also:
SurveyQualification

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.SurveyQualificationDao
TRANSFORM_CLUSTERSURVEYQUALIFICATION, TRANSFORM_NONE, TRANSFORM_REMOTESURVEYQUALIFICATIONFULLVO, TRANSFORM_REMOTESURVEYQUALIFICATIONNATURALID
 
Constructor Summary
SurveyQualificationDaoBase()
           
 
Method Summary
 void clusterSurveyQualificationToEntity(ClusterSurveyQualification source, SurveyQualification target, boolean copyIfNull)
          Copies the fields of ClusterSurveyQualification to the specified entity.
 void clusterSurveyQualificationToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type ClusterSurveyQualification to this DAO's entity.
 SurveyQualification create(java.lang.Boolean enableForActivity, java.lang.Boolean enableForFishingEffort, java.lang.Boolean enableForFishingTrip, java.lang.Boolean enableForLanding, java.lang.Integer id, java.lang.String name, Status status)
           Creates a new fr.ifremer.allegro.referential.SurveyQualification instance from only required properties (attributes and association ends) and adds it to the persistent store.
 java.util.Collection create(java.util.Collection entities)
          Creates a new instance of fr.ifremer.allegro.referential.SurveyQualification and adds from the passed in entities collection
 java.lang.Object create(int transform, java.lang.Boolean enableForActivity, java.lang.Boolean enableForFishingEffort, java.lang.Boolean enableForFishingTrip, java.lang.Boolean enableForLanding, java.lang.Integer id, java.lang.String name, Status status)
           Does the same thing as SurveyQualificationDao.create(java.lang.Boolean,java.lang.Boolean,java.lang.Boolean,java.lang.Boolean,java.lang.Integer,java.lang.String,fr.ifremer.allegro.referential.Status) with an additional flag called transform.
 java.util.Collection create(int transform, java.util.Collection entities)
           Does the same thing as SurveyQualificationDao.create(fr.ifremer.allegro.referential.SurveyQualification) with an additional flag called transform.
 SurveyQualification create(java.lang.Integer id, java.lang.String name, java.lang.Boolean enableForActivity, java.lang.Boolean enableForFishingEffort, java.lang.Boolean enableForFishingTrip, java.lang.Boolean enableForLanding, java.sql.Timestamp updateDate, Status status)
           Creates a new fr.ifremer.allegro.referential.SurveyQualification 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 name, java.lang.Boolean enableForActivity, java.lang.Boolean enableForFishingEffort, java.lang.Boolean enableForFishingTrip, java.lang.Boolean enableForLanding, java.sql.Timestamp updateDate, Status status)
           Does the same thing as SurveyQualificationDao.create(java.lang.Integer,java.lang.String,java.lang.Boolean,java.lang.Boolean,java.lang.Boolean,java.lang.Boolean,java.sql.Timestamp,fr.ifremer.allegro.referential.Status) with an additional flag called transform.
 java.lang.Object create(int transform, SurveyQualification surveyQualification)
           Does the same thing as SurveyQualificationDao.create(fr.ifremer.allegro.referential.SurveyQualification) with an additional flag called transform.
 SurveyQualification create(SurveyQualification surveyQualification)
          Creates an instance of fr.ifremer.allegro.referential.SurveyQualification and adds it to the persistent store.
 SurveyQualification createFromClusterSurveyQualification(ClusterSurveyQualification clusterSurveyQualification)
           
 SurveyQualification findSurveyQualificationById(java.lang.Integer id)
           
 java.lang.Object findSurveyQualificationById(int transform, java.lang.Integer id)
           Does the same thing as SurveyQualificationDao.findSurveyQualificationById(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findSurveyQualificationById(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as SurveyQualificationDao.findSurveyQualificationById(int, java.lang.Integer) with an additional argument called queryString.
 SurveyQualification findSurveyQualificationById(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as SurveyQualificationDao.findSurveyQualificationById(java.lang.Integer) with an additional argument called queryString.
 SurveyQualification findSurveyQualificationByNaturalId(java.lang.Integer id)
           
 java.lang.Object findSurveyQualificationByNaturalId(int transform, java.lang.Integer id)
           Does the same thing as SurveyQualificationDao.findSurveyQualificationByNaturalId(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findSurveyQualificationByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as SurveyQualificationDao.findSurveyQualificationByNaturalId(int, java.lang.Integer) with an additional argument called queryString.
 SurveyQualification findSurveyQualificationByNaturalId(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as SurveyQualificationDao.findSurveyQualificationByNaturalId(java.lang.Integer) with an additional argument called queryString.
 java.util.Collection findSurveyQualificationByStatus(int transform, int pageNumber, int pageSize, Status status)
           Does the same thing as SurveyQualificationDao.findSurveyQualificationByStatus(int, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSurveyQualificationByStatus(int pageNumber, int pageSize, Status status)
           Does the same thing as SurveyQualificationDao.findSurveyQualificationByStatus(fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSurveyQualificationByStatus(int transform, Status status)
           Does the same thing as SurveyQualificationDao.findSurveyQualificationByStatus(fr.ifremer.allegro.referential.Status) with an additional flag called transform.
 java.util.Collection findSurveyQualificationByStatus(int transform, java.lang.String queryString, int pageNumber, int pageSize, Status status)
           Does the same thing as SurveyQualificationDao.findSurveyQualificationByStatus(int, String, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSurveyQualificationByStatus(int transform, java.lang.String queryString, Status status)
           Does the same thing as SurveyQualificationDao.findSurveyQualificationByStatus(int, fr.ifremer.allegro.referential.Status) with an additional argument called queryString.
 java.util.Collection findSurveyQualificationByStatus(Status status)
           
 java.util.Collection findSurveyQualificationByStatus(java.lang.String queryString, int pageNumber, int pageSize, Status status)
           Does the same thing as SurveyQualificationDao.findSurveyQualificationByStatus(String, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSurveyQualificationByStatus(java.lang.String queryString, Status status)
           Does the same thing as SurveyQualificationDao.findSurveyQualificationByStatus(fr.ifremer.allegro.referential.Status) with an additional argument called queryString.
 ClusterSurveyQualification[] getAllClusterSurveyQualificationSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
 java.util.Collection getAllSurveyQualification()
           
 java.util.Collection getAllSurveyQualification(int transform)
           Does the same thing as SurveyQualificationDao.getAllSurveyQualification() with an additional flag called transform.
 java.util.Collection getAllSurveyQualification(int pageNumber, int pageSize)
           Does the same thing as SurveyQualificationDao.getAllSurveyQualification() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllSurveyQualification(int transform, int pageNumber, int pageSize)
           Does the same thing as SurveyQualificationDao.getAllSurveyQualification(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllSurveyQualification(int transform, java.lang.String queryString)
           Does the same thing as SurveyQualificationDao.getAllSurveyQualification(int) with an additional argument called queryString.
 java.util.Collection getAllSurveyQualification(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as SurveyQualificationDao.getAllSurveyQualification(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllSurveyQualification(java.lang.String queryString)
           Does the same thing as SurveyQualificationDao.getAllSurveyQualification() with an additional argument called queryString.
 java.util.Collection getAllSurveyQualification(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as SurveyQualificationDao.getAllSurveyQualification(String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllSurveyQualificationSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as SurveyQualificationDao.getAllSurveyQualificationSinceDateSynchro(int, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllSurveyQualificationSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as SurveyQualificationDao.getAllSurveyQualificationSinceDateSynchro(java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllSurveyQualificationSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as SurveyQualificationDao.getAllSurveyQualificationSinceDateSynchro(int, String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllSurveyQualificationSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as SurveyQualificationDao.getAllSurveyQualificationSinceDateSynchro(int, java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllSurveyQualificationSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
           Does the same thing as SurveyQualificationDao.getAllSurveyQualificationSinceDateSynchro(java.sql.Timestamp) with an additional flag called transform.
 java.util.Collection getAllSurveyQualificationSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as SurveyQualificationDao.getAllSurveyQualificationSinceDateSynchro(String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllSurveyQualificationSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as SurveyQualificationDao.getAllSurveyQualificationSinceDateSynchro(java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllSurveyQualificationSinceDateSynchro(java.sql.Timestamp updateDate)
           
protected  java.security.Principal getPrincipal()
          Gets the current principal if one has been set, otherwise returns null.
protected  StatusDao getStatusDao()
          Gets the reference to statusDao.
protected abstract  SurveyQualification handleCreateFromClusterSurveyQualification(ClusterSurveyQualification clusterSurveyQualification)
          Performs the core logic for createFromClusterSurveyQualification(fr.ifremer.allegro.referential.generic.cluster.ClusterSurveyQualification)
protected abstract  ClusterSurveyQualification[] handleGetAllClusterSurveyQualificationSinceDateSynchro(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 getAllClusterSurveyQualificationSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 SurveyQualification load(java.lang.Integer id)
          Loads an instance of fr.ifremer.allegro.referential.SurveyQualification from the persistent store.
 java.lang.Object load(int transform, java.lang.Integer id)
           Does the same thing as SurveyQualificationDao.load(java.lang.Integer) with an additional flag called transform.
 java.util.Collection loadAll()
          Loads all entities of type SurveyQualification.
 java.util.Collection loadAll(int transform)
           Does the same thing as SurveyQualificationDao.loadAll() with an additional flag called transform.
 java.util.Collection loadAll(int pageNumber, int pageSize)
           Does the same thing as SurveyQualificationDao.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 SurveyQualificationDao.loadAll(int) with an additional two arguments called pageNumber and pageSize.
 void remoteSurveyQualificationFullVOToEntity(RemoteSurveyQualificationFullVO source, SurveyQualification target, boolean copyIfNull)
          Copies the fields of RemoteSurveyQualificationFullVO to the specified entity.
 void remoteSurveyQualificationFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteSurveyQualificationFullVO to this DAO's entity.
 void remoteSurveyQualificationNaturalIdToEntity(RemoteSurveyQualificationNaturalId source, SurveyQualification target, boolean copyIfNull)
          Copies the fields of RemoteSurveyQualificationNaturalId to the specified entity.
 void remoteSurveyQualificationNaturalIdToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteSurveyQualificationNaturalId 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.referential.SurveyQualification having the given identifier from the persistent store.
 void remove(SurveyQualification surveyQualification)
          Removes the instance of fr.ifremer.allegro.referential.SurveyQualification 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 SurveyQualificationDao.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 setStatusDao(StatusDao statusDao)
          Sets the reference to statusDao.
protected  ClusterSurveyQualification toClusterSurveyQualification(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 ClusterSurveyQualification toClusterSurveyQualification(SurveyQualification entity)
          Converts this DAO's entity to an object of type ClusterSurveyQualification.
 void toClusterSurveyQualification(SurveyQualification source, ClusterSurveyQualification target)
          Copies the fields of the specified entity to the target value object.
 ClusterSurveyQualification[] toClusterSurveyQualificationArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type ClusterSurveyQualification.
 void toClusterSurveyQualificationCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type ClusterSurveyQualification.
protected  SurveyQualification toEntity(java.lang.Object[] row)
           
protected  RemoteSurveyQualificationFullVO toRemoteSurveyQualificationFullVO(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteSurveyQualificationFullVO toRemoteSurveyQualificationFullVO(SurveyQualification entity)
          Converts this DAO's entity to an object of type RemoteSurveyQualificationFullVO.
 void toRemoteSurveyQualificationFullVO(SurveyQualification source, RemoteSurveyQualificationFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteSurveyQualificationFullVO[] toRemoteSurveyQualificationFullVOArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteSurveyQualificationFullVO.
 void toRemoteSurveyQualificationFullVOCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteSurveyQualificationFullVO.
protected  RemoteSurveyQualificationNaturalId toRemoteSurveyQualificationNaturalId(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteSurveyQualificationNaturalId toRemoteSurveyQualificationNaturalId(SurveyQualification entity)
          Converts this DAO's entity to an object of type RemoteSurveyQualificationNaturalId.
 void toRemoteSurveyQualificationNaturalId(SurveyQualification source, RemoteSurveyQualificationNaturalId target)
          Copies the fields of the specified entity to the target value object.
 RemoteSurveyQualificationNaturalId[] toRemoteSurveyQualificationNaturalIdArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteSurveyQualificationNaturalId.
 void toRemoteSurveyQualificationNaturalIdCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteSurveyQualificationNaturalId.
protected  void transformEntities(int transform, java.util.Collection entities)
          Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.SurveyQualification) method.
protected  java.lang.Object transformEntity(int transform, SurveyQualification 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.referential.SurveyQualificationDao, please note that the SurveyQualificationDao.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(SurveyQualification surveyQualification)
          Updates the surveyQualification 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.referential.SurveyQualificationDao
clusterSurveyQualificationToEntity, remoteSurveyQualificationFullVOToEntity, remoteSurveyQualificationNaturalIdToEntity
 

Constructor Detail

SurveyQualificationDaoBase

public SurveyQualificationDaoBase()
Method Detail

setStatusDao

public void setStatusDao(StatusDao statusDao)
Sets the reference to statusDao.


getStatusDao

protected StatusDao getStatusDao()
Gets the reference to statusDao.


load

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

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

load

public SurveyQualification load(java.lang.Integer id)
Description copied from interface: SurveyQualificationDao
Loads an instance of fr.ifremer.allegro.referential.SurveyQualification from the persistent store.

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

loadAll

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

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

loadAll

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

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

loadAll

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

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

loadAll

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

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

create

public SurveyQualification create(SurveyQualification surveyQualification)
Description copied from interface: SurveyQualificationDao
Creates an instance of fr.ifremer.allegro.referential.SurveyQualification and adds it to the persistent store.

Specified by:
create in interface SurveyQualificationDao
See Also:
SurveyQualificationDao.create(fr.ifremer.allegro.referential.SurveyQualification)

create

public java.lang.Object create(int transform,
                               SurveyQualification surveyQualification)
Description copied from interface: SurveyQualificationDao

Does the same thing as SurveyQualificationDao.create(fr.ifremer.allegro.referential.SurveyQualification) 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 SurveyQualificationDao
See Also:
SurveyQualificationDao.create(int transform, fr.ifremer.allegro.referential.SurveyQualification)

create

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

Specified by:
create in interface SurveyQualificationDao
Parameters:
entities - the collection of fr.ifremer.allegro.referential.SurveyQualification instances to create.
Returns:
the created instances.
See Also:
SurveyQualificationDao.create(java.util.Collection)

create

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

Does the same thing as SurveyQualificationDao.create(fr.ifremer.allegro.referential.SurveyQualification) 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 SurveyQualificationDao
See Also:
SurveyQualificationDao.create(int, java.util.Collection)

create

public SurveyQualification create(java.lang.Integer id,
                                  java.lang.String name,
                                  java.lang.Boolean enableForActivity,
                                  java.lang.Boolean enableForFishingEffort,
                                  java.lang.Boolean enableForFishingTrip,
                                  java.lang.Boolean enableForLanding,
                                  java.sql.Timestamp updateDate,
                                  Status status)
Description copied from interface: SurveyQualificationDao

Creates a new fr.ifremer.allegro.referential.SurveyQualification instance from all attributes and properties and adds it to the persistent store.

Specified by:
create in interface SurveyQualificationDao
See Also:
SurveyQualificationDao.create(java.lang.Integer,java.lang.String,java.lang.Boolean,java.lang.Boolean,java.lang.Boolean,java.lang.Boolean,java.sql.Timestamp,fr.ifremer.allegro.referential.Status)

create

public java.lang.Object create(int transform,
                               java.lang.Integer id,
                               java.lang.String name,
                               java.lang.Boolean enableForActivity,
                               java.lang.Boolean enableForFishingEffort,
                               java.lang.Boolean enableForFishingTrip,
                               java.lang.Boolean enableForLanding,
                               java.sql.Timestamp updateDate,
                               Status status)
Description copied from interface: SurveyQualificationDao

Does the same thing as SurveyQualificationDao.create(java.lang.Integer,java.lang.String,java.lang.Boolean,java.lang.Boolean,java.lang.Boolean,java.lang.Boolean,java.sql.Timestamp,fr.ifremer.allegro.referential.Status) 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 SurveyQualificationDao
See Also:
SurveyQualificationDao.create(int, java.lang.Integer,java.lang.String,java.lang.Boolean,java.lang.Boolean,java.lang.Boolean,java.lang.Boolean,java.sql.Timestamp,fr.ifremer.allegro.referential.Status)

create

public SurveyQualification create(java.lang.Boolean enableForActivity,
                                  java.lang.Boolean enableForFishingEffort,
                                  java.lang.Boolean enableForFishingTrip,
                                  java.lang.Boolean enableForLanding,
                                  java.lang.Integer id,
                                  java.lang.String name,
                                  Status status)
Description copied from interface: SurveyQualificationDao

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

Specified by:
create in interface SurveyQualificationDao
See Also:
SurveyQualificationDao.create(java.lang.Boolean,java.lang.Boolean,java.lang.Boolean,java.lang.Boolean,java.lang.Integer,java.lang.String,fr.ifremer.allegro.referential.Status)

create

public java.lang.Object create(int transform,
                               java.lang.Boolean enableForActivity,
                               java.lang.Boolean enableForFishingEffort,
                               java.lang.Boolean enableForFishingTrip,
                               java.lang.Boolean enableForLanding,
                               java.lang.Integer id,
                               java.lang.String name,
                               Status status)
Description copied from interface: SurveyQualificationDao

Does the same thing as SurveyQualificationDao.create(java.lang.Boolean,java.lang.Boolean,java.lang.Boolean,java.lang.Boolean,java.lang.Integer,java.lang.String,fr.ifremer.allegro.referential.Status) 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 SurveyQualificationDao
See Also:
SurveyQualificationDao.create(int, java.lang.Boolean,java.lang.Boolean,java.lang.Boolean,java.lang.Boolean,java.lang.Integer,java.lang.String,fr.ifremer.allegro.referential.Status)

update

public void update(SurveyQualification surveyQualification)
Description copied from interface: SurveyQualificationDao
Updates the surveyQualification instance in the persistent store.

Specified by:
update in interface SurveyQualificationDao
See Also:
SurveyQualificationDao.update(fr.ifremer.allegro.referential.SurveyQualification)

update

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

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

remove

public void remove(SurveyQualification surveyQualification)
Description copied from interface: SurveyQualificationDao
Removes the instance of fr.ifremer.allegro.referential.SurveyQualification from the persistent store.

Specified by:
remove in interface SurveyQualificationDao
See Also:
SurveyQualificationDao.remove(fr.ifremer.allegro.referential.SurveyQualification)

remove

public void remove(java.lang.Integer id)
Description copied from interface: SurveyQualificationDao
Removes the instance of fr.ifremer.allegro.referential.SurveyQualification having the given identifier from the persistent store.

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

remove

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

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

getAllSurveyQualification

public java.util.Collection getAllSurveyQualification()
Specified by:
getAllSurveyQualification in interface SurveyQualificationDao
See Also:
SurveyQualificationDao.getAllSurveyQualification()

getAllSurveyQualification

public java.util.Collection getAllSurveyQualification(int transform)
Description copied from interface: SurveyQualificationDao

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

getAllSurveyQualification

public java.util.Collection getAllSurveyQualification(java.lang.String queryString)
Description copied from interface: SurveyQualificationDao

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

Specified by:
getAllSurveyQualification in interface SurveyQualificationDao
See Also:
SurveyQualificationDao.getAllSurveyQualification(java.lang.String)

getAllSurveyQualification

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

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

getAllSurveyQualification

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

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

getAllSurveyQualification

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

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

Specified by:
getAllSurveyQualification in interface SurveyQualificationDao
See Also:
SurveyQualificationDao.getAllSurveyQualification(int, String)

getAllSurveyQualification

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

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

getAllSurveyQualification

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

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

findSurveyQualificationById

public SurveyQualification findSurveyQualificationById(java.lang.Integer id)
Specified by:
findSurveyQualificationById in interface SurveyQualificationDao
See Also:
SurveyQualificationDao.findSurveyQualificationById(java.lang.Integer)

findSurveyQualificationById

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

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

findSurveyQualificationById

public SurveyQualification findSurveyQualificationById(java.lang.String queryString,
                                                       java.lang.Integer id)
Description copied from interface: SurveyQualificationDao

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

Specified by:
findSurveyQualificationById in interface SurveyQualificationDao
See Also:
SurveyQualificationDao.findSurveyQualificationById(java.lang.String, java.lang.Integer)

findSurveyQualificationById

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

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

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

findSurveyQualificationByStatus

public java.util.Collection findSurveyQualificationByStatus(Status status)
Specified by:
findSurveyQualificationByStatus in interface SurveyQualificationDao
See Also:
SurveyQualificationDao.findSurveyQualificationByStatus(fr.ifremer.allegro.referential.Status)

findSurveyQualificationByStatus

public java.util.Collection findSurveyQualificationByStatus(int transform,
                                                            Status status)
Description copied from interface: SurveyQualificationDao

Does the same thing as SurveyQualificationDao.findSurveyQualificationByStatus(fr.ifremer.allegro.referential.Status) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then finder results will NOT be transformed during retrieval. If this flag is any of the other constants defined here then finder results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.

Specified by:
findSurveyQualificationByStatus in interface SurveyQualificationDao
See Also:
SurveyQualificationDao.findSurveyQualificationByStatus(int, fr.ifremer.allegro.referential.Status)

findSurveyQualificationByStatus

public java.util.Collection findSurveyQualificationByStatus(java.lang.String queryString,
                                                            Status status)
Description copied from interface: SurveyQualificationDao

Does the same thing as SurveyQualificationDao.findSurveyQualificationByStatus(fr.ifremer.allegro.referential.Status) with an additional argument called queryString. This queryString argument allows you to override the query string defined in SurveyQualificationDao.findSurveyQualificationByStatus(fr.ifremer.allegro.referential.Status).

Specified by:
findSurveyQualificationByStatus in interface SurveyQualificationDao
See Also:
SurveyQualificationDao.findSurveyQualificationByStatus(java.lang.String, fr.ifremer.allegro.referential.Status)

findSurveyQualificationByStatus

public java.util.Collection findSurveyQualificationByStatus(int pageNumber,
                                                            int pageSize,
                                                            Status status)
Description copied from interface: SurveyQualificationDao

Does the same thing as SurveyQualificationDao.findSurveyQualificationByStatus(fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findSurveyQualificationByStatus in interface SurveyQualificationDao
See Also:
SurveyQualificationDao.findSurveyQualificationByStatus(int, int, fr.ifremer.allegro.referential.Status)

findSurveyQualificationByStatus

public java.util.Collection findSurveyQualificationByStatus(java.lang.String queryString,
                                                            int pageNumber,
                                                            int pageSize,
                                                            Status status)
Description copied from interface: SurveyQualificationDao

Does the same thing as SurveyQualificationDao.findSurveyQualificationByStatus(String, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findSurveyQualificationByStatus in interface SurveyQualificationDao
See Also:
SurveyQualificationDao.findSurveyQualificationByStatus(String, int, int, fr.ifremer.allegro.referential.Status)

findSurveyQualificationByStatus

public java.util.Collection findSurveyQualificationByStatus(int transform,
                                                            java.lang.String queryString,
                                                            Status status)
Description copied from interface: SurveyQualificationDao

Does the same thing as SurveyQualificationDao.findSurveyQualificationByStatus(int, fr.ifremer.allegro.referential.Status) with an additional argument called queryString. This queryString argument allows you to override the query string defined in SurveyQualificationDao.findSurveyQualificationByStatus(int, fr.ifremer.allegro.referential.Status status).

Specified by:
findSurveyQualificationByStatus in interface SurveyQualificationDao
See Also:
SurveyQualificationDao.findSurveyQualificationByStatus(int, String, fr.ifremer.allegro.referential.Status)

findSurveyQualificationByStatus

public java.util.Collection findSurveyQualificationByStatus(int transform,
                                                            int pageNumber,
                                                            int pageSize,
                                                            Status status)
Description copied from interface: SurveyQualificationDao

Does the same thing as SurveyQualificationDao.findSurveyQualificationByStatus(int, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findSurveyQualificationByStatus in interface SurveyQualificationDao
See Also:
SurveyQualificationDao.findSurveyQualificationByStatus(int, int, int, fr.ifremer.allegro.referential.Status)

findSurveyQualificationByStatus

public java.util.Collection findSurveyQualificationByStatus(int transform,
                                                            java.lang.String queryString,
                                                            int pageNumber,
                                                            int pageSize,
                                                            Status status)
Description copied from interface: SurveyQualificationDao

Does the same thing as SurveyQualificationDao.findSurveyQualificationByStatus(int, String, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findSurveyQualificationByStatus in interface SurveyQualificationDao
See Also:
SurveyQualificationDao.findSurveyQualificationByStatus(int, java.lang.String, int, int, fr.ifremer.allegro.referential.Status)

findSurveyQualificationByNaturalId

public SurveyQualification findSurveyQualificationByNaturalId(java.lang.Integer id)
Specified by:
findSurveyQualificationByNaturalId in interface SurveyQualificationDao
See Also:
SurveyQualificationDao.findSurveyQualificationByNaturalId(java.lang.Integer)

findSurveyQualificationByNaturalId

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

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

findSurveyQualificationByNaturalId

public SurveyQualification findSurveyQualificationByNaturalId(java.lang.String queryString,
                                                              java.lang.Integer id)
Description copied from interface: SurveyQualificationDao

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

Specified by:
findSurveyQualificationByNaturalId in interface SurveyQualificationDao
See Also:
SurveyQualificationDao.findSurveyQualificationByNaturalId(java.lang.String, java.lang.Integer)

findSurveyQualificationByNaturalId

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

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

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

getAllSurveyQualificationSinceDateSynchro

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

getAllSurveyQualificationSinceDateSynchro

public java.util.Collection getAllSurveyQualificationSinceDateSynchro(int transform,
                                                                      java.sql.Timestamp updateDate)
Description copied from interface: SurveyQualificationDao

Does the same thing as SurveyQualificationDao.getAllSurveyQualificationSinceDateSynchro(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:
getAllSurveyQualificationSinceDateSynchro in interface SurveyQualificationDao
See Also:
SurveyQualificationDao.getAllSurveyQualificationSinceDateSynchro(int, java.sql.Timestamp)

getAllSurveyQualificationSinceDateSynchro

public java.util.Collection getAllSurveyQualificationSinceDateSynchro(java.lang.String queryString,
                                                                      java.sql.Timestamp updateDate)
Description copied from interface: SurveyQualificationDao

Does the same thing as SurveyQualificationDao.getAllSurveyQualificationSinceDateSynchro(java.sql.Timestamp) with an additional argument called queryString. This queryString argument allows you to override the query string defined in SurveyQualificationDao.getAllSurveyQualificationSinceDateSynchro(java.sql.Timestamp).

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

getAllSurveyQualificationSinceDateSynchro

public java.util.Collection getAllSurveyQualificationSinceDateSynchro(int pageNumber,
                                                                      int pageSize,
                                                                      java.sql.Timestamp updateDate)
Description copied from interface: SurveyQualificationDao

Does the same thing as SurveyQualificationDao.getAllSurveyQualificationSinceDateSynchro(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:
getAllSurveyQualificationSinceDateSynchro in interface SurveyQualificationDao
See Also:
SurveyQualificationDao.getAllSurveyQualificationSinceDateSynchro(int, int, java.sql.Timestamp)

getAllSurveyQualificationSinceDateSynchro

public java.util.Collection getAllSurveyQualificationSinceDateSynchro(java.lang.String queryString,
                                                                      int pageNumber,
                                                                      int pageSize,
                                                                      java.sql.Timestamp updateDate)
Description copied from interface: SurveyQualificationDao

Does the same thing as SurveyQualificationDao.getAllSurveyQualificationSinceDateSynchro(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:
getAllSurveyQualificationSinceDateSynchro in interface SurveyQualificationDao
See Also:
SurveyQualificationDao.getAllSurveyQualificationSinceDateSynchro(String, int, int, java.sql.Timestamp)

getAllSurveyQualificationSinceDateSynchro

public java.util.Collection getAllSurveyQualificationSinceDateSynchro(int transform,
                                                                      java.lang.String queryString,
                                                                      java.sql.Timestamp updateDate)
Description copied from interface: SurveyQualificationDao

Does the same thing as SurveyQualificationDao.getAllSurveyQualificationSinceDateSynchro(int, java.sql.Timestamp) with an additional argument called queryString. This queryString argument allows you to override the query string defined in SurveyQualificationDao.getAllSurveyQualificationSinceDateSynchro(int, java.sql.Timestamp updateDate).

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

getAllSurveyQualificationSinceDateSynchro

public java.util.Collection getAllSurveyQualificationSinceDateSynchro(int transform,
                                                                      int pageNumber,
                                                                      int pageSize,
                                                                      java.sql.Timestamp updateDate)
Description copied from interface: SurveyQualificationDao

Does the same thing as SurveyQualificationDao.getAllSurveyQualificationSinceDateSynchro(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:
getAllSurveyQualificationSinceDateSynchro in interface SurveyQualificationDao
See Also:
SurveyQualificationDao.getAllSurveyQualificationSinceDateSynchro(int, int, int, java.sql.Timestamp)

getAllSurveyQualificationSinceDateSynchro

public java.util.Collection getAllSurveyQualificationSinceDateSynchro(int transform,
                                                                      java.lang.String queryString,
                                                                      int pageNumber,
                                                                      int pageSize,
                                                                      java.sql.Timestamp updateDate)
Description copied from interface: SurveyQualificationDao

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

createFromClusterSurveyQualification

public SurveyQualification createFromClusterSurveyQualification(ClusterSurveyQualification clusterSurveyQualification)
Specified by:
createFromClusterSurveyQualification in interface SurveyQualificationDao
See Also:
SurveyQualificationDao.createFromClusterSurveyQualification(fr.ifremer.allegro.referential.generic.cluster.ClusterSurveyQualification)

handleCreateFromClusterSurveyQualification

protected abstract SurveyQualification handleCreateFromClusterSurveyQualification(ClusterSurveyQualification clusterSurveyQualification)
                                                                           throws java.lang.Exception
Performs the core logic for createFromClusterSurveyQualification(fr.ifremer.allegro.referential.generic.cluster.ClusterSurveyQualification)

Throws:
java.lang.Exception

getAllClusterSurveyQualificationSinceDateSynchro

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

handleGetAllClusterSurveyQualificationSinceDateSynchro

protected abstract ClusterSurveyQualification[] handleGetAllClusterSurveyQualificationSinceDateSynchro(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 getAllClusterSurveyQualificationSinceDateSynchro(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,
                                           SurveyQualification 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.referential.SurveyQualificationDao, please note that the SurveyQualificationDao.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 SurveyQualificationDao.TRANSFORM_NONE is assumed.

Parameters:
transform - one of the constants declared in SurveyQualificationDao
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.referential.SurveyQualification) 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.referential.SurveyQualificationDao
entities - the collection of entities to transform
See Also:
transformEntity(int,fr.ifremer.allegro.referential.SurveyQualification)

toEntity

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

toRemoteSurveyQualificationFullVOCollection

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

Specified by:
toRemoteSurveyQualificationFullVOCollection in interface SurveyQualificationDao
See Also:
SurveyQualificationDao.toRemoteSurveyQualificationFullVOCollection(java.util.Collection)

toRemoteSurveyQualificationFullVOArray

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

Specified by:
toRemoteSurveyQualificationFullVOArray in interface SurveyQualificationDao
See Also:
SurveyQualificationDao.toRemoteSurveyQualificationFullVOArray(java.util.Collection)

toRemoteSurveyQualificationFullVO

protected RemoteSurveyQualificationFullVO toRemoteSurveyQualificationFullVO(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 SurveyQualificationDaoImpl class if you intend to use reporting queries.

See Also:
SurveyQualificationDao.toRemoteSurveyQualificationFullVO(fr.ifremer.allegro.referential.SurveyQualification)

remoteSurveyQualificationFullVOToEntityCollection

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

Specified by:
remoteSurveyQualificationFullVOToEntityCollection in interface SurveyQualificationDao
See Also:
SurveyQualificationDao.remoteSurveyQualificationFullVOToEntityCollection(java.util.Collection)

toRemoteSurveyQualificationFullVO

public void toRemoteSurveyQualificationFullVO(SurveyQualification source,
                                              RemoteSurveyQualificationFullVO target)
Description copied from interface: SurveyQualificationDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteSurveyQualificationFullVO(), 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:
toRemoteSurveyQualificationFullVO in interface SurveyQualificationDao
See Also:
SurveyQualificationDao.toRemoteSurveyQualificationFullVO(fr.ifremer.allegro.referential.SurveyQualification, fr.ifremer.allegro.referential.generic.vo.RemoteSurveyQualificationFullVO)

toRemoteSurveyQualificationFullVO

public RemoteSurveyQualificationFullVO toRemoteSurveyQualificationFullVO(SurveyQualification entity)
Description copied from interface: SurveyQualificationDao
Converts this DAO's entity to an object of type RemoteSurveyQualificationFullVO.

Specified by:
toRemoteSurveyQualificationFullVO in interface SurveyQualificationDao
See Also:
SurveyQualificationDao.toRemoteSurveyQualificationFullVO(fr.ifremer.allegro.referential.SurveyQualification)

remoteSurveyQualificationFullVOToEntity

public void remoteSurveyQualificationFullVOToEntity(RemoteSurveyQualificationFullVO source,
                                                    SurveyQualification target,
                                                    boolean copyIfNull)
Description copied from interface: SurveyQualificationDao
Copies the fields of RemoteSurveyQualificationFullVO to the specified entity.

Specified by:
remoteSurveyQualificationFullVOToEntity in interface SurveyQualificationDao
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.referential.SurveyQualificationDao#remoteSurveyQualificationFullVOToEntity(fr.ifremer.allegro.referential.generic.vo.RemoteSurveyQualificationFullVO, fr.ifremer.allegro.referential.SurveyQualification)

toRemoteSurveyQualificationNaturalIdCollection

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

Specified by:
toRemoteSurveyQualificationNaturalIdCollection in interface SurveyQualificationDao
See Also:
SurveyQualificationDao.toRemoteSurveyQualificationNaturalIdCollection(java.util.Collection)

toRemoteSurveyQualificationNaturalIdArray

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

Specified by:
toRemoteSurveyQualificationNaturalIdArray in interface SurveyQualificationDao
See Also:
SurveyQualificationDao.toRemoteSurveyQualificationNaturalIdArray(java.util.Collection)

toRemoteSurveyQualificationNaturalId

protected RemoteSurveyQualificationNaturalId toRemoteSurveyQualificationNaturalId(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 SurveyQualificationDaoImpl class if you intend to use reporting queries.

See Also:
SurveyQualificationDao.toRemoteSurveyQualificationNaturalId(fr.ifremer.allegro.referential.SurveyQualification)

remoteSurveyQualificationNaturalIdToEntityCollection

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

Specified by:
remoteSurveyQualificationNaturalIdToEntityCollection in interface SurveyQualificationDao
See Also:
SurveyQualificationDao.remoteSurveyQualificationNaturalIdToEntityCollection(java.util.Collection)

toRemoteSurveyQualificationNaturalId

public void toRemoteSurveyQualificationNaturalId(SurveyQualification source,
                                                 RemoteSurveyQualificationNaturalId target)
Description copied from interface: SurveyQualificationDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteSurveyQualificationNaturalId(), 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:
toRemoteSurveyQualificationNaturalId in interface SurveyQualificationDao
See Also:
SurveyQualificationDao.toRemoteSurveyQualificationNaturalId(fr.ifremer.allegro.referential.SurveyQualification, fr.ifremer.allegro.referential.generic.vo.RemoteSurveyQualificationNaturalId)

toRemoteSurveyQualificationNaturalId

public RemoteSurveyQualificationNaturalId toRemoteSurveyQualificationNaturalId(SurveyQualification entity)
Description copied from interface: SurveyQualificationDao
Converts this DAO's entity to an object of type RemoteSurveyQualificationNaturalId.

Specified by:
toRemoteSurveyQualificationNaturalId in interface SurveyQualificationDao
See Also:
SurveyQualificationDao.toRemoteSurveyQualificationNaturalId(fr.ifremer.allegro.referential.SurveyQualification)

remoteSurveyQualificationNaturalIdToEntity

public void remoteSurveyQualificationNaturalIdToEntity(RemoteSurveyQualificationNaturalId source,
                                                       SurveyQualification target,
                                                       boolean copyIfNull)
Description copied from interface: SurveyQualificationDao
Copies the fields of RemoteSurveyQualificationNaturalId to the specified entity.

Specified by:
remoteSurveyQualificationNaturalIdToEntity in interface SurveyQualificationDao
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.referential.SurveyQualificationDao#remoteSurveyQualificationNaturalIdToEntity(fr.ifremer.allegro.referential.generic.vo.RemoteSurveyQualificationNaturalId, fr.ifremer.allegro.referential.SurveyQualification)

toClusterSurveyQualificationCollection

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

Specified by:
toClusterSurveyQualificationCollection in interface SurveyQualificationDao
See Also:
SurveyQualificationDao.toClusterSurveyQualificationCollection(java.util.Collection)

toClusterSurveyQualificationArray

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

Specified by:
toClusterSurveyQualificationArray in interface SurveyQualificationDao
See Also:
SurveyQualificationDao.toClusterSurveyQualificationArray(java.util.Collection)

toClusterSurveyQualification

protected ClusterSurveyQualification toClusterSurveyQualification(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 SurveyQualificationDaoImpl class if you intend to use reporting queries.

See Also:
SurveyQualificationDao.toClusterSurveyQualification(fr.ifremer.allegro.referential.SurveyQualification)

clusterSurveyQualificationToEntityCollection

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

Specified by:
clusterSurveyQualificationToEntityCollection in interface SurveyQualificationDao
See Also:
SurveyQualificationDao.clusterSurveyQualificationToEntityCollection(java.util.Collection)

toClusterSurveyQualification

public void toClusterSurveyQualification(SurveyQualification source,
                                         ClusterSurveyQualification target)
Description copied from interface: SurveyQualificationDao
Copies the fields of the specified entity to the target value object. This method is similar to toClusterSurveyQualification(), 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:
toClusterSurveyQualification in interface SurveyQualificationDao
See Also:
SurveyQualificationDao.toClusterSurveyQualification(fr.ifremer.allegro.referential.SurveyQualification, fr.ifremer.allegro.referential.generic.cluster.ClusterSurveyQualification)

toClusterSurveyQualification

public ClusterSurveyQualification toClusterSurveyQualification(SurveyQualification entity)
Description copied from interface: SurveyQualificationDao
Converts this DAO's entity to an object of type ClusterSurveyQualification.

Specified by:
toClusterSurveyQualification in interface SurveyQualificationDao
See Also:
SurveyQualificationDao.toClusterSurveyQualification(fr.ifremer.allegro.referential.SurveyQualification)

clusterSurveyQualificationToEntity

public void clusterSurveyQualificationToEntity(ClusterSurveyQualification source,
                                               SurveyQualification target,
                                               boolean copyIfNull)
Description copied from interface: SurveyQualificationDao
Copies the fields of ClusterSurveyQualification to the specified entity.

Specified by:
clusterSurveyQualificationToEntity in interface SurveyQualificationDao
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.referential.SurveyQualificationDao#clusterSurveyQualificationToEntity(fr.ifremer.allegro.referential.generic.cluster.ClusterSurveyQualification, fr.ifremer.allegro.referential.SurveyQualification)

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

search

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

search

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

search

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

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


Copyright © 2008-2010 IFREMER. All Rights Reserved.