fr.ifremer.allegro.referential.vessel
Class VesselGroupDaoBase

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.VesselGroupDaoBase
All Implemented Interfaces:
VesselDao, VesselGroupDao
Direct Known Subclasses:
VesselGroupDaoImpl

public abstract class VesselGroupDaoBase
extends VesselDaoImpl
implements VesselGroupDao

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

See Also:
VesselGroup

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.vessel.VesselGroupDao
TRANSFORM_CLUSTERVESSELGROUP, TRANSFORM_REMOTEVESSELGROUPFULLVO, TRANSFORM_REMOTEVESSELGROUPNATURALID
 
Fields inherited from interface fr.ifremer.allegro.referential.vessel.VesselDao
TRANSFORM_CLUSTERVESSEL, TRANSFORM_NONE, TRANSFORM_REMOTEVESSELFULLVO, TRANSFORM_REMOTEVESSELNATURALID
 
Constructor Summary
VesselGroupDaoBase()
           
 
Method Summary
 void clusterVesselGroupToEntity(ClusterVesselGroup source, VesselGroup target, boolean copyIfNull)
          Copies the fields of ClusterVesselGroup to the specified entity.
 void clusterVesselGroupToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type ClusterVesselGroup to this DAO's entity.
 java.util.Collection create(java.util.Collection entities)
          Creates a new instance of fr.ifremer.allegro.referential.vessel.VesselGroup and adds from the passed in entities collection
 java.util.Collection create(int transform, java.util.Collection entities)
           Does the same thing as VesselGroupDao.create(fr.ifremer.allegro.referential.vessel.VesselGroup) with an additional flag called transform.
 java.lang.Object create(int transform, java.lang.String code, Status status, VesselType vesselType)
           Does the same thing as VesselGroupDao.create(java.lang.String,fr.ifremer.allegro.referential.Status,fr.ifremer.allegro.referential.VesselType) with an additional flag called transform.
 java.lang.Object create(int transform, java.lang.String code, java.sql.Timestamp updateDate, java.util.Collection rightToProduces, java.util.Collection vesselOwnerPeriods, java.util.Collection vesselRegistrationPeriods, Status status, VesselType vesselType)
           Does the same thing as VesselGroupDao.create(java.lang.String,java.sql.Timestamp,java.util.Collection,java.util.Collection,java.util.Collection,fr.ifremer.allegro.referential.Status,fr.ifremer.allegro.referential.VesselType) with an additional flag called transform.
 java.lang.Object create(int transform, VesselGroup vesselGroup)
           Does the same thing as VesselGroupDao.create(fr.ifremer.allegro.referential.vessel.VesselGroup) with an additional flag called transform.
 VesselGroup create(java.lang.String code, Status status, VesselType vesselType)
           Creates a new fr.ifremer.allegro.referential.vessel.VesselGroup instance from only required properties (attributes and association ends) and adds it to the persistent store.
 VesselGroup create(java.lang.String code, java.sql.Timestamp updateDate, java.util.Collection rightToProduces, java.util.Collection vesselOwnerPeriods, java.util.Collection vesselRegistrationPeriods, Status status, VesselType vesselType)
           Creates a new fr.ifremer.allegro.referential.vessel.VesselGroup instance from all attributes and properties and adds it to the persistent store.
 VesselGroup create(VesselGroup vesselGroup)
          Creates an instance of fr.ifremer.allegro.referential.vessel.VesselGroup and adds it to the persistent store.
 VesselGroup createFromClusterVesselGroup(ClusterVesselGroup clusterVesselGroup)
           
 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)
           
 java.lang.Object findVesselGroupByCode(int transform, java.lang.String code)
           Does the same thing as VesselGroupDao.findVesselGroupByCode(java.lang.String) with an additional flag called transform.
 java.lang.Object findVesselGroupByCode(int transform, java.lang.String queryString, java.lang.String code)
           Does the same thing as VesselGroupDao.findVesselGroupByCode(int, java.lang.String) with an additional argument called queryString.
 VesselGroup findVesselGroupByCode(java.lang.String code)
           
 VesselGroup findVesselGroupByCode(java.lang.String queryString, java.lang.String code)
           Does the same thing as VesselGroupDao.findVesselGroupByCode(java.lang.String) with an additional argument called queryString.
 java.lang.Object findVesselGroupByNaturalId(int transform, java.lang.String code)
           Does the same thing as VesselGroupDao.findVesselGroupByNaturalId(java.lang.String) with an additional flag called transform.
 java.lang.Object findVesselGroupByNaturalId(int transform, java.lang.String queryString, java.lang.String code)
           Does the same thing as VesselGroupDao.findVesselGroupByNaturalId(int, java.lang.String) with an additional argument called queryString.
 VesselGroup findVesselGroupByNaturalId(java.lang.String code)
           
 VesselGroup findVesselGroupByNaturalId(java.lang.String queryString, java.lang.String code)
           Does the same thing as VesselGroupDao.findVesselGroupByNaturalId(java.lang.String) with an additional argument called queryString.
 java.util.Collection findVesselGroupByStatus(int transform, int pageNumber, int pageSize, Status status)
           Does the same thing as VesselGroupDao.findVesselGroupByStatus(int, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findVesselGroupByStatus(int pageNumber, int pageSize, Status status)
           Does the same thing as VesselGroupDao.findVesselGroupByStatus(fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findVesselGroupByStatus(int transform, Status status)
           Does the same thing as VesselGroupDao.findVesselGroupByStatus(fr.ifremer.allegro.referential.Status) with an additional flag called transform.
 java.util.Collection findVesselGroupByStatus(int transform, java.lang.String queryString, int pageNumber, int pageSize, Status status)
           Does the same thing as VesselGroupDao.findVesselGroupByStatus(int, String, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findVesselGroupByStatus(int transform, java.lang.String queryString, Status status)
           Does the same thing as VesselGroupDao.findVesselGroupByStatus(int, fr.ifremer.allegro.referential.Status) with an additional argument called queryString.
 java.util.Collection findVesselGroupByStatus(Status status)
           
 java.util.Collection findVesselGroupByStatus(java.lang.String queryString, int pageNumber, int pageSize, Status status)
           Does the same thing as VesselGroupDao.findVesselGroupByStatus(String, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findVesselGroupByStatus(java.lang.String queryString, Status status)
           Does the same thing as VesselGroupDao.findVesselGroupByStatus(fr.ifremer.allegro.referential.Status) with an additional argument called queryString.
 java.util.Collection findVesselGroupByVesselType(int transform, int pageNumber, int pageSize, VesselType vesselType)
           Does the same thing as VesselGroupDao.findVesselGroupByVesselType(int, fr.ifremer.allegro.referential.VesselType) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findVesselGroupByVesselType(int pageNumber, int pageSize, VesselType vesselType)
           Does the same thing as VesselGroupDao.findVesselGroupByVesselType(fr.ifremer.allegro.referential.VesselType) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findVesselGroupByVesselType(int transform, java.lang.String queryString, int pageNumber, int pageSize, VesselType vesselType)
           Does the same thing as VesselGroupDao.findVesselGroupByVesselType(int, String, fr.ifremer.allegro.referential.VesselType) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findVesselGroupByVesselType(int transform, java.lang.String queryString, VesselType vesselType)
           Does the same thing as VesselGroupDao.findVesselGroupByVesselType(int, fr.ifremer.allegro.referential.VesselType) with an additional argument called queryString.
 java.util.Collection findVesselGroupByVesselType(int transform, VesselType vesselType)
           Does the same thing as VesselGroupDao.findVesselGroupByVesselType(fr.ifremer.allegro.referential.VesselType) with an additional flag called transform.
 java.util.Collection findVesselGroupByVesselType(java.lang.String queryString, int pageNumber, int pageSize, VesselType vesselType)
           Does the same thing as VesselGroupDao.findVesselGroupByVesselType(String, fr.ifremer.allegro.referential.VesselType) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findVesselGroupByVesselType(java.lang.String queryString, VesselType vesselType)
           Does the same thing as VesselGroupDao.findVesselGroupByVesselType(fr.ifremer.allegro.referential.VesselType) with an additional argument called queryString.
 java.util.Collection findVesselGroupByVesselType(VesselType vesselType)
           
 ClusterVesselGroup[] getAllClusterVesselGroupSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
 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 getAllVesselGroup()
           
 java.util.Collection getAllVesselGroup(int transform)
           Does the same thing as VesselGroupDao.getAllVesselGroup() with an additional flag called transform.
 java.util.Collection getAllVesselGroup(int pageNumber, int pageSize)
           Does the same thing as VesselGroupDao.getAllVesselGroup() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllVesselGroup(int transform, int pageNumber, int pageSize)
           Does the same thing as VesselGroupDao.getAllVesselGroup(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllVesselGroup(int transform, java.lang.String queryString)
           Does the same thing as VesselGroupDao.getAllVesselGroup(int) with an additional argument called queryString.
 java.util.Collection getAllVesselGroup(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as VesselGroupDao.getAllVesselGroup(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllVesselGroup(java.lang.String queryString)
           Does the same thing as VesselGroupDao.getAllVesselGroup() with an additional argument called queryString.
 java.util.Collection getAllVesselGroup(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as VesselGroupDao.getAllVesselGroup(String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllVesselGroupSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as VesselGroupDao.getAllVesselGroupSinceDateSynchro(int, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllVesselGroupSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as VesselGroupDao.getAllVesselGroupSinceDateSynchro(java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllVesselGroupSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as VesselGroupDao.getAllVesselGroupSinceDateSynchro(int, String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllVesselGroupSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as VesselGroupDao.getAllVesselGroupSinceDateSynchro(int, java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllVesselGroupSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
           Does the same thing as VesselGroupDao.getAllVesselGroupSinceDateSynchro(java.sql.Timestamp) with an additional flag called transform.
 java.util.Collection getAllVesselGroupSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as VesselGroupDao.getAllVesselGroupSinceDateSynchro(String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllVesselGroupSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as VesselGroupDao.getAllVesselGroupSinceDateSynchro(java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllVesselGroupSinceDateSynchro(java.sql.Timestamp updateDate)
           
 java.util.Collection getAllVesselSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as VesselDao.getAllVesselSinceDateSynchro(int, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllVesselSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as VesselDao.getAllVesselSinceDateSynchro(java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllVesselSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as VesselDao.getAllVesselSinceDateSynchro(int, String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllVesselSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as VesselDao.getAllVesselSinceDateSynchro(int, java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllVesselSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
           Does the same thing as VesselDao.getAllVesselSinceDateSynchro(java.sql.Timestamp) with an additional flag called transform.
 java.util.Collection getAllVesselSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as VesselDao.getAllVesselSinceDateSynchro(String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllVesselSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as VesselDao.getAllVesselSinceDateSynchro(java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllVesselSinceDateSynchro(java.sql.Timestamp updateDate)
           
protected  java.security.Principal getPrincipal()
          Gets the current principal if one has been set, otherwise returns null.
protected abstract  VesselGroup handleCreateFromClusterVesselGroup(ClusterVesselGroup clusterVesselGroup)
          Performs the core logic for createFromClusterVesselGroup(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterVesselGroup)
protected abstract  ClusterVesselGroup[] handleGetAllClusterVesselGroupSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
          Performs the core logic for getAllClusterVesselGroupSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 java.lang.Object load(int transform, java.lang.String code)
           Does the same thing as VesselDao.load(java.lang.String) with an additional flag called transform.
 VesselGroup 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 remoteVesselGroupFullVOToEntity(RemoteVesselGroupFullVO source, VesselGroup target, boolean copyIfNull)
          Copies the fields of RemoteVesselGroupFullVO to the specified entity.
 void remoteVesselGroupFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteVesselGroupFullVO to this DAO's entity.
 void remoteVesselGroupNaturalIdToEntity(RemoteVesselGroupNaturalId source, VesselGroup target, boolean copyIfNull)
          Copies the fields of RemoteVesselGroupNaturalId to the specified entity.
 void remoteVesselGroupNaturalIdToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteVesselGroupNaturalId to this DAO's entity.
 void remove(java.util.Collection entities)
          Removes all entities in the given entities collection.
 void remove(java.lang.String code)
          Removes the instance of fr.ifremer.allegro.referential.vessel.Vessel having the given identifier from the persistent store.
 void remove(VesselGroup vesselGroup)
          Removes the instance of fr.ifremer.allegro.referential.vessel.VesselGroup from the persistent store.
 PaginationResult search(int transform, int pageNumber, int pageSize, Search search)
          Does the same thing as {@link #search(int, fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize.
 PaginationResult search(int pageNumber, int pageSize, Search search)
          Does the same thing as {@link #search(fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize.
 java.util.Set search(int transform, Search search)
          Does the same thing as VesselDao.search(fr.ifremer.allegro.Search) but with an additional flag called transform.
 java.util.Set search(Search search)
          Performs a search using the parameters specified in the given search object.
protected  ClusterVesselGroup toClusterVesselGroup(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 ClusterVesselGroup toClusterVesselGroup(VesselGroup entity)
          Converts this DAO's entity to an object of type ClusterVesselGroup.
 void toClusterVesselGroup(VesselGroup source, ClusterVesselGroup target)
          Copies the fields of the specified entity to the target value object.
 ClusterVesselGroup[] toClusterVesselGroupArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type ClusterVesselGroup.
 void toClusterVesselGroupCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type ClusterVesselGroup.
protected  VesselGroup toEntity(java.lang.Object[] row)
           
protected  RemoteVesselGroupFullVO toRemoteVesselGroupFullVO(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteVesselGroupFullVO toRemoteVesselGroupFullVO(VesselGroup entity)
          Converts this DAO's entity to an object of type RemoteVesselGroupFullVO.
 void toRemoteVesselGroupFullVO(VesselGroup source, RemoteVesselGroupFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteVesselGroupFullVO[] toRemoteVesselGroupFullVOArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteVesselGroupFullVO.
 void toRemoteVesselGroupFullVOCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteVesselGroupFullVO.
protected  RemoteVesselGroupNaturalId toRemoteVesselGroupNaturalId(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteVesselGroupNaturalId toRemoteVesselGroupNaturalId(VesselGroup entity)
          Converts this DAO's entity to an object of type RemoteVesselGroupNaturalId.
 void toRemoteVesselGroupNaturalId(VesselGroup source, RemoteVesselGroupNaturalId target)
          Copies the fields of the specified entity to the target value object.
 RemoteVesselGroupNaturalId[] toRemoteVesselGroupNaturalIdArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteVesselGroupNaturalId.
 void toRemoteVesselGroupNaturalIdCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteVesselGroupNaturalId.
protected  void transformEntities(int transform, java.util.Collection entities)
          Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.vessel.VesselGroup) method.
protected  java.lang.Object transformEntity(int transform, VesselGroup 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.VesselGroupDao, 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(VesselGroup vesselGroup)
          Updates the vesselGroup 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.VesselGroupDao
clusterVesselGroupToEntity, remoteVesselGroupFullVOToEntity, remoteVesselGroupNaturalIdToEntity
 
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

VesselGroupDaoBase

public VesselGroupDaoBase()
Method Detail

load

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

Does the same thing as VesselDao.load(java.lang.String) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then the returned entity will NOT be transformed. If this flag is any of the other constants defined in this class then the result WILL BE passed through an operation which can optionally transform the entity (into a value object for example). By default, transformation does not occur.

Specified by:
load in interface VesselDao
Specified by:
load in interface VesselGroupDao
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:
VesselGroupDao.load(int, java.lang.String)

load

public VesselGroup 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 VesselDao
Specified by:
load in interface VesselGroupDao
Overrides:
load in class VesselDaoBase
See Also:
VesselGroupDao.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 VesselDao
Specified by:
loadAll in interface VesselGroupDao
Overrides:
loadAll in class VesselDaoBase
Returns:
the loaded entities.
See Also:
VesselGroupDao.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 VesselDao
Specified by:
loadAll in interface VesselGroupDao
Overrides:
loadAll in class VesselDaoBase
Parameters:
transform - the flag indicating what transformation to use.
Returns:
the loaded entities.
See Also:
VesselGroupDao.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 VesselDao
Specified by:
loadAll in interface VesselGroupDao
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:
VesselGroupDao.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 VesselDao
Specified by:
loadAll in interface VesselGroupDao
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:
VesselGroupDao.loadAll(int, int, int)

create

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

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

create

public java.lang.Object create(int transform,
                               VesselGroup vesselGroup)
Description copied from interface: VesselGroupDao

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

create

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

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

create

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

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

create

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

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

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

create

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

Does the same thing as VesselGroupDao.create(java.lang.String,java.sql.Timestamp,java.util.Collection,java.util.Collection,java.util.Collection,fr.ifremer.allegro.referential.Status,fr.ifremer.allegro.referential.VesselType) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then the returned entity will NOT be transformed. If this flag is any of the other constants defined here then the result WILL BE passed through an operation which can optionally transform the entity (into a value object for example). By default, transformation does not occur.

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

create

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

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

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

create

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

Does the same thing as VesselGroupDao.create(java.lang.String,fr.ifremer.allegro.referential.Status,fr.ifremer.allegro.referential.VesselType) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then the returned entity will NOTWILL BE passed through an operation which can optionally transform the entity (into a value object for example). By default, transformation does not occur.

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

update

public void update(VesselGroup vesselGroup)
Description copied from interface: VesselGroupDao
Updates the vesselGroup instance in the persistent store.

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

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

remove

public void remove(VesselGroup vesselGroup)
Description copied from interface: VesselGroupDao
Removes the instance of fr.ifremer.allegro.referential.vessel.VesselGroup from the persistent store.

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

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

getAllVesselGroup

public java.util.Collection getAllVesselGroup()
Specified by:
getAllVesselGroup in interface VesselGroupDao
See Also:
VesselGroupDao.getAllVesselGroup()

getAllVesselGroup

public java.util.Collection getAllVesselGroup(int transform)
Description copied from interface: VesselGroupDao

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

getAllVesselGroup

public java.util.Collection getAllVesselGroup(java.lang.String queryString)
Description copied from interface: VesselGroupDao

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

Specified by:
getAllVesselGroup in interface VesselGroupDao
See Also:
VesselGroupDao.getAllVesselGroup(java.lang.String)

getAllVesselGroup

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

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

getAllVesselGroup

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

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

getAllVesselGroup

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

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

Specified by:
getAllVesselGroup in interface VesselGroupDao
See Also:
VesselGroupDao.getAllVesselGroup(int, String)

getAllVesselGroup

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

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

getAllVesselGroup

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

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

findVesselGroupByCode

public VesselGroup findVesselGroupByCode(java.lang.String code)
Specified by:
findVesselGroupByCode in interface VesselGroupDao
See Also:
VesselGroupDao.findVesselGroupByCode(java.lang.String)

findVesselGroupByCode

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

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

findVesselGroupByCode

public VesselGroup findVesselGroupByCode(java.lang.String queryString,
                                         java.lang.String code)
Description copied from interface: VesselGroupDao

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

Specified by:
findVesselGroupByCode in interface VesselGroupDao
See Also:
VesselGroupDao.findVesselGroupByCode(java.lang.String, java.lang.String)

findVesselGroupByCode

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

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

Specified by:
findVesselGroupByCode in interface VesselGroupDao
See Also:
VesselGroupDao.findVesselGroupByCode(int, java.lang.String, java.lang.String)

findVesselGroupByStatus

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

findVesselGroupByStatus

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

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

findVesselGroupByStatus

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

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

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

findVesselGroupByStatus

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

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

findVesselGroupByStatus

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

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

findVesselGroupByStatus

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

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

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

findVesselGroupByStatus

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

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

findVesselGroupByStatus

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

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

findVesselGroupByVesselType

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

findVesselGroupByVesselType

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

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

findVesselGroupByVesselType

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

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

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

findVesselGroupByVesselType

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

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

findVesselGroupByVesselType

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

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

findVesselGroupByVesselType

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

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

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

findVesselGroupByVesselType

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

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

findVesselGroupByVesselType

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

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

findVesselGroupByNaturalId

public VesselGroup findVesselGroupByNaturalId(java.lang.String code)
Specified by:
findVesselGroupByNaturalId in interface VesselGroupDao
See Also:
VesselGroupDao.findVesselGroupByNaturalId(java.lang.String)

findVesselGroupByNaturalId

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

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

findVesselGroupByNaturalId

public VesselGroup findVesselGroupByNaturalId(java.lang.String queryString,
                                              java.lang.String code)
Description copied from interface: VesselGroupDao

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

Specified by:
findVesselGroupByNaturalId in interface VesselGroupDao
See Also:
VesselGroupDao.findVesselGroupByNaturalId(java.lang.String, java.lang.String)

findVesselGroupByNaturalId

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

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

Specified by:
findVesselGroupByNaturalId in interface VesselGroupDao
See Also:
VesselGroupDao.findVesselGroupByNaturalId(int, java.lang.String, java.lang.String)

getAllVesselGroupSinceDateSynchro

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

getAllVesselGroupSinceDateSynchro

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

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

getAllVesselGroupSinceDateSynchro

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

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

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

getAllVesselGroupSinceDateSynchro

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

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

getAllVesselGroupSinceDateSynchro

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

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

getAllVesselGroupSinceDateSynchro

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

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

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

getAllVesselGroupSinceDateSynchro

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

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

getAllVesselGroupSinceDateSynchro

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

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

createFromClusterVesselGroup

public VesselGroup createFromClusterVesselGroup(ClusterVesselGroup clusterVesselGroup)
Specified by:
createFromClusterVesselGroup in interface VesselGroupDao
See Also:
VesselGroupDao.createFromClusterVesselGroup(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterVesselGroup)

handleCreateFromClusterVesselGroup

protected abstract VesselGroup handleCreateFromClusterVesselGroup(ClusterVesselGroup clusterVesselGroup)
                                                           throws java.lang.Exception
Performs the core logic for createFromClusterVesselGroup(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterVesselGroup)

Throws:
java.lang.Exception

getAllClusterVesselGroupSinceDateSynchro

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

handleGetAllClusterVesselGroupSinceDateSynchro

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

Throws:
java.lang.Exception

transformEntity

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

toEntity

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

toRemoteVesselGroupFullVOCollection

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

Specified by:
toRemoteVesselGroupFullVOCollection in interface VesselGroupDao
See Also:
VesselGroupDao.toRemoteVesselGroupFullVOCollection(java.util.Collection)

toRemoteVesselGroupFullVOArray

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

Specified by:
toRemoteVesselGroupFullVOArray in interface VesselGroupDao
See Also:
VesselGroupDao.toRemoteVesselGroupFullVOArray(java.util.Collection)

toRemoteVesselGroupFullVO

protected RemoteVesselGroupFullVO toRemoteVesselGroupFullVO(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 VesselGroupDaoImpl class if you intend to use reporting queries.

See Also:
VesselGroupDao.toRemoteVesselGroupFullVO(fr.ifremer.allegro.referential.vessel.VesselGroup)

remoteVesselGroupFullVOToEntityCollection

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

Specified by:
remoteVesselGroupFullVOToEntityCollection in interface VesselGroupDao
See Also:
VesselGroupDao.remoteVesselGroupFullVOToEntityCollection(java.util.Collection)

toRemoteVesselGroupFullVO

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

toRemoteVesselGroupFullVO

public RemoteVesselGroupFullVO toRemoteVesselGroupFullVO(VesselGroup entity)
Description copied from interface: VesselGroupDao
Converts this DAO's entity to an object of type RemoteVesselGroupFullVO.

Specified by:
toRemoteVesselGroupFullVO in interface VesselGroupDao
See Also:
VesselGroupDao.toRemoteVesselGroupFullVO(fr.ifremer.allegro.referential.vessel.VesselGroup)

remoteVesselGroupFullVOToEntity

public void remoteVesselGroupFullVOToEntity(RemoteVesselGroupFullVO source,
                                            VesselGroup target,
                                            boolean copyIfNull)
Description copied from interface: VesselGroupDao
Copies the fields of RemoteVesselGroupFullVO to the specified entity.

Specified by:
remoteVesselGroupFullVOToEntity in interface VesselGroupDao
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.VesselGroupDao#remoteVesselGroupFullVOToEntity(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselGroupFullVO, fr.ifremer.allegro.referential.vessel.VesselGroup)

toRemoteVesselGroupNaturalIdCollection

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

Specified by:
toRemoteVesselGroupNaturalIdCollection in interface VesselGroupDao
See Also:
VesselGroupDao.toRemoteVesselGroupNaturalIdCollection(java.util.Collection)

toRemoteVesselGroupNaturalIdArray

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

Specified by:
toRemoteVesselGroupNaturalIdArray in interface VesselGroupDao
See Also:
VesselGroupDao.toRemoteVesselGroupNaturalIdArray(java.util.Collection)

toRemoteVesselGroupNaturalId

protected RemoteVesselGroupNaturalId toRemoteVesselGroupNaturalId(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 VesselGroupDaoImpl class if you intend to use reporting queries.

See Also:
VesselGroupDao.toRemoteVesselGroupNaturalId(fr.ifremer.allegro.referential.vessel.VesselGroup)

remoteVesselGroupNaturalIdToEntityCollection

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

Specified by:
remoteVesselGroupNaturalIdToEntityCollection in interface VesselGroupDao
See Also:
VesselGroupDao.remoteVesselGroupNaturalIdToEntityCollection(java.util.Collection)

toRemoteVesselGroupNaturalId

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

toRemoteVesselGroupNaturalId

public RemoteVesselGroupNaturalId toRemoteVesselGroupNaturalId(VesselGroup entity)
Description copied from interface: VesselGroupDao
Converts this DAO's entity to an object of type RemoteVesselGroupNaturalId.

Specified by:
toRemoteVesselGroupNaturalId in interface VesselGroupDao
See Also:
VesselGroupDao.toRemoteVesselGroupNaturalId(fr.ifremer.allegro.referential.vessel.VesselGroup)

remoteVesselGroupNaturalIdToEntity

public void remoteVesselGroupNaturalIdToEntity(RemoteVesselGroupNaturalId source,
                                               VesselGroup target,
                                               boolean copyIfNull)
Description copied from interface: VesselGroupDao
Copies the fields of RemoteVesselGroupNaturalId to the specified entity.

Specified by:
remoteVesselGroupNaturalIdToEntity in interface VesselGroupDao
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.VesselGroupDao#remoteVesselGroupNaturalIdToEntity(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselGroupNaturalId, fr.ifremer.allegro.referential.vessel.VesselGroup)

toClusterVesselGroupCollection

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

Specified by:
toClusterVesselGroupCollection in interface VesselGroupDao
See Also:
VesselGroupDao.toClusterVesselGroupCollection(java.util.Collection)

toClusterVesselGroupArray

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

Specified by:
toClusterVesselGroupArray in interface VesselGroupDao
See Also:
VesselGroupDao.toClusterVesselGroupArray(java.util.Collection)

toClusterVesselGroup

protected ClusterVesselGroup toClusterVesselGroup(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 VesselGroupDaoImpl class if you intend to use reporting queries.

See Also:
VesselGroupDao.toClusterVesselGroup(fr.ifremer.allegro.referential.vessel.VesselGroup)

clusterVesselGroupToEntityCollection

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

Specified by:
clusterVesselGroupToEntityCollection in interface VesselGroupDao
See Also:
VesselGroupDao.clusterVesselGroupToEntityCollection(java.util.Collection)

toClusterVesselGroup

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

toClusterVesselGroup

public ClusterVesselGroup toClusterVesselGroup(VesselGroup entity)
Description copied from interface: VesselGroupDao
Converts this DAO's entity to an object of type ClusterVesselGroup.

Specified by:
toClusterVesselGroup in interface VesselGroupDao
See Also:
VesselGroupDao.toClusterVesselGroup(fr.ifremer.allegro.referential.vessel.VesselGroup)

clusterVesselGroupToEntity

public void clusterVesselGroupToEntity(ClusterVesselGroup source,
                                       VesselGroup target,
                                       boolean copyIfNull)
Description copied from interface: VesselGroupDao
Copies the fields of ClusterVesselGroup to the specified entity.

Specified by:
clusterVesselGroupToEntity in interface VesselGroupDao
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.VesselGroupDao#clusterVesselGroupToEntity(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterVesselGroup, fr.ifremer.allegro.referential.vessel.VesselGroup)

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 VesselDao
Specified by:
search in interface VesselGroupDao
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:
VesselGroupDao.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 VesselDao
Specified by:
search in interface VesselGroupDao
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:
VesselGroupDao.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 VesselDao
Specified by:
search in interface VesselGroupDao
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:
VesselGroupDao.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 VesselDao
Specified by:
search in interface VesselGroupDao
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:
VesselGroupDao.search(fr.ifremer.allegro.Search)


Copyright © 2008-2010 IFREMER. All Rights Reserved.