fr.ifremer.allegro.referential.vessel
Class VesselMasterDaoBase

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

public abstract class VesselMasterDaoBase
extends org.springframework.orm.hibernate3.support.HibernateDaoSupport
implements VesselMasterDao

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

See Also:
VesselMaster

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.vessel.VesselMasterDao
TRANSFORM_CLUSTERVESSELMASTER, TRANSFORM_NONE, TRANSFORM_REMOTEVESSELMASTERFULLVO, TRANSFORM_REMOTEVESSELMASTERNATURALID
 
Constructor Summary
VesselMasterDaoBase()
           
 
Method Summary
 void clusterVesselMasterToEntity(ClusterVesselMaster source, VesselMaster target, boolean copyIfNull)
          Copies the fields of ClusterVesselMaster to the specified entity.
 void clusterVesselMasterToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type ClusterVesselMaster to this DAO's entity.
 java.util.Collection create(java.util.Collection entities)
          Creates a new instance of fr.ifremer.allegro.referential.vessel.VesselMaster and adds from the passed in entities collection
 java.util.Collection create(int transform, java.util.Collection entities)
           Does the same thing as VesselMasterDao.create(fr.ifremer.allegro.referential.vessel.VesselMaster) with an additional flag called transform.
 java.lang.Object create(int transform, java.lang.String registrationCode, java.lang.String lastname, java.lang.String firstname, java.lang.String street, java.lang.String zipcode, java.lang.String city, java.util.Date dateOfBirth, java.util.Date retirementDate, java.sql.Timestamp updateDate)
           Does the same thing as VesselMasterDao.create(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.util.Date,java.util.Date,java.sql.Timestamp) with an additional flag called transform.
 java.lang.Object create(int transform, VesselMaster vesselMaster)
           Does the same thing as VesselMasterDao.create(fr.ifremer.allegro.referential.vessel.VesselMaster) with an additional flag called transform.
 VesselMaster create(java.lang.String registrationCode, java.lang.String lastname, java.lang.String firstname, java.lang.String street, java.lang.String zipcode, java.lang.String city, java.util.Date dateOfBirth, java.util.Date retirementDate, java.sql.Timestamp updateDate)
           Creates a new fr.ifremer.allegro.referential.vessel.VesselMaster instance from all attributes and properties and adds it to the persistent store.
 VesselMaster create(VesselMaster vesselMaster)
          Creates an instance of fr.ifremer.allegro.referential.vessel.VesselMaster and adds it to the persistent store.
 VesselMaster createFromClusterVesselMaster(ClusterVesselMaster clusterVesselMaster)
           
 VesselMaster findVesselMasterById(java.lang.Integer id)
           
 java.lang.Object findVesselMasterById(int transform, java.lang.Integer id)
           Does the same thing as VesselMasterDao.findVesselMasterById(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findVesselMasterById(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as VesselMasterDao.findVesselMasterById(int, java.lang.Integer) with an additional argument called queryString.
 VesselMaster findVesselMasterById(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as VesselMasterDao.findVesselMasterById(java.lang.Integer) with an additional argument called queryString.
 VesselMaster findVesselMasterByNaturalId(java.lang.Integer id)
           
 java.lang.Object findVesselMasterByNaturalId(int transform, java.lang.Integer id)
           Does the same thing as VesselMasterDao.findVesselMasterByNaturalId(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findVesselMasterByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as VesselMasterDao.findVesselMasterByNaturalId(int, java.lang.Integer) with an additional argument called queryString.
 VesselMaster findVesselMasterByNaturalId(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as VesselMasterDao.findVesselMasterByNaturalId(java.lang.Integer) with an additional argument called queryString.
 ClusterVesselMaster[] getAllClusterVesselMasterSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
 java.util.Collection getAllVesselMaster()
           
 java.util.Collection getAllVesselMaster(int transform)
           Does the same thing as VesselMasterDao.getAllVesselMaster() with an additional flag called transform.
 java.util.Collection getAllVesselMaster(int pageNumber, int pageSize)
           Does the same thing as VesselMasterDao.getAllVesselMaster() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllVesselMaster(int transform, int pageNumber, int pageSize)
           Does the same thing as VesselMasterDao.getAllVesselMaster(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllVesselMaster(int transform, java.lang.String queryString)
           Does the same thing as VesselMasterDao.getAllVesselMaster(int) with an additional argument called queryString.
 java.util.Collection getAllVesselMaster(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as VesselMasterDao.getAllVesselMaster(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllVesselMaster(java.lang.String queryString)
           Does the same thing as VesselMasterDao.getAllVesselMaster() with an additional argument called queryString.
 java.util.Collection getAllVesselMaster(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as VesselMasterDao.getAllVesselMaster(String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllVesselMasterSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as VesselMasterDao.getAllVesselMasterSinceDateSynchro(int, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllVesselMasterSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as VesselMasterDao.getAllVesselMasterSinceDateSynchro(java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllVesselMasterSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as VesselMasterDao.getAllVesselMasterSinceDateSynchro(int, String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllVesselMasterSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as VesselMasterDao.getAllVesselMasterSinceDateSynchro(int, java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllVesselMasterSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
           Does the same thing as VesselMasterDao.getAllVesselMasterSinceDateSynchro(java.sql.Timestamp) with an additional flag called transform.
 java.util.Collection getAllVesselMasterSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as VesselMasterDao.getAllVesselMasterSinceDateSynchro(String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllVesselMasterSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as VesselMasterDao.getAllVesselMasterSinceDateSynchro(java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllVesselMasterSinceDateSynchro(java.sql.Timestamp updateDate)
           
protected  java.security.Principal getPrincipal()
          Gets the current principal if one has been set, otherwise returns null.
protected abstract  VesselMaster handleCreateFromClusterVesselMaster(ClusterVesselMaster clusterVesselMaster)
          Performs the core logic for createFromClusterVesselMaster(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterVesselMaster)
protected abstract  ClusterVesselMaster[] handleGetAllClusterVesselMasterSinceDateSynchro(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 getAllClusterVesselMasterSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 VesselMaster load(java.lang.Integer id)
          Loads an instance of fr.ifremer.allegro.referential.vessel.VesselMaster from the persistent store.
 java.lang.Object load(int transform, java.lang.Integer id)
           Does the same thing as VesselMasterDao.load(java.lang.Integer) with an additional flag called transform.
 java.util.Collection loadAll()
          Loads all entities of type VesselMaster.
 java.util.Collection loadAll(int transform)
           Does the same thing as VesselMasterDao.loadAll() with an additional flag called transform.
 java.util.Collection loadAll(int pageNumber, int pageSize)
           Does the same thing as VesselMasterDao.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 VesselMasterDao.loadAll(int) with an additional two arguments called pageNumber and pageSize.
 void remoteVesselMasterFullVOToEntity(RemoteVesselMasterFullVO source, VesselMaster target, boolean copyIfNull)
          Copies the fields of RemoteVesselMasterFullVO to the specified entity.
 void remoteVesselMasterFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteVesselMasterFullVO to this DAO's entity.
 void remoteVesselMasterNaturalIdToEntity(RemoteVesselMasterNaturalId source, VesselMaster target, boolean copyIfNull)
          Copies the fields of RemoteVesselMasterNaturalId to the specified entity.
 void remoteVesselMasterNaturalIdToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteVesselMasterNaturalId to this DAO's entity.
 void remove(java.util.Collection entities)
          Removes all entities in the given entities collection.
 void remove(java.lang.Integer id)
          Removes the instance of fr.ifremer.allegro.referential.vessel.VesselMaster having the given identifier from the persistent store.
 void remove(VesselMaster vesselMaster)
          Removes the instance of fr.ifremer.allegro.referential.vessel.VesselMaster 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 VesselMasterDao.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  ClusterVesselMaster toClusterVesselMaster(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 ClusterVesselMaster toClusterVesselMaster(VesselMaster entity)
          Converts this DAO's entity to an object of type ClusterVesselMaster.
 void toClusterVesselMaster(VesselMaster source, ClusterVesselMaster target)
          Copies the fields of the specified entity to the target value object.
 ClusterVesselMaster[] toClusterVesselMasterArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type ClusterVesselMaster.
 void toClusterVesselMasterCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type ClusterVesselMaster.
protected  VesselMaster toEntity(java.lang.Object[] row)
           
protected  RemoteVesselMasterFullVO toRemoteVesselMasterFullVO(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteVesselMasterFullVO toRemoteVesselMasterFullVO(VesselMaster entity)
          Converts this DAO's entity to an object of type RemoteVesselMasterFullVO.
 void toRemoteVesselMasterFullVO(VesselMaster source, RemoteVesselMasterFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteVesselMasterFullVO[] toRemoteVesselMasterFullVOArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteVesselMasterFullVO.
 void toRemoteVesselMasterFullVOCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteVesselMasterFullVO.
protected  RemoteVesselMasterNaturalId toRemoteVesselMasterNaturalId(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteVesselMasterNaturalId toRemoteVesselMasterNaturalId(VesselMaster entity)
          Converts this DAO's entity to an object of type RemoteVesselMasterNaturalId.
 void toRemoteVesselMasterNaturalId(VesselMaster source, RemoteVesselMasterNaturalId target)
          Copies the fields of the specified entity to the target value object.
 RemoteVesselMasterNaturalId[] toRemoteVesselMasterNaturalIdArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteVesselMasterNaturalId.
 void toRemoteVesselMasterNaturalIdCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteVesselMasterNaturalId.
protected  void transformEntities(int transform, java.util.Collection entities)
          Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.vessel.VesselMaster) method.
protected  java.lang.Object transformEntity(int transform, VesselMaster 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.VesselMasterDao, please note that the VesselMasterDao.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(VesselMaster vesselMaster)
          Updates the vesselMaster instance in the persistent store.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface fr.ifremer.allegro.referential.vessel.VesselMasterDao
clusterVesselMasterToEntity, remoteVesselMasterFullVOToEntity, remoteVesselMasterNaturalIdToEntity
 

Constructor Detail

VesselMasterDaoBase

public VesselMasterDaoBase()
Method Detail

load

public java.lang.Object load(int transform,
                             java.lang.Integer id)
Description copied from interface: VesselMasterDao

Does the same thing as VesselMasterDao.load(java.lang.Integer) 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 VesselMasterDao
id - identifier of the entity to load
Returns:
either the entity or the object transformed from the entity.
See Also:
VesselMasterDao.load(int, java.lang.Integer)

load

public VesselMaster load(java.lang.Integer id)
Description copied from interface: VesselMasterDao
Loads an instance of fr.ifremer.allegro.referential.vessel.VesselMaster from the persistent store.

Specified by:
load in interface VesselMasterDao
See Also:
VesselMasterDao.load(java.lang.Integer)

loadAll

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

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

loadAll

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

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

loadAll

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

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

loadAll

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

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

create

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

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

create

public java.lang.Object create(int transform,
                               VesselMaster vesselMaster)
Description copied from interface: VesselMasterDao

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

create

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

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

create

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

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

create

public VesselMaster create(java.lang.String registrationCode,
                           java.lang.String lastname,
                           java.lang.String firstname,
                           java.lang.String street,
                           java.lang.String zipcode,
                           java.lang.String city,
                           java.util.Date dateOfBirth,
                           java.util.Date retirementDate,
                           java.sql.Timestamp updateDate)
Description copied from interface: VesselMasterDao

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

Specified by:
create in interface VesselMasterDao
See Also:
VesselMasterDao.create(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.util.Date,java.util.Date,java.sql.Timestamp)

create

public java.lang.Object create(int transform,
                               java.lang.String registrationCode,
                               java.lang.String lastname,
                               java.lang.String firstname,
                               java.lang.String street,
                               java.lang.String zipcode,
                               java.lang.String city,
                               java.util.Date dateOfBirth,
                               java.util.Date retirementDate,
                               java.sql.Timestamp updateDate)
Description copied from interface: VesselMasterDao

Does the same thing as VesselMasterDao.create(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.util.Date,java.util.Date,java.sql.Timestamp) 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 VesselMasterDao
See Also:
VesselMasterDao.create(int, java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.util.Date,java.util.Date,java.sql.Timestamp)

update

public void update(VesselMaster vesselMaster)
Description copied from interface: VesselMasterDao
Updates the vesselMaster instance in the persistent store.

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

update

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

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

remove

public void remove(VesselMaster vesselMaster)
Description copied from interface: VesselMasterDao
Removes the instance of fr.ifremer.allegro.referential.vessel.VesselMaster from the persistent store.

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

remove

public void remove(java.lang.Integer id)
Description copied from interface: VesselMasterDao
Removes the instance of fr.ifremer.allegro.referential.vessel.VesselMaster having the given identifier from the persistent store.

Specified by:
remove in interface VesselMasterDao
See Also:
VesselMasterDao.remove(java.lang.Integer)

remove

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

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

getAllVesselMaster

public java.util.Collection getAllVesselMaster()
Specified by:
getAllVesselMaster in interface VesselMasterDao
See Also:
VesselMasterDao.getAllVesselMaster()

getAllVesselMaster

public java.util.Collection getAllVesselMaster(int transform)
Description copied from interface: VesselMasterDao

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

getAllVesselMaster

public java.util.Collection getAllVesselMaster(java.lang.String queryString)
Description copied from interface: VesselMasterDao

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

Specified by:
getAllVesselMaster in interface VesselMasterDao
See Also:
VesselMasterDao.getAllVesselMaster(java.lang.String)

getAllVesselMaster

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

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

getAllVesselMaster

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

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

getAllVesselMaster

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

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

Specified by:
getAllVesselMaster in interface VesselMasterDao
See Also:
VesselMasterDao.getAllVesselMaster(int, String)

getAllVesselMaster

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

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

getAllVesselMaster

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

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

findVesselMasterById

public VesselMaster findVesselMasterById(java.lang.Integer id)
Specified by:
findVesselMasterById in interface VesselMasterDao
See Also:
VesselMasterDao.findVesselMasterById(java.lang.Integer)

findVesselMasterById

public java.lang.Object findVesselMasterById(int transform,
                                             java.lang.Integer id)
Description copied from interface: VesselMasterDao

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

findVesselMasterById

public VesselMaster findVesselMasterById(java.lang.String queryString,
                                         java.lang.Integer id)
Description copied from interface: VesselMasterDao

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

Specified by:
findVesselMasterById in interface VesselMasterDao
See Also:
VesselMasterDao.findVesselMasterById(java.lang.String, java.lang.Integer)

findVesselMasterById

public java.lang.Object findVesselMasterById(int transform,
                                             java.lang.String queryString,
                                             java.lang.Integer id)
Description copied from interface: VesselMasterDao

Does the same thing as VesselMasterDao.findVesselMasterById(int, java.lang.Integer) with an additional argument called queryString. This queryString argument allows you to override the query string defined in VesselMasterDao.findVesselMasterById(int, java.lang.Integer id).

Specified by:
findVesselMasterById in interface VesselMasterDao
See Also:
VesselMasterDao.findVesselMasterById(int, java.lang.String, java.lang.Integer)

findVesselMasterByNaturalId

public VesselMaster findVesselMasterByNaturalId(java.lang.Integer id)
Specified by:
findVesselMasterByNaturalId in interface VesselMasterDao
See Also:
VesselMasterDao.findVesselMasterByNaturalId(java.lang.Integer)

findVesselMasterByNaturalId

public java.lang.Object findVesselMasterByNaturalId(int transform,
                                                    java.lang.Integer id)
Description copied from interface: VesselMasterDao

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

findVesselMasterByNaturalId

public VesselMaster findVesselMasterByNaturalId(java.lang.String queryString,
                                                java.lang.Integer id)
Description copied from interface: VesselMasterDao

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

Specified by:
findVesselMasterByNaturalId in interface VesselMasterDao
See Also:
VesselMasterDao.findVesselMasterByNaturalId(java.lang.String, java.lang.Integer)

findVesselMasterByNaturalId

public java.lang.Object findVesselMasterByNaturalId(int transform,
                                                    java.lang.String queryString,
                                                    java.lang.Integer id)
Description copied from interface: VesselMasterDao

Does the same thing as VesselMasterDao.findVesselMasterByNaturalId(int, java.lang.Integer) with an additional argument called queryString. This queryString argument allows you to override the query string defined in VesselMasterDao.findVesselMasterByNaturalId(int, java.lang.Integer id).

Specified by:
findVesselMasterByNaturalId in interface VesselMasterDao
See Also:
VesselMasterDao.findVesselMasterByNaturalId(int, java.lang.String, java.lang.Integer)

getAllVesselMasterSinceDateSynchro

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

getAllVesselMasterSinceDateSynchro

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

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

getAllVesselMasterSinceDateSynchro

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

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

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

getAllVesselMasterSinceDateSynchro

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

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

getAllVesselMasterSinceDateSynchro

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

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

getAllVesselMasterSinceDateSynchro

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

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

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

getAllVesselMasterSinceDateSynchro

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

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

getAllVesselMasterSinceDateSynchro

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

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

createFromClusterVesselMaster

public VesselMaster createFromClusterVesselMaster(ClusterVesselMaster clusterVesselMaster)
Specified by:
createFromClusterVesselMaster in interface VesselMasterDao
See Also:
VesselMasterDao.createFromClusterVesselMaster(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterVesselMaster)

handleCreateFromClusterVesselMaster

protected abstract VesselMaster handleCreateFromClusterVesselMaster(ClusterVesselMaster clusterVesselMaster)
                                                             throws java.lang.Exception
Performs the core logic for createFromClusterVesselMaster(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterVesselMaster)

Throws:
java.lang.Exception

getAllClusterVesselMasterSinceDateSynchro

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

handleGetAllClusterVesselMasterSinceDateSynchro

protected abstract ClusterVesselMaster[] handleGetAllClusterVesselMasterSinceDateSynchro(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 getAllClusterVesselMasterSinceDateSynchro(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,
                                           VesselMaster 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.VesselMasterDao, please note that the VesselMasterDao.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 VesselMasterDao.TRANSFORM_NONE is assumed.

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

This method is to be used internally only.

Parameters:
transform - one of the constants declared in fr.ifremer.allegro.referential.vessel.VesselMasterDao
entities - the collection of entities to transform
See Also:
transformEntity(int,fr.ifremer.allegro.referential.vessel.VesselMaster)

toEntity

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

toRemoteVesselMasterFullVOCollection

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

Specified by:
toRemoteVesselMasterFullVOCollection in interface VesselMasterDao
See Also:
VesselMasterDao.toRemoteVesselMasterFullVOCollection(java.util.Collection)

toRemoteVesselMasterFullVOArray

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

Specified by:
toRemoteVesselMasterFullVOArray in interface VesselMasterDao
See Also:
VesselMasterDao.toRemoteVesselMasterFullVOArray(java.util.Collection)

toRemoteVesselMasterFullVO

protected RemoteVesselMasterFullVO toRemoteVesselMasterFullVO(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 VesselMasterDaoImpl class if you intend to use reporting queries.

See Also:
VesselMasterDao.toRemoteVesselMasterFullVO(fr.ifremer.allegro.referential.vessel.VesselMaster)

remoteVesselMasterFullVOToEntityCollection

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

Specified by:
remoteVesselMasterFullVOToEntityCollection in interface VesselMasterDao
See Also:
VesselMasterDao.remoteVesselMasterFullVOToEntityCollection(java.util.Collection)

toRemoteVesselMasterFullVO

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

toRemoteVesselMasterFullVO

public RemoteVesselMasterFullVO toRemoteVesselMasterFullVO(VesselMaster entity)
Description copied from interface: VesselMasterDao
Converts this DAO's entity to an object of type RemoteVesselMasterFullVO.

Specified by:
toRemoteVesselMasterFullVO in interface VesselMasterDao
See Also:
VesselMasterDao.toRemoteVesselMasterFullVO(fr.ifremer.allegro.referential.vessel.VesselMaster)

remoteVesselMasterFullVOToEntity

public void remoteVesselMasterFullVOToEntity(RemoteVesselMasterFullVO source,
                                             VesselMaster target,
                                             boolean copyIfNull)
Description copied from interface: VesselMasterDao
Copies the fields of RemoteVesselMasterFullVO to the specified entity.

Specified by:
remoteVesselMasterFullVOToEntity in interface VesselMasterDao
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.VesselMasterDao#remoteVesselMasterFullVOToEntity(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselMasterFullVO, fr.ifremer.allegro.referential.vessel.VesselMaster)

toRemoteVesselMasterNaturalIdCollection

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

Specified by:
toRemoteVesselMasterNaturalIdCollection in interface VesselMasterDao
See Also:
VesselMasterDao.toRemoteVesselMasterNaturalIdCollection(java.util.Collection)

toRemoteVesselMasterNaturalIdArray

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

Specified by:
toRemoteVesselMasterNaturalIdArray in interface VesselMasterDao
See Also:
VesselMasterDao.toRemoteVesselMasterNaturalIdArray(java.util.Collection)

toRemoteVesselMasterNaturalId

protected RemoteVesselMasterNaturalId toRemoteVesselMasterNaturalId(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 VesselMasterDaoImpl class if you intend to use reporting queries.

See Also:
VesselMasterDao.toRemoteVesselMasterNaturalId(fr.ifremer.allegro.referential.vessel.VesselMaster)

remoteVesselMasterNaturalIdToEntityCollection

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

Specified by:
remoteVesselMasterNaturalIdToEntityCollection in interface VesselMasterDao
See Also:
VesselMasterDao.remoteVesselMasterNaturalIdToEntityCollection(java.util.Collection)

toRemoteVesselMasterNaturalId

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

toRemoteVesselMasterNaturalId

public RemoteVesselMasterNaturalId toRemoteVesselMasterNaturalId(VesselMaster entity)
Description copied from interface: VesselMasterDao
Converts this DAO's entity to an object of type RemoteVesselMasterNaturalId.

Specified by:
toRemoteVesselMasterNaturalId in interface VesselMasterDao
See Also:
VesselMasterDao.toRemoteVesselMasterNaturalId(fr.ifremer.allegro.referential.vessel.VesselMaster)

remoteVesselMasterNaturalIdToEntity

public void remoteVesselMasterNaturalIdToEntity(RemoteVesselMasterNaturalId source,
                                                VesselMaster target,
                                                boolean copyIfNull)
Description copied from interface: VesselMasterDao
Copies the fields of RemoteVesselMasterNaturalId to the specified entity.

Specified by:
remoteVesselMasterNaturalIdToEntity in interface VesselMasterDao
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.VesselMasterDao#remoteVesselMasterNaturalIdToEntity(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselMasterNaturalId, fr.ifremer.allegro.referential.vessel.VesselMaster)

toClusterVesselMasterCollection

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

Specified by:
toClusterVesselMasterCollection in interface VesselMasterDao
See Also:
VesselMasterDao.toClusterVesselMasterCollection(java.util.Collection)

toClusterVesselMasterArray

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

Specified by:
toClusterVesselMasterArray in interface VesselMasterDao
See Also:
VesselMasterDao.toClusterVesselMasterArray(java.util.Collection)

toClusterVesselMaster

protected ClusterVesselMaster toClusterVesselMaster(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 VesselMasterDaoImpl class if you intend to use reporting queries.

See Also:
VesselMasterDao.toClusterVesselMaster(fr.ifremer.allegro.referential.vessel.VesselMaster)

clusterVesselMasterToEntityCollection

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

Specified by:
clusterVesselMasterToEntityCollection in interface VesselMasterDao
See Also:
VesselMasterDao.clusterVesselMasterToEntityCollection(java.util.Collection)

toClusterVesselMaster

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

toClusterVesselMaster

public ClusterVesselMaster toClusterVesselMaster(VesselMaster entity)
Description copied from interface: VesselMasterDao
Converts this DAO's entity to an object of type ClusterVesselMaster.

Specified by:
toClusterVesselMaster in interface VesselMasterDao
See Also:
VesselMasterDao.toClusterVesselMaster(fr.ifremer.allegro.referential.vessel.VesselMaster)

clusterVesselMasterToEntity

public void clusterVesselMasterToEntity(ClusterVesselMaster source,
                                        VesselMaster target,
                                        boolean copyIfNull)
Description copied from interface: VesselMasterDao
Copies the fields of ClusterVesselMaster to the specified entity.

Specified by:
clusterVesselMasterToEntity in interface VesselMasterDao
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.VesselMasterDao#clusterVesselMasterToEntity(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterVesselMaster, fr.ifremer.allegro.referential.vessel.VesselMaster)

getPrincipal

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

Returns:
the current principal

search

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

search

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

search

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

search

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

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


Copyright © 2008-2010 IFREMER. All Rights Reserved.