fr.ifremer.allegro.referential.vessel
Class PleasureBoatDaoBase

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.referential.vessel.VesselDaoBase
          extended by fr.ifremer.allegro.referential.vessel.VesselDaoImpl
              extended by fr.ifremer.allegro.referential.vessel.PleasureBoatDaoBase
All Implemented Interfaces:
PleasureBoatDao, VesselDao
Direct Known Subclasses:
PleasureBoatDaoImpl

public abstract class PleasureBoatDaoBase
extends VesselDaoImpl
implements PleasureBoatDao

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

See Also:
PleasureBoat

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.vessel.PleasureBoatDao
TRANSFORM_CLUSTERPLEASUREBOAT, TRANSFORM_REMOTEPLEASUREBOATFULLVO, TRANSFORM_REMOTEPLEASUREBOATNATURALID
 
Fields inherited from interface fr.ifremer.allegro.referential.vessel.VesselDao
TRANSFORM_CLUSTERVESSEL, TRANSFORM_NONE, TRANSFORM_REMOTEVESSELFULLVO, TRANSFORM_REMOTEVESSELNATURALID
 
Constructor Summary
PleasureBoatDaoBase()
           
 
Method Summary
 void clusterPleasureBoatToEntity(ClusterPleasureBoat source, PleasureBoat target, boolean copyIfNull)
          Copies the fields of ClusterPleasureBoat to the specified entity.
 void clusterPleasureBoatToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type ClusterPleasureBoat to this DAO's entity.
 java.util.Collection create(java.util.Collection entities)
          Creates a new instance of fr.ifremer.allegro.referential.vessel.PleasureBoat and adds from the passed in entities collection
 java.util.Collection create(int transform, java.util.Collection entities)
           Does the same thing as PleasureBoatDao.create(fr.ifremer.allegro.referential.vessel.PleasureBoat) with an additional flag called transform.
 java.lang.Object create(int transform, PleasureBoat pleasureBoat)
           Does the same thing as PleasureBoatDao.create(fr.ifremer.allegro.referential.vessel.PleasureBoat) with an additional flag called transform.
 java.lang.Object create(int transform, java.lang.String code, Status status, VesselType vesselType)
           Does the same thing as PleasureBoatDao.create(java.lang.String,fr.ifremer.allegro.referential.Status,fr.ifremer.allegro.referential.VesselType) with an additional flag called transform.
 java.lang.Object create(int transform, java.lang.String code, java.sql.Timestamp updateDate, java.util.Collection rightToProduces, java.util.Collection vesselOwnerPeriods, java.util.Collection vesselRegistrationPeriods, Status status, VesselType vesselType)
           Does the same thing as PleasureBoatDao.create(java.lang.String,java.sql.Timestamp,java.util.Collection,java.util.Collection,java.util.Collection,fr.ifremer.allegro.referential.Status,fr.ifremer.allegro.referential.VesselType) with an additional flag called transform.
 PleasureBoat create(PleasureBoat pleasureBoat)
          Creates an instance of fr.ifremer.allegro.referential.vessel.PleasureBoat and adds it to the persistent store.
 PleasureBoat create(java.lang.String code, Status status, VesselType vesselType)
           Creates a new fr.ifremer.allegro.referential.vessel.PleasureBoat instance from only required properties (attributes and association ends) and adds it to the persistent store.
 PleasureBoat create(java.lang.String code, java.sql.Timestamp updateDate, java.util.Collection rightToProduces, java.util.Collection vesselOwnerPeriods, java.util.Collection vesselRegistrationPeriods, Status status, VesselType vesselType)
           Creates a new fr.ifremer.allegro.referential.vessel.PleasureBoat instance from all attributes and properties and adds it to the persistent store.
 PleasureBoat createFromClusterPleasureBoat(ClusterPleasureBoat clusterPleasureBoat)
           
 java.lang.Object findPleasureBoatByCode(int transform, java.lang.String code)
           Does the same thing as PleasureBoatDao.findPleasureBoatByCode(java.lang.String) with an additional flag called transform.
 java.lang.Object findPleasureBoatByCode(int transform, java.lang.String queryString, java.lang.String code)
           Does the same thing as PleasureBoatDao.findPleasureBoatByCode(int, java.lang.String) with an additional argument called queryString.
 PleasureBoat findPleasureBoatByCode(java.lang.String code)
           
 PleasureBoat findPleasureBoatByCode(java.lang.String queryString, java.lang.String code)
           Does the same thing as PleasureBoatDao.findPleasureBoatByCode(java.lang.String) with an additional argument called queryString.
 java.lang.Object findPleasureBoatByNaturalId(int transform, java.lang.String code)
           Does the same thing as PleasureBoatDao.findPleasureBoatByNaturalId(java.lang.String) with an additional flag called transform.
 java.lang.Object findPleasureBoatByNaturalId(int transform, java.lang.String queryString, java.lang.String code)
           Does the same thing as PleasureBoatDao.findPleasureBoatByNaturalId(int, java.lang.String) with an additional argument called queryString.
 PleasureBoat findPleasureBoatByNaturalId(java.lang.String code)
           
 PleasureBoat findPleasureBoatByNaturalId(java.lang.String queryString, java.lang.String code)
           Does the same thing as PleasureBoatDao.findPleasureBoatByNaturalId(java.lang.String) with an additional argument called queryString.
 java.util.Collection findPleasureBoatByStatus(int transform, int pageNumber, int pageSize, Status status)
           Does the same thing as PleasureBoatDao.findPleasureBoatByStatus(int, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findPleasureBoatByStatus(int pageNumber, int pageSize, Status status)
           Does the same thing as PleasureBoatDao.findPleasureBoatByStatus(fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findPleasureBoatByStatus(int transform, Status status)
           Does the same thing as PleasureBoatDao.findPleasureBoatByStatus(fr.ifremer.allegro.referential.Status) with an additional flag called transform.
 java.util.Collection findPleasureBoatByStatus(int transform, java.lang.String queryString, int pageNumber, int pageSize, Status status)
           Does the same thing as PleasureBoatDao.findPleasureBoatByStatus(int, String, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findPleasureBoatByStatus(int transform, java.lang.String queryString, Status status)
           Does the same thing as PleasureBoatDao.findPleasureBoatByStatus(int, fr.ifremer.allegro.referential.Status) with an additional argument called queryString.
 java.util.Collection findPleasureBoatByStatus(Status status)
           
 java.util.Collection findPleasureBoatByStatus(java.lang.String queryString, int pageNumber, int pageSize, Status status)
           Does the same thing as PleasureBoatDao.findPleasureBoatByStatus(String, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findPleasureBoatByStatus(java.lang.String queryString, Status status)
           Does the same thing as PleasureBoatDao.findPleasureBoatByStatus(fr.ifremer.allegro.referential.Status) with an additional argument called queryString.
 java.util.Collection findPleasureBoatByVesselType(int transform, int pageNumber, int pageSize, VesselType vesselType)
           Does the same thing as PleasureBoatDao.findPleasureBoatByVesselType(int, fr.ifremer.allegro.referential.VesselType) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findPleasureBoatByVesselType(int pageNumber, int pageSize, VesselType vesselType)
           Does the same thing as PleasureBoatDao.findPleasureBoatByVesselType(fr.ifremer.allegro.referential.VesselType) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findPleasureBoatByVesselType(int transform, java.lang.String queryString, int pageNumber, int pageSize, VesselType vesselType)
           Does the same thing as PleasureBoatDao.findPleasureBoatByVesselType(int, String, fr.ifremer.allegro.referential.VesselType) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findPleasureBoatByVesselType(int transform, java.lang.String queryString, VesselType vesselType)
           Does the same thing as PleasureBoatDao.findPleasureBoatByVesselType(int, fr.ifremer.allegro.referential.VesselType) with an additional argument called queryString.
 java.util.Collection findPleasureBoatByVesselType(int transform, VesselType vesselType)
           Does the same thing as PleasureBoatDao.findPleasureBoatByVesselType(fr.ifremer.allegro.referential.VesselType) with an additional flag called transform.
 java.util.Collection findPleasureBoatByVesselType(java.lang.String queryString, int pageNumber, int pageSize, VesselType vesselType)
           Does the same thing as PleasureBoatDao.findPleasureBoatByVesselType(String, fr.ifremer.allegro.referential.VesselType) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findPleasureBoatByVesselType(java.lang.String queryString, VesselType vesselType)
           Does the same thing as PleasureBoatDao.findPleasureBoatByVesselType(fr.ifremer.allegro.referential.VesselType) with an additional argument called queryString.
 java.util.Collection findPleasureBoatByVesselType(VesselType vesselType)
           
 java.lang.Object findVesselByCode(int transform, java.lang.String code)
           Does the same thing as VesselDao.findVesselByCode(java.lang.String) with an additional flag called transform.
 java.lang.Object findVesselByCode(int transform, java.lang.String queryString, java.lang.String code)
           Does the same thing as VesselDao.findVesselByCode(int, java.lang.String) with an additional argument called queryString.
 Vessel findVesselByCode(java.lang.String code)
           
 Vessel findVesselByCode(java.lang.String queryString, java.lang.String code)
           Does the same thing as VesselDao.findVesselByCode(java.lang.String) with an additional argument called queryString.
 java.lang.Object findVesselByNaturalId(int transform, java.lang.String code)
           Does the same thing as VesselDao.findVesselByNaturalId(java.lang.String) with an additional flag called transform.
 java.lang.Object findVesselByNaturalId(int transform, java.lang.String queryString, java.lang.String code)
           Does the same thing as VesselDao.findVesselByNaturalId(int, java.lang.String) with an additional argument called queryString.
 Vessel findVesselByNaturalId(java.lang.String code)
           
 Vessel findVesselByNaturalId(java.lang.String queryString, java.lang.String code)
           Does the same thing as VesselDao.findVesselByNaturalId(java.lang.String) with an additional argument called queryString.
 java.util.Collection findVesselByStatus(int transform, int pageNumber, int pageSize, Status status)
           Does the same thing as VesselDao.findVesselByStatus(int, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findVesselByStatus(int pageNumber, int pageSize, Status status)
           Does the same thing as VesselDao.findVesselByStatus(fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findVesselByStatus(int transform, Status status)
           Does the same thing as VesselDao.findVesselByStatus(fr.ifremer.allegro.referential.Status) with an additional flag called transform.
 java.util.Collection findVesselByStatus(int transform, java.lang.String queryString, int pageNumber, int pageSize, Status status)
           Does the same thing as VesselDao.findVesselByStatus(int, String, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findVesselByStatus(int transform, java.lang.String queryString, Status status)
           Does the same thing as VesselDao.findVesselByStatus(int, fr.ifremer.allegro.referential.Status) with an additional argument called queryString.
 java.util.Collection findVesselByStatus(Status status)
           
 java.util.Collection findVesselByStatus(java.lang.String queryString, int pageNumber, int pageSize, Status status)
           Does the same thing as VesselDao.findVesselByStatus(String, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findVesselByStatus(java.lang.String queryString, Status status)
           Does the same thing as VesselDao.findVesselByStatus(fr.ifremer.allegro.referential.Status) with an additional argument called queryString.
 java.util.Collection findVesselByVesselType(int transform, int pageNumber, int pageSize, VesselType vesselType)
           Does the same thing as VesselDao.findVesselByVesselType(int, fr.ifremer.allegro.referential.VesselType) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findVesselByVesselType(int pageNumber, int pageSize, VesselType vesselType)
           Does the same thing as VesselDao.findVesselByVesselType(fr.ifremer.allegro.referential.VesselType) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findVesselByVesselType(int transform, java.lang.String queryString, int pageNumber, int pageSize, VesselType vesselType)
           Does the same thing as VesselDao.findVesselByVesselType(int, String, fr.ifremer.allegro.referential.VesselType) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findVesselByVesselType(int transform, java.lang.String queryString, VesselType vesselType)
           Does the same thing as VesselDao.findVesselByVesselType(int, fr.ifremer.allegro.referential.VesselType) with an additional argument called queryString.
 java.util.Collection findVesselByVesselType(int transform, VesselType vesselType)
           Does the same thing as VesselDao.findVesselByVesselType(fr.ifremer.allegro.referential.VesselType) with an additional flag called transform.
 java.util.Collection findVesselByVesselType(java.lang.String queryString, int pageNumber, int pageSize, VesselType vesselType)
           Does the same thing as VesselDao.findVesselByVesselType(String, fr.ifremer.allegro.referential.VesselType) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findVesselByVesselType(java.lang.String queryString, VesselType vesselType)
           Does the same thing as VesselDao.findVesselByVesselType(fr.ifremer.allegro.referential.VesselType) with an additional argument called queryString.
 java.util.Collection findVesselByVesselType(VesselType vesselType)
           
 ClusterPleasureBoat[] getAllClusterPleasureBoatSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
 java.util.Collection getAllPleasureBoat()
           
 java.util.Collection getAllPleasureBoat(int transform)
           Does the same thing as PleasureBoatDao.getAllPleasureBoat() with an additional flag called transform.
 java.util.Collection getAllPleasureBoat(int pageNumber, int pageSize)
           Does the same thing as PleasureBoatDao.getAllPleasureBoat() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllPleasureBoat(int transform, int pageNumber, int pageSize)
           Does the same thing as PleasureBoatDao.getAllPleasureBoat(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllPleasureBoat(int transform, java.lang.String queryString)
           Does the same thing as PleasureBoatDao.getAllPleasureBoat(int) with an additional argument called queryString.
 java.util.Collection getAllPleasureBoat(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as PleasureBoatDao.getAllPleasureBoat(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllPleasureBoat(java.lang.String queryString)
           Does the same thing as PleasureBoatDao.getAllPleasureBoat() with an additional argument called queryString.
 java.util.Collection getAllPleasureBoat(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as PleasureBoatDao.getAllPleasureBoat(String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllPleasureBoatSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as PleasureBoatDao.getAllPleasureBoatSinceDateSynchro(int, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllPleasureBoatSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as PleasureBoatDao.getAllPleasureBoatSinceDateSynchro(java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllPleasureBoatSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as PleasureBoatDao.getAllPleasureBoatSinceDateSynchro(int, String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllPleasureBoatSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as PleasureBoatDao.getAllPleasureBoatSinceDateSynchro(int, java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllPleasureBoatSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
           Does the same thing as PleasureBoatDao.getAllPleasureBoatSinceDateSynchro(java.sql.Timestamp) with an additional flag called transform.
 java.util.Collection getAllPleasureBoatSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as PleasureBoatDao.getAllPleasureBoatSinceDateSynchro(String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllPleasureBoatSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as PleasureBoatDao.getAllPleasureBoatSinceDateSynchro(java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllPleasureBoatSinceDateSynchro(java.sql.Timestamp updateDate)
           
 java.util.Collection getAllVessel()
           
 java.util.Collection getAllVessel(int transform)
           Does the same thing as VesselDao.getAllVessel() with an additional flag called transform.
 java.util.Collection getAllVessel(int pageNumber, int pageSize)
           Does the same thing as VesselDao.getAllVessel() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllVessel(int transform, int pageNumber, int pageSize)
           Does the same thing as VesselDao.getAllVessel(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllVessel(int transform, java.lang.String queryString)
           Does the same thing as VesselDao.getAllVessel(int) with an additional argument called queryString.
 java.util.Collection getAllVessel(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as VesselDao.getAllVessel(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllVessel(java.lang.String queryString)
           Does the same thing as VesselDao.getAllVessel() with an additional argument called queryString.
 java.util.Collection getAllVessel(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as VesselDao.getAllVessel(String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllVesselSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as VesselDao.getAllVesselSinceDateSynchro(int, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllVesselSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as VesselDao.getAllVesselSinceDateSynchro(java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllVesselSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as VesselDao.getAllVesselSinceDateSynchro(int, String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllVesselSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as VesselDao.getAllVesselSinceDateSynchro(int, java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllVesselSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
           Does the same thing as VesselDao.getAllVesselSinceDateSynchro(java.sql.Timestamp) with an additional flag called transform.
 java.util.Collection getAllVesselSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as VesselDao.getAllVesselSinceDateSynchro(String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllVesselSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as VesselDao.getAllVesselSinceDateSynchro(java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllVesselSinceDateSynchro(java.sql.Timestamp updateDate)
           
protected  java.security.Principal getPrincipal()
          Gets the current principal if one has been set, otherwise returns null.
protected abstract  PleasureBoat handleCreateFromClusterPleasureBoat(ClusterPleasureBoat clusterPleasureBoat)
          Performs the core logic for createFromClusterPleasureBoat(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterPleasureBoat)
protected abstract  ClusterPleasureBoat[] handleGetAllClusterPleasureBoatSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
          Performs the core logic for getAllClusterPleasureBoatSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 java.lang.Object load(int transform, java.lang.String code)
           Does the same thing as VesselDao.load(java.lang.String) with an additional flag called transform.
 PleasureBoat load(java.lang.String code)
          Loads an instance of fr.ifremer.allegro.referential.vessel.Vessel from the persistent store.
 java.util.Collection loadAll()
          Loads all entities of type Vessel.
 java.util.Collection loadAll(int transform)
           Does the same thing as VesselDao.loadAll() with an additional flag called transform.
 java.util.Collection loadAll(int pageNumber, int pageSize)
           Does the same thing as VesselDao.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 VesselDao.loadAll(int) with an additional two arguments called pageNumber and pageSize.
 void remotePleasureBoatFullVOToEntity(RemotePleasureBoatFullVO source, PleasureBoat target, boolean copyIfNull)
          Copies the fields of RemotePleasureBoatFullVO to the specified entity.
 void remotePleasureBoatFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemotePleasureBoatFullVO to this DAO's entity.
 void remotePleasureBoatNaturalIdToEntity(RemotePleasureBoatNaturalId source, PleasureBoat target, boolean copyIfNull)
          Copies the fields of RemotePleasureBoatNaturalId to the specified entity.
 void remotePleasureBoatNaturalIdToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemotePleasureBoatNaturalId to this DAO's entity.
 void remove(java.util.Collection entities)
          Removes all entities in the given entities collection.
 void remove(PleasureBoat pleasureBoat)
          Removes the instance of fr.ifremer.allegro.referential.vessel.PleasureBoat from the persistent store.
 void remove(java.lang.String code)
          Removes the instance of fr.ifremer.allegro.referential.vessel.Vessel having the given identifier 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 VesselDao.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.
protected  ClusterPleasureBoat toClusterPleasureBoat(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 ClusterPleasureBoat toClusterPleasureBoat(PleasureBoat entity)
          Converts this DAO's entity to an object of type ClusterPleasureBoat.
 void toClusterPleasureBoat(PleasureBoat source, ClusterPleasureBoat target)
          Copies the fields of the specified entity to the target value object.
 ClusterPleasureBoat[] toClusterPleasureBoatArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type ClusterPleasureBoat.
 void toClusterPleasureBoatCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type ClusterPleasureBoat.
protected  PleasureBoat toEntity(java.lang.Object[] row)
           
protected  RemotePleasureBoatFullVO toRemotePleasureBoatFullVO(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemotePleasureBoatFullVO toRemotePleasureBoatFullVO(PleasureBoat entity)
          Converts this DAO's entity to an object of type RemotePleasureBoatFullVO.
 void toRemotePleasureBoatFullVO(PleasureBoat source, RemotePleasureBoatFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemotePleasureBoatFullVO[] toRemotePleasureBoatFullVOArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemotePleasureBoatFullVO.
 void toRemotePleasureBoatFullVOCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemotePleasureBoatFullVO.
protected  RemotePleasureBoatNaturalId toRemotePleasureBoatNaturalId(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemotePleasureBoatNaturalId toRemotePleasureBoatNaturalId(PleasureBoat entity)
          Converts this DAO's entity to an object of type RemotePleasureBoatNaturalId.
 void toRemotePleasureBoatNaturalId(PleasureBoat source, RemotePleasureBoatNaturalId target)
          Copies the fields of the specified entity to the target value object.
 RemotePleasureBoatNaturalId[] toRemotePleasureBoatNaturalIdArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemotePleasureBoatNaturalId.
 void toRemotePleasureBoatNaturalIdCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemotePleasureBoatNaturalId.
protected  void transformEntities(int transform, java.util.Collection entities)
          Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.vessel.PleasureBoat) method.
protected  java.lang.Object transformEntity(int transform, PleasureBoat 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.PleasureBoatDao, please note that the VesselDao.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(PleasureBoat pleasureBoat)
          Updates the pleasureBoat instance in the persistent store.
 
Methods inherited from class fr.ifremer.allegro.referential.vessel.VesselDaoImpl
clusterVesselToEntity, clusterVesselToEntity, remoteVesselFullVOToEntity, remoteVesselFullVOToEntity, remoteVesselNaturalIdToEntity, remoteVesselNaturalIdToEntity, toClusterVessel, toClusterVessel, toRemoteVesselFullVO, toRemoteVesselFullVO, toRemoteVesselNaturalId, toRemoteVesselNaturalId
 
Methods inherited from class fr.ifremer.allegro.referential.vessel.VesselDaoBase
clusterVesselToEntityCollection, getRightToProduceDao, getStatusDao, getVesselOwnerPeriodDao, getVesselRegistrationPeriodDao, getVesselTypeDao, remoteVesselFullVOToEntityCollection, remoteVesselNaturalIdToEntityCollection, remove, setRightToProduceDao, setStatusDao, setVesselOwnerPeriodDao, setVesselRegistrationPeriodDao, setVesselTypeDao, toClusterVessel, toClusterVesselArray, toClusterVesselCollection, toRemoteVesselFullVO, toRemoteVesselFullVOArray, toRemoteVesselFullVOCollection, toRemoteVesselNaturalId, toRemoteVesselNaturalIdArray, toRemoteVesselNaturalIdCollection, transformEntity, update
 
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.PleasureBoatDao
clusterPleasureBoatToEntity, remotePleasureBoatFullVOToEntity, remotePleasureBoatNaturalIdToEntity
 
Methods inherited from interface fr.ifremer.allegro.referential.vessel.VesselDao
clusterVesselToEntity, clusterVesselToEntity, clusterVesselToEntityCollection, remoteVesselFullVOToEntity, remoteVesselFullVOToEntity, remoteVesselFullVOToEntityCollection, remoteVesselNaturalIdToEntity, remoteVesselNaturalIdToEntity, remoteVesselNaturalIdToEntityCollection, remove, toClusterVessel, toClusterVessel, toClusterVesselArray, toClusterVesselCollection, toRemoteVesselFullVO, toRemoteVesselFullVO, toRemoteVesselFullVOArray, toRemoteVesselFullVOCollection, toRemoteVesselNaturalId, toRemoteVesselNaturalId, toRemoteVesselNaturalIdArray, toRemoteVesselNaturalIdCollection, update
 

Constructor Detail

PleasureBoatDaoBase

public PleasureBoatDaoBase()
Method Detail

load

public java.lang.Object load(int transform,
                             java.lang.String code)
Description copied from interface: VesselDao

Does the same thing as VesselDao.load(java.lang.String) 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 PleasureBoatDao
Specified by:
load in interface VesselDao
Overrides:
load in class VesselDaoBase
code - identifier of the entity to load
Returns:
either the entity or the object transformed from the entity.
See Also:
PleasureBoatDao.load(int, java.lang.String)

load

public PleasureBoat load(java.lang.String code)
Description copied from interface: VesselDao
Loads an instance of fr.ifremer.allegro.referential.vessel.Vessel from the persistent store.

Specified by:
load in interface PleasureBoatDao
Specified by:
load in interface VesselDao
Overrides:
load in class VesselDaoBase
See Also:
PleasureBoatDao.load(java.lang.String)

loadAll

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

Specified by:
loadAll in interface PleasureBoatDao
Specified by:
loadAll in interface VesselDao
Overrides:
loadAll in class VesselDaoBase
Returns:
the loaded entities.
See Also:
PleasureBoatDao.loadAll()

loadAll

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

Does the same thing as VesselDao.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 PleasureBoatDao
Specified by:
loadAll in interface VesselDao
Overrides:
loadAll in class VesselDaoBase
Parameters:
transform - the flag indicating what transformation to use.
Returns:
the loaded entities.
See Also:
PleasureBoatDao.loadAll(int)

loadAll

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

Does the same thing as VesselDao.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 PleasureBoatDao
Specified by:
loadAll in interface VesselDao
Overrides:
loadAll in class VesselDaoBase
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:
PleasureBoatDao.loadAll(int, int)

loadAll

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

Does the same thing as VesselDao.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 PleasureBoatDao
Specified by:
loadAll in interface VesselDao
Overrides:
loadAll in class VesselDaoBase
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:
PleasureBoatDao.loadAll(int, int, int)

create

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

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

create

public java.lang.Object create(int transform,
                               PleasureBoat pleasureBoat)
Description copied from interface: PleasureBoatDao

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

create

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

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

create

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

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

create

public PleasureBoat create(java.lang.String code,
                           java.sql.Timestamp updateDate,
                           java.util.Collection rightToProduces,
                           java.util.Collection vesselOwnerPeriods,
                           java.util.Collection vesselRegistrationPeriods,
                           Status status,
                           VesselType vesselType)
Description copied from interface: PleasureBoatDao

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

Specified by:
create in interface PleasureBoatDao
See Also:
fr.ifremer.allegro.referential.vessel.VesselDao#create(java.lang.String,java.sql.Timestamp,java.util.Collection,java.util.Collection,java.util.Collection,fr.ifremer.allegro.referential.Status,fr.ifremer.allegro.referential.VesselType)

create

public java.lang.Object create(int transform,
                               java.lang.String code,
                               java.sql.Timestamp updateDate,
                               java.util.Collection rightToProduces,
                               java.util.Collection vesselOwnerPeriods,
                               java.util.Collection vesselRegistrationPeriods,
                               Status status,
                               VesselType vesselType)
Description copied from interface: PleasureBoatDao

Does the same thing as PleasureBoatDao.create(java.lang.String,java.sql.Timestamp,java.util.Collection,java.util.Collection,java.util.Collection,fr.ifremer.allegro.referential.Status,fr.ifremer.allegro.referential.VesselType) 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 PleasureBoatDao
See Also:
fr.ifremer.allegro.referential.vessel.VesselDao#create(int, java.lang.String,java.sql.Timestamp,java.util.Collection,java.util.Collection,java.util.Collection,fr.ifremer.allegro.referential.Status,fr.ifremer.allegro.referential.VesselType)

create

public PleasureBoat create(java.lang.String code,
                           Status status,
                           VesselType vesselType)
Description copied from interface: PleasureBoatDao

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

Specified by:
create in interface PleasureBoatDao
See Also:
PleasureBoatDao.create(java.lang.String,fr.ifremer.allegro.referential.Status,fr.ifremer.allegro.referential.VesselType)

create

public java.lang.Object create(int transform,
                               java.lang.String code,
                               Status status,
                               VesselType vesselType)
Description copied from interface: PleasureBoatDao

Does the same thing as PleasureBoatDao.create(java.lang.String,fr.ifremer.allegro.referential.Status,fr.ifremer.allegro.referential.VesselType) 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 PleasureBoatDao
See Also:
PleasureBoatDao.create(int, java.lang.String,fr.ifremer.allegro.referential.Status,fr.ifremer.allegro.referential.VesselType)

update

public void update(PleasureBoat pleasureBoat)
Description copied from interface: PleasureBoatDao
Updates the pleasureBoat instance in the persistent store.

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

update

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

Specified by:
update in interface PleasureBoatDao
Specified by:
update in interface VesselDao
Overrides:
update in class VesselDaoBase
See Also:
VesselDao.update(java.util.Collection)

remove

public void remove(PleasureBoat pleasureBoat)
Description copied from interface: PleasureBoatDao
Removes the instance of fr.ifremer.allegro.referential.vessel.PleasureBoat from the persistent store.

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

remove

public void remove(java.lang.String code)
Description copied from interface: VesselDao
Removes the instance of fr.ifremer.allegro.referential.vessel.Vessel having the given identifier from the persistent store.

Specified by:
remove in interface PleasureBoatDao
Specified by:
remove in interface VesselDao
Overrides:
remove in class VesselDaoBase
See Also:
PleasureBoatDao.remove(java.lang.String)

remove

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

Specified by:
remove in interface PleasureBoatDao
Specified by:
remove in interface VesselDao
Overrides:
remove in class VesselDaoBase
See Also:
VesselDao.remove(java.util.Collection)

getAllPleasureBoat

public java.util.Collection getAllPleasureBoat()
Specified by:
getAllPleasureBoat in interface PleasureBoatDao
See Also:
PleasureBoatDao.getAllPleasureBoat()

getAllPleasureBoat

public java.util.Collection getAllPleasureBoat(int transform)
Description copied from interface: PleasureBoatDao

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

getAllPleasureBoat

public java.util.Collection getAllPleasureBoat(java.lang.String queryString)
Description copied from interface: PleasureBoatDao

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

Specified by:
getAllPleasureBoat in interface PleasureBoatDao
See Also:
PleasureBoatDao.getAllPleasureBoat(java.lang.String)

getAllPleasureBoat

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

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

getAllPleasureBoat

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

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

getAllPleasureBoat

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

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

Specified by:
getAllPleasureBoat in interface PleasureBoatDao
See Also:
PleasureBoatDao.getAllPleasureBoat(int, String)

getAllPleasureBoat

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

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

getAllPleasureBoat

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

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

findPleasureBoatByCode

public PleasureBoat findPleasureBoatByCode(java.lang.String code)
Specified by:
findPleasureBoatByCode in interface PleasureBoatDao
See Also:
PleasureBoatDao.findPleasureBoatByCode(java.lang.String)

findPleasureBoatByCode

public java.lang.Object findPleasureBoatByCode(int transform,
                                               java.lang.String code)
Description copied from interface: PleasureBoatDao

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

findPleasureBoatByCode

public PleasureBoat findPleasureBoatByCode(java.lang.String queryString,
                                           java.lang.String code)
Description copied from interface: PleasureBoatDao

Does the same thing as PleasureBoatDao.findPleasureBoatByCode(java.lang.String) with an additional argument called queryString. This queryString argument allows you to override the query string defined in PleasureBoatDao.findPleasureBoatByCode(java.lang.String).

Specified by:
findPleasureBoatByCode in interface PleasureBoatDao
See Also:
PleasureBoatDao.findPleasureBoatByCode(java.lang.String, java.lang.String)

findPleasureBoatByCode

public java.lang.Object findPleasureBoatByCode(int transform,
                                               java.lang.String queryString,
                                               java.lang.String code)
Description copied from interface: PleasureBoatDao

Does the same thing as PleasureBoatDao.findPleasureBoatByCode(int, java.lang.String) with an additional argument called queryString. This queryString argument allows you to override the query string defined in PleasureBoatDao.findPleasureBoatByCode(int, java.lang.String code).

Specified by:
findPleasureBoatByCode in interface PleasureBoatDao
See Also:
PleasureBoatDao.findPleasureBoatByCode(int, java.lang.String, java.lang.String)

findPleasureBoatByStatus

public java.util.Collection findPleasureBoatByStatus(Status status)
Specified by:
findPleasureBoatByStatus in interface PleasureBoatDao
See Also:
PleasureBoatDao.findPleasureBoatByStatus(fr.ifremer.allegro.referential.Status)

findPleasureBoatByStatus

public java.util.Collection findPleasureBoatByStatus(int transform,
                                                     Status status)
Description copied from interface: PleasureBoatDao

Does the same thing as PleasureBoatDao.findPleasureBoatByStatus(fr.ifremer.allegro.referential.Status) 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:
findPleasureBoatByStatus in interface PleasureBoatDao
See Also:
PleasureBoatDao.findPleasureBoatByStatus(int, fr.ifremer.allegro.referential.Status)

findPleasureBoatByStatus

public java.util.Collection findPleasureBoatByStatus(java.lang.String queryString,
                                                     Status status)
Description copied from interface: PleasureBoatDao

Does the same thing as PleasureBoatDao.findPleasureBoatByStatus(fr.ifremer.allegro.referential.Status) with an additional argument called queryString. This queryString argument allows you to override the query string defined in PleasureBoatDao.findPleasureBoatByStatus(fr.ifremer.allegro.referential.Status).

Specified by:
findPleasureBoatByStatus in interface PleasureBoatDao
See Also:
PleasureBoatDao.findPleasureBoatByStatus(java.lang.String, fr.ifremer.allegro.referential.Status)

findPleasureBoatByStatus

public java.util.Collection findPleasureBoatByStatus(int pageNumber,
                                                     int pageSize,
                                                     Status status)
Description copied from interface: PleasureBoatDao

Does the same thing as PleasureBoatDao.findPleasureBoatByStatus(fr.ifremer.allegro.referential.Status) 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:
findPleasureBoatByStatus in interface PleasureBoatDao
See Also:
PleasureBoatDao.findPleasureBoatByStatus(int, int, fr.ifremer.allegro.referential.Status)

findPleasureBoatByStatus

public java.util.Collection findPleasureBoatByStatus(java.lang.String queryString,
                                                     int pageNumber,
                                                     int pageSize,
                                                     Status status)
Description copied from interface: PleasureBoatDao

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

findPleasureBoatByStatus

public java.util.Collection findPleasureBoatByStatus(int transform,
                                                     java.lang.String queryString,
                                                     Status status)
Description copied from interface: PleasureBoatDao

Does the same thing as PleasureBoatDao.findPleasureBoatByStatus(int, fr.ifremer.allegro.referential.Status) with an additional argument called queryString. This queryString argument allows you to override the query string defined in PleasureBoatDao.findPleasureBoatByStatus(int, fr.ifremer.allegro.referential.Status status).

Specified by:
findPleasureBoatByStatus in interface PleasureBoatDao
See Also:
PleasureBoatDao.findPleasureBoatByStatus(int, String, fr.ifremer.allegro.referential.Status)

findPleasureBoatByStatus

public java.util.Collection findPleasureBoatByStatus(int transform,
                                                     int pageNumber,
                                                     int pageSize,
                                                     Status status)
Description copied from interface: PleasureBoatDao

Does the same thing as PleasureBoatDao.findPleasureBoatByStatus(int, fr.ifremer.allegro.referential.Status) 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:
findPleasureBoatByStatus in interface PleasureBoatDao
See Also:
PleasureBoatDao.findPleasureBoatByStatus(int, int, int, fr.ifremer.allegro.referential.Status)

findPleasureBoatByStatus

public java.util.Collection findPleasureBoatByStatus(int transform,
                                                     java.lang.String queryString,
                                                     int pageNumber,
                                                     int pageSize,
                                                     Status status)
Description copied from interface: PleasureBoatDao

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

findPleasureBoatByVesselType

public java.util.Collection findPleasureBoatByVesselType(VesselType vesselType)
Specified by:
findPleasureBoatByVesselType in interface PleasureBoatDao
See Also:
PleasureBoatDao.findPleasureBoatByVesselType(fr.ifremer.allegro.referential.VesselType)

findPleasureBoatByVesselType

public java.util.Collection findPleasureBoatByVesselType(int transform,
                                                         VesselType vesselType)
Description copied from interface: PleasureBoatDao

Does the same thing as PleasureBoatDao.findPleasureBoatByVesselType(fr.ifremer.allegro.referential.VesselType) 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:
findPleasureBoatByVesselType in interface PleasureBoatDao
See Also:
PleasureBoatDao.findPleasureBoatByVesselType(int, fr.ifremer.allegro.referential.VesselType)

findPleasureBoatByVesselType

public java.util.Collection findPleasureBoatByVesselType(java.lang.String queryString,
                                                         VesselType vesselType)
Description copied from interface: PleasureBoatDao

Does the same thing as PleasureBoatDao.findPleasureBoatByVesselType(fr.ifremer.allegro.referential.VesselType) with an additional argument called queryString. This queryString argument allows you to override the query string defined in PleasureBoatDao.findPleasureBoatByVesselType(fr.ifremer.allegro.referential.VesselType).

Specified by:
findPleasureBoatByVesselType in interface PleasureBoatDao
See Also:
PleasureBoatDao.findPleasureBoatByVesselType(java.lang.String, fr.ifremer.allegro.referential.VesselType)

findPleasureBoatByVesselType

public java.util.Collection findPleasureBoatByVesselType(int pageNumber,
                                                         int pageSize,
                                                         VesselType vesselType)
Description copied from interface: PleasureBoatDao

Does the same thing as PleasureBoatDao.findPleasureBoatByVesselType(fr.ifremer.allegro.referential.VesselType) 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:
findPleasureBoatByVesselType in interface PleasureBoatDao
See Also:
PleasureBoatDao.findPleasureBoatByVesselType(int, int, fr.ifremer.allegro.referential.VesselType)

findPleasureBoatByVesselType

public java.util.Collection findPleasureBoatByVesselType(java.lang.String queryString,
                                                         int pageNumber,
                                                         int pageSize,
                                                         VesselType vesselType)
Description copied from interface: PleasureBoatDao

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

findPleasureBoatByVesselType

public java.util.Collection findPleasureBoatByVesselType(int transform,
                                                         java.lang.String queryString,
                                                         VesselType vesselType)
Description copied from interface: PleasureBoatDao

Does the same thing as PleasureBoatDao.findPleasureBoatByVesselType(int, fr.ifremer.allegro.referential.VesselType) with an additional argument called queryString. This queryString argument allows you to override the query string defined in PleasureBoatDao.findPleasureBoatByVesselType(int, fr.ifremer.allegro.referential.VesselType vesselType).

Specified by:
findPleasureBoatByVesselType in interface PleasureBoatDao
See Also:
PleasureBoatDao.findPleasureBoatByVesselType(int, String, fr.ifremer.allegro.referential.VesselType)

findPleasureBoatByVesselType

public java.util.Collection findPleasureBoatByVesselType(int transform,
                                                         int pageNumber,
                                                         int pageSize,
                                                         VesselType vesselType)
Description copied from interface: PleasureBoatDao

Does the same thing as PleasureBoatDao.findPleasureBoatByVesselType(int, fr.ifremer.allegro.referential.VesselType) 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:
findPleasureBoatByVesselType in interface PleasureBoatDao
See Also:
PleasureBoatDao.findPleasureBoatByVesselType(int, int, int, fr.ifremer.allegro.referential.VesselType)

findPleasureBoatByVesselType

public java.util.Collection findPleasureBoatByVesselType(int transform,
                                                         java.lang.String queryString,
                                                         int pageNumber,
                                                         int pageSize,
                                                         VesselType vesselType)
Description copied from interface: PleasureBoatDao

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

findPleasureBoatByNaturalId

public PleasureBoat findPleasureBoatByNaturalId(java.lang.String code)
Specified by:
findPleasureBoatByNaturalId in interface PleasureBoatDao
See Also:
PleasureBoatDao.findPleasureBoatByNaturalId(java.lang.String)

findPleasureBoatByNaturalId

public java.lang.Object findPleasureBoatByNaturalId(int transform,
                                                    java.lang.String code)
Description copied from interface: PleasureBoatDao

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

findPleasureBoatByNaturalId

public PleasureBoat findPleasureBoatByNaturalId(java.lang.String queryString,
                                                java.lang.String code)
Description copied from interface: PleasureBoatDao

Does the same thing as PleasureBoatDao.findPleasureBoatByNaturalId(java.lang.String) with an additional argument called queryString. This queryString argument allows you to override the query string defined in PleasureBoatDao.findPleasureBoatByNaturalId(java.lang.String).

Specified by:
findPleasureBoatByNaturalId in interface PleasureBoatDao
See Also:
PleasureBoatDao.findPleasureBoatByNaturalId(java.lang.String, java.lang.String)

findPleasureBoatByNaturalId

public java.lang.Object findPleasureBoatByNaturalId(int transform,
                                                    java.lang.String queryString,
                                                    java.lang.String code)
Description copied from interface: PleasureBoatDao

Does the same thing as PleasureBoatDao.findPleasureBoatByNaturalId(int, java.lang.String) with an additional argument called queryString. This queryString argument allows you to override the query string defined in PleasureBoatDao.findPleasureBoatByNaturalId(int, java.lang.String code).

Specified by:
findPleasureBoatByNaturalId in interface PleasureBoatDao
See Also:
PleasureBoatDao.findPleasureBoatByNaturalId(int, java.lang.String, java.lang.String)

getAllPleasureBoatSinceDateSynchro

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

getAllPleasureBoatSinceDateSynchro

public java.util.Collection getAllPleasureBoatSinceDateSynchro(int transform,
                                                               java.sql.Timestamp updateDate)
Description copied from interface: PleasureBoatDao

Does the same thing as PleasureBoatDao.getAllPleasureBoatSinceDateSynchro(java.sql.Timestamp) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then finder results will NOT be transformed during retrieval. If this flag is any of the other constants defined here then finder results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.

Specified by:
getAllPleasureBoatSinceDateSynchro in interface PleasureBoatDao
See Also:
PleasureBoatDao.getAllPleasureBoatSinceDateSynchro(int, java.sql.Timestamp)

getAllPleasureBoatSinceDateSynchro

public java.util.Collection getAllPleasureBoatSinceDateSynchro(java.lang.String queryString,
                                                               java.sql.Timestamp updateDate)
Description copied from interface: PleasureBoatDao

Does the same thing as PleasureBoatDao.getAllPleasureBoatSinceDateSynchro(java.sql.Timestamp) with an additional argument called queryString. This queryString argument allows you to override the query string defined in PleasureBoatDao.getAllPleasureBoatSinceDateSynchro(java.sql.Timestamp).

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

getAllPleasureBoatSinceDateSynchro

public java.util.Collection getAllPleasureBoatSinceDateSynchro(int pageNumber,
                                                               int pageSize,
                                                               java.sql.Timestamp updateDate)
Description copied from interface: PleasureBoatDao

Does the same thing as PleasureBoatDao.getAllPleasureBoatSinceDateSynchro(java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
getAllPleasureBoatSinceDateSynchro in interface PleasureBoatDao
See Also:
PleasureBoatDao.getAllPleasureBoatSinceDateSynchro(int, int, java.sql.Timestamp)

getAllPleasureBoatSinceDateSynchro

public java.util.Collection getAllPleasureBoatSinceDateSynchro(java.lang.String queryString,
                                                               int pageNumber,
                                                               int pageSize,
                                                               java.sql.Timestamp updateDate)
Description copied from interface: PleasureBoatDao

Does the same thing as PleasureBoatDao.getAllPleasureBoatSinceDateSynchro(String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

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

getAllPleasureBoatSinceDateSynchro

public java.util.Collection getAllPleasureBoatSinceDateSynchro(int transform,
                                                               java.lang.String queryString,
                                                               java.sql.Timestamp updateDate)
Description copied from interface: PleasureBoatDao

Does the same thing as PleasureBoatDao.getAllPleasureBoatSinceDateSynchro(int, java.sql.Timestamp) with an additional argument called queryString. This queryString argument allows you to override the query string defined in PleasureBoatDao.getAllPleasureBoatSinceDateSynchro(int, java.sql.Timestamp updateDate).

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

getAllPleasureBoatSinceDateSynchro

public java.util.Collection getAllPleasureBoatSinceDateSynchro(int transform,
                                                               int pageNumber,
                                                               int pageSize,
                                                               java.sql.Timestamp updateDate)
Description copied from interface: PleasureBoatDao

Does the same thing as PleasureBoatDao.getAllPleasureBoatSinceDateSynchro(int, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
getAllPleasureBoatSinceDateSynchro in interface PleasureBoatDao
See Also:
PleasureBoatDao.getAllPleasureBoatSinceDateSynchro(int, int, int, java.sql.Timestamp)

getAllPleasureBoatSinceDateSynchro

public java.util.Collection getAllPleasureBoatSinceDateSynchro(int transform,
                                                               java.lang.String queryString,
                                                               int pageNumber,
                                                               int pageSize,
                                                               java.sql.Timestamp updateDate)
Description copied from interface: PleasureBoatDao

Does the same thing as PleasureBoatDao.getAllPleasureBoatSinceDateSynchro(int, String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

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

getAllVessel

public java.util.Collection getAllVessel()
Specified by:
getAllVessel in interface VesselDao
Overrides:
getAllVessel in class VesselDaoBase
See Also:
VesselDao.getAllVessel()

getAllVessel

public java.util.Collection getAllVessel(int transform)
Description copied from interface: VesselDao

Does the same thing as VesselDao.getAllVessel() 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:
getAllVessel in interface VesselDao
Overrides:
getAllVessel in class VesselDaoBase
See Also:
VesselDao.getAllVessel(int)

getAllVessel

public java.util.Collection getAllVessel(java.lang.String queryString)
Description copied from interface: VesselDao

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

Specified by:
getAllVessel in interface VesselDao
Overrides:
getAllVessel in class VesselDaoBase
See Also:
VesselDao.getAllVessel(java.lang.String)

getAllVessel

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

Does the same thing as VesselDao.getAllVessel() 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:
getAllVessel in interface VesselDao
Overrides:
getAllVessel in class VesselDaoBase
See Also:
VesselDao.getAllVessel(int, int)

getAllVessel

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

Does the same thing as VesselDao.getAllVessel(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:
getAllVessel in interface VesselDao
Overrides:
getAllVessel in class VesselDaoBase
See Also:
VesselDao.getAllVessel(String, int, int)

getAllVessel

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

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

Specified by:
getAllVessel in interface VesselDao
Overrides:
getAllVessel in class VesselDaoBase
See Also:
VesselDao.getAllVessel(int, String)

getAllVessel

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

Does the same thing as VesselDao.getAllVessel(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:
getAllVessel in interface VesselDao
Overrides:
getAllVessel in class VesselDaoBase
See Also:
VesselDao.getAllVessel(int, int, int)

getAllVessel

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

Does the same thing as VesselDao.getAllVessel(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:
getAllVessel in interface VesselDao
Overrides:
getAllVessel in class VesselDaoBase
See Also:
VesselDao.getAllVessel(int, java.lang.String, int, int)

findVesselByCode

public Vessel findVesselByCode(java.lang.String code)
Specified by:
findVesselByCode in interface VesselDao
Overrides:
findVesselByCode in class VesselDaoBase
See Also:
VesselDao.findVesselByCode(java.lang.String)

findVesselByCode

public java.lang.Object findVesselByCode(int transform,
                                         java.lang.String code)
Description copied from interface: VesselDao

Does the same thing as VesselDao.findVesselByCode(java.lang.String) 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:
findVesselByCode in interface VesselDao
Overrides:
findVesselByCode in class VesselDaoBase
See Also:
VesselDao.findVesselByCode(int, java.lang.String)

findVesselByCode

public Vessel findVesselByCode(java.lang.String queryString,
                               java.lang.String code)
Description copied from interface: VesselDao

Does the same thing as VesselDao.findVesselByCode(java.lang.String) with an additional argument called queryString. This queryString argument allows you to override the query string defined in VesselDao.findVesselByCode(java.lang.String).

Specified by:
findVesselByCode in interface VesselDao
Overrides:
findVesselByCode in class VesselDaoBase
See Also:
VesselDao.findVesselByCode(java.lang.String, java.lang.String)

findVesselByCode

public java.lang.Object findVesselByCode(int transform,
                                         java.lang.String queryString,
                                         java.lang.String code)
Description copied from interface: VesselDao

Does the same thing as VesselDao.findVesselByCode(int, java.lang.String) with an additional argument called queryString. This queryString argument allows you to override the query string defined in VesselDao.findVesselByCode(int, java.lang.String code).

Specified by:
findVesselByCode in interface VesselDao
Overrides:
findVesselByCode in class VesselDaoBase
See Also:
VesselDao.findVesselByCode(int, java.lang.String, java.lang.String)

findVesselByStatus

public java.util.Collection findVesselByStatus(Status status)
Specified by:
findVesselByStatus in interface VesselDao
Overrides:
findVesselByStatus in class VesselDaoBase
See Also:
VesselDao.findVesselByStatus(fr.ifremer.allegro.referential.Status)

findVesselByStatus

public java.util.Collection findVesselByStatus(int transform,
                                               Status status)
Description copied from interface: VesselDao

Does the same thing as VesselDao.findVesselByStatus(fr.ifremer.allegro.referential.Status) 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:
findVesselByStatus in interface VesselDao
Overrides:
findVesselByStatus in class VesselDaoBase
See Also:
VesselDao.findVesselByStatus(int, fr.ifremer.allegro.referential.Status)

findVesselByStatus

public java.util.Collection findVesselByStatus(java.lang.String queryString,
                                               Status status)
Description copied from interface: VesselDao

Does the same thing as VesselDao.findVesselByStatus(fr.ifremer.allegro.referential.Status) with an additional argument called queryString. This queryString argument allows you to override the query string defined in VesselDao.findVesselByStatus(fr.ifremer.allegro.referential.Status).

Specified by:
findVesselByStatus in interface VesselDao
Overrides:
findVesselByStatus in class VesselDaoBase
See Also:
VesselDao.findVesselByStatus(java.lang.String, fr.ifremer.allegro.referential.Status)

findVesselByStatus

public java.util.Collection findVesselByStatus(int pageNumber,
                                               int pageSize,
                                               Status status)
Description copied from interface: VesselDao

Does the same thing as VesselDao.findVesselByStatus(fr.ifremer.allegro.referential.Status) 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:
findVesselByStatus in interface VesselDao
Overrides:
findVesselByStatus in class VesselDaoBase
See Also:
VesselDao.findVesselByStatus(int, int, fr.ifremer.allegro.referential.Status)

findVesselByStatus

public java.util.Collection findVesselByStatus(java.lang.String queryString,
                                               int pageNumber,
                                               int pageSize,
                                               Status status)
Description copied from interface: VesselDao

Does the same thing as VesselDao.findVesselByStatus(String, fr.ifremer.allegro.referential.Status) 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:
findVesselByStatus in interface VesselDao
Overrides:
findVesselByStatus in class VesselDaoBase
See Also:
VesselDao.findVesselByStatus(String, int, int, fr.ifremer.allegro.referential.Status)

findVesselByStatus

public java.util.Collection findVesselByStatus(int transform,
                                               java.lang.String queryString,
                                               Status status)
Description copied from interface: VesselDao

Does the same thing as VesselDao.findVesselByStatus(int, fr.ifremer.allegro.referential.Status) with an additional argument called queryString. This queryString argument allows you to override the query string defined in VesselDao.findVesselByStatus(int, fr.ifremer.allegro.referential.Status status).

Specified by:
findVesselByStatus in interface VesselDao
Overrides:
findVesselByStatus in class VesselDaoBase
See Also:
VesselDao.findVesselByStatus(int, String, fr.ifremer.allegro.referential.Status)

findVesselByStatus

public java.util.Collection findVesselByStatus(int transform,
                                               int pageNumber,
                                               int pageSize,
                                               Status status)
Description copied from interface: VesselDao

Does the same thing as VesselDao.findVesselByStatus(int, fr.ifremer.allegro.referential.Status) 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:
findVesselByStatus in interface VesselDao
Overrides:
findVesselByStatus in class VesselDaoBase
See Also:
VesselDao.findVesselByStatus(int, int, int, fr.ifremer.allegro.referential.Status)

findVesselByStatus

public java.util.Collection findVesselByStatus(int transform,
                                               java.lang.String queryString,
                                               int pageNumber,
                                               int pageSize,
                                               Status status)
Description copied from interface: VesselDao

Does the same thing as VesselDao.findVesselByStatus(int, String, fr.ifremer.allegro.referential.Status) 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:
findVesselByStatus in interface VesselDao
Overrides:
findVesselByStatus in class VesselDaoBase
See Also:
VesselDao.findVesselByStatus(int, java.lang.String, int, int, fr.ifremer.allegro.referential.Status)

findVesselByVesselType

public java.util.Collection findVesselByVesselType(VesselType vesselType)
Specified by:
findVesselByVesselType in interface VesselDao
Overrides:
findVesselByVesselType in class VesselDaoBase
See Also:
VesselDao.findVesselByVesselType(fr.ifremer.allegro.referential.VesselType)

findVesselByVesselType

public java.util.Collection findVesselByVesselType(int transform,
                                                   VesselType vesselType)
Description copied from interface: VesselDao

Does the same thing as VesselDao.findVesselByVesselType(fr.ifremer.allegro.referential.VesselType) 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:
findVesselByVesselType in interface VesselDao
Overrides:
findVesselByVesselType in class VesselDaoBase
See Also:
VesselDao.findVesselByVesselType(int, fr.ifremer.allegro.referential.VesselType)

findVesselByVesselType

public java.util.Collection findVesselByVesselType(java.lang.String queryString,
                                                   VesselType vesselType)
Description copied from interface: VesselDao

Does the same thing as VesselDao.findVesselByVesselType(fr.ifremer.allegro.referential.VesselType) with an additional argument called queryString. This queryString argument allows you to override the query string defined in VesselDao.findVesselByVesselType(fr.ifremer.allegro.referential.VesselType).

Specified by:
findVesselByVesselType in interface VesselDao
Overrides:
findVesselByVesselType in class VesselDaoBase
See Also:
VesselDao.findVesselByVesselType(java.lang.String, fr.ifremer.allegro.referential.VesselType)

findVesselByVesselType

public java.util.Collection findVesselByVesselType(int pageNumber,
                                                   int pageSize,
                                                   VesselType vesselType)
Description copied from interface: VesselDao

Does the same thing as VesselDao.findVesselByVesselType(fr.ifremer.allegro.referential.VesselType) 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:
findVesselByVesselType in interface VesselDao
Overrides:
findVesselByVesselType in class VesselDaoBase
See Also:
VesselDao.findVesselByVesselType(int, int, fr.ifremer.allegro.referential.VesselType)

findVesselByVesselType

public java.util.Collection findVesselByVesselType(java.lang.String queryString,
                                                   int pageNumber,
                                                   int pageSize,
                                                   VesselType vesselType)
Description copied from interface: VesselDao

Does the same thing as VesselDao.findVesselByVesselType(String, fr.ifremer.allegro.referential.VesselType) 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:
findVesselByVesselType in interface VesselDao
Overrides:
findVesselByVesselType in class VesselDaoBase
See Also:
VesselDao.findVesselByVesselType(String, int, int, fr.ifremer.allegro.referential.VesselType)

findVesselByVesselType

public java.util.Collection findVesselByVesselType(int transform,
                                                   java.lang.String queryString,
                                                   VesselType vesselType)
Description copied from interface: VesselDao

Does the same thing as VesselDao.findVesselByVesselType(int, fr.ifremer.allegro.referential.VesselType) with an additional argument called queryString. This queryString argument allows you to override the query string defined in VesselDao.findVesselByVesselType(int, fr.ifremer.allegro.referential.VesselType vesselType).

Specified by:
findVesselByVesselType in interface VesselDao
Overrides:
findVesselByVesselType in class VesselDaoBase
See Also:
VesselDao.findVesselByVesselType(int, String, fr.ifremer.allegro.referential.VesselType)

findVesselByVesselType

public java.util.Collection findVesselByVesselType(int transform,
                                                   int pageNumber,
                                                   int pageSize,
                                                   VesselType vesselType)
Description copied from interface: VesselDao

Does the same thing as VesselDao.findVesselByVesselType(int, fr.ifremer.allegro.referential.VesselType) 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:
findVesselByVesselType in interface VesselDao
Overrides:
findVesselByVesselType in class VesselDaoBase
See Also:
VesselDao.findVesselByVesselType(int, int, int, fr.ifremer.allegro.referential.VesselType)

findVesselByVesselType

public java.util.Collection findVesselByVesselType(int transform,
                                                   java.lang.String queryString,
                                                   int pageNumber,
                                                   int pageSize,
                                                   VesselType vesselType)
Description copied from interface: VesselDao

Does the same thing as VesselDao.findVesselByVesselType(int, String, fr.ifremer.allegro.referential.VesselType) 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:
findVesselByVesselType in interface VesselDao
Overrides:
findVesselByVesselType in class VesselDaoBase
See Also:
VesselDao.findVesselByVesselType(int, java.lang.String, int, int, fr.ifremer.allegro.referential.VesselType)

findVesselByNaturalId

public Vessel findVesselByNaturalId(java.lang.String code)
Specified by:
findVesselByNaturalId in interface VesselDao
Overrides:
findVesselByNaturalId in class VesselDaoBase
See Also:
VesselDao.findVesselByNaturalId(java.lang.String)

findVesselByNaturalId

public java.lang.Object findVesselByNaturalId(int transform,
                                              java.lang.String code)
Description copied from interface: VesselDao

Does the same thing as VesselDao.findVesselByNaturalId(java.lang.String) 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:
findVesselByNaturalId in interface VesselDao
Overrides:
findVesselByNaturalId in class VesselDaoBase
See Also:
VesselDao.findVesselByNaturalId(int, java.lang.String)

findVesselByNaturalId

public Vessel findVesselByNaturalId(java.lang.String queryString,
                                    java.lang.String code)
Description copied from interface: VesselDao

Does the same thing as VesselDao.findVesselByNaturalId(java.lang.String) with an additional argument called queryString. This queryString argument allows you to override the query string defined in VesselDao.findVesselByNaturalId(java.lang.String).

Specified by:
findVesselByNaturalId in interface VesselDao
Overrides:
findVesselByNaturalId in class VesselDaoBase
See Also:
VesselDao.findVesselByNaturalId(java.lang.String, java.lang.String)

findVesselByNaturalId

public java.lang.Object findVesselByNaturalId(int transform,
                                              java.lang.String queryString,
                                              java.lang.String code)
Description copied from interface: VesselDao

Does the same thing as VesselDao.findVesselByNaturalId(int, java.lang.String) with an additional argument called queryString. This queryString argument allows you to override the query string defined in VesselDao.findVesselByNaturalId(int, java.lang.String code).

Specified by:
findVesselByNaturalId in interface VesselDao
Overrides:
findVesselByNaturalId in class VesselDaoBase
See Also:
VesselDao.findVesselByNaturalId(int, java.lang.String, java.lang.String)

getAllVesselSinceDateSynchro

public java.util.Collection getAllVesselSinceDateSynchro(java.sql.Timestamp updateDate)
Specified by:
getAllVesselSinceDateSynchro in interface VesselDao
Overrides:
getAllVesselSinceDateSynchro in class VesselDaoBase
See Also:
VesselDao.getAllVesselSinceDateSynchro(java.sql.Timestamp)

getAllVesselSinceDateSynchro

public java.util.Collection getAllVesselSinceDateSynchro(int transform,
                                                         java.sql.Timestamp updateDate)
Description copied from interface: VesselDao

Does the same thing as VesselDao.getAllVesselSinceDateSynchro(java.sql.Timestamp) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then finder results will NOT be transformed during retrieval. If this flag is any of the other constants defined here then finder results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.

Specified by:
getAllVesselSinceDateSynchro in interface VesselDao
Overrides:
getAllVesselSinceDateSynchro in class VesselDaoBase
See Also:
VesselDao.getAllVesselSinceDateSynchro(int, java.sql.Timestamp)

getAllVesselSinceDateSynchro

public java.util.Collection getAllVesselSinceDateSynchro(java.lang.String queryString,
                                                         java.sql.Timestamp updateDate)
Description copied from interface: VesselDao

Does the same thing as VesselDao.getAllVesselSinceDateSynchro(java.sql.Timestamp) with an additional argument called queryString. This queryString argument allows you to override the query string defined in VesselDao.getAllVesselSinceDateSynchro(java.sql.Timestamp).

Specified by:
getAllVesselSinceDateSynchro in interface VesselDao
Overrides:
getAllVesselSinceDateSynchro in class VesselDaoBase
See Also:
VesselDao.getAllVesselSinceDateSynchro(java.lang.String, java.sql.Timestamp)

getAllVesselSinceDateSynchro

public java.util.Collection getAllVesselSinceDateSynchro(int pageNumber,
                                                         int pageSize,
                                                         java.sql.Timestamp updateDate)
Description copied from interface: VesselDao

Does the same thing as VesselDao.getAllVesselSinceDateSynchro(java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
getAllVesselSinceDateSynchro in interface VesselDao
Overrides:
getAllVesselSinceDateSynchro in class VesselDaoBase
See Also:
VesselDao.getAllVesselSinceDateSynchro(int, int, java.sql.Timestamp)

getAllVesselSinceDateSynchro

public java.util.Collection getAllVesselSinceDateSynchro(java.lang.String queryString,
                                                         int pageNumber,
                                                         int pageSize,
                                                         java.sql.Timestamp updateDate)
Description copied from interface: VesselDao

Does the same thing as VesselDao.getAllVesselSinceDateSynchro(String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
getAllVesselSinceDateSynchro in interface VesselDao
Overrides:
getAllVesselSinceDateSynchro in class VesselDaoBase
See Also:
VesselDao.getAllVesselSinceDateSynchro(String, int, int, java.sql.Timestamp)

getAllVesselSinceDateSynchro

public java.util.Collection getAllVesselSinceDateSynchro(int transform,
                                                         java.lang.String queryString,
                                                         java.sql.Timestamp updateDate)
Description copied from interface: VesselDao

Does the same thing as VesselDao.getAllVesselSinceDateSynchro(int, java.sql.Timestamp) with an additional argument called queryString. This queryString argument allows you to override the query string defined in VesselDao.getAllVesselSinceDateSynchro(int, java.sql.Timestamp updateDate).

Specified by:
getAllVesselSinceDateSynchro in interface VesselDao
Overrides:
getAllVesselSinceDateSynchro in class VesselDaoBase
See Also:
VesselDao.getAllVesselSinceDateSynchro(int, String, java.sql.Timestamp)

getAllVesselSinceDateSynchro

public java.util.Collection getAllVesselSinceDateSynchro(int transform,
                                                         int pageNumber,
                                                         int pageSize,
                                                         java.sql.Timestamp updateDate)
Description copied from interface: VesselDao

Does the same thing as VesselDao.getAllVesselSinceDateSynchro(int, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
getAllVesselSinceDateSynchro in interface VesselDao
Overrides:
getAllVesselSinceDateSynchro in class VesselDaoBase
See Also:
VesselDao.getAllVesselSinceDateSynchro(int, int, int, java.sql.Timestamp)

getAllVesselSinceDateSynchro

public java.util.Collection getAllVesselSinceDateSynchro(int transform,
                                                         java.lang.String queryString,
                                                         int pageNumber,
                                                         int pageSize,
                                                         java.sql.Timestamp updateDate)
Description copied from interface: VesselDao

Does the same thing as VesselDao.getAllVesselSinceDateSynchro(int, String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
getAllVesselSinceDateSynchro in interface VesselDao
Overrides:
getAllVesselSinceDateSynchro in class VesselDaoBase
See Also:
VesselDao.getAllVesselSinceDateSynchro(int, java.lang.String, int, int, java.sql.Timestamp)

createFromClusterPleasureBoat

public PleasureBoat createFromClusterPleasureBoat(ClusterPleasureBoat clusterPleasureBoat)
Specified by:
createFromClusterPleasureBoat in interface PleasureBoatDao
See Also:
PleasureBoatDao.createFromClusterPleasureBoat(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterPleasureBoat)

handleCreateFromClusterPleasureBoat

protected abstract PleasureBoat handleCreateFromClusterPleasureBoat(ClusterPleasureBoat clusterPleasureBoat)
                                                             throws java.lang.Exception
Performs the core logic for createFromClusterPleasureBoat(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterPleasureBoat)

Throws:
java.lang.Exception

getAllClusterPleasureBoatSinceDateSynchro

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

handleGetAllClusterPleasureBoatSinceDateSynchro

protected abstract ClusterPleasureBoat[] handleGetAllClusterPleasureBoatSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
                                                                                         java.lang.Integer userId,
                                                                                         java.lang.Integer[] registrationLocationIds,
                                                                                         java.lang.Integer pageNumber,
                                                                                         java.lang.Integer pageSize)
                                                                                  throws java.lang.Exception
Performs the core logic for getAllClusterPleasureBoatSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Throws:
java.lang.Exception

transformEntity

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

Parameters:
transform - one of the constants declared in PleasureBoatDao
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.PleasureBoat) method. This method does not instantiate a new collection.

This method is to be used internally only.

Overrides:
transformEntities in class VesselDaoBase
Parameters:
transform - one of the constants declared in fr.ifremer.allegro.referential.vessel.PleasureBoatDao
entities - the collection of entities to transform
See Also:
transformEntity(int,fr.ifremer.allegro.referential.vessel.PleasureBoat)

toEntity

protected PleasureBoat toEntity(java.lang.Object[] row)
Overrides:
toEntity in class VesselDaoBase

toRemotePleasureBoatFullVOCollection

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

Specified by:
toRemotePleasureBoatFullVOCollection in interface PleasureBoatDao
See Also:
PleasureBoatDao.toRemotePleasureBoatFullVOCollection(java.util.Collection)

toRemotePleasureBoatFullVOArray

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

Specified by:
toRemotePleasureBoatFullVOArray in interface PleasureBoatDao
See Also:
PleasureBoatDao.toRemotePleasureBoatFullVOArray(java.util.Collection)

toRemotePleasureBoatFullVO

protected RemotePleasureBoatFullVO toRemotePleasureBoatFullVO(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 PleasureBoatDaoImpl class if you intend to use reporting queries.

See Also:
PleasureBoatDao.toRemotePleasureBoatFullVO(fr.ifremer.allegro.referential.vessel.PleasureBoat)

remotePleasureBoatFullVOToEntityCollection

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

Specified by:
remotePleasureBoatFullVOToEntityCollection in interface PleasureBoatDao
See Also:
PleasureBoatDao.remotePleasureBoatFullVOToEntityCollection(java.util.Collection)

toRemotePleasureBoatFullVO

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

toRemotePleasureBoatFullVO

public RemotePleasureBoatFullVO toRemotePleasureBoatFullVO(PleasureBoat entity)
Description copied from interface: PleasureBoatDao
Converts this DAO's entity to an object of type RemotePleasureBoatFullVO.

Specified by:
toRemotePleasureBoatFullVO in interface PleasureBoatDao
See Also:
PleasureBoatDao.toRemotePleasureBoatFullVO(fr.ifremer.allegro.referential.vessel.PleasureBoat)

remotePleasureBoatFullVOToEntity

public void remotePleasureBoatFullVOToEntity(RemotePleasureBoatFullVO source,
                                             PleasureBoat target,
                                             boolean copyIfNull)
Description copied from interface: PleasureBoatDao
Copies the fields of RemotePleasureBoatFullVO to the specified entity.

Specified by:
remotePleasureBoatFullVOToEntity in interface PleasureBoatDao
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.PleasureBoatDao#remotePleasureBoatFullVOToEntity(fr.ifremer.allegro.referential.vessel.generic.vo.RemotePleasureBoatFullVO, fr.ifremer.allegro.referential.vessel.PleasureBoat)

toRemotePleasureBoatNaturalIdCollection

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

Specified by:
toRemotePleasureBoatNaturalIdCollection in interface PleasureBoatDao
See Also:
PleasureBoatDao.toRemotePleasureBoatNaturalIdCollection(java.util.Collection)

toRemotePleasureBoatNaturalIdArray

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

Specified by:
toRemotePleasureBoatNaturalIdArray in interface PleasureBoatDao
See Also:
PleasureBoatDao.toRemotePleasureBoatNaturalIdArray(java.util.Collection)

toRemotePleasureBoatNaturalId

protected RemotePleasureBoatNaturalId toRemotePleasureBoatNaturalId(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 PleasureBoatDaoImpl class if you intend to use reporting queries.

See Also:
PleasureBoatDao.toRemotePleasureBoatNaturalId(fr.ifremer.allegro.referential.vessel.PleasureBoat)

remotePleasureBoatNaturalIdToEntityCollection

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

Specified by:
remotePleasureBoatNaturalIdToEntityCollection in interface PleasureBoatDao
See Also:
PleasureBoatDao.remotePleasureBoatNaturalIdToEntityCollection(java.util.Collection)

toRemotePleasureBoatNaturalId

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

toRemotePleasureBoatNaturalId

public RemotePleasureBoatNaturalId toRemotePleasureBoatNaturalId(PleasureBoat entity)
Description copied from interface: PleasureBoatDao
Converts this DAO's entity to an object of type RemotePleasureBoatNaturalId.

Specified by:
toRemotePleasureBoatNaturalId in interface PleasureBoatDao
See Also:
PleasureBoatDao.toRemotePleasureBoatNaturalId(fr.ifremer.allegro.referential.vessel.PleasureBoat)

remotePleasureBoatNaturalIdToEntity

public void remotePleasureBoatNaturalIdToEntity(RemotePleasureBoatNaturalId source,
                                                PleasureBoat target,
                                                boolean copyIfNull)
Description copied from interface: PleasureBoatDao
Copies the fields of RemotePleasureBoatNaturalId to the specified entity.

Specified by:
remotePleasureBoatNaturalIdToEntity in interface PleasureBoatDao
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.PleasureBoatDao#remotePleasureBoatNaturalIdToEntity(fr.ifremer.allegro.referential.vessel.generic.vo.RemotePleasureBoatNaturalId, fr.ifremer.allegro.referential.vessel.PleasureBoat)

toClusterPleasureBoatCollection

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

Specified by:
toClusterPleasureBoatCollection in interface PleasureBoatDao
See Also:
PleasureBoatDao.toClusterPleasureBoatCollection(java.util.Collection)

toClusterPleasureBoatArray

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

Specified by:
toClusterPleasureBoatArray in interface PleasureBoatDao
See Also:
PleasureBoatDao.toClusterPleasureBoatArray(java.util.Collection)

toClusterPleasureBoat

protected ClusterPleasureBoat toClusterPleasureBoat(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 PleasureBoatDaoImpl class if you intend to use reporting queries.

See Also:
PleasureBoatDao.toClusterPleasureBoat(fr.ifremer.allegro.referential.vessel.PleasureBoat)

clusterPleasureBoatToEntityCollection

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

Specified by:
clusterPleasureBoatToEntityCollection in interface PleasureBoatDao
See Also:
PleasureBoatDao.clusterPleasureBoatToEntityCollection(java.util.Collection)

toClusterPleasureBoat

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

toClusterPleasureBoat

public ClusterPleasureBoat toClusterPleasureBoat(PleasureBoat entity)
Description copied from interface: PleasureBoatDao
Converts this DAO's entity to an object of type ClusterPleasureBoat.

Specified by:
toClusterPleasureBoat in interface PleasureBoatDao
See Also:
PleasureBoatDao.toClusterPleasureBoat(fr.ifremer.allegro.referential.vessel.PleasureBoat)

clusterPleasureBoatToEntity

public void clusterPleasureBoatToEntity(ClusterPleasureBoat source,
                                        PleasureBoat target,
                                        boolean copyIfNull)
Description copied from interface: PleasureBoatDao
Copies the fields of ClusterPleasureBoat to the specified entity.

Specified by:
clusterPleasureBoatToEntity in interface PleasureBoatDao
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.PleasureBoatDao#clusterPleasureBoatToEntity(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterPleasureBoat, fr.ifremer.allegro.referential.vessel.PleasureBoat)

getPrincipal

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

Overrides:
getPrincipal in class VesselDaoBase
Returns:
the current principal

search

public PaginationResult search(int transform,
                               int pageNumber,
                               int pageSize,
                               Search search)
Description copied from interface: VesselDao
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 PleasureBoatDao
Specified by:
search in interface VesselDao
Overrides:
search in class VesselDaoBase
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:
PleasureBoatDao.search(int, int, int, fr.ifremer.allegro.Search)

search

public PaginationResult search(int pageNumber,
                               int pageSize,
                               Search search)
Description copied from interface: VesselDao
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 PleasureBoatDao
Specified by:
search in interface VesselDao
Overrides:
search in class VesselDaoBase
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:
PleasureBoatDao.search(int, int, fr.ifremer.allegro.Search)

search

public java.util.Set search(int transform,
                            Search search)
Description copied from interface: VesselDao
Does the same thing as VesselDao.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 PleasureBoatDao
Specified by:
search in interface VesselDao
Overrides:
search in class VesselDaoBase
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:
PleasureBoatDao.search(int, fr.ifremer.allegro.Search)

search

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

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


Copyright © 2008-2010 IFREMER. All Rights Reserved.