fr.ifremer.allegro.referential.vessel
Class VesselMasterPeriodDaoBase

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

public abstract class VesselMasterPeriodDaoBase
extends org.springframework.orm.hibernate3.support.HibernateDaoSupport
implements VesselMasterPeriodDao

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

See Also:
VesselMasterPeriod

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.vessel.VesselMasterPeriodDao
TRANSFORM_CLUSTERVESSELMASTERPERIOD, TRANSFORM_NONE, TRANSFORM_REMOTEVESSELMASTERPERIODFULLVO, TRANSFORM_REMOTEVESSELMASTERPERIODNATURALID
 
Constructor Summary
VesselMasterPeriodDaoBase()
           
 
Method Summary
 void clusterVesselMasterPeriodToEntity(ClusterVesselMasterPeriod source, VesselMasterPeriod target, boolean copyIfNull)
          Copies the fields of ClusterVesselMasterPeriod to the specified entity.
 void clusterVesselMasterPeriodToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type ClusterVesselMasterPeriod to this DAO's entity.
 java.util.Collection create(java.util.Collection entities)
          Creates a new instance of fr.ifremer.allegro.referential.vessel.VesselMasterPeriod and adds from the passed in entities collection
 VesselMasterPeriod create(java.util.Date startDateTime, java.util.Date endDateTime, FishingVessel fishingVessel, VesselMaster vesselMaster)
           Creates a new fr.ifremer.allegro.referential.vessel.VesselMasterPeriod instance from all attributes and properties and adds it to the persistent store.
 VesselMasterPeriod create(FishingVessel fishingVessel, java.util.Date startDateTime, VesselMaster vesselMaster)
           Creates a new fr.ifremer.allegro.referential.vessel.VesselMasterPeriod 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 VesselMasterPeriodDao.create(fr.ifremer.allegro.referential.vessel.VesselMasterPeriod) with an additional flag called transform.
 java.lang.Object create(int transform, java.util.Date startDateTime, java.util.Date endDateTime, FishingVessel fishingVessel, VesselMaster vesselMaster)
           Does the same thing as VesselMasterPeriodDao.create(java.util.Date,java.util.Date,fr.ifremer.allegro.referential.vessel.FishingVessel,fr.ifremer.allegro.referential.vessel.VesselMaster) with an additional flag called transform.
 java.lang.Object create(int transform, FishingVessel fishingVessel, java.util.Date startDateTime, VesselMaster vesselMaster)
           Does the same thing as VesselMasterPeriodDao.create(fr.ifremer.allegro.referential.vessel.FishingVessel,java.util.Date,fr.ifremer.allegro.referential.vessel.VesselMaster) with an additional flag called transform.
 java.lang.Object create(int transform, VesselMasterPeriod vesselMasterPeriod)
           Does the same thing as VesselMasterPeriodDao.create(fr.ifremer.allegro.referential.vessel.VesselMasterPeriod) with an additional flag called transform.
 VesselMasterPeriod create(VesselMasterPeriod vesselMasterPeriod)
          Creates an instance of fr.ifremer.allegro.referential.vessel.VesselMasterPeriod and adds it to the persistent store.
 VesselMasterPeriod createFromClusterVesselMasterPeriod(ClusterVesselMasterPeriod clusterVesselMasterPeriod)
           
 java.util.Collection findVesselMasterPeriodByFishingVessel(FishingVessel fishingVessel)
           
 java.util.Collection findVesselMasterPeriodByFishingVessel(int transform, FishingVessel fishingVessel)
           Does the same thing as VesselMasterPeriodDao.findVesselMasterPeriodByFishingVessel(fr.ifremer.allegro.referential.vessel.FishingVessel) with an additional flag called transform.
 java.util.Collection findVesselMasterPeriodByFishingVessel(int pageNumber, int pageSize, FishingVessel fishingVessel)
           Does the same thing as VesselMasterPeriodDao.findVesselMasterPeriodByFishingVessel(fr.ifremer.allegro.referential.vessel.FishingVessel) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findVesselMasterPeriodByFishingVessel(int transform, int pageNumber, int pageSize, FishingVessel fishingVessel)
           Does the same thing as VesselMasterPeriodDao.findVesselMasterPeriodByFishingVessel(int, fr.ifremer.allegro.referential.vessel.FishingVessel) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findVesselMasterPeriodByFishingVessel(int transform, java.lang.String queryString, FishingVessel fishingVessel)
           Does the same thing as VesselMasterPeriodDao.findVesselMasterPeriodByFishingVessel(int, fr.ifremer.allegro.referential.vessel.FishingVessel) with an additional argument called queryString.
 java.util.Collection findVesselMasterPeriodByFishingVessel(int transform, java.lang.String queryString, int pageNumber, int pageSize, FishingVessel fishingVessel)
           Does the same thing as VesselMasterPeriodDao.findVesselMasterPeriodByFishingVessel(int, String, fr.ifremer.allegro.referential.vessel.FishingVessel) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findVesselMasterPeriodByFishingVessel(java.lang.String queryString, FishingVessel fishingVessel)
           Does the same thing as VesselMasterPeriodDao.findVesselMasterPeriodByFishingVessel(fr.ifremer.allegro.referential.vessel.FishingVessel) with an additional argument called queryString.
 java.util.Collection findVesselMasterPeriodByFishingVessel(java.lang.String queryString, int pageNumber, int pageSize, FishingVessel fishingVessel)
           Does the same thing as VesselMasterPeriodDao.findVesselMasterPeriodByFishingVessel(String, fr.ifremer.allegro.referential.vessel.FishingVessel) with an additional two arguments called pageNumber and pageSize.
 VesselMasterPeriod findVesselMasterPeriodByIdentifiers(java.util.Date startDateTime, VesselMaster vesselMaster, FishingVessel fishingVessel)
           
 java.lang.Object findVesselMasterPeriodByIdentifiers(int transform, java.util.Date startDateTime, VesselMaster vesselMaster, FishingVessel fishingVessel)
           Does the same thing as VesselMasterPeriodDao.findVesselMasterPeriodByIdentifiers(java.util.Date, fr.ifremer.allegro.referential.vessel.VesselMaster, fr.ifremer.allegro.referential.vessel.FishingVessel) with an additional flag called transform.
 java.lang.Object findVesselMasterPeriodByIdentifiers(int transform, java.lang.String queryString, java.util.Date startDateTime, VesselMaster vesselMaster, FishingVessel fishingVessel)
           Does the same thing as VesselMasterPeriodDao.findVesselMasterPeriodByIdentifiers(int, java.util.Date, fr.ifremer.allegro.referential.vessel.VesselMaster, fr.ifremer.allegro.referential.vessel.FishingVessel) with an additional argument called queryString.
 VesselMasterPeriod findVesselMasterPeriodByIdentifiers(java.lang.String queryString, java.util.Date startDateTime, VesselMaster vesselMaster, FishingVessel fishingVessel)
           Does the same thing as VesselMasterPeriodDao.findVesselMasterPeriodByIdentifiers(java.util.Date, fr.ifremer.allegro.referential.vessel.VesselMaster, fr.ifremer.allegro.referential.vessel.FishingVessel) with an additional argument called queryString.
 VesselMasterPeriod findVesselMasterPeriodByNaturalId(java.util.Date startDateTime, VesselMaster vesselMaster, FishingVessel fishingVessel)
           
 java.lang.Object findVesselMasterPeriodByNaturalId(int transform, java.util.Date startDateTime, VesselMaster vesselMaster, FishingVessel fishingVessel)
           Does the same thing as VesselMasterPeriodDao.findVesselMasterPeriodByNaturalId(java.util.Date, fr.ifremer.allegro.referential.vessel.VesselMaster, fr.ifremer.allegro.referential.vessel.FishingVessel) with an additional flag called transform.
 java.lang.Object findVesselMasterPeriodByNaturalId(int transform, java.lang.String queryString, java.util.Date startDateTime, VesselMaster vesselMaster, FishingVessel fishingVessel)
           Does the same thing as VesselMasterPeriodDao.findVesselMasterPeriodByNaturalId(int, java.util.Date, fr.ifremer.allegro.referential.vessel.VesselMaster, fr.ifremer.allegro.referential.vessel.FishingVessel) with an additional argument called queryString.
 VesselMasterPeriod findVesselMasterPeriodByNaturalId(java.lang.String queryString, java.util.Date startDateTime, VesselMaster vesselMaster, FishingVessel fishingVessel)
           Does the same thing as VesselMasterPeriodDao.findVesselMasterPeriodByNaturalId(java.util.Date, fr.ifremer.allegro.referential.vessel.VesselMaster, fr.ifremer.allegro.referential.vessel.FishingVessel) with an additional argument called queryString.
 java.util.Collection findVesselMasterPeriodByStartDateTime(java.util.Date startDateTime)
           
 java.util.Collection findVesselMasterPeriodByStartDateTime(int transform, java.util.Date startDateTime)
           Does the same thing as VesselMasterPeriodDao.findVesselMasterPeriodByStartDateTime(java.util.Date) with an additional flag called transform.
 java.util.Collection findVesselMasterPeriodByStartDateTime(int pageNumber, int pageSize, java.util.Date startDateTime)
           Does the same thing as VesselMasterPeriodDao.findVesselMasterPeriodByStartDateTime(java.util.Date) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findVesselMasterPeriodByStartDateTime(int transform, int pageNumber, int pageSize, java.util.Date startDateTime)
           Does the same thing as VesselMasterPeriodDao.findVesselMasterPeriodByStartDateTime(int, java.util.Date) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findVesselMasterPeriodByStartDateTime(int transform, java.lang.String queryString, java.util.Date startDateTime)
           Does the same thing as VesselMasterPeriodDao.findVesselMasterPeriodByStartDateTime(int, java.util.Date) with an additional argument called queryString.
 java.util.Collection findVesselMasterPeriodByStartDateTime(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.util.Date startDateTime)
           Does the same thing as VesselMasterPeriodDao.findVesselMasterPeriodByStartDateTime(int, String, java.util.Date) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findVesselMasterPeriodByStartDateTime(java.lang.String queryString, java.util.Date startDateTime)
           Does the same thing as VesselMasterPeriodDao.findVesselMasterPeriodByStartDateTime(java.util.Date) with an additional argument called queryString.
 java.util.Collection findVesselMasterPeriodByStartDateTime(java.lang.String queryString, int pageNumber, int pageSize, java.util.Date startDateTime)
           Does the same thing as VesselMasterPeriodDao.findVesselMasterPeriodByStartDateTime(String, java.util.Date) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findVesselMasterPeriodByVesselMaster(int transform, int pageNumber, int pageSize, VesselMaster vesselMaster)
           Does the same thing as VesselMasterPeriodDao.findVesselMasterPeriodByVesselMaster(int, fr.ifremer.allegro.referential.vessel.VesselMaster) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findVesselMasterPeriodByVesselMaster(int pageNumber, int pageSize, VesselMaster vesselMaster)
           Does the same thing as VesselMasterPeriodDao.findVesselMasterPeriodByVesselMaster(fr.ifremer.allegro.referential.vessel.VesselMaster) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findVesselMasterPeriodByVesselMaster(int transform, java.lang.String queryString, int pageNumber, int pageSize, VesselMaster vesselMaster)
           Does the same thing as VesselMasterPeriodDao.findVesselMasterPeriodByVesselMaster(int, String, fr.ifremer.allegro.referential.vessel.VesselMaster) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findVesselMasterPeriodByVesselMaster(int transform, java.lang.String queryString, VesselMaster vesselMaster)
           Does the same thing as VesselMasterPeriodDao.findVesselMasterPeriodByVesselMaster(int, fr.ifremer.allegro.referential.vessel.VesselMaster) with an additional argument called queryString.
 java.util.Collection findVesselMasterPeriodByVesselMaster(int transform, VesselMaster vesselMaster)
           Does the same thing as VesselMasterPeriodDao.findVesselMasterPeriodByVesselMaster(fr.ifremer.allegro.referential.vessel.VesselMaster) with an additional flag called transform.
 java.util.Collection findVesselMasterPeriodByVesselMaster(java.lang.String queryString, int pageNumber, int pageSize, VesselMaster vesselMaster)
           Does the same thing as VesselMasterPeriodDao.findVesselMasterPeriodByVesselMaster(String, fr.ifremer.allegro.referential.vessel.VesselMaster) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findVesselMasterPeriodByVesselMaster(java.lang.String queryString, VesselMaster vesselMaster)
           Does the same thing as VesselMasterPeriodDao.findVesselMasterPeriodByVesselMaster(fr.ifremer.allegro.referential.vessel.VesselMaster) with an additional argument called queryString.
 java.util.Collection findVesselMasterPeriodByVesselMaster(VesselMaster vesselMaster)
           
 java.util.Collection getAllVesselMasterPeriod()
           
 java.util.Collection getAllVesselMasterPeriod(int transform)
           Does the same thing as VesselMasterPeriodDao.getAllVesselMasterPeriod() with an additional flag called transform.
 java.util.Collection getAllVesselMasterPeriod(int pageNumber, int pageSize)
           Does the same thing as VesselMasterPeriodDao.getAllVesselMasterPeriod() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllVesselMasterPeriod(int transform, int pageNumber, int pageSize)
           Does the same thing as VesselMasterPeriodDao.getAllVesselMasterPeriod(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllVesselMasterPeriod(int transform, java.lang.String queryString)
           Does the same thing as VesselMasterPeriodDao.getAllVesselMasterPeriod(int) with an additional argument called queryString.
 java.util.Collection getAllVesselMasterPeriod(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as VesselMasterPeriodDao.getAllVesselMasterPeriod(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllVesselMasterPeriod(java.lang.String queryString)
           Does the same thing as VesselMasterPeriodDao.getAllVesselMasterPeriod() with an additional argument called queryString.
 java.util.Collection getAllVesselMasterPeriod(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as VesselMasterPeriodDao.getAllVesselMasterPeriod(String) with an additional two arguments called pageNumber and pageSize.
protected  FishingVesselDao getFishingVesselDao()
          Gets the reference to fishingVesselDao.
protected  java.security.Principal getPrincipal()
          Gets the current principal if one has been set, otherwise returns null.
protected  VesselMasterDao getVesselMasterDao()
          Gets the reference to vesselMasterDao.
protected abstract  VesselMasterPeriod handleCreateFromClusterVesselMasterPeriod(ClusterVesselMasterPeriod clusterVesselMasterPeriod)
          Performs the core logic for createFromClusterVesselMasterPeriod(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterVesselMasterPeriod)
 VesselMasterPeriod load(java.util.Date startDateTime, FishingVessel fishingVessel, VesselMaster vesselMaster)
          Loads an instance of fr.ifremer.allegro.referential.vessel.VesselMasterPeriod from the persistent store.
 java.lang.Object load(int transform, java.util.Date startDateTime, FishingVessel fishingVessel, VesselMaster vesselMaster)
           Does the same thing as VesselMasterPeriodDao.load(java.util.Date,fr.ifremer.allegro.referential.vessel.FishingVessel,fr.ifremer.allegro.referential.vessel.VesselMaster) with an additional flag called transform.
 java.util.Collection loadAll()
          Loads all entities of type VesselMasterPeriod.
 java.util.Collection loadAll(int transform)
           Does the same thing as VesselMasterPeriodDao.loadAll() with an additional flag called transform.
 java.util.Collection loadAll(int pageNumber, int pageSize)
           Does the same thing as VesselMasterPeriodDao.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 VesselMasterPeriodDao.loadAll(int) with an additional two arguments called pageNumber and pageSize.
 void remoteVesselMasterPeriodFullVOToEntity(RemoteVesselMasterPeriodFullVO source, VesselMasterPeriod target, boolean copyIfNull)
          Copies the fields of RemoteVesselMasterPeriodFullVO to the specified entity.
 void remoteVesselMasterPeriodFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteVesselMasterPeriodFullVO to this DAO's entity.
 void remoteVesselMasterPeriodNaturalIdToEntity(RemoteVesselMasterPeriodNaturalId source, VesselMasterPeriod target, boolean copyIfNull)
          Copies the fields of RemoteVesselMasterPeriodNaturalId to the specified entity.
 void remoteVesselMasterPeriodNaturalIdToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteVesselMasterPeriodNaturalId to this DAO's entity.
 void remove(java.util.Collection entities)
          Removes all entities in the given entities collection.
 void remove(java.util.Date startDateTime, FishingVessel fishingVessel, VesselMaster vesselMaster)
          Removes the instance of fr.ifremer.allegro.referential.vessel.VesselMasterPeriod having the given identifiers from the persistent store.
 void remove(VesselMasterPeriod vesselMasterPeriod)
          Removes the instance of fr.ifremer.allegro.referential.vessel.VesselMasterPeriod 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 VesselMasterPeriodDao.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 setVesselMasterDao(VesselMasterDao vesselMasterDao)
          Sets the reference to vesselMasterDao.
protected  ClusterVesselMasterPeriod toClusterVesselMasterPeriod(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 ClusterVesselMasterPeriod toClusterVesselMasterPeriod(VesselMasterPeriod entity)
          Converts this DAO's entity to an object of type ClusterVesselMasterPeriod.
 void toClusterVesselMasterPeriod(VesselMasterPeriod source, ClusterVesselMasterPeriod target)
          Copies the fields of the specified entity to the target value object.
 ClusterVesselMasterPeriod[] toClusterVesselMasterPeriodArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type ClusterVesselMasterPeriod.
 void toClusterVesselMasterPeriodCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type ClusterVesselMasterPeriod.
protected  VesselMasterPeriod toEntity(java.lang.Object[] row)
           
protected  RemoteVesselMasterPeriodFullVO toRemoteVesselMasterPeriodFullVO(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteVesselMasterPeriodFullVO toRemoteVesselMasterPeriodFullVO(VesselMasterPeriod entity)
          Converts this DAO's entity to an object of type RemoteVesselMasterPeriodFullVO.
 void toRemoteVesselMasterPeriodFullVO(VesselMasterPeriod source, RemoteVesselMasterPeriodFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteVesselMasterPeriodFullVO[] toRemoteVesselMasterPeriodFullVOArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteVesselMasterPeriodFullVO.
 void toRemoteVesselMasterPeriodFullVOCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteVesselMasterPeriodFullVO.
protected  RemoteVesselMasterPeriodNaturalId toRemoteVesselMasterPeriodNaturalId(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteVesselMasterPeriodNaturalId toRemoteVesselMasterPeriodNaturalId(VesselMasterPeriod entity)
          Converts this DAO's entity to an object of type RemoteVesselMasterPeriodNaturalId.
 void toRemoteVesselMasterPeriodNaturalId(VesselMasterPeriod source, RemoteVesselMasterPeriodNaturalId target)
          Copies the fields of the specified entity to the target value object.
 RemoteVesselMasterPeriodNaturalId[] toRemoteVesselMasterPeriodNaturalIdArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteVesselMasterPeriodNaturalId.
 void toRemoteVesselMasterPeriodNaturalIdCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteVesselMasterPeriodNaturalId.
protected  void transformEntities(int transform, java.util.Collection entities)
          Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.vessel.VesselMasterPeriod) method.
protected  java.lang.Object transformEntity(int transform, VesselMasterPeriod 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.VesselMasterPeriodDao, please note that the VesselMasterPeriodDao.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(VesselMasterPeriod vesselMasterPeriod)
          Updates the vesselMasterPeriod 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.VesselMasterPeriodDao
clusterVesselMasterPeriodToEntity, remoteVesselMasterPeriodFullVOToEntity, remoteVesselMasterPeriodNaturalIdToEntity
 

Constructor Detail

VesselMasterPeriodDaoBase

public VesselMasterPeriodDaoBase()
Method Detail

setVesselMasterDao

public void setVesselMasterDao(VesselMasterDao vesselMasterDao)
Sets the reference to vesselMasterDao.


getVesselMasterDao

protected VesselMasterDao getVesselMasterDao()
Gets the reference to vesselMasterDao.


setFishingVesselDao

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


getFishingVesselDao

protected FishingVesselDao getFishingVesselDao()
Gets the reference to fishingVesselDao.


load

public java.lang.Object load(int transform,
                             java.util.Date startDateTime,
                             FishingVessel fishingVessel,
                             VesselMaster vesselMaster)
Description copied from interface: VesselMasterPeriodDao

Does the same thing as VesselMasterPeriodDao.load(java.util.Date,fr.ifremer.allegro.referential.vessel.FishingVessel,fr.ifremer.allegro.referential.vessel.VesselMaster) 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 VesselMasterPeriodDao
startDateTime - identifier of the entity to load
fishingVessel - identifier of the entity to load
vesselMaster - identifier of the entity to load
Returns:
either the entity or the object transformed from the entity.
See Also:
VesselMasterPeriodDao.load(int, java.util.Date,fr.ifremer.allegro.referential.vessel.FishingVessel,fr.ifremer.allegro.referential.vessel.VesselMaster)

load

public VesselMasterPeriod load(java.util.Date startDateTime,
                               FishingVessel fishingVessel,
                               VesselMaster vesselMaster)
Description copied from interface: VesselMasterPeriodDao
Loads an instance of fr.ifremer.allegro.referential.vessel.VesselMasterPeriod from the persistent store.

Specified by:
load in interface VesselMasterPeriodDao
See Also:
VesselMasterPeriodDao.load(java.util.Date,fr.ifremer.allegro.referential.vessel.FishingVessel,fr.ifremer.allegro.referential.vessel.VesselMaster)

loadAll

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

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

loadAll

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

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

loadAll

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

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

loadAll

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

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

create

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

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

create

public java.lang.Object create(int transform,
                               VesselMasterPeriod vesselMasterPeriod)
Description copied from interface: VesselMasterPeriodDao

Does the same thing as VesselMasterPeriodDao.create(fr.ifremer.allegro.referential.vessel.VesselMasterPeriod) 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 VesselMasterPeriodDao
See Also:
VesselMasterPeriodDao.create(int transform, fr.ifremer.allegro.referential.vessel.VesselMasterPeriod)

create

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

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

create

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

Does the same thing as VesselMasterPeriodDao.create(fr.ifremer.allegro.referential.vessel.VesselMasterPeriod) 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 VesselMasterPeriodDao
See Also:
VesselMasterPeriodDao.create(int, java.util.Collection)

create

public VesselMasterPeriod create(java.util.Date startDateTime,
                                 java.util.Date endDateTime,
                                 FishingVessel fishingVessel,
                                 VesselMaster vesselMaster)
Description copied from interface: VesselMasterPeriodDao

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

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

create

public java.lang.Object create(int transform,
                               java.util.Date startDateTime,
                               java.util.Date endDateTime,
                               FishingVessel fishingVessel,
                               VesselMaster vesselMaster)
Description copied from interface: VesselMasterPeriodDao

Does the same thing as VesselMasterPeriodDao.create(java.util.Date,java.util.Date,fr.ifremer.allegro.referential.vessel.FishingVessel,fr.ifremer.allegro.referential.vessel.VesselMaster) 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 VesselMasterPeriodDao
See Also:
VesselMasterPeriodDao.create(int, java.util.Date,java.util.Date,fr.ifremer.allegro.referential.vessel.FishingVessel,fr.ifremer.allegro.referential.vessel.VesselMaster)

create

public VesselMasterPeriod create(FishingVessel fishingVessel,
                                 java.util.Date startDateTime,
                                 VesselMaster vesselMaster)
Description copied from interface: VesselMasterPeriodDao

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

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

create

public java.lang.Object create(int transform,
                               FishingVessel fishingVessel,
                               java.util.Date startDateTime,
                               VesselMaster vesselMaster)
Description copied from interface: VesselMasterPeriodDao

Does the same thing as VesselMasterPeriodDao.create(fr.ifremer.allegro.referential.vessel.FishingVessel,java.util.Date,fr.ifremer.allegro.referential.vessel.VesselMaster) 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 VesselMasterPeriodDao
See Also:
VesselMasterPeriodDao.create(int, fr.ifremer.allegro.referential.vessel.FishingVessel,java.util.Date,fr.ifremer.allegro.referential.vessel.VesselMaster)

update

public void update(VesselMasterPeriod vesselMasterPeriod)
Description copied from interface: VesselMasterPeriodDao
Updates the vesselMasterPeriod instance in the persistent store.

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

update

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

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

remove

public void remove(VesselMasterPeriod vesselMasterPeriod)
Description copied from interface: VesselMasterPeriodDao
Removes the instance of fr.ifremer.allegro.referential.vessel.VesselMasterPeriod from the persistent store.

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

remove

public void remove(java.util.Date startDateTime,
                   FishingVessel fishingVessel,
                   VesselMaster vesselMaster)
Description copied from interface: VesselMasterPeriodDao
Removes the instance of fr.ifremer.allegro.referential.vessel.VesselMasterPeriod having the given identifiers from the persistent store.

Specified by:
remove in interface VesselMasterPeriodDao
See Also:
VesselMasterPeriodDao.remove(java.util.Date,fr.ifremer.allegro.referential.vessel.FishingVessel,fr.ifremer.allegro.referential.vessel.VesselMaster)

remove

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

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

getAllVesselMasterPeriod

public java.util.Collection getAllVesselMasterPeriod()
Specified by:
getAllVesselMasterPeriod in interface VesselMasterPeriodDao
See Also:
VesselMasterPeriodDao.getAllVesselMasterPeriod()

getAllVesselMasterPeriod

public java.util.Collection getAllVesselMasterPeriod(int transform)
Description copied from interface: VesselMasterPeriodDao

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

getAllVesselMasterPeriod

public java.util.Collection getAllVesselMasterPeriod(java.lang.String queryString)
Description copied from interface: VesselMasterPeriodDao

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

Specified by:
getAllVesselMasterPeriod in interface VesselMasterPeriodDao
See Also:
VesselMasterPeriodDao.getAllVesselMasterPeriod(java.lang.String)

getAllVesselMasterPeriod

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

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

getAllVesselMasterPeriod

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

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

getAllVesselMasterPeriod

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

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

Specified by:
getAllVesselMasterPeriod in interface VesselMasterPeriodDao
See Also:
VesselMasterPeriodDao.getAllVesselMasterPeriod(int, String)

getAllVesselMasterPeriod

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

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

getAllVesselMasterPeriod

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

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

findVesselMasterPeriodByStartDateTime

public java.util.Collection findVesselMasterPeriodByStartDateTime(java.util.Date startDateTime)
Specified by:
findVesselMasterPeriodByStartDateTime in interface VesselMasterPeriodDao
See Also:
VesselMasterPeriodDao.findVesselMasterPeriodByStartDateTime(java.util.Date)

findVesselMasterPeriodByStartDateTime

public java.util.Collection findVesselMasterPeriodByStartDateTime(int transform,
                                                                  java.util.Date startDateTime)
Description copied from interface: VesselMasterPeriodDao

Does the same thing as VesselMasterPeriodDao.findVesselMasterPeriodByStartDateTime(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:
findVesselMasterPeriodByStartDateTime in interface VesselMasterPeriodDao
See Also:
VesselMasterPeriodDao.findVesselMasterPeriodByStartDateTime(int, java.util.Date)

findVesselMasterPeriodByStartDateTime

public java.util.Collection findVesselMasterPeriodByStartDateTime(java.lang.String queryString,
                                                                  java.util.Date startDateTime)
Description copied from interface: VesselMasterPeriodDao

Does the same thing as VesselMasterPeriodDao.findVesselMasterPeriodByStartDateTime(java.util.Date) with an additional argument called queryString. This queryString argument allows you to override the query string defined in VesselMasterPeriodDao.findVesselMasterPeriodByStartDateTime(java.util.Date).

Specified by:
findVesselMasterPeriodByStartDateTime in interface VesselMasterPeriodDao
See Also:
VesselMasterPeriodDao.findVesselMasterPeriodByStartDateTime(java.lang.String, java.util.Date)

findVesselMasterPeriodByStartDateTime

public java.util.Collection findVesselMasterPeriodByStartDateTime(int pageNumber,
                                                                  int pageSize,
                                                                  java.util.Date startDateTime)
Description copied from interface: VesselMasterPeriodDao

Does the same thing as VesselMasterPeriodDao.findVesselMasterPeriodByStartDateTime(java.util.Date) 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:
findVesselMasterPeriodByStartDateTime in interface VesselMasterPeriodDao
See Also:
VesselMasterPeriodDao.findVesselMasterPeriodByStartDateTime(int, int, java.util.Date)

findVesselMasterPeriodByStartDateTime

public java.util.Collection findVesselMasterPeriodByStartDateTime(java.lang.String queryString,
                                                                  int pageNumber,
                                                                  int pageSize,
                                                                  java.util.Date startDateTime)
Description copied from interface: VesselMasterPeriodDao

Does the same thing as VesselMasterPeriodDao.findVesselMasterPeriodByStartDateTime(String, java.util.Date) 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:
findVesselMasterPeriodByStartDateTime in interface VesselMasterPeriodDao
See Also:
VesselMasterPeriodDao.findVesselMasterPeriodByStartDateTime(String, int, int, java.util.Date)

findVesselMasterPeriodByStartDateTime

public java.util.Collection findVesselMasterPeriodByStartDateTime(int transform,
                                                                  java.lang.String queryString,
                                                                  java.util.Date startDateTime)
Description copied from interface: VesselMasterPeriodDao

Does the same thing as VesselMasterPeriodDao.findVesselMasterPeriodByStartDateTime(int, java.util.Date) with an additional argument called queryString. This queryString argument allows you to override the query string defined in VesselMasterPeriodDao.findVesselMasterPeriodByStartDateTime(int, java.util.Date startDateTime).

Specified by:
findVesselMasterPeriodByStartDateTime in interface VesselMasterPeriodDao
See Also:
VesselMasterPeriodDao.findVesselMasterPeriodByStartDateTime(int, String, java.util.Date)

findVesselMasterPeriodByStartDateTime

public java.util.Collection findVesselMasterPeriodByStartDateTime(int transform,
                                                                  int pageNumber,
                                                                  int pageSize,
                                                                  java.util.Date startDateTime)
Description copied from interface: VesselMasterPeriodDao

Does the same thing as VesselMasterPeriodDao.findVesselMasterPeriodByStartDateTime(int, java.util.Date) 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:
findVesselMasterPeriodByStartDateTime in interface VesselMasterPeriodDao
See Also:
VesselMasterPeriodDao.findVesselMasterPeriodByStartDateTime(int, int, int, java.util.Date)

findVesselMasterPeriodByStartDateTime

public java.util.Collection findVesselMasterPeriodByStartDateTime(int transform,
                                                                  java.lang.String queryString,
                                                                  int pageNumber,
                                                                  int pageSize,
                                                                  java.util.Date startDateTime)
Description copied from interface: VesselMasterPeriodDao

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

findVesselMasterPeriodByVesselMaster

public java.util.Collection findVesselMasterPeriodByVesselMaster(VesselMaster vesselMaster)
Specified by:
findVesselMasterPeriodByVesselMaster in interface VesselMasterPeriodDao
See Also:
VesselMasterPeriodDao.findVesselMasterPeriodByVesselMaster(fr.ifremer.allegro.referential.vessel.VesselMaster)

findVesselMasterPeriodByVesselMaster

public java.util.Collection findVesselMasterPeriodByVesselMaster(int transform,
                                                                 VesselMaster vesselMaster)
Description copied from interface: VesselMasterPeriodDao

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

findVesselMasterPeriodByVesselMaster

public java.util.Collection findVesselMasterPeriodByVesselMaster(java.lang.String queryString,
                                                                 VesselMaster vesselMaster)
Description copied from interface: VesselMasterPeriodDao

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

Specified by:
findVesselMasterPeriodByVesselMaster in interface VesselMasterPeriodDao
See Also:
VesselMasterPeriodDao.findVesselMasterPeriodByVesselMaster(java.lang.String, fr.ifremer.allegro.referential.vessel.VesselMaster)

findVesselMasterPeriodByVesselMaster

public java.util.Collection findVesselMasterPeriodByVesselMaster(int pageNumber,
                                                                 int pageSize,
                                                                 VesselMaster vesselMaster)
Description copied from interface: VesselMasterPeriodDao

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

findVesselMasterPeriodByVesselMaster

public java.util.Collection findVesselMasterPeriodByVesselMaster(java.lang.String queryString,
                                                                 int pageNumber,
                                                                 int pageSize,
                                                                 VesselMaster vesselMaster)
Description copied from interface: VesselMasterPeriodDao

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

findVesselMasterPeriodByVesselMaster

public java.util.Collection findVesselMasterPeriodByVesselMaster(int transform,
                                                                 java.lang.String queryString,
                                                                 VesselMaster vesselMaster)
Description copied from interface: VesselMasterPeriodDao

Does the same thing as VesselMasterPeriodDao.findVesselMasterPeriodByVesselMaster(int, fr.ifremer.allegro.referential.vessel.VesselMaster) with an additional argument called queryString. This queryString argument allows you to override the query string defined in VesselMasterPeriodDao.findVesselMasterPeriodByVesselMaster(int, fr.ifremer.allegro.referential.vessel.VesselMaster vesselMaster).

Specified by:
findVesselMasterPeriodByVesselMaster in interface VesselMasterPeriodDao
See Also:
VesselMasterPeriodDao.findVesselMasterPeriodByVesselMaster(int, String, fr.ifremer.allegro.referential.vessel.VesselMaster)

findVesselMasterPeriodByVesselMaster

public java.util.Collection findVesselMasterPeriodByVesselMaster(int transform,
                                                                 int pageNumber,
                                                                 int pageSize,
                                                                 VesselMaster vesselMaster)
Description copied from interface: VesselMasterPeriodDao

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

findVesselMasterPeriodByVesselMaster

public java.util.Collection findVesselMasterPeriodByVesselMaster(int transform,
                                                                 java.lang.String queryString,
                                                                 int pageNumber,
                                                                 int pageSize,
                                                                 VesselMaster vesselMaster)
Description copied from interface: VesselMasterPeriodDao

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

findVesselMasterPeriodByFishingVessel

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

findVesselMasterPeriodByFishingVessel

public java.util.Collection findVesselMasterPeriodByFishingVessel(int transform,
                                                                  FishingVessel fishingVessel)
Description copied from interface: VesselMasterPeriodDao

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

findVesselMasterPeriodByFishingVessel

public java.util.Collection findVesselMasterPeriodByFishingVessel(java.lang.String queryString,
                                                                  FishingVessel fishingVessel)
Description copied from interface: VesselMasterPeriodDao

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

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

findVesselMasterPeriodByFishingVessel

public java.util.Collection findVesselMasterPeriodByFishingVessel(int pageNumber,
                                                                  int pageSize,
                                                                  FishingVessel fishingVessel)
Description copied from interface: VesselMasterPeriodDao

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

findVesselMasterPeriodByFishingVessel

public java.util.Collection findVesselMasterPeriodByFishingVessel(java.lang.String queryString,
                                                                  int pageNumber,
                                                                  int pageSize,
                                                                  FishingVessel fishingVessel)
Description copied from interface: VesselMasterPeriodDao

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

findVesselMasterPeriodByFishingVessel

public java.util.Collection findVesselMasterPeriodByFishingVessel(int transform,
                                                                  java.lang.String queryString,
                                                                  FishingVessel fishingVessel)
Description copied from interface: VesselMasterPeriodDao

Does the same thing as VesselMasterPeriodDao.findVesselMasterPeriodByFishingVessel(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 VesselMasterPeriodDao.findVesselMasterPeriodByFishingVessel(int, fr.ifremer.allegro.referential.vessel.FishingVessel fishingVessel).

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

findVesselMasterPeriodByFishingVessel

public java.util.Collection findVesselMasterPeriodByFishingVessel(int transform,
                                                                  int pageNumber,
                                                                  int pageSize,
                                                                  FishingVessel fishingVessel)
Description copied from interface: VesselMasterPeriodDao

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

findVesselMasterPeriodByFishingVessel

public java.util.Collection findVesselMasterPeriodByFishingVessel(int transform,
                                                                  java.lang.String queryString,
                                                                  int pageNumber,
                                                                  int pageSize,
                                                                  FishingVessel fishingVessel)
Description copied from interface: VesselMasterPeriodDao

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

findVesselMasterPeriodByIdentifiers

public VesselMasterPeriod findVesselMasterPeriodByIdentifiers(java.util.Date startDateTime,
                                                              VesselMaster vesselMaster,
                                                              FishingVessel fishingVessel)
Specified by:
findVesselMasterPeriodByIdentifiers in interface VesselMasterPeriodDao
See Also:
VesselMasterPeriodDao.findVesselMasterPeriodByIdentifiers(java.util.Date, fr.ifremer.allegro.referential.vessel.VesselMaster, fr.ifremer.allegro.referential.vessel.FishingVessel)

findVesselMasterPeriodByIdentifiers

public java.lang.Object findVesselMasterPeriodByIdentifiers(int transform,
                                                            java.util.Date startDateTime,
                                                            VesselMaster vesselMaster,
                                                            FishingVessel fishingVessel)
Description copied from interface: VesselMasterPeriodDao

Does the same thing as VesselMasterPeriodDao.findVesselMasterPeriodByIdentifiers(java.util.Date, fr.ifremer.allegro.referential.vessel.VesselMaster, 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:
findVesselMasterPeriodByIdentifiers in interface VesselMasterPeriodDao
See Also:
VesselMasterPeriodDao.findVesselMasterPeriodByIdentifiers(int, java.util.Date, fr.ifremer.allegro.referential.vessel.VesselMaster, fr.ifremer.allegro.referential.vessel.FishingVessel)

findVesselMasterPeriodByIdentifiers

public VesselMasterPeriod findVesselMasterPeriodByIdentifiers(java.lang.String queryString,
                                                              java.util.Date startDateTime,
                                                              VesselMaster vesselMaster,
                                                              FishingVessel fishingVessel)
Description copied from interface: VesselMasterPeriodDao

Does the same thing as VesselMasterPeriodDao.findVesselMasterPeriodByIdentifiers(java.util.Date, fr.ifremer.allegro.referential.vessel.VesselMaster, fr.ifremer.allegro.referential.vessel.FishingVessel) with an additional argument called queryString. This queryString argument allows you to override the query string defined in VesselMasterPeriodDao.findVesselMasterPeriodByIdentifiers(java.util.Date, fr.ifremer.allegro.referential.vessel.VesselMaster, fr.ifremer.allegro.referential.vessel.FishingVessel).

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

findVesselMasterPeriodByIdentifiers

public java.lang.Object findVesselMasterPeriodByIdentifiers(int transform,
                                                            java.lang.String queryString,
                                                            java.util.Date startDateTime,
                                                            VesselMaster vesselMaster,
                                                            FishingVessel fishingVessel)
Description copied from interface: VesselMasterPeriodDao

Does the same thing as VesselMasterPeriodDao.findVesselMasterPeriodByIdentifiers(int, java.util.Date, fr.ifremer.allegro.referential.vessel.VesselMaster, fr.ifremer.allegro.referential.vessel.FishingVessel) with an additional argument called queryString. This queryString argument allows you to override the query string defined in VesselMasterPeriodDao.findVesselMasterPeriodByIdentifiers(int, java.util.Date startDateTime, fr.ifremer.allegro.referential.vessel.VesselMaster vesselMaster, fr.ifremer.allegro.referential.vessel.FishingVessel fishingVessel).

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

findVesselMasterPeriodByNaturalId

public VesselMasterPeriod findVesselMasterPeriodByNaturalId(java.util.Date startDateTime,
                                                            VesselMaster vesselMaster,
                                                            FishingVessel fishingVessel)
Specified by:
findVesselMasterPeriodByNaturalId in interface VesselMasterPeriodDao
See Also:
VesselMasterPeriodDao.findVesselMasterPeriodByNaturalId(java.util.Date, fr.ifremer.allegro.referential.vessel.VesselMaster, fr.ifremer.allegro.referential.vessel.FishingVessel)

findVesselMasterPeriodByNaturalId

public java.lang.Object findVesselMasterPeriodByNaturalId(int transform,
                                                          java.util.Date startDateTime,
                                                          VesselMaster vesselMaster,
                                                          FishingVessel fishingVessel)
Description copied from interface: VesselMasterPeriodDao

Does the same thing as VesselMasterPeriodDao.findVesselMasterPeriodByNaturalId(java.util.Date, fr.ifremer.allegro.referential.vessel.VesselMaster, 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:
findVesselMasterPeriodByNaturalId in interface VesselMasterPeriodDao
See Also:
VesselMasterPeriodDao.findVesselMasterPeriodByNaturalId(int, java.util.Date, fr.ifremer.allegro.referential.vessel.VesselMaster, fr.ifremer.allegro.referential.vessel.FishingVessel)

findVesselMasterPeriodByNaturalId

public VesselMasterPeriod findVesselMasterPeriodByNaturalId(java.lang.String queryString,
                                                            java.util.Date startDateTime,
                                                            VesselMaster vesselMaster,
                                                            FishingVessel fishingVessel)
Description copied from interface: VesselMasterPeriodDao

Does the same thing as VesselMasterPeriodDao.findVesselMasterPeriodByNaturalId(java.util.Date, fr.ifremer.allegro.referential.vessel.VesselMaster, fr.ifremer.allegro.referential.vessel.FishingVessel) with an additional argument called queryString. This queryString argument allows you to override the query string defined in VesselMasterPeriodDao.findVesselMasterPeriodByNaturalId(java.util.Date, fr.ifremer.allegro.referential.vessel.VesselMaster, fr.ifremer.allegro.referential.vessel.FishingVessel).

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

findVesselMasterPeriodByNaturalId

public java.lang.Object findVesselMasterPeriodByNaturalId(int transform,
                                                          java.lang.String queryString,
                                                          java.util.Date startDateTime,
                                                          VesselMaster vesselMaster,
                                                          FishingVessel fishingVessel)
Description copied from interface: VesselMasterPeriodDao

Does the same thing as VesselMasterPeriodDao.findVesselMasterPeriodByNaturalId(int, java.util.Date, fr.ifremer.allegro.referential.vessel.VesselMaster, fr.ifremer.allegro.referential.vessel.FishingVessel) with an additional argument called queryString. This queryString argument allows you to override the query string defined in VesselMasterPeriodDao.findVesselMasterPeriodByNaturalId(int, java.util.Date startDateTime, fr.ifremer.allegro.referential.vessel.VesselMaster vesselMaster, fr.ifremer.allegro.referential.vessel.FishingVessel fishingVessel).

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

createFromClusterVesselMasterPeriod

public VesselMasterPeriod createFromClusterVesselMasterPeriod(ClusterVesselMasterPeriod clusterVesselMasterPeriod)
Specified by:
createFromClusterVesselMasterPeriod in interface VesselMasterPeriodDao
See Also:
VesselMasterPeriodDao.createFromClusterVesselMasterPeriod(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterVesselMasterPeriod)

handleCreateFromClusterVesselMasterPeriod

protected abstract VesselMasterPeriod handleCreateFromClusterVesselMasterPeriod(ClusterVesselMasterPeriod clusterVesselMasterPeriod)
                                                                         throws java.lang.Exception
Performs the core logic for createFromClusterVesselMasterPeriod(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterVesselMasterPeriod)

Throws:
java.lang.Exception

transformEntity

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

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

toEntity

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

toRemoteVesselMasterPeriodFullVOCollection

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

Specified by:
toRemoteVesselMasterPeriodFullVOCollection in interface VesselMasterPeriodDao
See Also:
VesselMasterPeriodDao.toRemoteVesselMasterPeriodFullVOCollection(java.util.Collection)

toRemoteVesselMasterPeriodFullVOArray

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

Specified by:
toRemoteVesselMasterPeriodFullVOArray in interface VesselMasterPeriodDao
See Also:
VesselMasterPeriodDao.toRemoteVesselMasterPeriodFullVOArray(java.util.Collection)

toRemoteVesselMasterPeriodFullVO

protected RemoteVesselMasterPeriodFullVO toRemoteVesselMasterPeriodFullVO(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 VesselMasterPeriodDaoImpl class if you intend to use reporting queries.

See Also:
VesselMasterPeriodDao.toRemoteVesselMasterPeriodFullVO(fr.ifremer.allegro.referential.vessel.VesselMasterPeriod)

remoteVesselMasterPeriodFullVOToEntityCollection

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

Specified by:
remoteVesselMasterPeriodFullVOToEntityCollection in interface VesselMasterPeriodDao
See Also:
VesselMasterPeriodDao.remoteVesselMasterPeriodFullVOToEntityCollection(java.util.Collection)

toRemoteVesselMasterPeriodFullVO

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

toRemoteVesselMasterPeriodFullVO

public RemoteVesselMasterPeriodFullVO toRemoteVesselMasterPeriodFullVO(VesselMasterPeriod entity)
Description copied from interface: VesselMasterPeriodDao
Converts this DAO's entity to an object of type RemoteVesselMasterPeriodFullVO.

Specified by:
toRemoteVesselMasterPeriodFullVO in interface VesselMasterPeriodDao
See Also:
VesselMasterPeriodDao.toRemoteVesselMasterPeriodFullVO(fr.ifremer.allegro.referential.vessel.VesselMasterPeriod)

remoteVesselMasterPeriodFullVOToEntity

public void remoteVesselMasterPeriodFullVOToEntity(RemoteVesselMasterPeriodFullVO source,
                                                   VesselMasterPeriod target,
                                                   boolean copyIfNull)
Description copied from interface: VesselMasterPeriodDao
Copies the fields of RemoteVesselMasterPeriodFullVO to the specified entity.

Specified by:
remoteVesselMasterPeriodFullVOToEntity in interface VesselMasterPeriodDao
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.VesselMasterPeriodDao#remoteVesselMasterPeriodFullVOToEntity(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselMasterPeriodFullVO, fr.ifremer.allegro.referential.vessel.VesselMasterPeriod)

toRemoteVesselMasterPeriodNaturalIdCollection

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

Specified by:
toRemoteVesselMasterPeriodNaturalIdCollection in interface VesselMasterPeriodDao
See Also:
VesselMasterPeriodDao.toRemoteVesselMasterPeriodNaturalIdCollection(java.util.Collection)

toRemoteVesselMasterPeriodNaturalIdArray

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

Specified by:
toRemoteVesselMasterPeriodNaturalIdArray in interface VesselMasterPeriodDao
See Also:
VesselMasterPeriodDao.toRemoteVesselMasterPeriodNaturalIdArray(java.util.Collection)

toRemoteVesselMasterPeriodNaturalId

protected RemoteVesselMasterPeriodNaturalId toRemoteVesselMasterPeriodNaturalId(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 VesselMasterPeriodDaoImpl class if you intend to use reporting queries.

See Also:
VesselMasterPeriodDao.toRemoteVesselMasterPeriodNaturalId(fr.ifremer.allegro.referential.vessel.VesselMasterPeriod)

remoteVesselMasterPeriodNaturalIdToEntityCollection

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

Specified by:
remoteVesselMasterPeriodNaturalIdToEntityCollection in interface VesselMasterPeriodDao
See Also:
VesselMasterPeriodDao.remoteVesselMasterPeriodNaturalIdToEntityCollection(java.util.Collection)

toRemoteVesselMasterPeriodNaturalId

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

toRemoteVesselMasterPeriodNaturalId

public RemoteVesselMasterPeriodNaturalId toRemoteVesselMasterPeriodNaturalId(VesselMasterPeriod entity)
Description copied from interface: VesselMasterPeriodDao
Converts this DAO's entity to an object of type RemoteVesselMasterPeriodNaturalId.

Specified by:
toRemoteVesselMasterPeriodNaturalId in interface VesselMasterPeriodDao
See Also:
VesselMasterPeriodDao.toRemoteVesselMasterPeriodNaturalId(fr.ifremer.allegro.referential.vessel.VesselMasterPeriod)

remoteVesselMasterPeriodNaturalIdToEntity

public void remoteVesselMasterPeriodNaturalIdToEntity(RemoteVesselMasterPeriodNaturalId source,
                                                      VesselMasterPeriod target,
                                                      boolean copyIfNull)
Description copied from interface: VesselMasterPeriodDao
Copies the fields of RemoteVesselMasterPeriodNaturalId to the specified entity.

Specified by:
remoteVesselMasterPeriodNaturalIdToEntity in interface VesselMasterPeriodDao
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.VesselMasterPeriodDao#remoteVesselMasterPeriodNaturalIdToEntity(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselMasterPeriodNaturalId, fr.ifremer.allegro.referential.vessel.VesselMasterPeriod)

toClusterVesselMasterPeriodCollection

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

Specified by:
toClusterVesselMasterPeriodCollection in interface VesselMasterPeriodDao
See Also:
VesselMasterPeriodDao.toClusterVesselMasterPeriodCollection(java.util.Collection)

toClusterVesselMasterPeriodArray

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

Specified by:
toClusterVesselMasterPeriodArray in interface VesselMasterPeriodDao
See Also:
VesselMasterPeriodDao.toClusterVesselMasterPeriodArray(java.util.Collection)

toClusterVesselMasterPeriod

protected ClusterVesselMasterPeriod toClusterVesselMasterPeriod(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 VesselMasterPeriodDaoImpl class if you intend to use reporting queries.

See Also:
VesselMasterPeriodDao.toClusterVesselMasterPeriod(fr.ifremer.allegro.referential.vessel.VesselMasterPeriod)

clusterVesselMasterPeriodToEntityCollection

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

Specified by:
clusterVesselMasterPeriodToEntityCollection in interface VesselMasterPeriodDao
See Also:
VesselMasterPeriodDao.clusterVesselMasterPeriodToEntityCollection(java.util.Collection)

toClusterVesselMasterPeriod

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

toClusterVesselMasterPeriod

public ClusterVesselMasterPeriod toClusterVesselMasterPeriod(VesselMasterPeriod entity)
Description copied from interface: VesselMasterPeriodDao
Converts this DAO's entity to an object of type ClusterVesselMasterPeriod.

Specified by:
toClusterVesselMasterPeriod in interface VesselMasterPeriodDao
See Also:
VesselMasterPeriodDao.toClusterVesselMasterPeriod(fr.ifremer.allegro.referential.vessel.VesselMasterPeriod)

clusterVesselMasterPeriodToEntity

public void clusterVesselMasterPeriodToEntity(ClusterVesselMasterPeriod source,
                                              VesselMasterPeriod target,
                                              boolean copyIfNull)
Description copied from interface: VesselMasterPeriodDao
Copies the fields of ClusterVesselMasterPeriod to the specified entity.

Specified by:
clusterVesselMasterPeriodToEntity in interface VesselMasterPeriodDao
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.VesselMasterPeriodDao#clusterVesselMasterPeriodToEntity(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterVesselMasterPeriod, fr.ifremer.allegro.referential.vessel.VesselMasterPeriod)

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

search

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

search

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

search

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

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


Copyright © 2008-2010 IFREMER. All Rights Reserved.