public abstract class VesselPhysicalMeasurementDaoBase extends org.springframework.orm.hibernate3.support.HibernateDaoSupport implements VesselPhysicalMeasurementDao
Base Spring DAO Class: is able to create, update, remove, load, and find
objects of type fr.ifremer.adagio.core.dao.data.measure.VesselPhysicalMeasurement.
VesselPhysicalMeasurementTRANSFORM_NONE| Constructor and Description |
|---|
VesselPhysicalMeasurementDaoBase() |
| Modifier and Type | Method and Description |
|---|---|
Collection<VesselPhysicalMeasurement> |
create(Collection<VesselPhysicalMeasurement> entities)
Creates a new instance of fr.ifremer.adagio.core.dao.data.measure.VesselPhysicalMeasurement and adds
from the passed in
entities collection |
VesselPhysicalMeasurement |
create(Float numericalValue,
String alphanumericalValue,
Integer digitCount,
Float precisionValue,
Date controlDate,
Date validationDate,
Date qualificationDate,
String qualificationComments,
QualityFlag qualityFlag,
PrecisionType precisionType,
NumericalPrecision numericalPrecision,
Pmfm pmfm,
Department department,
QualitativeValue qualitativeValue,
AggregationLevel aggregationLevel,
AnalysisInstrument analysisInstrument,
VesselPhysicalFeatures vesselPhysicalFeatures)
Creates a new
fr.ifremer.adagio.core.dao.data.measure.VesselPhysicalMeasurement
instance from all attributes and
properties and adds it to the persistent store. |
Collection<?> |
create(int transform,
Collection<VesselPhysicalMeasurement> entities)
Does the same thing as
VesselPhysicalMeasurementDao.create(fr.ifremer.adagio.core.dao.data.measure.VesselPhysicalMeasurement) with an
additional flag called transform. |
Object |
create(int transform,
Float numericalValue,
String alphanumericalValue,
Integer digitCount,
Float precisionValue,
Date controlDate,
Date validationDate,
Date qualificationDate,
String qualificationComments,
QualityFlag qualityFlag,
PrecisionType precisionType,
NumericalPrecision numericalPrecision,
Pmfm pmfm,
Department department,
QualitativeValue qualitativeValue,
AggregationLevel aggregationLevel,
AnalysisInstrument analysisInstrument,
VesselPhysicalFeatures vesselPhysicalFeatures)
|
Object |
create(int transform,
Pmfm pmfm,
QualityFlag qualityFlag,
VesselPhysicalFeatures vesselPhysicalFeatures)
Does the same thing as
VesselPhysicalMeasurementDao.create(fr.ifremer.adagio.core.dao.referential.pmfm.Pmfm,fr.ifremer.adagio.core.dao.referential.QualityFlag,fr.ifremer.adagio.core.dao.data.vessel.feature.physical.VesselPhysicalFeatures) with an
additional flag called transform. |
Object |
create(int transform,
VesselPhysicalMeasurement vesselPhysicalMeasurement)
Does the same thing as
VesselPhysicalMeasurementDao.create(fr.ifremer.adagio.core.dao.data.measure.VesselPhysicalMeasurement) with an
additional flag called transform. |
VesselPhysicalMeasurement |
create(Pmfm pmfm,
QualityFlag qualityFlag,
VesselPhysicalFeatures vesselPhysicalFeatures)
Creates a new
fr.ifremer.adagio.core.dao.data.measure.VesselPhysicalMeasurement
instance from only required properties (attributes
and association ends) and adds it to the persistent store. |
VesselPhysicalMeasurement |
create(VesselPhysicalMeasurement vesselPhysicalMeasurement)
Creates an instance of fr.ifremer.adagio.core.dao.data.measure.VesselPhysicalMeasurement and adds it to the persistent store.
|
protected Principal |
getPrincipal()
Gets the current
principal if one has been set,
otherwise returns null. |
VesselPhysicalMeasurement |
load(Integer id)
Loads an instance of fr.ifremer.adagio.core.dao.data.measure.VesselPhysicalMeasurement from the persistent store.
|
Object |
load(int transform,
Integer id)
Does the same thing as
VesselPhysicalMeasurementDao.load(java.lang.Integer) with an
additional flag called transform. |
Collection<VesselPhysicalMeasurement> |
loadAll()
Loads all entities of type
VesselPhysicalMeasurement. |
Collection<?> |
loadAll(int transform)
Does the same thing as
VesselPhysicalMeasurementDao.loadAll() with an
additional flag called transform. |
Collection<?> |
loadAll(int pageNumber,
int pageSize)
Does the same thing as
VesselPhysicalMeasurementDao.loadAll() with an
additional two arguments called pageNumber and pageSize. |
Collection<?> |
loadAll(int transform,
int pageNumber,
int pageSize)
Does the same thing as
VesselPhysicalMeasurementDao.loadAll(int) with an
additional two arguments called pageNumber and pageSize. |
void |
remove(Collection<VesselPhysicalMeasurement> entities)
Removes all entities in the given
entities |
void |
remove(Integer id)
Removes the instance of fr.ifremer.adagio.core.dao.data.measure.VesselPhysicalMeasurement having the given
identifier from the persistent store. |
void |
remove(VesselPhysicalMeasurement vesselPhysicalMeasurement)
Removes the instance of fr.ifremer.adagio.core.dao.data.measure.VesselPhysicalMeasurement from the persistent store.
|
PaginationResult |
search(int transform,
int pageNumber,
int pageSize,
Search search)
Does the same thing as {@link #search(int, fr.ifremer.adagio.core.dao.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.adagio.core.dao.Search) but with an
additional two flags called
pageNumber and pageSize. |
Set<?> |
search(int transform,
Search search)
Does the same thing as
VesselPhysicalMeasurementDao.search(fr.ifremer.adagio.core.dao.Search) but with an
additional flag called transform. |
Set<VesselPhysicalMeasurement> |
search(Search search)
Performs a search using the parameters specified in the given
search object. |
protected VesselPhysicalMeasurement |
toEntity(Object[] row) |
protected void |
transformEntities(int transform,
Collection<?> entities)
Transforms a collection of entities using the
transformEntity(int,fr.ifremer.adagio.core.dao.data.measure.VesselPhysicalMeasurement)
method. |
protected Object |
transformEntity(int transform,
VesselPhysicalMeasurement 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.adagio.core.dao.data.measure.VesselPhysicalMeasurementDao, please note
that the VesselPhysicalMeasurementDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself
will be returned. |
void |
update(Collection<VesselPhysicalMeasurement> entities)
Updates all instances in the
entities collection in the persistent store. |
void |
update(VesselPhysicalMeasurement vesselPhysicalMeasurement)
Updates the
vesselPhysicalMeasurement instance in the persistent store. |
public Object load(int transform, Integer id)
VesselPhysicalMeasurementDao
Does the same thing as VesselPhysicalMeasurementDao.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.
load in interface VesselPhysicalMeasurementDaoid - identifier of the entity to loadVesselPhysicalMeasurementDao.load(int, java.lang.Integer)public VesselPhysicalMeasurement load(Integer id)
VesselPhysicalMeasurementDaoload in interface VesselPhysicalMeasurementDaoVesselPhysicalMeasurementDao.load(java.lang.Integer)public Collection<VesselPhysicalMeasurement> loadAll()
VesselPhysicalMeasurementDaoVesselPhysicalMeasurement.loadAll in interface VesselPhysicalMeasurementDaoVesselPhysicalMeasurementDao.loadAll()public Collection<?> loadAll(int transform)
VesselPhysicalMeasurementDao
Does the same thing as VesselPhysicalMeasurementDao.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.
loadAll in interface VesselPhysicalMeasurementDaotransform - the flag indicating what transformation to use.VesselPhysicalMeasurementDao.loadAll(int)public Collection<?> loadAll(int pageNumber, int pageSize)
VesselPhysicalMeasurementDao
Does the same thing as VesselPhysicalMeasurementDao.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.
loadAll in interface VesselPhysicalMeasurementDaopageNumber - the page number to retrieve when paging results.pageSize - the size of the page to retrieve when paging results.VesselPhysicalMeasurementDao.loadAll(int, int)public Collection<?> loadAll(int transform, int pageNumber, int pageSize)
VesselPhysicalMeasurementDao
Does the same thing as VesselPhysicalMeasurementDao.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.
loadAll in interface VesselPhysicalMeasurementDaotransform - 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.VesselPhysicalMeasurementDao.loadAll(int, int, int)public VesselPhysicalMeasurement create(VesselPhysicalMeasurement vesselPhysicalMeasurement)
VesselPhysicalMeasurementDaocreate in interface VesselPhysicalMeasurementDaoVesselPhysicalMeasurementDao.create(fr.ifremer.adagio.core.dao.data.measure.VesselPhysicalMeasurement)public Object create(int transform, VesselPhysicalMeasurement vesselPhysicalMeasurement)
VesselPhysicalMeasurementDao
Does the same thing as VesselPhysicalMeasurementDao.create(fr.ifremer.adagio.core.dao.data.measure.VesselPhysicalMeasurement) 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.
create in interface VesselPhysicalMeasurementDaoVesselPhysicalMeasurementDao.create(int transform, fr.ifremer.adagio.core.dao.data.measure.VesselPhysicalMeasurement)public Collection<VesselPhysicalMeasurement> create(Collection<VesselPhysicalMeasurement> entities)
VesselPhysicalMeasurementDaoentities collectioncreate in interface VesselPhysicalMeasurementDaoentities - the collection of fr.ifremer.adagio.core.dao.data.measure.VesselPhysicalMeasurement
instances to create.fr.ifremer.adagio.core.dao.data.measure.VesselPhysicalMeasurementDao#create(java.util.Collection) public Collection<?> create(int transform, Collection<VesselPhysicalMeasurement> entities)
VesselPhysicalMeasurementDao
Does the same thing as VesselPhysicalMeasurementDao.create(fr.ifremer.adagio.core.dao.data.measure.VesselPhysicalMeasurement) 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.
create in interface VesselPhysicalMeasurementDaofr.ifremer.adagio.core.dao.data.measure.VesselPhysicalMeasurementDao#create(int, java.util.Collection) public VesselPhysicalMeasurement create(Float numericalValue, String alphanumericalValue, Integer digitCount, Float precisionValue, Date controlDate, Date validationDate, Date qualificationDate, String qualificationComments, QualityFlag qualityFlag, PrecisionType precisionType, NumericalPrecision numericalPrecision, Pmfm pmfm, Department department, QualitativeValue qualitativeValue, AggregationLevel aggregationLevel, AnalysisInstrument analysisInstrument, VesselPhysicalFeatures vesselPhysicalFeatures)
VesselPhysicalMeasurementDao
Creates a new fr.ifremer.adagio.core.dao.data.measure.VesselPhysicalMeasurement
instance from all attributes and
properties and adds it to the persistent store.
create in interface VesselPhysicalMeasurementDaoVesselPhysicalMeasurementDao.create(java.lang.Float,java.lang.String,java.lang.Integer,java.lang.Float,java.util.Date,java.util.Date,java.util.Date,java.lang.String,fr.ifremer.adagio.core.dao.referential.QualityFlag,fr.ifremer.adagio.core.dao.referential.PrecisionType,fr.ifremer.adagio.core.dao.referential.NumericalPrecision,fr.ifremer.adagio.core.dao.referential.pmfm.Pmfm,fr.ifremer.adagio.core.dao.administration.user.Department,fr.ifremer.adagio.core.dao.referential.pmfm.QualitativeValue,fr.ifremer.adagio.core.dao.referential.pmfm.AggregationLevel,fr.ifremer.adagio.core.dao.referential.AnalysisInstrument,fr.ifremer.adagio.core.dao.data.vessel.feature.physical.VesselPhysicalFeatures)public Object create(int transform, Float numericalValue, String alphanumericalValue, Integer digitCount, Float precisionValue, Date controlDate, Date validationDate, Date qualificationDate, String qualificationComments, QualityFlag qualityFlag, PrecisionType precisionType, NumericalPrecision numericalPrecision, Pmfm pmfm, Department department, QualitativeValue qualitativeValue, AggregationLevel aggregationLevel, AnalysisInstrument analysisInstrument, VesselPhysicalFeatures vesselPhysicalFeatures)
VesselPhysicalMeasurementDao
Does the same thing as VesselPhysicalMeasurementDao.create(java.lang.Float,java.lang.String,java.lang.Integer,java.lang.Float,java.util.Date,java.util.Date,java.util.Date,java.lang.String,fr.ifremer.adagio.core.dao.referential.QualityFlag,fr.ifremer.adagio.core.dao.referential.PrecisionType,fr.ifremer.adagio.core.dao.referential.NumericalPrecision,fr.ifremer.adagio.core.dao.referential.pmfm.Pmfm,fr.ifremer.adagio.core.dao.administration.user.Department,fr.ifremer.adagio.core.dao.referential.pmfm.QualitativeValue,fr.ifremer.adagio.core.dao.referential.pmfm.AggregationLevel,fr.ifremer.adagio.core.dao.referential.AnalysisInstrument,fr.ifremer.adagio.core.dao.data.vessel.feature.physical.VesselPhysicalFeatures) 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.
create in interface VesselPhysicalMeasurementDaoVesselPhysicalMeasurementDao.create(int, java.lang.Float,java.lang.String,java.lang.Integer,java.lang.Float,java.util.Date,java.util.Date,java.util.Date,java.lang.String,fr.ifremer.adagio.core.dao.referential.QualityFlag,fr.ifremer.adagio.core.dao.referential.PrecisionType,fr.ifremer.adagio.core.dao.referential.NumericalPrecision,fr.ifremer.adagio.core.dao.referential.pmfm.Pmfm,fr.ifremer.adagio.core.dao.administration.user.Department,fr.ifremer.adagio.core.dao.referential.pmfm.QualitativeValue,fr.ifremer.adagio.core.dao.referential.pmfm.AggregationLevel,fr.ifremer.adagio.core.dao.referential.AnalysisInstrument,fr.ifremer.adagio.core.dao.data.vessel.feature.physical.VesselPhysicalFeatures)public VesselPhysicalMeasurement create(Pmfm pmfm, QualityFlag qualityFlag, VesselPhysicalFeatures vesselPhysicalFeatures)
VesselPhysicalMeasurementDao
Creates a new fr.ifremer.adagio.core.dao.data.measure.VesselPhysicalMeasurement
instance from only required properties (attributes
and association ends) and adds it to the persistent store.
public Object create(int transform, Pmfm pmfm, QualityFlag qualityFlag, VesselPhysicalFeatures vesselPhysicalFeatures)
VesselPhysicalMeasurementDao
Does the same thing as VesselPhysicalMeasurementDao.create(fr.ifremer.adagio.core.dao.referential.pmfm.Pmfm,fr.ifremer.adagio.core.dao.referential.QualityFlag,fr.ifremer.adagio.core.dao.data.vessel.feature.physical.VesselPhysicalFeatures) 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.
public void update(VesselPhysicalMeasurement vesselPhysicalMeasurement)
VesselPhysicalMeasurementDaovesselPhysicalMeasurement instance in the persistent store.update in interface VesselPhysicalMeasurementDaoVesselPhysicalMeasurementDao.update(fr.ifremer.adagio.core.dao.data.measure.VesselPhysicalMeasurement)public void update(Collection<VesselPhysicalMeasurement> entities)
VesselPhysicalMeasurementDaoentities collection in the persistent store.update in interface VesselPhysicalMeasurementDaofr.ifremer.adagio.core.dao.data.measure.VesselPhysicalMeasurementDao#update(java.util.Collection) public void remove(VesselPhysicalMeasurement vesselPhysicalMeasurement)
VesselPhysicalMeasurementDaoremove in interface VesselPhysicalMeasurementDaoVesselPhysicalMeasurementDao.remove(fr.ifremer.adagio.core.dao.data.measure.VesselPhysicalMeasurement)public void remove(Integer id)
VesselPhysicalMeasurementDaoidentifier from the persistent store.remove in interface VesselPhysicalMeasurementDaoVesselPhysicalMeasurementDao.remove(java.lang.Integer)public void remove(Collection<VesselPhysicalMeasurement> entities)
VesselPhysicalMeasurementDaoentities collection.remove in interface VesselPhysicalMeasurementDaofr.ifremer.adagio.core.dao.data.measure.VesselPhysicalMeasurementDao#remove(java.util.Collection) protected Object transformEntity(int transform, VesselPhysicalMeasurement entity)
transform
flag is set to one of the constants defined in fr.ifremer.adagio.core.dao.data.measure.VesselPhysicalMeasurementDao, please note
that the VesselPhysicalMeasurementDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself
will be returned.
If the integer argument value is unknown VesselPhysicalMeasurementDao.TRANSFORM_NONE is assumed.transform - one of the constants declared in VesselPhysicalMeasurementDaoentity - an entity that was foundtransformEntities(int,java.util.Collection)protected void transformEntities(int transform,
Collection<?> entities)
transformEntity(int,fr.ifremer.adagio.core.dao.data.measure.VesselPhysicalMeasurement)
method. This method does not instantiate a new collection.
This method is to be used internally only.transform - one of the constants declared in fr.ifremer.adagio.core.dao.data.measure.VesselPhysicalMeasurementDaoentities - the collection of entities to transformtransformEntity(int,fr.ifremer.adagio.core.dao.data.measure.VesselPhysicalMeasurement)protected VesselPhysicalMeasurement toEntity(Object[] row)
protected Principal getPrincipal()
principal if one has been set,
otherwise returns null.public PaginationResult search(int transform, int pageNumber, int pageSize, Search search)
VesselPhysicalMeasurementDaopageNumber and pageSize. These flags allow you to
limit your data to a specified page number and size.search in interface VesselPhysicalMeasurementDaotransform - the transformation flag.pageNumber - the page number in the data to retrievepageSize - the size of the page to retrieve.search - the search object which provides the search parameters and pagination specification.PaginationResult instance.VesselPhysicalMeasurementDao.search(int, int, int, fr.ifremer.adagio.core.dao.Search)public PaginationResult search(int pageNumber, int pageSize, Search search)
VesselPhysicalMeasurementDaopageNumber and pageSize. These flags allow you to
limit your data to a specified page number and size.search in interface VesselPhysicalMeasurementDaopageNumber - the page number in the data to retrievepageSize - the size of the page to retrieve.search - the search object which provides the search parameters and pagination specification.PaginationResult instance.VesselPhysicalMeasurementDao.search(int, int, fr.ifremer.adagio.core.dao.Search)public Set<?> search(int transform, Search search)
VesselPhysicalMeasurementDaoVesselPhysicalMeasurementDao.search(fr.ifremer.adagio.core.dao.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.search in interface VesselPhysicalMeasurementDaotransform - the transformation flag.search - the search object which provides the search parameters and pagination specification.VesselPhysicalMeasurementDao.search(int, fr.ifremer.adagio.core.dao.Search)public Set<VesselPhysicalMeasurement> search(Search search)
VesselPhysicalMeasurementDaosearch object.search in interface VesselPhysicalMeasurementDaosearch - the search object which provides the search parameters and pagination specification.VesselPhysicalMeasurementDao.search(fr.ifremer.adagio.core.dao.Search)Copyright © 2013. All Rights Reserved.