fr.ifremer.allegro.referential.vessel
Interface PleasureBoatDao

All Superinterfaces:
VesselDao
All Known Implementing Classes:
PleasureBoatDaoBase, PleasureBoatDaoImpl

public interface PleasureBoatDao
extends VesselDao

See Also:
PleasureBoat

Field Summary
static int TRANSFORM_CLUSTERPLEASUREBOAT
          This constant is used as a transformation flag; entities can be converted automatically into value objects or other types, different methods in a class implementing this interface support this feature: look for an int parameter called transform.
static int TRANSFORM_REMOTEPLEASUREBOATFULLVO
          This constant is used as a transformation flag; entities can be converted automatically into value objects or other types, different methods in a class implementing this interface support this feature: look for an int parameter called transform.
static int TRANSFORM_REMOTEPLEASUREBOATNATURALID
          This constant is used as a transformation flag; entities can be converted automatically into value objects or other types, different methods in a class implementing this interface support this feature: look for an int parameter called transform.
 
Fields inherited from interface fr.ifremer.allegro.referential.vessel.VesselDao
TRANSFORM_CLUSTERVESSEL, TRANSFORM_NONE, TRANSFORM_REMOTEVESSELFULLVO, TRANSFORM_REMOTEVESSELNATURALID
 
Method Summary
 PleasureBoat clusterPleasureBoatToEntity(ClusterPleasureBoat clusterPleasureBoat)
          Converts an instance of type ClusterPleasureBoat to this DAO's entity.
 void clusterPleasureBoatToEntity(ClusterPleasureBoat source, PleasureBoat target, boolean copyIfNull)
          Copies the fields of ClusterPleasureBoat to the specified entity.
 void clusterPleasureBoatToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type ClusterPleasureBoat to this DAO's entity.
 java.util.Collection create(java.util.Collection entities)
          Creates a new instance of fr.ifremer.allegro.referential.vessel.PleasureBoat and adds from the passed in entities collection
 java.util.Collection create(int transform, java.util.Collection entities)
           Does the same thing as create(fr.ifremer.allegro.referential.vessel.PleasureBoat) with an additional flag called transform.
 java.lang.Object create(int transform, PleasureBoat pleasureBoat)
           Does the same thing as create(fr.ifremer.allegro.referential.vessel.PleasureBoat) with an additional flag called transform.
 java.lang.Object create(int transform, java.lang.String code, Status status, VesselType vesselType)
           Does the same thing as 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 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.
 Vessel create(PleasureBoat pleasureBoat)
          Creates an instance of fr.ifremer.allegro.referential.vessel.PleasureBoat and adds it to the persistent store.
 Vessel create(java.lang.String code, Status status, VesselType vesselType)
           Creates a new fr.ifremer.allegro.referential.vessel.PleasureBoat instance from only required properties (attributes and association ends) and adds it to the persistent store.
 Vessel create(java.lang.String code, java.sql.Timestamp updateDate, java.util.Collection rightToProduces, java.util.Collection vesselOwnerPeriods, java.util.Collection vesselRegistrationPeriods, Status status, VesselType vesselType)
           Creates a new fr.ifremer.allegro.referential.vessel.PleasureBoat instance from all attributes and properties and adds it to the persistent store.
 PleasureBoat createFromClusterPleasureBoat(ClusterPleasureBoat clusterPleasureBoat)
           
 java.lang.Object findPleasureBoatByCode(int transform, java.lang.String code)
           Does the same thing as findPleasureBoatByCode(java.lang.String) with an additional flag called transform.
 java.lang.Object findPleasureBoatByCode(int transform, java.lang.String queryString, java.lang.String code)
           Does the same thing as findPleasureBoatByCode(int, java.lang.String) with an additional argument called queryString.
 PleasureBoat findPleasureBoatByCode(java.lang.String code)
           
 PleasureBoat findPleasureBoatByCode(java.lang.String queryString, java.lang.String code)
           Does the same thing as findPleasureBoatByCode(java.lang.String) with an additional argument called queryString.
 java.lang.Object findPleasureBoatByNaturalId(int transform, java.lang.String code)
           Does the same thing as findPleasureBoatByNaturalId(java.lang.String) with an additional flag called transform.
 java.lang.Object findPleasureBoatByNaturalId(int transform, java.lang.String queryString, java.lang.String code)
           Does the same thing as findPleasureBoatByNaturalId(int, java.lang.String) with an additional argument called queryString.
 PleasureBoat findPleasureBoatByNaturalId(java.lang.String code)
           
 PleasureBoat findPleasureBoatByNaturalId(java.lang.String queryString, java.lang.String code)
           Does the same thing as findPleasureBoatByNaturalId(java.lang.String) with an additional argument called queryString.
 java.util.Collection findPleasureBoatByStatus(int transform, int pageNumber, int pageSize, Status status)
           Does the same thing as findPleasureBoatByStatus(int, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findPleasureBoatByStatus(int pageNumber, int pageSize, Status status)
           Does the same thing as findPleasureBoatByStatus(fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findPleasureBoatByStatus(int transform, Status status)
           Does the same thing as findPleasureBoatByStatus(fr.ifremer.allegro.referential.Status) with an additional flag called transform.
 java.util.Collection findPleasureBoatByStatus(int transform, java.lang.String queryString, int pageNumber, int pageSize, Status status)
           Does the same thing as findPleasureBoatByStatus(int, String, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findPleasureBoatByStatus(int transform, java.lang.String queryString, Status status)
           Does the same thing as findPleasureBoatByStatus(int, fr.ifremer.allegro.referential.Status) with an additional argument called queryString.
 java.util.Collection findPleasureBoatByStatus(Status status)
           
 java.util.Collection findPleasureBoatByStatus(java.lang.String queryString, int pageNumber, int pageSize, Status status)
           Does the same thing as findPleasureBoatByStatus(String, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findPleasureBoatByStatus(java.lang.String queryString, Status status)
           Does the same thing as findPleasureBoatByStatus(fr.ifremer.allegro.referential.Status) with an additional argument called queryString.
 java.util.Collection findPleasureBoatByVesselType(int transform, int pageNumber, int pageSize, VesselType vesselType)
           Does the same thing as findPleasureBoatByVesselType(int, fr.ifremer.allegro.referential.VesselType) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findPleasureBoatByVesselType(int pageNumber, int pageSize, VesselType vesselType)
           Does the same thing as findPleasureBoatByVesselType(fr.ifremer.allegro.referential.VesselType) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findPleasureBoatByVesselType(int transform, java.lang.String queryString, int pageNumber, int pageSize, VesselType vesselType)
           Does the same thing as findPleasureBoatByVesselType(int, String, fr.ifremer.allegro.referential.VesselType) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findPleasureBoatByVesselType(int transform, java.lang.String queryString, VesselType vesselType)
           Does the same thing as findPleasureBoatByVesselType(int, fr.ifremer.allegro.referential.VesselType) with an additional argument called queryString.
 java.util.Collection findPleasureBoatByVesselType(int transform, VesselType vesselType)
           Does the same thing as findPleasureBoatByVesselType(fr.ifremer.allegro.referential.VesselType) with an additional flag called transform.
 java.util.Collection findPleasureBoatByVesselType(java.lang.String queryString, int pageNumber, int pageSize, VesselType vesselType)
           Does the same thing as findPleasureBoatByVesselType(String, fr.ifremer.allegro.referential.VesselType) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findPleasureBoatByVesselType(java.lang.String queryString, VesselType vesselType)
           Does the same thing as findPleasureBoatByVesselType(fr.ifremer.allegro.referential.VesselType) with an additional argument called queryString.
 java.util.Collection findPleasureBoatByVesselType(VesselType vesselType)
           
 ClusterPleasureBoat[] getAllClusterPleasureBoatSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
 java.util.Collection getAllPleasureBoat()
           
 java.util.Collection getAllPleasureBoat(int transform)
           Does the same thing as getAllPleasureBoat() with an additional flag called transform.
 java.util.Collection getAllPleasureBoat(int pageNumber, int pageSize)
           Does the same thing as getAllPleasureBoat() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllPleasureBoat(int transform, int pageNumber, int pageSize)
           Does the same thing as getAllPleasureBoat(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllPleasureBoat(int transform, java.lang.String queryString)
           Does the same thing as getAllPleasureBoat(int) with an additional argument called queryString.
 java.util.Collection getAllPleasureBoat(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as getAllPleasureBoat(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllPleasureBoat(java.lang.String queryString)
           Does the same thing as getAllPleasureBoat() with an additional argument called queryString.
 java.util.Collection getAllPleasureBoat(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as getAllPleasureBoat(String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllPleasureBoatSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as getAllPleasureBoatSinceDateSynchro(int, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllPleasureBoatSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as getAllPleasureBoatSinceDateSynchro(java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllPleasureBoatSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as getAllPleasureBoatSinceDateSynchro(int, String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllPleasureBoatSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as getAllPleasureBoatSinceDateSynchro(int, java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllPleasureBoatSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
           Does the same thing as getAllPleasureBoatSinceDateSynchro(java.sql.Timestamp) with an additional flag called transform.
 java.util.Collection getAllPleasureBoatSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as getAllPleasureBoatSinceDateSynchro(String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllPleasureBoatSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as getAllPleasureBoatSinceDateSynchro(java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllPleasureBoatSinceDateSynchro(java.sql.Timestamp updateDate)
           
 java.lang.Object load(int transform, java.lang.String code)
           Does the same thing as load(java.lang.String) with an additional flag called transform.
 Vessel load(java.lang.String code)
          Loads an instance of fr.ifremer.allegro.referential.vessel.PleasureBoat from the persistent store.
 java.util.Collection loadAll()
          Loads all entities of type PleasureBoat.
 java.util.Collection loadAll(int transform)
           Does the same thing as loadAll() with an additional flag called transform.
 java.util.Collection loadAll(int pageNumber, int pageSize)
           Does the same thing as 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 loadAll(int) with an additional two arguments called pageNumber and pageSize.
 PleasureBoat remotePleasureBoatFullVOToEntity(RemotePleasureBoatFullVO remotePleasureBoatFullVO)
          Converts an instance of type RemotePleasureBoatFullVO to this DAO's entity.
 void remotePleasureBoatFullVOToEntity(RemotePleasureBoatFullVO source, PleasureBoat target, boolean copyIfNull)
          Copies the fields of RemotePleasureBoatFullVO to the specified entity.
 void remotePleasureBoatFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemotePleasureBoatFullVO to this DAO's entity.
 PleasureBoat remotePleasureBoatNaturalIdToEntity(RemotePleasureBoatNaturalId remotePleasureBoatNaturalId)
          Converts an instance of type RemotePleasureBoatNaturalId to this DAO's entity.
 void remotePleasureBoatNaturalIdToEntity(RemotePleasureBoatNaturalId source, PleasureBoat target, boolean copyIfNull)
          Copies the fields of RemotePleasureBoatNaturalId to the specified entity.
 void remotePleasureBoatNaturalIdToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemotePleasureBoatNaturalId to this DAO's entity.
 void remove(java.util.Collection entities)
          Removes all entities in the given entities collection.
 void remove(PleasureBoat pleasureBoat)
          Removes the instance of fr.ifremer.allegro.referential.vessel.PleasureBoat from the persistent store.
 void remove(java.lang.String code)
          Removes the instance of fr.ifremer.allegro.referential.vessel.PleasureBoat having the given identifier from the persistent store.
 PaginationResult search(int transform, int pageNumber, int pageSize, Search search)
          Does the same thing as {@link #search(int, fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize.
 PaginationResult search(int pageNumber, int pageSize, Search search)
          Does the same thing as {@link #search(fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize.
 java.util.Set search(int transform, Search search)
          Does the same thing as 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.
 ClusterPleasureBoat toClusterPleasureBoat(PleasureBoat entity)
          Converts this DAO's entity to an object of type ClusterPleasureBoat.
 void toClusterPleasureBoat(PleasureBoat source, ClusterPleasureBoat target)
          Copies the fields of the specified entity to the target value object.
 ClusterPleasureBoat[] toClusterPleasureBoatArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type ClusterPleasureBoat.
 void toClusterPleasureBoatCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type ClusterPleasureBoat.
 RemotePleasureBoatFullVO toRemotePleasureBoatFullVO(PleasureBoat entity)
          Converts this DAO's entity to an object of type RemotePleasureBoatFullVO.
 void toRemotePleasureBoatFullVO(PleasureBoat source, RemotePleasureBoatFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemotePleasureBoatFullVO[] toRemotePleasureBoatFullVOArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemotePleasureBoatFullVO.
 void toRemotePleasureBoatFullVOCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemotePleasureBoatFullVO.
 RemotePleasureBoatNaturalId toRemotePleasureBoatNaturalId(PleasureBoat entity)
          Converts this DAO's entity to an object of type RemotePleasureBoatNaturalId.
 void toRemotePleasureBoatNaturalId(PleasureBoat source, RemotePleasureBoatNaturalId target)
          Copies the fields of the specified entity to the target value object.
 RemotePleasureBoatNaturalId[] toRemotePleasureBoatNaturalIdArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemotePleasureBoatNaturalId.
 void toRemotePleasureBoatNaturalIdCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemotePleasureBoatNaturalId.
 void update(java.util.Collection entities)
          Updates all instances in the entities collection in the persistent store.
 void update(PleasureBoat pleasureBoat)
          Updates the pleasureBoat instance in the persistent store.
 
Methods inherited from interface fr.ifremer.allegro.referential.vessel.VesselDao
clusterVesselToEntity, clusterVesselToEntity, clusterVesselToEntityCollection, findVesselByCode, findVesselByCode, findVesselByCode, findVesselByCode, findVesselByNaturalId, findVesselByNaturalId, findVesselByNaturalId, findVesselByNaturalId, findVesselByStatus, findVesselByStatus, findVesselByStatus, findVesselByStatus, findVesselByStatus, findVesselByStatus, findVesselByStatus, findVesselByStatus, findVesselByVesselType, findVesselByVesselType, findVesselByVesselType, findVesselByVesselType, findVesselByVesselType, findVesselByVesselType, findVesselByVesselType, findVesselByVesselType, getAllVessel, getAllVessel, getAllVessel, getAllVessel, getAllVessel, getAllVessel, getAllVessel, getAllVessel, getAllVesselSinceDateSynchro, getAllVesselSinceDateSynchro, getAllVesselSinceDateSynchro, getAllVesselSinceDateSynchro, getAllVesselSinceDateSynchro, getAllVesselSinceDateSynchro, getAllVesselSinceDateSynchro, getAllVesselSinceDateSynchro, remoteVesselFullVOToEntity, remoteVesselFullVOToEntity, remoteVesselFullVOToEntityCollection, remoteVesselNaturalIdToEntity, remoteVesselNaturalIdToEntity, remoteVesselNaturalIdToEntityCollection, remove, toClusterVessel, toClusterVessel, toClusterVesselArray, toClusterVesselCollection, toRemoteVesselFullVO, toRemoteVesselFullVO, toRemoteVesselFullVOArray, toRemoteVesselFullVOCollection, toRemoteVesselNaturalId, toRemoteVesselNaturalId, toRemoteVesselNaturalIdArray, toRemoteVesselNaturalIdCollection, update
 

Field Detail

TRANSFORM_REMOTEPLEASUREBOATFULLVO

static final int TRANSFORM_REMOTEPLEASUREBOATFULLVO
This constant is used as a transformation flag; entities can be converted automatically into value objects or other types, different methods in a class implementing this interface support this feature: look for an int parameter called transform.

This specific flag denotes entities must be transformed into objects of type RemotePleasureBoatFullVO.

See Also:
Constant Field Values

TRANSFORM_REMOTEPLEASUREBOATNATURALID

static final int TRANSFORM_REMOTEPLEASUREBOATNATURALID
This constant is used as a transformation flag; entities can be converted automatically into value objects or other types, different methods in a class implementing this interface support this feature: look for an int parameter called transform.

This specific flag denotes entities must be transformed into objects of type RemotePleasureBoatNaturalId.

See Also:
Constant Field Values

TRANSFORM_CLUSTERPLEASUREBOAT

static final int TRANSFORM_CLUSTERPLEASUREBOAT
This constant is used as a transformation flag; entities can be converted automatically into value objects or other types, different methods in a class implementing this interface support this feature: look for an int parameter called transform.

This specific flag denotes entities must be transformed into objects of type ClusterPleasureBoat.

See Also:
Constant Field Values
Method Detail

toRemotePleasureBoatFullVO

void toRemotePleasureBoatFullVO(PleasureBoat source,
                                RemotePleasureBoatFullVO target)
Copies the fields of the specified entity to the target value object. This method is similar to toRemotePleasureBoatFullVO(), but it does not handle any attributes in the target value object that are "read-only" (as those do not have setter methods exposed).


toRemotePleasureBoatFullVO

RemotePleasureBoatFullVO toRemotePleasureBoatFullVO(PleasureBoat entity)
Converts this DAO's entity to an object of type RemotePleasureBoatFullVO.


toRemotePleasureBoatFullVOCollection

void toRemotePleasureBoatFullVOCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemotePleasureBoatFullVO.


toRemotePleasureBoatFullVOArray

RemotePleasureBoatFullVO[] toRemotePleasureBoatFullVOArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemotePleasureBoatFullVO.


remotePleasureBoatFullVOToEntity

void remotePleasureBoatFullVOToEntity(RemotePleasureBoatFullVO source,
                                      PleasureBoat target,
                                      boolean copyIfNull)
Copies the fields of RemotePleasureBoatFullVO to the specified entity.

Parameters:
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.

remotePleasureBoatFullVOToEntity

PleasureBoat remotePleasureBoatFullVOToEntity(RemotePleasureBoatFullVO remotePleasureBoatFullVO)
Converts an instance of type RemotePleasureBoatFullVO to this DAO's entity.


remotePleasureBoatFullVOToEntityCollection

void remotePleasureBoatFullVOToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemotePleasureBoatFullVO to this DAO's entity.


toRemotePleasureBoatNaturalId

void toRemotePleasureBoatNaturalId(PleasureBoat source,
                                   RemotePleasureBoatNaturalId target)
Copies the fields of the specified entity to the target value object. This method is similar to toRemotePleasureBoatNaturalId(), but it does not handle any attributes in the target value object that are "read-only" (as those do not have setter methods exposed).


toRemotePleasureBoatNaturalId

RemotePleasureBoatNaturalId toRemotePleasureBoatNaturalId(PleasureBoat entity)
Converts this DAO's entity to an object of type RemotePleasureBoatNaturalId.


toRemotePleasureBoatNaturalIdCollection

void toRemotePleasureBoatNaturalIdCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemotePleasureBoatNaturalId.


toRemotePleasureBoatNaturalIdArray

RemotePleasureBoatNaturalId[] toRemotePleasureBoatNaturalIdArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemotePleasureBoatNaturalId.


remotePleasureBoatNaturalIdToEntity

void remotePleasureBoatNaturalIdToEntity(RemotePleasureBoatNaturalId source,
                                         PleasureBoat target,
                                         boolean copyIfNull)
Copies the fields of RemotePleasureBoatNaturalId to the specified entity.

Parameters:
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.

remotePleasureBoatNaturalIdToEntity

PleasureBoat remotePleasureBoatNaturalIdToEntity(RemotePleasureBoatNaturalId remotePleasureBoatNaturalId)
Converts an instance of type RemotePleasureBoatNaturalId to this DAO's entity.


remotePleasureBoatNaturalIdToEntityCollection

void remotePleasureBoatNaturalIdToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemotePleasureBoatNaturalId to this DAO's entity.


toClusterPleasureBoat

void toClusterPleasureBoat(PleasureBoat source,
                           ClusterPleasureBoat target)
Copies the fields of the specified entity to the target value object. This method is similar to toClusterPleasureBoat(), but it does not handle any attributes in the target value object that are "read-only" (as those do not have setter methods exposed).


toClusterPleasureBoat

ClusterPleasureBoat toClusterPleasureBoat(PleasureBoat entity)
Converts this DAO's entity to an object of type ClusterPleasureBoat.


toClusterPleasureBoatCollection

void toClusterPleasureBoatCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type ClusterPleasureBoat.


toClusterPleasureBoatArray

ClusterPleasureBoat[] toClusterPleasureBoatArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type ClusterPleasureBoat.


clusterPleasureBoatToEntity

void clusterPleasureBoatToEntity(ClusterPleasureBoat source,
                                 PleasureBoat target,
                                 boolean copyIfNull)
Copies the fields of ClusterPleasureBoat to the specified entity.

Parameters:
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.

clusterPleasureBoatToEntity

PleasureBoat clusterPleasureBoatToEntity(ClusterPleasureBoat clusterPleasureBoat)
Converts an instance of type ClusterPleasureBoat to this DAO's entity.


clusterPleasureBoatToEntityCollection

void clusterPleasureBoatToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type ClusterPleasureBoat to this DAO's entity.


load

Vessel load(java.lang.String code)
Loads an instance of fr.ifremer.allegro.referential.vessel.PleasureBoat from the persistent store.

Specified by:
load in interface VesselDao

load

java.lang.Object load(int transform,
                      java.lang.String code)

Does the same thing as 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
Parameters:
code - identifier of the entity to load
Returns:
either the entity or the object transformed from the entity.

loadAll

java.util.Collection loadAll()
Loads all entities of type PleasureBoat.

Specified by:
loadAll in interface VesselDao
Returns:
the loaded entities.

loadAll

java.util.Collection loadAll(int transform)

Does the same thing as 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
Parameters:
transform - the flag indicating what transformation to use.
Returns:
the loaded entities.

loadAll

java.util.Collection loadAll(int pageNumber,
                             int pageSize)

Does the same thing as 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
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.

loadAll

java.util.Collection loadAll(int transform,
                             int pageNumber,
                             int pageSize)

Does the same thing as 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
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.

create

Vessel create(PleasureBoat pleasureBoat)
Creates an instance of fr.ifremer.allegro.referential.vessel.PleasureBoat and adds it to the persistent store.


create

java.lang.Object create(int transform,
                        PleasureBoat pleasureBoat)

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


create

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

Parameters:
entities - the collection of fr.ifremer.allegro.referential.vessel.PleasureBoat instances to create.
Returns:
the created instances.

create

java.util.Collection create(int transform,
                            java.util.Collection entities)

Does the same thing as create(fr.ifremer.allegro.referential.vessel.PleasureBoat) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then the returned entity will NOT be transformed. If this flag is any of the other constants defined here then the result WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.


create

Vessel create(java.lang.String code,
              java.sql.Timestamp updateDate,
              java.util.Collection rightToProduces,
              java.util.Collection vesselOwnerPeriods,
              java.util.Collection vesselRegistrationPeriods,
              Status status,
              VesselType vesselType)

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


create

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 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.


create

Vessel create(java.lang.String code,
              Status status,
              VesselType vesselType)

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


create

java.lang.Object create(int transform,
                        java.lang.String code,
                        Status status,
                        VesselType vesselType)

Does the same thing as 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.


update

void update(PleasureBoat pleasureBoat)
Updates the pleasureBoat instance in the persistent store.


update

void update(java.util.Collection entities)
Updates all instances in the entities collection in the persistent store.

Specified by:
update in interface VesselDao

remove

void remove(PleasureBoat pleasureBoat)
Removes the instance of fr.ifremer.allegro.referential.vessel.PleasureBoat from the persistent store.


remove

void remove(java.lang.String code)
Removes the instance of fr.ifremer.allegro.referential.vessel.PleasureBoat having the given identifier from the persistent store.

Specified by:
remove in interface VesselDao

remove

void remove(java.util.Collection entities)
Removes all entities in the given entities collection.

Specified by:
remove in interface VesselDao

getAllPleasureBoat

java.util.Collection getAllPleasureBoat()

getAllPleasureBoat

java.util.Collection getAllPleasureBoat(java.lang.String queryString)

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


getAllPleasureBoat

java.util.Collection getAllPleasureBoat(int pageNumber,
                                        int pageSize)

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


getAllPleasureBoat

java.util.Collection getAllPleasureBoat(java.lang.String queryString,
                                        int pageNumber,
                                        int pageSize)

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


getAllPleasureBoat

java.util.Collection getAllPleasureBoat(int transform)

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


getAllPleasureBoat

java.util.Collection getAllPleasureBoat(int transform,
                                        int pageNumber,
                                        int pageSize)

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


getAllPleasureBoat

java.util.Collection getAllPleasureBoat(int transform,
                                        java.lang.String queryString)

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


getAllPleasureBoat

java.util.Collection getAllPleasureBoat(int transform,
                                        java.lang.String queryString,
                                        int pageNumber,
                                        int pageSize)

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


findPleasureBoatByCode

PleasureBoat findPleasureBoatByCode(java.lang.String code)

findPleasureBoatByCode

PleasureBoat findPleasureBoatByCode(java.lang.String queryString,
                                    java.lang.String code)

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


findPleasureBoatByCode

java.lang.Object findPleasureBoatByCode(int transform,
                                        java.lang.String code)

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


findPleasureBoatByCode

java.lang.Object findPleasureBoatByCode(int transform,
                                        java.lang.String queryString,
                                        java.lang.String code)

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


findPleasureBoatByStatus

java.util.Collection findPleasureBoatByStatus(Status status)

findPleasureBoatByStatus

java.util.Collection findPleasureBoatByStatus(java.lang.String queryString,
                                              Status status)

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


findPleasureBoatByStatus

java.util.Collection findPleasureBoatByStatus(int pageNumber,
                                              int pageSize,
                                              Status status)

Does the same thing as findPleasureBoatByStatus(fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.


findPleasureBoatByStatus

java.util.Collection findPleasureBoatByStatus(java.lang.String queryString,
                                              int pageNumber,
                                              int pageSize,
                                              Status status)

Does the same thing as findPleasureBoatByStatus(String, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.


findPleasureBoatByStatus

java.util.Collection findPleasureBoatByStatus(int transform,
                                              Status status)

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


findPleasureBoatByStatus

java.util.Collection findPleasureBoatByStatus(int transform,
                                              int pageNumber,
                                              int pageSize,
                                              Status status)

Does the same thing as findPleasureBoatByStatus(int, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.


findPleasureBoatByStatus

java.util.Collection findPleasureBoatByStatus(int transform,
                                              java.lang.String queryString,
                                              Status status)

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


findPleasureBoatByStatus

java.util.Collection findPleasureBoatByStatus(int transform,
                                              java.lang.String queryString,
                                              int pageNumber,
                                              int pageSize,
                                              Status status)

Does the same thing as findPleasureBoatByStatus(int, String, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.


findPleasureBoatByVesselType

java.util.Collection findPleasureBoatByVesselType(VesselType vesselType)

findPleasureBoatByVesselType

java.util.Collection findPleasureBoatByVesselType(java.lang.String queryString,
                                                  VesselType vesselType)

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


findPleasureBoatByVesselType

java.util.Collection findPleasureBoatByVesselType(int pageNumber,
                                                  int pageSize,
                                                  VesselType vesselType)

Does the same thing as findPleasureBoatByVesselType(fr.ifremer.allegro.referential.VesselType) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.


findPleasureBoatByVesselType

java.util.Collection findPleasureBoatByVesselType(java.lang.String queryString,
                                                  int pageNumber,
                                                  int pageSize,
                                                  VesselType vesselType)

Does the same thing as findPleasureBoatByVesselType(String, fr.ifremer.allegro.referential.VesselType) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.


findPleasureBoatByVesselType

java.util.Collection findPleasureBoatByVesselType(int transform,
                                                  VesselType vesselType)

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


findPleasureBoatByVesselType

java.util.Collection findPleasureBoatByVesselType(int transform,
                                                  int pageNumber,
                                                  int pageSize,
                                                  VesselType vesselType)

Does the same thing as findPleasureBoatByVesselType(int, fr.ifremer.allegro.referential.VesselType) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.


findPleasureBoatByVesselType

java.util.Collection findPleasureBoatByVesselType(int transform,
                                                  java.lang.String queryString,
                                                  VesselType vesselType)

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


findPleasureBoatByVesselType

java.util.Collection findPleasureBoatByVesselType(int transform,
                                                  java.lang.String queryString,
                                                  int pageNumber,
                                                  int pageSize,
                                                  VesselType vesselType)

Does the same thing as findPleasureBoatByVesselType(int, String, fr.ifremer.allegro.referential.VesselType) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.


findPleasureBoatByNaturalId

PleasureBoat findPleasureBoatByNaturalId(java.lang.String code)

findPleasureBoatByNaturalId

PleasureBoat findPleasureBoatByNaturalId(java.lang.String queryString,
                                         java.lang.String code)

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


findPleasureBoatByNaturalId

java.lang.Object findPleasureBoatByNaturalId(int transform,
                                             java.lang.String code)

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


findPleasureBoatByNaturalId

java.lang.Object findPleasureBoatByNaturalId(int transform,
                                             java.lang.String queryString,
                                             java.lang.String code)

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


getAllPleasureBoatSinceDateSynchro

java.util.Collection getAllPleasureBoatSinceDateSynchro(java.sql.Timestamp updateDate)

getAllPleasureBoatSinceDateSynchro

java.util.Collection getAllPleasureBoatSinceDateSynchro(java.lang.String queryString,
                                                        java.sql.Timestamp updateDate)

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


getAllPleasureBoatSinceDateSynchro

java.util.Collection getAllPleasureBoatSinceDateSynchro(int pageNumber,
                                                        int pageSize,
                                                        java.sql.Timestamp updateDate)

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


getAllPleasureBoatSinceDateSynchro

java.util.Collection getAllPleasureBoatSinceDateSynchro(java.lang.String queryString,
                                                        int pageNumber,
                                                        int pageSize,
                                                        java.sql.Timestamp updateDate)

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


getAllPleasureBoatSinceDateSynchro

java.util.Collection getAllPleasureBoatSinceDateSynchro(int transform,
                                                        java.sql.Timestamp updateDate)

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


getAllPleasureBoatSinceDateSynchro

java.util.Collection getAllPleasureBoatSinceDateSynchro(int transform,
                                                        int pageNumber,
                                                        int pageSize,
                                                        java.sql.Timestamp updateDate)

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


getAllPleasureBoatSinceDateSynchro

java.util.Collection getAllPleasureBoatSinceDateSynchro(int transform,
                                                        java.lang.String queryString,
                                                        java.sql.Timestamp updateDate)

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


getAllPleasureBoatSinceDateSynchro

java.util.Collection getAllPleasureBoatSinceDateSynchro(int transform,
                                                        java.lang.String queryString,
                                                        int pageNumber,
                                                        int pageSize,
                                                        java.sql.Timestamp updateDate)

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


createFromClusterPleasureBoat

PleasureBoat createFromClusterPleasureBoat(ClusterPleasureBoat clusterPleasureBoat)

getAllClusterPleasureBoatSinceDateSynchro

ClusterPleasureBoat[] getAllClusterPleasureBoatSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
                                                                java.lang.Integer userId,
                                                                java.lang.Integer[] registrationLocationIds,
                                                                java.lang.Integer pageNumber,
                                                                java.lang.Integer pageSize)

search

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. These flags allow you to limit your data to a specified page number and size.

Specified by:
search in interface VesselDao
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.

search

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. These flags allow you to limit your data to a specified page number and size.

Specified by:
search in interface VesselDao
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.

search

java.util.Set search(int transform,
                     Search search)
Does the same thing as 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
Parameters:
transform - the transformation flag.
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search.

search

java.util.Set search(Search search)
Performs a search using the parameters specified in the given search object.

Specified by:
search in interface VesselDao
Parameters:
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search.


Copyright © 2008-2010 IFREMER. All Rights Reserved.