fr.ifremer.allegro.referential.conversion
Class WeightLengthConversionDaoBase

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.referential.conversion.WeightLengthConversionDaoBase
All Implemented Interfaces:
WeightLengthConversionDao
Direct Known Subclasses:
WeightLengthConversionDaoImpl

public abstract class WeightLengthConversionDaoBase
extends org.springframework.orm.hibernate3.support.HibernateDaoSupport
implements WeightLengthConversionDao

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

See Also:
WeightLengthConversion

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.conversion.WeightLengthConversionDao
TRANSFORM_CLUSTERWEIGHTLENGTHCONVERSION, TRANSFORM_NONE, TRANSFORM_REMOTEWEIGHTLENGTHCONVERSIONFULLVO, TRANSFORM_REMOTEWEIGHTLENGTHCONVERSIONNATURALID
 
Constructor Summary
WeightLengthConversionDaoBase()
           
 
Method Summary
 void clusterWeightLengthConversionToEntity(ClusterWeightLengthConversion source, WeightLengthConversion target, boolean copyIfNull)
          Copies the fields of ClusterWeightLengthConversion to the specified entity.
 void clusterWeightLengthConversionToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type ClusterWeightLengthConversion to this DAO's entity.
 java.util.Collection create(java.util.Collection entities)
          Creates a new instance of fr.ifremer.allegro.referential.conversion.WeightLengthConversion and adds from the passed in entities collection
 WeightLengthConversion create(java.lang.Float conversionCoefficientA, java.lang.Float conversionCoefficientB, java.lang.Integer endMonth, Location location, ReferenceTaxon referenceTaxon, java.lang.Integer startMonth)
           Creates a new fr.ifremer.allegro.referential.conversion.WeightLengthConversion instance from only required properties (attributes and association ends) and adds it to the persistent store.
 java.util.Collection create(int transform, java.util.Collection entities)
           Does the same thing as WeightLengthConversionDao.create(fr.ifremer.allegro.referential.conversion.WeightLengthConversion) with an additional flag called transform.
 WeightLengthConversion create(java.lang.Integer startMonth, java.lang.Integer endMonth, java.lang.String description, java.lang.Float conversionCoefficientA, java.lang.Float conversionCoefficientB, java.lang.Integer year, java.sql.Timestamp updateDate, Location location, QualitativeValue sex, ReferenceTaxon referenceTaxon)
           Creates a new fr.ifremer.allegro.referential.conversion.WeightLengthConversion instance from all attributes and properties and adds it to the persistent store.
 java.lang.Object create(int transform, java.lang.Float conversionCoefficientA, java.lang.Float conversionCoefficientB, java.lang.Integer endMonth, Location location, ReferenceTaxon referenceTaxon, java.lang.Integer startMonth)
           Does the same thing as WeightLengthConversionDao.create(java.lang.Float,java.lang.Float,java.lang.Integer,fr.ifremer.allegro.referential.location.Location,fr.ifremer.allegro.referential.taxon.ReferenceTaxon,java.lang.Integer) with an additional flag called transform.
 java.lang.Object create(int transform, java.lang.Integer startMonth, java.lang.Integer endMonth, java.lang.String description, java.lang.Float conversionCoefficientA, java.lang.Float conversionCoefficientB, java.lang.Integer year, java.sql.Timestamp updateDate, Location location, QualitativeValue sex, ReferenceTaxon referenceTaxon)
           Does the same thing as WeightLengthConversionDao.create(java.lang.Integer,java.lang.Integer,java.lang.String,java.lang.Float,java.lang.Float,java.lang.Integer,java.sql.Timestamp,fr.ifremer.allegro.referential.location.Location,fr.ifremer.allegro.referential.pmfm.QualitativeValue,fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an additional flag called transform.
 java.lang.Object create(int transform, WeightLengthConversion weightLengthConversion)
           Does the same thing as WeightLengthConversionDao.create(fr.ifremer.allegro.referential.conversion.WeightLengthConversion) with an additional flag called transform.
 WeightLengthConversion create(WeightLengthConversion weightLengthConversion)
          Creates an instance of fr.ifremer.allegro.referential.conversion.WeightLengthConversion and adds it to the persistent store.
 WeightLengthConversion createFromClusterWeightLengthConversion(ClusterWeightLengthConversion clusterWeightLengthConversion)
           
 WeightLengthConversion findWeightLengthConversionById(java.lang.Integer id)
           
 java.lang.Object findWeightLengthConversionById(int transform, java.lang.Integer id)
           Does the same thing as WeightLengthConversionDao.findWeightLengthConversionById(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findWeightLengthConversionById(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as WeightLengthConversionDao.findWeightLengthConversionById(int, java.lang.Integer) with an additional argument called queryString.
 WeightLengthConversion findWeightLengthConversionById(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as WeightLengthConversionDao.findWeightLengthConversionById(java.lang.Integer) with an additional argument called queryString.
 java.util.Collection findWeightLengthConversionByLocation(int transform, int pageNumber, int pageSize, Location location)
           Does the same thing as WeightLengthConversionDao.findWeightLengthConversionByLocation(int, fr.ifremer.allegro.referential.location.Location) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findWeightLengthConversionByLocation(int pageNumber, int pageSize, Location location)
           Does the same thing as WeightLengthConversionDao.findWeightLengthConversionByLocation(fr.ifremer.allegro.referential.location.Location) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findWeightLengthConversionByLocation(int transform, Location location)
           Does the same thing as WeightLengthConversionDao.findWeightLengthConversionByLocation(fr.ifremer.allegro.referential.location.Location) with an additional flag called transform.
 java.util.Collection findWeightLengthConversionByLocation(int transform, java.lang.String queryString, int pageNumber, int pageSize, Location location)
           Does the same thing as WeightLengthConversionDao.findWeightLengthConversionByLocation(int, String, fr.ifremer.allegro.referential.location.Location) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findWeightLengthConversionByLocation(int transform, java.lang.String queryString, Location location)
           Does the same thing as WeightLengthConversionDao.findWeightLengthConversionByLocation(int, fr.ifremer.allegro.referential.location.Location) with an additional argument called queryString.
 java.util.Collection findWeightLengthConversionByLocation(Location location)
           
 java.util.Collection findWeightLengthConversionByLocation(java.lang.String queryString, int pageNumber, int pageSize, Location location)
           Does the same thing as WeightLengthConversionDao.findWeightLengthConversionByLocation(String, fr.ifremer.allegro.referential.location.Location) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findWeightLengthConversionByLocation(java.lang.String queryString, Location location)
           Does the same thing as WeightLengthConversionDao.findWeightLengthConversionByLocation(fr.ifremer.allegro.referential.location.Location) with an additional argument called queryString.
 WeightLengthConversion findWeightLengthConversionByNaturalId(java.lang.Integer id)
           
 java.lang.Object findWeightLengthConversionByNaturalId(int transform, java.lang.Integer id)
           Does the same thing as WeightLengthConversionDao.findWeightLengthConversionByNaturalId(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findWeightLengthConversionByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as WeightLengthConversionDao.findWeightLengthConversionByNaturalId(int, java.lang.Integer) with an additional argument called queryString.
 WeightLengthConversion findWeightLengthConversionByNaturalId(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as WeightLengthConversionDao.findWeightLengthConversionByNaturalId(java.lang.Integer) with an additional argument called queryString.
 java.util.Collection findWeightLengthConversionByReferenceTaxon(int transform, int pageNumber, int pageSize, ReferenceTaxon referenceTaxon)
           Does the same thing as WeightLengthConversionDao.findWeightLengthConversionByReferenceTaxon(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findWeightLengthConversionByReferenceTaxon(int pageNumber, int pageSize, ReferenceTaxon referenceTaxon)
           Does the same thing as WeightLengthConversionDao.findWeightLengthConversionByReferenceTaxon(fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findWeightLengthConversionByReferenceTaxon(int transform, ReferenceTaxon referenceTaxon)
           Does the same thing as WeightLengthConversionDao.findWeightLengthConversionByReferenceTaxon(fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an additional flag called transform.
 java.util.Collection findWeightLengthConversionByReferenceTaxon(int transform, java.lang.String queryString, int pageNumber, int pageSize, ReferenceTaxon referenceTaxon)
           Does the same thing as WeightLengthConversionDao.findWeightLengthConversionByReferenceTaxon(int, String, fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findWeightLengthConversionByReferenceTaxon(int transform, java.lang.String queryString, ReferenceTaxon referenceTaxon)
           Does the same thing as WeightLengthConversionDao.findWeightLengthConversionByReferenceTaxon(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an additional argument called queryString.
 java.util.Collection findWeightLengthConversionByReferenceTaxon(ReferenceTaxon referenceTaxon)
           
 java.util.Collection findWeightLengthConversionByReferenceTaxon(java.lang.String queryString, int pageNumber, int pageSize, ReferenceTaxon referenceTaxon)
           Does the same thing as WeightLengthConversionDao.findWeightLengthConversionByReferenceTaxon(String, fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findWeightLengthConversionByReferenceTaxon(java.lang.String queryString, ReferenceTaxon referenceTaxon)
           Does the same thing as WeightLengthConversionDao.findWeightLengthConversionByReferenceTaxon(fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an additional argument called queryString.
 java.util.Collection findWeightLengthConversionBySex(int transform, int pageNumber, int pageSize, QualitativeValue sex)
           Does the same thing as WeightLengthConversionDao.findWeightLengthConversionBySex(int, fr.ifremer.allegro.referential.pmfm.QualitativeValue) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findWeightLengthConversionBySex(int pageNumber, int pageSize, QualitativeValue sex)
           Does the same thing as WeightLengthConversionDao.findWeightLengthConversionBySex(fr.ifremer.allegro.referential.pmfm.QualitativeValue) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findWeightLengthConversionBySex(int transform, QualitativeValue sex)
           Does the same thing as WeightLengthConversionDao.findWeightLengthConversionBySex(fr.ifremer.allegro.referential.pmfm.QualitativeValue) with an additional flag called transform.
 java.util.Collection findWeightLengthConversionBySex(int transform, java.lang.String queryString, int pageNumber, int pageSize, QualitativeValue sex)
           Does the same thing as WeightLengthConversionDao.findWeightLengthConversionBySex(int, String, fr.ifremer.allegro.referential.pmfm.QualitativeValue) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findWeightLengthConversionBySex(int transform, java.lang.String queryString, QualitativeValue sex)
           Does the same thing as WeightLengthConversionDao.findWeightLengthConversionBySex(int, fr.ifremer.allegro.referential.pmfm.QualitativeValue) with an additional argument called queryString.
 java.util.Collection findWeightLengthConversionBySex(QualitativeValue sex)
           
 java.util.Collection findWeightLengthConversionBySex(java.lang.String queryString, int pageNumber, int pageSize, QualitativeValue sex)
           Does the same thing as WeightLengthConversionDao.findWeightLengthConversionBySex(String, fr.ifremer.allegro.referential.pmfm.QualitativeValue) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findWeightLengthConversionBySex(java.lang.String queryString, QualitativeValue sex)
           Does the same thing as WeightLengthConversionDao.findWeightLengthConversionBySex(fr.ifremer.allegro.referential.pmfm.QualitativeValue) with an additional argument called queryString.
 ClusterWeightLengthConversion[] getAllClusterWeightLengthConversionSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
 java.util.Collection getAllWeightLengthConversion()
           
 java.util.Collection getAllWeightLengthConversion(int transform)
           Does the same thing as WeightLengthConversionDao.getAllWeightLengthConversion() with an additional flag called transform.
 java.util.Collection getAllWeightLengthConversion(int pageNumber, int pageSize)
           Does the same thing as WeightLengthConversionDao.getAllWeightLengthConversion() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllWeightLengthConversion(int transform, int pageNumber, int pageSize)
           Does the same thing as WeightLengthConversionDao.getAllWeightLengthConversion(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllWeightLengthConversion(int transform, java.lang.String queryString)
           Does the same thing as WeightLengthConversionDao.getAllWeightLengthConversion(int) with an additional argument called queryString.
 java.util.Collection getAllWeightLengthConversion(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as WeightLengthConversionDao.getAllWeightLengthConversion(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllWeightLengthConversion(java.lang.String queryString)
           Does the same thing as WeightLengthConversionDao.getAllWeightLengthConversion() with an additional argument called queryString.
 java.util.Collection getAllWeightLengthConversion(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as WeightLengthConversionDao.getAllWeightLengthConversion(String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllWeightLengthConversionSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as WeightLengthConversionDao.getAllWeightLengthConversionSinceDateSynchro(int, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllWeightLengthConversionSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as WeightLengthConversionDao.getAllWeightLengthConversionSinceDateSynchro(java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllWeightLengthConversionSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as WeightLengthConversionDao.getAllWeightLengthConversionSinceDateSynchro(int, String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllWeightLengthConversionSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as WeightLengthConversionDao.getAllWeightLengthConversionSinceDateSynchro(int, java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllWeightLengthConversionSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
           Does the same thing as WeightLengthConversionDao.getAllWeightLengthConversionSinceDateSynchro(java.sql.Timestamp) with an additional flag called transform.
 java.util.Collection getAllWeightLengthConversionSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as WeightLengthConversionDao.getAllWeightLengthConversionSinceDateSynchro(String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllWeightLengthConversionSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as WeightLengthConversionDao.getAllWeightLengthConversionSinceDateSynchro(java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllWeightLengthConversionSinceDateSynchro(java.sql.Timestamp updateDate)
           
protected  LocationDao getLocationDao()
          Gets the reference to locationDao.
protected  java.security.Principal getPrincipal()
          Gets the current principal if one has been set, otherwise returns null.
protected  QualitativeValueDao getQualitativeValueDao()
          Gets the reference to qualitativeValueDao.
protected  ReferenceTaxonDao getReferenceTaxonDao()
          Gets the reference to referenceTaxonDao.
protected abstract  WeightLengthConversion handleCreateFromClusterWeightLengthConversion(ClusterWeightLengthConversion clusterWeightLengthConversion)
          Performs the core logic for createFromClusterWeightLengthConversion(fr.ifremer.allegro.referential.conversion.generic.cluster.ClusterWeightLengthConversion)
protected abstract  ClusterWeightLengthConversion[] handleGetAllClusterWeightLengthConversionSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
          Performs the core logic for getAllClusterWeightLengthConversionSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 WeightLengthConversion load(java.lang.Integer id)
          Loads an instance of fr.ifremer.allegro.referential.conversion.WeightLengthConversion from the persistent store.
 java.lang.Object load(int transform, java.lang.Integer id)
           Does the same thing as WeightLengthConversionDao.load(java.lang.Integer) with an additional flag called transform.
 java.util.Collection loadAll()
          Loads all entities of type WeightLengthConversion.
 java.util.Collection loadAll(int transform)
           Does the same thing as WeightLengthConversionDao.loadAll() with an additional flag called transform.
 java.util.Collection loadAll(int pageNumber, int pageSize)
           Does the same thing as WeightLengthConversionDao.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 WeightLengthConversionDao.loadAll(int) with an additional two arguments called pageNumber and pageSize.
 void remoteWeightLengthConversionFullVOToEntity(RemoteWeightLengthConversionFullVO source, WeightLengthConversion target, boolean copyIfNull)
          Copies the fields of RemoteWeightLengthConversionFullVO to the specified entity.
 void remoteWeightLengthConversionFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteWeightLengthConversionFullVO to this DAO's entity.
 void remoteWeightLengthConversionNaturalIdToEntity(RemoteWeightLengthConversionNaturalId source, WeightLengthConversion target, boolean copyIfNull)
          Copies the fields of RemoteWeightLengthConversionNaturalId to the specified entity.
 void remoteWeightLengthConversionNaturalIdToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteWeightLengthConversionNaturalId to this DAO's entity.
 void remove(java.util.Collection entities)
          Removes all entities in the given entities collection.
 void remove(java.lang.Integer id)
          Removes the instance of fr.ifremer.allegro.referential.conversion.WeightLengthConversion having the given identifier from the persistent store.
 void remove(WeightLengthConversion weightLengthConversion)
          Removes the instance of fr.ifremer.allegro.referential.conversion.WeightLengthConversion 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 WeightLengthConversionDao.search(fr.ifremer.allegro.Search) but with an additional flag called transform.
 java.util.Set search(Search search)
          Performs a search using the parameters specified in the given search object.
 void setLocationDao(LocationDao locationDao)
          Sets the reference to locationDao.
 void setQualitativeValueDao(QualitativeValueDao qualitativeValueDao)
          Sets the reference to qualitativeValueDao.
 void setReferenceTaxonDao(ReferenceTaxonDao referenceTaxonDao)
          Sets the reference to referenceTaxonDao.
protected  ClusterWeightLengthConversion toClusterWeightLengthConversion(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 ClusterWeightLengthConversion toClusterWeightLengthConversion(WeightLengthConversion entity)
          Converts this DAO's entity to an object of type ClusterWeightLengthConversion.
 void toClusterWeightLengthConversion(WeightLengthConversion source, ClusterWeightLengthConversion target)
          Copies the fields of the specified entity to the target value object.
 ClusterWeightLengthConversion[] toClusterWeightLengthConversionArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type ClusterWeightLengthConversion.
 void toClusterWeightLengthConversionCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type ClusterWeightLengthConversion.
protected  WeightLengthConversion toEntity(java.lang.Object[] row)
           
protected  RemoteWeightLengthConversionFullVO toRemoteWeightLengthConversionFullVO(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteWeightLengthConversionFullVO toRemoteWeightLengthConversionFullVO(WeightLengthConversion entity)
          Converts this DAO's entity to an object of type RemoteWeightLengthConversionFullVO.
 void toRemoteWeightLengthConversionFullVO(WeightLengthConversion source, RemoteWeightLengthConversionFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteWeightLengthConversionFullVO[] toRemoteWeightLengthConversionFullVOArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteWeightLengthConversionFullVO.
 void toRemoteWeightLengthConversionFullVOCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteWeightLengthConversionFullVO.
protected  RemoteWeightLengthConversionNaturalId toRemoteWeightLengthConversionNaturalId(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteWeightLengthConversionNaturalId toRemoteWeightLengthConversionNaturalId(WeightLengthConversion entity)
          Converts this DAO's entity to an object of type RemoteWeightLengthConversionNaturalId.
 void toRemoteWeightLengthConversionNaturalId(WeightLengthConversion source, RemoteWeightLengthConversionNaturalId target)
          Copies the fields of the specified entity to the target value object.
 RemoteWeightLengthConversionNaturalId[] toRemoteWeightLengthConversionNaturalIdArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteWeightLengthConversionNaturalId.
 void toRemoteWeightLengthConversionNaturalIdCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteWeightLengthConversionNaturalId.
protected  void transformEntities(int transform, java.util.Collection entities)
          Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.conversion.WeightLengthConversion) method.
protected  java.lang.Object transformEntity(int transform, WeightLengthConversion entity)
          Allows transformation of entities into value objects (or something else for that matter), when the transform flag is set to one of the constants defined in fr.ifremer.allegro.referential.conversion.WeightLengthConversionDao, please note that the WeightLengthConversionDao.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(WeightLengthConversion weightLengthConversion)
          Updates the weightLengthConversion instance in the persistent store.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface fr.ifremer.allegro.referential.conversion.WeightLengthConversionDao
clusterWeightLengthConversionToEntity, remoteWeightLengthConversionFullVOToEntity, remoteWeightLengthConversionNaturalIdToEntity
 

Constructor Detail

WeightLengthConversionDaoBase

public WeightLengthConversionDaoBase()
Method Detail

setQualitativeValueDao

public void setQualitativeValueDao(QualitativeValueDao qualitativeValueDao)
Sets the reference to qualitativeValueDao.


getQualitativeValueDao

protected QualitativeValueDao getQualitativeValueDao()
Gets the reference to qualitativeValueDao.


setLocationDao

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


getLocationDao

protected LocationDao getLocationDao()
Gets the reference to locationDao.


setReferenceTaxonDao

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


getReferenceTaxonDao

protected ReferenceTaxonDao getReferenceTaxonDao()
Gets the reference to referenceTaxonDao.


load

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

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

load

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

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

loadAll

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

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

loadAll

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

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

loadAll

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

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

loadAll

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

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

create

public WeightLengthConversion create(WeightLengthConversion weightLengthConversion)
Description copied from interface: WeightLengthConversionDao
Creates an instance of fr.ifremer.allegro.referential.conversion.WeightLengthConversion and adds it to the persistent store.

Specified by:
create in interface WeightLengthConversionDao
See Also:
WeightLengthConversionDao.create(fr.ifremer.allegro.referential.conversion.WeightLengthConversion)

create

public java.lang.Object create(int transform,
                               WeightLengthConversion weightLengthConversion)
Description copied from interface: WeightLengthConversionDao

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

Specified by:
create in interface WeightLengthConversionDao
See Also:
WeightLengthConversionDao.create(int transform, fr.ifremer.allegro.referential.conversion.WeightLengthConversion)

create

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

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

create

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

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

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

create

public WeightLengthConversion create(java.lang.Integer startMonth,
                                     java.lang.Integer endMonth,
                                     java.lang.String description,
                                     java.lang.Float conversionCoefficientA,
                                     java.lang.Float conversionCoefficientB,
                                     java.lang.Integer year,
                                     java.sql.Timestamp updateDate,
                                     Location location,
                                     QualitativeValue sex,
                                     ReferenceTaxon referenceTaxon)
Description copied from interface: WeightLengthConversionDao

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

Specified by:
create in interface WeightLengthConversionDao
See Also:
WeightLengthConversionDao.create(java.lang.Integer,java.lang.Integer,java.lang.String,java.lang.Float,java.lang.Float,java.lang.Integer,java.sql.Timestamp,fr.ifremer.allegro.referential.location.Location,fr.ifremer.allegro.referential.pmfm.QualitativeValue,fr.ifremer.allegro.referential.taxon.ReferenceTaxon)

create

public java.lang.Object create(int transform,
                               java.lang.Integer startMonth,
                               java.lang.Integer endMonth,
                               java.lang.String description,
                               java.lang.Float conversionCoefficientA,
                               java.lang.Float conversionCoefficientB,
                               java.lang.Integer year,
                               java.sql.Timestamp updateDate,
                               Location location,
                               QualitativeValue sex,
                               ReferenceTaxon referenceTaxon)
Description copied from interface: WeightLengthConversionDao

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

Specified by:
create in interface WeightLengthConversionDao
See Also:
WeightLengthConversionDao.create(int, java.lang.Integer,java.lang.Integer,java.lang.String,java.lang.Float,java.lang.Float,java.lang.Integer,java.sql.Timestamp,fr.ifremer.allegro.referential.location.Location,fr.ifremer.allegro.referential.pmfm.QualitativeValue,fr.ifremer.allegro.referential.taxon.ReferenceTaxon)

create

public WeightLengthConversion create(java.lang.Float conversionCoefficientA,
                                     java.lang.Float conversionCoefficientB,
                                     java.lang.Integer endMonth,
                                     Location location,
                                     ReferenceTaxon referenceTaxon,
                                     java.lang.Integer startMonth)
Description copied from interface: WeightLengthConversionDao

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

Specified by:
create in interface WeightLengthConversionDao
See Also:
WeightLengthConversionDao.create(java.lang.Float,java.lang.Float,java.lang.Integer,fr.ifremer.allegro.referential.location.Location,fr.ifremer.allegro.referential.taxon.ReferenceTaxon,java.lang.Integer)

create

public java.lang.Object create(int transform,
                               java.lang.Float conversionCoefficientA,
                               java.lang.Float conversionCoefficientB,
                               java.lang.Integer endMonth,
                               Location location,
                               ReferenceTaxon referenceTaxon,
                               java.lang.Integer startMonth)
Description copied from interface: WeightLengthConversionDao

Does the same thing as WeightLengthConversionDao.create(java.lang.Float,java.lang.Float,java.lang.Integer,fr.ifremer.allegro.referential.location.Location,fr.ifremer.allegro.referential.taxon.ReferenceTaxon,java.lang.Integer) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then the returned entity will NOTWILL BE passed through an operation which can optionally transform the entity (into a value object for example). By default, transformation does not occur.

Specified by:
create in interface WeightLengthConversionDao
See Also:
WeightLengthConversionDao.create(int, java.lang.Float,java.lang.Float,java.lang.Integer,fr.ifremer.allegro.referential.location.Location,fr.ifremer.allegro.referential.taxon.ReferenceTaxon,java.lang.Integer)

update

public void update(WeightLengthConversion weightLengthConversion)
Description copied from interface: WeightLengthConversionDao
Updates the weightLengthConversion instance in the persistent store.

Specified by:
update in interface WeightLengthConversionDao
See Also:
WeightLengthConversionDao.update(fr.ifremer.allegro.referential.conversion.WeightLengthConversion)

update

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

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

remove

public void remove(WeightLengthConversion weightLengthConversion)
Description copied from interface: WeightLengthConversionDao
Removes the instance of fr.ifremer.allegro.referential.conversion.WeightLengthConversion from the persistent store.

Specified by:
remove in interface WeightLengthConversionDao
See Also:
WeightLengthConversionDao.remove(fr.ifremer.allegro.referential.conversion.WeightLengthConversion)

remove

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

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

remove

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

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

getAllWeightLengthConversion

public java.util.Collection getAllWeightLengthConversion()
Specified by:
getAllWeightLengthConversion in interface WeightLengthConversionDao
See Also:
WeightLengthConversionDao.getAllWeightLengthConversion()

getAllWeightLengthConversion

public java.util.Collection getAllWeightLengthConversion(int transform)
Description copied from interface: WeightLengthConversionDao

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

getAllWeightLengthConversion

public java.util.Collection getAllWeightLengthConversion(java.lang.String queryString)
Description copied from interface: WeightLengthConversionDao

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

Specified by:
getAllWeightLengthConversion in interface WeightLengthConversionDao
See Also:
WeightLengthConversionDao.getAllWeightLengthConversion(java.lang.String)

getAllWeightLengthConversion

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

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

getAllWeightLengthConversion

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

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

getAllWeightLengthConversion

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

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

Specified by:
getAllWeightLengthConversion in interface WeightLengthConversionDao
See Also:
WeightLengthConversionDao.getAllWeightLengthConversion(int, String)

getAllWeightLengthConversion

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

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

getAllWeightLengthConversion

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

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

findWeightLengthConversionById

public WeightLengthConversion findWeightLengthConversionById(java.lang.Integer id)
Specified by:
findWeightLengthConversionById in interface WeightLengthConversionDao
See Also:
WeightLengthConversionDao.findWeightLengthConversionById(java.lang.Integer)

findWeightLengthConversionById

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

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

findWeightLengthConversionById

public WeightLengthConversion findWeightLengthConversionById(java.lang.String queryString,
                                                             java.lang.Integer id)
Description copied from interface: WeightLengthConversionDao

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

Specified by:
findWeightLengthConversionById in interface WeightLengthConversionDao
See Also:
WeightLengthConversionDao.findWeightLengthConversionById(java.lang.String, java.lang.Integer)

findWeightLengthConversionById

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

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

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

findWeightLengthConversionBySex

public java.util.Collection findWeightLengthConversionBySex(QualitativeValue sex)
Specified by:
findWeightLengthConversionBySex in interface WeightLengthConversionDao
See Also:
WeightLengthConversionDao.findWeightLengthConversionBySex(fr.ifremer.allegro.referential.pmfm.QualitativeValue)

findWeightLengthConversionBySex

public java.util.Collection findWeightLengthConversionBySex(int transform,
                                                            QualitativeValue sex)
Description copied from interface: WeightLengthConversionDao

Does the same thing as WeightLengthConversionDao.findWeightLengthConversionBySex(fr.ifremer.allegro.referential.pmfm.QualitativeValue) 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:
findWeightLengthConversionBySex in interface WeightLengthConversionDao
See Also:
WeightLengthConversionDao.findWeightLengthConversionBySex(int, fr.ifremer.allegro.referential.pmfm.QualitativeValue)

findWeightLengthConversionBySex

public java.util.Collection findWeightLengthConversionBySex(java.lang.String queryString,
                                                            QualitativeValue sex)
Description copied from interface: WeightLengthConversionDao

Does the same thing as WeightLengthConversionDao.findWeightLengthConversionBySex(fr.ifremer.allegro.referential.pmfm.QualitativeValue) with an additional argument called queryString. This queryString argument allows you to override the query string defined in WeightLengthConversionDao.findWeightLengthConversionBySex(fr.ifremer.allegro.referential.pmfm.QualitativeValue).

Specified by:
findWeightLengthConversionBySex in interface WeightLengthConversionDao
See Also:
WeightLengthConversionDao.findWeightLengthConversionBySex(java.lang.String, fr.ifremer.allegro.referential.pmfm.QualitativeValue)

findWeightLengthConversionBySex

public java.util.Collection findWeightLengthConversionBySex(int pageNumber,
                                                            int pageSize,
                                                            QualitativeValue sex)
Description copied from interface: WeightLengthConversionDao

Does the same thing as WeightLengthConversionDao.findWeightLengthConversionBySex(fr.ifremer.allegro.referential.pmfm.QualitativeValue) 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:
findWeightLengthConversionBySex in interface WeightLengthConversionDao
See Also:
WeightLengthConversionDao.findWeightLengthConversionBySex(int, int, fr.ifremer.allegro.referential.pmfm.QualitativeValue)

findWeightLengthConversionBySex

public java.util.Collection findWeightLengthConversionBySex(java.lang.String queryString,
                                                            int pageNumber,
                                                            int pageSize,
                                                            QualitativeValue sex)
Description copied from interface: WeightLengthConversionDao

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

findWeightLengthConversionBySex

public java.util.Collection findWeightLengthConversionBySex(int transform,
                                                            java.lang.String queryString,
                                                            QualitativeValue sex)
Description copied from interface: WeightLengthConversionDao

Does the same thing as WeightLengthConversionDao.findWeightLengthConversionBySex(int, fr.ifremer.allegro.referential.pmfm.QualitativeValue) with an additional argument called queryString. This queryString argument allows you to override the query string defined in WeightLengthConversionDao.findWeightLengthConversionBySex(int, fr.ifremer.allegro.referential.pmfm.QualitativeValue sex).

Specified by:
findWeightLengthConversionBySex in interface WeightLengthConversionDao
See Also:
WeightLengthConversionDao.findWeightLengthConversionBySex(int, String, fr.ifremer.allegro.referential.pmfm.QualitativeValue)

findWeightLengthConversionBySex

public java.util.Collection findWeightLengthConversionBySex(int transform,
                                                            int pageNumber,
                                                            int pageSize,
                                                            QualitativeValue sex)
Description copied from interface: WeightLengthConversionDao

Does the same thing as WeightLengthConversionDao.findWeightLengthConversionBySex(int, fr.ifremer.allegro.referential.pmfm.QualitativeValue) 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:
findWeightLengthConversionBySex in interface WeightLengthConversionDao
See Also:
WeightLengthConversionDao.findWeightLengthConversionBySex(int, int, int, fr.ifremer.allegro.referential.pmfm.QualitativeValue)

findWeightLengthConversionBySex

public java.util.Collection findWeightLengthConversionBySex(int transform,
                                                            java.lang.String queryString,
                                                            int pageNumber,
                                                            int pageSize,
                                                            QualitativeValue sex)
Description copied from interface: WeightLengthConversionDao

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

findWeightLengthConversionByLocation

public java.util.Collection findWeightLengthConversionByLocation(Location location)
Specified by:
findWeightLengthConversionByLocation in interface WeightLengthConversionDao
See Also:
WeightLengthConversionDao.findWeightLengthConversionByLocation(fr.ifremer.allegro.referential.location.Location)

findWeightLengthConversionByLocation

public java.util.Collection findWeightLengthConversionByLocation(int transform,
                                                                 Location location)
Description copied from interface: WeightLengthConversionDao

Does the same thing as WeightLengthConversionDao.findWeightLengthConversionByLocation(fr.ifremer.allegro.referential.location.Location) 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:
findWeightLengthConversionByLocation in interface WeightLengthConversionDao
See Also:
WeightLengthConversionDao.findWeightLengthConversionByLocation(int, fr.ifremer.allegro.referential.location.Location)

findWeightLengthConversionByLocation

public java.util.Collection findWeightLengthConversionByLocation(java.lang.String queryString,
                                                                 Location location)
Description copied from interface: WeightLengthConversionDao

Does the same thing as WeightLengthConversionDao.findWeightLengthConversionByLocation(fr.ifremer.allegro.referential.location.Location) with an additional argument called queryString. This queryString argument allows you to override the query string defined in WeightLengthConversionDao.findWeightLengthConversionByLocation(fr.ifremer.allegro.referential.location.Location).

Specified by:
findWeightLengthConversionByLocation in interface WeightLengthConversionDao
See Also:
WeightLengthConversionDao.findWeightLengthConversionByLocation(java.lang.String, fr.ifremer.allegro.referential.location.Location)

findWeightLengthConversionByLocation

public java.util.Collection findWeightLengthConversionByLocation(int pageNumber,
                                                                 int pageSize,
                                                                 Location location)
Description copied from interface: WeightLengthConversionDao

Does the same thing as WeightLengthConversionDao.findWeightLengthConversionByLocation(fr.ifremer.allegro.referential.location.Location) 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:
findWeightLengthConversionByLocation in interface WeightLengthConversionDao
See Also:
WeightLengthConversionDao.findWeightLengthConversionByLocation(int, int, fr.ifremer.allegro.referential.location.Location)

findWeightLengthConversionByLocation

public java.util.Collection findWeightLengthConversionByLocation(java.lang.String queryString,
                                                                 int pageNumber,
                                                                 int pageSize,
                                                                 Location location)
Description copied from interface: WeightLengthConversionDao

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

findWeightLengthConversionByLocation

public java.util.Collection findWeightLengthConversionByLocation(int transform,
                                                                 java.lang.String queryString,
                                                                 Location location)
Description copied from interface: WeightLengthConversionDao

Does the same thing as WeightLengthConversionDao.findWeightLengthConversionByLocation(int, fr.ifremer.allegro.referential.location.Location) with an additional argument called queryString. This queryString argument allows you to override the query string defined in WeightLengthConversionDao.findWeightLengthConversionByLocation(int, fr.ifremer.allegro.referential.location.Location location).

Specified by:
findWeightLengthConversionByLocation in interface WeightLengthConversionDao
See Also:
WeightLengthConversionDao.findWeightLengthConversionByLocation(int, String, fr.ifremer.allegro.referential.location.Location)

findWeightLengthConversionByLocation

public java.util.Collection findWeightLengthConversionByLocation(int transform,
                                                                 int pageNumber,
                                                                 int pageSize,
                                                                 Location location)
Description copied from interface: WeightLengthConversionDao

Does the same thing as WeightLengthConversionDao.findWeightLengthConversionByLocation(int, fr.ifremer.allegro.referential.location.Location) 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:
findWeightLengthConversionByLocation in interface WeightLengthConversionDao
See Also:
WeightLengthConversionDao.findWeightLengthConversionByLocation(int, int, int, fr.ifremer.allegro.referential.location.Location)

findWeightLengthConversionByLocation

public java.util.Collection findWeightLengthConversionByLocation(int transform,
                                                                 java.lang.String queryString,
                                                                 int pageNumber,
                                                                 int pageSize,
                                                                 Location location)
Description copied from interface: WeightLengthConversionDao

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

findWeightLengthConversionByReferenceTaxon

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

findWeightLengthConversionByReferenceTaxon

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

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

Specified by:
findWeightLengthConversionByReferenceTaxon in interface WeightLengthConversionDao
See Also:
WeightLengthConversionDao.findWeightLengthConversionByReferenceTaxon(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)

findWeightLengthConversionByReferenceTaxon

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

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

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

findWeightLengthConversionByReferenceTaxon

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

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

Specified by:
findWeightLengthConversionByReferenceTaxon in interface WeightLengthConversionDao
See Also:
WeightLengthConversionDao.findWeightLengthConversionByReferenceTaxon(int, int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)

findWeightLengthConversionByReferenceTaxon

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

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

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

findWeightLengthConversionByReferenceTaxon

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

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

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

findWeightLengthConversionByReferenceTaxon

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

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

Specified by:
findWeightLengthConversionByReferenceTaxon in interface WeightLengthConversionDao
See Also:
WeightLengthConversionDao.findWeightLengthConversionByReferenceTaxon(int, int, int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)

findWeightLengthConversionByReferenceTaxon

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

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

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

findWeightLengthConversionByNaturalId

public WeightLengthConversion findWeightLengthConversionByNaturalId(java.lang.Integer id)
Specified by:
findWeightLengthConversionByNaturalId in interface WeightLengthConversionDao
See Also:
WeightLengthConversionDao.findWeightLengthConversionByNaturalId(java.lang.Integer)

findWeightLengthConversionByNaturalId

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

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

findWeightLengthConversionByNaturalId

public WeightLengthConversion findWeightLengthConversionByNaturalId(java.lang.String queryString,
                                                                    java.lang.Integer id)
Description copied from interface: WeightLengthConversionDao

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

Specified by:
findWeightLengthConversionByNaturalId in interface WeightLengthConversionDao
See Also:
WeightLengthConversionDao.findWeightLengthConversionByNaturalId(java.lang.String, java.lang.Integer)

findWeightLengthConversionByNaturalId

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

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

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

getAllWeightLengthConversionSinceDateSynchro

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

getAllWeightLengthConversionSinceDateSynchro

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

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

getAllWeightLengthConversionSinceDateSynchro

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

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

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

getAllWeightLengthConversionSinceDateSynchro

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

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

getAllWeightLengthConversionSinceDateSynchro

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

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

getAllWeightLengthConversionSinceDateSynchro

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

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

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

getAllWeightLengthConversionSinceDateSynchro

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

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

getAllWeightLengthConversionSinceDateSynchro

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

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

createFromClusterWeightLengthConversion

public WeightLengthConversion createFromClusterWeightLengthConversion(ClusterWeightLengthConversion clusterWeightLengthConversion)
Specified by:
createFromClusterWeightLengthConversion in interface WeightLengthConversionDao
See Also:
WeightLengthConversionDao.createFromClusterWeightLengthConversion(fr.ifremer.allegro.referential.conversion.generic.cluster.ClusterWeightLengthConversion)

handleCreateFromClusterWeightLengthConversion

protected abstract WeightLengthConversion handleCreateFromClusterWeightLengthConversion(ClusterWeightLengthConversion clusterWeightLengthConversion)
                                                                                 throws java.lang.Exception
Performs the core logic for createFromClusterWeightLengthConversion(fr.ifremer.allegro.referential.conversion.generic.cluster.ClusterWeightLengthConversion)

Throws:
java.lang.Exception

getAllClusterWeightLengthConversionSinceDateSynchro

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

handleGetAllClusterWeightLengthConversionSinceDateSynchro

protected abstract ClusterWeightLengthConversion[] handleGetAllClusterWeightLengthConversionSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
                                                                                                             java.lang.Integer userId,
                                                                                                             java.lang.Integer[] registrationLocationIds,
                                                                                                             java.lang.Integer pageNumber,
                                                                                                             java.lang.Integer pageSize)
                                                                                                      throws java.lang.Exception
Performs the core logic for getAllClusterWeightLengthConversionSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Throws:
java.lang.Exception

transformEntity

protected java.lang.Object transformEntity(int transform,
                                           WeightLengthConversion entity)
Allows transformation of entities into value objects (or something else for that matter), when the transform flag is set to one of the constants defined in fr.ifremer.allegro.referential.conversion.WeightLengthConversionDao, please note that the WeightLengthConversionDao.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 WeightLengthConversionDao.TRANSFORM_NONE is assumed.

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

transformEntities

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

This method is to be used internally only.

Parameters:
transform - one of the constants declared in fr.ifremer.allegro.referential.conversion.WeightLengthConversionDao
entities - the collection of entities to transform
See Also:
transformEntity(int,fr.ifremer.allegro.referential.conversion.WeightLengthConversion)

toEntity

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

toRemoteWeightLengthConversionFullVOCollection

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

Specified by:
toRemoteWeightLengthConversionFullVOCollection in interface WeightLengthConversionDao
See Also:
WeightLengthConversionDao.toRemoteWeightLengthConversionFullVOCollection(java.util.Collection)

toRemoteWeightLengthConversionFullVOArray

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

Specified by:
toRemoteWeightLengthConversionFullVOArray in interface WeightLengthConversionDao
See Also:
WeightLengthConversionDao.toRemoteWeightLengthConversionFullVOArray(java.util.Collection)

toRemoteWeightLengthConversionFullVO

protected RemoteWeightLengthConversionFullVO toRemoteWeightLengthConversionFullVO(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 WeightLengthConversionDaoImpl class if you intend to use reporting queries.

See Also:
WeightLengthConversionDao.toRemoteWeightLengthConversionFullVO(fr.ifremer.allegro.referential.conversion.WeightLengthConversion)

remoteWeightLengthConversionFullVOToEntityCollection

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

Specified by:
remoteWeightLengthConversionFullVOToEntityCollection in interface WeightLengthConversionDao
See Also:
WeightLengthConversionDao.remoteWeightLengthConversionFullVOToEntityCollection(java.util.Collection)

toRemoteWeightLengthConversionFullVO

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

toRemoteWeightLengthConversionFullVO

public RemoteWeightLengthConversionFullVO toRemoteWeightLengthConversionFullVO(WeightLengthConversion entity)
Description copied from interface: WeightLengthConversionDao
Converts this DAO's entity to an object of type RemoteWeightLengthConversionFullVO.

Specified by:
toRemoteWeightLengthConversionFullVO in interface WeightLengthConversionDao
See Also:
WeightLengthConversionDao.toRemoteWeightLengthConversionFullVO(fr.ifremer.allegro.referential.conversion.WeightLengthConversion)

remoteWeightLengthConversionFullVOToEntity

public void remoteWeightLengthConversionFullVOToEntity(RemoteWeightLengthConversionFullVO source,
                                                       WeightLengthConversion target,
                                                       boolean copyIfNull)
Description copied from interface: WeightLengthConversionDao
Copies the fields of RemoteWeightLengthConversionFullVO to the specified entity.

Specified by:
remoteWeightLengthConversionFullVOToEntity in interface WeightLengthConversionDao
copyIfNull - If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE, it will be copied regardless of its value.
See Also:
fr.ifremer.allegro.referential.conversion.WeightLengthConversionDao#remoteWeightLengthConversionFullVOToEntity(fr.ifremer.allegro.referential.conversion.generic.vo.RemoteWeightLengthConversionFullVO, fr.ifremer.allegro.referential.conversion.WeightLengthConversion)

toRemoteWeightLengthConversionNaturalIdCollection

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

Specified by:
toRemoteWeightLengthConversionNaturalIdCollection in interface WeightLengthConversionDao
See Also:
WeightLengthConversionDao.toRemoteWeightLengthConversionNaturalIdCollection(java.util.Collection)

toRemoteWeightLengthConversionNaturalIdArray

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

Specified by:
toRemoteWeightLengthConversionNaturalIdArray in interface WeightLengthConversionDao
See Also:
WeightLengthConversionDao.toRemoteWeightLengthConversionNaturalIdArray(java.util.Collection)

toRemoteWeightLengthConversionNaturalId

protected RemoteWeightLengthConversionNaturalId toRemoteWeightLengthConversionNaturalId(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 WeightLengthConversionDaoImpl class if you intend to use reporting queries.

See Also:
WeightLengthConversionDao.toRemoteWeightLengthConversionNaturalId(fr.ifremer.allegro.referential.conversion.WeightLengthConversion)

remoteWeightLengthConversionNaturalIdToEntityCollection

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

Specified by:
remoteWeightLengthConversionNaturalIdToEntityCollection in interface WeightLengthConversionDao
See Also:
WeightLengthConversionDao.remoteWeightLengthConversionNaturalIdToEntityCollection(java.util.Collection)

toRemoteWeightLengthConversionNaturalId

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

toRemoteWeightLengthConversionNaturalId

public RemoteWeightLengthConversionNaturalId toRemoteWeightLengthConversionNaturalId(WeightLengthConversion entity)
Description copied from interface: WeightLengthConversionDao
Converts this DAO's entity to an object of type RemoteWeightLengthConversionNaturalId.

Specified by:
toRemoteWeightLengthConversionNaturalId in interface WeightLengthConversionDao
See Also:
WeightLengthConversionDao.toRemoteWeightLengthConversionNaturalId(fr.ifremer.allegro.referential.conversion.WeightLengthConversion)

remoteWeightLengthConversionNaturalIdToEntity

public void remoteWeightLengthConversionNaturalIdToEntity(RemoteWeightLengthConversionNaturalId source,
                                                          WeightLengthConversion target,
                                                          boolean copyIfNull)
Description copied from interface: WeightLengthConversionDao
Copies the fields of RemoteWeightLengthConversionNaturalId to the specified entity.

Specified by:
remoteWeightLengthConversionNaturalIdToEntity in interface WeightLengthConversionDao
copyIfNull - If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE, it will be copied regardless of its value.
See Also:
fr.ifremer.allegro.referential.conversion.WeightLengthConversionDao#remoteWeightLengthConversionNaturalIdToEntity(fr.ifremer.allegro.referential.conversion.generic.vo.RemoteWeightLengthConversionNaturalId, fr.ifremer.allegro.referential.conversion.WeightLengthConversion)

toClusterWeightLengthConversionCollection

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

Specified by:
toClusterWeightLengthConversionCollection in interface WeightLengthConversionDao
See Also:
WeightLengthConversionDao.toClusterWeightLengthConversionCollection(java.util.Collection)

toClusterWeightLengthConversionArray

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

Specified by:
toClusterWeightLengthConversionArray in interface WeightLengthConversionDao
See Also:
WeightLengthConversionDao.toClusterWeightLengthConversionArray(java.util.Collection)

toClusterWeightLengthConversion

protected ClusterWeightLengthConversion toClusterWeightLengthConversion(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 WeightLengthConversionDaoImpl class if you intend to use reporting queries.

See Also:
WeightLengthConversionDao.toClusterWeightLengthConversion(fr.ifremer.allegro.referential.conversion.WeightLengthConversion)

clusterWeightLengthConversionToEntityCollection

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

Specified by:
clusterWeightLengthConversionToEntityCollection in interface WeightLengthConversionDao
See Also:
WeightLengthConversionDao.clusterWeightLengthConversionToEntityCollection(java.util.Collection)

toClusterWeightLengthConversion

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

toClusterWeightLengthConversion

public ClusterWeightLengthConversion toClusterWeightLengthConversion(WeightLengthConversion entity)
Description copied from interface: WeightLengthConversionDao
Converts this DAO's entity to an object of type ClusterWeightLengthConversion.

Specified by:
toClusterWeightLengthConversion in interface WeightLengthConversionDao
See Also:
WeightLengthConversionDao.toClusterWeightLengthConversion(fr.ifremer.allegro.referential.conversion.WeightLengthConversion)

clusterWeightLengthConversionToEntity

public void clusterWeightLengthConversionToEntity(ClusterWeightLengthConversion source,
                                                  WeightLengthConversion target,
                                                  boolean copyIfNull)
Description copied from interface: WeightLengthConversionDao
Copies the fields of ClusterWeightLengthConversion to the specified entity.

Specified by:
clusterWeightLengthConversionToEntity in interface WeightLengthConversionDao
copyIfNull - If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE, it will be copied regardless of its value.
See Also:
fr.ifremer.allegro.referential.conversion.WeightLengthConversionDao#clusterWeightLengthConversionToEntity(fr.ifremer.allegro.referential.conversion.generic.cluster.ClusterWeightLengthConversion, fr.ifremer.allegro.referential.conversion.WeightLengthConversion)

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

search

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

search

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

search

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

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


Copyright © 2008-2010 IFREMER. All Rights Reserved.