fr.ifremer.allegro.referential.vessel
Class VesselFeaturesDaoBase

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.referential.vessel.VesselFeaturesDaoBase
All Implemented Interfaces:
VesselFeaturesDao
Direct Known Subclasses:
VesselFeaturesDaoImpl

public abstract class VesselFeaturesDaoBase
extends org.springframework.orm.hibernate3.support.HibernateDaoSupport
implements VesselFeaturesDao

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

See Also:
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 collection.
 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

VesselFeaturesDaoBase

public VesselFeaturesDaoBase()
Method Detail

setFishingVesselDao

public void setFishingVesselDao(FishingVesselDao fishingVesselDao)
Sets the reference to fishingVesselDao.


getFishingVesselDao

protected FishingVesselDao getFishingVesselDao()
Gets the reference to fishingVesselDao.


setLocationDao

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


getLocationDao

protected LocationDao getLocationDao()
Gets the reference to locationDao.


setQualitativeValueDao

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


getQualitativeValueDao

protected QualitativeValueDao getQualitativeValueDao()
Gets the reference to qualitativeValueDao.


load

public java.lang.Object load(int transform,
                             java.lang.Integer id)
Description copied from interface: 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.

Specified by:
load in interface VesselFeaturesDao
id - identifier of the entity to load
Returns:
either the entity or the object transformed from the entity.
See Also:
VesselFeaturesDao.load(int, java.lang.Integer)

load

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

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

loadAll

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

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

loadAll

public java.util.Collection loadAll(int transform)
Description copied from interface: 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.

Specified by:
loadAll in interface VesselFeaturesDao
Parameters:
transform - the flag indicating what transformation to use.
Returns:
the loaded entities.
See Also:
VesselFeaturesDao.loadAll(int)

loadAll

public java.util.Collection loadAll(int pageNumber,
                                    int pageSize)
Description copied from interface: 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.

Specified by:
loadAll in interface VesselFeaturesDao
Parameters:
pageNumber - the page number to retrieve when paging results.
pageSize - the size of the page to retrieve when paging results.
Returns:
the loaded entities.
See Also:
VesselFeaturesDao.loadAll(int, int)

loadAll

public java.util.Collection loadAll(int transform,
                                    int pageNumber,
                                    int pageSize)
Description copied from interface: 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.

Specified by:
loadAll in interface VesselFeaturesDao
Parameters:
transform - the flag indicating what transformation to use.
pageNumber - the page number to retrieve when paging results.
pageSize - the size of the page to retrieve when paging results.
Returns:
the loaded entities.
See Also:
VesselFeaturesDao.loadAll(int, int, int)

create

public VesselFeatures create(VesselFeatures vesselFeatures)
Description copied from interface: VesselFeaturesDao
Creates an instance of fr.ifremer.allegro.referential.vessel.VesselFeatures and adds it to the persistent store.

Specified by:
create in interface VesselFeaturesDao
See Also:
VesselFeaturesDao.create(fr.ifremer.allegro.referential.vessel.VesselFeatures)

create

public java.lang.Object create(int transform,
                               VesselFeatures vesselFeatures)
Description copied from interface: 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.

Specified by:
create in interface VesselFeaturesDao
See Also:
VesselFeaturesDao.create(int transform, fr.ifremer.allegro.referential.vessel.VesselFeatures)

create

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

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

create

public java.util.Collection create(int transform,
                                   java.util.Collection entities)
Description copied from interface: 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.

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

create

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)
Description copied from interface: VesselFeaturesDao

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

Specified by:
create in interface VesselFeaturesDao
See Also:
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)

create

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)
Description copied from interface: 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.

Specified by:
create in interface VesselFeaturesDao
See Also:
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)

create

public VesselFeatures create(FishingVessel fishingVessel,
                             java.lang.Boolean isFPC,
                             java.util.Date startDateTime)
Description copied from interface: 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.

Specified by:
create in interface VesselFeaturesDao
See Also:
VesselFeaturesDao.create(fr.ifremer.allegro.referential.vessel.FishingVessel,java.lang.Boolean,java.util.Date)

create

public java.lang.Object create(int transform,
                               FishingVessel fishingVessel,
                               java.lang.Boolean isFPC,
                               java.util.Date startDateTime)
Description copied from interface: 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.

Specified by:
create in interface VesselFeaturesDao
See Also:
VesselFeaturesDao.create(int, fr.ifremer.allegro.referential.vessel.FishingVessel,java.lang.Boolean,java.util.Date)

update

public void update(VesselFeatures vesselFeatures)
Description copied from interface: VesselFeaturesDao
Updates the vesselFeatures instance in the persistent store.

Specified by:
update in interface VesselFeaturesDao
See Also:
VesselFeaturesDao.update(fr.ifremer.allegro.referential.vessel.VesselFeatures)

update

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

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

remove

public void remove(VesselFeatures vesselFeatures)
Description copied from interface: VesselFeaturesDao
Removes the instance of fr.ifremer.allegro.referential.vessel.VesselFeatures from the persistent store.

Specified by:
remove in interface VesselFeaturesDao
See Also:
VesselFeaturesDao.remove(fr.ifremer.allegro.referential.vessel.VesselFeatures)

remove

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

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

remove

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

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

getAllVesselFeatures

public java.util.Collection getAllVesselFeatures()
Specified by:
getAllVesselFeatures in interface VesselFeaturesDao
See Also:
VesselFeaturesDao.getAllVesselFeatures()

getAllVesselFeatures

public java.util.Collection getAllVesselFeatures(int transform)
Description copied from interface: 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.

Specified by:
getAllVesselFeatures in interface VesselFeaturesDao
See Also:
VesselFeaturesDao.getAllVesselFeatures(int)

getAllVesselFeatures

public java.util.Collection getAllVesselFeatures(java.lang.String queryString)
Description copied from interface: 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().

Specified by:
getAllVesselFeatures in interface VesselFeaturesDao
See Also:
VesselFeaturesDao.getAllVesselFeatures(java.lang.String)

getAllVesselFeatures

public java.util.Collection getAllVesselFeatures(int pageNumber,
                                                 int pageSize)
Description copied from interface: 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.

Specified by:
getAllVesselFeatures in interface VesselFeaturesDao
See Also:
VesselFeaturesDao.getAllVesselFeatures(int, int)

getAllVesselFeatures

public java.util.Collection getAllVesselFeatures(java.lang.String queryString,
                                                 int pageNumber,
                                                 int pageSize)
Description copied from interface: 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.

Specified by:
getAllVesselFeatures in interface VesselFeaturesDao
See Also:
VesselFeaturesDao.getAllVesselFeatures(String, int, int)

getAllVesselFeatures

public java.util.Collection getAllVesselFeatures(int transform,
                                                 java.lang.String queryString)
Description copied from interface: 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).

Specified by:
getAllVesselFeatures in interface VesselFeaturesDao
See Also:
VesselFeaturesDao.getAllVesselFeatures(int, String)

getAllVesselFeatures

public java.util.Collection getAllVesselFeatures(int transform,
                                                 int pageNumber,
                                                 int pageSize)
Description copied from interface: 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.

Specified by:
getAllVesselFeatures in interface VesselFeaturesDao
See Also:
VesselFeaturesDao.getAllVesselFeatures(int, int, int)

getAllVesselFeatures

public java.util.Collection getAllVesselFeatures(int transform,
                                                 java.lang.String queryString,
                                                 int pageNumber,
                                                 int pageSize)
Description copied from interface: 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.

Specified by:
getAllVesselFeatures in interface VesselFeaturesDao
See Also:
VesselFeaturesDao.getAllVesselFeatures(int, java.lang.String, int, int)

findVesselFeaturesById

public VesselFeatures findVesselFeaturesById(java.lang.Integer id)
Specified by:
findVesselFeaturesById in interface VesselFeaturesDao
See Also:
VesselFeaturesDao.findVesselFeaturesById(java.lang.Integer)

findVesselFeaturesById

public java.lang.Object findVesselFeaturesById(int transform,
                                               java.lang.Integer id)
Description copied from interface: 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.

Specified by:
findVesselFeaturesById in interface VesselFeaturesDao
See Also:
VesselFeaturesDao.findVesselFeaturesById(int, java.lang.Integer)

findVesselFeaturesById

public VesselFeatures findVesselFeaturesById(java.lang.String queryString,
                                             java.lang.Integer id)
Description copied from interface: 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).

Specified by:
findVesselFeaturesById in interface VesselFeaturesDao
See Also:
VesselFeaturesDao.findVesselFeaturesById(java.lang.String, java.lang.Integer)

findVesselFeaturesById

public java.lang.Object findVesselFeaturesById(int transform,
                                               java.lang.String queryString,
                                               java.lang.Integer id)
Description copied from interface: 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).

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

findVesselFeaturesByFishingVessel

public java.util.Collection findVesselFeaturesByFishingVessel(FishingVessel fishingVessel)
Specified by:
findVesselFeaturesByFishingVessel in interface VesselFeaturesDao
See Also:
VesselFeaturesDao.findVesselFeaturesByFishingVessel(fr.ifremer.allegro.referential.vessel.FishingVessel)

findVesselFeaturesByFishingVessel

public java.util.Collection findVesselFeaturesByFishingVessel(int transform,
                                                              FishingVessel fishingVessel)
Description copied from interface: 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.

Specified by:
findVesselFeaturesByFishingVessel in interface VesselFeaturesDao
See Also:
VesselFeaturesDao.findVesselFeaturesByFishingVessel(int, fr.ifremer.allegro.referential.vessel.FishingVessel)

findVesselFeaturesByFishingVessel

public java.util.Collection findVesselFeaturesByFishingVessel(java.lang.String queryString,
                                                              FishingVessel fishingVessel)
Description copied from interface: 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).

Specified by:
findVesselFeaturesByFishingVessel in interface VesselFeaturesDao
See Also:
VesselFeaturesDao.findVesselFeaturesByFishingVessel(java.lang.String, fr.ifremer.allegro.referential.vessel.FishingVessel)

findVesselFeaturesByFishingVessel

public java.util.Collection findVesselFeaturesByFishingVessel(int pageNumber,
                                                              int pageSize,
                                                              FishingVessel fishingVessel)
Description copied from interface: 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.

Specified by:
findVesselFeaturesByFishingVessel in interface VesselFeaturesDao
See Also:
VesselFeaturesDao.findVesselFeaturesByFishingVessel(int, int, fr.ifremer.allegro.referential.vessel.FishingVessel)

findVesselFeaturesByFishingVessel

public java.util.Collection findVesselFeaturesByFishingVessel(java.lang.String queryString,
                                                              int pageNumber,
                                                              int pageSize,
                                                              FishingVessel fishingVessel)
Description copied from interface: 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.

Specified by:
findVesselFeaturesByFishingVessel in interface VesselFeaturesDao
See Also:
VesselFeaturesDao.findVesselFeaturesByFishingVessel(String, int, int, fr.ifremer.allegro.referential.vessel.FishingVessel)

findVesselFeaturesByFishingVessel

public java.util.Collection findVesselFeaturesByFishingVessel(int transform,
                                                              java.lang.String queryString,
                                                              FishingVessel fishingVessel)
Description copied from interface: 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).

Specified by:
findVesselFeaturesByFishingVessel in interface VesselFeaturesDao
See Also:
VesselFeaturesDao.findVesselFeaturesByFishingVessel(int, String, fr.ifremer.allegro.referential.vessel.FishingVessel)

findVesselFeaturesByFishingVessel

public java.util.Collection findVesselFeaturesByFishingVessel(int transform,
                                                              int pageNumber,
                                                              int pageSize,
                                                              FishingVessel fishingVessel)
Description copied from interface: 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.

Specified by:
findVesselFeaturesByFishingVessel in interface VesselFeaturesDao
See Also:
VesselFeaturesDao.findVesselFeaturesByFishingVessel(int, int, int, fr.ifremer.allegro.referential.vessel.FishingVessel)

findVesselFeaturesByFishingVessel

public java.util.Collection findVesselFeaturesByFishingVessel(int transform,
                                                              java.lang.String queryString,
                                                              int pageNumber,
                                                              int pageSize,
                                                              FishingVessel fishingVessel)
Description copied from interface: 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.

Specified by:
findVesselFeaturesByFishingVessel in interface VesselFeaturesDao
See Also:
VesselFeaturesDao.findVesselFeaturesByFishingVessel(int, java.lang.String, int, int, fr.ifremer.allegro.referential.vessel.FishingVessel)

findVesselFeaturesByBasePortLocation

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

findVesselFeaturesByBasePortLocation

public java.util.Collection findVesselFeaturesByBasePortLocation(int transform,
                                                                 Location basePortLocation)
Description copied from interface: 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.

Specified by:
findVesselFeaturesByBasePortLocation in interface VesselFeaturesDao
See Also:
VesselFeaturesDao.findVesselFeaturesByBasePortLocation(int, fr.ifremer.allegro.referential.location.Location)

findVesselFeaturesByBasePortLocation

public java.util.Collection findVesselFeaturesByBasePortLocation(java.lang.String queryString,
                                                                 Location basePortLocation)
Description copied from interface: 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).

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

findVesselFeaturesByBasePortLocation

public java.util.Collection findVesselFeaturesByBasePortLocation(int pageNumber,
                                                                 int pageSize,
                                                                 Location basePortLocation)
Description copied from interface: 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.

Specified by:
findVesselFeaturesByBasePortLocation in interface VesselFeaturesDao
See Also:
VesselFeaturesDao.findVesselFeaturesByBasePortLocation(int, int, fr.ifremer.allegro.referential.location.Location)

findVesselFeaturesByBasePortLocation

public java.util.Collection findVesselFeaturesByBasePortLocation(java.lang.String queryString,
                                                                 int pageNumber,
                                                                 int pageSize,
                                                                 Location basePortLocation)
Description copied from interface: 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.

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

findVesselFeaturesByBasePortLocation

public java.util.Collection findVesselFeaturesByBasePortLocation(int transform,
                                                                 java.lang.String queryString,
                                                                 Location basePortLocation)
Description copied from interface: 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).

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

findVesselFeaturesByBasePortLocation

public java.util.Collection findVesselFeaturesByBasePortLocation(int transform,
                                                                 int pageNumber,
                                                                 int pageSize,
                                                                 Location basePortLocation)
Description copied from interface: 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.

Specified by:
findVesselFeaturesByBasePortLocation in interface VesselFeaturesDao
See Also:
VesselFeaturesDao.findVesselFeaturesByBasePortLocation(int, int, int, fr.ifremer.allegro.referential.location.Location)

findVesselFeaturesByBasePortLocation

public java.util.Collection findVesselFeaturesByBasePortLocation(int transform,
                                                                 java.lang.String queryString,
                                                                 int pageNumber,
                                                                 int pageSize,
                                                                 Location basePortLocation)
Description copied from interface: 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.

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

findVesselFeaturesByHullMaterial

public java.util.Collection findVesselFeaturesByHullMaterial(QualitativeValue hullMaterial)
Specified by:
findVesselFeaturesByHullMaterial in interface VesselFeaturesDao
See Also:
VesselFeaturesDao.findVesselFeaturesByHullMaterial(fr.ifremer.allegro.referential.pmfm.QualitativeValue)

findVesselFeaturesByHullMaterial

public java.util.Collection findVesselFeaturesByHullMaterial(int transform,
                                                             QualitativeValue hullMaterial)
Description copied from interface: 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.

Specified by:
findVesselFeaturesByHullMaterial in interface VesselFeaturesDao
See Also:
VesselFeaturesDao.findVesselFeaturesByHullMaterial(int, fr.ifremer.allegro.referential.pmfm.QualitativeValue)

findVesselFeaturesByHullMaterial

public java.util.Collection findVesselFeaturesByHullMaterial(java.lang.String queryString,
                                                             QualitativeValue hullMaterial)
Description copied from interface: 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).

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

findVesselFeaturesByHullMaterial

public java.util.Collection findVesselFeaturesByHullMaterial(int pageNumber,
                                                             int pageSize,
                                                             QualitativeValue hullMaterial)
Description copied from interface: 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.

Specified by:
findVesselFeaturesByHullMaterial in interface VesselFeaturesDao
See Also:
VesselFeaturesDao.findVesselFeaturesByHullMaterial(int, int, fr.ifremer.allegro.referential.pmfm.QualitativeValue)

findVesselFeaturesByHullMaterial

public java.util.Collection findVesselFeaturesByHullMaterial(java.lang.String queryString,
                                                             int pageNumber,
                                                             int pageSize,
                                                             QualitativeValue hullMaterial)
Description copied from interface: 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.

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

findVesselFeaturesByHullMaterial

public java.util.Collection findVesselFeaturesByHullMaterial(int transform,
                                                             java.lang.String queryString,
                                                             QualitativeValue hullMaterial)
Description copied from interface: 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).

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

findVesselFeaturesByHullMaterial

public java.util.Collection findVesselFeaturesByHullMaterial(int transform,
                                                             int pageNumber,
                                                             int pageSize,
                                                             QualitativeValue hullMaterial)
Description copied from interface: 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.

Specified by:
findVesselFeaturesByHullMaterial in interface VesselFeaturesDao
See Also:
VesselFeaturesDao.findVesselFeaturesByHullMaterial(int, int, int, fr.ifremer.allegro.referential.pmfm.QualitativeValue)

findVesselFeaturesByHullMaterial

public java.util.Collection findVesselFeaturesByHullMaterial(int transform,
                                                             java.lang.String queryString,
                                                             int pageNumber,
                                                             int pageSize,
                                                             QualitativeValue hullMaterial)
Description copied from interface: 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.

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

findVesselFeaturesByNaturalId

public VesselFeatures findVesselFeaturesByNaturalId(FishingVessel fishingVessel,
                                                    java.util.Date startDateTime)
Specified by:
findVesselFeaturesByNaturalId in interface VesselFeaturesDao
See Also:
VesselFeaturesDao.findVesselFeaturesByNaturalId(fr.ifremer.allegro.referential.vessel.FishingVessel, java.util.Date)

findVesselFeaturesByNaturalId

public java.lang.Object findVesselFeaturesByNaturalId(int transform,
                                                      FishingVessel fishingVessel,
                                                      java.util.Date startDateTime)
Description copied from interface: 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.

Specified by:
findVesselFeaturesByNaturalId in interface VesselFeaturesDao
See Also:
VesselFeaturesDao.findVesselFeaturesByNaturalId(int, fr.ifremer.allegro.referential.vessel.FishingVessel, java.util.Date)

findVesselFeaturesByNaturalId

public VesselFeatures findVesselFeaturesByNaturalId(java.lang.String queryString,
                                                    FishingVessel fishingVessel,
                                                    java.util.Date startDateTime)
Description copied from interface: 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).

Specified by:
findVesselFeaturesByNaturalId in interface VesselFeaturesDao
See Also:
VesselFeaturesDao.findVesselFeaturesByNaturalId(java.lang.String, fr.ifremer.allegro.referential.vessel.FishingVessel, java.util.Date)

findVesselFeaturesByNaturalId

public java.lang.Object findVesselFeaturesByNaturalId(int transform,
                                                      java.lang.String queryString,
                                                      FishingVessel fishingVessel,
                                                      java.util.Date startDateTime)
Description copied from interface: 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).

Specified by:
findVesselFeaturesByNaturalId in interface VesselFeaturesDao
See Also:
VesselFeaturesDao.findVesselFeaturesByNaturalId(int, java.lang.String, fr.ifremer.allegro.referential.vessel.FishingVessel, java.util.Date)

getAllVesselFeaturesSinceDateSynchro

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

getAllVesselFeaturesSinceDateSynchro

public java.util.Collection getAllVesselFeaturesSinceDateSynchro(int transform,
                                                                 java.sql.Timestamp updateDate)
Description copied from interface: 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.

Specified by:
getAllVesselFeaturesSinceDateSynchro in interface VesselFeaturesDao
See Also:
VesselFeaturesDao.getAllVesselFeaturesSinceDateSynchro(int, java.sql.Timestamp)

getAllVesselFeaturesSinceDateSynchro

public java.util.Collection getAllVesselFeaturesSinceDateSynchro(java.lang.String queryString,
                                                                 java.sql.Timestamp updateDate)
Description copied from interface: 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).

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

getAllVesselFeaturesSinceDateSynchro

public java.util.Collection getAllVesselFeaturesSinceDateSynchro(int pageNumber,
                                                                 int pageSize,
                                                                 java.sql.Timestamp updateDate)
Description copied from interface: 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.

Specified by:
getAllVesselFeaturesSinceDateSynchro in interface VesselFeaturesDao
See Also:
VesselFeaturesDao.getAllVesselFeaturesSinceDateSynchro(int, int, java.sql.Timestamp)

getAllVesselFeaturesSinceDateSynchro

public java.util.Collection getAllVesselFeaturesSinceDateSynchro(java.lang.String queryString,
                                                                 int pageNumber,
                                                                 int pageSize,
                                                                 java.sql.Timestamp updateDate)
Description copied from interface: 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.

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

getAllVesselFeaturesSinceDateSynchro

public java.util.Collection getAllVesselFeaturesSinceDateSynchro(int transform,
                                                                 java.lang.String queryString,
                                                                 java.sql.Timestamp updateDate)
Description copied from interface: 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).

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

getAllVesselFeaturesSinceDateSynchro

public java.util.Collection getAllVesselFeaturesSinceDateSynchro(int transform,
                                                                 int pageNumber,
                                                                 int pageSize,
                                                                 java.sql.Timestamp updateDate)
Description copied from interface: 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.

Specified by:
getAllVesselFeaturesSinceDateSynchro in interface VesselFeaturesDao
See Also:
VesselFeaturesDao.getAllVesselFeaturesSinceDateSynchro(int, int, int, java.sql.Timestamp)

getAllVesselFeaturesSinceDateSynchro

public java.util.Collection getAllVesselFeaturesSinceDateSynchro(int transform,
                                                                 java.lang.String queryString,
                                                                 int pageNumber,
                                                                 int pageSize,
                                                                 java.sql.Timestamp updateDate)
Description copied from interface: 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.

Specified by:
getAllVesselFeaturesSinceDateSynchro in interface VesselFeaturesDao
See Also:
VesselFeaturesDao.getAllVesselFeaturesSinceDateSynchro(int, java.lang.String, int, int, java.sql.Timestamp)

createFromClusterVesselFeatures

public VesselFeatures createFromClusterVesselFeatures(ClusterVesselFeatures clusterVesselFeatures)
Specified by:
createFromClusterVesselFeatures in interface VesselFeaturesDao
See Also:
VesselFeaturesDao.createFromClusterVesselFeatures(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterVesselFeatures)

handleCreateFromClusterVesselFeatures

protected abstract VesselFeatures handleCreateFromClusterVesselFeatures(ClusterVesselFeatures clusterVesselFeatures)
                                                                 throws java.lang.Exception
Performs the core logic for createFromClusterVesselFeatures(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterVesselFeatures)

Throws:
java.lang.Exception

getAllClusterVesselFeaturesSinceDateSynchro

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

handleGetAllClusterVesselFeaturesSinceDateSynchro

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
Performs the core logic for getAllClusterVesselFeaturesSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Throws:
java.lang.Exception

transformEntity

protected java.lang.Object transformEntity(int transform,
                                           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.

This method will return instances of these types:

If the integer argument value is unknown VesselFeaturesDao.TRANSFORM_NONE is assumed.

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

transformEntities

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

This method is to be used internally only.

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

toEntity

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

toRemoteVesselFeaturesFullVOCollection

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

Specified by:
toRemoteVesselFeaturesFullVOCollection in interface VesselFeaturesDao
See Also:
VesselFeaturesDao.toRemoteVesselFeaturesFullVOCollection(java.util.Collection)

toRemoteVesselFeaturesFullVOArray

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

Specified by:
toRemoteVesselFeaturesFullVOArray in interface VesselFeaturesDao
See Also:
VesselFeaturesDao.toRemoteVesselFeaturesFullVOArray(java.util.Collection)

toRemoteVesselFeaturesFullVO

protected RemoteVesselFeaturesFullVO toRemoteVesselFeaturesFullVO(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. This implementation exists for convenience reasons only. It needs only be overridden in the VesselFeaturesDaoImpl class if you intend to use reporting queries.

See Also:
VesselFeaturesDao.toRemoteVesselFeaturesFullVO(fr.ifremer.allegro.referential.vessel.VesselFeatures)

remoteVesselFeaturesFullVOToEntityCollection

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

Specified by:
remoteVesselFeaturesFullVOToEntityCollection in interface VesselFeaturesDao
See Also:
VesselFeaturesDao.remoteVesselFeaturesFullVOToEntityCollection(java.util.Collection)

toRemoteVesselFeaturesFullVO

public void toRemoteVesselFeaturesFullVO(VesselFeatures source,
                                         RemoteVesselFeaturesFullVO target)
Description copied from interface: VesselFeaturesDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteVesselFeaturesFullVO(), but it does not handle any attributes in the target value object that are "read-only" (as those do not have setter methods exposed).

Specified by:
toRemoteVesselFeaturesFullVO in interface VesselFeaturesDao
See Also:
VesselFeaturesDao.toRemoteVesselFeaturesFullVO(fr.ifremer.allegro.referential.vessel.VesselFeatures, fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselFeaturesFullVO)

toRemoteVesselFeaturesFullVO

public RemoteVesselFeaturesFullVO toRemoteVesselFeaturesFullVO(VesselFeatures entity)
Description copied from interface: VesselFeaturesDao
Converts this DAO's entity to an object of type RemoteVesselFeaturesFullVO.

Specified by:
toRemoteVesselFeaturesFullVO in interface VesselFeaturesDao
See Also:
VesselFeaturesDao.toRemoteVesselFeaturesFullVO(fr.ifremer.allegro.referential.vessel.VesselFeatures)

remoteVesselFeaturesFullVOToEntity

public void remoteVesselFeaturesFullVOToEntity(RemoteVesselFeaturesFullVO source,
                                               VesselFeatures target,
                                               boolean copyIfNull)
Description copied from interface: VesselFeaturesDao
Copies the fields of RemoteVesselFeaturesFullVO to the specified entity.

Specified by:
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.
See Also:
fr.ifremer.allegro.referential.vessel.VesselFeaturesDao#remoteVesselFeaturesFullVOToEntity(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselFeaturesFullVO, fr.ifremer.allegro.referential.vessel.VesselFeatures)

toRemoteVesselFeaturesNaturalIdCollection

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

Specified by:
toRemoteVesselFeaturesNaturalIdCollection in interface VesselFeaturesDao
See Also:
VesselFeaturesDao.toRemoteVesselFeaturesNaturalIdCollection(java.util.Collection)

toRemoteVesselFeaturesNaturalIdArray

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

Specified by:
toRemoteVesselFeaturesNaturalIdArray in interface VesselFeaturesDao
See Also:
VesselFeaturesDao.toRemoteVesselFeaturesNaturalIdArray(java.util.Collection)

toRemoteVesselFeaturesNaturalId

protected RemoteVesselFeaturesNaturalId toRemoteVesselFeaturesNaturalId(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. This implementation exists for convenience reasons only. It needs only be overridden in the VesselFeaturesDaoImpl class if you intend to use reporting queries.

See Also:
VesselFeaturesDao.toRemoteVesselFeaturesNaturalId(fr.ifremer.allegro.referential.vessel.VesselFeatures)

remoteVesselFeaturesNaturalIdToEntityCollection

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

Specified by:
remoteVesselFeaturesNaturalIdToEntityCollection in interface VesselFeaturesDao
See Also:
VesselFeaturesDao.remoteVesselFeaturesNaturalIdToEntityCollection(java.util.Collection)

toRemoteVesselFeaturesNaturalId

public void toRemoteVesselFeaturesNaturalId(VesselFeatures source,
                                            RemoteVesselFeaturesNaturalId target)
Description copied from interface: VesselFeaturesDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteVesselFeaturesNaturalId(), but it does not handle any attributes in the target value object that are "read-only" (as those do not have setter methods exposed).

Specified by:
toRemoteVesselFeaturesNaturalId in interface VesselFeaturesDao
See Also:
VesselFeaturesDao.toRemoteVesselFeaturesNaturalId(fr.ifremer.allegro.referential.vessel.VesselFeatures, fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselFeaturesNaturalId)

toRemoteVesselFeaturesNaturalId

public RemoteVesselFeaturesNaturalId toRemoteVesselFeaturesNaturalId(VesselFeatures entity)
Description copied from interface: VesselFeaturesDao
Converts this DAO's entity to an object of type RemoteVesselFeaturesNaturalId.

Specified by:
toRemoteVesselFeaturesNaturalId in interface VesselFeaturesDao
See Also:
VesselFeaturesDao.toRemoteVesselFeaturesNaturalId(fr.ifremer.allegro.referential.vessel.VesselFeatures)

remoteVesselFeaturesNaturalIdToEntity

public void remoteVesselFeaturesNaturalIdToEntity(RemoteVesselFeaturesNaturalId source,
                                                  VesselFeatures target,
                                                  boolean copyIfNull)
Description copied from interface: VesselFeaturesDao
Copies the fields of RemoteVesselFeaturesNaturalId to the specified entity.

Specified by:
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.
See Also:
fr.ifremer.allegro.referential.vessel.VesselFeaturesDao#remoteVesselFeaturesNaturalIdToEntity(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselFeaturesNaturalId, fr.ifremer.allegro.referential.vessel.VesselFeatures)

toClusterVesselFeaturesCollection

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

Specified by:
toClusterVesselFeaturesCollection in interface VesselFeaturesDao
See Also:
VesselFeaturesDao.toClusterVesselFeaturesCollection(java.util.Collection)

toClusterVesselFeaturesArray

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

Specified by:
toClusterVesselFeaturesArray in interface VesselFeaturesDao
See Also:
VesselFeaturesDao.toClusterVesselFeaturesArray(java.util.Collection)

toClusterVesselFeatures

protected ClusterVesselFeatures toClusterVesselFeatures(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. This implementation exists for convenience reasons only. It needs only be overridden in the VesselFeaturesDaoImpl class if you intend to use reporting queries.

See Also:
VesselFeaturesDao.toClusterVesselFeatures(fr.ifremer.allegro.referential.vessel.VesselFeatures)

clusterVesselFeaturesToEntityCollection

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

Specified by:
clusterVesselFeaturesToEntityCollection in interface VesselFeaturesDao
See Also:
VesselFeaturesDao.clusterVesselFeaturesToEntityCollection(java.util.Collection)

toClusterVesselFeatures

public void toClusterVesselFeatures(VesselFeatures source,
                                    ClusterVesselFeatures target)
Description copied from interface: VesselFeaturesDao
Copies the fields of the specified entity to the target value object. This method is similar to toClusterVesselFeatures(), but it does not handle any attributes in the target value object that are "read-only" (as those do not have setter methods exposed).

Specified by:
toClusterVesselFeatures in interface VesselFeaturesDao
See Also:
VesselFeaturesDao.toClusterVesselFeatures(fr.ifremer.allegro.referential.vessel.VesselFeatures, fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterVesselFeatures)

toClusterVesselFeatures

public ClusterVesselFeatures toClusterVesselFeatures(VesselFeatures entity)
Description copied from interface: VesselFeaturesDao
Converts this DAO's entity to an object of type ClusterVesselFeatures.

Specified by:
toClusterVesselFeatures in interface VesselFeaturesDao
See Also:
VesselFeaturesDao.toClusterVesselFeatures(fr.ifremer.allegro.referential.vessel.VesselFeatures)

clusterVesselFeaturesToEntity

public void clusterVesselFeaturesToEntity(ClusterVesselFeatures source,
                                          VesselFeatures target,
                                          boolean copyIfNull)
Description copied from interface: VesselFeaturesDao
Copies the fields of ClusterVesselFeatures to the specified entity.

Specified by:
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.
See Also:
fr.ifremer.allegro.referential.vessel.VesselFeaturesDao#clusterVesselFeaturesToEntity(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterVesselFeatures, fr.ifremer.allegro.referential.vessel.VesselFeatures)

getPrincipal

protected java.security.Principal getPrincipal()
Gets the current principal if one has been set, otherwise returns null.

Returns:
the current principal

search

public PaginationResult search(int transform,
                               int pageNumber,
                               int pageSize,
                               Search search)
Description copied from interface: VesselFeaturesDao
Does the same thing as {@link #search(int, fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize. These flags allow you to limit your data to a specified page number and size.

Specified by:
search in interface VesselFeaturesDao
Parameters:
transform - the transformation flag.
pageNumber - the page number in the data to retrieve
pageSize - the size of the page to retrieve.
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search wrapped in a PaginationResult instance.
See Also:
VesselFeaturesDao.search(int, int, int, fr.ifremer.allegro.Search)

search

public PaginationResult search(int pageNumber,
                               int pageSize,
                               Search search)
Description copied from interface: VesselFeaturesDao
Does the same thing as {@link #search(fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize. These flags allow you to limit your data to a specified page number and size.

Specified by:
search in interface VesselFeaturesDao
Parameters:
pageNumber - the page number in the data to retrieve
pageSize - the size of the page to retrieve.
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search wrapped in a PaginationResult instance.
See Also:
VesselFeaturesDao.search(int, int, fr.ifremer.allegro.Search)

search

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

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

search

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

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


Copyright © 2008-2010 IFREMER. All Rights Reserved.