fr.ifremer.allegro.data.vessel.feature.physical
Class PhysicalFeaturesDaoBase

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.data.vessel.feature.physical.PhysicalFeaturesDaoBase
All Implemented Interfaces:
PhysicalFeaturesDao
Direct Known Subclasses:
PhysicalFeaturesDaoImpl

public abstract class PhysicalFeaturesDaoBase
extends org.springframework.orm.hibernate3.support.HibernateDaoSupport
implements PhysicalFeaturesDao

Base Spring DAO Class: is able to create, update, remove, load, and find objects of type fr.ifremer.allegro.data.vessel.feature.physical.PhysicalFeatures.

See Also:
PhysicalFeatures

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.data.vessel.feature.physical.PhysicalFeaturesDao
TRANSFORM_CLUSTERPHYSICALFEATURES, TRANSFORM_NONE, TRANSFORM_REMOTEPHYSICALFEATURESFULLVO, TRANSFORM_REMOTEPHYSICALFEATURESNATURALID
 
Constructor Summary
PhysicalFeaturesDaoBase()
           
 
Method Summary
 void clusterPhysicalFeaturesToEntity(ClusterPhysicalFeatures source, PhysicalFeatures target, boolean copyIfNull)
          Copies the fields of ClusterPhysicalFeatures to the specified entity.
 void clusterPhysicalFeaturesToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type ClusterPhysicalFeatures to this DAO's entity.
 PhysicalFeatures findPhysicalFeaturesById(java.lang.Integer id)
           
 java.lang.Object findPhysicalFeaturesById(int transform, java.lang.Integer id)
           Does the same thing as PhysicalFeaturesDao.findPhysicalFeaturesById(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findPhysicalFeaturesById(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as PhysicalFeaturesDao.findPhysicalFeaturesById(int, java.lang.Integer) with an additional argument called queryString.
 PhysicalFeatures findPhysicalFeaturesById(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as PhysicalFeaturesDao.findPhysicalFeaturesById(java.lang.Integer) with an additional argument called queryString.
 PhysicalFeatures findPhysicalFeaturesByNaturalId(java.util.Date startDate, Vessel vessel, Program program)
           
 java.lang.Object findPhysicalFeaturesByNaturalId(int transform, java.util.Date startDate, Vessel vessel, Program program)
           Does the same thing as PhysicalFeaturesDao.findPhysicalFeaturesByNaturalId(java.util.Date, fr.ifremer.allegro.referential.vessel.Vessel, fr.ifremer.allegro.administration.programStrategy.Program) with an additional flag called transform.
 java.lang.Object findPhysicalFeaturesByNaturalId(int transform, java.lang.String queryString, java.util.Date startDate, Vessel vessel, Program program)
           Does the same thing as PhysicalFeaturesDao.findPhysicalFeaturesByNaturalId(int, java.util.Date, fr.ifremer.allegro.referential.vessel.Vessel, fr.ifremer.allegro.administration.programStrategy.Program) with an additional argument called queryString.
 PhysicalFeatures findPhysicalFeaturesByNaturalId(java.lang.String queryString, java.util.Date startDate, Vessel vessel, Program program)
           Does the same thing as PhysicalFeaturesDao.findPhysicalFeaturesByNaturalId(java.util.Date, fr.ifremer.allegro.referential.vessel.Vessel, fr.ifremer.allegro.administration.programStrategy.Program) with an additional argument called queryString.
 java.util.Collection findPhysicalFeaturesByProgram(int transform, int pageNumber, int pageSize, Program program)
           Does the same thing as PhysicalFeaturesDao.findPhysicalFeaturesByProgram(int, fr.ifremer.allegro.administration.programStrategy.Program) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findPhysicalFeaturesByProgram(int pageNumber, int pageSize, Program program)
           Does the same thing as PhysicalFeaturesDao.findPhysicalFeaturesByProgram(fr.ifremer.allegro.administration.programStrategy.Program) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findPhysicalFeaturesByProgram(int transform, Program program)
           Does the same thing as PhysicalFeaturesDao.findPhysicalFeaturesByProgram(fr.ifremer.allegro.administration.programStrategy.Program) with an additional flag called transform.
 java.util.Collection findPhysicalFeaturesByProgram(int transform, java.lang.String queryString, int pageNumber, int pageSize, Program program)
           Does the same thing as PhysicalFeaturesDao.findPhysicalFeaturesByProgram(int, String, fr.ifremer.allegro.administration.programStrategy.Program) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findPhysicalFeaturesByProgram(int transform, java.lang.String queryString, Program program)
           Does the same thing as PhysicalFeaturesDao.findPhysicalFeaturesByProgram(int, fr.ifremer.allegro.administration.programStrategy.Program) with an additional argument called queryString.
 java.util.Collection findPhysicalFeaturesByProgram(Program program)
           
 java.util.Collection findPhysicalFeaturesByProgram(java.lang.String queryString, int pageNumber, int pageSize, Program program)
           Does the same thing as PhysicalFeaturesDao.findPhysicalFeaturesByProgram(String, fr.ifremer.allegro.administration.programStrategy.Program) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findPhysicalFeaturesByProgram(java.lang.String queryString, Program program)
           Does the same thing as PhysicalFeaturesDao.findPhysicalFeaturesByProgram(fr.ifremer.allegro.administration.programStrategy.Program) with an additional argument called queryString.
 java.util.Collection findPhysicalFeaturesByQualityFlag(int transform, int pageNumber, int pageSize, QualityFlag qualityFlag)
           Does the same thing as PhysicalFeaturesDao.findPhysicalFeaturesByQualityFlag(int, fr.ifremer.allegro.referential.QualityFlag) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findPhysicalFeaturesByQualityFlag(int pageNumber, int pageSize, QualityFlag qualityFlag)
           Does the same thing as PhysicalFeaturesDao.findPhysicalFeaturesByQualityFlag(fr.ifremer.allegro.referential.QualityFlag) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findPhysicalFeaturesByQualityFlag(int transform, QualityFlag qualityFlag)
           Does the same thing as PhysicalFeaturesDao.findPhysicalFeaturesByQualityFlag(fr.ifremer.allegro.referential.QualityFlag) with an additional flag called transform.
 java.util.Collection findPhysicalFeaturesByQualityFlag(int transform, java.lang.String queryString, int pageNumber, int pageSize, QualityFlag qualityFlag)
           Does the same thing as PhysicalFeaturesDao.findPhysicalFeaturesByQualityFlag(int, String, fr.ifremer.allegro.referential.QualityFlag) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findPhysicalFeaturesByQualityFlag(int transform, java.lang.String queryString, QualityFlag qualityFlag)
           Does the same thing as PhysicalFeaturesDao.findPhysicalFeaturesByQualityFlag(int, fr.ifremer.allegro.referential.QualityFlag) with an additional argument called queryString.
 java.util.Collection findPhysicalFeaturesByQualityFlag(QualityFlag qualityFlag)
           
 java.util.Collection findPhysicalFeaturesByQualityFlag(java.lang.String queryString, int pageNumber, int pageSize, QualityFlag qualityFlag)
           Does the same thing as PhysicalFeaturesDao.findPhysicalFeaturesByQualityFlag(String, fr.ifremer.allegro.referential.QualityFlag) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findPhysicalFeaturesByQualityFlag(java.lang.String queryString, QualityFlag qualityFlag)
           Does the same thing as PhysicalFeaturesDao.findPhysicalFeaturesByQualityFlag(fr.ifremer.allegro.referential.QualityFlag) with an additional argument called queryString.
 java.util.Collection findPhysicalFeaturesByVessel(int transform, int pageNumber, int pageSize, Vessel vessel)
           Does the same thing as PhysicalFeaturesDao.findPhysicalFeaturesByVessel(int, fr.ifremer.allegro.referential.vessel.Vessel) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findPhysicalFeaturesByVessel(int pageNumber, int pageSize, Vessel vessel)
           Does the same thing as PhysicalFeaturesDao.findPhysicalFeaturesByVessel(fr.ifremer.allegro.referential.vessel.Vessel) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findPhysicalFeaturesByVessel(int transform, java.lang.String queryString, int pageNumber, int pageSize, Vessel vessel)
           Does the same thing as PhysicalFeaturesDao.findPhysicalFeaturesByVessel(int, String, fr.ifremer.allegro.referential.vessel.Vessel) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findPhysicalFeaturesByVessel(int transform, java.lang.String queryString, Vessel vessel)
           Does the same thing as PhysicalFeaturesDao.findPhysicalFeaturesByVessel(int, fr.ifremer.allegro.referential.vessel.Vessel) with an additional argument called queryString.
 java.util.Collection findPhysicalFeaturesByVessel(int transform, Vessel vessel)
           Does the same thing as PhysicalFeaturesDao.findPhysicalFeaturesByVessel(fr.ifremer.allegro.referential.vessel.Vessel) with an additional flag called transform.
 java.util.Collection findPhysicalFeaturesByVessel(java.lang.String queryString, int pageNumber, int pageSize, Vessel vessel)
           Does the same thing as PhysicalFeaturesDao.findPhysicalFeaturesByVessel(String, fr.ifremer.allegro.referential.vessel.Vessel) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findPhysicalFeaturesByVessel(java.lang.String queryString, Vessel vessel)
           Does the same thing as PhysicalFeaturesDao.findPhysicalFeaturesByVessel(fr.ifremer.allegro.referential.vessel.Vessel) with an additional argument called queryString.
 java.util.Collection findPhysicalFeaturesByVessel(Vessel vessel)
           
 java.util.Collection getAllPhysicalFeatures()
           
 java.util.Collection getAllPhysicalFeatures(int transform)
           Does the same thing as PhysicalFeaturesDao.getAllPhysicalFeatures() with an additional flag called transform.
 java.util.Collection getAllPhysicalFeatures(int pageNumber, int pageSize)
           Does the same thing as PhysicalFeaturesDao.getAllPhysicalFeatures() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllPhysicalFeatures(int transform, int pageNumber, int pageSize)
           Does the same thing as PhysicalFeaturesDao.getAllPhysicalFeatures(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllPhysicalFeatures(int transform, java.lang.String queryString)
           Does the same thing as PhysicalFeaturesDao.getAllPhysicalFeatures(int) with an additional argument called queryString.
 java.util.Collection getAllPhysicalFeatures(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as PhysicalFeaturesDao.getAllPhysicalFeatures(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllPhysicalFeatures(java.lang.String queryString)
           Does the same thing as PhysicalFeaturesDao.getAllPhysicalFeatures() with an additional argument called queryString.
 java.util.Collection getAllPhysicalFeatures(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as PhysicalFeaturesDao.getAllPhysicalFeatures(String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllPhysicalFeaturesSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as PhysicalFeaturesDao.getAllPhysicalFeaturesSinceDateSynchro(int, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllPhysicalFeaturesSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as PhysicalFeaturesDao.getAllPhysicalFeaturesSinceDateSynchro(java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllPhysicalFeaturesSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as PhysicalFeaturesDao.getAllPhysicalFeaturesSinceDateSynchro(int, String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllPhysicalFeaturesSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as PhysicalFeaturesDao.getAllPhysicalFeaturesSinceDateSynchro(int, java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllPhysicalFeaturesSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
           Does the same thing as PhysicalFeaturesDao.getAllPhysicalFeaturesSinceDateSynchro(java.sql.Timestamp) with an additional flag called transform.
 java.util.Collection getAllPhysicalFeaturesSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as PhysicalFeaturesDao.getAllPhysicalFeaturesSinceDateSynchro(String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllPhysicalFeaturesSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as PhysicalFeaturesDao.getAllPhysicalFeaturesSinceDateSynchro(java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllPhysicalFeaturesSinceDateSynchro(java.sql.Timestamp updateDate)
           
protected  java.security.Principal getPrincipal()
          Gets the current principal if one has been set, otherwise returns null.
protected  ProgramDao getProgramDao()
          Gets the reference to programDao.
protected  QualityFlagDao getQualityFlagDao()
          Gets the reference to qualityFlagDao.
protected  VesselDao getVesselDao()
          Gets the reference to vesselDao.
 PhysicalFeatures load(java.lang.Integer id)
          Loads an instance of fr.ifremer.allegro.data.vessel.feature.physical.PhysicalFeatures from the persistent store.
 java.lang.Object load(int transform, java.lang.Integer id)
           Does the same thing as PhysicalFeaturesDao.load(java.lang.Integer) with an additional flag called transform.
 java.util.Collection loadAll()
          Loads all entities of type PhysicalFeatures.
 java.util.Collection loadAll(int transform)
           Does the same thing as PhysicalFeaturesDao.loadAll() with an additional flag called transform.
 java.util.Collection loadAll(int pageNumber, int pageSize)
           Does the same thing as PhysicalFeaturesDao.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 PhysicalFeaturesDao.loadAll(int) with an additional two arguments called pageNumber and pageSize.
 void remotePhysicalFeaturesFullVOToEntity(RemotePhysicalFeaturesFullVO source, PhysicalFeatures target, boolean copyIfNull)
          Copies the fields of RemotePhysicalFeaturesFullVO to the specified entity.
 void remotePhysicalFeaturesFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemotePhysicalFeaturesFullVO to this DAO's entity.
 void remotePhysicalFeaturesNaturalIdToEntity(RemotePhysicalFeaturesNaturalId source, PhysicalFeatures target, boolean copyIfNull)
          Copies the fields of RemotePhysicalFeaturesNaturalId to the specified entity.
 void remotePhysicalFeaturesNaturalIdToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemotePhysicalFeaturesNaturalId 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.data.vessel.feature.physical.PhysicalFeatures having the given identifier from the persistent store.
 void remove(PhysicalFeatures physicalFeatures)
          Removes the instance of fr.ifremer.allegro.data.vessel.feature.physical.PhysicalFeatures 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 PhysicalFeaturesDao.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 setProgramDao(ProgramDao programDao)
          Sets the reference to programDao.
 void setQualityFlagDao(QualityFlagDao qualityFlagDao)
          Sets the reference to qualityFlagDao.
 void setVesselDao(VesselDao vesselDao)
          Sets the reference to vesselDao.
protected  ClusterPhysicalFeatures toClusterPhysicalFeatures(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 ClusterPhysicalFeatures toClusterPhysicalFeatures(PhysicalFeatures entity)
          Converts this DAO's entity to an object of type ClusterPhysicalFeatures.
 void toClusterPhysicalFeatures(PhysicalFeatures source, ClusterPhysicalFeatures target)
          Copies the fields of the specified entity to the target value object.
 ClusterPhysicalFeatures[] toClusterPhysicalFeaturesArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type ClusterPhysicalFeatures.
 void toClusterPhysicalFeaturesCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type ClusterPhysicalFeatures.
protected  PhysicalFeatures toEntity(java.lang.Object[] row)
           
protected  RemotePhysicalFeaturesFullVO toRemotePhysicalFeaturesFullVO(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemotePhysicalFeaturesFullVO toRemotePhysicalFeaturesFullVO(PhysicalFeatures entity)
          Converts this DAO's entity to an object of type RemotePhysicalFeaturesFullVO.
 void toRemotePhysicalFeaturesFullVO(PhysicalFeatures source, RemotePhysicalFeaturesFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemotePhysicalFeaturesFullVO[] toRemotePhysicalFeaturesFullVOArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemotePhysicalFeaturesFullVO.
 void toRemotePhysicalFeaturesFullVOCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemotePhysicalFeaturesFullVO.
protected  RemotePhysicalFeaturesNaturalId toRemotePhysicalFeaturesNaturalId(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemotePhysicalFeaturesNaturalId toRemotePhysicalFeaturesNaturalId(PhysicalFeatures entity)
          Converts this DAO's entity to an object of type RemotePhysicalFeaturesNaturalId.
 void toRemotePhysicalFeaturesNaturalId(PhysicalFeatures source, RemotePhysicalFeaturesNaturalId target)
          Copies the fields of the specified entity to the target value object.
 RemotePhysicalFeaturesNaturalId[] toRemotePhysicalFeaturesNaturalIdArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemotePhysicalFeaturesNaturalId.
 void toRemotePhysicalFeaturesNaturalIdCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemotePhysicalFeaturesNaturalId.
protected  void transformEntities(int transform, java.util.Collection entities)
          Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.data.vessel.feature.physical.PhysicalFeatures) method.
protected  java.lang.Object transformEntity(int transform, PhysicalFeatures 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.data.vessel.feature.physical.PhysicalFeaturesDao, please note that the PhysicalFeaturesDao.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(PhysicalFeatures physicalFeatures)
          Updates the physicalFeatures 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.data.vessel.feature.physical.PhysicalFeaturesDao
clusterPhysicalFeaturesToEntity, remotePhysicalFeaturesFullVOToEntity, remotePhysicalFeaturesNaturalIdToEntity
 

Constructor Detail

PhysicalFeaturesDaoBase

public PhysicalFeaturesDaoBase()
Method Detail

setVesselDao

public void setVesselDao(VesselDao vesselDao)
Sets the reference to vesselDao.


getVesselDao

protected VesselDao getVesselDao()
Gets the reference to vesselDao.


setProgramDao

public void setProgramDao(ProgramDao programDao)
Sets the reference to programDao.


getProgramDao

protected ProgramDao getProgramDao()
Gets the reference to programDao.


setQualityFlagDao

public void setQualityFlagDao(QualityFlagDao qualityFlagDao)
Sets the reference to qualityFlagDao.


getQualityFlagDao

protected QualityFlagDao getQualityFlagDao()
Gets the reference to qualityFlagDao.


load

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

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

load

public PhysicalFeatures load(java.lang.Integer id)
Description copied from interface: PhysicalFeaturesDao
Loads an instance of fr.ifremer.allegro.data.vessel.feature.physical.PhysicalFeatures from the persistent store.

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

loadAll

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

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

loadAll

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

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

loadAll

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

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

loadAll

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

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

update

public void update(PhysicalFeatures physicalFeatures)
Description copied from interface: PhysicalFeaturesDao
Updates the physicalFeatures instance in the persistent store.

Specified by:
update in interface PhysicalFeaturesDao
See Also:
PhysicalFeaturesDao.update(fr.ifremer.allegro.data.vessel.feature.physical.PhysicalFeatures)

update

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

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

remove

public void remove(PhysicalFeatures physicalFeatures)
Description copied from interface: PhysicalFeaturesDao
Removes the instance of fr.ifremer.allegro.data.vessel.feature.physical.PhysicalFeatures from the persistent store.

Specified by:
remove in interface PhysicalFeaturesDao
See Also:
PhysicalFeaturesDao.remove(fr.ifremer.allegro.data.vessel.feature.physical.PhysicalFeatures)

remove

public void remove(java.lang.Integer id)
Description copied from interface: PhysicalFeaturesDao
Removes the instance of fr.ifremer.allegro.data.vessel.feature.physical.PhysicalFeatures having the given identifier from the persistent store.

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

remove

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

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

getAllPhysicalFeatures

public java.util.Collection getAllPhysicalFeatures()
Specified by:
getAllPhysicalFeatures in interface PhysicalFeaturesDao
See Also:
PhysicalFeaturesDao.getAllPhysicalFeatures()

getAllPhysicalFeatures

public java.util.Collection getAllPhysicalFeatures(int transform)
Description copied from interface: PhysicalFeaturesDao

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

getAllPhysicalFeatures

public java.util.Collection getAllPhysicalFeatures(java.lang.String queryString)
Description copied from interface: PhysicalFeaturesDao

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

Specified by:
getAllPhysicalFeatures in interface PhysicalFeaturesDao
See Also:
PhysicalFeaturesDao.getAllPhysicalFeatures(java.lang.String)

getAllPhysicalFeatures

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

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

getAllPhysicalFeatures

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

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

getAllPhysicalFeatures

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

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

Specified by:
getAllPhysicalFeatures in interface PhysicalFeaturesDao
See Also:
PhysicalFeaturesDao.getAllPhysicalFeatures(int, String)

getAllPhysicalFeatures

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

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

getAllPhysicalFeatures

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

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

findPhysicalFeaturesById

public PhysicalFeatures findPhysicalFeaturesById(java.lang.Integer id)
Specified by:
findPhysicalFeaturesById in interface PhysicalFeaturesDao
See Also:
PhysicalFeaturesDao.findPhysicalFeaturesById(java.lang.Integer)

findPhysicalFeaturesById

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

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

findPhysicalFeaturesById

public PhysicalFeatures findPhysicalFeaturesById(java.lang.String queryString,
                                                 java.lang.Integer id)
Description copied from interface: PhysicalFeaturesDao

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

Specified by:
findPhysicalFeaturesById in interface PhysicalFeaturesDao
See Also:
PhysicalFeaturesDao.findPhysicalFeaturesById(java.lang.String, java.lang.Integer)

findPhysicalFeaturesById

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

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

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

findPhysicalFeaturesByVessel

public java.util.Collection findPhysicalFeaturesByVessel(Vessel vessel)
Specified by:
findPhysicalFeaturesByVessel in interface PhysicalFeaturesDao
See Also:
PhysicalFeaturesDao.findPhysicalFeaturesByVessel(fr.ifremer.allegro.referential.vessel.Vessel)

findPhysicalFeaturesByVessel

public java.util.Collection findPhysicalFeaturesByVessel(int transform,
                                                         Vessel vessel)
Description copied from interface: PhysicalFeaturesDao

Does the same thing as PhysicalFeaturesDao.findPhysicalFeaturesByVessel(fr.ifremer.allegro.referential.vessel.Vessel) 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:
findPhysicalFeaturesByVessel in interface PhysicalFeaturesDao
See Also:
PhysicalFeaturesDao.findPhysicalFeaturesByVessel(int, fr.ifremer.allegro.referential.vessel.Vessel)

findPhysicalFeaturesByVessel

public java.util.Collection findPhysicalFeaturesByVessel(java.lang.String queryString,
                                                         Vessel vessel)
Description copied from interface: PhysicalFeaturesDao

Does the same thing as PhysicalFeaturesDao.findPhysicalFeaturesByVessel(fr.ifremer.allegro.referential.vessel.Vessel) with an additional argument called queryString. This queryString argument allows you to override the query string defined in PhysicalFeaturesDao.findPhysicalFeaturesByVessel(fr.ifremer.allegro.referential.vessel.Vessel).

Specified by:
findPhysicalFeaturesByVessel in interface PhysicalFeaturesDao
See Also:
PhysicalFeaturesDao.findPhysicalFeaturesByVessel(java.lang.String, fr.ifremer.allegro.referential.vessel.Vessel)

findPhysicalFeaturesByVessel

public java.util.Collection findPhysicalFeaturesByVessel(int pageNumber,
                                                         int pageSize,
                                                         Vessel vessel)
Description copied from interface: PhysicalFeaturesDao

Does the same thing as PhysicalFeaturesDao.findPhysicalFeaturesByVessel(fr.ifremer.allegro.referential.vessel.Vessel) 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:
findPhysicalFeaturesByVessel in interface PhysicalFeaturesDao
See Also:
PhysicalFeaturesDao.findPhysicalFeaturesByVessel(int, int, fr.ifremer.allegro.referential.vessel.Vessel)

findPhysicalFeaturesByVessel

public java.util.Collection findPhysicalFeaturesByVessel(java.lang.String queryString,
                                                         int pageNumber,
                                                         int pageSize,
                                                         Vessel vessel)
Description copied from interface: PhysicalFeaturesDao

Does the same thing as PhysicalFeaturesDao.findPhysicalFeaturesByVessel(String, fr.ifremer.allegro.referential.vessel.Vessel) 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:
findPhysicalFeaturesByVessel in interface PhysicalFeaturesDao
See Also:
PhysicalFeaturesDao.findPhysicalFeaturesByVessel(String, int, int, fr.ifremer.allegro.referential.vessel.Vessel)

findPhysicalFeaturesByVessel

public java.util.Collection findPhysicalFeaturesByVessel(int transform,
                                                         java.lang.String queryString,
                                                         Vessel vessel)
Description copied from interface: PhysicalFeaturesDao

Does the same thing as PhysicalFeaturesDao.findPhysicalFeaturesByVessel(int, fr.ifremer.allegro.referential.vessel.Vessel) with an additional argument called queryString. This queryString argument allows you to override the query string defined in PhysicalFeaturesDao.findPhysicalFeaturesByVessel(int, fr.ifremer.allegro.referential.vessel.Vessel vessel).

Specified by:
findPhysicalFeaturesByVessel in interface PhysicalFeaturesDao
See Also:
PhysicalFeaturesDao.findPhysicalFeaturesByVessel(int, String, fr.ifremer.allegro.referential.vessel.Vessel)

findPhysicalFeaturesByVessel

public java.util.Collection findPhysicalFeaturesByVessel(int transform,
                                                         int pageNumber,
                                                         int pageSize,
                                                         Vessel vessel)
Description copied from interface: PhysicalFeaturesDao

Does the same thing as PhysicalFeaturesDao.findPhysicalFeaturesByVessel(int, fr.ifremer.allegro.referential.vessel.Vessel) 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:
findPhysicalFeaturesByVessel in interface PhysicalFeaturesDao
See Also:
PhysicalFeaturesDao.findPhysicalFeaturesByVessel(int, int, int, fr.ifremer.allegro.referential.vessel.Vessel)

findPhysicalFeaturesByVessel

public java.util.Collection findPhysicalFeaturesByVessel(int transform,
                                                         java.lang.String queryString,
                                                         int pageNumber,
                                                         int pageSize,
                                                         Vessel vessel)
Description copied from interface: PhysicalFeaturesDao

Does the same thing as PhysicalFeaturesDao.findPhysicalFeaturesByVessel(int, String, fr.ifremer.allegro.referential.vessel.Vessel) 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:
findPhysicalFeaturesByVessel in interface PhysicalFeaturesDao
See Also:
PhysicalFeaturesDao.findPhysicalFeaturesByVessel(int, java.lang.String, int, int, fr.ifremer.allegro.referential.vessel.Vessel)

findPhysicalFeaturesByQualityFlag

public java.util.Collection findPhysicalFeaturesByQualityFlag(QualityFlag qualityFlag)
Specified by:
findPhysicalFeaturesByQualityFlag in interface PhysicalFeaturesDao
See Also:
PhysicalFeaturesDao.findPhysicalFeaturesByQualityFlag(fr.ifremer.allegro.referential.QualityFlag)

findPhysicalFeaturesByQualityFlag

public java.util.Collection findPhysicalFeaturesByQualityFlag(int transform,
                                                              QualityFlag qualityFlag)
Description copied from interface: PhysicalFeaturesDao

Does the same thing as PhysicalFeaturesDao.findPhysicalFeaturesByQualityFlag(fr.ifremer.allegro.referential.QualityFlag) 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:
findPhysicalFeaturesByQualityFlag in interface PhysicalFeaturesDao
See Also:
PhysicalFeaturesDao.findPhysicalFeaturesByQualityFlag(int, fr.ifremer.allegro.referential.QualityFlag)

findPhysicalFeaturesByQualityFlag

public java.util.Collection findPhysicalFeaturesByQualityFlag(java.lang.String queryString,
                                                              QualityFlag qualityFlag)
Description copied from interface: PhysicalFeaturesDao

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

Specified by:
findPhysicalFeaturesByQualityFlag in interface PhysicalFeaturesDao
See Also:
PhysicalFeaturesDao.findPhysicalFeaturesByQualityFlag(java.lang.String, fr.ifremer.allegro.referential.QualityFlag)

findPhysicalFeaturesByQualityFlag

public java.util.Collection findPhysicalFeaturesByQualityFlag(int pageNumber,
                                                              int pageSize,
                                                              QualityFlag qualityFlag)
Description copied from interface: PhysicalFeaturesDao

Does the same thing as PhysicalFeaturesDao.findPhysicalFeaturesByQualityFlag(fr.ifremer.allegro.referential.QualityFlag) 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:
findPhysicalFeaturesByQualityFlag in interface PhysicalFeaturesDao
See Also:
PhysicalFeaturesDao.findPhysicalFeaturesByQualityFlag(int, int, fr.ifremer.allegro.referential.QualityFlag)

findPhysicalFeaturesByQualityFlag

public java.util.Collection findPhysicalFeaturesByQualityFlag(java.lang.String queryString,
                                                              int pageNumber,
                                                              int pageSize,
                                                              QualityFlag qualityFlag)
Description copied from interface: PhysicalFeaturesDao

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

findPhysicalFeaturesByQualityFlag

public java.util.Collection findPhysicalFeaturesByQualityFlag(int transform,
                                                              java.lang.String queryString,
                                                              QualityFlag qualityFlag)
Description copied from interface: PhysicalFeaturesDao

Does the same thing as PhysicalFeaturesDao.findPhysicalFeaturesByQualityFlag(int, fr.ifremer.allegro.referential.QualityFlag) with an additional argument called queryString. This queryString argument allows you to override the query string defined in PhysicalFeaturesDao.findPhysicalFeaturesByQualityFlag(int, fr.ifremer.allegro.referential.QualityFlag qualityFlag).

Specified by:
findPhysicalFeaturesByQualityFlag in interface PhysicalFeaturesDao
See Also:
PhysicalFeaturesDao.findPhysicalFeaturesByQualityFlag(int, String, fr.ifremer.allegro.referential.QualityFlag)

findPhysicalFeaturesByQualityFlag

public java.util.Collection findPhysicalFeaturesByQualityFlag(int transform,
                                                              int pageNumber,
                                                              int pageSize,
                                                              QualityFlag qualityFlag)
Description copied from interface: PhysicalFeaturesDao

Does the same thing as PhysicalFeaturesDao.findPhysicalFeaturesByQualityFlag(int, fr.ifremer.allegro.referential.QualityFlag) 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:
findPhysicalFeaturesByQualityFlag in interface PhysicalFeaturesDao
See Also:
PhysicalFeaturesDao.findPhysicalFeaturesByQualityFlag(int, int, int, fr.ifremer.allegro.referential.QualityFlag)

findPhysicalFeaturesByQualityFlag

public java.util.Collection findPhysicalFeaturesByQualityFlag(int transform,
                                                              java.lang.String queryString,
                                                              int pageNumber,
                                                              int pageSize,
                                                              QualityFlag qualityFlag)
Description copied from interface: PhysicalFeaturesDao

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

findPhysicalFeaturesByProgram

public java.util.Collection findPhysicalFeaturesByProgram(Program program)
Specified by:
findPhysicalFeaturesByProgram in interface PhysicalFeaturesDao
See Also:
PhysicalFeaturesDao.findPhysicalFeaturesByProgram(fr.ifremer.allegro.administration.programStrategy.Program)

findPhysicalFeaturesByProgram

public java.util.Collection findPhysicalFeaturesByProgram(int transform,
                                                          Program program)
Description copied from interface: PhysicalFeaturesDao

Does the same thing as PhysicalFeaturesDao.findPhysicalFeaturesByProgram(fr.ifremer.allegro.administration.programStrategy.Program) 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:
findPhysicalFeaturesByProgram in interface PhysicalFeaturesDao
See Also:
PhysicalFeaturesDao.findPhysicalFeaturesByProgram(int, fr.ifremer.allegro.administration.programStrategy.Program)

findPhysicalFeaturesByProgram

public java.util.Collection findPhysicalFeaturesByProgram(java.lang.String queryString,
                                                          Program program)
Description copied from interface: PhysicalFeaturesDao

Does the same thing as PhysicalFeaturesDao.findPhysicalFeaturesByProgram(fr.ifremer.allegro.administration.programStrategy.Program) with an additional argument called queryString. This queryString argument allows you to override the query string defined in PhysicalFeaturesDao.findPhysicalFeaturesByProgram(fr.ifremer.allegro.administration.programStrategy.Program).

Specified by:
findPhysicalFeaturesByProgram in interface PhysicalFeaturesDao
See Also:
PhysicalFeaturesDao.findPhysicalFeaturesByProgram(java.lang.String, fr.ifremer.allegro.administration.programStrategy.Program)

findPhysicalFeaturesByProgram

public java.util.Collection findPhysicalFeaturesByProgram(int pageNumber,
                                                          int pageSize,
                                                          Program program)
Description copied from interface: PhysicalFeaturesDao

Does the same thing as PhysicalFeaturesDao.findPhysicalFeaturesByProgram(fr.ifremer.allegro.administration.programStrategy.Program) 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:
findPhysicalFeaturesByProgram in interface PhysicalFeaturesDao
See Also:
PhysicalFeaturesDao.findPhysicalFeaturesByProgram(int, int, fr.ifremer.allegro.administration.programStrategy.Program)

findPhysicalFeaturesByProgram

public java.util.Collection findPhysicalFeaturesByProgram(java.lang.String queryString,
                                                          int pageNumber,
                                                          int pageSize,
                                                          Program program)
Description copied from interface: PhysicalFeaturesDao

Does the same thing as PhysicalFeaturesDao.findPhysicalFeaturesByProgram(String, fr.ifremer.allegro.administration.programStrategy.Program) 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:
findPhysicalFeaturesByProgram in interface PhysicalFeaturesDao
See Also:
PhysicalFeaturesDao.findPhysicalFeaturesByProgram(String, int, int, fr.ifremer.allegro.administration.programStrategy.Program)

findPhysicalFeaturesByProgram

public java.util.Collection findPhysicalFeaturesByProgram(int transform,
                                                          java.lang.String queryString,
                                                          Program program)
Description copied from interface: PhysicalFeaturesDao

Does the same thing as PhysicalFeaturesDao.findPhysicalFeaturesByProgram(int, fr.ifremer.allegro.administration.programStrategy.Program) with an additional argument called queryString. This queryString argument allows you to override the query string defined in PhysicalFeaturesDao.findPhysicalFeaturesByProgram(int, fr.ifremer.allegro.administration.programStrategy.Program program).

Specified by:
findPhysicalFeaturesByProgram in interface PhysicalFeaturesDao
See Also:
PhysicalFeaturesDao.findPhysicalFeaturesByProgram(int, String, fr.ifremer.allegro.administration.programStrategy.Program)

findPhysicalFeaturesByProgram

public java.util.Collection findPhysicalFeaturesByProgram(int transform,
                                                          int pageNumber,
                                                          int pageSize,
                                                          Program program)
Description copied from interface: PhysicalFeaturesDao

Does the same thing as PhysicalFeaturesDao.findPhysicalFeaturesByProgram(int, fr.ifremer.allegro.administration.programStrategy.Program) 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:
findPhysicalFeaturesByProgram in interface PhysicalFeaturesDao
See Also:
PhysicalFeaturesDao.findPhysicalFeaturesByProgram(int, int, int, fr.ifremer.allegro.administration.programStrategy.Program)

findPhysicalFeaturesByProgram

public java.util.Collection findPhysicalFeaturesByProgram(int transform,
                                                          java.lang.String queryString,
                                                          int pageNumber,
                                                          int pageSize,
                                                          Program program)
Description copied from interface: PhysicalFeaturesDao

Does the same thing as PhysicalFeaturesDao.findPhysicalFeaturesByProgram(int, String, fr.ifremer.allegro.administration.programStrategy.Program) 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:
findPhysicalFeaturesByProgram in interface PhysicalFeaturesDao
See Also:
PhysicalFeaturesDao.findPhysicalFeaturesByProgram(int, java.lang.String, int, int, fr.ifremer.allegro.administration.programStrategy.Program)

findPhysicalFeaturesByNaturalId

public PhysicalFeatures findPhysicalFeaturesByNaturalId(java.util.Date startDate,
                                                        Vessel vessel,
                                                        Program program)
Specified by:
findPhysicalFeaturesByNaturalId in interface PhysicalFeaturesDao
See Also:
PhysicalFeaturesDao.findPhysicalFeaturesByNaturalId(java.util.Date, fr.ifremer.allegro.referential.vessel.Vessel, fr.ifremer.allegro.administration.programStrategy.Program)

findPhysicalFeaturesByNaturalId

public java.lang.Object findPhysicalFeaturesByNaturalId(int transform,
                                                        java.util.Date startDate,
                                                        Vessel vessel,
                                                        Program program)
Description copied from interface: PhysicalFeaturesDao

Does the same thing as PhysicalFeaturesDao.findPhysicalFeaturesByNaturalId(java.util.Date, fr.ifremer.allegro.referential.vessel.Vessel, fr.ifremer.allegro.administration.programStrategy.Program) 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:
findPhysicalFeaturesByNaturalId in interface PhysicalFeaturesDao
See Also:
PhysicalFeaturesDao.findPhysicalFeaturesByNaturalId(int, java.util.Date, fr.ifremer.allegro.referential.vessel.Vessel, fr.ifremer.allegro.administration.programStrategy.Program)

findPhysicalFeaturesByNaturalId

public PhysicalFeatures findPhysicalFeaturesByNaturalId(java.lang.String queryString,
                                                        java.util.Date startDate,
                                                        Vessel vessel,
                                                        Program program)
Description copied from interface: PhysicalFeaturesDao

Does the same thing as PhysicalFeaturesDao.findPhysicalFeaturesByNaturalId(java.util.Date, fr.ifremer.allegro.referential.vessel.Vessel, fr.ifremer.allegro.administration.programStrategy.Program) with an additional argument called queryString. This queryString argument allows you to override the query string defined in PhysicalFeaturesDao.findPhysicalFeaturesByNaturalId(java.util.Date, fr.ifremer.allegro.referential.vessel.Vessel, fr.ifremer.allegro.administration.programStrategy.Program).

Specified by:
findPhysicalFeaturesByNaturalId in interface PhysicalFeaturesDao
See Also:
PhysicalFeaturesDao.findPhysicalFeaturesByNaturalId(java.lang.String, java.util.Date, fr.ifremer.allegro.referential.vessel.Vessel, fr.ifremer.allegro.administration.programStrategy.Program)

findPhysicalFeaturesByNaturalId

public java.lang.Object findPhysicalFeaturesByNaturalId(int transform,
                                                        java.lang.String queryString,
                                                        java.util.Date startDate,
                                                        Vessel vessel,
                                                        Program program)
Description copied from interface: PhysicalFeaturesDao

Does the same thing as PhysicalFeaturesDao.findPhysicalFeaturesByNaturalId(int, java.util.Date, fr.ifremer.allegro.referential.vessel.Vessel, fr.ifremer.allegro.administration.programStrategy.Program) with an additional argument called queryString. This queryString argument allows you to override the query string defined in PhysicalFeaturesDao.findPhysicalFeaturesByNaturalId(int, java.util.Date startDate, fr.ifremer.allegro.referential.vessel.Vessel vessel, fr.ifremer.allegro.administration.programStrategy.Program program).

Specified by:
findPhysicalFeaturesByNaturalId in interface PhysicalFeaturesDao
See Also:
PhysicalFeaturesDao.findPhysicalFeaturesByNaturalId(int, java.lang.String, java.util.Date, fr.ifremer.allegro.referential.vessel.Vessel, fr.ifremer.allegro.administration.programStrategy.Program)

getAllPhysicalFeaturesSinceDateSynchro

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

getAllPhysicalFeaturesSinceDateSynchro

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

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

getAllPhysicalFeaturesSinceDateSynchro

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

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

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

getAllPhysicalFeaturesSinceDateSynchro

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

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

getAllPhysicalFeaturesSinceDateSynchro

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

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

getAllPhysicalFeaturesSinceDateSynchro

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

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

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

getAllPhysicalFeaturesSinceDateSynchro

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

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

getAllPhysicalFeaturesSinceDateSynchro

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

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

transformEntity

protected java.lang.Object transformEntity(int transform,
                                           PhysicalFeatures 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.data.vessel.feature.physical.PhysicalFeaturesDao, please note that the PhysicalFeaturesDao.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 PhysicalFeaturesDao.TRANSFORM_NONE is assumed.

Parameters:
transform - one of the constants declared in PhysicalFeaturesDao
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.data.vessel.feature.physical.PhysicalFeatures) 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.data.vessel.feature.physical.PhysicalFeaturesDao
entities - the collection of entities to transform
See Also:
transformEntity(int,fr.ifremer.allegro.data.vessel.feature.physical.PhysicalFeatures)

toEntity

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

toRemotePhysicalFeaturesFullVOCollection

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

Specified by:
toRemotePhysicalFeaturesFullVOCollection in interface PhysicalFeaturesDao
See Also:
PhysicalFeaturesDao.toRemotePhysicalFeaturesFullVOCollection(java.util.Collection)

toRemotePhysicalFeaturesFullVOArray

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

Specified by:
toRemotePhysicalFeaturesFullVOArray in interface PhysicalFeaturesDao
See Also:
PhysicalFeaturesDao.toRemotePhysicalFeaturesFullVOArray(java.util.Collection)

toRemotePhysicalFeaturesFullVO

protected RemotePhysicalFeaturesFullVO toRemotePhysicalFeaturesFullVO(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 PhysicalFeaturesDaoImpl class if you intend to use reporting queries.

See Also:
PhysicalFeaturesDao.toRemotePhysicalFeaturesFullVO(fr.ifremer.allegro.data.vessel.feature.physical.PhysicalFeatures)

remotePhysicalFeaturesFullVOToEntityCollection

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

Specified by:
remotePhysicalFeaturesFullVOToEntityCollection in interface PhysicalFeaturesDao
See Also:
PhysicalFeaturesDao.remotePhysicalFeaturesFullVOToEntityCollection(java.util.Collection)

toRemotePhysicalFeaturesFullVO

public void toRemotePhysicalFeaturesFullVO(PhysicalFeatures source,
                                           RemotePhysicalFeaturesFullVO target)
Description copied from interface: PhysicalFeaturesDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemotePhysicalFeaturesFullVO(), 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:
toRemotePhysicalFeaturesFullVO in interface PhysicalFeaturesDao
See Also:
PhysicalFeaturesDao.toRemotePhysicalFeaturesFullVO(fr.ifremer.allegro.data.vessel.feature.physical.PhysicalFeatures, fr.ifremer.allegro.data.vessel.feature.physical.generic.vo.RemotePhysicalFeaturesFullVO)

toRemotePhysicalFeaturesFullVO

public RemotePhysicalFeaturesFullVO toRemotePhysicalFeaturesFullVO(PhysicalFeatures entity)
Description copied from interface: PhysicalFeaturesDao
Converts this DAO's entity to an object of type RemotePhysicalFeaturesFullVO.

Specified by:
toRemotePhysicalFeaturesFullVO in interface PhysicalFeaturesDao
See Also:
PhysicalFeaturesDao.toRemotePhysicalFeaturesFullVO(fr.ifremer.allegro.data.vessel.feature.physical.PhysicalFeatures)

remotePhysicalFeaturesFullVOToEntity

public void remotePhysicalFeaturesFullVOToEntity(RemotePhysicalFeaturesFullVO source,
                                                 PhysicalFeatures target,
                                                 boolean copyIfNull)
Description copied from interface: PhysicalFeaturesDao
Copies the fields of RemotePhysicalFeaturesFullVO to the specified entity.

Specified by:
remotePhysicalFeaturesFullVOToEntity in interface PhysicalFeaturesDao
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.data.vessel.feature.physical.PhysicalFeaturesDao#remotePhysicalFeaturesFullVOToEntity(fr.ifremer.allegro.data.vessel.feature.physical.generic.vo.RemotePhysicalFeaturesFullVO, fr.ifremer.allegro.data.vessel.feature.physical.PhysicalFeatures)

toRemotePhysicalFeaturesNaturalIdCollection

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

Specified by:
toRemotePhysicalFeaturesNaturalIdCollection in interface PhysicalFeaturesDao
See Also:
PhysicalFeaturesDao.toRemotePhysicalFeaturesNaturalIdCollection(java.util.Collection)

toRemotePhysicalFeaturesNaturalIdArray

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

Specified by:
toRemotePhysicalFeaturesNaturalIdArray in interface PhysicalFeaturesDao
See Also:
PhysicalFeaturesDao.toRemotePhysicalFeaturesNaturalIdArray(java.util.Collection)

toRemotePhysicalFeaturesNaturalId

protected RemotePhysicalFeaturesNaturalId toRemotePhysicalFeaturesNaturalId(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 PhysicalFeaturesDaoImpl class if you intend to use reporting queries.

See Also:
PhysicalFeaturesDao.toRemotePhysicalFeaturesNaturalId(fr.ifremer.allegro.data.vessel.feature.physical.PhysicalFeatures)

remotePhysicalFeaturesNaturalIdToEntityCollection

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

Specified by:
remotePhysicalFeaturesNaturalIdToEntityCollection in interface PhysicalFeaturesDao
See Also:
PhysicalFeaturesDao.remotePhysicalFeaturesNaturalIdToEntityCollection(java.util.Collection)

toRemotePhysicalFeaturesNaturalId

public void toRemotePhysicalFeaturesNaturalId(PhysicalFeatures source,
                                              RemotePhysicalFeaturesNaturalId target)
Description copied from interface: PhysicalFeaturesDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemotePhysicalFeaturesNaturalId(), 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:
toRemotePhysicalFeaturesNaturalId in interface PhysicalFeaturesDao
See Also:
PhysicalFeaturesDao.toRemotePhysicalFeaturesNaturalId(fr.ifremer.allegro.data.vessel.feature.physical.PhysicalFeatures, fr.ifremer.allegro.data.vessel.feature.physical.generic.vo.RemotePhysicalFeaturesNaturalId)

toRemotePhysicalFeaturesNaturalId

public RemotePhysicalFeaturesNaturalId toRemotePhysicalFeaturesNaturalId(PhysicalFeatures entity)
Description copied from interface: PhysicalFeaturesDao
Converts this DAO's entity to an object of type RemotePhysicalFeaturesNaturalId.

Specified by:
toRemotePhysicalFeaturesNaturalId in interface PhysicalFeaturesDao
See Also:
PhysicalFeaturesDao.toRemotePhysicalFeaturesNaturalId(fr.ifremer.allegro.data.vessel.feature.physical.PhysicalFeatures)

remotePhysicalFeaturesNaturalIdToEntity

public void remotePhysicalFeaturesNaturalIdToEntity(RemotePhysicalFeaturesNaturalId source,
                                                    PhysicalFeatures target,
                                                    boolean copyIfNull)
Description copied from interface: PhysicalFeaturesDao
Copies the fields of RemotePhysicalFeaturesNaturalId to the specified entity.

Specified by:
remotePhysicalFeaturesNaturalIdToEntity in interface PhysicalFeaturesDao
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.data.vessel.feature.physical.PhysicalFeaturesDao#remotePhysicalFeaturesNaturalIdToEntity(fr.ifremer.allegro.data.vessel.feature.physical.generic.vo.RemotePhysicalFeaturesNaturalId, fr.ifremer.allegro.data.vessel.feature.physical.PhysicalFeatures)

toClusterPhysicalFeaturesCollection

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

Specified by:
toClusterPhysicalFeaturesCollection in interface PhysicalFeaturesDao
See Also:
PhysicalFeaturesDao.toClusterPhysicalFeaturesCollection(java.util.Collection)

toClusterPhysicalFeaturesArray

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

Specified by:
toClusterPhysicalFeaturesArray in interface PhysicalFeaturesDao
See Also:
PhysicalFeaturesDao.toClusterPhysicalFeaturesArray(java.util.Collection)

toClusterPhysicalFeatures

protected ClusterPhysicalFeatures toClusterPhysicalFeatures(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 PhysicalFeaturesDaoImpl class if you intend to use reporting queries.

See Also:
PhysicalFeaturesDao.toClusterPhysicalFeatures(fr.ifremer.allegro.data.vessel.feature.physical.PhysicalFeatures)

clusterPhysicalFeaturesToEntityCollection

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

Specified by:
clusterPhysicalFeaturesToEntityCollection in interface PhysicalFeaturesDao
See Also:
PhysicalFeaturesDao.clusterPhysicalFeaturesToEntityCollection(java.util.Collection)

toClusterPhysicalFeatures

public void toClusterPhysicalFeatures(PhysicalFeatures source,
                                      ClusterPhysicalFeatures target)
Description copied from interface: PhysicalFeaturesDao
Copies the fields of the specified entity to the target value object. This method is similar to toClusterPhysicalFeatures(), 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:
toClusterPhysicalFeatures in interface PhysicalFeaturesDao
See Also:
PhysicalFeaturesDao.toClusterPhysicalFeatures(fr.ifremer.allegro.data.vessel.feature.physical.PhysicalFeatures, fr.ifremer.allegro.data.vessel.feature.physical.generic.cluster.ClusterPhysicalFeatures)

toClusterPhysicalFeatures

public ClusterPhysicalFeatures toClusterPhysicalFeatures(PhysicalFeatures entity)
Description copied from interface: PhysicalFeaturesDao
Converts this DAO's entity to an object of type ClusterPhysicalFeatures.

Specified by:
toClusterPhysicalFeatures in interface PhysicalFeaturesDao
See Also:
PhysicalFeaturesDao.toClusterPhysicalFeatures(fr.ifremer.allegro.data.vessel.feature.physical.PhysicalFeatures)

clusterPhysicalFeaturesToEntity

public void clusterPhysicalFeaturesToEntity(ClusterPhysicalFeatures source,
                                            PhysicalFeatures target,
                                            boolean copyIfNull)
Description copied from interface: PhysicalFeaturesDao
Copies the fields of ClusterPhysicalFeatures to the specified entity.

Specified by:
clusterPhysicalFeaturesToEntity in interface PhysicalFeaturesDao
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.data.vessel.feature.physical.PhysicalFeaturesDao#clusterPhysicalFeaturesToEntity(fr.ifremer.allegro.data.vessel.feature.physical.generic.cluster.ClusterPhysicalFeatures, fr.ifremer.allegro.data.vessel.feature.physical.PhysicalFeatures)

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

search

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

search

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

search

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

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


Copyright © 2008-2010 IFREMER. All Rights Reserved.