fr.ifremer.allegro.referential.vessel
Class FishingVesselDaoBase

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.FishingVesselDaoBase
All Implemented Interfaces:
FishingVesselDao, VesselDao
Direct Known Subclasses:
FishingVesselDaoImpl

public abstract class FishingVesselDaoBase
extends VesselDaoImpl
implements FishingVesselDao

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

See Also:
FishingVessel

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.vessel.FishingVesselDao
TRANSFORM_CLUSTERFISHINGVESSEL, TRANSFORM_REMOTEFISHINGVESSELFULLVO, TRANSFORM_REMOTEFISHINGVESSELNATURALID
 
Fields inherited from interface fr.ifremer.allegro.referential.vessel.VesselDao
TRANSFORM_CLUSTERVESSEL, TRANSFORM_NONE, TRANSFORM_REMOTEVESSELFULLVO, TRANSFORM_REMOTEVESSELNATURALID
 
Constructor Summary
FishingVesselDaoBase()
           
 
Method Summary
 void clusterFishingVesselToEntity(ClusterFishingVessel source, FishingVessel target, boolean copyIfNull)
          Copies the fields of ClusterFishingVessel to the specified entity.
 void clusterFishingVesselToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type ClusterFishingVessel to this DAO's entity.
 java.util.Collection create(java.util.Collection entities)
          Creates a new instance of fr.ifremer.allegro.referential.vessel.FishingVessel and adds from the passed in entities collection
 FishingVessel create(FishingVessel fishingVessel)
          Creates an instance of fr.ifremer.allegro.referential.vessel.FishingVessel and adds it to the persistent store.
 java.util.Collection create(int transform, java.util.Collection entities)
           Does the same thing as FishingVesselDao.create(fr.ifremer.allegro.referential.vessel.FishingVessel) with an additional flag called transform.
 java.lang.Object create(int transform, FishingVessel fishingVessel)
           Does the same thing as FishingVesselDao.create(fr.ifremer.allegro.referential.vessel.FishingVessel) with an additional flag called transform.
 java.lang.Object create(int transform, java.lang.String code, Status status, java.util.Collection vesselFeatures, VesselType vesselType)
           Does the same thing as FishingVesselDao.create(java.lang.String,fr.ifremer.allegro.referential.Status,java.util.Collection,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, java.util.Collection vesselFeatures, java.util.Collection vesselMasterPeriods)
           Does the same thing as FishingVesselDao.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,java.util.Collection,java.util.Collection) with an additional flag called transform.
 FishingVessel create(java.lang.String code, Status status, java.util.Collection vesselFeatures, VesselType vesselType)
           Creates a new fr.ifremer.allegro.referential.vessel.FishingVessel instance from only required properties (attributes and association ends) and adds it to the persistent store.
 FishingVessel 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, java.util.Collection vesselFeatures, java.util.Collection vesselMasterPeriods)
           Creates a new fr.ifremer.allegro.referential.vessel.FishingVessel instance from all attributes and properties and adds it to the persistent store.
 FishingVessel createFromClusterFishingVessel(ClusterFishingVessel clusterFishingVessel)
           
 java.lang.Object findFishingVesselByCode(int transform, java.lang.String code)
           Does the same thing as FishingVesselDao.findFishingVesselByCode(java.lang.String) with an additional flag called transform.
 java.lang.Object findFishingVesselByCode(int transform, java.lang.String queryString, java.lang.String code)
           Does the same thing as FishingVesselDao.findFishingVesselByCode(int, java.lang.String) with an additional argument called queryString.
 FishingVessel findFishingVesselByCode(java.lang.String code)
           
 FishingVessel findFishingVesselByCode(java.lang.String queryString, java.lang.String code)
           Does the same thing as FishingVesselDao.findFishingVesselByCode(java.lang.String) with an additional argument called queryString.
 java.lang.Object findFishingVesselByNaturalId(int transform, java.lang.String code)
           Does the same thing as FishingVesselDao.findFishingVesselByNaturalId(java.lang.String) with an additional flag called transform.
 java.lang.Object findFishingVesselByNaturalId(int transform, java.lang.String queryString, java.lang.String code)
           Does the same thing as FishingVesselDao.findFishingVesselByNaturalId(int, java.lang.String) with an additional argument called queryString.
 FishingVessel findFishingVesselByNaturalId(java.lang.String code)
           
 FishingVessel findFishingVesselByNaturalId(java.lang.String queryString, java.lang.String code)
           Does the same thing as FishingVesselDao.findFishingVesselByNaturalId(java.lang.String) with an additional argument called queryString.
 java.util.Collection findFishingVesselByStatus(int transform, int pageNumber, int pageSize, Status status)
           Does the same thing as FishingVesselDao.findFishingVesselByStatus(int, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findFishingVesselByStatus(int pageNumber, int pageSize, Status status)
           Does the same thing as FishingVesselDao.findFishingVesselByStatus(fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findFishingVesselByStatus(int transform, Status status)
           Does the same thing as FishingVesselDao.findFishingVesselByStatus(fr.ifremer.allegro.referential.Status) with an additional flag called transform.
 java.util.Collection findFishingVesselByStatus(int transform, java.lang.String queryString, int pageNumber, int pageSize, Status status)
           Does the same thing as FishingVesselDao.findFishingVesselByStatus(int, String, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findFishingVesselByStatus(int transform, java.lang.String queryString, Status status)
           Does the same thing as FishingVesselDao.findFishingVesselByStatus(int, fr.ifremer.allegro.referential.Status) with an additional argument called queryString.
 java.util.Collection findFishingVesselByStatus(Status status)
           
 java.util.Collection findFishingVesselByStatus(java.lang.String queryString, int pageNumber, int pageSize, Status status)
           Does the same thing as FishingVesselDao.findFishingVesselByStatus(String, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findFishingVesselByStatus(java.lang.String queryString, Status status)
           Does the same thing as FishingVesselDao.findFishingVesselByStatus(fr.ifremer.allegro.referential.Status) with an additional argument called queryString.
 java.util.Collection findFishingVesselByVesselType(int transform, int pageNumber, int pageSize, VesselType vesselType)
           Does the same thing as FishingVesselDao.findFishingVesselByVesselType(int, fr.ifremer.allegro.referential.VesselType) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findFishingVesselByVesselType(int pageNumber, int pageSize, VesselType vesselType)
           Does the same thing as FishingVesselDao.findFishingVesselByVesselType(fr.ifremer.allegro.referential.VesselType) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findFishingVesselByVesselType(int transform, java.lang.String queryString, int pageNumber, int pageSize, VesselType vesselType)
           Does the same thing as FishingVesselDao.findFishingVesselByVesselType(int, String, fr.ifremer.allegro.referential.VesselType) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findFishingVesselByVesselType(int transform, java.lang.String queryString, VesselType vesselType)
           Does the same thing as FishingVesselDao.findFishingVesselByVesselType(int, fr.ifremer.allegro.referential.VesselType) with an additional argument called queryString.
 java.util.Collection findFishingVesselByVesselType(int transform, VesselType vesselType)
           Does the same thing as FishingVesselDao.findFishingVesselByVesselType(fr.ifremer.allegro.referential.VesselType) with an additional flag called transform.
 java.util.Collection findFishingVesselByVesselType(java.lang.String queryString, int pageNumber, int pageSize, VesselType vesselType)
           Does the same thing as FishingVesselDao.findFishingVesselByVesselType(String, fr.ifremer.allegro.referential.VesselType) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findFishingVesselByVesselType(java.lang.String queryString, VesselType vesselType)
           Does the same thing as FishingVesselDao.findFishingVesselByVesselType(fr.ifremer.allegro.referential.VesselType) with an additional argument called queryString.
 java.util.Collection findFishingVesselByVesselType(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)
           
 ClusterFishingVessel[] getAllClusterFishingVesselSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize, java.lang.String[] fishingVesselCodes)
           
 java.util.Collection getAllFishingVessel()
           
 java.util.Collection getAllFishingVessel(int transform)
           Does the same thing as FishingVesselDao.getAllFishingVessel() with an additional flag called transform.
 java.util.Collection getAllFishingVessel(int pageNumber, int pageSize)
           Does the same thing as FishingVesselDao.getAllFishingVessel() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllFishingVessel(int transform, int pageNumber, int pageSize)
           Does the same thing as FishingVesselDao.getAllFishingVessel(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllFishingVessel(int transform, java.lang.String queryString)
           Does the same thing as FishingVesselDao.getAllFishingVessel(int) with an additional argument called queryString.
 java.util.Collection getAllFishingVessel(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as FishingVesselDao.getAllFishingVessel(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllFishingVessel(java.lang.String queryString)
           Does the same thing as FishingVesselDao.getAllFishingVessel() with an additional argument called queryString.
 java.util.Collection getAllFishingVessel(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as FishingVesselDao.getAllFishingVessel(String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllFishingVesselSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as FishingVesselDao.getAllFishingVesselSinceDateSynchro(int, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllFishingVesselSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as FishingVesselDao.getAllFishingVesselSinceDateSynchro(java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllFishingVesselSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as FishingVesselDao.getAllFishingVesselSinceDateSynchro(int, String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllFishingVesselSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as FishingVesselDao.getAllFishingVesselSinceDateSynchro(int, java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllFishingVesselSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
           Does the same thing as FishingVesselDao.getAllFishingVesselSinceDateSynchro(java.sql.Timestamp) with an additional flag called transform.
 java.util.Collection getAllFishingVesselSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as FishingVesselDao.getAllFishingVesselSinceDateSynchro(String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllFishingVesselSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as FishingVesselDao.getAllFishingVesselSinceDateSynchro(java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllFishingVesselSinceDateSynchro(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  VesselFeaturesDao getVesselFeaturesDao()
          Gets the reference to vesselFeaturesDao.
protected  VesselMasterPeriodDao getVesselMasterPeriodDao()
          Gets the reference to vesselMasterPeriodDao.
protected abstract  FishingVessel handleCreateFromClusterFishingVessel(ClusterFishingVessel clusterFishingVessel)
          Performs the core logic for createFromClusterFishingVessel(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterFishingVessel)
protected abstract  ClusterFishingVessel[] handleGetAllClusterFishingVesselSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize, java.lang.String[] fishingVesselCodes)
          Performs the core logic for getAllClusterFishingVesselSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer, java.lang.String[])
 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.
 FishingVessel 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 remoteFishingVesselFullVOToEntity(RemoteFishingVesselFullVO source, FishingVessel target, boolean copyIfNull)
          Copies the fields of RemoteFishingVesselFullVO to the specified entity.
 void remoteFishingVesselFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteFishingVesselFullVO to this DAO's entity.
 void remoteFishingVesselNaturalIdToEntity(RemoteFishingVesselNaturalId source, FishingVessel target, boolean copyIfNull)
          Copies the fields of RemoteFishingVesselNaturalId to the specified entity.
 void remoteFishingVesselNaturalIdToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteFishingVesselNaturalId to this DAO's entity.
 void remove(java.util.Collection entities)
          Removes all entities in the given entities collection.
 void remove(FishingVessel fishingVessel)
          Removes the instance of fr.ifremer.allegro.referential.vessel.FishingVessel 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.
 void setVesselFeaturesDao(VesselFeaturesDao vesselFeaturesDao)
          Sets the reference to vesselFeaturesDao.
 void setVesselMasterPeriodDao(VesselMasterPeriodDao vesselMasterPeriodDao)
          Sets the reference to vesselMasterPeriodDao.
 ClusterFishingVessel toClusterFishingVessel(FishingVessel entity)
          Converts this DAO's entity to an object of type ClusterFishingVessel.
 void toClusterFishingVessel(FishingVessel source, ClusterFishingVessel target)
          Copies the fields of the specified entity to the target value object.
protected  ClusterFishingVessel toClusterFishingVessel(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 ClusterFishingVessel[] toClusterFishingVesselArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type ClusterFishingVessel.
 void toClusterFishingVesselCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type ClusterFishingVessel.
protected  FishingVessel toEntity(java.lang.Object[] row)
           
 RemoteFishingVesselFullVO toRemoteFishingVesselFullVO(FishingVessel entity)
          Converts this DAO's entity to an object of type RemoteFishingVesselFullVO.
 void toRemoteFishingVesselFullVO(FishingVessel source, RemoteFishingVesselFullVO target)
          Copies the fields of the specified entity to the target value object.
protected  RemoteFishingVesselFullVO toRemoteFishingVesselFullVO(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteFishingVesselFullVO[] toRemoteFishingVesselFullVOArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteFishingVesselFullVO.
 void toRemoteFishingVesselFullVOCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteFishingVesselFullVO.
 RemoteFishingVesselNaturalId toRemoteFishingVesselNaturalId(FishingVessel entity)
          Converts this DAO's entity to an object of type RemoteFishingVesselNaturalId.
 void toRemoteFishingVesselNaturalId(FishingVessel source, RemoteFishingVesselNaturalId target)
          Copies the fields of the specified entity to the target value object.
protected  RemoteFishingVesselNaturalId toRemoteFishingVesselNaturalId(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteFishingVesselNaturalId[] toRemoteFishingVesselNaturalIdArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteFishingVesselNaturalId.
 void toRemoteFishingVesselNaturalIdCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteFishingVesselNaturalId.
protected  void transformEntities(int transform, java.util.Collection entities)
          Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.vessel.FishingVessel) method.
protected  java.lang.Object transformEntity(int transform, FishingVessel 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.FishingVesselDao, 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(FishingVessel fishingVessel)
          Updates the fishingVessel 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.FishingVesselDao
clusterFishingVesselToEntity, remoteFishingVesselFullVOToEntity, remoteFishingVesselNaturalIdToEntity
 
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

FishingVesselDaoBase

public FishingVesselDaoBase()
Method Detail

setVesselFeaturesDao

public void setVesselFeaturesDao(VesselFeaturesDao vesselFeaturesDao)
Sets the reference to vesselFeaturesDao.


getVesselFeaturesDao

protected VesselFeaturesDao getVesselFeaturesDao()
Gets the reference to vesselFeaturesDao.


setVesselMasterPeriodDao

public void setVesselMasterPeriodDao(VesselMasterPeriodDao vesselMasterPeriodDao)
Sets the reference to vesselMasterPeriodDao.


getVesselMasterPeriodDao

protected VesselMasterPeriodDao getVesselMasterPeriodDao()
Gets the reference to vesselMasterPeriodDao.


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 FishingVesselDao
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:
FishingVesselDao.load(int, java.lang.String)

load

public FishingVessel 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 FishingVesselDao
Specified by:
load in interface VesselDao
Overrides:
load in class VesselDaoBase
See Also:
FishingVesselDao.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 FishingVesselDao
Specified by:
loadAll in interface VesselDao
Overrides:
loadAll in class VesselDaoBase
Returns:
the loaded entities.
See Also:
FishingVesselDao.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 FishingVesselDao
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:
FishingVesselDao.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 FishingVesselDao
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:
FishingVesselDao.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 FishingVesselDao
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:
FishingVesselDao.loadAll(int, int, int)

create

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

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

create

public java.lang.Object create(int transform,
                               FishingVessel fishingVessel)
Description copied from interface: FishingVesselDao

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

create

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

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

create

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

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

create

public FishingVessel 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,
                            java.util.Collection vesselFeatures,
                            java.util.Collection vesselMasterPeriods)
Description copied from interface: FishingVesselDao

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

Specified by:
create in interface FishingVesselDao
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,java.util.Collection,java.util.Collection)

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,
                               java.util.Collection vesselFeatures,
                               java.util.Collection vesselMasterPeriods)
Description copied from interface: FishingVesselDao

Does the same thing as FishingVesselDao.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,java.util.Collection,java.util.Collection) 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 FishingVesselDao
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,java.util.Collection,java.util.Collection)

create

public FishingVessel create(java.lang.String code,
                            Status status,
                            java.util.Collection vesselFeatures,
                            VesselType vesselType)
Description copied from interface: FishingVesselDao

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

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

create

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

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

update

public void update(FishingVessel fishingVessel)
Description copied from interface: FishingVesselDao
Updates the fishingVessel instance in the persistent store.

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

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 FishingVesselDao
Specified by:
update in interface VesselDao
Overrides:
update in class VesselDaoBase
See Also:
VesselDao.update(java.util.Collection)

remove

public void remove(FishingVessel fishingVessel)
Description copied from interface: FishingVesselDao
Removes the instance of fr.ifremer.allegro.referential.vessel.FishingVessel from the persistent store.

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

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 FishingVesselDao
Specified by:
remove in interface VesselDao
Overrides:
remove in class VesselDaoBase
See Also:
FishingVesselDao.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 FishingVesselDao
Specified by:
remove in interface VesselDao
Overrides:
remove in class VesselDaoBase
See Also:
VesselDao.remove(java.util.Collection)

getAllFishingVessel

public java.util.Collection getAllFishingVessel()
Specified by:
getAllFishingVessel in interface FishingVesselDao
See Also:
FishingVesselDao.getAllFishingVessel()

getAllFishingVessel

public java.util.Collection getAllFishingVessel(int transform)
Description copied from interface: FishingVesselDao

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

getAllFishingVessel

public java.util.Collection getAllFishingVessel(java.lang.String queryString)
Description copied from interface: FishingVesselDao

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

Specified by:
getAllFishingVessel in interface FishingVesselDao
See Also:
FishingVesselDao.getAllFishingVessel(java.lang.String)

getAllFishingVessel

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

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

getAllFishingVessel

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

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

getAllFishingVessel

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

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

Specified by:
getAllFishingVessel in interface FishingVesselDao
See Also:
FishingVesselDao.getAllFishingVessel(int, String)

getAllFishingVessel

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

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

getAllFishingVessel

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

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

findFishingVesselByCode

public FishingVessel findFishingVesselByCode(java.lang.String code)
Specified by:
findFishingVesselByCode in interface FishingVesselDao
See Also:
FishingVesselDao.findFishingVesselByCode(java.lang.String)

findFishingVesselByCode

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

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

findFishingVesselByCode

public FishingVessel findFishingVesselByCode(java.lang.String queryString,
                                             java.lang.String code)
Description copied from interface: FishingVesselDao

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

Specified by:
findFishingVesselByCode in interface FishingVesselDao
See Also:
FishingVesselDao.findFishingVesselByCode(java.lang.String, java.lang.String)

findFishingVesselByCode

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

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

Specified by:
findFishingVesselByCode in interface FishingVesselDao
See Also:
FishingVesselDao.findFishingVesselByCode(int, java.lang.String, java.lang.String)

findFishingVesselByStatus

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

findFishingVesselByStatus

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

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

findFishingVesselByStatus

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

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

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

findFishingVesselByStatus

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

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

findFishingVesselByStatus

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

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

findFishingVesselByStatus

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

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

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

findFishingVesselByStatus

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

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

findFishingVesselByStatus

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

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

findFishingVesselByVesselType

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

findFishingVesselByVesselType

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

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

findFishingVesselByVesselType

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

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

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

findFishingVesselByVesselType

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

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

findFishingVesselByVesselType

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

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

findFishingVesselByVesselType

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

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

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

findFishingVesselByVesselType

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

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

findFishingVesselByVesselType

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

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

findFishingVesselByNaturalId

public FishingVessel findFishingVesselByNaturalId(java.lang.String code)
Specified by:
findFishingVesselByNaturalId in interface FishingVesselDao
See Also:
FishingVesselDao.findFishingVesselByNaturalId(java.lang.String)

findFishingVesselByNaturalId

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

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

findFishingVesselByNaturalId

public FishingVessel findFishingVesselByNaturalId(java.lang.String queryString,
                                                  java.lang.String code)
Description copied from interface: FishingVesselDao

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

Specified by:
findFishingVesselByNaturalId in interface FishingVesselDao
See Also:
FishingVesselDao.findFishingVesselByNaturalId(java.lang.String, java.lang.String)

findFishingVesselByNaturalId

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

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

Specified by:
findFishingVesselByNaturalId in interface FishingVesselDao
See Also:
FishingVesselDao.findFishingVesselByNaturalId(int, java.lang.String, java.lang.String)

getAllFishingVesselSinceDateSynchro

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

getAllFishingVesselSinceDateSynchro

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

Does the same thing as FishingVesselDao.getAllFishingVesselSinceDateSynchro(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:
getAllFishingVesselSinceDateSynchro in interface FishingVesselDao
See Also:
FishingVesselDao.getAllFishingVesselSinceDateSynchro(int, java.sql.Timestamp)

getAllFishingVesselSinceDateSynchro

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

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

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

getAllFishingVesselSinceDateSynchro

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

Does the same thing as FishingVesselDao.getAllFishingVesselSinceDateSynchro(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:
getAllFishingVesselSinceDateSynchro in interface FishingVesselDao
See Also:
FishingVesselDao.getAllFishingVesselSinceDateSynchro(int, int, java.sql.Timestamp)

getAllFishingVesselSinceDateSynchro

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

Does the same thing as FishingVesselDao.getAllFishingVesselSinceDateSynchro(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:
getAllFishingVesselSinceDateSynchro in interface FishingVesselDao
See Also:
FishingVesselDao.getAllFishingVesselSinceDateSynchro(String, int, int, java.sql.Timestamp)

getAllFishingVesselSinceDateSynchro

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

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

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

getAllFishingVesselSinceDateSynchro

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

Does the same thing as FishingVesselDao.getAllFishingVesselSinceDateSynchro(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:
getAllFishingVesselSinceDateSynchro in interface FishingVesselDao
See Also:
FishingVesselDao.getAllFishingVesselSinceDateSynchro(int, int, int, java.sql.Timestamp)

getAllFishingVesselSinceDateSynchro

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

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

createFromClusterFishingVessel

public FishingVessel createFromClusterFishingVessel(ClusterFishingVessel clusterFishingVessel)
Specified by:
createFromClusterFishingVessel in interface FishingVesselDao
See Also:
FishingVesselDao.createFromClusterFishingVessel(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterFishingVessel)

handleCreateFromClusterFishingVessel

protected abstract FishingVessel handleCreateFromClusterFishingVessel(ClusterFishingVessel clusterFishingVessel)
                                                               throws java.lang.Exception
Performs the core logic for createFromClusterFishingVessel(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterFishingVessel)

Throws:
java.lang.Exception

getAllClusterFishingVesselSinceDateSynchro

public ClusterFishingVessel[] getAllClusterFishingVesselSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
                                                                         java.lang.Integer userId,
                                                                         java.lang.Integer[] registrationLocationIds,
                                                                         java.lang.Integer pageNumber,
                                                                         java.lang.Integer pageSize,
                                                                         java.lang.String[] fishingVesselCodes)
Specified by:
getAllClusterFishingVesselSinceDateSynchro in interface FishingVesselDao
See Also:
FishingVesselDao.getAllClusterFishingVesselSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer, java.lang.String[])

handleGetAllClusterFishingVesselSinceDateSynchro

protected abstract ClusterFishingVessel[] handleGetAllClusterFishingVesselSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
                                                                                           java.lang.Integer userId,
                                                                                           java.lang.Integer[] registrationLocationIds,
                                                                                           java.lang.Integer pageNumber,
                                                                                           java.lang.Integer pageSize,
                                                                                           java.lang.String[] fishingVesselCodes)
                                                                                    throws java.lang.Exception
Performs the core logic for getAllClusterFishingVesselSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer, java.lang.String[])

Throws:
java.lang.Exception

transformEntity

protected java.lang.Object transformEntity(int transform,
                                           FishingVessel 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.FishingVesselDao, 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 FishingVesselDao
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.FishingVessel) 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.FishingVesselDao
entities - the collection of entities to transform
See Also:
transformEntity(int,fr.ifremer.allegro.referential.vessel.FishingVessel)

toEntity

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

toRemoteFishingVesselFullVOCollection

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

Specified by:
toRemoteFishingVesselFullVOCollection in interface FishingVesselDao
See Also:
FishingVesselDao.toRemoteFishingVesselFullVOCollection(java.util.Collection)

toRemoteFishingVesselFullVOArray

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

Specified by:
toRemoteFishingVesselFullVOArray in interface FishingVesselDao
See Also:
FishingVesselDao.toRemoteFishingVesselFullVOArray(java.util.Collection)

toRemoteFishingVesselFullVO

protected RemoteFishingVesselFullVO toRemoteFishingVesselFullVO(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 FishingVesselDaoImpl class if you intend to use reporting queries.

See Also:
FishingVesselDao.toRemoteFishingVesselFullVO(fr.ifremer.allegro.referential.vessel.FishingVessel)

remoteFishingVesselFullVOToEntityCollection

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

Specified by:
remoteFishingVesselFullVOToEntityCollection in interface FishingVesselDao
See Also:
FishingVesselDao.remoteFishingVesselFullVOToEntityCollection(java.util.Collection)

toRemoteFishingVesselFullVO

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

toRemoteFishingVesselFullVO

public RemoteFishingVesselFullVO toRemoteFishingVesselFullVO(FishingVessel entity)
Description copied from interface: FishingVesselDao
Converts this DAO's entity to an object of type RemoteFishingVesselFullVO.

Specified by:
toRemoteFishingVesselFullVO in interface FishingVesselDao
See Also:
FishingVesselDao.toRemoteFishingVesselFullVO(fr.ifremer.allegro.referential.vessel.FishingVessel)

remoteFishingVesselFullVOToEntity

public void remoteFishingVesselFullVOToEntity(RemoteFishingVesselFullVO source,
                                              FishingVessel target,
                                              boolean copyIfNull)
Description copied from interface: FishingVesselDao
Copies the fields of RemoteFishingVesselFullVO to the specified entity.

Specified by:
remoteFishingVesselFullVOToEntity in interface FishingVesselDao
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.FishingVesselDao#remoteFishingVesselFullVOToEntity(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteFishingVesselFullVO, fr.ifremer.allegro.referential.vessel.FishingVessel)

toRemoteFishingVesselNaturalIdCollection

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

Specified by:
toRemoteFishingVesselNaturalIdCollection in interface FishingVesselDao
See Also:
FishingVesselDao.toRemoteFishingVesselNaturalIdCollection(java.util.Collection)

toRemoteFishingVesselNaturalIdArray

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

Specified by:
toRemoteFishingVesselNaturalIdArray in interface FishingVesselDao
See Also:
FishingVesselDao.toRemoteFishingVesselNaturalIdArray(java.util.Collection)

toRemoteFishingVesselNaturalId

protected RemoteFishingVesselNaturalId toRemoteFishingVesselNaturalId(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 FishingVesselDaoImpl class if you intend to use reporting queries.

See Also:
FishingVesselDao.toRemoteFishingVesselNaturalId(fr.ifremer.allegro.referential.vessel.FishingVessel)

remoteFishingVesselNaturalIdToEntityCollection

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

Specified by:
remoteFishingVesselNaturalIdToEntityCollection in interface FishingVesselDao
See Also:
FishingVesselDao.remoteFishingVesselNaturalIdToEntityCollection(java.util.Collection)

toRemoteFishingVesselNaturalId

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

toRemoteFishingVesselNaturalId

public RemoteFishingVesselNaturalId toRemoteFishingVesselNaturalId(FishingVessel entity)
Description copied from interface: FishingVesselDao
Converts this DAO's entity to an object of type RemoteFishingVesselNaturalId.

Specified by:
toRemoteFishingVesselNaturalId in interface FishingVesselDao
See Also:
FishingVesselDao.toRemoteFishingVesselNaturalId(fr.ifremer.allegro.referential.vessel.FishingVessel)

remoteFishingVesselNaturalIdToEntity

public void remoteFishingVesselNaturalIdToEntity(RemoteFishingVesselNaturalId source,
                                                 FishingVessel target,
                                                 boolean copyIfNull)
Description copied from interface: FishingVesselDao
Copies the fields of RemoteFishingVesselNaturalId to the specified entity.

Specified by:
remoteFishingVesselNaturalIdToEntity in interface FishingVesselDao
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.FishingVesselDao#remoteFishingVesselNaturalIdToEntity(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteFishingVesselNaturalId, fr.ifremer.allegro.referential.vessel.FishingVessel)

toClusterFishingVesselCollection

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

Specified by:
toClusterFishingVesselCollection in interface FishingVesselDao
See Also:
FishingVesselDao.toClusterFishingVesselCollection(java.util.Collection)

toClusterFishingVesselArray

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

Specified by:
toClusterFishingVesselArray in interface FishingVesselDao
See Also:
FishingVesselDao.toClusterFishingVesselArray(java.util.Collection)

toClusterFishingVessel

protected ClusterFishingVessel toClusterFishingVessel(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 FishingVesselDaoImpl class if you intend to use reporting queries.

See Also:
FishingVesselDao.toClusterFishingVessel(fr.ifremer.allegro.referential.vessel.FishingVessel)

clusterFishingVesselToEntityCollection

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

Specified by:
clusterFishingVesselToEntityCollection in interface FishingVesselDao
See Also:
FishingVesselDao.clusterFishingVesselToEntityCollection(java.util.Collection)

toClusterFishingVessel

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

toClusterFishingVessel

public ClusterFishingVessel toClusterFishingVessel(FishingVessel entity)
Description copied from interface: FishingVesselDao
Converts this DAO's entity to an object of type ClusterFishingVessel.

Specified by:
toClusterFishingVessel in interface FishingVesselDao
See Also:
FishingVesselDao.toClusterFishingVessel(fr.ifremer.allegro.referential.vessel.FishingVessel)

clusterFishingVesselToEntity

public void clusterFishingVesselToEntity(ClusterFishingVessel source,
                                         FishingVessel target,
                                         boolean copyIfNull)
Description copied from interface: FishingVesselDao
Copies the fields of ClusterFishingVessel to the specified entity.

Specified by:
clusterFishingVesselToEntity in interface FishingVesselDao
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.FishingVesselDao#clusterFishingVesselToEntity(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterFishingVessel, fr.ifremer.allegro.referential.vessel.FishingVessel)

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


Copyright © 2008-2010 IFREMER. All Rights Reserved.