fr.ifremer.allegro.referential.vessel
Class VesselOwnerPeriodDaoBase

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

public abstract class VesselOwnerPeriodDaoBase
extends org.springframework.orm.hibernate3.support.HibernateDaoSupport
implements VesselOwnerPeriodDao

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

See Also:
VesselOwnerPeriod

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.vessel.VesselOwnerPeriodDao
TRANSFORM_CLUSTERVESSELOWNERPERIOD, TRANSFORM_NONE, TRANSFORM_REMOTEVESSELOWNERPERIODFULLVO, TRANSFORM_REMOTEVESSELOWNERPERIODNATURALID
 
Constructor Summary
VesselOwnerPeriodDaoBase()
           
 
Method Summary
 void clusterVesselOwnerPeriodToEntity(ClusterVesselOwnerPeriod source, VesselOwnerPeriod target, boolean copyIfNull)
          Copies the fields of ClusterVesselOwnerPeriod to the specified entity.
 void clusterVesselOwnerPeriodToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type ClusterVesselOwnerPeriod to this DAO's entity.
 java.util.Collection create(java.util.Collection entities)
          Creates a new instance of fr.ifremer.allegro.referential.vessel.VesselOwnerPeriod and adds from the passed in entities collection
 VesselOwnerPeriod create(java.util.Date startDateTime, java.util.Date endDateTime, VesselOwner vesselOwner, Vessel vessel)
           Creates a new fr.ifremer.allegro.referential.vessel.VesselOwnerPeriod instance from all attributes and properties and adds it to the persistent store.
 VesselOwnerPeriod create(java.util.Date startDateTime, Vessel vessel, VesselOwner vesselOwner)
           Creates a new fr.ifremer.allegro.referential.vessel.VesselOwnerPeriod 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 VesselOwnerPeriodDao.create(fr.ifremer.allegro.referential.vessel.VesselOwnerPeriod) with an additional flag called transform.
 java.lang.Object create(int transform, java.util.Date startDateTime, java.util.Date endDateTime, VesselOwner vesselOwner, Vessel vessel)
           Does the same thing as VesselOwnerPeriodDao.create(java.util.Date,java.util.Date,fr.ifremer.allegro.referential.vessel.VesselOwner,fr.ifremer.allegro.referential.vessel.Vessel) with an additional flag called transform.
 java.lang.Object create(int transform, java.util.Date startDateTime, Vessel vessel, VesselOwner vesselOwner)
           Does the same thing as VesselOwnerPeriodDao.create(java.util.Date,fr.ifremer.allegro.referential.vessel.Vessel,fr.ifremer.allegro.referential.vessel.VesselOwner) with an additional flag called transform.
 java.lang.Object create(int transform, VesselOwnerPeriod vesselOwnerPeriod)
           Does the same thing as VesselOwnerPeriodDao.create(fr.ifremer.allegro.referential.vessel.VesselOwnerPeriod) with an additional flag called transform.
 VesselOwnerPeriod create(VesselOwnerPeriod vesselOwnerPeriod)
          Creates an instance of fr.ifremer.allegro.referential.vessel.VesselOwnerPeriod and adds it to the persistent store.
 VesselOwnerPeriod createFromClusterVesselOwnerPeriod(ClusterVesselOwnerPeriod clusterVesselOwnerPeriod)
           
 java.lang.Object findVesselOwnerPeriodByIdentifiers(int transform, java.lang.String queryString, VesselOwner vesselOwner, java.util.Date startDateTime, Vessel vessel)
           Does the same thing as VesselOwnerPeriodDao.findVesselOwnerPeriodByIdentifiers(int, fr.ifremer.allegro.referential.vessel.VesselOwner, java.util.Date, fr.ifremer.allegro.referential.vessel.Vessel) with an additional argument called queryString.
 java.lang.Object findVesselOwnerPeriodByIdentifiers(int transform, VesselOwner vesselOwner, java.util.Date startDateTime, Vessel vessel)
           Does the same thing as VesselOwnerPeriodDao.findVesselOwnerPeriodByIdentifiers(fr.ifremer.allegro.referential.vessel.VesselOwner, java.util.Date, fr.ifremer.allegro.referential.vessel.Vessel) with an additional flag called transform.
 VesselOwnerPeriod findVesselOwnerPeriodByIdentifiers(java.lang.String queryString, VesselOwner vesselOwner, java.util.Date startDateTime, Vessel vessel)
           Does the same thing as VesselOwnerPeriodDao.findVesselOwnerPeriodByIdentifiers(fr.ifremer.allegro.referential.vessel.VesselOwner, java.util.Date, fr.ifremer.allegro.referential.vessel.Vessel) with an additional argument called queryString.
 VesselOwnerPeriod findVesselOwnerPeriodByIdentifiers(VesselOwner vesselOwner, java.util.Date startDateTime, Vessel vessel)
           
 java.lang.Object findVesselOwnerPeriodByNaturalId(int transform, java.lang.String queryString, VesselOwner vesselOwner, java.util.Date startDateTime, Vessel vessel)
           Does the same thing as VesselOwnerPeriodDao.findVesselOwnerPeriodByNaturalId(int, fr.ifremer.allegro.referential.vessel.VesselOwner, java.util.Date, fr.ifremer.allegro.referential.vessel.Vessel) with an additional argument called queryString.
 java.lang.Object findVesselOwnerPeriodByNaturalId(int transform, VesselOwner vesselOwner, java.util.Date startDateTime, Vessel vessel)
           Does the same thing as VesselOwnerPeriodDao.findVesselOwnerPeriodByNaturalId(fr.ifremer.allegro.referential.vessel.VesselOwner, java.util.Date, fr.ifremer.allegro.referential.vessel.Vessel) with an additional flag called transform.
 VesselOwnerPeriod findVesselOwnerPeriodByNaturalId(java.lang.String queryString, VesselOwner vesselOwner, java.util.Date startDateTime, Vessel vessel)
           Does the same thing as VesselOwnerPeriodDao.findVesselOwnerPeriodByNaturalId(fr.ifremer.allegro.referential.vessel.VesselOwner, java.util.Date, fr.ifremer.allegro.referential.vessel.Vessel) with an additional argument called queryString.
 VesselOwnerPeriod findVesselOwnerPeriodByNaturalId(VesselOwner vesselOwner, java.util.Date startDateTime, Vessel vessel)
           
 java.util.Collection findVesselOwnerPeriodByStartDateTime(java.util.Date startDateTime)
           
 java.util.Collection findVesselOwnerPeriodByStartDateTime(int transform, java.util.Date startDateTime)
           Does the same thing as VesselOwnerPeriodDao.findVesselOwnerPeriodByStartDateTime(java.util.Date) with an additional flag called transform.
 java.util.Collection findVesselOwnerPeriodByStartDateTime(int pageNumber, int pageSize, java.util.Date startDateTime)
           Does the same thing as VesselOwnerPeriodDao.findVesselOwnerPeriodByStartDateTime(java.util.Date) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findVesselOwnerPeriodByStartDateTime(int transform, int pageNumber, int pageSize, java.util.Date startDateTime)
           Does the same thing as VesselOwnerPeriodDao.findVesselOwnerPeriodByStartDateTime(int, java.util.Date) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findVesselOwnerPeriodByStartDateTime(int transform, java.lang.String queryString, java.util.Date startDateTime)
           Does the same thing as VesselOwnerPeriodDao.findVesselOwnerPeriodByStartDateTime(int, java.util.Date) with an additional argument called queryString.
 java.util.Collection findVesselOwnerPeriodByStartDateTime(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.util.Date startDateTime)
           Does the same thing as VesselOwnerPeriodDao.findVesselOwnerPeriodByStartDateTime(int, String, java.util.Date) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findVesselOwnerPeriodByStartDateTime(java.lang.String queryString, java.util.Date startDateTime)
           Does the same thing as VesselOwnerPeriodDao.findVesselOwnerPeriodByStartDateTime(java.util.Date) with an additional argument called queryString.
 java.util.Collection findVesselOwnerPeriodByStartDateTime(java.lang.String queryString, int pageNumber, int pageSize, java.util.Date startDateTime)
           Does the same thing as VesselOwnerPeriodDao.findVesselOwnerPeriodByStartDateTime(String, java.util.Date) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findVesselOwnerPeriodByVessel(int transform, int pageNumber, int pageSize, Vessel vessel)
           Does the same thing as VesselOwnerPeriodDao.findVesselOwnerPeriodByVessel(int, fr.ifremer.allegro.referential.vessel.Vessel) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findVesselOwnerPeriodByVessel(int pageNumber, int pageSize, Vessel vessel)
           Does the same thing as VesselOwnerPeriodDao.findVesselOwnerPeriodByVessel(fr.ifremer.allegro.referential.vessel.Vessel) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findVesselOwnerPeriodByVessel(int transform, java.lang.String queryString, int pageNumber, int pageSize, Vessel vessel)
           Does the same thing as VesselOwnerPeriodDao.findVesselOwnerPeriodByVessel(int, String, fr.ifremer.allegro.referential.vessel.Vessel) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findVesselOwnerPeriodByVessel(int transform, java.lang.String queryString, Vessel vessel)
           Does the same thing as VesselOwnerPeriodDao.findVesselOwnerPeriodByVessel(int, fr.ifremer.allegro.referential.vessel.Vessel) with an additional argument called queryString.
 java.util.Collection findVesselOwnerPeriodByVessel(int transform, Vessel vessel)
           Does the same thing as VesselOwnerPeriodDao.findVesselOwnerPeriodByVessel(fr.ifremer.allegro.referential.vessel.Vessel) with an additional flag called transform.
 java.util.Collection findVesselOwnerPeriodByVessel(java.lang.String queryString, int pageNumber, int pageSize, Vessel vessel)
           Does the same thing as VesselOwnerPeriodDao.findVesselOwnerPeriodByVessel(String, fr.ifremer.allegro.referential.vessel.Vessel) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findVesselOwnerPeriodByVessel(java.lang.String queryString, Vessel vessel)
           Does the same thing as VesselOwnerPeriodDao.findVesselOwnerPeriodByVessel(fr.ifremer.allegro.referential.vessel.Vessel) with an additional argument called queryString.
 java.util.Collection findVesselOwnerPeriodByVessel(Vessel vessel)
           
 java.util.Collection findVesselOwnerPeriodByVesselOwner(int transform, int pageNumber, int pageSize, VesselOwner vesselOwner)
           Does the same thing as VesselOwnerPeriodDao.findVesselOwnerPeriodByVesselOwner(int, fr.ifremer.allegro.referential.vessel.VesselOwner) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findVesselOwnerPeriodByVesselOwner(int pageNumber, int pageSize, VesselOwner vesselOwner)
           Does the same thing as VesselOwnerPeriodDao.findVesselOwnerPeriodByVesselOwner(fr.ifremer.allegro.referential.vessel.VesselOwner) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findVesselOwnerPeriodByVesselOwner(int transform, java.lang.String queryString, int pageNumber, int pageSize, VesselOwner vesselOwner)
           Does the same thing as VesselOwnerPeriodDao.findVesselOwnerPeriodByVesselOwner(int, String, fr.ifremer.allegro.referential.vessel.VesselOwner) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findVesselOwnerPeriodByVesselOwner(int transform, java.lang.String queryString, VesselOwner vesselOwner)
           Does the same thing as VesselOwnerPeriodDao.findVesselOwnerPeriodByVesselOwner(int, fr.ifremer.allegro.referential.vessel.VesselOwner) with an additional argument called queryString.
 java.util.Collection findVesselOwnerPeriodByVesselOwner(int transform, VesselOwner vesselOwner)
           Does the same thing as VesselOwnerPeriodDao.findVesselOwnerPeriodByVesselOwner(fr.ifremer.allegro.referential.vessel.VesselOwner) with an additional flag called transform.
 java.util.Collection findVesselOwnerPeriodByVesselOwner(java.lang.String queryString, int pageNumber, int pageSize, VesselOwner vesselOwner)
           Does the same thing as VesselOwnerPeriodDao.findVesselOwnerPeriodByVesselOwner(String, fr.ifremer.allegro.referential.vessel.VesselOwner) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findVesselOwnerPeriodByVesselOwner(java.lang.String queryString, VesselOwner vesselOwner)
           Does the same thing as VesselOwnerPeriodDao.findVesselOwnerPeriodByVesselOwner(fr.ifremer.allegro.referential.vessel.VesselOwner) with an additional argument called queryString.
 java.util.Collection findVesselOwnerPeriodByVesselOwner(VesselOwner vesselOwner)
           
 java.util.Collection getAllVesselOwnerPeriod()
           
 java.util.Collection getAllVesselOwnerPeriod(int transform)
           Does the same thing as VesselOwnerPeriodDao.getAllVesselOwnerPeriod() with an additional flag called transform.
 java.util.Collection getAllVesselOwnerPeriod(int pageNumber, int pageSize)
           Does the same thing as VesselOwnerPeriodDao.getAllVesselOwnerPeriod() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllVesselOwnerPeriod(int transform, int pageNumber, int pageSize)
           Does the same thing as VesselOwnerPeriodDao.getAllVesselOwnerPeriod(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllVesselOwnerPeriod(int transform, java.lang.String queryString)
           Does the same thing as VesselOwnerPeriodDao.getAllVesselOwnerPeriod(int) with an additional argument called queryString.
 java.util.Collection getAllVesselOwnerPeriod(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as VesselOwnerPeriodDao.getAllVesselOwnerPeriod(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllVesselOwnerPeriod(java.lang.String queryString)
           Does the same thing as VesselOwnerPeriodDao.getAllVesselOwnerPeriod() with an additional argument called queryString.
 java.util.Collection getAllVesselOwnerPeriod(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as VesselOwnerPeriodDao.getAllVesselOwnerPeriod(String) with an additional two arguments called pageNumber and pageSize.
protected  java.security.Principal getPrincipal()
          Gets the current principal if one has been set, otherwise returns null.
protected  VesselDao getVesselDao()
          Gets the reference to vesselDao.
protected  VesselOwnerDao getVesselOwnerDao()
          Gets the reference to vesselOwnerDao.
protected abstract  VesselOwnerPeriod handleCreateFromClusterVesselOwnerPeriod(ClusterVesselOwnerPeriod clusterVesselOwnerPeriod)
          Performs the core logic for createFromClusterVesselOwnerPeriod(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterVesselOwnerPeriod)
 VesselOwnerPeriod load(java.util.Date startDateTime, VesselOwner vesselOwner, Vessel vessel)
          Loads an instance of fr.ifremer.allegro.referential.vessel.VesselOwnerPeriod from the persistent store.
 java.lang.Object load(int transform, java.util.Date startDateTime, VesselOwner vesselOwner, Vessel vessel)
           Does the same thing as VesselOwnerPeriodDao.load(java.util.Date,fr.ifremer.allegro.referential.vessel.VesselOwner,fr.ifremer.allegro.referential.vessel.Vessel) with an additional flag called transform.
 java.util.Collection loadAll()
          Loads all entities of type VesselOwnerPeriod.
 java.util.Collection loadAll(int transform)
           Does the same thing as VesselOwnerPeriodDao.loadAll() with an additional flag called transform.
 java.util.Collection loadAll(int pageNumber, int pageSize)
           Does the same thing as VesselOwnerPeriodDao.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 VesselOwnerPeriodDao.loadAll(int) with an additional two arguments called pageNumber and pageSize.
 void remoteVesselOwnerPeriodFullVOToEntity(RemoteVesselOwnerPeriodFullVO source, VesselOwnerPeriod target, boolean copyIfNull)
          Copies the fields of RemoteVesselOwnerPeriodFullVO to the specified entity.
 void remoteVesselOwnerPeriodFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteVesselOwnerPeriodFullVO to this DAO's entity.
 void remoteVesselOwnerPeriodNaturalIdToEntity(RemoteVesselOwnerPeriodNaturalId source, VesselOwnerPeriod target, boolean copyIfNull)
          Copies the fields of RemoteVesselOwnerPeriodNaturalId to the specified entity.
 void remoteVesselOwnerPeriodNaturalIdToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteVesselOwnerPeriodNaturalId 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, VesselOwner vesselOwner, Vessel vessel)
          Removes the instance of fr.ifremer.allegro.referential.vessel.VesselOwnerPeriod having the given identifiers from the persistent store.
 void remove(VesselOwnerPeriod vesselOwnerPeriod)
          Removes the instance of fr.ifremer.allegro.referential.vessel.VesselOwnerPeriod 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 VesselOwnerPeriodDao.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 setVesselDao(VesselDao vesselDao)
          Sets the reference to vesselDao.
 void setVesselOwnerDao(VesselOwnerDao vesselOwnerDao)
          Sets the reference to vesselOwnerDao.
protected  ClusterVesselOwnerPeriod toClusterVesselOwnerPeriod(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 ClusterVesselOwnerPeriod toClusterVesselOwnerPeriod(VesselOwnerPeriod entity)
          Converts this DAO's entity to an object of type ClusterVesselOwnerPeriod.
 void toClusterVesselOwnerPeriod(VesselOwnerPeriod source, ClusterVesselOwnerPeriod target)
          Copies the fields of the specified entity to the target value object.
 ClusterVesselOwnerPeriod[] toClusterVesselOwnerPeriodArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type ClusterVesselOwnerPeriod.
 void toClusterVesselOwnerPeriodCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type ClusterVesselOwnerPeriod.
protected  VesselOwnerPeriod toEntity(java.lang.Object[] row)
           
protected  RemoteVesselOwnerPeriodFullVO toRemoteVesselOwnerPeriodFullVO(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteVesselOwnerPeriodFullVO toRemoteVesselOwnerPeriodFullVO(VesselOwnerPeriod entity)
          Converts this DAO's entity to an object of type RemoteVesselOwnerPeriodFullVO.
 void toRemoteVesselOwnerPeriodFullVO(VesselOwnerPeriod source, RemoteVesselOwnerPeriodFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteVesselOwnerPeriodFullVO[] toRemoteVesselOwnerPeriodFullVOArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteVesselOwnerPeriodFullVO.
 void toRemoteVesselOwnerPeriodFullVOCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteVesselOwnerPeriodFullVO.
protected  RemoteVesselOwnerPeriodNaturalId toRemoteVesselOwnerPeriodNaturalId(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteVesselOwnerPeriodNaturalId toRemoteVesselOwnerPeriodNaturalId(VesselOwnerPeriod entity)
          Converts this DAO's entity to an object of type RemoteVesselOwnerPeriodNaturalId.
 void toRemoteVesselOwnerPeriodNaturalId(VesselOwnerPeriod source, RemoteVesselOwnerPeriodNaturalId target)
          Copies the fields of the specified entity to the target value object.
 RemoteVesselOwnerPeriodNaturalId[] toRemoteVesselOwnerPeriodNaturalIdArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteVesselOwnerPeriodNaturalId.
 void toRemoteVesselOwnerPeriodNaturalIdCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteVesselOwnerPeriodNaturalId.
protected  void transformEntities(int transform, java.util.Collection entities)
          Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.vessel.VesselOwnerPeriod) method.
protected  java.lang.Object transformEntity(int transform, VesselOwnerPeriod 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.VesselOwnerPeriodDao, please note that the VesselOwnerPeriodDao.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(VesselOwnerPeriod vesselOwnerPeriod)
          Updates the vesselOwnerPeriod 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.VesselOwnerPeriodDao
clusterVesselOwnerPeriodToEntity, remoteVesselOwnerPeriodFullVOToEntity, remoteVesselOwnerPeriodNaturalIdToEntity
 

Constructor Detail

VesselOwnerPeriodDaoBase

public VesselOwnerPeriodDaoBase()
Method Detail

setVesselOwnerDao

public void setVesselOwnerDao(VesselOwnerDao vesselOwnerDao)
Sets the reference to vesselOwnerDao.


getVesselOwnerDao

protected VesselOwnerDao getVesselOwnerDao()
Gets the reference to vesselOwnerDao.


setVesselDao

public void setVesselDao(VesselDao vesselDao)
Sets the reference to vesselDao.


getVesselDao

protected VesselDao getVesselDao()
Gets the reference to vesselDao.


load

public java.lang.Object load(int transform,
                             java.util.Date startDateTime,
                             VesselOwner vesselOwner,
                             Vessel vessel)
Description copied from interface: VesselOwnerPeriodDao

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

load

public VesselOwnerPeriod load(java.util.Date startDateTime,
                              VesselOwner vesselOwner,
                              Vessel vessel)
Description copied from interface: VesselOwnerPeriodDao
Loads an instance of fr.ifremer.allegro.referential.vessel.VesselOwnerPeriod from the persistent store.

Specified by:
load in interface VesselOwnerPeriodDao
See Also:
VesselOwnerPeriodDao.load(java.util.Date,fr.ifremer.allegro.referential.vessel.VesselOwner,fr.ifremer.allegro.referential.vessel.Vessel)

loadAll

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

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

loadAll

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

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

loadAll

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

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

loadAll

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

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

create

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

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

create

public java.lang.Object create(int transform,
                               VesselOwnerPeriod vesselOwnerPeriod)
Description copied from interface: VesselOwnerPeriodDao

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

create

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

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

create

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

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

create

public VesselOwnerPeriod create(java.util.Date startDateTime,
                                java.util.Date endDateTime,
                                VesselOwner vesselOwner,
                                Vessel vessel)
Description copied from interface: VesselOwnerPeriodDao

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

Specified by:
create in interface VesselOwnerPeriodDao
See Also:
VesselOwnerPeriodDao.create(java.util.Date,java.util.Date,fr.ifremer.allegro.referential.vessel.VesselOwner,fr.ifremer.allegro.referential.vessel.Vessel)

create

public java.lang.Object create(int transform,
                               java.util.Date startDateTime,
                               java.util.Date endDateTime,
                               VesselOwner vesselOwner,
                               Vessel vessel)
Description copied from interface: VesselOwnerPeriodDao

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

create

public VesselOwnerPeriod create(java.util.Date startDateTime,
                                Vessel vessel,
                                VesselOwner vesselOwner)
Description copied from interface: VesselOwnerPeriodDao

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

Specified by:
create in interface VesselOwnerPeriodDao
See Also:
VesselOwnerPeriodDao.create(java.util.Date,fr.ifremer.allegro.referential.vessel.Vessel,fr.ifremer.allegro.referential.vessel.VesselOwner)

create

public java.lang.Object create(int transform,
                               java.util.Date startDateTime,
                               Vessel vessel,
                               VesselOwner vesselOwner)
Description copied from interface: VesselOwnerPeriodDao

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

update

public void update(VesselOwnerPeriod vesselOwnerPeriod)
Description copied from interface: VesselOwnerPeriodDao
Updates the vesselOwnerPeriod instance in the persistent store.

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

update

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

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

remove

public void remove(VesselOwnerPeriod vesselOwnerPeriod)
Description copied from interface: VesselOwnerPeriodDao
Removes the instance of fr.ifremer.allegro.referential.vessel.VesselOwnerPeriod from the persistent store.

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

remove

public void remove(java.util.Date startDateTime,
                   VesselOwner vesselOwner,
                   Vessel vessel)
Description copied from interface: VesselOwnerPeriodDao
Removes the instance of fr.ifremer.allegro.referential.vessel.VesselOwnerPeriod having the given identifiers from the persistent store.

Specified by:
remove in interface VesselOwnerPeriodDao
See Also:
VesselOwnerPeriodDao.remove(java.util.Date,fr.ifremer.allegro.referential.vessel.VesselOwner,fr.ifremer.allegro.referential.vessel.Vessel)

remove

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

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

getAllVesselOwnerPeriod

public java.util.Collection getAllVesselOwnerPeriod()
Specified by:
getAllVesselOwnerPeriod in interface VesselOwnerPeriodDao
See Also:
VesselOwnerPeriodDao.getAllVesselOwnerPeriod()

getAllVesselOwnerPeriod

public java.util.Collection getAllVesselOwnerPeriod(int transform)
Description copied from interface: VesselOwnerPeriodDao

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

getAllVesselOwnerPeriod

public java.util.Collection getAllVesselOwnerPeriod(java.lang.String queryString)
Description copied from interface: VesselOwnerPeriodDao

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

Specified by:
getAllVesselOwnerPeriod in interface VesselOwnerPeriodDao
See Also:
VesselOwnerPeriodDao.getAllVesselOwnerPeriod(java.lang.String)

getAllVesselOwnerPeriod

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

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

getAllVesselOwnerPeriod

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

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

getAllVesselOwnerPeriod

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

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

Specified by:
getAllVesselOwnerPeriod in interface VesselOwnerPeriodDao
See Also:
VesselOwnerPeriodDao.getAllVesselOwnerPeriod(int, String)

getAllVesselOwnerPeriod

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

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

getAllVesselOwnerPeriod

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

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

findVesselOwnerPeriodByStartDateTime

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

findVesselOwnerPeriodByStartDateTime

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

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

findVesselOwnerPeriodByStartDateTime

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

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

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

findVesselOwnerPeriodByStartDateTime

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

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

findVesselOwnerPeriodByStartDateTime

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

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

findVesselOwnerPeriodByStartDateTime

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

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

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

findVesselOwnerPeriodByStartDateTime

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

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

findVesselOwnerPeriodByStartDateTime

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

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

findVesselOwnerPeriodByVesselOwner

public java.util.Collection findVesselOwnerPeriodByVesselOwner(VesselOwner vesselOwner)
Specified by:
findVesselOwnerPeriodByVesselOwner in interface VesselOwnerPeriodDao
See Also:
VesselOwnerPeriodDao.findVesselOwnerPeriodByVesselOwner(fr.ifremer.allegro.referential.vessel.VesselOwner)

findVesselOwnerPeriodByVesselOwner

public java.util.Collection findVesselOwnerPeriodByVesselOwner(int transform,
                                                               VesselOwner vesselOwner)
Description copied from interface: VesselOwnerPeriodDao

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

findVesselOwnerPeriodByVesselOwner

public java.util.Collection findVesselOwnerPeriodByVesselOwner(java.lang.String queryString,
                                                               VesselOwner vesselOwner)
Description copied from interface: VesselOwnerPeriodDao

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

Specified by:
findVesselOwnerPeriodByVesselOwner in interface VesselOwnerPeriodDao
See Also:
VesselOwnerPeriodDao.findVesselOwnerPeriodByVesselOwner(java.lang.String, fr.ifremer.allegro.referential.vessel.VesselOwner)

findVesselOwnerPeriodByVesselOwner

public java.util.Collection findVesselOwnerPeriodByVesselOwner(int pageNumber,
                                                               int pageSize,
                                                               VesselOwner vesselOwner)
Description copied from interface: VesselOwnerPeriodDao

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

findVesselOwnerPeriodByVesselOwner

public java.util.Collection findVesselOwnerPeriodByVesselOwner(java.lang.String queryString,
                                                               int pageNumber,
                                                               int pageSize,
                                                               VesselOwner vesselOwner)
Description copied from interface: VesselOwnerPeriodDao

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

findVesselOwnerPeriodByVesselOwner

public java.util.Collection findVesselOwnerPeriodByVesselOwner(int transform,
                                                               java.lang.String queryString,
                                                               VesselOwner vesselOwner)
Description copied from interface: VesselOwnerPeriodDao

Does the same thing as VesselOwnerPeriodDao.findVesselOwnerPeriodByVesselOwner(int, fr.ifremer.allegro.referential.vessel.VesselOwner) with an additional argument called queryString. This queryString argument allows you to override the query string defined in VesselOwnerPeriodDao.findVesselOwnerPeriodByVesselOwner(int, fr.ifremer.allegro.referential.vessel.VesselOwner vesselOwner).

Specified by:
findVesselOwnerPeriodByVesselOwner in interface VesselOwnerPeriodDao
See Also:
VesselOwnerPeriodDao.findVesselOwnerPeriodByVesselOwner(int, String, fr.ifremer.allegro.referential.vessel.VesselOwner)

findVesselOwnerPeriodByVesselOwner

public java.util.Collection findVesselOwnerPeriodByVesselOwner(int transform,
                                                               int pageNumber,
                                                               int pageSize,
                                                               VesselOwner vesselOwner)
Description copied from interface: VesselOwnerPeriodDao

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

findVesselOwnerPeriodByVesselOwner

public java.util.Collection findVesselOwnerPeriodByVesselOwner(int transform,
                                                               java.lang.String queryString,
                                                               int pageNumber,
                                                               int pageSize,
                                                               VesselOwner vesselOwner)
Description copied from interface: VesselOwnerPeriodDao

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

findVesselOwnerPeriodByVessel

public java.util.Collection findVesselOwnerPeriodByVessel(Vessel vessel)
Specified by:
findVesselOwnerPeriodByVessel in interface VesselOwnerPeriodDao
See Also:
VesselOwnerPeriodDao.findVesselOwnerPeriodByVessel(fr.ifremer.allegro.referential.vessel.Vessel)

findVesselOwnerPeriodByVessel

public java.util.Collection findVesselOwnerPeriodByVessel(int transform,
                                                          Vessel vessel)
Description copied from interface: VesselOwnerPeriodDao

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

findVesselOwnerPeriodByVessel

public java.util.Collection findVesselOwnerPeriodByVessel(java.lang.String queryString,
                                                          Vessel vessel)
Description copied from interface: VesselOwnerPeriodDao

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

Specified by:
findVesselOwnerPeriodByVessel in interface VesselOwnerPeriodDao
See Also:
VesselOwnerPeriodDao.findVesselOwnerPeriodByVessel(java.lang.String, fr.ifremer.allegro.referential.vessel.Vessel)

findVesselOwnerPeriodByVessel

public java.util.Collection findVesselOwnerPeriodByVessel(int pageNumber,
                                                          int pageSize,
                                                          Vessel vessel)
Description copied from interface: VesselOwnerPeriodDao

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

findVesselOwnerPeriodByVessel

public java.util.Collection findVesselOwnerPeriodByVessel(java.lang.String queryString,
                                                          int pageNumber,
                                                          int pageSize,
                                                          Vessel vessel)
Description copied from interface: VesselOwnerPeriodDao

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

findVesselOwnerPeriodByVessel

public java.util.Collection findVesselOwnerPeriodByVessel(int transform,
                                                          java.lang.String queryString,
                                                          Vessel vessel)
Description copied from interface: VesselOwnerPeriodDao

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

Specified by:
findVesselOwnerPeriodByVessel in interface VesselOwnerPeriodDao
See Also:
VesselOwnerPeriodDao.findVesselOwnerPeriodByVessel(int, String, fr.ifremer.allegro.referential.vessel.Vessel)

findVesselOwnerPeriodByVessel

public java.util.Collection findVesselOwnerPeriodByVessel(int transform,
                                                          int pageNumber,
                                                          int pageSize,
                                                          Vessel vessel)
Description copied from interface: VesselOwnerPeriodDao

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

findVesselOwnerPeriodByVessel

public java.util.Collection findVesselOwnerPeriodByVessel(int transform,
                                                          java.lang.String queryString,
                                                          int pageNumber,
                                                          int pageSize,
                                                          Vessel vessel)
Description copied from interface: VesselOwnerPeriodDao

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

findVesselOwnerPeriodByIdentifiers

public VesselOwnerPeriod findVesselOwnerPeriodByIdentifiers(VesselOwner vesselOwner,
                                                            java.util.Date startDateTime,
                                                            Vessel vessel)
Specified by:
findVesselOwnerPeriodByIdentifiers in interface VesselOwnerPeriodDao
See Also:
VesselOwnerPeriodDao.findVesselOwnerPeriodByIdentifiers(fr.ifremer.allegro.referential.vessel.VesselOwner, java.util.Date, fr.ifremer.allegro.referential.vessel.Vessel)

findVesselOwnerPeriodByIdentifiers

public java.lang.Object findVesselOwnerPeriodByIdentifiers(int transform,
                                                           VesselOwner vesselOwner,
                                                           java.util.Date startDateTime,
                                                           Vessel vessel)
Description copied from interface: VesselOwnerPeriodDao

Does the same thing as VesselOwnerPeriodDao.findVesselOwnerPeriodByIdentifiers(fr.ifremer.allegro.referential.vessel.VesselOwner, java.util.Date, fr.ifremer.allegro.referential.vessel.Vessel) 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:
findVesselOwnerPeriodByIdentifiers in interface VesselOwnerPeriodDao
See Also:
VesselOwnerPeriodDao.findVesselOwnerPeriodByIdentifiers(int, fr.ifremer.allegro.referential.vessel.VesselOwner, java.util.Date, fr.ifremer.allegro.referential.vessel.Vessel)

findVesselOwnerPeriodByIdentifiers

public VesselOwnerPeriod findVesselOwnerPeriodByIdentifiers(java.lang.String queryString,
                                                            VesselOwner vesselOwner,
                                                            java.util.Date startDateTime,
                                                            Vessel vessel)
Description copied from interface: VesselOwnerPeriodDao

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

Specified by:
findVesselOwnerPeriodByIdentifiers in interface VesselOwnerPeriodDao
See Also:
VesselOwnerPeriodDao.findVesselOwnerPeriodByIdentifiers(java.lang.String, fr.ifremer.allegro.referential.vessel.VesselOwner, java.util.Date, fr.ifremer.allegro.referential.vessel.Vessel)

findVesselOwnerPeriodByIdentifiers

public java.lang.Object findVesselOwnerPeriodByIdentifiers(int transform,
                                                           java.lang.String queryString,
                                                           VesselOwner vesselOwner,
                                                           java.util.Date startDateTime,
                                                           Vessel vessel)
Description copied from interface: VesselOwnerPeriodDao

Does the same thing as VesselOwnerPeriodDao.findVesselOwnerPeriodByIdentifiers(int, fr.ifremer.allegro.referential.vessel.VesselOwner, java.util.Date, fr.ifremer.allegro.referential.vessel.Vessel) with an additional argument called queryString. This queryString argument allows you to override the query string defined in VesselOwnerPeriodDao.findVesselOwnerPeriodByIdentifiers(int, fr.ifremer.allegro.referential.vessel.VesselOwner vesselOwner, java.util.Date startDateTime, fr.ifremer.allegro.referential.vessel.Vessel vessel).

Specified by:
findVesselOwnerPeriodByIdentifiers in interface VesselOwnerPeriodDao
See Also:
VesselOwnerPeriodDao.findVesselOwnerPeriodByIdentifiers(int, java.lang.String, fr.ifremer.allegro.referential.vessel.VesselOwner, java.util.Date, fr.ifremer.allegro.referential.vessel.Vessel)

findVesselOwnerPeriodByNaturalId

public VesselOwnerPeriod findVesselOwnerPeriodByNaturalId(VesselOwner vesselOwner,
                                                          java.util.Date startDateTime,
                                                          Vessel vessel)
Specified by:
findVesselOwnerPeriodByNaturalId in interface VesselOwnerPeriodDao
See Also:
VesselOwnerPeriodDao.findVesselOwnerPeriodByNaturalId(fr.ifremer.allegro.referential.vessel.VesselOwner, java.util.Date, fr.ifremer.allegro.referential.vessel.Vessel)

findVesselOwnerPeriodByNaturalId

public java.lang.Object findVesselOwnerPeriodByNaturalId(int transform,
                                                         VesselOwner vesselOwner,
                                                         java.util.Date startDateTime,
                                                         Vessel vessel)
Description copied from interface: VesselOwnerPeriodDao

Does the same thing as VesselOwnerPeriodDao.findVesselOwnerPeriodByNaturalId(fr.ifremer.allegro.referential.vessel.VesselOwner, java.util.Date, fr.ifremer.allegro.referential.vessel.Vessel) 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:
findVesselOwnerPeriodByNaturalId in interface VesselOwnerPeriodDao
See Also:
VesselOwnerPeriodDao.findVesselOwnerPeriodByNaturalId(int, fr.ifremer.allegro.referential.vessel.VesselOwner, java.util.Date, fr.ifremer.allegro.referential.vessel.Vessel)

findVesselOwnerPeriodByNaturalId

public VesselOwnerPeriod findVesselOwnerPeriodByNaturalId(java.lang.String queryString,
                                                          VesselOwner vesselOwner,
                                                          java.util.Date startDateTime,
                                                          Vessel vessel)
Description copied from interface: VesselOwnerPeriodDao

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

Specified by:
findVesselOwnerPeriodByNaturalId in interface VesselOwnerPeriodDao
See Also:
VesselOwnerPeriodDao.findVesselOwnerPeriodByNaturalId(java.lang.String, fr.ifremer.allegro.referential.vessel.VesselOwner, java.util.Date, fr.ifremer.allegro.referential.vessel.Vessel)

findVesselOwnerPeriodByNaturalId

public java.lang.Object findVesselOwnerPeriodByNaturalId(int transform,
                                                         java.lang.String queryString,
                                                         VesselOwner vesselOwner,
                                                         java.util.Date startDateTime,
                                                         Vessel vessel)
Description copied from interface: VesselOwnerPeriodDao

Does the same thing as VesselOwnerPeriodDao.findVesselOwnerPeriodByNaturalId(int, fr.ifremer.allegro.referential.vessel.VesselOwner, java.util.Date, fr.ifremer.allegro.referential.vessel.Vessel) with an additional argument called queryString. This queryString argument allows you to override the query string defined in VesselOwnerPeriodDao.findVesselOwnerPeriodByNaturalId(int, fr.ifremer.allegro.referential.vessel.VesselOwner vesselOwner, java.util.Date startDateTime, fr.ifremer.allegro.referential.vessel.Vessel vessel).

Specified by:
findVesselOwnerPeriodByNaturalId in interface VesselOwnerPeriodDao
See Also:
VesselOwnerPeriodDao.findVesselOwnerPeriodByNaturalId(int, java.lang.String, fr.ifremer.allegro.referential.vessel.VesselOwner, java.util.Date, fr.ifremer.allegro.referential.vessel.Vessel)

createFromClusterVesselOwnerPeriod

public VesselOwnerPeriod createFromClusterVesselOwnerPeriod(ClusterVesselOwnerPeriod clusterVesselOwnerPeriod)
Specified by:
createFromClusterVesselOwnerPeriod in interface VesselOwnerPeriodDao
See Also:
VesselOwnerPeriodDao.createFromClusterVesselOwnerPeriod(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterVesselOwnerPeriod)

handleCreateFromClusterVesselOwnerPeriod

protected abstract VesselOwnerPeriod handleCreateFromClusterVesselOwnerPeriod(ClusterVesselOwnerPeriod clusterVesselOwnerPeriod)
                                                                       throws java.lang.Exception
Performs the core logic for createFromClusterVesselOwnerPeriod(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterVesselOwnerPeriod)

Throws:
java.lang.Exception

transformEntity

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

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

toEntity

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

toRemoteVesselOwnerPeriodFullVOCollection

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

Specified by:
toRemoteVesselOwnerPeriodFullVOCollection in interface VesselOwnerPeriodDao
See Also:
VesselOwnerPeriodDao.toRemoteVesselOwnerPeriodFullVOCollection(java.util.Collection)

toRemoteVesselOwnerPeriodFullVOArray

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

Specified by:
toRemoteVesselOwnerPeriodFullVOArray in interface VesselOwnerPeriodDao
See Also:
VesselOwnerPeriodDao.toRemoteVesselOwnerPeriodFullVOArray(java.util.Collection)

toRemoteVesselOwnerPeriodFullVO

protected RemoteVesselOwnerPeriodFullVO toRemoteVesselOwnerPeriodFullVO(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 VesselOwnerPeriodDaoImpl class if you intend to use reporting queries.

See Also:
VesselOwnerPeriodDao.toRemoteVesselOwnerPeriodFullVO(fr.ifremer.allegro.referential.vessel.VesselOwnerPeriod)

remoteVesselOwnerPeriodFullVOToEntityCollection

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

Specified by:
remoteVesselOwnerPeriodFullVOToEntityCollection in interface VesselOwnerPeriodDao
See Also:
VesselOwnerPeriodDao.remoteVesselOwnerPeriodFullVOToEntityCollection(java.util.Collection)

toRemoteVesselOwnerPeriodFullVO

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

toRemoteVesselOwnerPeriodFullVO

public RemoteVesselOwnerPeriodFullVO toRemoteVesselOwnerPeriodFullVO(VesselOwnerPeriod entity)
Description copied from interface: VesselOwnerPeriodDao
Converts this DAO's entity to an object of type RemoteVesselOwnerPeriodFullVO.

Specified by:
toRemoteVesselOwnerPeriodFullVO in interface VesselOwnerPeriodDao
See Also:
VesselOwnerPeriodDao.toRemoteVesselOwnerPeriodFullVO(fr.ifremer.allegro.referential.vessel.VesselOwnerPeriod)

remoteVesselOwnerPeriodFullVOToEntity

public void remoteVesselOwnerPeriodFullVOToEntity(RemoteVesselOwnerPeriodFullVO source,
                                                  VesselOwnerPeriod target,
                                                  boolean copyIfNull)
Description copied from interface: VesselOwnerPeriodDao
Copies the fields of RemoteVesselOwnerPeriodFullVO to the specified entity.

Specified by:
remoteVesselOwnerPeriodFullVOToEntity in interface VesselOwnerPeriodDao
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.VesselOwnerPeriodDao#remoteVesselOwnerPeriodFullVOToEntity(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselOwnerPeriodFullVO, fr.ifremer.allegro.referential.vessel.VesselOwnerPeriod)

toRemoteVesselOwnerPeriodNaturalIdCollection

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

Specified by:
toRemoteVesselOwnerPeriodNaturalIdCollection in interface VesselOwnerPeriodDao
See Also:
VesselOwnerPeriodDao.toRemoteVesselOwnerPeriodNaturalIdCollection(java.util.Collection)

toRemoteVesselOwnerPeriodNaturalIdArray

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

Specified by:
toRemoteVesselOwnerPeriodNaturalIdArray in interface VesselOwnerPeriodDao
See Also:
VesselOwnerPeriodDao.toRemoteVesselOwnerPeriodNaturalIdArray(java.util.Collection)

toRemoteVesselOwnerPeriodNaturalId

protected RemoteVesselOwnerPeriodNaturalId toRemoteVesselOwnerPeriodNaturalId(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 VesselOwnerPeriodDaoImpl class if you intend to use reporting queries.

See Also:
VesselOwnerPeriodDao.toRemoteVesselOwnerPeriodNaturalId(fr.ifremer.allegro.referential.vessel.VesselOwnerPeriod)

remoteVesselOwnerPeriodNaturalIdToEntityCollection

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

Specified by:
remoteVesselOwnerPeriodNaturalIdToEntityCollection in interface VesselOwnerPeriodDao
See Also:
VesselOwnerPeriodDao.remoteVesselOwnerPeriodNaturalIdToEntityCollection(java.util.Collection)

toRemoteVesselOwnerPeriodNaturalId

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

toRemoteVesselOwnerPeriodNaturalId

public RemoteVesselOwnerPeriodNaturalId toRemoteVesselOwnerPeriodNaturalId(VesselOwnerPeriod entity)
Description copied from interface: VesselOwnerPeriodDao
Converts this DAO's entity to an object of type RemoteVesselOwnerPeriodNaturalId.

Specified by:
toRemoteVesselOwnerPeriodNaturalId in interface VesselOwnerPeriodDao
See Also:
VesselOwnerPeriodDao.toRemoteVesselOwnerPeriodNaturalId(fr.ifremer.allegro.referential.vessel.VesselOwnerPeriod)

remoteVesselOwnerPeriodNaturalIdToEntity

public void remoteVesselOwnerPeriodNaturalIdToEntity(RemoteVesselOwnerPeriodNaturalId source,
                                                     VesselOwnerPeriod target,
                                                     boolean copyIfNull)
Description copied from interface: VesselOwnerPeriodDao
Copies the fields of RemoteVesselOwnerPeriodNaturalId to the specified entity.

Specified by:
remoteVesselOwnerPeriodNaturalIdToEntity in interface VesselOwnerPeriodDao
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.VesselOwnerPeriodDao#remoteVesselOwnerPeriodNaturalIdToEntity(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselOwnerPeriodNaturalId, fr.ifremer.allegro.referential.vessel.VesselOwnerPeriod)

toClusterVesselOwnerPeriodCollection

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

Specified by:
toClusterVesselOwnerPeriodCollection in interface VesselOwnerPeriodDao
See Also:
VesselOwnerPeriodDao.toClusterVesselOwnerPeriodCollection(java.util.Collection)

toClusterVesselOwnerPeriodArray

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

Specified by:
toClusterVesselOwnerPeriodArray in interface VesselOwnerPeriodDao
See Also:
VesselOwnerPeriodDao.toClusterVesselOwnerPeriodArray(java.util.Collection)

toClusterVesselOwnerPeriod

protected ClusterVesselOwnerPeriod toClusterVesselOwnerPeriod(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 VesselOwnerPeriodDaoImpl class if you intend to use reporting queries.

See Also:
VesselOwnerPeriodDao.toClusterVesselOwnerPeriod(fr.ifremer.allegro.referential.vessel.VesselOwnerPeriod)

clusterVesselOwnerPeriodToEntityCollection

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

Specified by:
clusterVesselOwnerPeriodToEntityCollection in interface VesselOwnerPeriodDao
See Also:
VesselOwnerPeriodDao.clusterVesselOwnerPeriodToEntityCollection(java.util.Collection)

toClusterVesselOwnerPeriod

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

toClusterVesselOwnerPeriod

public ClusterVesselOwnerPeriod toClusterVesselOwnerPeriod(VesselOwnerPeriod entity)
Description copied from interface: VesselOwnerPeriodDao
Converts this DAO's entity to an object of type ClusterVesselOwnerPeriod.

Specified by:
toClusterVesselOwnerPeriod in interface VesselOwnerPeriodDao
See Also:
VesselOwnerPeriodDao.toClusterVesselOwnerPeriod(fr.ifremer.allegro.referential.vessel.VesselOwnerPeriod)

clusterVesselOwnerPeriodToEntity

public void clusterVesselOwnerPeriodToEntity(ClusterVesselOwnerPeriod source,
                                             VesselOwnerPeriod target,
                                             boolean copyIfNull)
Description copied from interface: VesselOwnerPeriodDao
Copies the fields of ClusterVesselOwnerPeriod to the specified entity.

Specified by:
clusterVesselOwnerPeriodToEntity in interface VesselOwnerPeriodDao
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.VesselOwnerPeriodDao#clusterVesselOwnerPeriodToEntity(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterVesselOwnerPeriod, fr.ifremer.allegro.referential.vessel.VesselOwnerPeriod)

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

search

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

search

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

search

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

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


Copyright © 2008-2010 IFREMER. All Rights Reserved.