|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.orm.hibernate3.support.HibernateDaoSupport
fr.ifremer.allegro.referential.vessel.VesselFeaturesDaoBase
public abstract class VesselFeaturesDaoBase
Base Spring DAO Class: is able to create, update, remove, load, and find
objects of type fr.ifremer.allegro.referential.vessel.VesselFeatures
.
VesselFeatures
Field Summary |
---|
Fields inherited from interface fr.ifremer.allegro.referential.vessel.VesselFeaturesDao |
---|
TRANSFORM_CLUSTERVESSELFEATURES, TRANSFORM_NONE, TRANSFORM_REMOTEVESSELFEATURESFULLVO, TRANSFORM_REMOTEVESSELFEATURESNATURALID |
Constructor Summary | |
---|---|
VesselFeaturesDaoBase()
|
Method Summary | |
---|---|
void |
clusterVesselFeaturesToEntity(ClusterVesselFeatures source,
VesselFeatures target,
boolean copyIfNull)
Copies the fields of ClusterVesselFeatures to the specified entity. |
void |
clusterVesselFeaturesToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type ClusterVesselFeatures to this
DAO's entity. |
java.util.Collection |
create(java.util.Collection entities)
Creates a new instance of fr.ifremer.allegro.referential.vessel.VesselFeatures and adds from the passed in entities collection |
VesselFeatures |
create(java.util.Date startDateTime,
java.util.Date endDateTime,
java.lang.String name,
java.lang.String exteriorMarking,
java.lang.Float administrativePower,
java.lang.Float auxiliaryPower,
java.lang.Integer grossTonnageGT,
java.lang.Integer grossTonnageGRT,
java.lang.Integer lengthOverAll,
java.lang.Integer lengthBeetweenPerpendiculars,
java.lang.Integer constructionYear,
java.lang.String IRCS,
java.lang.Boolean hasVMS,
java.lang.Boolean isFPC,
java.sql.Timestamp updateDate,
Location basePortLocation,
FishingVessel fishingVessel,
QualitativeValue hullMaterial)
Creates a new fr.ifremer.allegro.referential.vessel.VesselFeatures
instance from all attributes and
properties and adds it to the persistent store. |
VesselFeatures |
create(FishingVessel fishingVessel,
java.lang.Boolean isFPC,
java.util.Date startDateTime)
Creates a new fr.ifremer.allegro.referential.vessel.VesselFeatures
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 VesselFeaturesDao.create(fr.ifremer.allegro.referential.vessel.VesselFeatures) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
java.util.Date startDateTime,
java.util.Date endDateTime,
java.lang.String name,
java.lang.String exteriorMarking,
java.lang.Float administrativePower,
java.lang.Float auxiliaryPower,
java.lang.Integer grossTonnageGT,
java.lang.Integer grossTonnageGRT,
java.lang.Integer lengthOverAll,
java.lang.Integer lengthBeetweenPerpendiculars,
java.lang.Integer constructionYear,
java.lang.String IRCS,
java.lang.Boolean hasVMS,
java.lang.Boolean isFPC,
java.sql.Timestamp updateDate,
Location basePortLocation,
FishingVessel fishingVessel,
QualitativeValue hullMaterial)
Does the same thing as VesselFeaturesDao.create(java.util.Date,java.util.Date,java.lang.String,java.lang.String,java.lang.Float,java.lang.Float,java.lang.Integer,java.lang.Integer,java.lang.Integer,java.lang.Integer,java.lang.Integer,java.lang.String,java.lang.Boolean,java.lang.Boolean,java.sql.Timestamp,fr.ifremer.allegro.referential.location.Location,fr.ifremer.allegro.referential.vessel.FishingVessel,fr.ifremer.allegro.referential.pmfm.QualitativeValue) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
FishingVessel fishingVessel,
java.lang.Boolean isFPC,
java.util.Date startDateTime)
Does the same thing as VesselFeaturesDao.create(fr.ifremer.allegro.referential.vessel.FishingVessel,java.lang.Boolean,java.util.Date) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
VesselFeatures vesselFeatures)
Does the same thing as VesselFeaturesDao.create(fr.ifremer.allegro.referential.vessel.VesselFeatures) with an
additional flag called transform . |
VesselFeatures |
create(VesselFeatures vesselFeatures)
Creates an instance of fr.ifremer.allegro.referential.vessel.VesselFeatures and adds it to the persistent store. |
VesselFeatures |
createFromClusterVesselFeatures(ClusterVesselFeatures clusterVesselFeatures)
|
java.util.Collection |
findVesselFeaturesByBasePortLocation(int transform,
int pageNumber,
int pageSize,
Location basePortLocation)
Does the same thing as VesselFeaturesDao.findVesselFeaturesByBasePortLocation(int, fr.ifremer.allegro.referential.location.Location) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findVesselFeaturesByBasePortLocation(int pageNumber,
int pageSize,
Location basePortLocation)
Does the same thing as VesselFeaturesDao.findVesselFeaturesByBasePortLocation(fr.ifremer.allegro.referential.location.Location) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findVesselFeaturesByBasePortLocation(int transform,
Location basePortLocation)
Does the same thing as VesselFeaturesDao.findVesselFeaturesByBasePortLocation(fr.ifremer.allegro.referential.location.Location) with an
additional flag called transform . |
java.util.Collection |
findVesselFeaturesByBasePortLocation(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
Location basePortLocation)
Does the same thing as VesselFeaturesDao.findVesselFeaturesByBasePortLocation(int, String, fr.ifremer.allegro.referential.location.Location) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findVesselFeaturesByBasePortLocation(int transform,
java.lang.String queryString,
Location basePortLocation)
Does the same thing as VesselFeaturesDao.findVesselFeaturesByBasePortLocation(int, fr.ifremer.allegro.referential.location.Location) with an
additional argument called queryString . |
java.util.Collection |
findVesselFeaturesByBasePortLocation(Location basePortLocation)
|
java.util.Collection |
findVesselFeaturesByBasePortLocation(java.lang.String queryString,
int pageNumber,
int pageSize,
Location basePortLocation)
Does the same thing as VesselFeaturesDao.findVesselFeaturesByBasePortLocation(String, fr.ifremer.allegro.referential.location.Location) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findVesselFeaturesByBasePortLocation(java.lang.String queryString,
Location basePortLocation)
Does the same thing as VesselFeaturesDao.findVesselFeaturesByBasePortLocation(fr.ifremer.allegro.referential.location.Location) with an
additional argument called queryString . |
java.util.Collection |
findVesselFeaturesByFishingVessel(FishingVessel fishingVessel)
|
java.util.Collection |
findVesselFeaturesByFishingVessel(int transform,
FishingVessel fishingVessel)
Does the same thing as VesselFeaturesDao.findVesselFeaturesByFishingVessel(fr.ifremer.allegro.referential.vessel.FishingVessel) with an
additional flag called transform . |
java.util.Collection |
findVesselFeaturesByFishingVessel(int pageNumber,
int pageSize,
FishingVessel fishingVessel)
Does the same thing as VesselFeaturesDao.findVesselFeaturesByFishingVessel(fr.ifremer.allegro.referential.vessel.FishingVessel) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findVesselFeaturesByFishingVessel(int transform,
int pageNumber,
int pageSize,
FishingVessel fishingVessel)
Does the same thing as VesselFeaturesDao.findVesselFeaturesByFishingVessel(int, fr.ifremer.allegro.referential.vessel.FishingVessel) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findVesselFeaturesByFishingVessel(int transform,
java.lang.String queryString,
FishingVessel fishingVessel)
Does the same thing as VesselFeaturesDao.findVesselFeaturesByFishingVessel(int, fr.ifremer.allegro.referential.vessel.FishingVessel) with an
additional argument called queryString . |
java.util.Collection |
findVesselFeaturesByFishingVessel(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
FishingVessel fishingVessel)
Does the same thing as VesselFeaturesDao.findVesselFeaturesByFishingVessel(int, String, fr.ifremer.allegro.referential.vessel.FishingVessel) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findVesselFeaturesByFishingVessel(java.lang.String queryString,
FishingVessel fishingVessel)
Does the same thing as VesselFeaturesDao.findVesselFeaturesByFishingVessel(fr.ifremer.allegro.referential.vessel.FishingVessel) with an
additional argument called queryString . |
java.util.Collection |
findVesselFeaturesByFishingVessel(java.lang.String queryString,
int pageNumber,
int pageSize,
FishingVessel fishingVessel)
Does the same thing as VesselFeaturesDao.findVesselFeaturesByFishingVessel(String, fr.ifremer.allegro.referential.vessel.FishingVessel) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findVesselFeaturesByHullMaterial(int transform,
int pageNumber,
int pageSize,
QualitativeValue hullMaterial)
Does the same thing as VesselFeaturesDao.findVesselFeaturesByHullMaterial(int, fr.ifremer.allegro.referential.pmfm.QualitativeValue) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findVesselFeaturesByHullMaterial(int pageNumber,
int pageSize,
QualitativeValue hullMaterial)
Does the same thing as VesselFeaturesDao.findVesselFeaturesByHullMaterial(fr.ifremer.allegro.referential.pmfm.QualitativeValue) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findVesselFeaturesByHullMaterial(int transform,
QualitativeValue hullMaterial)
Does the same thing as VesselFeaturesDao.findVesselFeaturesByHullMaterial(fr.ifremer.allegro.referential.pmfm.QualitativeValue) with an
additional flag called transform . |
java.util.Collection |
findVesselFeaturesByHullMaterial(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
QualitativeValue hullMaterial)
Does the same thing as VesselFeaturesDao.findVesselFeaturesByHullMaterial(int, String, fr.ifremer.allegro.referential.pmfm.QualitativeValue) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findVesselFeaturesByHullMaterial(int transform,
java.lang.String queryString,
QualitativeValue hullMaterial)
Does the same thing as VesselFeaturesDao.findVesselFeaturesByHullMaterial(int, fr.ifremer.allegro.referential.pmfm.QualitativeValue) with an
additional argument called queryString . |
java.util.Collection |
findVesselFeaturesByHullMaterial(QualitativeValue hullMaterial)
|
java.util.Collection |
findVesselFeaturesByHullMaterial(java.lang.String queryString,
int pageNumber,
int pageSize,
QualitativeValue hullMaterial)
Does the same thing as VesselFeaturesDao.findVesselFeaturesByHullMaterial(String, fr.ifremer.allegro.referential.pmfm.QualitativeValue) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findVesselFeaturesByHullMaterial(java.lang.String queryString,
QualitativeValue hullMaterial)
Does the same thing as VesselFeaturesDao.findVesselFeaturesByHullMaterial(fr.ifremer.allegro.referential.pmfm.QualitativeValue) with an
additional argument called queryString . |
VesselFeatures |
findVesselFeaturesById(java.lang.Integer id)
|
java.lang.Object |
findVesselFeaturesById(int transform,
java.lang.Integer id)
Does the same thing as VesselFeaturesDao.findVesselFeaturesById(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findVesselFeaturesById(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as VesselFeaturesDao.findVesselFeaturesById(int, java.lang.Integer) with an
additional argument called queryString . |
VesselFeatures |
findVesselFeaturesById(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as VesselFeaturesDao.findVesselFeaturesById(java.lang.Integer) with an
additional argument called queryString . |
VesselFeatures |
findVesselFeaturesByNaturalId(FishingVessel fishingVessel,
java.util.Date startDateTime)
|
java.lang.Object |
findVesselFeaturesByNaturalId(int transform,
FishingVessel fishingVessel,
java.util.Date startDateTime)
Does the same thing as VesselFeaturesDao.findVesselFeaturesByNaturalId(fr.ifremer.allegro.referential.vessel.FishingVessel, java.util.Date) with an
additional flag called transform . |
java.lang.Object |
findVesselFeaturesByNaturalId(int transform,
java.lang.String queryString,
FishingVessel fishingVessel,
java.util.Date startDateTime)
Does the same thing as VesselFeaturesDao.findVesselFeaturesByNaturalId(int, fr.ifremer.allegro.referential.vessel.FishingVessel, java.util.Date) with an
additional argument called queryString . |
VesselFeatures |
findVesselFeaturesByNaturalId(java.lang.String queryString,
FishingVessel fishingVessel,
java.util.Date startDateTime)
Does the same thing as VesselFeaturesDao.findVesselFeaturesByNaturalId(fr.ifremer.allegro.referential.vessel.FishingVessel, java.util.Date) with an
additional argument called queryString . |
ClusterVesselFeatures[] |
getAllClusterVesselFeaturesSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize)
|
java.util.Collection |
getAllVesselFeatures()
|
java.util.Collection |
getAllVesselFeatures(int transform)
Does the same thing as VesselFeaturesDao.getAllVesselFeatures() with an
additional flag called transform . |
java.util.Collection |
getAllVesselFeatures(int pageNumber,
int pageSize)
Does the same thing as VesselFeaturesDao.getAllVesselFeatures() with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllVesselFeatures(int transform,
int pageNumber,
int pageSize)
Does the same thing as VesselFeaturesDao.getAllVesselFeatures(int) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllVesselFeatures(int transform,
java.lang.String queryString)
Does the same thing as VesselFeaturesDao.getAllVesselFeatures(int) with an
additional argument called queryString . |
java.util.Collection |
getAllVesselFeatures(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as VesselFeaturesDao.getAllVesselFeatures(int, String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllVesselFeatures(java.lang.String queryString)
Does the same thing as VesselFeaturesDao.getAllVesselFeatures() with an
additional argument called queryString . |
java.util.Collection |
getAllVesselFeatures(java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as VesselFeaturesDao.getAllVesselFeatures(String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllVesselFeaturesSinceDateSynchro(int transform,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as VesselFeaturesDao.getAllVesselFeaturesSinceDateSynchro(int, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllVesselFeaturesSinceDateSynchro(int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as VesselFeaturesDao.getAllVesselFeaturesSinceDateSynchro(java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllVesselFeaturesSinceDateSynchro(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as VesselFeaturesDao.getAllVesselFeaturesSinceDateSynchro(int, String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllVesselFeaturesSinceDateSynchro(int transform,
java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as VesselFeaturesDao.getAllVesselFeaturesSinceDateSynchro(int, java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllVesselFeaturesSinceDateSynchro(int transform,
java.sql.Timestamp updateDate)
Does the same thing as VesselFeaturesDao.getAllVesselFeaturesSinceDateSynchro(java.sql.Timestamp) with an
additional flag called transform . |
java.util.Collection |
getAllVesselFeaturesSinceDateSynchro(java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as VesselFeaturesDao.getAllVesselFeaturesSinceDateSynchro(String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllVesselFeaturesSinceDateSynchro(java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as VesselFeaturesDao.getAllVesselFeaturesSinceDateSynchro(java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllVesselFeaturesSinceDateSynchro(java.sql.Timestamp updateDate)
|
protected FishingVesselDao |
getFishingVesselDao()
Gets the reference to fishingVesselDao . |
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 abstract VesselFeatures |
handleCreateFromClusterVesselFeatures(ClusterVesselFeatures clusterVesselFeatures)
Performs the core logic for createFromClusterVesselFeatures(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterVesselFeatures) |
protected abstract ClusterVesselFeatures[] |
handleGetAllClusterVesselFeaturesSinceDateSynchro(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 getAllClusterVesselFeaturesSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer) |
VesselFeatures |
load(java.lang.Integer id)
Loads an instance of fr.ifremer.allegro.referential.vessel.VesselFeatures from the persistent store. |
java.lang.Object |
load(int transform,
java.lang.Integer id)
Does the same thing as VesselFeaturesDao.load(java.lang.Integer) with an
additional flag called transform . |
java.util.Collection |
loadAll()
Loads all entities of type VesselFeatures . |
java.util.Collection |
loadAll(int transform)
Does the same thing as VesselFeaturesDao.loadAll() with an
additional flag called transform . |
java.util.Collection |
loadAll(int pageNumber,
int pageSize)
Does the same thing as VesselFeaturesDao.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 VesselFeaturesDao.loadAll(int) with an
additional two arguments called pageNumber and pageSize . |
void |
remoteVesselFeaturesFullVOToEntity(RemoteVesselFeaturesFullVO source,
VesselFeatures target,
boolean copyIfNull)
Copies the fields of RemoteVesselFeaturesFullVO to the specified entity. |
void |
remoteVesselFeaturesFullVOToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteVesselFeaturesFullVO to this
DAO's entity. |
void |
remoteVesselFeaturesNaturalIdToEntity(RemoteVesselFeaturesNaturalId source,
VesselFeatures target,
boolean copyIfNull)
Copies the fields of RemoteVesselFeaturesNaturalId to the specified entity. |
void |
remoteVesselFeaturesNaturalIdToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteVesselFeaturesNaturalId to this
DAO's entity. |
void |
remove(java.util.Collection entities)
Removes all entities in the given entities |
void |
remove(java.lang.Integer id)
Removes the instance of fr.ifremer.allegro.referential.vessel.VesselFeatures having the given identifier from the persistent store. |
void |
remove(VesselFeatures vesselFeatures)
Removes the instance of fr.ifremer.allegro.referential.vessel.VesselFeatures 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 VesselFeaturesDao.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 |
setFishingVesselDao(FishingVesselDao fishingVesselDao)
Sets the reference to fishingVesselDao . |
void |
setLocationDao(LocationDao locationDao)
Sets the reference to locationDao . |
void |
setQualitativeValueDao(QualitativeValueDao qualitativeValueDao)
Sets the reference to qualitativeValueDao . |
protected ClusterVesselFeatures |
toClusterVesselFeatures(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
ClusterVesselFeatures |
toClusterVesselFeatures(VesselFeatures entity)
Converts this DAO's entity to an object of type ClusterVesselFeatures . |
void |
toClusterVesselFeatures(VesselFeatures source,
ClusterVesselFeatures target)
Copies the fields of the specified entity to the target value object. |
ClusterVesselFeatures[] |
toClusterVesselFeaturesArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type ClusterVesselFeatures . |
void |
toClusterVesselFeaturesCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type ClusterVesselFeatures . |
protected VesselFeatures |
toEntity(java.lang.Object[] row)
|
protected RemoteVesselFeaturesFullVO |
toRemoteVesselFeaturesFullVO(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteVesselFeaturesFullVO |
toRemoteVesselFeaturesFullVO(VesselFeatures entity)
Converts this DAO's entity to an object of type RemoteVesselFeaturesFullVO . |
void |
toRemoteVesselFeaturesFullVO(VesselFeatures source,
RemoteVesselFeaturesFullVO target)
Copies the fields of the specified entity to the target value object. |
RemoteVesselFeaturesFullVO[] |
toRemoteVesselFeaturesFullVOArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteVesselFeaturesFullVO . |
void |
toRemoteVesselFeaturesFullVOCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteVesselFeaturesFullVO . |
protected RemoteVesselFeaturesNaturalId |
toRemoteVesselFeaturesNaturalId(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteVesselFeaturesNaturalId |
toRemoteVesselFeaturesNaturalId(VesselFeatures entity)
Converts this DAO's entity to an object of type RemoteVesselFeaturesNaturalId . |
void |
toRemoteVesselFeaturesNaturalId(VesselFeatures source,
RemoteVesselFeaturesNaturalId target)
Copies the fields of the specified entity to the target value object. |
RemoteVesselFeaturesNaturalId[] |
toRemoteVesselFeaturesNaturalIdArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteVesselFeaturesNaturalId . |
void |
toRemoteVesselFeaturesNaturalIdCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteVesselFeaturesNaturalId . |
protected void |
transformEntities(int transform,
java.util.Collection entities)
Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.vessel.VesselFeatures)
method. |
protected java.lang.Object |
transformEntity(int transform,
VesselFeatures 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.vessel.VesselFeaturesDao , please note
that the VesselFeaturesDao.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(VesselFeatures vesselFeatures)
Updates the vesselFeatures 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.vessel.VesselFeaturesDao |
---|
clusterVesselFeaturesToEntity, remoteVesselFeaturesFullVOToEntity, remoteVesselFeaturesNaturalIdToEntity |
Constructor Detail |
---|
public VesselFeaturesDaoBase()
Method Detail |
---|
public void setFishingVesselDao(FishingVesselDao fishingVesselDao)
fishingVesselDao
.
protected FishingVesselDao getFishingVesselDao()
fishingVesselDao
.
public void setLocationDao(LocationDao locationDao)
locationDao
.
protected LocationDao getLocationDao()
locationDao
.
public void setQualitativeValueDao(QualitativeValueDao qualitativeValueDao)
qualitativeValueDao
.
protected QualitativeValueDao getQualitativeValueDao()
qualitativeValueDao
.
public java.lang.Object load(int transform, java.lang.Integer id)
VesselFeaturesDao
Does the same thing as VesselFeaturesDao.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 VesselFeaturesDao
id
- identifier of the entity to load
VesselFeaturesDao.load(int, java.lang.Integer)
public VesselFeatures load(java.lang.Integer id)
VesselFeaturesDao
load
in interface VesselFeaturesDao
VesselFeaturesDao.load(java.lang.Integer)
public java.util.Collection loadAll()
VesselFeaturesDao
VesselFeatures
.
loadAll
in interface VesselFeaturesDao
VesselFeaturesDao.loadAll()
public java.util.Collection loadAll(int transform)
VesselFeaturesDao
Does the same thing as VesselFeaturesDao.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 VesselFeaturesDao
transform
- the flag indicating what transformation to use.
VesselFeaturesDao.loadAll(int)
public java.util.Collection loadAll(int pageNumber, int pageSize)
VesselFeaturesDao
Does the same thing as VesselFeaturesDao.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 VesselFeaturesDao
pageNumber
- the page number to retrieve when paging results.pageSize
- the size of the page to retrieve when paging results.
VesselFeaturesDao.loadAll(int, int)
public java.util.Collection loadAll(int transform, int pageNumber, int pageSize)
VesselFeaturesDao
Does the same thing as VesselFeaturesDao.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 VesselFeaturesDao
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.
VesselFeaturesDao.loadAll(int, int, int)
public VesselFeatures create(VesselFeatures vesselFeatures)
VesselFeaturesDao
create
in interface VesselFeaturesDao
VesselFeaturesDao.create(fr.ifremer.allegro.referential.vessel.VesselFeatures)
public java.lang.Object create(int transform, VesselFeatures vesselFeatures)
VesselFeaturesDao
Does the same thing as VesselFeaturesDao.create(fr.ifremer.allegro.referential.vessel.VesselFeatures)
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 VesselFeaturesDao
VesselFeaturesDao.create(int transform, fr.ifremer.allegro.referential.vessel.VesselFeatures)
public java.util.Collection create(java.util.Collection entities)
VesselFeaturesDao
entities
collection
create
in interface VesselFeaturesDao
entities
- the collection of fr.ifremer.allegro.referential.vessel.VesselFeatures
instances to create.
VesselFeaturesDao.create(java.util.Collection)
public java.util.Collection create(int transform, java.util.Collection entities)
VesselFeaturesDao
Does the same thing as VesselFeaturesDao.create(fr.ifremer.allegro.referential.vessel.VesselFeatures)
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 VesselFeaturesDao
VesselFeaturesDao.create(int, java.util.Collection)
public VesselFeatures create(java.util.Date startDateTime, java.util.Date endDateTime, java.lang.String name, java.lang.String exteriorMarking, java.lang.Float administrativePower, java.lang.Float auxiliaryPower, java.lang.Integer grossTonnageGT, java.lang.Integer grossTonnageGRT, java.lang.Integer lengthOverAll, java.lang.Integer lengthBeetweenPerpendiculars, java.lang.Integer constructionYear, java.lang.String IRCS, java.lang.Boolean hasVMS, java.lang.Boolean isFPC, java.sql.Timestamp updateDate, Location basePortLocation, FishingVessel fishingVessel, QualitativeValue hullMaterial)
VesselFeaturesDao
Creates a new fr.ifremer.allegro.referential.vessel.VesselFeatures
instance from all attributes and
properties and adds it to the persistent store.
create
in interface VesselFeaturesDao
VesselFeaturesDao.create(java.util.Date,java.util.Date,java.lang.String,java.lang.String,java.lang.Float,java.lang.Float,java.lang.Integer,java.lang.Integer,java.lang.Integer,java.lang.Integer,java.lang.Integer,java.lang.String,java.lang.Boolean,java.lang.Boolean,java.sql.Timestamp,fr.ifremer.allegro.referential.location.Location,fr.ifremer.allegro.referential.vessel.FishingVessel,fr.ifremer.allegro.referential.pmfm.QualitativeValue)
public java.lang.Object create(int transform, java.util.Date startDateTime, java.util.Date endDateTime, java.lang.String name, java.lang.String exteriorMarking, java.lang.Float administrativePower, java.lang.Float auxiliaryPower, java.lang.Integer grossTonnageGT, java.lang.Integer grossTonnageGRT, java.lang.Integer lengthOverAll, java.lang.Integer lengthBeetweenPerpendiculars, java.lang.Integer constructionYear, java.lang.String IRCS, java.lang.Boolean hasVMS, java.lang.Boolean isFPC, java.sql.Timestamp updateDate, Location basePortLocation, FishingVessel fishingVessel, QualitativeValue hullMaterial)
VesselFeaturesDao
Does the same thing as VesselFeaturesDao.create(java.util.Date,java.util.Date,java.lang.String,java.lang.String,java.lang.Float,java.lang.Float,java.lang.Integer,java.lang.Integer,java.lang.Integer,java.lang.Integer,java.lang.Integer,java.lang.String,java.lang.Boolean,java.lang.Boolean,java.sql.Timestamp,fr.ifremer.allegro.referential.location.Location,fr.ifremer.allegro.referential.vessel.FishingVessel,fr.ifremer.allegro.referential.pmfm.QualitativeValue)
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 VesselFeaturesDao
VesselFeaturesDao.create(int, java.util.Date,java.util.Date,java.lang.String,java.lang.String,java.lang.Float,java.lang.Float,java.lang.Integer,java.lang.Integer,java.lang.Integer,java.lang.Integer,java.lang.Integer,java.lang.String,java.lang.Boolean,java.lang.Boolean,java.sql.Timestamp,fr.ifremer.allegro.referential.location.Location,fr.ifremer.allegro.referential.vessel.FishingVessel,fr.ifremer.allegro.referential.pmfm.QualitativeValue)
public VesselFeatures create(FishingVessel fishingVessel, java.lang.Boolean isFPC, java.util.Date startDateTime)
VesselFeaturesDao
Creates a new fr.ifremer.allegro.referential.vessel.VesselFeatures
instance from only required properties (attributes
and association ends) and adds it to the persistent store.
create
in interface VesselFeaturesDao
VesselFeaturesDao.create(fr.ifremer.allegro.referential.vessel.FishingVessel,java.lang.Boolean,java.util.Date)
public java.lang.Object create(int transform, FishingVessel fishingVessel, java.lang.Boolean isFPC, java.util.Date startDateTime)
VesselFeaturesDao
Does the same thing as VesselFeaturesDao.create(fr.ifremer.allegro.referential.vessel.FishingVessel,java.lang.Boolean,java.util.Date)
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.
create
in interface VesselFeaturesDao
VesselFeaturesDao.create(int, fr.ifremer.allegro.referential.vessel.FishingVessel,java.lang.Boolean,java.util.Date)
public void update(VesselFeatures vesselFeatures)
VesselFeaturesDao
vesselFeatures
instance in the persistent store.
update
in interface VesselFeaturesDao
VesselFeaturesDao.update(fr.ifremer.allegro.referential.vessel.VesselFeatures)
public void update(java.util.Collection entities)
VesselFeaturesDao
entities
collection in the persistent store.
update
in interface VesselFeaturesDao
VesselFeaturesDao.update(java.util.Collection)
public void remove(VesselFeatures vesselFeatures)
VesselFeaturesDao
remove
in interface VesselFeaturesDao
VesselFeaturesDao.remove(fr.ifremer.allegro.referential.vessel.VesselFeatures)
public void remove(java.lang.Integer id)
VesselFeaturesDao
identifier
from the persistent store.
remove
in interface VesselFeaturesDao
VesselFeaturesDao.remove(java.lang.Integer)
public void remove(java.util.Collection entities)
VesselFeaturesDao
entities collection.
- Specified by:
remove
in interface VesselFeaturesDao
- See Also:
VesselFeaturesDao.remove(java.util.Collection)
public java.util.Collection getAllVesselFeatures()
getAllVesselFeatures
in interface VesselFeaturesDao
VesselFeaturesDao.getAllVesselFeatures()
public java.util.Collection getAllVesselFeatures(int transform)
VesselFeaturesDao
Does the same thing as VesselFeaturesDao.getAllVesselFeatures()
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.
getAllVesselFeatures
in interface VesselFeaturesDao
VesselFeaturesDao.getAllVesselFeatures(int)
public java.util.Collection getAllVesselFeatures(java.lang.String queryString)
VesselFeaturesDao
Does the same thing as VesselFeaturesDao.getAllVesselFeatures()
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VesselFeaturesDao.getAllVesselFeatures()
.
getAllVesselFeatures
in interface VesselFeaturesDao
VesselFeaturesDao.getAllVesselFeatures(java.lang.String)
public java.util.Collection getAllVesselFeatures(int pageNumber, int pageSize)
VesselFeaturesDao
Does the same thing as VesselFeaturesDao.getAllVesselFeatures()
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.
getAllVesselFeatures
in interface VesselFeaturesDao
VesselFeaturesDao.getAllVesselFeatures(int, int)
public java.util.Collection getAllVesselFeatures(java.lang.String queryString, int pageNumber, int pageSize)
VesselFeaturesDao
Does the same thing as VesselFeaturesDao.getAllVesselFeatures(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.
getAllVesselFeatures
in interface VesselFeaturesDao
VesselFeaturesDao.getAllVesselFeatures(String, int, int)
public java.util.Collection getAllVesselFeatures(int transform, java.lang.String queryString)
VesselFeaturesDao
Does the same thing as VesselFeaturesDao.getAllVesselFeatures(int)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VesselFeaturesDao.getAllVesselFeatures(int)
.
getAllVesselFeatures
in interface VesselFeaturesDao
VesselFeaturesDao.getAllVesselFeatures(int, String)
public java.util.Collection getAllVesselFeatures(int transform, int pageNumber, int pageSize)
VesselFeaturesDao
Does the same thing as VesselFeaturesDao.getAllVesselFeatures(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.
getAllVesselFeatures
in interface VesselFeaturesDao
VesselFeaturesDao.getAllVesselFeatures(int, int, int)
public java.util.Collection getAllVesselFeatures(int transform, java.lang.String queryString, int pageNumber, int pageSize)
VesselFeaturesDao
Does the same thing as VesselFeaturesDao.getAllVesselFeatures(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.
getAllVesselFeatures
in interface VesselFeaturesDao
VesselFeaturesDao.getAllVesselFeatures(int, java.lang.String, int, int)
public VesselFeatures findVesselFeaturesById(java.lang.Integer id)
findVesselFeaturesById
in interface VesselFeaturesDao
VesselFeaturesDao.findVesselFeaturesById(java.lang.Integer)
public java.lang.Object findVesselFeaturesById(int transform, java.lang.Integer id)
VesselFeaturesDao
Does the same thing as VesselFeaturesDao.findVesselFeaturesById(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.
findVesselFeaturesById
in interface VesselFeaturesDao
VesselFeaturesDao.findVesselFeaturesById(int, java.lang.Integer)
public VesselFeatures findVesselFeaturesById(java.lang.String queryString, java.lang.Integer id)
VesselFeaturesDao
Does the same thing as VesselFeaturesDao.findVesselFeaturesById(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VesselFeaturesDao.findVesselFeaturesById(java.lang.Integer)
.
findVesselFeaturesById
in interface VesselFeaturesDao
VesselFeaturesDao.findVesselFeaturesById(java.lang.String, java.lang.Integer)
public java.lang.Object findVesselFeaturesById(int transform, java.lang.String queryString, java.lang.Integer id)
VesselFeaturesDao
Does the same thing as VesselFeaturesDao.findVesselFeaturesById(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VesselFeaturesDao.findVesselFeaturesById(int, java.lang.Integer id)
.
findVesselFeaturesById
in interface VesselFeaturesDao
VesselFeaturesDao.findVesselFeaturesById(int, java.lang.String, java.lang.Integer)
public java.util.Collection findVesselFeaturesByFishingVessel(FishingVessel fishingVessel)
findVesselFeaturesByFishingVessel
in interface VesselFeaturesDao
VesselFeaturesDao.findVesselFeaturesByFishingVessel(fr.ifremer.allegro.referential.vessel.FishingVessel)
public java.util.Collection findVesselFeaturesByFishingVessel(int transform, FishingVessel fishingVessel)
VesselFeaturesDao
Does the same thing as VesselFeaturesDao.findVesselFeaturesByFishingVessel(fr.ifremer.allegro.referential.vessel.FishingVessel)
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.
findVesselFeaturesByFishingVessel
in interface VesselFeaturesDao
VesselFeaturesDao.findVesselFeaturesByFishingVessel(int, fr.ifremer.allegro.referential.vessel.FishingVessel)
public java.util.Collection findVesselFeaturesByFishingVessel(java.lang.String queryString, FishingVessel fishingVessel)
VesselFeaturesDao
Does the same thing as VesselFeaturesDao.findVesselFeaturesByFishingVessel(fr.ifremer.allegro.referential.vessel.FishingVessel)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VesselFeaturesDao.findVesselFeaturesByFishingVessel(fr.ifremer.allegro.referential.vessel.FishingVessel)
.
findVesselFeaturesByFishingVessel
in interface VesselFeaturesDao
VesselFeaturesDao.findVesselFeaturesByFishingVessel(java.lang.String, fr.ifremer.allegro.referential.vessel.FishingVessel)
public java.util.Collection findVesselFeaturesByFishingVessel(int pageNumber, int pageSize, FishingVessel fishingVessel)
VesselFeaturesDao
Does the same thing as VesselFeaturesDao.findVesselFeaturesByFishingVessel(fr.ifremer.allegro.referential.vessel.FishingVessel)
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.
findVesselFeaturesByFishingVessel
in interface VesselFeaturesDao
VesselFeaturesDao.findVesselFeaturesByFishingVessel(int, int, fr.ifremer.allegro.referential.vessel.FishingVessel)
public java.util.Collection findVesselFeaturesByFishingVessel(java.lang.String queryString, int pageNumber, int pageSize, FishingVessel fishingVessel)
VesselFeaturesDao
Does the same thing as VesselFeaturesDao.findVesselFeaturesByFishingVessel(String, fr.ifremer.allegro.referential.vessel.FishingVessel)
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.
findVesselFeaturesByFishingVessel
in interface VesselFeaturesDao
VesselFeaturesDao.findVesselFeaturesByFishingVessel(String, int, int, fr.ifremer.allegro.referential.vessel.FishingVessel)
public java.util.Collection findVesselFeaturesByFishingVessel(int transform, java.lang.String queryString, FishingVessel fishingVessel)
VesselFeaturesDao
Does the same thing as VesselFeaturesDao.findVesselFeaturesByFishingVessel(int, fr.ifremer.allegro.referential.vessel.FishingVessel)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VesselFeaturesDao.findVesselFeaturesByFishingVessel(int, fr.ifremer.allegro.referential.vessel.FishingVessel fishingVessel)
.
findVesselFeaturesByFishingVessel
in interface VesselFeaturesDao
VesselFeaturesDao.findVesselFeaturesByFishingVessel(int, String, fr.ifremer.allegro.referential.vessel.FishingVessel)
public java.util.Collection findVesselFeaturesByFishingVessel(int transform, int pageNumber, int pageSize, FishingVessel fishingVessel)
VesselFeaturesDao
Does the same thing as VesselFeaturesDao.findVesselFeaturesByFishingVessel(int, fr.ifremer.allegro.referential.vessel.FishingVessel)
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.
findVesselFeaturesByFishingVessel
in interface VesselFeaturesDao
VesselFeaturesDao.findVesselFeaturesByFishingVessel(int, int, int, fr.ifremer.allegro.referential.vessel.FishingVessel)
public java.util.Collection findVesselFeaturesByFishingVessel(int transform, java.lang.String queryString, int pageNumber, int pageSize, FishingVessel fishingVessel)
VesselFeaturesDao
Does the same thing as VesselFeaturesDao.findVesselFeaturesByFishingVessel(int, String, fr.ifremer.allegro.referential.vessel.FishingVessel)
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.
findVesselFeaturesByFishingVessel
in interface VesselFeaturesDao
VesselFeaturesDao.findVesselFeaturesByFishingVessel(int, java.lang.String, int, int, fr.ifremer.allegro.referential.vessel.FishingVessel)
public java.util.Collection findVesselFeaturesByBasePortLocation(Location basePortLocation)
findVesselFeaturesByBasePortLocation
in interface VesselFeaturesDao
VesselFeaturesDao.findVesselFeaturesByBasePortLocation(fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findVesselFeaturesByBasePortLocation(int transform, Location basePortLocation)
VesselFeaturesDao
Does the same thing as VesselFeaturesDao.findVesselFeaturesByBasePortLocation(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.
findVesselFeaturesByBasePortLocation
in interface VesselFeaturesDao
VesselFeaturesDao.findVesselFeaturesByBasePortLocation(int, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findVesselFeaturesByBasePortLocation(java.lang.String queryString, Location basePortLocation)
VesselFeaturesDao
Does the same thing as VesselFeaturesDao.findVesselFeaturesByBasePortLocation(fr.ifremer.allegro.referential.location.Location)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VesselFeaturesDao.findVesselFeaturesByBasePortLocation(fr.ifremer.allegro.referential.location.Location)
.
findVesselFeaturesByBasePortLocation
in interface VesselFeaturesDao
VesselFeaturesDao.findVesselFeaturesByBasePortLocation(java.lang.String, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findVesselFeaturesByBasePortLocation(int pageNumber, int pageSize, Location basePortLocation)
VesselFeaturesDao
Does the same thing as VesselFeaturesDao.findVesselFeaturesByBasePortLocation(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.
findVesselFeaturesByBasePortLocation
in interface VesselFeaturesDao
VesselFeaturesDao.findVesselFeaturesByBasePortLocation(int, int, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findVesselFeaturesByBasePortLocation(java.lang.String queryString, int pageNumber, int pageSize, Location basePortLocation)
VesselFeaturesDao
Does the same thing as VesselFeaturesDao.findVesselFeaturesByBasePortLocation(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.
findVesselFeaturesByBasePortLocation
in interface VesselFeaturesDao
VesselFeaturesDao.findVesselFeaturesByBasePortLocation(String, int, int, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findVesselFeaturesByBasePortLocation(int transform, java.lang.String queryString, Location basePortLocation)
VesselFeaturesDao
Does the same thing as VesselFeaturesDao.findVesselFeaturesByBasePortLocation(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 VesselFeaturesDao.findVesselFeaturesByBasePortLocation(int, fr.ifremer.allegro.referential.location.Location basePortLocation)
.
findVesselFeaturesByBasePortLocation
in interface VesselFeaturesDao
VesselFeaturesDao.findVesselFeaturesByBasePortLocation(int, String, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findVesselFeaturesByBasePortLocation(int transform, int pageNumber, int pageSize, Location basePortLocation)
VesselFeaturesDao
Does the same thing as VesselFeaturesDao.findVesselFeaturesByBasePortLocation(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.
findVesselFeaturesByBasePortLocation
in interface VesselFeaturesDao
VesselFeaturesDao.findVesselFeaturesByBasePortLocation(int, int, int, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findVesselFeaturesByBasePortLocation(int transform, java.lang.String queryString, int pageNumber, int pageSize, Location basePortLocation)
VesselFeaturesDao
Does the same thing as VesselFeaturesDao.findVesselFeaturesByBasePortLocation(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.
findVesselFeaturesByBasePortLocation
in interface VesselFeaturesDao
VesselFeaturesDao.findVesselFeaturesByBasePortLocation(int, java.lang.String, int, int, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findVesselFeaturesByHullMaterial(QualitativeValue hullMaterial)
findVesselFeaturesByHullMaterial
in interface VesselFeaturesDao
VesselFeaturesDao.findVesselFeaturesByHullMaterial(fr.ifremer.allegro.referential.pmfm.QualitativeValue)
public java.util.Collection findVesselFeaturesByHullMaterial(int transform, QualitativeValue hullMaterial)
VesselFeaturesDao
Does the same thing as VesselFeaturesDao.findVesselFeaturesByHullMaterial(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.
findVesselFeaturesByHullMaterial
in interface VesselFeaturesDao
VesselFeaturesDao.findVesselFeaturesByHullMaterial(int, fr.ifremer.allegro.referential.pmfm.QualitativeValue)
public java.util.Collection findVesselFeaturesByHullMaterial(java.lang.String queryString, QualitativeValue hullMaterial)
VesselFeaturesDao
Does the same thing as VesselFeaturesDao.findVesselFeaturesByHullMaterial(fr.ifremer.allegro.referential.pmfm.QualitativeValue)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VesselFeaturesDao.findVesselFeaturesByHullMaterial(fr.ifremer.allegro.referential.pmfm.QualitativeValue)
.
findVesselFeaturesByHullMaterial
in interface VesselFeaturesDao
VesselFeaturesDao.findVesselFeaturesByHullMaterial(java.lang.String, fr.ifremer.allegro.referential.pmfm.QualitativeValue)
public java.util.Collection findVesselFeaturesByHullMaterial(int pageNumber, int pageSize, QualitativeValue hullMaterial)
VesselFeaturesDao
Does the same thing as VesselFeaturesDao.findVesselFeaturesByHullMaterial(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.
findVesselFeaturesByHullMaterial
in interface VesselFeaturesDao
VesselFeaturesDao.findVesselFeaturesByHullMaterial(int, int, fr.ifremer.allegro.referential.pmfm.QualitativeValue)
public java.util.Collection findVesselFeaturesByHullMaterial(java.lang.String queryString, int pageNumber, int pageSize, QualitativeValue hullMaterial)
VesselFeaturesDao
Does the same thing as VesselFeaturesDao.findVesselFeaturesByHullMaterial(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.
findVesselFeaturesByHullMaterial
in interface VesselFeaturesDao
VesselFeaturesDao.findVesselFeaturesByHullMaterial(String, int, int, fr.ifremer.allegro.referential.pmfm.QualitativeValue)
public java.util.Collection findVesselFeaturesByHullMaterial(int transform, java.lang.String queryString, QualitativeValue hullMaterial)
VesselFeaturesDao
Does the same thing as VesselFeaturesDao.findVesselFeaturesByHullMaterial(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 VesselFeaturesDao.findVesselFeaturesByHullMaterial(int, fr.ifremer.allegro.referential.pmfm.QualitativeValue hullMaterial)
.
findVesselFeaturesByHullMaterial
in interface VesselFeaturesDao
VesselFeaturesDao.findVesselFeaturesByHullMaterial(int, String, fr.ifremer.allegro.referential.pmfm.QualitativeValue)
public java.util.Collection findVesselFeaturesByHullMaterial(int transform, int pageNumber, int pageSize, QualitativeValue hullMaterial)
VesselFeaturesDao
Does the same thing as VesselFeaturesDao.findVesselFeaturesByHullMaterial(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.
findVesselFeaturesByHullMaterial
in interface VesselFeaturesDao
VesselFeaturesDao.findVesselFeaturesByHullMaterial(int, int, int, fr.ifremer.allegro.referential.pmfm.QualitativeValue)
public java.util.Collection findVesselFeaturesByHullMaterial(int transform, java.lang.String queryString, int pageNumber, int pageSize, QualitativeValue hullMaterial)
VesselFeaturesDao
Does the same thing as VesselFeaturesDao.findVesselFeaturesByHullMaterial(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.
findVesselFeaturesByHullMaterial
in interface VesselFeaturesDao
VesselFeaturesDao.findVesselFeaturesByHullMaterial(int, java.lang.String, int, int, fr.ifremer.allegro.referential.pmfm.QualitativeValue)
public VesselFeatures findVesselFeaturesByNaturalId(FishingVessel fishingVessel, java.util.Date startDateTime)
findVesselFeaturesByNaturalId
in interface VesselFeaturesDao
VesselFeaturesDao.findVesselFeaturesByNaturalId(fr.ifremer.allegro.referential.vessel.FishingVessel, java.util.Date)
public java.lang.Object findVesselFeaturesByNaturalId(int transform, FishingVessel fishingVessel, java.util.Date startDateTime)
VesselFeaturesDao
Does the same thing as VesselFeaturesDao.findVesselFeaturesByNaturalId(fr.ifremer.allegro.referential.vessel.FishingVessel, java.util.Date)
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.
findVesselFeaturesByNaturalId
in interface VesselFeaturesDao
VesselFeaturesDao.findVesselFeaturesByNaturalId(int, fr.ifremer.allegro.referential.vessel.FishingVessel, java.util.Date)
public VesselFeatures findVesselFeaturesByNaturalId(java.lang.String queryString, FishingVessel fishingVessel, java.util.Date startDateTime)
VesselFeaturesDao
Does the same thing as VesselFeaturesDao.findVesselFeaturesByNaturalId(fr.ifremer.allegro.referential.vessel.FishingVessel, java.util.Date)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VesselFeaturesDao.findVesselFeaturesByNaturalId(fr.ifremer.allegro.referential.vessel.FishingVessel, java.util.Date)
.
findVesselFeaturesByNaturalId
in interface VesselFeaturesDao
VesselFeaturesDao.findVesselFeaturesByNaturalId(java.lang.String, fr.ifremer.allegro.referential.vessel.FishingVessel, java.util.Date)
public java.lang.Object findVesselFeaturesByNaturalId(int transform, java.lang.String queryString, FishingVessel fishingVessel, java.util.Date startDateTime)
VesselFeaturesDao
Does the same thing as VesselFeaturesDao.findVesselFeaturesByNaturalId(int, fr.ifremer.allegro.referential.vessel.FishingVessel, java.util.Date)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VesselFeaturesDao.findVesselFeaturesByNaturalId(int, fr.ifremer.allegro.referential.vessel.FishingVessel fishingVessel, java.util.Date startDateTime)
.
findVesselFeaturesByNaturalId
in interface VesselFeaturesDao
VesselFeaturesDao.findVesselFeaturesByNaturalId(int, java.lang.String, fr.ifremer.allegro.referential.vessel.FishingVessel, java.util.Date)
public java.util.Collection getAllVesselFeaturesSinceDateSynchro(java.sql.Timestamp updateDate)
getAllVesselFeaturesSinceDateSynchro
in interface VesselFeaturesDao
VesselFeaturesDao.getAllVesselFeaturesSinceDateSynchro(java.sql.Timestamp)
public java.util.Collection getAllVesselFeaturesSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
VesselFeaturesDao
Does the same thing as VesselFeaturesDao.getAllVesselFeaturesSinceDateSynchro(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.
getAllVesselFeaturesSinceDateSynchro
in interface VesselFeaturesDao
VesselFeaturesDao.getAllVesselFeaturesSinceDateSynchro(int, java.sql.Timestamp)
public java.util.Collection getAllVesselFeaturesSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
VesselFeaturesDao
Does the same thing as VesselFeaturesDao.getAllVesselFeaturesSinceDateSynchro(java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VesselFeaturesDao.getAllVesselFeaturesSinceDateSynchro(java.sql.Timestamp)
.
getAllVesselFeaturesSinceDateSynchro
in interface VesselFeaturesDao
VesselFeaturesDao.getAllVesselFeaturesSinceDateSynchro(java.lang.String, java.sql.Timestamp)
public java.util.Collection getAllVesselFeaturesSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
VesselFeaturesDao
Does the same thing as VesselFeaturesDao.getAllVesselFeaturesSinceDateSynchro(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.
getAllVesselFeaturesSinceDateSynchro
in interface VesselFeaturesDao
VesselFeaturesDao.getAllVesselFeaturesSinceDateSynchro(int, int, java.sql.Timestamp)
public java.util.Collection getAllVesselFeaturesSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
VesselFeaturesDao
Does the same thing as VesselFeaturesDao.getAllVesselFeaturesSinceDateSynchro(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.
getAllVesselFeaturesSinceDateSynchro
in interface VesselFeaturesDao
VesselFeaturesDao.getAllVesselFeaturesSinceDateSynchro(String, int, int, java.sql.Timestamp)
public java.util.Collection getAllVesselFeaturesSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
VesselFeaturesDao
Does the same thing as VesselFeaturesDao.getAllVesselFeaturesSinceDateSynchro(int, java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VesselFeaturesDao.getAllVesselFeaturesSinceDateSynchro(int, java.sql.Timestamp updateDate)
.
getAllVesselFeaturesSinceDateSynchro
in interface VesselFeaturesDao
VesselFeaturesDao.getAllVesselFeaturesSinceDateSynchro(int, String, java.sql.Timestamp)
public java.util.Collection getAllVesselFeaturesSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
VesselFeaturesDao
Does the same thing as VesselFeaturesDao.getAllVesselFeaturesSinceDateSynchro(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.
getAllVesselFeaturesSinceDateSynchro
in interface VesselFeaturesDao
VesselFeaturesDao.getAllVesselFeaturesSinceDateSynchro(int, int, int, java.sql.Timestamp)
public java.util.Collection getAllVesselFeaturesSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
VesselFeaturesDao
Does the same thing as VesselFeaturesDao.getAllVesselFeaturesSinceDateSynchro(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.
getAllVesselFeaturesSinceDateSynchro
in interface VesselFeaturesDao
VesselFeaturesDao.getAllVesselFeaturesSinceDateSynchro(int, java.lang.String, int, int, java.sql.Timestamp)
public VesselFeatures createFromClusterVesselFeatures(ClusterVesselFeatures clusterVesselFeatures)
createFromClusterVesselFeatures
in interface VesselFeaturesDao
VesselFeaturesDao.createFromClusterVesselFeatures(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterVesselFeatures)
protected abstract VesselFeatures handleCreateFromClusterVesselFeatures(ClusterVesselFeatures clusterVesselFeatures) throws java.lang.Exception
createFromClusterVesselFeatures(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterVesselFeatures)
java.lang.Exception
public ClusterVesselFeatures[] getAllClusterVesselFeaturesSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
getAllClusterVesselFeaturesSinceDateSynchro
in interface VesselFeaturesDao
VesselFeaturesDao.getAllClusterVesselFeaturesSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected abstract ClusterVesselFeatures[] handleGetAllClusterVesselFeaturesSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize) throws java.lang.Exception
getAllClusterVesselFeaturesSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
java.lang.Exception
protected java.lang.Object transformEntity(int transform, VesselFeatures entity)
transform
flag is set to one of the constants defined in fr.ifremer.allegro.referential.vessel.VesselFeaturesDao
, please note
that the VesselFeaturesDao.TRANSFORM_NONE
constant denotes no transformation, so the entity itself
will be returned.
This method will return instances of these types:
VesselFeatures
- VesselFeaturesDao.TRANSFORM_NONE
RemoteVesselFeaturesFullVO
- TRANSFORM_REMOTEVESSELFEATURESFULLVO
RemoteVesselFeaturesNaturalId
- TRANSFORM_REMOTEVESSELFEATURESNATURALID
ClusterVesselFeatures
- TRANSFORM_CLUSTERVESSELFEATURES
VesselFeaturesDao.TRANSFORM_NONE
is assumed.
transform
- one of the constants declared in VesselFeaturesDao
entity
- an entity that was found
transformEntities(int,java.util.Collection)
protected void transformEntities(int transform, java.util.Collection entities)
transformEntity(int,fr.ifremer.allegro.referential.vessel.VesselFeatures)
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.allegro.referential.vessel.VesselFeaturesDao
entities
- the collection of entities to transformtransformEntity(int,fr.ifremer.allegro.referential.vessel.VesselFeatures)
protected VesselFeatures toEntity(java.lang.Object[] row)
public final void toRemoteVesselFeaturesFullVOCollection(java.util.Collection entities)
VesselFeaturesDao
RemoteVesselFeaturesFullVO
.
toRemoteVesselFeaturesFullVOCollection
in interface VesselFeaturesDao
VesselFeaturesDao.toRemoteVesselFeaturesFullVOCollection(java.util.Collection)
public final RemoteVesselFeaturesFullVO[] toRemoteVesselFeaturesFullVOArray(java.util.Collection entities)
VesselFeaturesDao
RemoteVesselFeaturesFullVO
.
toRemoteVesselFeaturesFullVOArray
in interface VesselFeaturesDao
VesselFeaturesDao.toRemoteVesselFeaturesFullVOArray(java.util.Collection)
protected RemoteVesselFeaturesFullVO toRemoteVesselFeaturesFullVO(java.lang.Object[] row)
VesselFeaturesDaoImpl
class if you intend to use reporting queries.
VesselFeaturesDao.toRemoteVesselFeaturesFullVO(fr.ifremer.allegro.referential.vessel.VesselFeatures)
public final void remoteVesselFeaturesFullVOToEntityCollection(java.util.Collection instances)
VesselFeaturesDao
RemoteVesselFeaturesFullVO
to this
DAO's entity.
remoteVesselFeaturesFullVOToEntityCollection
in interface VesselFeaturesDao
VesselFeaturesDao.remoteVesselFeaturesFullVOToEntityCollection(java.util.Collection)
public void toRemoteVesselFeaturesFullVO(VesselFeatures source, RemoteVesselFeaturesFullVO target)
VesselFeaturesDao
toRemoteVesselFeaturesFullVO
in interface VesselFeaturesDao
VesselFeaturesDao.toRemoteVesselFeaturesFullVO(fr.ifremer.allegro.referential.vessel.VesselFeatures, fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselFeaturesFullVO)
public RemoteVesselFeaturesFullVO toRemoteVesselFeaturesFullVO(VesselFeatures entity)
VesselFeaturesDao
RemoteVesselFeaturesFullVO
.
toRemoteVesselFeaturesFullVO
in interface VesselFeaturesDao
VesselFeaturesDao.toRemoteVesselFeaturesFullVO(fr.ifremer.allegro.referential.vessel.VesselFeatures)
public void remoteVesselFeaturesFullVOToEntity(RemoteVesselFeaturesFullVO source, VesselFeatures target, boolean copyIfNull)
VesselFeaturesDao
RemoteVesselFeaturesFullVO
to the specified entity.
remoteVesselFeaturesFullVOToEntity
in interface VesselFeaturesDao
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.fr.ifremer.allegro.referential.vessel.VesselFeaturesDao#remoteVesselFeaturesFullVOToEntity(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselFeaturesFullVO, fr.ifremer.allegro.referential.vessel.VesselFeatures)
public final void toRemoteVesselFeaturesNaturalIdCollection(java.util.Collection entities)
VesselFeaturesDao
RemoteVesselFeaturesNaturalId
.
toRemoteVesselFeaturesNaturalIdCollection
in interface VesselFeaturesDao
VesselFeaturesDao.toRemoteVesselFeaturesNaturalIdCollection(java.util.Collection)
public final RemoteVesselFeaturesNaturalId[] toRemoteVesselFeaturesNaturalIdArray(java.util.Collection entities)
VesselFeaturesDao
RemoteVesselFeaturesNaturalId
.
toRemoteVesselFeaturesNaturalIdArray
in interface VesselFeaturesDao
VesselFeaturesDao.toRemoteVesselFeaturesNaturalIdArray(java.util.Collection)
protected RemoteVesselFeaturesNaturalId toRemoteVesselFeaturesNaturalId(java.lang.Object[] row)
VesselFeaturesDaoImpl
class if you intend to use reporting queries.
VesselFeaturesDao.toRemoteVesselFeaturesNaturalId(fr.ifremer.allegro.referential.vessel.VesselFeatures)
public final void remoteVesselFeaturesNaturalIdToEntityCollection(java.util.Collection instances)
VesselFeaturesDao
RemoteVesselFeaturesNaturalId
to this
DAO's entity.
remoteVesselFeaturesNaturalIdToEntityCollection
in interface VesselFeaturesDao
VesselFeaturesDao.remoteVesselFeaturesNaturalIdToEntityCollection(java.util.Collection)
public void toRemoteVesselFeaturesNaturalId(VesselFeatures source, RemoteVesselFeaturesNaturalId target)
VesselFeaturesDao
toRemoteVesselFeaturesNaturalId
in interface VesselFeaturesDao
VesselFeaturesDao.toRemoteVesselFeaturesNaturalId(fr.ifremer.allegro.referential.vessel.VesselFeatures, fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselFeaturesNaturalId)
public RemoteVesselFeaturesNaturalId toRemoteVesselFeaturesNaturalId(VesselFeatures entity)
VesselFeaturesDao
RemoteVesselFeaturesNaturalId
.
toRemoteVesselFeaturesNaturalId
in interface VesselFeaturesDao
VesselFeaturesDao.toRemoteVesselFeaturesNaturalId(fr.ifremer.allegro.referential.vessel.VesselFeatures)
public void remoteVesselFeaturesNaturalIdToEntity(RemoteVesselFeaturesNaturalId source, VesselFeatures target, boolean copyIfNull)
VesselFeaturesDao
RemoteVesselFeaturesNaturalId
to the specified entity.
remoteVesselFeaturesNaturalIdToEntity
in interface VesselFeaturesDao
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.fr.ifremer.allegro.referential.vessel.VesselFeaturesDao#remoteVesselFeaturesNaturalIdToEntity(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselFeaturesNaturalId, fr.ifremer.allegro.referential.vessel.VesselFeatures)
public final void toClusterVesselFeaturesCollection(java.util.Collection entities)
VesselFeaturesDao
ClusterVesselFeatures
.
toClusterVesselFeaturesCollection
in interface VesselFeaturesDao
VesselFeaturesDao.toClusterVesselFeaturesCollection(java.util.Collection)
public final ClusterVesselFeatures[] toClusterVesselFeaturesArray(java.util.Collection entities)
VesselFeaturesDao
ClusterVesselFeatures
.
toClusterVesselFeaturesArray
in interface VesselFeaturesDao
VesselFeaturesDao.toClusterVesselFeaturesArray(java.util.Collection)
protected ClusterVesselFeatures toClusterVesselFeatures(java.lang.Object[] row)
VesselFeaturesDaoImpl
class if you intend to use reporting queries.
VesselFeaturesDao.toClusterVesselFeatures(fr.ifremer.allegro.referential.vessel.VesselFeatures)
public final void clusterVesselFeaturesToEntityCollection(java.util.Collection instances)
VesselFeaturesDao
ClusterVesselFeatures
to this
DAO's entity.
clusterVesselFeaturesToEntityCollection
in interface VesselFeaturesDao
VesselFeaturesDao.clusterVesselFeaturesToEntityCollection(java.util.Collection)
public void toClusterVesselFeatures(VesselFeatures source, ClusterVesselFeatures target)
VesselFeaturesDao
toClusterVesselFeatures
in interface VesselFeaturesDao
VesselFeaturesDao.toClusterVesselFeatures(fr.ifremer.allegro.referential.vessel.VesselFeatures, fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterVesselFeatures)
public ClusterVesselFeatures toClusterVesselFeatures(VesselFeatures entity)
VesselFeaturesDao
ClusterVesselFeatures
.
toClusterVesselFeatures
in interface VesselFeaturesDao
VesselFeaturesDao.toClusterVesselFeatures(fr.ifremer.allegro.referential.vessel.VesselFeatures)
public void clusterVesselFeaturesToEntity(ClusterVesselFeatures source, VesselFeatures target, boolean copyIfNull)
VesselFeaturesDao
ClusterVesselFeatures
to the specified entity.
clusterVesselFeaturesToEntity
in interface VesselFeaturesDao
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.fr.ifremer.allegro.referential.vessel.VesselFeaturesDao#clusterVesselFeaturesToEntity(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterVesselFeatures, fr.ifremer.allegro.referential.vessel.VesselFeatures)
protected java.security.Principal getPrincipal()
principal
if one has been set,
otherwise returns null
.
public PaginationResult search(int transform, int pageNumber, int pageSize, Search search)
VesselFeaturesDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface VesselFeaturesDao
transform
- 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.VesselFeaturesDao.search(int, int, int, fr.ifremer.allegro.Search)
public PaginationResult search(int pageNumber, int pageSize, Search search)
VesselFeaturesDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface VesselFeaturesDao
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.VesselFeaturesDao.search(int, int, fr.ifremer.allegro.Search)
public java.util.Set search(int transform, Search search)
VesselFeaturesDao
VesselFeaturesDao.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.
search
in interface VesselFeaturesDao
transform
- the transformation flag.search
- the search object which provides the search parameters and pagination specification.
VesselFeaturesDao.search(int, fr.ifremer.allegro.Search)
public java.util.Set search(Search search)
VesselFeaturesDao
search
object.
search
in interface VesselFeaturesDao
search
- the search object which provides the search parameters and pagination specification.
VesselFeaturesDao.search(fr.ifremer.allegro.Search)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |