fr.ifremer.allegro.data.vessel.feature.use
Class UseFeaturesDaoBase

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.data.vessel.feature.use.UseFeaturesDaoBase
All Implemented Interfaces:
UseFeaturesDao
Direct Known Subclasses:
UseFeaturesDaoImpl

public abstract class UseFeaturesDaoBase
extends org.springframework.orm.hibernate3.support.HibernateDaoSupport
implements UseFeaturesDao

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

See Also:
UseFeatures

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.data.vessel.feature.use.UseFeaturesDao
TRANSFORM_CLUSTERUSEFEATURES, TRANSFORM_NONE, TRANSFORM_REMOTEUSEFEATURESFULLVO, TRANSFORM_REMOTEUSEFEATURESNATURALID
 
Constructor Summary
UseFeaturesDaoBase()
           
 
Method Summary
 void clusterUseFeaturesToEntity(ClusterUseFeatures source, UseFeatures target, boolean copyIfNull)
          Copies the fields of ClusterUseFeatures to the specified entity.
 void clusterUseFeaturesToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type ClusterUseFeatures to this DAO's entity.
 UseFeatures findUseFeaturesById(java.lang.Integer id)
           
 java.lang.Object findUseFeaturesById(int transform, java.lang.Integer id)
           Does the same thing as UseFeaturesDao.findUseFeaturesById(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findUseFeaturesById(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as UseFeaturesDao.findUseFeaturesById(int, java.lang.Integer) with an additional argument called queryString.
 UseFeatures findUseFeaturesById(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as UseFeaturesDao.findUseFeaturesById(java.lang.Integer) with an additional argument called queryString.
 UseFeatures findUseFeaturesByNaturalId(java.util.Date startDate, Vessel vessel, Program program)
           
 java.lang.Object findUseFeaturesByNaturalId(int transform, java.util.Date startDate, Vessel vessel, Program program)
           Does the same thing as UseFeaturesDao.findUseFeaturesByNaturalId(java.util.Date, fr.ifremer.allegro.referential.vessel.Vessel, fr.ifremer.allegro.administration.programStrategy.Program) with an additional flag called transform.
 java.lang.Object findUseFeaturesByNaturalId(int transform, java.lang.String queryString, java.util.Date startDate, Vessel vessel, Program program)
           Does the same thing as UseFeaturesDao.findUseFeaturesByNaturalId(int, java.util.Date, fr.ifremer.allegro.referential.vessel.Vessel, fr.ifremer.allegro.administration.programStrategy.Program) with an additional argument called queryString.
 UseFeatures findUseFeaturesByNaturalId(java.lang.String queryString, java.util.Date startDate, Vessel vessel, Program program)
           Does the same thing as UseFeaturesDao.findUseFeaturesByNaturalId(java.util.Date, fr.ifremer.allegro.referential.vessel.Vessel, fr.ifremer.allegro.administration.programStrategy.Program) with an additional argument called queryString.
 java.util.Collection findUseFeaturesByProgram(int transform, int pageNumber, int pageSize, Program program)
           Does the same thing as UseFeaturesDao.findUseFeaturesByProgram(int, fr.ifremer.allegro.administration.programStrategy.Program) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findUseFeaturesByProgram(int pageNumber, int pageSize, Program program)
           Does the same thing as UseFeaturesDao.findUseFeaturesByProgram(fr.ifremer.allegro.administration.programStrategy.Program) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findUseFeaturesByProgram(int transform, Program program)
           Does the same thing as UseFeaturesDao.findUseFeaturesByProgram(fr.ifremer.allegro.administration.programStrategy.Program) with an additional flag called transform.
 java.util.Collection findUseFeaturesByProgram(int transform, java.lang.String queryString, int pageNumber, int pageSize, Program program)
           Does the same thing as UseFeaturesDao.findUseFeaturesByProgram(int, String, fr.ifremer.allegro.administration.programStrategy.Program) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findUseFeaturesByProgram(int transform, java.lang.String queryString, Program program)
           Does the same thing as UseFeaturesDao.findUseFeaturesByProgram(int, fr.ifremer.allegro.administration.programStrategy.Program) with an additional argument called queryString.
 java.util.Collection findUseFeaturesByProgram(Program program)
           
 java.util.Collection findUseFeaturesByProgram(java.lang.String queryString, int pageNumber, int pageSize, Program program)
           Does the same thing as UseFeaturesDao.findUseFeaturesByProgram(String, fr.ifremer.allegro.administration.programStrategy.Program) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findUseFeaturesByProgram(java.lang.String queryString, Program program)
           Does the same thing as UseFeaturesDao.findUseFeaturesByProgram(fr.ifremer.allegro.administration.programStrategy.Program) with an additional argument called queryString.
 java.util.Collection findUseFeaturesByQualityFlag(int transform, int pageNumber, int pageSize, QualityFlag qualityFlag)
           Does the same thing as UseFeaturesDao.findUseFeaturesByQualityFlag(int, fr.ifremer.allegro.referential.QualityFlag) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findUseFeaturesByQualityFlag(int pageNumber, int pageSize, QualityFlag qualityFlag)
           Does the same thing as UseFeaturesDao.findUseFeaturesByQualityFlag(fr.ifremer.allegro.referential.QualityFlag) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findUseFeaturesByQualityFlag(int transform, QualityFlag qualityFlag)
           Does the same thing as UseFeaturesDao.findUseFeaturesByQualityFlag(fr.ifremer.allegro.referential.QualityFlag) with an additional flag called transform.
 java.util.Collection findUseFeaturesByQualityFlag(int transform, java.lang.String queryString, int pageNumber, int pageSize, QualityFlag qualityFlag)
           Does the same thing as UseFeaturesDao.findUseFeaturesByQualityFlag(int, String, fr.ifremer.allegro.referential.QualityFlag) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findUseFeaturesByQualityFlag(int transform, java.lang.String queryString, QualityFlag qualityFlag)
           Does the same thing as UseFeaturesDao.findUseFeaturesByQualityFlag(int, fr.ifremer.allegro.referential.QualityFlag) with an additional argument called queryString.
 java.util.Collection findUseFeaturesByQualityFlag(QualityFlag qualityFlag)
           
 java.util.Collection findUseFeaturesByQualityFlag(java.lang.String queryString, int pageNumber, int pageSize, QualityFlag qualityFlag)
           Does the same thing as UseFeaturesDao.findUseFeaturesByQualityFlag(String, fr.ifremer.allegro.referential.QualityFlag) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findUseFeaturesByQualityFlag(java.lang.String queryString, QualityFlag qualityFlag)
           Does the same thing as UseFeaturesDao.findUseFeaturesByQualityFlag(fr.ifremer.allegro.referential.QualityFlag) with an additional argument called queryString.
 java.util.Collection findUseFeaturesByVessel(int transform, int pageNumber, int pageSize, Vessel vessel)
           Does the same thing as UseFeaturesDao.findUseFeaturesByVessel(int, fr.ifremer.allegro.referential.vessel.Vessel) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findUseFeaturesByVessel(int pageNumber, int pageSize, Vessel vessel)
           Does the same thing as UseFeaturesDao.findUseFeaturesByVessel(fr.ifremer.allegro.referential.vessel.Vessel) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findUseFeaturesByVessel(int transform, java.lang.String queryString, int pageNumber, int pageSize, Vessel vessel)
           Does the same thing as UseFeaturesDao.findUseFeaturesByVessel(int, String, fr.ifremer.allegro.referential.vessel.Vessel) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findUseFeaturesByVessel(int transform, java.lang.String queryString, Vessel vessel)
           Does the same thing as UseFeaturesDao.findUseFeaturesByVessel(int, fr.ifremer.allegro.referential.vessel.Vessel) with an additional argument called queryString.
 java.util.Collection findUseFeaturesByVessel(int transform, Vessel vessel)
           Does the same thing as UseFeaturesDao.findUseFeaturesByVessel(fr.ifremer.allegro.referential.vessel.Vessel) with an additional flag called transform.
 java.util.Collection findUseFeaturesByVessel(java.lang.String queryString, int pageNumber, int pageSize, Vessel vessel)
           Does the same thing as UseFeaturesDao.findUseFeaturesByVessel(String, fr.ifremer.allegro.referential.vessel.Vessel) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findUseFeaturesByVessel(java.lang.String queryString, Vessel vessel)
           Does the same thing as UseFeaturesDao.findUseFeaturesByVessel(fr.ifremer.allegro.referential.vessel.Vessel) with an additional argument called queryString.
 java.util.Collection findUseFeaturesByVessel(Vessel vessel)
           
 java.util.Collection getAllUseFeatures()
           
 java.util.Collection getAllUseFeatures(int transform)
           Does the same thing as UseFeaturesDao.getAllUseFeatures() with an additional flag called transform.
 java.util.Collection getAllUseFeatures(int pageNumber, int pageSize)
           Does the same thing as UseFeaturesDao.getAllUseFeatures() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllUseFeatures(int transform, int pageNumber, int pageSize)
           Does the same thing as UseFeaturesDao.getAllUseFeatures(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllUseFeatures(int transform, java.lang.String queryString)
           Does the same thing as UseFeaturesDao.getAllUseFeatures(int) with an additional argument called queryString.
 java.util.Collection getAllUseFeatures(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as UseFeaturesDao.getAllUseFeatures(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllUseFeatures(java.lang.String queryString)
           Does the same thing as UseFeaturesDao.getAllUseFeatures() with an additional argument called queryString.
 java.util.Collection getAllUseFeatures(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as UseFeaturesDao.getAllUseFeatures(String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllUseFeaturesSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as UseFeaturesDao.getAllUseFeaturesSinceDateSynchro(int, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllUseFeaturesSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as UseFeaturesDao.getAllUseFeaturesSinceDateSynchro(java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllUseFeaturesSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as UseFeaturesDao.getAllUseFeaturesSinceDateSynchro(int, String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllUseFeaturesSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as UseFeaturesDao.getAllUseFeaturesSinceDateSynchro(int, java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllUseFeaturesSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
           Does the same thing as UseFeaturesDao.getAllUseFeaturesSinceDateSynchro(java.sql.Timestamp) with an additional flag called transform.
 java.util.Collection getAllUseFeaturesSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as UseFeaturesDao.getAllUseFeaturesSinceDateSynchro(String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllUseFeaturesSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as UseFeaturesDao.getAllUseFeaturesSinceDateSynchro(java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllUseFeaturesSinceDateSynchro(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.
 UseFeatures load(java.lang.Integer id)
          Loads an instance of fr.ifremer.allegro.data.vessel.feature.use.UseFeatures from the persistent store.
 java.lang.Object load(int transform, java.lang.Integer id)
           Does the same thing as UseFeaturesDao.load(java.lang.Integer) with an additional flag called transform.
 java.util.Collection loadAll()
          Loads all entities of type UseFeatures.
 java.util.Collection loadAll(int transform)
           Does the same thing as UseFeaturesDao.loadAll() with an additional flag called transform.
 java.util.Collection loadAll(int pageNumber, int pageSize)
           Does the same thing as UseFeaturesDao.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 UseFeaturesDao.loadAll(int) with an additional two arguments called pageNumber and pageSize.
 void remoteUseFeaturesFullVOToEntity(RemoteUseFeaturesFullVO source, UseFeatures target, boolean copyIfNull)
          Copies the fields of RemoteUseFeaturesFullVO to the specified entity.
 void remoteUseFeaturesFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteUseFeaturesFullVO to this DAO's entity.
 void remoteUseFeaturesNaturalIdToEntity(RemoteUseFeaturesNaturalId source, UseFeatures target, boolean copyIfNull)
          Copies the fields of RemoteUseFeaturesNaturalId to the specified entity.
 void remoteUseFeaturesNaturalIdToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteUseFeaturesNaturalId 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.use.UseFeatures having the given identifier from the persistent store.
 void remove(UseFeatures useFeatures)
          Removes the instance of fr.ifremer.allegro.data.vessel.feature.use.UseFeatures 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 UseFeaturesDao.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  ClusterUseFeatures toClusterUseFeatures(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 ClusterUseFeatures toClusterUseFeatures(UseFeatures entity)
          Converts this DAO's entity to an object of type ClusterUseFeatures.
 void toClusterUseFeatures(UseFeatures source, ClusterUseFeatures target)
          Copies the fields of the specified entity to the target value object.
 ClusterUseFeatures[] toClusterUseFeaturesArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type ClusterUseFeatures.
 void toClusterUseFeaturesCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type ClusterUseFeatures.
protected  UseFeatures toEntity(java.lang.Object[] row)
           
protected  RemoteUseFeaturesFullVO toRemoteUseFeaturesFullVO(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteUseFeaturesFullVO toRemoteUseFeaturesFullVO(UseFeatures entity)
          Converts this DAO's entity to an object of type RemoteUseFeaturesFullVO.
 void toRemoteUseFeaturesFullVO(UseFeatures source, RemoteUseFeaturesFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteUseFeaturesFullVO[] toRemoteUseFeaturesFullVOArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteUseFeaturesFullVO.
 void toRemoteUseFeaturesFullVOCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteUseFeaturesFullVO.
protected  RemoteUseFeaturesNaturalId toRemoteUseFeaturesNaturalId(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteUseFeaturesNaturalId toRemoteUseFeaturesNaturalId(UseFeatures entity)
          Converts this DAO's entity to an object of type RemoteUseFeaturesNaturalId.
 void toRemoteUseFeaturesNaturalId(UseFeatures source, RemoteUseFeaturesNaturalId target)
          Copies the fields of the specified entity to the target value object.
 RemoteUseFeaturesNaturalId[] toRemoteUseFeaturesNaturalIdArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteUseFeaturesNaturalId.
 void toRemoteUseFeaturesNaturalIdCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteUseFeaturesNaturalId.
protected  void transformEntities(int transform, java.util.Collection entities)
          Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.data.vessel.feature.use.UseFeatures) method.
protected  java.lang.Object transformEntity(int transform, UseFeatures 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.use.UseFeaturesDao, please note that the UseFeaturesDao.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(UseFeatures useFeatures)
          Updates the useFeatures 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.use.UseFeaturesDao
clusterUseFeaturesToEntity, remoteUseFeaturesFullVOToEntity, remoteUseFeaturesNaturalIdToEntity
 

Constructor Detail

UseFeaturesDaoBase

public UseFeaturesDaoBase()
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: UseFeaturesDao

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

load

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

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

loadAll

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

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

loadAll

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

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

loadAll

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

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

loadAll

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

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

update

public void update(UseFeatures useFeatures)
Description copied from interface: UseFeaturesDao
Updates the useFeatures instance in the persistent store.

Specified by:
update in interface UseFeaturesDao
See Also:
UseFeaturesDao.update(fr.ifremer.allegro.data.vessel.feature.use.UseFeatures)

update

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

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

remove

public void remove(UseFeatures useFeatures)
Description copied from interface: UseFeaturesDao
Removes the instance of fr.ifremer.allegro.data.vessel.feature.use.UseFeatures from the persistent store.

Specified by:
remove in interface UseFeaturesDao
See Also:
UseFeaturesDao.remove(fr.ifremer.allegro.data.vessel.feature.use.UseFeatures)

remove

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

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

remove

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

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

getAllUseFeatures

public java.util.Collection getAllUseFeatures()
Specified by:
getAllUseFeatures in interface UseFeaturesDao
See Also:
UseFeaturesDao.getAllUseFeatures()

getAllUseFeatures

public java.util.Collection getAllUseFeatures(int transform)
Description copied from interface: UseFeaturesDao

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

getAllUseFeatures

public java.util.Collection getAllUseFeatures(java.lang.String queryString)
Description copied from interface: UseFeaturesDao

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

Specified by:
getAllUseFeatures in interface UseFeaturesDao
See Also:
UseFeaturesDao.getAllUseFeatures(java.lang.String)

getAllUseFeatures

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

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

getAllUseFeatures

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

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

getAllUseFeatures

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

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

Specified by:
getAllUseFeatures in interface UseFeaturesDao
See Also:
UseFeaturesDao.getAllUseFeatures(int, String)

getAllUseFeatures

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

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

getAllUseFeatures

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

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

findUseFeaturesById

public UseFeatures findUseFeaturesById(java.lang.Integer id)
Specified by:
findUseFeaturesById in interface UseFeaturesDao
See Also:
UseFeaturesDao.findUseFeaturesById(java.lang.Integer)

findUseFeaturesById

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

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

findUseFeaturesById

public UseFeatures findUseFeaturesById(java.lang.String queryString,
                                       java.lang.Integer id)
Description copied from interface: UseFeaturesDao

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

Specified by:
findUseFeaturesById in interface UseFeaturesDao
See Also:
UseFeaturesDao.findUseFeaturesById(java.lang.String, java.lang.Integer)

findUseFeaturesById

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

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

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

findUseFeaturesByQualityFlag

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

findUseFeaturesByQualityFlag

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

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

findUseFeaturesByQualityFlag

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

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

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

findUseFeaturesByQualityFlag

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

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

findUseFeaturesByQualityFlag

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

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

findUseFeaturesByQualityFlag

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

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

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

findUseFeaturesByQualityFlag

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

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

findUseFeaturesByQualityFlag

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

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

findUseFeaturesByVessel

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

findUseFeaturesByVessel

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

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

findUseFeaturesByVessel

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

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

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

findUseFeaturesByVessel

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

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

findUseFeaturesByVessel

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

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

findUseFeaturesByVessel

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

Does the same thing as UseFeaturesDao.findUseFeaturesByVessel(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 UseFeaturesDao.findUseFeaturesByVessel(int, fr.ifremer.allegro.referential.vessel.Vessel vessel).

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

findUseFeaturesByVessel

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

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

findUseFeaturesByVessel

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

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

findUseFeaturesByProgram

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

findUseFeaturesByProgram

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

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

findUseFeaturesByProgram

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

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

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

findUseFeaturesByProgram

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

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

findUseFeaturesByProgram

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

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

findUseFeaturesByProgram

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

Does the same thing as UseFeaturesDao.findUseFeaturesByProgram(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 UseFeaturesDao.findUseFeaturesByProgram(int, fr.ifremer.allegro.administration.programStrategy.Program program).

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

findUseFeaturesByProgram

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

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

findUseFeaturesByProgram

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

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

findUseFeaturesByNaturalId

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

findUseFeaturesByNaturalId

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

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

findUseFeaturesByNaturalId

public UseFeatures findUseFeaturesByNaturalId(java.lang.String queryString,
                                              java.util.Date startDate,
                                              Vessel vessel,
                                              Program program)
Description copied from interface: UseFeaturesDao

Does the same thing as UseFeaturesDao.findUseFeaturesByNaturalId(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 UseFeaturesDao.findUseFeaturesByNaturalId(java.util.Date, fr.ifremer.allegro.referential.vessel.Vessel, fr.ifremer.allegro.administration.programStrategy.Program).

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

findUseFeaturesByNaturalId

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

Does the same thing as UseFeaturesDao.findUseFeaturesByNaturalId(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 UseFeaturesDao.findUseFeaturesByNaturalId(int, java.util.Date startDate, fr.ifremer.allegro.referential.vessel.Vessel vessel, fr.ifremer.allegro.administration.programStrategy.Program program).

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

getAllUseFeaturesSinceDateSynchro

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

getAllUseFeaturesSinceDateSynchro

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

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

getAllUseFeaturesSinceDateSynchro

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

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

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

getAllUseFeaturesSinceDateSynchro

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

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

getAllUseFeaturesSinceDateSynchro

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

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

getAllUseFeaturesSinceDateSynchro

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

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

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

getAllUseFeaturesSinceDateSynchro

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

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

getAllUseFeaturesSinceDateSynchro

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

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

transformEntity

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

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

toEntity

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

toRemoteUseFeaturesFullVOCollection

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

Specified by:
toRemoteUseFeaturesFullVOCollection in interface UseFeaturesDao
See Also:
UseFeaturesDao.toRemoteUseFeaturesFullVOCollection(java.util.Collection)

toRemoteUseFeaturesFullVOArray

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

Specified by:
toRemoteUseFeaturesFullVOArray in interface UseFeaturesDao
See Also:
UseFeaturesDao.toRemoteUseFeaturesFullVOArray(java.util.Collection)

toRemoteUseFeaturesFullVO

protected RemoteUseFeaturesFullVO toRemoteUseFeaturesFullVO(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 UseFeaturesDaoImpl class if you intend to use reporting queries.

See Also:
UseFeaturesDao.toRemoteUseFeaturesFullVO(fr.ifremer.allegro.data.vessel.feature.use.UseFeatures)

remoteUseFeaturesFullVOToEntityCollection

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

Specified by:
remoteUseFeaturesFullVOToEntityCollection in interface UseFeaturesDao
See Also:
UseFeaturesDao.remoteUseFeaturesFullVOToEntityCollection(java.util.Collection)

toRemoteUseFeaturesFullVO

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

toRemoteUseFeaturesFullVO

public RemoteUseFeaturesFullVO toRemoteUseFeaturesFullVO(UseFeatures entity)
Description copied from interface: UseFeaturesDao
Converts this DAO's entity to an object of type RemoteUseFeaturesFullVO.

Specified by:
toRemoteUseFeaturesFullVO in interface UseFeaturesDao
See Also:
UseFeaturesDao.toRemoteUseFeaturesFullVO(fr.ifremer.allegro.data.vessel.feature.use.UseFeatures)

remoteUseFeaturesFullVOToEntity

public void remoteUseFeaturesFullVOToEntity(RemoteUseFeaturesFullVO source,
                                            UseFeatures target,
                                            boolean copyIfNull)
Description copied from interface: UseFeaturesDao
Copies the fields of RemoteUseFeaturesFullVO to the specified entity.

Specified by:
remoteUseFeaturesFullVOToEntity in interface UseFeaturesDao
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.use.UseFeaturesDao#remoteUseFeaturesFullVOToEntity(fr.ifremer.allegro.data.vessel.feature.use.generic.vo.RemoteUseFeaturesFullVO, fr.ifremer.allegro.data.vessel.feature.use.UseFeatures)

toRemoteUseFeaturesNaturalIdCollection

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

Specified by:
toRemoteUseFeaturesNaturalIdCollection in interface UseFeaturesDao
See Also:
UseFeaturesDao.toRemoteUseFeaturesNaturalIdCollection(java.util.Collection)

toRemoteUseFeaturesNaturalIdArray

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

Specified by:
toRemoteUseFeaturesNaturalIdArray in interface UseFeaturesDao
See Also:
UseFeaturesDao.toRemoteUseFeaturesNaturalIdArray(java.util.Collection)

toRemoteUseFeaturesNaturalId

protected RemoteUseFeaturesNaturalId toRemoteUseFeaturesNaturalId(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 UseFeaturesDaoImpl class if you intend to use reporting queries.

See Also:
UseFeaturesDao.toRemoteUseFeaturesNaturalId(fr.ifremer.allegro.data.vessel.feature.use.UseFeatures)

remoteUseFeaturesNaturalIdToEntityCollection

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

Specified by:
remoteUseFeaturesNaturalIdToEntityCollection in interface UseFeaturesDao
See Also:
UseFeaturesDao.remoteUseFeaturesNaturalIdToEntityCollection(java.util.Collection)

toRemoteUseFeaturesNaturalId

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

toRemoteUseFeaturesNaturalId

public RemoteUseFeaturesNaturalId toRemoteUseFeaturesNaturalId(UseFeatures entity)
Description copied from interface: UseFeaturesDao
Converts this DAO's entity to an object of type RemoteUseFeaturesNaturalId.

Specified by:
toRemoteUseFeaturesNaturalId in interface UseFeaturesDao
See Also:
UseFeaturesDao.toRemoteUseFeaturesNaturalId(fr.ifremer.allegro.data.vessel.feature.use.UseFeatures)

remoteUseFeaturesNaturalIdToEntity

public void remoteUseFeaturesNaturalIdToEntity(RemoteUseFeaturesNaturalId source,
                                               UseFeatures target,
                                               boolean copyIfNull)
Description copied from interface: UseFeaturesDao
Copies the fields of RemoteUseFeaturesNaturalId to the specified entity.

Specified by:
remoteUseFeaturesNaturalIdToEntity in interface UseFeaturesDao
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.use.UseFeaturesDao#remoteUseFeaturesNaturalIdToEntity(fr.ifremer.allegro.data.vessel.feature.use.generic.vo.RemoteUseFeaturesNaturalId, fr.ifremer.allegro.data.vessel.feature.use.UseFeatures)

toClusterUseFeaturesCollection

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

Specified by:
toClusterUseFeaturesCollection in interface UseFeaturesDao
See Also:
UseFeaturesDao.toClusterUseFeaturesCollection(java.util.Collection)

toClusterUseFeaturesArray

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

Specified by:
toClusterUseFeaturesArray in interface UseFeaturesDao
See Also:
UseFeaturesDao.toClusterUseFeaturesArray(java.util.Collection)

toClusterUseFeatures

protected ClusterUseFeatures toClusterUseFeatures(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 UseFeaturesDaoImpl class if you intend to use reporting queries.

See Also:
UseFeaturesDao.toClusterUseFeatures(fr.ifremer.allegro.data.vessel.feature.use.UseFeatures)

clusterUseFeaturesToEntityCollection

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

Specified by:
clusterUseFeaturesToEntityCollection in interface UseFeaturesDao
See Also:
UseFeaturesDao.clusterUseFeaturesToEntityCollection(java.util.Collection)

toClusterUseFeatures

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

toClusterUseFeatures

public ClusterUseFeatures toClusterUseFeatures(UseFeatures entity)
Description copied from interface: UseFeaturesDao
Converts this DAO's entity to an object of type ClusterUseFeatures.

Specified by:
toClusterUseFeatures in interface UseFeaturesDao
See Also:
UseFeaturesDao.toClusterUseFeatures(fr.ifremer.allegro.data.vessel.feature.use.UseFeatures)

clusterUseFeaturesToEntity

public void clusterUseFeaturesToEntity(ClusterUseFeatures source,
                                       UseFeatures target,
                                       boolean copyIfNull)
Description copied from interface: UseFeaturesDao
Copies the fields of ClusterUseFeatures to the specified entity.

Specified by:
clusterUseFeaturesToEntity in interface UseFeaturesDao
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.use.UseFeaturesDao#clusterUseFeaturesToEntity(fr.ifremer.allegro.data.vessel.feature.use.generic.cluster.ClusterUseFeatures, fr.ifremer.allegro.data.vessel.feature.use.UseFeatures)

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

search

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

search

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

search

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

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


Copyright © 2008-2010 IFREMER. All Rights Reserved.