|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.orm.hibernate3.support.HibernateDaoSupport
fr.ifremer.allegro.referential.vessel.VesselDaoBase
fr.ifremer.allegro.referential.vessel.VesselDaoImpl
fr.ifremer.allegro.referential.vessel.FishingVesselDaoBase
public abstract class FishingVesselDaoBase
Base Spring DAO Class: is able to create, update, remove, load, and find
objects of type fr.ifremer.allegro.referential.vessel.FishingVessel
.
FishingVessel
Field Summary |
---|
Fields inherited from interface fr.ifremer.allegro.referential.vessel.FishingVesselDao |
---|
TRANSFORM_CLUSTERFISHINGVESSEL, TRANSFORM_REMOTEFISHINGVESSELFULLVO, TRANSFORM_REMOTEFISHINGVESSELNATURALID |
Fields inherited from interface fr.ifremer.allegro.referential.vessel.VesselDao |
---|
TRANSFORM_CLUSTERVESSEL, TRANSFORM_NONE, TRANSFORM_REMOTEVESSELFULLVO, TRANSFORM_REMOTEVESSELNATURALID |
Constructor Summary | |
---|---|
FishingVesselDaoBase()
|
Method Summary | |
---|---|
void |
clusterFishingVesselToEntity(ClusterFishingVessel source,
FishingVessel target,
boolean copyIfNull)
Copies the fields of ClusterFishingVessel to the specified entity. |
void |
clusterFishingVesselToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type ClusterFishingVessel to this
DAO's entity. |
java.util.Collection |
create(java.util.Collection entities)
Creates a new instance of fr.ifremer.allegro.referential.vessel.FishingVessel and adds from the passed in entities collection |
FishingVessel |
create(FishingVessel fishingVessel)
Creates an instance of fr.ifremer.allegro.referential.vessel.FishingVessel and adds it to the persistent store. |
java.util.Collection |
create(int transform,
java.util.Collection entities)
Does the same thing as FishingVesselDao.create(fr.ifremer.allegro.referential.vessel.FishingVessel) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
FishingVessel fishingVessel)
Does the same thing as FishingVesselDao.create(fr.ifremer.allegro.referential.vessel.FishingVessel) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
java.lang.String code,
Status status,
java.util.Collection vesselFeatures,
VesselType vesselType)
Does the same thing as FishingVesselDao.create(java.lang.String,fr.ifremer.allegro.referential.Status,java.util.Collection,fr.ifremer.allegro.referential.VesselType) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
java.lang.String code,
java.sql.Timestamp updateDate,
java.util.Collection rightToProduces,
java.util.Collection vesselOwnerPeriods,
java.util.Collection vesselRegistrationPeriods,
Status status,
VesselType vesselType,
java.util.Collection vesselFeatures,
java.util.Collection vesselMasterPeriods)
Does the same thing as FishingVesselDao.create(java.lang.String,java.sql.Timestamp,java.util.Collection,java.util.Collection,java.util.Collection,fr.ifremer.allegro.referential.Status,fr.ifremer.allegro.referential.VesselType,java.util.Collection,java.util.Collection) with an
additional flag called transform . |
FishingVessel |
create(java.lang.String code,
Status status,
java.util.Collection vesselFeatures,
VesselType vesselType)
Creates a new fr.ifremer.allegro.referential.vessel.FishingVessel
instance from only required properties (attributes
and association ends) and adds it to the persistent store. |
FishingVessel |
create(java.lang.String code,
java.sql.Timestamp updateDate,
java.util.Collection rightToProduces,
java.util.Collection vesselOwnerPeriods,
java.util.Collection vesselRegistrationPeriods,
Status status,
VesselType vesselType,
java.util.Collection vesselFeatures,
java.util.Collection vesselMasterPeriods)
Creates a new fr.ifremer.allegro.referential.vessel.FishingVessel
instance from all attributes and
properties and adds it to the persistent store. |
FishingVessel |
createFromClusterFishingVessel(ClusterFishingVessel clusterFishingVessel)
|
java.lang.Object |
findFishingVesselByCode(int transform,
java.lang.String code)
Does the same thing as FishingVesselDao.findFishingVesselByCode(java.lang.String) with an
additional flag called transform . |
java.lang.Object |
findFishingVesselByCode(int transform,
java.lang.String queryString,
java.lang.String code)
Does the same thing as FishingVesselDao.findFishingVesselByCode(int, java.lang.String) with an
additional argument called queryString . |
FishingVessel |
findFishingVesselByCode(java.lang.String code)
|
FishingVessel |
findFishingVesselByCode(java.lang.String queryString,
java.lang.String code)
Does the same thing as FishingVesselDao.findFishingVesselByCode(java.lang.String) with an
additional argument called queryString . |
java.lang.Object |
findFishingVesselByNaturalId(int transform,
java.lang.String code)
Does the same thing as FishingVesselDao.findFishingVesselByNaturalId(java.lang.String) with an
additional flag called transform . |
java.lang.Object |
findFishingVesselByNaturalId(int transform,
java.lang.String queryString,
java.lang.String code)
Does the same thing as FishingVesselDao.findFishingVesselByNaturalId(int, java.lang.String) with an
additional argument called queryString . |
FishingVessel |
findFishingVesselByNaturalId(java.lang.String code)
|
FishingVessel |
findFishingVesselByNaturalId(java.lang.String queryString,
java.lang.String code)
Does the same thing as FishingVesselDao.findFishingVesselByNaturalId(java.lang.String) with an
additional argument called queryString . |
java.util.Collection |
findFishingVesselByStatus(int transform,
int pageNumber,
int pageSize,
Status status)
Does the same thing as FishingVesselDao.findFishingVesselByStatus(int, fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findFishingVesselByStatus(int pageNumber,
int pageSize,
Status status)
Does the same thing as FishingVesselDao.findFishingVesselByStatus(fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findFishingVesselByStatus(int transform,
Status status)
Does the same thing as FishingVesselDao.findFishingVesselByStatus(fr.ifremer.allegro.referential.Status) with an
additional flag called transform . |
java.util.Collection |
findFishingVesselByStatus(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
Status status)
Does the same thing as FishingVesselDao.findFishingVesselByStatus(int, String, fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findFishingVesselByStatus(int transform,
java.lang.String queryString,
Status status)
Does the same thing as FishingVesselDao.findFishingVesselByStatus(int, fr.ifremer.allegro.referential.Status) with an
additional argument called queryString . |
java.util.Collection |
findFishingVesselByStatus(Status status)
|
java.util.Collection |
findFishingVesselByStatus(java.lang.String queryString,
int pageNumber,
int pageSize,
Status status)
Does the same thing as FishingVesselDao.findFishingVesselByStatus(String, fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findFishingVesselByStatus(java.lang.String queryString,
Status status)
Does the same thing as FishingVesselDao.findFishingVesselByStatus(fr.ifremer.allegro.referential.Status) with an
additional argument called queryString . |
java.util.Collection |
findFishingVesselByVesselType(int transform,
int pageNumber,
int pageSize,
VesselType vesselType)
Does the same thing as FishingVesselDao.findFishingVesselByVesselType(int, fr.ifremer.allegro.referential.VesselType) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findFishingVesselByVesselType(int pageNumber,
int pageSize,
VesselType vesselType)
Does the same thing as FishingVesselDao.findFishingVesselByVesselType(fr.ifremer.allegro.referential.VesselType) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findFishingVesselByVesselType(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
VesselType vesselType)
Does the same thing as FishingVesselDao.findFishingVesselByVesselType(int, String, fr.ifremer.allegro.referential.VesselType) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findFishingVesselByVesselType(int transform,
java.lang.String queryString,
VesselType vesselType)
Does the same thing as FishingVesselDao.findFishingVesselByVesselType(int, fr.ifremer.allegro.referential.VesselType) with an
additional argument called queryString . |
java.util.Collection |
findFishingVesselByVesselType(int transform,
VesselType vesselType)
Does the same thing as FishingVesselDao.findFishingVesselByVesselType(fr.ifremer.allegro.referential.VesselType) with an
additional flag called transform . |
java.util.Collection |
findFishingVesselByVesselType(java.lang.String queryString,
int pageNumber,
int pageSize,
VesselType vesselType)
Does the same thing as FishingVesselDao.findFishingVesselByVesselType(String, fr.ifremer.allegro.referential.VesselType) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findFishingVesselByVesselType(java.lang.String queryString,
VesselType vesselType)
Does the same thing as FishingVesselDao.findFishingVesselByVesselType(fr.ifremer.allegro.referential.VesselType) with an
additional argument called queryString . |
java.util.Collection |
findFishingVesselByVesselType(VesselType vesselType)
|
java.lang.Object |
findVesselByCode(int transform,
java.lang.String code)
Does the same thing as VesselDao.findVesselByCode(java.lang.String) with an
additional flag called transform . |
java.lang.Object |
findVesselByCode(int transform,
java.lang.String queryString,
java.lang.String code)
Does the same thing as VesselDao.findVesselByCode(int, java.lang.String) with an
additional argument called queryString . |
Vessel |
findVesselByCode(java.lang.String code)
|
Vessel |
findVesselByCode(java.lang.String queryString,
java.lang.String code)
Does the same thing as VesselDao.findVesselByCode(java.lang.String) with an
additional argument called queryString . |
java.lang.Object |
findVesselByNaturalId(int transform,
java.lang.String code)
Does the same thing as VesselDao.findVesselByNaturalId(java.lang.String) with an
additional flag called transform . |
java.lang.Object |
findVesselByNaturalId(int transform,
java.lang.String queryString,
java.lang.String code)
Does the same thing as VesselDao.findVesselByNaturalId(int, java.lang.String) with an
additional argument called queryString . |
Vessel |
findVesselByNaturalId(java.lang.String code)
|
Vessel |
findVesselByNaturalId(java.lang.String queryString,
java.lang.String code)
Does the same thing as VesselDao.findVesselByNaturalId(java.lang.String) with an
additional argument called queryString . |
java.util.Collection |
findVesselByStatus(int transform,
int pageNumber,
int pageSize,
Status status)
Does the same thing as VesselDao.findVesselByStatus(int, fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findVesselByStatus(int pageNumber,
int pageSize,
Status status)
Does the same thing as VesselDao.findVesselByStatus(fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findVesselByStatus(int transform,
Status status)
Does the same thing as VesselDao.findVesselByStatus(fr.ifremer.allegro.referential.Status) with an
additional flag called transform . |
java.util.Collection |
findVesselByStatus(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
Status status)
Does the same thing as VesselDao.findVesselByStatus(int, String, fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findVesselByStatus(int transform,
java.lang.String queryString,
Status status)
Does the same thing as VesselDao.findVesselByStatus(int, fr.ifremer.allegro.referential.Status) with an
additional argument called queryString . |
java.util.Collection |
findVesselByStatus(Status status)
|
java.util.Collection |
findVesselByStatus(java.lang.String queryString,
int pageNumber,
int pageSize,
Status status)
Does the same thing as VesselDao.findVesselByStatus(String, fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findVesselByStatus(java.lang.String queryString,
Status status)
Does the same thing as VesselDao.findVesselByStatus(fr.ifremer.allegro.referential.Status) with an
additional argument called queryString . |
java.util.Collection |
findVesselByVesselType(int transform,
int pageNumber,
int pageSize,
VesselType vesselType)
Does the same thing as VesselDao.findVesselByVesselType(int, fr.ifremer.allegro.referential.VesselType) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findVesselByVesselType(int pageNumber,
int pageSize,
VesselType vesselType)
Does the same thing as VesselDao.findVesselByVesselType(fr.ifremer.allegro.referential.VesselType) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findVesselByVesselType(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
VesselType vesselType)
Does the same thing as VesselDao.findVesselByVesselType(int, String, fr.ifremer.allegro.referential.VesselType) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findVesselByVesselType(int transform,
java.lang.String queryString,
VesselType vesselType)
Does the same thing as VesselDao.findVesselByVesselType(int, fr.ifremer.allegro.referential.VesselType) with an
additional argument called queryString . |
java.util.Collection |
findVesselByVesselType(int transform,
VesselType vesselType)
Does the same thing as VesselDao.findVesselByVesselType(fr.ifremer.allegro.referential.VesselType) with an
additional flag called transform . |
java.util.Collection |
findVesselByVesselType(java.lang.String queryString,
int pageNumber,
int pageSize,
VesselType vesselType)
Does the same thing as VesselDao.findVesselByVesselType(String, fr.ifremer.allegro.referential.VesselType) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findVesselByVesselType(java.lang.String queryString,
VesselType vesselType)
Does the same thing as VesselDao.findVesselByVesselType(fr.ifremer.allegro.referential.VesselType) with an
additional argument called queryString . |
java.util.Collection |
findVesselByVesselType(VesselType vesselType)
|
ClusterFishingVessel[] |
getAllClusterFishingVesselSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize,
java.lang.String[] fishingVesselCodes)
|
java.util.Collection |
getAllFishingVessel()
|
java.util.Collection |
getAllFishingVessel(int transform)
Does the same thing as FishingVesselDao.getAllFishingVessel() with an
additional flag called transform . |
java.util.Collection |
getAllFishingVessel(int pageNumber,
int pageSize)
Does the same thing as FishingVesselDao.getAllFishingVessel() with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllFishingVessel(int transform,
int pageNumber,
int pageSize)
Does the same thing as FishingVesselDao.getAllFishingVessel(int) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllFishingVessel(int transform,
java.lang.String queryString)
Does the same thing as FishingVesselDao.getAllFishingVessel(int) with an
additional argument called queryString . |
java.util.Collection |
getAllFishingVessel(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as FishingVesselDao.getAllFishingVessel(int, String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllFishingVessel(java.lang.String queryString)
Does the same thing as FishingVesselDao.getAllFishingVessel() with an
additional argument called queryString . |
java.util.Collection |
getAllFishingVessel(java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as FishingVesselDao.getAllFishingVessel(String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllFishingVesselSinceDateSynchro(int transform,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as FishingVesselDao.getAllFishingVesselSinceDateSynchro(int, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllFishingVesselSinceDateSynchro(int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as FishingVesselDao.getAllFishingVesselSinceDateSynchro(java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllFishingVesselSinceDateSynchro(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as FishingVesselDao.getAllFishingVesselSinceDateSynchro(int, String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllFishingVesselSinceDateSynchro(int transform,
java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as FishingVesselDao.getAllFishingVesselSinceDateSynchro(int, java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllFishingVesselSinceDateSynchro(int transform,
java.sql.Timestamp updateDate)
Does the same thing as FishingVesselDao.getAllFishingVesselSinceDateSynchro(java.sql.Timestamp) with an
additional flag called transform . |
java.util.Collection |
getAllFishingVesselSinceDateSynchro(java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as FishingVesselDao.getAllFishingVesselSinceDateSynchro(String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllFishingVesselSinceDateSynchro(java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as FishingVesselDao.getAllFishingVesselSinceDateSynchro(java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllFishingVesselSinceDateSynchro(java.sql.Timestamp updateDate)
|
java.util.Collection |
getAllVessel()
|
java.util.Collection |
getAllVessel(int transform)
Does the same thing as VesselDao.getAllVessel() with an
additional flag called transform . |
java.util.Collection |
getAllVessel(int pageNumber,
int pageSize)
Does the same thing as VesselDao.getAllVessel() with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllVessel(int transform,
int pageNumber,
int pageSize)
Does the same thing as VesselDao.getAllVessel(int) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllVessel(int transform,
java.lang.String queryString)
Does the same thing as VesselDao.getAllVessel(int) with an
additional argument called queryString . |
java.util.Collection |
getAllVessel(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as VesselDao.getAllVessel(int, String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllVessel(java.lang.String queryString)
Does the same thing as VesselDao.getAllVessel() with an
additional argument called queryString . |
java.util.Collection |
getAllVessel(java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as VesselDao.getAllVessel(String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllVesselSinceDateSynchro(int transform,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as VesselDao.getAllVesselSinceDateSynchro(int, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllVesselSinceDateSynchro(int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as VesselDao.getAllVesselSinceDateSynchro(java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllVesselSinceDateSynchro(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as VesselDao.getAllVesselSinceDateSynchro(int, String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllVesselSinceDateSynchro(int transform,
java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as VesselDao.getAllVesselSinceDateSynchro(int, java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllVesselSinceDateSynchro(int transform,
java.sql.Timestamp updateDate)
Does the same thing as VesselDao.getAllVesselSinceDateSynchro(java.sql.Timestamp) with an
additional flag called transform . |
java.util.Collection |
getAllVesselSinceDateSynchro(java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as VesselDao.getAllVesselSinceDateSynchro(String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllVesselSinceDateSynchro(java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as VesselDao.getAllVesselSinceDateSynchro(java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllVesselSinceDateSynchro(java.sql.Timestamp updateDate)
|
protected java.security.Principal |
getPrincipal()
Gets the current principal if one has been set,
otherwise returns null . |
protected VesselFeaturesDao |
getVesselFeaturesDao()
Gets the reference to vesselFeaturesDao . |
protected VesselMasterPeriodDao |
getVesselMasterPeriodDao()
Gets the reference to vesselMasterPeriodDao . |
protected abstract FishingVessel |
handleCreateFromClusterFishingVessel(ClusterFishingVessel clusterFishingVessel)
Performs the core logic for createFromClusterFishingVessel(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterFishingVessel) |
protected abstract ClusterFishingVessel[] |
handleGetAllClusterFishingVesselSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize,
java.lang.String[] fishingVesselCodes)
Performs the core logic for getAllClusterFishingVesselSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer, java.lang.String[]) |
java.lang.Object |
load(int transform,
java.lang.String code)
Does the same thing as VesselDao.load(java.lang.String) with an
additional flag called transform . |
FishingVessel |
load(java.lang.String code)
Loads an instance of fr.ifremer.allegro.referential.vessel.Vessel from the persistent store. |
java.util.Collection |
loadAll()
Loads all entities of type Vessel . |
java.util.Collection |
loadAll(int transform)
Does the same thing as VesselDao.loadAll() with an
additional flag called transform . |
java.util.Collection |
loadAll(int pageNumber,
int pageSize)
Does the same thing as VesselDao.loadAll() with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
loadAll(int transform,
int pageNumber,
int pageSize)
Does the same thing as VesselDao.loadAll(int) with an
additional two arguments called pageNumber and pageSize . |
void |
remoteFishingVesselFullVOToEntity(RemoteFishingVesselFullVO source,
FishingVessel target,
boolean copyIfNull)
Copies the fields of RemoteFishingVesselFullVO to the specified entity. |
void |
remoteFishingVesselFullVOToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteFishingVesselFullVO to this
DAO's entity. |
void |
remoteFishingVesselNaturalIdToEntity(RemoteFishingVesselNaturalId source,
FishingVessel target,
boolean copyIfNull)
Copies the fields of RemoteFishingVesselNaturalId to the specified entity. |
void |
remoteFishingVesselNaturalIdToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteFishingVesselNaturalId to this
DAO's entity. |
void |
remove(java.util.Collection entities)
Removes all entities in the given entities |
void |
remove(FishingVessel fishingVessel)
Removes the instance of fr.ifremer.allegro.referential.vessel.FishingVessel from the persistent store. |
void |
remove(java.lang.String code)
Removes the instance of fr.ifremer.allegro.referential.vessel.Vessel having the given identifier from the persistent store. |
PaginationResult |
search(int transform,
int pageNumber,
int pageSize,
Search search)
Does the same thing as {@link #search(int, fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize . |
PaginationResult |
search(int pageNumber,
int pageSize,
Search search)
Does the same thing as {@link #search(fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize . |
java.util.Set |
search(int transform,
Search search)
Does the same thing as VesselDao.search(fr.ifremer.allegro.Search) but with an
additional flag called transform . |
java.util.Set |
search(Search search)
Performs a search using the parameters specified in the given search object. |
void |
setVesselFeaturesDao(VesselFeaturesDao vesselFeaturesDao)
Sets the reference to vesselFeaturesDao . |
void |
setVesselMasterPeriodDao(VesselMasterPeriodDao vesselMasterPeriodDao)
Sets the reference to vesselMasterPeriodDao . |
ClusterFishingVessel |
toClusterFishingVessel(FishingVessel entity)
Converts this DAO's entity to an object of type ClusterFishingVessel . |
void |
toClusterFishingVessel(FishingVessel source,
ClusterFishingVessel target)
Copies the fields of the specified entity to the target value object. |
protected ClusterFishingVessel |
toClusterFishingVessel(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
ClusterFishingVessel[] |
toClusterFishingVesselArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type ClusterFishingVessel . |
void |
toClusterFishingVesselCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type ClusterFishingVessel . |
protected FishingVessel |
toEntity(java.lang.Object[] row)
|
RemoteFishingVesselFullVO |
toRemoteFishingVesselFullVO(FishingVessel entity)
Converts this DAO's entity to an object of type RemoteFishingVesselFullVO . |
void |
toRemoteFishingVesselFullVO(FishingVessel source,
RemoteFishingVesselFullVO target)
Copies the fields of the specified entity to the target value object. |
protected RemoteFishingVesselFullVO |
toRemoteFishingVesselFullVO(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteFishingVesselFullVO[] |
toRemoteFishingVesselFullVOArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteFishingVesselFullVO . |
void |
toRemoteFishingVesselFullVOCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteFishingVesselFullVO . |
RemoteFishingVesselNaturalId |
toRemoteFishingVesselNaturalId(FishingVessel entity)
Converts this DAO's entity to an object of type RemoteFishingVesselNaturalId . |
void |
toRemoteFishingVesselNaturalId(FishingVessel source,
RemoteFishingVesselNaturalId target)
Copies the fields of the specified entity to the target value object. |
protected RemoteFishingVesselNaturalId |
toRemoteFishingVesselNaturalId(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteFishingVesselNaturalId[] |
toRemoteFishingVesselNaturalIdArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteFishingVesselNaturalId . |
void |
toRemoteFishingVesselNaturalIdCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteFishingVesselNaturalId . |
protected void |
transformEntities(int transform,
java.util.Collection entities)
Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.vessel.FishingVessel)
method. |
protected java.lang.Object |
transformEntity(int transform,
FishingVessel entity)
Allows transformation of entities into value objects (or something else for that matter), when the transform
flag is set to one of the constants defined in fr.ifremer.allegro.referential.vessel.FishingVesselDao , please note
that the VesselDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself
will be returned. |
void |
update(java.util.Collection entities)
Updates all instances in the entities collection in the persistent store. |
void |
update(FishingVessel fishingVessel)
Updates the fishingVessel instance in the persistent store. |
Methods inherited from class fr.ifremer.allegro.referential.vessel.VesselDaoImpl |
---|
clusterVesselToEntity, clusterVesselToEntity, remoteVesselFullVOToEntity, remoteVesselFullVOToEntity, remoteVesselNaturalIdToEntity, remoteVesselNaturalIdToEntity, toClusterVessel, toClusterVessel, toRemoteVesselFullVO, toRemoteVesselFullVO, toRemoteVesselNaturalId, toRemoteVesselNaturalId |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface fr.ifremer.allegro.referential.vessel.FishingVesselDao |
---|
clusterFishingVesselToEntity, remoteFishingVesselFullVOToEntity, remoteFishingVesselNaturalIdToEntity |
Constructor Detail |
---|
public FishingVesselDaoBase()
Method Detail |
---|
public void setVesselFeaturesDao(VesselFeaturesDao vesselFeaturesDao)
vesselFeaturesDao
.
protected VesselFeaturesDao getVesselFeaturesDao()
vesselFeaturesDao
.
public void setVesselMasterPeriodDao(VesselMasterPeriodDao vesselMasterPeriodDao)
vesselMasterPeriodDao
.
protected VesselMasterPeriodDao getVesselMasterPeriodDao()
vesselMasterPeriodDao
.
public java.lang.Object load(int transform, java.lang.String code)
VesselDao
Does the same thing as VesselDao.load(java.lang.String)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined in this class then the result WILL BE passed through an operation which can
optionally transform the entity (into a value object for example). By default, transformation does
not occur.
load
in interface FishingVesselDao
load
in interface VesselDao
load
in class VesselDaoBase
code
- identifier of the entity to load
FishingVesselDao.load(int, java.lang.String)
public FishingVessel load(java.lang.String code)
VesselDao
load
in interface FishingVesselDao
load
in interface VesselDao
load
in class VesselDaoBase
FishingVesselDao.load(java.lang.String)
public java.util.Collection loadAll()
VesselDao
Vessel
.
loadAll
in interface FishingVesselDao
loadAll
in interface VesselDao
loadAll
in class VesselDaoBase
FishingVesselDao.loadAll()
public java.util.Collection loadAll(int transform)
VesselDao
Does the same thing as VesselDao.loadAll()
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined here then the result WILL BE passed through an operation which can optionally
transform the entity (into a value object for example). By default, transformation does
not occur.
loadAll
in interface FishingVesselDao
loadAll
in interface VesselDao
loadAll
in class VesselDaoBase
transform
- the flag indicating what transformation to use.
FishingVesselDao.loadAll(int)
public java.util.Collection loadAll(int pageNumber, int pageSize)
VesselDao
Does the same thing as VesselDao.loadAll()
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
loadAll
in interface FishingVesselDao
loadAll
in interface VesselDao
loadAll
in class VesselDaoBase
pageNumber
- the page number to retrieve when paging results.pageSize
- the size of the page to retrieve when paging results.
FishingVesselDao.loadAll(int, int)
public java.util.Collection loadAll(int transform, int pageNumber, int pageSize)
VesselDao
Does the same thing as VesselDao.loadAll(int)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
loadAll
in interface FishingVesselDao
loadAll
in interface VesselDao
loadAll
in class VesselDaoBase
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.
FishingVesselDao.loadAll(int, int, int)
public FishingVessel create(FishingVessel fishingVessel)
FishingVesselDao
create
in interface FishingVesselDao
FishingVesselDao.create(fr.ifremer.allegro.referential.vessel.FishingVessel)
public java.lang.Object create(int transform, FishingVessel fishingVessel)
FishingVesselDao
Does the same thing as FishingVesselDao.create(fr.ifremer.allegro.referential.vessel.FishingVessel)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined here then the result WILL BE passed through an operation which can optionally
transform the entity (into a value object for example). By default, transformation does
not occur.
create
in interface FishingVesselDao
FishingVesselDao.create(int transform, fr.ifremer.allegro.referential.vessel.FishingVessel)
public java.util.Collection create(java.util.Collection entities)
FishingVesselDao
entities
collection
create
in interface FishingVesselDao
entities
- the collection of fr.ifremer.allegro.referential.vessel.FishingVessel
instances to create.
FishingVesselDao.create(java.util.Collection)
public java.util.Collection create(int transform, java.util.Collection entities)
FishingVesselDao
Does the same thing as FishingVesselDao.create(fr.ifremer.allegro.referential.vessel.FishingVessel)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined here then the result WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
create
in interface FishingVesselDao
FishingVesselDao.create(int, java.util.Collection)
public FishingVessel create(java.lang.String code, java.sql.Timestamp updateDate, java.util.Collection rightToProduces, java.util.Collection vesselOwnerPeriods, java.util.Collection vesselRegistrationPeriods, Status status, VesselType vesselType, java.util.Collection vesselFeatures, java.util.Collection vesselMasterPeriods)
FishingVesselDao
Creates a new fr.ifremer.allegro.referential.vessel.FishingVessel
instance from all attributes and
properties and adds it to the persistent store.
create
in interface FishingVesselDao
fr.ifremer.allegro.referential.vessel.VesselDao#create(java.lang.String,java.sql.Timestamp,java.util.Collection,java.util.Collection,java.util.Collection,fr.ifremer.allegro.referential.Status,fr.ifremer.allegro.referential.VesselType,java.util.Collection,java.util.Collection)
public java.lang.Object create(int transform, java.lang.String code, java.sql.Timestamp updateDate, java.util.Collection rightToProduces, java.util.Collection vesselOwnerPeriods, java.util.Collection vesselRegistrationPeriods, Status status, VesselType vesselType, java.util.Collection vesselFeatures, java.util.Collection vesselMasterPeriods)
FishingVesselDao
Does the same thing as FishingVesselDao.create(java.lang.String,java.sql.Timestamp,java.util.Collection,java.util.Collection,java.util.Collection,fr.ifremer.allegro.referential.Status,fr.ifremer.allegro.referential.VesselType,java.util.Collection,java.util.Collection)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined here then the result WILL BE passed through an operation which can optionally
transform the entity (into a value object for example). By default, transformation does
not occur.
create
in interface FishingVesselDao
fr.ifremer.allegro.referential.vessel.VesselDao#create(int, java.lang.String,java.sql.Timestamp,java.util.Collection,java.util.Collection,java.util.Collection,fr.ifremer.allegro.referential.Status,fr.ifremer.allegro.referential.VesselType,java.util.Collection,java.util.Collection)
public FishingVessel create(java.lang.String code, Status status, java.util.Collection vesselFeatures, VesselType vesselType)
FishingVesselDao
Creates a new fr.ifremer.allegro.referential.vessel.FishingVessel
instance from only required properties (attributes
and association ends) and adds it to the persistent store.
create
in interface FishingVesselDao
FishingVesselDao.create(java.lang.String,fr.ifremer.allegro.referential.Status,java.util.Collection,fr.ifremer.allegro.referential.VesselType)
public java.lang.Object create(int transform, java.lang.String code, Status status, java.util.Collection vesselFeatures, VesselType vesselType)
FishingVesselDao
Does the same thing as FishingVesselDao.create(java.lang.String,fr.ifremer.allegro.referential.Status,java.util.Collection,fr.ifremer.allegro.referential.VesselType)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOTWILL BE passed through an operation which can optionally
transform the entity (into a value object for example). By default, transformation does
not occur.
create
in interface FishingVesselDao
FishingVesselDao.create(int, java.lang.String,fr.ifremer.allegro.referential.Status,java.util.Collection,fr.ifremer.allegro.referential.VesselType)
public void update(FishingVessel fishingVessel)
FishingVesselDao
fishingVessel
instance in the persistent store.
update
in interface FishingVesselDao
FishingVesselDao.update(fr.ifremer.allegro.referential.vessel.FishingVessel)
public void update(java.util.Collection entities)
VesselDao
entities
collection in the persistent store.
update
in interface FishingVesselDao
update
in interface VesselDao
update
in class VesselDaoBase
VesselDao.update(java.util.Collection)
public void remove(FishingVessel fishingVessel)
FishingVesselDao
remove
in interface FishingVesselDao
FishingVesselDao.remove(fr.ifremer.allegro.referential.vessel.FishingVessel)
public void remove(java.lang.String code)
VesselDao
identifier
from the persistent store.
remove
in interface FishingVesselDao
remove
in interface VesselDao
remove
in class VesselDaoBase
FishingVesselDao.remove(java.lang.String)
public void remove(java.util.Collection entities)
VesselDao
entities collection.
- Specified by:
remove
in interface FishingVesselDao
- Specified by:
remove
in interface VesselDao
- Overrides:
remove
in class VesselDaoBase
- See Also:
VesselDao.remove(java.util.Collection)
public java.util.Collection getAllFishingVessel()
getAllFishingVessel
in interface FishingVesselDao
FishingVesselDao.getAllFishingVessel()
public java.util.Collection getAllFishingVessel(int transform)
FishingVesselDao
Does the same thing as FishingVesselDao.getAllFishingVessel()
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
getAllFishingVessel
in interface FishingVesselDao
FishingVesselDao.getAllFishingVessel(int)
public java.util.Collection getAllFishingVessel(java.lang.String queryString)
FishingVesselDao
Does the same thing as FishingVesselDao.getAllFishingVessel()
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in FishingVesselDao.getAllFishingVessel()
.
getAllFishingVessel
in interface FishingVesselDao
FishingVesselDao.getAllFishingVessel(java.lang.String)
public java.util.Collection getAllFishingVessel(int pageNumber, int pageSize)
FishingVesselDao
Does the same thing as FishingVesselDao.getAllFishingVessel()
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllFishingVessel
in interface FishingVesselDao
FishingVesselDao.getAllFishingVessel(int, int)
public java.util.Collection getAllFishingVessel(java.lang.String queryString, int pageNumber, int pageSize)
FishingVesselDao
Does the same thing as FishingVesselDao.getAllFishingVessel(String)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllFishingVessel
in interface FishingVesselDao
FishingVesselDao.getAllFishingVessel(String, int, int)
public java.util.Collection getAllFishingVessel(int transform, java.lang.String queryString)
FishingVesselDao
Does the same thing as FishingVesselDao.getAllFishingVessel(int)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in FishingVesselDao.getAllFishingVessel(int)
.
getAllFishingVessel
in interface FishingVesselDao
FishingVesselDao.getAllFishingVessel(int, String)
public java.util.Collection getAllFishingVessel(int transform, int pageNumber, int pageSize)
FishingVesselDao
Does the same thing as FishingVesselDao.getAllFishingVessel(int)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllFishingVessel
in interface FishingVesselDao
FishingVesselDao.getAllFishingVessel(int, int, int)
public java.util.Collection getAllFishingVessel(int transform, java.lang.String queryString, int pageNumber, int pageSize)
FishingVesselDao
Does the same thing as FishingVesselDao.getAllFishingVessel(int, String)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllFishingVessel
in interface FishingVesselDao
FishingVesselDao.getAllFishingVessel(int, java.lang.String, int, int)
public FishingVessel findFishingVesselByCode(java.lang.String code)
findFishingVesselByCode
in interface FishingVesselDao
FishingVesselDao.findFishingVesselByCode(java.lang.String)
public java.lang.Object findFishingVesselByCode(int transform, java.lang.String code)
FishingVesselDao
Does the same thing as FishingVesselDao.findFishingVesselByCode(java.lang.String)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
findFishingVesselByCode
in interface FishingVesselDao
FishingVesselDao.findFishingVesselByCode(int, java.lang.String)
public FishingVessel findFishingVesselByCode(java.lang.String queryString, java.lang.String code)
FishingVesselDao
Does the same thing as FishingVesselDao.findFishingVesselByCode(java.lang.String)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in FishingVesselDao.findFishingVesselByCode(java.lang.String)
.
findFishingVesselByCode
in interface FishingVesselDao
FishingVesselDao.findFishingVesselByCode(java.lang.String, java.lang.String)
public java.lang.Object findFishingVesselByCode(int transform, java.lang.String queryString, java.lang.String code)
FishingVesselDao
Does the same thing as FishingVesselDao.findFishingVesselByCode(int, java.lang.String)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in FishingVesselDao.findFishingVesselByCode(int, java.lang.String code)
.
findFishingVesselByCode
in interface FishingVesselDao
FishingVesselDao.findFishingVesselByCode(int, java.lang.String, java.lang.String)
public java.util.Collection findFishingVesselByStatus(Status status)
findFishingVesselByStatus
in interface FishingVesselDao
FishingVesselDao.findFishingVesselByStatus(fr.ifremer.allegro.referential.Status)
public java.util.Collection findFishingVesselByStatus(int transform, Status status)
FishingVesselDao
Does the same thing as FishingVesselDao.findFishingVesselByStatus(fr.ifremer.allegro.referential.Status)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
findFishingVesselByStatus
in interface FishingVesselDao
FishingVesselDao.findFishingVesselByStatus(int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findFishingVesselByStatus(java.lang.String queryString, Status status)
FishingVesselDao
Does the same thing as FishingVesselDao.findFishingVesselByStatus(fr.ifremer.allegro.referential.Status)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in FishingVesselDao.findFishingVesselByStatus(fr.ifremer.allegro.referential.Status)
.
findFishingVesselByStatus
in interface FishingVesselDao
FishingVesselDao.findFishingVesselByStatus(java.lang.String, fr.ifremer.allegro.referential.Status)
public java.util.Collection findFishingVesselByStatus(int pageNumber, int pageSize, Status status)
FishingVesselDao
Does the same thing as FishingVesselDao.findFishingVesselByStatus(fr.ifremer.allegro.referential.Status)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findFishingVesselByStatus
in interface FishingVesselDao
FishingVesselDao.findFishingVesselByStatus(int, int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findFishingVesselByStatus(java.lang.String queryString, int pageNumber, int pageSize, Status status)
FishingVesselDao
Does the same thing as FishingVesselDao.findFishingVesselByStatus(String, fr.ifremer.allegro.referential.Status)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findFishingVesselByStatus
in interface FishingVesselDao
FishingVesselDao.findFishingVesselByStatus(String, int, int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findFishingVesselByStatus(int transform, java.lang.String queryString, Status status)
FishingVesselDao
Does the same thing as FishingVesselDao.findFishingVesselByStatus(int, fr.ifremer.allegro.referential.Status)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in FishingVesselDao.findFishingVesselByStatus(int, fr.ifremer.allegro.referential.Status status)
.
findFishingVesselByStatus
in interface FishingVesselDao
FishingVesselDao.findFishingVesselByStatus(int, String, fr.ifremer.allegro.referential.Status)
public java.util.Collection findFishingVesselByStatus(int transform, int pageNumber, int pageSize, Status status)
FishingVesselDao
Does the same thing as FishingVesselDao.findFishingVesselByStatus(int, fr.ifremer.allegro.referential.Status)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findFishingVesselByStatus
in interface FishingVesselDao
FishingVesselDao.findFishingVesselByStatus(int, int, int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findFishingVesselByStatus(int transform, java.lang.String queryString, int pageNumber, int pageSize, Status status)
FishingVesselDao
Does the same thing as FishingVesselDao.findFishingVesselByStatus(int, String, fr.ifremer.allegro.referential.Status)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findFishingVesselByStatus
in interface FishingVesselDao
FishingVesselDao.findFishingVesselByStatus(int, java.lang.String, int, int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findFishingVesselByVesselType(VesselType vesselType)
findFishingVesselByVesselType
in interface FishingVesselDao
FishingVesselDao.findFishingVesselByVesselType(fr.ifremer.allegro.referential.VesselType)
public java.util.Collection findFishingVesselByVesselType(int transform, VesselType vesselType)
FishingVesselDao
Does the same thing as FishingVesselDao.findFishingVesselByVesselType(fr.ifremer.allegro.referential.VesselType)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
findFishingVesselByVesselType
in interface FishingVesselDao
FishingVesselDao.findFishingVesselByVesselType(int, fr.ifremer.allegro.referential.VesselType)
public java.util.Collection findFishingVesselByVesselType(java.lang.String queryString, VesselType vesselType)
FishingVesselDao
Does the same thing as FishingVesselDao.findFishingVesselByVesselType(fr.ifremer.allegro.referential.VesselType)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in FishingVesselDao.findFishingVesselByVesselType(fr.ifremer.allegro.referential.VesselType)
.
findFishingVesselByVesselType
in interface FishingVesselDao
FishingVesselDao.findFishingVesselByVesselType(java.lang.String, fr.ifremer.allegro.referential.VesselType)
public java.util.Collection findFishingVesselByVesselType(int pageNumber, int pageSize, VesselType vesselType)
FishingVesselDao
Does the same thing as FishingVesselDao.findFishingVesselByVesselType(fr.ifremer.allegro.referential.VesselType)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findFishingVesselByVesselType
in interface FishingVesselDao
FishingVesselDao.findFishingVesselByVesselType(int, int, fr.ifremer.allegro.referential.VesselType)
public java.util.Collection findFishingVesselByVesselType(java.lang.String queryString, int pageNumber, int pageSize, VesselType vesselType)
FishingVesselDao
Does the same thing as FishingVesselDao.findFishingVesselByVesselType(String, fr.ifremer.allegro.referential.VesselType)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findFishingVesselByVesselType
in interface FishingVesselDao
FishingVesselDao.findFishingVesselByVesselType(String, int, int, fr.ifremer.allegro.referential.VesselType)
public java.util.Collection findFishingVesselByVesselType(int transform, java.lang.String queryString, VesselType vesselType)
FishingVesselDao
Does the same thing as FishingVesselDao.findFishingVesselByVesselType(int, fr.ifremer.allegro.referential.VesselType)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in FishingVesselDao.findFishingVesselByVesselType(int, fr.ifremer.allegro.referential.VesselType vesselType)
.
findFishingVesselByVesselType
in interface FishingVesselDao
FishingVesselDao.findFishingVesselByVesselType(int, String, fr.ifremer.allegro.referential.VesselType)
public java.util.Collection findFishingVesselByVesselType(int transform, int pageNumber, int pageSize, VesselType vesselType)
FishingVesselDao
Does the same thing as FishingVesselDao.findFishingVesselByVesselType(int, fr.ifremer.allegro.referential.VesselType)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findFishingVesselByVesselType
in interface FishingVesselDao
FishingVesselDao.findFishingVesselByVesselType(int, int, int, fr.ifremer.allegro.referential.VesselType)
public java.util.Collection findFishingVesselByVesselType(int transform, java.lang.String queryString, int pageNumber, int pageSize, VesselType vesselType)
FishingVesselDao
Does the same thing as FishingVesselDao.findFishingVesselByVesselType(int, String, fr.ifremer.allegro.referential.VesselType)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findFishingVesselByVesselType
in interface FishingVesselDao
FishingVesselDao.findFishingVesselByVesselType(int, java.lang.String, int, int, fr.ifremer.allegro.referential.VesselType)
public FishingVessel findFishingVesselByNaturalId(java.lang.String code)
findFishingVesselByNaturalId
in interface FishingVesselDao
FishingVesselDao.findFishingVesselByNaturalId(java.lang.String)
public java.lang.Object findFishingVesselByNaturalId(int transform, java.lang.String code)
FishingVesselDao
Does the same thing as FishingVesselDao.findFishingVesselByNaturalId(java.lang.String)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
findFishingVesselByNaturalId
in interface FishingVesselDao
FishingVesselDao.findFishingVesselByNaturalId(int, java.lang.String)
public FishingVessel findFishingVesselByNaturalId(java.lang.String queryString, java.lang.String code)
FishingVesselDao
Does the same thing as FishingVesselDao.findFishingVesselByNaturalId(java.lang.String)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in FishingVesselDao.findFishingVesselByNaturalId(java.lang.String)
.
findFishingVesselByNaturalId
in interface FishingVesselDao
FishingVesselDao.findFishingVesselByNaturalId(java.lang.String, java.lang.String)
public java.lang.Object findFishingVesselByNaturalId(int transform, java.lang.String queryString, java.lang.String code)
FishingVesselDao
Does the same thing as FishingVesselDao.findFishingVesselByNaturalId(int, java.lang.String)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in FishingVesselDao.findFishingVesselByNaturalId(int, java.lang.String code)
.
findFishingVesselByNaturalId
in interface FishingVesselDao
FishingVesselDao.findFishingVesselByNaturalId(int, java.lang.String, java.lang.String)
public java.util.Collection getAllFishingVesselSinceDateSynchro(java.sql.Timestamp updateDate)
getAllFishingVesselSinceDateSynchro
in interface FishingVesselDao
FishingVesselDao.getAllFishingVesselSinceDateSynchro(java.sql.Timestamp)
public java.util.Collection getAllFishingVesselSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
FishingVesselDao
Does the same thing as FishingVesselDao.getAllFishingVesselSinceDateSynchro(java.sql.Timestamp)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
getAllFishingVesselSinceDateSynchro
in interface FishingVesselDao
FishingVesselDao.getAllFishingVesselSinceDateSynchro(int, java.sql.Timestamp)
public java.util.Collection getAllFishingVesselSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
FishingVesselDao
Does the same thing as FishingVesselDao.getAllFishingVesselSinceDateSynchro(java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in FishingVesselDao.getAllFishingVesselSinceDateSynchro(java.sql.Timestamp)
.
getAllFishingVesselSinceDateSynchro
in interface FishingVesselDao
FishingVesselDao.getAllFishingVesselSinceDateSynchro(java.lang.String, java.sql.Timestamp)
public java.util.Collection getAllFishingVesselSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
FishingVesselDao
Does the same thing as FishingVesselDao.getAllFishingVesselSinceDateSynchro(java.sql.Timestamp)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllFishingVesselSinceDateSynchro
in interface FishingVesselDao
FishingVesselDao.getAllFishingVesselSinceDateSynchro(int, int, java.sql.Timestamp)
public java.util.Collection getAllFishingVesselSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
FishingVesselDao
Does the same thing as FishingVesselDao.getAllFishingVesselSinceDateSynchro(String, java.sql.Timestamp)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllFishingVesselSinceDateSynchro
in interface FishingVesselDao
FishingVesselDao.getAllFishingVesselSinceDateSynchro(String, int, int, java.sql.Timestamp)
public java.util.Collection getAllFishingVesselSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
FishingVesselDao
Does the same thing as FishingVesselDao.getAllFishingVesselSinceDateSynchro(int, java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in FishingVesselDao.getAllFishingVesselSinceDateSynchro(int, java.sql.Timestamp updateDate)
.
getAllFishingVesselSinceDateSynchro
in interface FishingVesselDao
FishingVesselDao.getAllFishingVesselSinceDateSynchro(int, String, java.sql.Timestamp)
public java.util.Collection getAllFishingVesselSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
FishingVesselDao
Does the same thing as FishingVesselDao.getAllFishingVesselSinceDateSynchro(int, java.sql.Timestamp)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllFishingVesselSinceDateSynchro
in interface FishingVesselDao
FishingVesselDao.getAllFishingVesselSinceDateSynchro(int, int, int, java.sql.Timestamp)
public java.util.Collection getAllFishingVesselSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
FishingVesselDao
Does the same thing as FishingVesselDao.getAllFishingVesselSinceDateSynchro(int, String, java.sql.Timestamp)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllFishingVesselSinceDateSynchro
in interface FishingVesselDao
FishingVesselDao.getAllFishingVesselSinceDateSynchro(int, java.lang.String, int, int, java.sql.Timestamp)
public java.util.Collection getAllVessel()
getAllVessel
in interface VesselDao
getAllVessel
in class VesselDaoBase
VesselDao.getAllVessel()
public java.util.Collection getAllVessel(int transform)
VesselDao
Does the same thing as VesselDao.getAllVessel()
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
getAllVessel
in interface VesselDao
getAllVessel
in class VesselDaoBase
VesselDao.getAllVessel(int)
public java.util.Collection getAllVessel(java.lang.String queryString)
VesselDao
Does the same thing as VesselDao.getAllVessel()
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VesselDao.getAllVessel()
.
getAllVessel
in interface VesselDao
getAllVessel
in class VesselDaoBase
VesselDao.getAllVessel(java.lang.String)
public java.util.Collection getAllVessel(int pageNumber, int pageSize)
VesselDao
Does the same thing as VesselDao.getAllVessel()
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllVessel
in interface VesselDao
getAllVessel
in class VesselDaoBase
VesselDao.getAllVessel(int, int)
public java.util.Collection getAllVessel(java.lang.String queryString, int pageNumber, int pageSize)
VesselDao
Does the same thing as VesselDao.getAllVessel(String)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllVessel
in interface VesselDao
getAllVessel
in class VesselDaoBase
VesselDao.getAllVessel(String, int, int)
public java.util.Collection getAllVessel(int transform, java.lang.String queryString)
VesselDao
Does the same thing as VesselDao.getAllVessel(int)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VesselDao.getAllVessel(int)
.
getAllVessel
in interface VesselDao
getAllVessel
in class VesselDaoBase
VesselDao.getAllVessel(int, String)
public java.util.Collection getAllVessel(int transform, int pageNumber, int pageSize)
VesselDao
Does the same thing as VesselDao.getAllVessel(int)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllVessel
in interface VesselDao
getAllVessel
in class VesselDaoBase
VesselDao.getAllVessel(int, int, int)
public java.util.Collection getAllVessel(int transform, java.lang.String queryString, int pageNumber, int pageSize)
VesselDao
Does the same thing as VesselDao.getAllVessel(int, String)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllVessel
in interface VesselDao
getAllVessel
in class VesselDaoBase
VesselDao.getAllVessel(int, java.lang.String, int, int)
public Vessel findVesselByCode(java.lang.String code)
findVesselByCode
in interface VesselDao
findVesselByCode
in class VesselDaoBase
VesselDao.findVesselByCode(java.lang.String)
public java.lang.Object findVesselByCode(int transform, java.lang.String code)
VesselDao
Does the same thing as VesselDao.findVesselByCode(java.lang.String)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
findVesselByCode
in interface VesselDao
findVesselByCode
in class VesselDaoBase
VesselDao.findVesselByCode(int, java.lang.String)
public Vessel findVesselByCode(java.lang.String queryString, java.lang.String code)
VesselDao
Does the same thing as VesselDao.findVesselByCode(java.lang.String)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VesselDao.findVesselByCode(java.lang.String)
.
findVesselByCode
in interface VesselDao
findVesselByCode
in class VesselDaoBase
VesselDao.findVesselByCode(java.lang.String, java.lang.String)
public java.lang.Object findVesselByCode(int transform, java.lang.String queryString, java.lang.String code)
VesselDao
Does the same thing as VesselDao.findVesselByCode(int, java.lang.String)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VesselDao.findVesselByCode(int, java.lang.String code)
.
findVesselByCode
in interface VesselDao
findVesselByCode
in class VesselDaoBase
VesselDao.findVesselByCode(int, java.lang.String, java.lang.String)
public java.util.Collection findVesselByStatus(Status status)
findVesselByStatus
in interface VesselDao
findVesselByStatus
in class VesselDaoBase
VesselDao.findVesselByStatus(fr.ifremer.allegro.referential.Status)
public java.util.Collection findVesselByStatus(int transform, Status status)
VesselDao
Does the same thing as VesselDao.findVesselByStatus(fr.ifremer.allegro.referential.Status)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
findVesselByStatus
in interface VesselDao
findVesselByStatus
in class VesselDaoBase
VesselDao.findVesselByStatus(int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findVesselByStatus(java.lang.String queryString, Status status)
VesselDao
Does the same thing as VesselDao.findVesselByStatus(fr.ifremer.allegro.referential.Status)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VesselDao.findVesselByStatus(fr.ifremer.allegro.referential.Status)
.
findVesselByStatus
in interface VesselDao
findVesselByStatus
in class VesselDaoBase
VesselDao.findVesselByStatus(java.lang.String, fr.ifremer.allegro.referential.Status)
public java.util.Collection findVesselByStatus(int pageNumber, int pageSize, Status status)
VesselDao
Does the same thing as VesselDao.findVesselByStatus(fr.ifremer.allegro.referential.Status)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findVesselByStatus
in interface VesselDao
findVesselByStatus
in class VesselDaoBase
VesselDao.findVesselByStatus(int, int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findVesselByStatus(java.lang.String queryString, int pageNumber, int pageSize, Status status)
VesselDao
Does the same thing as VesselDao.findVesselByStatus(String, fr.ifremer.allegro.referential.Status)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findVesselByStatus
in interface VesselDao
findVesselByStatus
in class VesselDaoBase
VesselDao.findVesselByStatus(String, int, int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findVesselByStatus(int transform, java.lang.String queryString, Status status)
VesselDao
Does the same thing as VesselDao.findVesselByStatus(int, fr.ifremer.allegro.referential.Status)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VesselDao.findVesselByStatus(int, fr.ifremer.allegro.referential.Status status)
.
findVesselByStatus
in interface VesselDao
findVesselByStatus
in class VesselDaoBase
VesselDao.findVesselByStatus(int, String, fr.ifremer.allegro.referential.Status)
public java.util.Collection findVesselByStatus(int transform, int pageNumber, int pageSize, Status status)
VesselDao
Does the same thing as VesselDao.findVesselByStatus(int, fr.ifremer.allegro.referential.Status)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findVesselByStatus
in interface VesselDao
findVesselByStatus
in class VesselDaoBase
VesselDao.findVesselByStatus(int, int, int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findVesselByStatus(int transform, java.lang.String queryString, int pageNumber, int pageSize, Status status)
VesselDao
Does the same thing as VesselDao.findVesselByStatus(int, String, fr.ifremer.allegro.referential.Status)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findVesselByStatus
in interface VesselDao
findVesselByStatus
in class VesselDaoBase
VesselDao.findVesselByStatus(int, java.lang.String, int, int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findVesselByVesselType(VesselType vesselType)
findVesselByVesselType
in interface VesselDao
findVesselByVesselType
in class VesselDaoBase
VesselDao.findVesselByVesselType(fr.ifremer.allegro.referential.VesselType)
public java.util.Collection findVesselByVesselType(int transform, VesselType vesselType)
VesselDao
Does the same thing as VesselDao.findVesselByVesselType(fr.ifremer.allegro.referential.VesselType)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
findVesselByVesselType
in interface VesselDao
findVesselByVesselType
in class VesselDaoBase
VesselDao.findVesselByVesselType(int, fr.ifremer.allegro.referential.VesselType)
public java.util.Collection findVesselByVesselType(java.lang.String queryString, VesselType vesselType)
VesselDao
Does the same thing as VesselDao.findVesselByVesselType(fr.ifremer.allegro.referential.VesselType)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VesselDao.findVesselByVesselType(fr.ifremer.allegro.referential.VesselType)
.
findVesselByVesselType
in interface VesselDao
findVesselByVesselType
in class VesselDaoBase
VesselDao.findVesselByVesselType(java.lang.String, fr.ifremer.allegro.referential.VesselType)
public java.util.Collection findVesselByVesselType(int pageNumber, int pageSize, VesselType vesselType)
VesselDao
Does the same thing as VesselDao.findVesselByVesselType(fr.ifremer.allegro.referential.VesselType)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findVesselByVesselType
in interface VesselDao
findVesselByVesselType
in class VesselDaoBase
VesselDao.findVesselByVesselType(int, int, fr.ifremer.allegro.referential.VesselType)
public java.util.Collection findVesselByVesselType(java.lang.String queryString, int pageNumber, int pageSize, VesselType vesselType)
VesselDao
Does the same thing as VesselDao.findVesselByVesselType(String, fr.ifremer.allegro.referential.VesselType)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findVesselByVesselType
in interface VesselDao
findVesselByVesselType
in class VesselDaoBase
VesselDao.findVesselByVesselType(String, int, int, fr.ifremer.allegro.referential.VesselType)
public java.util.Collection findVesselByVesselType(int transform, java.lang.String queryString, VesselType vesselType)
VesselDao
Does the same thing as VesselDao.findVesselByVesselType(int, fr.ifremer.allegro.referential.VesselType)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VesselDao.findVesselByVesselType(int, fr.ifremer.allegro.referential.VesselType vesselType)
.
findVesselByVesselType
in interface VesselDao
findVesselByVesselType
in class VesselDaoBase
VesselDao.findVesselByVesselType(int, String, fr.ifremer.allegro.referential.VesselType)
public java.util.Collection findVesselByVesselType(int transform, int pageNumber, int pageSize, VesselType vesselType)
VesselDao
Does the same thing as VesselDao.findVesselByVesselType(int, fr.ifremer.allegro.referential.VesselType)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findVesselByVesselType
in interface VesselDao
findVesselByVesselType
in class VesselDaoBase
VesselDao.findVesselByVesselType(int, int, int, fr.ifremer.allegro.referential.VesselType)
public java.util.Collection findVesselByVesselType(int transform, java.lang.String queryString, int pageNumber, int pageSize, VesselType vesselType)
VesselDao
Does the same thing as VesselDao.findVesselByVesselType(int, String, fr.ifremer.allegro.referential.VesselType)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findVesselByVesselType
in interface VesselDao
findVesselByVesselType
in class VesselDaoBase
VesselDao.findVesselByVesselType(int, java.lang.String, int, int, fr.ifremer.allegro.referential.VesselType)
public Vessel findVesselByNaturalId(java.lang.String code)
findVesselByNaturalId
in interface VesselDao
findVesselByNaturalId
in class VesselDaoBase
VesselDao.findVesselByNaturalId(java.lang.String)
public java.lang.Object findVesselByNaturalId(int transform, java.lang.String code)
VesselDao
Does the same thing as VesselDao.findVesselByNaturalId(java.lang.String)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
findVesselByNaturalId
in interface VesselDao
findVesselByNaturalId
in class VesselDaoBase
VesselDao.findVesselByNaturalId(int, java.lang.String)
public Vessel findVesselByNaturalId(java.lang.String queryString, java.lang.String code)
VesselDao
Does the same thing as VesselDao.findVesselByNaturalId(java.lang.String)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VesselDao.findVesselByNaturalId(java.lang.String)
.
findVesselByNaturalId
in interface VesselDao
findVesselByNaturalId
in class VesselDaoBase
VesselDao.findVesselByNaturalId(java.lang.String, java.lang.String)
public java.lang.Object findVesselByNaturalId(int transform, java.lang.String queryString, java.lang.String code)
VesselDao
Does the same thing as VesselDao.findVesselByNaturalId(int, java.lang.String)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VesselDao.findVesselByNaturalId(int, java.lang.String code)
.
findVesselByNaturalId
in interface VesselDao
findVesselByNaturalId
in class VesselDaoBase
VesselDao.findVesselByNaturalId(int, java.lang.String, java.lang.String)
public java.util.Collection getAllVesselSinceDateSynchro(java.sql.Timestamp updateDate)
getAllVesselSinceDateSynchro
in interface VesselDao
getAllVesselSinceDateSynchro
in class VesselDaoBase
VesselDao.getAllVesselSinceDateSynchro(java.sql.Timestamp)
public java.util.Collection getAllVesselSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
VesselDao
Does the same thing as VesselDao.getAllVesselSinceDateSynchro(java.sql.Timestamp)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
getAllVesselSinceDateSynchro
in interface VesselDao
getAllVesselSinceDateSynchro
in class VesselDaoBase
VesselDao.getAllVesselSinceDateSynchro(int, java.sql.Timestamp)
public java.util.Collection getAllVesselSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
VesselDao
Does the same thing as VesselDao.getAllVesselSinceDateSynchro(java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VesselDao.getAllVesselSinceDateSynchro(java.sql.Timestamp)
.
getAllVesselSinceDateSynchro
in interface VesselDao
getAllVesselSinceDateSynchro
in class VesselDaoBase
VesselDao.getAllVesselSinceDateSynchro(java.lang.String, java.sql.Timestamp)
public java.util.Collection getAllVesselSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
VesselDao
Does the same thing as VesselDao.getAllVesselSinceDateSynchro(java.sql.Timestamp)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllVesselSinceDateSynchro
in interface VesselDao
getAllVesselSinceDateSynchro
in class VesselDaoBase
VesselDao.getAllVesselSinceDateSynchro(int, int, java.sql.Timestamp)
public java.util.Collection getAllVesselSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
VesselDao
Does the same thing as VesselDao.getAllVesselSinceDateSynchro(String, java.sql.Timestamp)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllVesselSinceDateSynchro
in interface VesselDao
getAllVesselSinceDateSynchro
in class VesselDaoBase
VesselDao.getAllVesselSinceDateSynchro(String, int, int, java.sql.Timestamp)
public java.util.Collection getAllVesselSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
VesselDao
Does the same thing as VesselDao.getAllVesselSinceDateSynchro(int, java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VesselDao.getAllVesselSinceDateSynchro(int, java.sql.Timestamp updateDate)
.
getAllVesselSinceDateSynchro
in interface VesselDao
getAllVesselSinceDateSynchro
in class VesselDaoBase
VesselDao.getAllVesselSinceDateSynchro(int, String, java.sql.Timestamp)
public java.util.Collection getAllVesselSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
VesselDao
Does the same thing as VesselDao.getAllVesselSinceDateSynchro(int, java.sql.Timestamp)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllVesselSinceDateSynchro
in interface VesselDao
getAllVesselSinceDateSynchro
in class VesselDaoBase
VesselDao.getAllVesselSinceDateSynchro(int, int, int, java.sql.Timestamp)
public java.util.Collection getAllVesselSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
VesselDao
Does the same thing as VesselDao.getAllVesselSinceDateSynchro(int, String, java.sql.Timestamp)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllVesselSinceDateSynchro
in interface VesselDao
getAllVesselSinceDateSynchro
in class VesselDaoBase
VesselDao.getAllVesselSinceDateSynchro(int, java.lang.String, int, int, java.sql.Timestamp)
public FishingVessel createFromClusterFishingVessel(ClusterFishingVessel clusterFishingVessel)
createFromClusterFishingVessel
in interface FishingVesselDao
FishingVesselDao.createFromClusterFishingVessel(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterFishingVessel)
protected abstract FishingVessel handleCreateFromClusterFishingVessel(ClusterFishingVessel clusterFishingVessel) throws java.lang.Exception
createFromClusterFishingVessel(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterFishingVessel)
java.lang.Exception
public ClusterFishingVessel[] getAllClusterFishingVesselSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize, java.lang.String[] fishingVesselCodes)
getAllClusterFishingVesselSinceDateSynchro
in interface FishingVesselDao
FishingVesselDao.getAllClusterFishingVesselSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer, java.lang.String[])
protected abstract ClusterFishingVessel[] handleGetAllClusterFishingVesselSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize, java.lang.String[] fishingVesselCodes) throws java.lang.Exception
getAllClusterFishingVesselSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer, java.lang.String[])
java.lang.Exception
protected java.lang.Object transformEntity(int transform, FishingVessel entity)
transform
flag is set to one of the constants defined in fr.ifremer.allegro.referential.vessel.FishingVesselDao
, please note
that the VesselDao.TRANSFORM_NONE
constant denotes no transformation, so the entity itself
will be returned.
This method will return instances of these types:
FishingVessel
- VesselDao.TRANSFORM_NONE
RemoteFishingVesselFullVO
- TRANSFORM_REMOTEFISHINGVESSELFULLVO
RemoteFishingVesselNaturalId
- TRANSFORM_REMOTEFISHINGVESSELNATURALID
ClusterFishingVessel
- TRANSFORM_CLUSTERFISHINGVESSEL
VesselDao.TRANSFORM_NONE
is assumed.
transform
- one of the constants declared in FishingVesselDao
entity
- an entity that was found
transformEntities(int,java.util.Collection)
protected void transformEntities(int transform, java.util.Collection entities)
transformEntity(int,fr.ifremer.allegro.referential.vessel.FishingVessel)
method. This method does not instantiate a new collection.
This method is to be used internally only.
transformEntities
in class VesselDaoBase
transform
- one of the constants declared in fr.ifremer.allegro.referential.vessel.FishingVesselDao
entities
- the collection of entities to transformtransformEntity(int,fr.ifremer.allegro.referential.vessel.FishingVessel)
protected FishingVessel toEntity(java.lang.Object[] row)
toEntity
in class VesselDaoBase
public final void toRemoteFishingVesselFullVOCollection(java.util.Collection entities)
FishingVesselDao
RemoteFishingVesselFullVO
.
toRemoteFishingVesselFullVOCollection
in interface FishingVesselDao
FishingVesselDao.toRemoteFishingVesselFullVOCollection(java.util.Collection)
public final RemoteFishingVesselFullVO[] toRemoteFishingVesselFullVOArray(java.util.Collection entities)
FishingVesselDao
RemoteFishingVesselFullVO
.
toRemoteFishingVesselFullVOArray
in interface FishingVesselDao
FishingVesselDao.toRemoteFishingVesselFullVOArray(java.util.Collection)
protected RemoteFishingVesselFullVO toRemoteFishingVesselFullVO(java.lang.Object[] row)
FishingVesselDaoImpl
class if you intend to use reporting queries.
FishingVesselDao.toRemoteFishingVesselFullVO(fr.ifremer.allegro.referential.vessel.FishingVessel)
public final void remoteFishingVesselFullVOToEntityCollection(java.util.Collection instances)
FishingVesselDao
RemoteFishingVesselFullVO
to this
DAO's entity.
remoteFishingVesselFullVOToEntityCollection
in interface FishingVesselDao
FishingVesselDao.remoteFishingVesselFullVOToEntityCollection(java.util.Collection)
public void toRemoteFishingVesselFullVO(FishingVessel source, RemoteFishingVesselFullVO target)
FishingVesselDao
toRemoteFishingVesselFullVO
in interface FishingVesselDao
FishingVesselDao.toRemoteFishingVesselFullVO(fr.ifremer.allegro.referential.vessel.FishingVessel, fr.ifremer.allegro.referential.vessel.generic.vo.RemoteFishingVesselFullVO)
public RemoteFishingVesselFullVO toRemoteFishingVesselFullVO(FishingVessel entity)
FishingVesselDao
RemoteFishingVesselFullVO
.
toRemoteFishingVesselFullVO
in interface FishingVesselDao
FishingVesselDao.toRemoteFishingVesselFullVO(fr.ifremer.allegro.referential.vessel.FishingVessel)
public void remoteFishingVesselFullVOToEntity(RemoteFishingVesselFullVO source, FishingVessel target, boolean copyIfNull)
FishingVesselDao
RemoteFishingVesselFullVO
to the specified entity.
remoteFishingVesselFullVOToEntity
in interface FishingVesselDao
copyIfNull
- If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE,
it will be copied regardless of its value.fr.ifremer.allegro.referential.vessel.FishingVesselDao#remoteFishingVesselFullVOToEntity(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteFishingVesselFullVO, fr.ifremer.allegro.referential.vessel.FishingVessel)
public final void toRemoteFishingVesselNaturalIdCollection(java.util.Collection entities)
FishingVesselDao
RemoteFishingVesselNaturalId
.
toRemoteFishingVesselNaturalIdCollection
in interface FishingVesselDao
FishingVesselDao.toRemoteFishingVesselNaturalIdCollection(java.util.Collection)
public final RemoteFishingVesselNaturalId[] toRemoteFishingVesselNaturalIdArray(java.util.Collection entities)
FishingVesselDao
RemoteFishingVesselNaturalId
.
toRemoteFishingVesselNaturalIdArray
in interface FishingVesselDao
FishingVesselDao.toRemoteFishingVesselNaturalIdArray(java.util.Collection)
protected RemoteFishingVesselNaturalId toRemoteFishingVesselNaturalId(java.lang.Object[] row)
FishingVesselDaoImpl
class if you intend to use reporting queries.
FishingVesselDao.toRemoteFishingVesselNaturalId(fr.ifremer.allegro.referential.vessel.FishingVessel)
public final void remoteFishingVesselNaturalIdToEntityCollection(java.util.Collection instances)
FishingVesselDao
RemoteFishingVesselNaturalId
to this
DAO's entity.
remoteFishingVesselNaturalIdToEntityCollection
in interface FishingVesselDao
FishingVesselDao.remoteFishingVesselNaturalIdToEntityCollection(java.util.Collection)
public void toRemoteFishingVesselNaturalId(FishingVessel source, RemoteFishingVesselNaturalId target)
FishingVesselDao
toRemoteFishingVesselNaturalId
in interface FishingVesselDao
FishingVesselDao.toRemoteFishingVesselNaturalId(fr.ifremer.allegro.referential.vessel.FishingVessel, fr.ifremer.allegro.referential.vessel.generic.vo.RemoteFishingVesselNaturalId)
public RemoteFishingVesselNaturalId toRemoteFishingVesselNaturalId(FishingVessel entity)
FishingVesselDao
RemoteFishingVesselNaturalId
.
toRemoteFishingVesselNaturalId
in interface FishingVesselDao
FishingVesselDao.toRemoteFishingVesselNaturalId(fr.ifremer.allegro.referential.vessel.FishingVessel)
public void remoteFishingVesselNaturalIdToEntity(RemoteFishingVesselNaturalId source, FishingVessel target, boolean copyIfNull)
FishingVesselDao
RemoteFishingVesselNaturalId
to the specified entity.
remoteFishingVesselNaturalIdToEntity
in interface FishingVesselDao
copyIfNull
- If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE,
it will be copied regardless of its value.fr.ifremer.allegro.referential.vessel.FishingVesselDao#remoteFishingVesselNaturalIdToEntity(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteFishingVesselNaturalId, fr.ifremer.allegro.referential.vessel.FishingVessel)
public final void toClusterFishingVesselCollection(java.util.Collection entities)
FishingVesselDao
ClusterFishingVessel
.
toClusterFishingVesselCollection
in interface FishingVesselDao
FishingVesselDao.toClusterFishingVesselCollection(java.util.Collection)
public final ClusterFishingVessel[] toClusterFishingVesselArray(java.util.Collection entities)
FishingVesselDao
ClusterFishingVessel
.
toClusterFishingVesselArray
in interface FishingVesselDao
FishingVesselDao.toClusterFishingVesselArray(java.util.Collection)
protected ClusterFishingVessel toClusterFishingVessel(java.lang.Object[] row)
FishingVesselDaoImpl
class if you intend to use reporting queries.
FishingVesselDao.toClusterFishingVessel(fr.ifremer.allegro.referential.vessel.FishingVessel)
public final void clusterFishingVesselToEntityCollection(java.util.Collection instances)
FishingVesselDao
ClusterFishingVessel
to this
DAO's entity.
clusterFishingVesselToEntityCollection
in interface FishingVesselDao
FishingVesselDao.clusterFishingVesselToEntityCollection(java.util.Collection)
public void toClusterFishingVessel(FishingVessel source, ClusterFishingVessel target)
FishingVesselDao
toClusterFishingVessel
in interface FishingVesselDao
FishingVesselDao.toClusterFishingVessel(fr.ifremer.allegro.referential.vessel.FishingVessel, fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterFishingVessel)
public ClusterFishingVessel toClusterFishingVessel(FishingVessel entity)
FishingVesselDao
ClusterFishingVessel
.
toClusterFishingVessel
in interface FishingVesselDao
FishingVesselDao.toClusterFishingVessel(fr.ifremer.allegro.referential.vessel.FishingVessel)
public void clusterFishingVesselToEntity(ClusterFishingVessel source, FishingVessel target, boolean copyIfNull)
FishingVesselDao
ClusterFishingVessel
to the specified entity.
clusterFishingVesselToEntity
in interface FishingVesselDao
copyIfNull
- If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE,
it will be copied regardless of its value.fr.ifremer.allegro.referential.vessel.FishingVesselDao#clusterFishingVesselToEntity(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterFishingVessel, fr.ifremer.allegro.referential.vessel.FishingVessel)
protected java.security.Principal getPrincipal()
principal
if one has been set,
otherwise returns null
.
getPrincipal
in class VesselDaoBase
public PaginationResult search(int transform, int pageNumber, int pageSize, Search search)
VesselDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface FishingVesselDao
search
in interface VesselDao
search
in class VesselDaoBase
transform
- the transformation flag.pageNumber
- the page number in the data to retrievepageSize
- the size of the page to retrieve.search
- the search object which provides the search parameters and pagination specification.
PaginationResult
instance.FishingVesselDao.search(int, int, int, fr.ifremer.allegro.Search)
public PaginationResult search(int pageNumber, int pageSize, Search search)
VesselDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface FishingVesselDao
search
in interface VesselDao
search
in class VesselDaoBase
pageNumber
- the page number in the data to retrievepageSize
- the size of the page to retrieve.search
- the search object which provides the search parameters and pagination specification.
PaginationResult
instance.FishingVesselDao.search(int, int, fr.ifremer.allegro.Search)
public java.util.Set search(int transform, Search search)
VesselDao
VesselDao.search(fr.ifremer.allegro.Search)
but with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
search
in interface FishingVesselDao
search
in interface VesselDao
search
in class VesselDaoBase
transform
- the transformation flag.search
- the search object which provides the search parameters and pagination specification.
FishingVesselDao.search(int, fr.ifremer.allegro.Search)
public java.util.Set search(Search search)
VesselDao
search
object.
search
in interface FishingVesselDao
search
in interface VesselDao
search
in class VesselDaoBase
search
- the search object which provides the search parameters and pagination specification.
FishingVesselDao.search(fr.ifremer.allegro.Search)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |