fr.ifremer.allegro.administration.user
Class VesselManagePeriodDaoBase

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.administration.user.VesselManagePeriodDaoBase
All Implemented Interfaces:
VesselManagePeriodDao
Direct Known Subclasses:
VesselManagePeriodDaoImpl

public abstract class VesselManagePeriodDaoBase
extends org.springframework.orm.hibernate3.support.HibernateDaoSupport
implements VesselManagePeriodDao

Base Spring DAO Class: is able to create, update, remove, load, and find objects of type fr.ifremer.allegro.administration.user.VesselManagePeriod.

See Also:
VesselManagePeriod

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.administration.user.VesselManagePeriodDao
TRANSFORM_CLUSTERVESSELMANAGEPERIOD, TRANSFORM_NONE, TRANSFORM_REMOTEVESSELMANAGEPERIODFULLVO, TRANSFORM_REMOTEVESSELMANAGEPERIODNATURALID
 
Constructor Summary
VesselManagePeriodDaoBase()
           
 
Method Summary
 void clusterVesselManagePeriodToEntity(ClusterVesselManagePeriod source, VesselManagePeriod target, boolean copyIfNull)
          Copies the fields of ClusterVesselManagePeriod to the specified entity.
 void clusterVesselManagePeriodToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type ClusterVesselManagePeriod to this DAO's entity.
 java.util.Collection create(java.util.Collection entities)
          Creates a new instance of fr.ifremer.allegro.administration.user.VesselManagePeriod and adds from the passed in entities collection
 VesselManagePeriod create(java.util.Date startDateTime, java.util.Date endDateTime, ManagedData managedData, Vessel vessel)
           Creates a new fr.ifremer.allegro.administration.user.VesselManagePeriod instance from all attributes and properties and adds it to the persistent store.
 java.util.Collection create(int transform, java.util.Collection entities)
           Does the same thing as VesselManagePeriodDao.create(fr.ifremer.allegro.administration.user.VesselManagePeriod) with an additional flag called transform.
 java.lang.Object create(int transform, java.util.Date startDateTime, java.util.Date endDateTime, ManagedData managedData, Vessel vessel)
           Does the same thing as VesselManagePeriodDao.create(java.util.Date,java.util.Date,fr.ifremer.allegro.administration.user.ManagedData,fr.ifremer.allegro.referential.vessel.Vessel) with an additional flag called transform.
 java.lang.Object create(int transform, ManagedData managedData, java.util.Date startDateTime, Vessel vessel)
           Does the same thing as VesselManagePeriodDao.create(fr.ifremer.allegro.administration.user.ManagedData,java.util.Date,fr.ifremer.allegro.referential.vessel.Vessel) with an additional flag called transform.
 java.lang.Object create(int transform, VesselManagePeriod vesselManagePeriod)
           Does the same thing as VesselManagePeriodDao.create(fr.ifremer.allegro.administration.user.VesselManagePeriod) with an additional flag called transform.
 VesselManagePeriod create(ManagedData managedData, java.util.Date startDateTime, Vessel vessel)
           Creates a new fr.ifremer.allegro.administration.user.VesselManagePeriod instance from only required properties (attributes and association ends) and adds it to the persistent store.
 VesselManagePeriod create(VesselManagePeriod vesselManagePeriod)
          Creates an instance of fr.ifremer.allegro.administration.user.VesselManagePeriod and adds it to the persistent store.
 VesselManagePeriod createFromClusterVesselManagePeriod(ClusterVesselManagePeriod clusterVesselManagePeriod)
           
 VesselManagePeriod findVesselManagePeriodByIdentifiers(java.util.Date startDateTime, ManagedData managedData, Vessel vessel)
           
 java.lang.Object findVesselManagePeriodByIdentifiers(int transform, java.util.Date startDateTime, ManagedData managedData, Vessel vessel)
           Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByIdentifiers(java.util.Date, fr.ifremer.allegro.administration.user.ManagedData, fr.ifremer.allegro.referential.vessel.Vessel) with an additional flag called transform.
 java.lang.Object findVesselManagePeriodByIdentifiers(int transform, java.lang.String queryString, java.util.Date startDateTime, ManagedData managedData, Vessel vessel)
           Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByIdentifiers(int, java.util.Date, fr.ifremer.allegro.administration.user.ManagedData, fr.ifremer.allegro.referential.vessel.Vessel) with an additional argument called queryString.
 VesselManagePeriod findVesselManagePeriodByIdentifiers(java.lang.String queryString, java.util.Date startDateTime, ManagedData managedData, Vessel vessel)
           Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByIdentifiers(java.util.Date, fr.ifremer.allegro.administration.user.ManagedData, fr.ifremer.allegro.referential.vessel.Vessel) with an additional argument called queryString.
 java.util.Collection findVesselManagePeriodByManagedData(int transform, int pageNumber, int pageSize, ManagedData managedData)
           Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByManagedData(int, fr.ifremer.allegro.administration.user.ManagedData) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findVesselManagePeriodByManagedData(int pageNumber, int pageSize, ManagedData managedData)
           Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByManagedData(fr.ifremer.allegro.administration.user.ManagedData) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findVesselManagePeriodByManagedData(int transform, ManagedData managedData)
           Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByManagedData(fr.ifremer.allegro.administration.user.ManagedData) with an additional flag called transform.
 java.util.Collection findVesselManagePeriodByManagedData(int transform, java.lang.String queryString, int pageNumber, int pageSize, ManagedData managedData)
           Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByManagedData(int, String, fr.ifremer.allegro.administration.user.ManagedData) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findVesselManagePeriodByManagedData(int transform, java.lang.String queryString, ManagedData managedData)
           Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByManagedData(int, fr.ifremer.allegro.administration.user.ManagedData) with an additional argument called queryString.
 java.util.Collection findVesselManagePeriodByManagedData(ManagedData managedData)
           
 java.util.Collection findVesselManagePeriodByManagedData(java.lang.String queryString, int pageNumber, int pageSize, ManagedData managedData)
           Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByManagedData(String, fr.ifremer.allegro.administration.user.ManagedData) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findVesselManagePeriodByManagedData(java.lang.String queryString, ManagedData managedData)
           Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByManagedData(fr.ifremer.allegro.administration.user.ManagedData) with an additional argument called queryString.
 VesselManagePeriod findVesselManagePeriodByNaturalId(java.util.Date startDateTime, ManagedData managedData, Vessel vessel)
           
 java.lang.Object findVesselManagePeriodByNaturalId(int transform, java.util.Date startDateTime, ManagedData managedData, Vessel vessel)
           Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByNaturalId(java.util.Date, fr.ifremer.allegro.administration.user.ManagedData, fr.ifremer.allegro.referential.vessel.Vessel) with an additional flag called transform.
 java.lang.Object findVesselManagePeriodByNaturalId(int transform, java.lang.String queryString, java.util.Date startDateTime, ManagedData managedData, Vessel vessel)
           Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByNaturalId(int, java.util.Date, fr.ifremer.allegro.administration.user.ManagedData, fr.ifremer.allegro.referential.vessel.Vessel) with an additional argument called queryString.
 VesselManagePeriod findVesselManagePeriodByNaturalId(java.lang.String queryString, java.util.Date startDateTime, ManagedData managedData, Vessel vessel)
           Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByNaturalId(java.util.Date, fr.ifremer.allegro.administration.user.ManagedData, fr.ifremer.allegro.referential.vessel.Vessel) with an additional argument called queryString.
 java.util.Collection findVesselManagePeriodByStartDateTime(java.util.Date startDateTime)
           
 java.util.Collection findVesselManagePeriodByStartDateTime(int transform, java.util.Date startDateTime)
           Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByStartDateTime(java.util.Date) with an additional flag called transform.
 java.util.Collection findVesselManagePeriodByStartDateTime(int pageNumber, int pageSize, java.util.Date startDateTime)
           Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByStartDateTime(java.util.Date) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findVesselManagePeriodByStartDateTime(int transform, int pageNumber, int pageSize, java.util.Date startDateTime)
           Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByStartDateTime(int, java.util.Date) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findVesselManagePeriodByStartDateTime(int transform, java.lang.String queryString, java.util.Date startDateTime)
           Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByStartDateTime(int, java.util.Date) with an additional argument called queryString.
 java.util.Collection findVesselManagePeriodByStartDateTime(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.util.Date startDateTime)
           Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByStartDateTime(int, String, java.util.Date) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findVesselManagePeriodByStartDateTime(java.lang.String queryString, java.util.Date startDateTime)
           Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByStartDateTime(java.util.Date) with an additional argument called queryString.
 java.util.Collection findVesselManagePeriodByStartDateTime(java.lang.String queryString, int pageNumber, int pageSize, java.util.Date startDateTime)
           Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByStartDateTime(String, java.util.Date) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findVesselManagePeriodByVessel(int transform, int pageNumber, int pageSize, Vessel vessel)
           Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByVessel(int, fr.ifremer.allegro.referential.vessel.Vessel) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findVesselManagePeriodByVessel(int pageNumber, int pageSize, Vessel vessel)
           Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByVessel(fr.ifremer.allegro.referential.vessel.Vessel) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findVesselManagePeriodByVessel(int transform, java.lang.String queryString, int pageNumber, int pageSize, Vessel vessel)
           Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByVessel(int, String, fr.ifremer.allegro.referential.vessel.Vessel) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findVesselManagePeriodByVessel(int transform, java.lang.String queryString, Vessel vessel)
           Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByVessel(int, fr.ifremer.allegro.referential.vessel.Vessel) with an additional argument called queryString.
 java.util.Collection findVesselManagePeriodByVessel(int transform, Vessel vessel)
           Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByVessel(fr.ifremer.allegro.referential.vessel.Vessel) with an additional flag called transform.
 java.util.Collection findVesselManagePeriodByVessel(java.lang.String queryString, int pageNumber, int pageSize, Vessel vessel)
           Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByVessel(String, fr.ifremer.allegro.referential.vessel.Vessel) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findVesselManagePeriodByVessel(java.lang.String queryString, Vessel vessel)
           Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByVessel(fr.ifremer.allegro.referential.vessel.Vessel) with an additional argument called queryString.
 java.util.Collection findVesselManagePeriodByVessel(Vessel vessel)
           
 java.util.Collection getAllVesselManagePeriod()
           
 java.util.Collection getAllVesselManagePeriod(int transform)
           Does the same thing as VesselManagePeriodDao.getAllVesselManagePeriod() with an additional flag called transform.
 java.util.Collection getAllVesselManagePeriod(int pageNumber, int pageSize)
           Does the same thing as VesselManagePeriodDao.getAllVesselManagePeriod() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllVesselManagePeriod(int transform, int pageNumber, int pageSize)
           Does the same thing as VesselManagePeriodDao.getAllVesselManagePeriod(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllVesselManagePeriod(int transform, java.lang.String queryString)
           Does the same thing as VesselManagePeriodDao.getAllVesselManagePeriod(int) with an additional argument called queryString.
 java.util.Collection getAllVesselManagePeriod(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as VesselManagePeriodDao.getAllVesselManagePeriod(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllVesselManagePeriod(java.lang.String queryString)
           Does the same thing as VesselManagePeriodDao.getAllVesselManagePeriod() with an additional argument called queryString.
 java.util.Collection getAllVesselManagePeriod(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as VesselManagePeriodDao.getAllVesselManagePeriod(String) with an additional two arguments called pageNumber and pageSize.
protected  ManagedDataDao getManagedDataDao()
          Gets the reference to managedDataDao.
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 abstract  VesselManagePeriod handleCreateFromClusterVesselManagePeriod(ClusterVesselManagePeriod clusterVesselManagePeriod)
          Performs the core logic for createFromClusterVesselManagePeriod(fr.ifremer.allegro.administration.user.generic.cluster.ClusterVesselManagePeriod)
 VesselManagePeriod load(java.util.Date startDateTime, ManagedData managedData, Vessel vessel)
          Loads an instance of fr.ifremer.allegro.administration.user.VesselManagePeriod from the persistent store.
 java.lang.Object load(int transform, java.util.Date startDateTime, ManagedData managedData, Vessel vessel)
           Does the same thing as VesselManagePeriodDao.load(java.util.Date,fr.ifremer.allegro.administration.user.ManagedData,fr.ifremer.allegro.referential.vessel.Vessel) with an additional flag called transform.
 java.util.Collection loadAll()
          Loads all entities of type VesselManagePeriod.
 java.util.Collection loadAll(int transform)
           Does the same thing as VesselManagePeriodDao.loadAll() with an additional flag called transform.
 java.util.Collection loadAll(int pageNumber, int pageSize)
           Does the same thing as VesselManagePeriodDao.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 VesselManagePeriodDao.loadAll(int) with an additional two arguments called pageNumber and pageSize.
 void remoteVesselManagePeriodFullVOToEntity(RemoteVesselManagePeriodFullVO source, VesselManagePeriod target, boolean copyIfNull)
          Copies the fields of RemoteVesselManagePeriodFullVO to the specified entity.
 void remoteVesselManagePeriodFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteVesselManagePeriodFullVO to this DAO's entity.
 void remoteVesselManagePeriodNaturalIdToEntity(RemoteVesselManagePeriodNaturalId source, VesselManagePeriod target, boolean copyIfNull)
          Copies the fields of RemoteVesselManagePeriodNaturalId to the specified entity.
 void remoteVesselManagePeriodNaturalIdToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteVesselManagePeriodNaturalId 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, ManagedData managedData, Vessel vessel)
          Removes the instance of fr.ifremer.allegro.administration.user.VesselManagePeriod having the given identifiers from the persistent store.
 void remove(VesselManagePeriod vesselManagePeriod)
          Removes the instance of fr.ifremer.allegro.administration.user.VesselManagePeriod 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 VesselManagePeriodDao.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 setManagedDataDao(ManagedDataDao managedDataDao)
          Sets the reference to managedDataDao.
 void setVesselDao(VesselDao vesselDao)
          Sets the reference to vesselDao.
protected  ClusterVesselManagePeriod toClusterVesselManagePeriod(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 ClusterVesselManagePeriod toClusterVesselManagePeriod(VesselManagePeriod entity)
          Converts this DAO's entity to an object of type ClusterVesselManagePeriod.
 void toClusterVesselManagePeriod(VesselManagePeriod source, ClusterVesselManagePeriod target)
          Copies the fields of the specified entity to the target value object.
 ClusterVesselManagePeriod[] toClusterVesselManagePeriodArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type ClusterVesselManagePeriod.
 void toClusterVesselManagePeriodCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type ClusterVesselManagePeriod.
protected  VesselManagePeriod toEntity(java.lang.Object[] row)
           
protected  RemoteVesselManagePeriodFullVO toRemoteVesselManagePeriodFullVO(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteVesselManagePeriodFullVO toRemoteVesselManagePeriodFullVO(VesselManagePeriod entity)
          Converts this DAO's entity to an object of type RemoteVesselManagePeriodFullVO.
 void toRemoteVesselManagePeriodFullVO(VesselManagePeriod source, RemoteVesselManagePeriodFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteVesselManagePeriodFullVO[] toRemoteVesselManagePeriodFullVOArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteVesselManagePeriodFullVO.
 void toRemoteVesselManagePeriodFullVOCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteVesselManagePeriodFullVO.
protected  RemoteVesselManagePeriodNaturalId toRemoteVesselManagePeriodNaturalId(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteVesselManagePeriodNaturalId toRemoteVesselManagePeriodNaturalId(VesselManagePeriod entity)
          Converts this DAO's entity to an object of type RemoteVesselManagePeriodNaturalId.
 void toRemoteVesselManagePeriodNaturalId(VesselManagePeriod source, RemoteVesselManagePeriodNaturalId target)
          Copies the fields of the specified entity to the target value object.
 RemoteVesselManagePeriodNaturalId[] toRemoteVesselManagePeriodNaturalIdArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteVesselManagePeriodNaturalId.
 void toRemoteVesselManagePeriodNaturalIdCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteVesselManagePeriodNaturalId.
protected  void transformEntities(int transform, java.util.Collection entities)
          Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.administration.user.VesselManagePeriod) method.
protected  java.lang.Object transformEntity(int transform, VesselManagePeriod 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.administration.user.VesselManagePeriodDao, please note that the VesselManagePeriodDao.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(VesselManagePeriod vesselManagePeriod)
          Updates the vesselManagePeriod 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.administration.user.VesselManagePeriodDao
clusterVesselManagePeriodToEntity, remoteVesselManagePeriodFullVOToEntity, remoteVesselManagePeriodNaturalIdToEntity
 

Constructor Detail

VesselManagePeriodDaoBase

public VesselManagePeriodDaoBase()
Method Detail

setManagedDataDao

public void setManagedDataDao(ManagedDataDao managedDataDao)
Sets the reference to managedDataDao.


getManagedDataDao

protected ManagedDataDao getManagedDataDao()
Gets the reference to managedDataDao.


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,
                             ManagedData managedData,
                             Vessel vessel)
Description copied from interface: VesselManagePeriodDao

Does the same thing as VesselManagePeriodDao.load(java.util.Date,fr.ifremer.allegro.administration.user.ManagedData,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 VesselManagePeriodDao
startDateTime - identifier of the entity to load
managedData - 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:
VesselManagePeriodDao.load(int, java.util.Date,fr.ifremer.allegro.administration.user.ManagedData,fr.ifremer.allegro.referential.vessel.Vessel)

load

public VesselManagePeriod load(java.util.Date startDateTime,
                               ManagedData managedData,
                               Vessel vessel)
Description copied from interface: VesselManagePeriodDao
Loads an instance of fr.ifremer.allegro.administration.user.VesselManagePeriod from the persistent store.

Specified by:
load in interface VesselManagePeriodDao
See Also:
VesselManagePeriodDao.load(java.util.Date,fr.ifremer.allegro.administration.user.ManagedData,fr.ifremer.allegro.referential.vessel.Vessel)

loadAll

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

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

loadAll

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

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

loadAll

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

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

loadAll

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

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

create

public VesselManagePeriod create(VesselManagePeriod vesselManagePeriod)
Description copied from interface: VesselManagePeriodDao
Creates an instance of fr.ifremer.allegro.administration.user.VesselManagePeriod and adds it to the persistent store.

Specified by:
create in interface VesselManagePeriodDao
See Also:
VesselManagePeriodDao.create(fr.ifremer.allegro.administration.user.VesselManagePeriod)

create

public java.lang.Object create(int transform,
                               VesselManagePeriod vesselManagePeriod)
Description copied from interface: VesselManagePeriodDao

Does the same thing as VesselManagePeriodDao.create(fr.ifremer.allegro.administration.user.VesselManagePeriod) 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 VesselManagePeriodDao
See Also:
VesselManagePeriodDao.create(int transform, fr.ifremer.allegro.administration.user.VesselManagePeriod)

create

public java.util.Collection create(java.util.Collection entities)
Description copied from interface: VesselManagePeriodDao
Creates a new instance of fr.ifremer.allegro.administration.user.VesselManagePeriod and adds from the passed in entities collection

Specified by:
create in interface VesselManagePeriodDao
Parameters:
entities - the collection of fr.ifremer.allegro.administration.user.VesselManagePeriod instances to create.
Returns:
the created instances.
See Also:
VesselManagePeriodDao.create(java.util.Collection)

create

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

Does the same thing as VesselManagePeriodDao.create(fr.ifremer.allegro.administration.user.VesselManagePeriod) 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 VesselManagePeriodDao
See Also:
VesselManagePeriodDao.create(int, java.util.Collection)

create

public VesselManagePeriod create(java.util.Date startDateTime,
                                 java.util.Date endDateTime,
                                 ManagedData managedData,
                                 Vessel vessel)
Description copied from interface: VesselManagePeriodDao

Creates a new fr.ifremer.allegro.administration.user.VesselManagePeriod instance from all attributes and properties and adds it to the persistent store.

Specified by:
create in interface VesselManagePeriodDao
See Also:
VesselManagePeriodDao.create(java.util.Date,java.util.Date,fr.ifremer.allegro.administration.user.ManagedData,fr.ifremer.allegro.referential.vessel.Vessel)

create

public java.lang.Object create(int transform,
                               java.util.Date startDateTime,
                               java.util.Date endDateTime,
                               ManagedData managedData,
                               Vessel vessel)
Description copied from interface: VesselManagePeriodDao

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

create

public VesselManagePeriod create(ManagedData managedData,
                                 java.util.Date startDateTime,
                                 Vessel vessel)
Description copied from interface: VesselManagePeriodDao

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

Specified by:
create in interface VesselManagePeriodDao
See Also:
VesselManagePeriodDao.create(fr.ifremer.allegro.administration.user.ManagedData,java.util.Date,fr.ifremer.allegro.referential.vessel.Vessel)

create

public java.lang.Object create(int transform,
                               ManagedData managedData,
                               java.util.Date startDateTime,
                               Vessel vessel)
Description copied from interface: VesselManagePeriodDao

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

update

public void update(VesselManagePeriod vesselManagePeriod)
Description copied from interface: VesselManagePeriodDao
Updates the vesselManagePeriod instance in the persistent store.

Specified by:
update in interface VesselManagePeriodDao
See Also:
VesselManagePeriodDao.update(fr.ifremer.allegro.administration.user.VesselManagePeriod)

update

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

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

remove

public void remove(VesselManagePeriod vesselManagePeriod)
Description copied from interface: VesselManagePeriodDao
Removes the instance of fr.ifremer.allegro.administration.user.VesselManagePeriod from the persistent store.

Specified by:
remove in interface VesselManagePeriodDao
See Also:
VesselManagePeriodDao.remove(fr.ifremer.allegro.administration.user.VesselManagePeriod)

remove

public void remove(java.util.Date startDateTime,
                   ManagedData managedData,
                   Vessel vessel)
Description copied from interface: VesselManagePeriodDao
Removes the instance of fr.ifremer.allegro.administration.user.VesselManagePeriod having the given identifiers from the persistent store.

Specified by:
remove in interface VesselManagePeriodDao
See Also:
VesselManagePeriodDao.remove(java.util.Date,fr.ifremer.allegro.administration.user.ManagedData,fr.ifremer.allegro.referential.vessel.Vessel)

remove

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

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

getAllVesselManagePeriod

public java.util.Collection getAllVesselManagePeriod()
Specified by:
getAllVesselManagePeriod in interface VesselManagePeriodDao
See Also:
VesselManagePeriodDao.getAllVesselManagePeriod()

getAllVesselManagePeriod

public java.util.Collection getAllVesselManagePeriod(int transform)
Description copied from interface: VesselManagePeriodDao

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

getAllVesselManagePeriod

public java.util.Collection getAllVesselManagePeriod(java.lang.String queryString)
Description copied from interface: VesselManagePeriodDao

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

Specified by:
getAllVesselManagePeriod in interface VesselManagePeriodDao
See Also:
VesselManagePeriodDao.getAllVesselManagePeriod(java.lang.String)

getAllVesselManagePeriod

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

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

getAllVesselManagePeriod

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

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

getAllVesselManagePeriod

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

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

Specified by:
getAllVesselManagePeriod in interface VesselManagePeriodDao
See Also:
VesselManagePeriodDao.getAllVesselManagePeriod(int, String)

getAllVesselManagePeriod

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

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

getAllVesselManagePeriod

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

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

findVesselManagePeriodByStartDateTime

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

findVesselManagePeriodByStartDateTime

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

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

findVesselManagePeriodByStartDateTime

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

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

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

findVesselManagePeriodByStartDateTime

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

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

findVesselManagePeriodByStartDateTime

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

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

findVesselManagePeriodByStartDateTime

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

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

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

findVesselManagePeriodByStartDateTime

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

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

findVesselManagePeriodByStartDateTime

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

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

findVesselManagePeriodByManagedData

public java.util.Collection findVesselManagePeriodByManagedData(ManagedData managedData)
Specified by:
findVesselManagePeriodByManagedData in interface VesselManagePeriodDao
See Also:
VesselManagePeriodDao.findVesselManagePeriodByManagedData(fr.ifremer.allegro.administration.user.ManagedData)

findVesselManagePeriodByManagedData

public java.util.Collection findVesselManagePeriodByManagedData(int transform,
                                                                ManagedData managedData)
Description copied from interface: VesselManagePeriodDao

Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByManagedData(fr.ifremer.allegro.administration.user.ManagedData) 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:
findVesselManagePeriodByManagedData in interface VesselManagePeriodDao
See Also:
VesselManagePeriodDao.findVesselManagePeriodByManagedData(int, fr.ifremer.allegro.administration.user.ManagedData)

findVesselManagePeriodByManagedData

public java.util.Collection findVesselManagePeriodByManagedData(java.lang.String queryString,
                                                                ManagedData managedData)
Description copied from interface: VesselManagePeriodDao

Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByManagedData(fr.ifremer.allegro.administration.user.ManagedData) with an additional argument called queryString. This queryString argument allows you to override the query string defined in VesselManagePeriodDao.findVesselManagePeriodByManagedData(fr.ifremer.allegro.administration.user.ManagedData).

Specified by:
findVesselManagePeriodByManagedData in interface VesselManagePeriodDao
See Also:
VesselManagePeriodDao.findVesselManagePeriodByManagedData(java.lang.String, fr.ifremer.allegro.administration.user.ManagedData)

findVesselManagePeriodByManagedData

public java.util.Collection findVesselManagePeriodByManagedData(int pageNumber,
                                                                int pageSize,
                                                                ManagedData managedData)
Description copied from interface: VesselManagePeriodDao

Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByManagedData(fr.ifremer.allegro.administration.user.ManagedData) 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:
findVesselManagePeriodByManagedData in interface VesselManagePeriodDao
See Also:
VesselManagePeriodDao.findVesselManagePeriodByManagedData(int, int, fr.ifremer.allegro.administration.user.ManagedData)

findVesselManagePeriodByManagedData

public java.util.Collection findVesselManagePeriodByManagedData(java.lang.String queryString,
                                                                int pageNumber,
                                                                int pageSize,
                                                                ManagedData managedData)
Description copied from interface: VesselManagePeriodDao

Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByManagedData(String, fr.ifremer.allegro.administration.user.ManagedData) 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:
findVesselManagePeriodByManagedData in interface VesselManagePeriodDao
See Also:
VesselManagePeriodDao.findVesselManagePeriodByManagedData(String, int, int, fr.ifremer.allegro.administration.user.ManagedData)

findVesselManagePeriodByManagedData

public java.util.Collection findVesselManagePeriodByManagedData(int transform,
                                                                java.lang.String queryString,
                                                                ManagedData managedData)
Description copied from interface: VesselManagePeriodDao

Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByManagedData(int, fr.ifremer.allegro.administration.user.ManagedData) with an additional argument called queryString. This queryString argument allows you to override the query string defined in VesselManagePeriodDao.findVesselManagePeriodByManagedData(int, fr.ifremer.allegro.administration.user.ManagedData managedData).

Specified by:
findVesselManagePeriodByManagedData in interface VesselManagePeriodDao
See Also:
VesselManagePeriodDao.findVesselManagePeriodByManagedData(int, String, fr.ifremer.allegro.administration.user.ManagedData)

findVesselManagePeriodByManagedData

public java.util.Collection findVesselManagePeriodByManagedData(int transform,
                                                                int pageNumber,
                                                                int pageSize,
                                                                ManagedData managedData)
Description copied from interface: VesselManagePeriodDao

Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByManagedData(int, fr.ifremer.allegro.administration.user.ManagedData) 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:
findVesselManagePeriodByManagedData in interface VesselManagePeriodDao
See Also:
VesselManagePeriodDao.findVesselManagePeriodByManagedData(int, int, int, fr.ifremer.allegro.administration.user.ManagedData)

findVesselManagePeriodByManagedData

public java.util.Collection findVesselManagePeriodByManagedData(int transform,
                                                                java.lang.String queryString,
                                                                int pageNumber,
                                                                int pageSize,
                                                                ManagedData managedData)
Description copied from interface: VesselManagePeriodDao

Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByManagedData(int, String, fr.ifremer.allegro.administration.user.ManagedData) 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:
findVesselManagePeriodByManagedData in interface VesselManagePeriodDao
See Also:
VesselManagePeriodDao.findVesselManagePeriodByManagedData(int, java.lang.String, int, int, fr.ifremer.allegro.administration.user.ManagedData)

findVesselManagePeriodByVessel

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

findVesselManagePeriodByVessel

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

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

findVesselManagePeriodByVessel

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

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

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

findVesselManagePeriodByVessel

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

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

findVesselManagePeriodByVessel

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

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

findVesselManagePeriodByVessel

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

Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByVessel(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 VesselManagePeriodDao.findVesselManagePeriodByVessel(int, fr.ifremer.allegro.referential.vessel.Vessel vessel).

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

findVesselManagePeriodByVessel

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

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

findVesselManagePeriodByVessel

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

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

findVesselManagePeriodByIdentifiers

public VesselManagePeriod findVesselManagePeriodByIdentifiers(java.util.Date startDateTime,
                                                              ManagedData managedData,
                                                              Vessel vessel)
Specified by:
findVesselManagePeriodByIdentifiers in interface VesselManagePeriodDao
See Also:
VesselManagePeriodDao.findVesselManagePeriodByIdentifiers(java.util.Date, fr.ifremer.allegro.administration.user.ManagedData, fr.ifremer.allegro.referential.vessel.Vessel)

findVesselManagePeriodByIdentifiers

public java.lang.Object findVesselManagePeriodByIdentifiers(int transform,
                                                            java.util.Date startDateTime,
                                                            ManagedData managedData,
                                                            Vessel vessel)
Description copied from interface: VesselManagePeriodDao

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

findVesselManagePeriodByIdentifiers

public VesselManagePeriod findVesselManagePeriodByIdentifiers(java.lang.String queryString,
                                                              java.util.Date startDateTime,
                                                              ManagedData managedData,
                                                              Vessel vessel)
Description copied from interface: VesselManagePeriodDao

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

Specified by:
findVesselManagePeriodByIdentifiers in interface VesselManagePeriodDao
See Also:
VesselManagePeriodDao.findVesselManagePeriodByIdentifiers(java.lang.String, java.util.Date, fr.ifremer.allegro.administration.user.ManagedData, fr.ifremer.allegro.referential.vessel.Vessel)

findVesselManagePeriodByIdentifiers

public java.lang.Object findVesselManagePeriodByIdentifiers(int transform,
                                                            java.lang.String queryString,
                                                            java.util.Date startDateTime,
                                                            ManagedData managedData,
                                                            Vessel vessel)
Description copied from interface: VesselManagePeriodDao

Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByIdentifiers(int, java.util.Date, fr.ifremer.allegro.administration.user.ManagedData, fr.ifremer.allegro.referential.vessel.Vessel) with an additional argument called queryString. This queryString argument allows you to override the query string defined in VesselManagePeriodDao.findVesselManagePeriodByIdentifiers(int, java.util.Date startDateTime, fr.ifremer.allegro.administration.user.ManagedData managedData, fr.ifremer.allegro.referential.vessel.Vessel vessel).

Specified by:
findVesselManagePeriodByIdentifiers in interface VesselManagePeriodDao
See Also:
VesselManagePeriodDao.findVesselManagePeriodByIdentifiers(int, java.lang.String, java.util.Date, fr.ifremer.allegro.administration.user.ManagedData, fr.ifremer.allegro.referential.vessel.Vessel)

findVesselManagePeriodByNaturalId

public VesselManagePeriod findVesselManagePeriodByNaturalId(java.util.Date startDateTime,
                                                            ManagedData managedData,
                                                            Vessel vessel)
Specified by:
findVesselManagePeriodByNaturalId in interface VesselManagePeriodDao
See Also:
VesselManagePeriodDao.findVesselManagePeriodByNaturalId(java.util.Date, fr.ifremer.allegro.administration.user.ManagedData, fr.ifremer.allegro.referential.vessel.Vessel)

findVesselManagePeriodByNaturalId

public java.lang.Object findVesselManagePeriodByNaturalId(int transform,
                                                          java.util.Date startDateTime,
                                                          ManagedData managedData,
                                                          Vessel vessel)
Description copied from interface: VesselManagePeriodDao

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

findVesselManagePeriodByNaturalId

public VesselManagePeriod findVesselManagePeriodByNaturalId(java.lang.String queryString,
                                                            java.util.Date startDateTime,
                                                            ManagedData managedData,
                                                            Vessel vessel)
Description copied from interface: VesselManagePeriodDao

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

Specified by:
findVesselManagePeriodByNaturalId in interface VesselManagePeriodDao
See Also:
VesselManagePeriodDao.findVesselManagePeriodByNaturalId(java.lang.String, java.util.Date, fr.ifremer.allegro.administration.user.ManagedData, fr.ifremer.allegro.referential.vessel.Vessel)

findVesselManagePeriodByNaturalId

public java.lang.Object findVesselManagePeriodByNaturalId(int transform,
                                                          java.lang.String queryString,
                                                          java.util.Date startDateTime,
                                                          ManagedData managedData,
                                                          Vessel vessel)
Description copied from interface: VesselManagePeriodDao

Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByNaturalId(int, java.util.Date, fr.ifremer.allegro.administration.user.ManagedData, fr.ifremer.allegro.referential.vessel.Vessel) with an additional argument called queryString. This queryString argument allows you to override the query string defined in VesselManagePeriodDao.findVesselManagePeriodByNaturalId(int, java.util.Date startDateTime, fr.ifremer.allegro.administration.user.ManagedData managedData, fr.ifremer.allegro.referential.vessel.Vessel vessel).

Specified by:
findVesselManagePeriodByNaturalId in interface VesselManagePeriodDao
See Also:
VesselManagePeriodDao.findVesselManagePeriodByNaturalId(int, java.lang.String, java.util.Date, fr.ifremer.allegro.administration.user.ManagedData, fr.ifremer.allegro.referential.vessel.Vessel)

createFromClusterVesselManagePeriod

public VesselManagePeriod createFromClusterVesselManagePeriod(ClusterVesselManagePeriod clusterVesselManagePeriod)
Specified by:
createFromClusterVesselManagePeriod in interface VesselManagePeriodDao
See Also:
VesselManagePeriodDao.createFromClusterVesselManagePeriod(fr.ifremer.allegro.administration.user.generic.cluster.ClusterVesselManagePeriod)

handleCreateFromClusterVesselManagePeriod

protected abstract VesselManagePeriod handleCreateFromClusterVesselManagePeriod(ClusterVesselManagePeriod clusterVesselManagePeriod)
                                                                         throws java.lang.Exception
Performs the core logic for createFromClusterVesselManagePeriod(fr.ifremer.allegro.administration.user.generic.cluster.ClusterVesselManagePeriod)

Throws:
java.lang.Exception

transformEntity

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

Parameters:
transform - one of the constants declared in VesselManagePeriodDao
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.administration.user.VesselManagePeriod) 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.administration.user.VesselManagePeriodDao
entities - the collection of entities to transform
See Also:
transformEntity(int,fr.ifremer.allegro.administration.user.VesselManagePeriod)

toEntity

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

toRemoteVesselManagePeriodFullVOCollection

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

Specified by:
toRemoteVesselManagePeriodFullVOCollection in interface VesselManagePeriodDao
See Also:
VesselManagePeriodDao.toRemoteVesselManagePeriodFullVOCollection(java.util.Collection)

toRemoteVesselManagePeriodFullVOArray

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

Specified by:
toRemoteVesselManagePeriodFullVOArray in interface VesselManagePeriodDao
See Also:
VesselManagePeriodDao.toRemoteVesselManagePeriodFullVOArray(java.util.Collection)

toRemoteVesselManagePeriodFullVO

protected RemoteVesselManagePeriodFullVO toRemoteVesselManagePeriodFullVO(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 VesselManagePeriodDaoImpl class if you intend to use reporting queries.

See Also:
VesselManagePeriodDao.toRemoteVesselManagePeriodFullVO(fr.ifremer.allegro.administration.user.VesselManagePeriod)

remoteVesselManagePeriodFullVOToEntityCollection

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

Specified by:
remoteVesselManagePeriodFullVOToEntityCollection in interface VesselManagePeriodDao
See Also:
VesselManagePeriodDao.remoteVesselManagePeriodFullVOToEntityCollection(java.util.Collection)

toRemoteVesselManagePeriodFullVO

public void toRemoteVesselManagePeriodFullVO(VesselManagePeriod source,
                                             RemoteVesselManagePeriodFullVO target)
Description copied from interface: VesselManagePeriodDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteVesselManagePeriodFullVO(), 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:
toRemoteVesselManagePeriodFullVO in interface VesselManagePeriodDao
See Also:
VesselManagePeriodDao.toRemoteVesselManagePeriodFullVO(fr.ifremer.allegro.administration.user.VesselManagePeriod, fr.ifremer.allegro.administration.user.generic.vo.RemoteVesselManagePeriodFullVO)

toRemoteVesselManagePeriodFullVO

public RemoteVesselManagePeriodFullVO toRemoteVesselManagePeriodFullVO(VesselManagePeriod entity)
Description copied from interface: VesselManagePeriodDao
Converts this DAO's entity to an object of type RemoteVesselManagePeriodFullVO.

Specified by:
toRemoteVesselManagePeriodFullVO in interface VesselManagePeriodDao
See Also:
VesselManagePeriodDao.toRemoteVesselManagePeriodFullVO(fr.ifremer.allegro.administration.user.VesselManagePeriod)

remoteVesselManagePeriodFullVOToEntity

public void remoteVesselManagePeriodFullVOToEntity(RemoteVesselManagePeriodFullVO source,
                                                   VesselManagePeriod target,
                                                   boolean copyIfNull)
Description copied from interface: VesselManagePeriodDao
Copies the fields of RemoteVesselManagePeriodFullVO to the specified entity.

Specified by:
remoteVesselManagePeriodFullVOToEntity in interface VesselManagePeriodDao
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.administration.user.VesselManagePeriodDao#remoteVesselManagePeriodFullVOToEntity(fr.ifremer.allegro.administration.user.generic.vo.RemoteVesselManagePeriodFullVO, fr.ifremer.allegro.administration.user.VesselManagePeriod)

toRemoteVesselManagePeriodNaturalIdCollection

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

Specified by:
toRemoteVesselManagePeriodNaturalIdCollection in interface VesselManagePeriodDao
See Also:
VesselManagePeriodDao.toRemoteVesselManagePeriodNaturalIdCollection(java.util.Collection)

toRemoteVesselManagePeriodNaturalIdArray

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

Specified by:
toRemoteVesselManagePeriodNaturalIdArray in interface VesselManagePeriodDao
See Also:
VesselManagePeriodDao.toRemoteVesselManagePeriodNaturalIdArray(java.util.Collection)

toRemoteVesselManagePeriodNaturalId

protected RemoteVesselManagePeriodNaturalId toRemoteVesselManagePeriodNaturalId(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 VesselManagePeriodDaoImpl class if you intend to use reporting queries.

See Also:
VesselManagePeriodDao.toRemoteVesselManagePeriodNaturalId(fr.ifremer.allegro.administration.user.VesselManagePeriod)

remoteVesselManagePeriodNaturalIdToEntityCollection

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

Specified by:
remoteVesselManagePeriodNaturalIdToEntityCollection in interface VesselManagePeriodDao
See Also:
VesselManagePeriodDao.remoteVesselManagePeriodNaturalIdToEntityCollection(java.util.Collection)

toRemoteVesselManagePeriodNaturalId

public void toRemoteVesselManagePeriodNaturalId(VesselManagePeriod source,
                                                RemoteVesselManagePeriodNaturalId target)
Description copied from interface: VesselManagePeriodDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteVesselManagePeriodNaturalId(), 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:
toRemoteVesselManagePeriodNaturalId in interface VesselManagePeriodDao
See Also:
VesselManagePeriodDao.toRemoteVesselManagePeriodNaturalId(fr.ifremer.allegro.administration.user.VesselManagePeriod, fr.ifremer.allegro.administration.user.generic.vo.RemoteVesselManagePeriodNaturalId)

toRemoteVesselManagePeriodNaturalId

public RemoteVesselManagePeriodNaturalId toRemoteVesselManagePeriodNaturalId(VesselManagePeriod entity)
Description copied from interface: VesselManagePeriodDao
Converts this DAO's entity to an object of type RemoteVesselManagePeriodNaturalId.

Specified by:
toRemoteVesselManagePeriodNaturalId in interface VesselManagePeriodDao
See Also:
VesselManagePeriodDao.toRemoteVesselManagePeriodNaturalId(fr.ifremer.allegro.administration.user.VesselManagePeriod)

remoteVesselManagePeriodNaturalIdToEntity

public void remoteVesselManagePeriodNaturalIdToEntity(RemoteVesselManagePeriodNaturalId source,
                                                      VesselManagePeriod target,
                                                      boolean copyIfNull)
Description copied from interface: VesselManagePeriodDao
Copies the fields of RemoteVesselManagePeriodNaturalId to the specified entity.

Specified by:
remoteVesselManagePeriodNaturalIdToEntity in interface VesselManagePeriodDao
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.administration.user.VesselManagePeriodDao#remoteVesselManagePeriodNaturalIdToEntity(fr.ifremer.allegro.administration.user.generic.vo.RemoteVesselManagePeriodNaturalId, fr.ifremer.allegro.administration.user.VesselManagePeriod)

toClusterVesselManagePeriodCollection

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

Specified by:
toClusterVesselManagePeriodCollection in interface VesselManagePeriodDao
See Also:
VesselManagePeriodDao.toClusterVesselManagePeriodCollection(java.util.Collection)

toClusterVesselManagePeriodArray

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

Specified by:
toClusterVesselManagePeriodArray in interface VesselManagePeriodDao
See Also:
VesselManagePeriodDao.toClusterVesselManagePeriodArray(java.util.Collection)

toClusterVesselManagePeriod

protected ClusterVesselManagePeriod toClusterVesselManagePeriod(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 VesselManagePeriodDaoImpl class if you intend to use reporting queries.

See Also:
VesselManagePeriodDao.toClusterVesselManagePeriod(fr.ifremer.allegro.administration.user.VesselManagePeriod)

clusterVesselManagePeriodToEntityCollection

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

Specified by:
clusterVesselManagePeriodToEntityCollection in interface VesselManagePeriodDao
See Also:
VesselManagePeriodDao.clusterVesselManagePeriodToEntityCollection(java.util.Collection)

toClusterVesselManagePeriod

public void toClusterVesselManagePeriod(VesselManagePeriod source,
                                        ClusterVesselManagePeriod target)
Description copied from interface: VesselManagePeriodDao
Copies the fields of the specified entity to the target value object. This method is similar to toClusterVesselManagePeriod(), 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:
toClusterVesselManagePeriod in interface VesselManagePeriodDao
See Also:
VesselManagePeriodDao.toClusterVesselManagePeriod(fr.ifremer.allegro.administration.user.VesselManagePeriod, fr.ifremer.allegro.administration.user.generic.cluster.ClusterVesselManagePeriod)

toClusterVesselManagePeriod

public ClusterVesselManagePeriod toClusterVesselManagePeriod(VesselManagePeriod entity)
Description copied from interface: VesselManagePeriodDao
Converts this DAO's entity to an object of type ClusterVesselManagePeriod.

Specified by:
toClusterVesselManagePeriod in interface VesselManagePeriodDao
See Also:
VesselManagePeriodDao.toClusterVesselManagePeriod(fr.ifremer.allegro.administration.user.VesselManagePeriod)

clusterVesselManagePeriodToEntity

public void clusterVesselManagePeriodToEntity(ClusterVesselManagePeriod source,
                                              VesselManagePeriod target,
                                              boolean copyIfNull)
Description copied from interface: VesselManagePeriodDao
Copies the fields of ClusterVesselManagePeriod to the specified entity.

Specified by:
clusterVesselManagePeriodToEntity in interface VesselManagePeriodDao
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.administration.user.VesselManagePeriodDao#clusterVesselManagePeriodToEntity(fr.ifremer.allegro.administration.user.generic.cluster.ClusterVesselManagePeriod, fr.ifremer.allegro.administration.user.VesselManagePeriod)

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

search

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

search

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

search

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

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


Copyright © 2008-2010 IFREMER. All Rights Reserved.