|
||||||||||
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.data.operation.OperationDaoBase
public abstract class OperationDaoBase
Base Spring DAO Class: is able to create, update, remove, load, and find
objects of type fr.ifremer.allegro.data.operation.Operation
.
Operation
Field Summary |
---|
Fields inherited from interface fr.ifremer.allegro.data.operation.OperationDao |
---|
TRANSFORM_CLUSTEROPERATION, TRANSFORM_NONE, TRANSFORM_REMOTEOPERATIONFULLVO, TRANSFORM_REMOTEOPERATIONNATURALID |
Constructor Summary | |
---|---|
OperationDaoBase()
|
Method Summary | |
---|---|
void |
clusterOperationToEntity(ClusterOperation source,
Operation target,
boolean copyIfNull)
Copies the fields of ClusterOperation to the specified entity. |
void |
clusterOperationToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type ClusterOperation to this
DAO's entity. |
java.util.Collection |
create(java.util.Collection entities)
Creates a new instance of fr.ifremer.allegro.data.operation.Operation and adds from the passed in entities collection |
java.util.Collection |
create(int transform,
java.util.Collection entities)
Does the same thing as OperationDao.create(fr.ifremer.allegro.data.operation.Operation) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
Operation operation)
Does the same thing as OperationDao.create(fr.ifremer.allegro.data.operation.Operation) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
QualityFlag qualityFlag,
Vessel vessel)
Does the same thing as OperationDao.create(fr.ifremer.allegro.referential.QualityFlag,fr.ifremer.allegro.referential.vessel.Vessel) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
java.lang.String name,
java.lang.Short rankOrderOnPeriod,
java.util.Date startDateTime,
java.util.Date endDateTime,
java.lang.Boolean isMainOperation,
java.lang.String comments,
java.util.Date controlDate,
java.util.Date validationDate,
java.util.Date qualificationDate,
java.lang.String qualificationComments,
FishingTrip fishingTrip,
java.util.Collection operationVesselAssociations,
Vessel vessel,
QualityFlag qualityFlag,
java.util.Collection vesselPositions,
java.util.Collection gearUseFeatures,
java.util.Collection vesselUseFeatures,
GearPhysicalFeatures gearPhysicalFeatures)
Does the same thing as OperationDao.create(java.lang.String,java.lang.Short,java.util.Date,java.util.Date,java.lang.Boolean,java.lang.String,java.util.Date,java.util.Date,java.util.Date,java.lang.String,fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip,java.util.Collection,fr.ifremer.allegro.referential.vessel.Vessel,fr.ifremer.allegro.referential.QualityFlag,java.util.Collection,java.util.Collection,java.util.Collection,fr.ifremer.allegro.data.vessel.feature.physical.GearPhysicalFeatures) with an
additional flag called transform . |
Operation |
create(Operation operation)
Creates an instance of fr.ifremer.allegro.data.operation.Operation and adds it to the persistent store. |
Operation |
create(QualityFlag qualityFlag,
Vessel vessel)
Creates a new fr.ifremer.allegro.data.operation.Operation
instance from only required properties (attributes
and association ends) and adds it to the persistent store. |
Operation |
create(java.lang.String name,
java.lang.Short rankOrderOnPeriod,
java.util.Date startDateTime,
java.util.Date endDateTime,
java.lang.Boolean isMainOperation,
java.lang.String comments,
java.util.Date controlDate,
java.util.Date validationDate,
java.util.Date qualificationDate,
java.lang.String qualificationComments,
FishingTrip fishingTrip,
java.util.Collection operationVesselAssociations,
Vessel vessel,
QualityFlag qualityFlag,
java.util.Collection vesselPositions,
java.util.Collection gearUseFeatures,
java.util.Collection vesselUseFeatures,
GearPhysicalFeatures gearPhysicalFeatures)
Creates a new fr.ifremer.allegro.data.operation.Operation
instance from all attributes and
properties and adds it to the persistent store. |
Operation |
createFromClusterOperation(ClusterOperation clusterOperation)
|
java.util.Collection |
findOperationByFishingTrip(FishingTrip fishingTrip)
|
java.util.Collection |
findOperationByFishingTrip(int transform,
FishingTrip fishingTrip)
Does the same thing as OperationDao.findOperationByFishingTrip(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an
additional flag called transform . |
java.util.Collection |
findOperationByFishingTrip(int pageNumber,
int pageSize,
FishingTrip fishingTrip)
Does the same thing as OperationDao.findOperationByFishingTrip(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findOperationByFishingTrip(int transform,
int pageNumber,
int pageSize,
FishingTrip fishingTrip)
Does the same thing as OperationDao.findOperationByFishingTrip(int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findOperationByFishingTrip(int transform,
java.lang.String queryString,
FishingTrip fishingTrip)
Does the same thing as OperationDao.findOperationByFishingTrip(int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an
additional argument called queryString . |
java.util.Collection |
findOperationByFishingTrip(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
FishingTrip fishingTrip)
Does the same thing as OperationDao.findOperationByFishingTrip(int, String, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findOperationByFishingTrip(java.lang.String queryString,
FishingTrip fishingTrip)
Does the same thing as OperationDao.findOperationByFishingTrip(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an
additional argument called queryString . |
java.util.Collection |
findOperationByFishingTrip(java.lang.String queryString,
int pageNumber,
int pageSize,
FishingTrip fishingTrip)
Does the same thing as OperationDao.findOperationByFishingTrip(String, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findOperationByGearPhysicalFeatures(GearPhysicalFeatures gearPhysicalFeatures)
|
java.util.Collection |
findOperationByGearPhysicalFeatures(int transform,
GearPhysicalFeatures gearPhysicalFeatures)
Does the same thing as OperationDao.findOperationByGearPhysicalFeatures(fr.ifremer.allegro.data.vessel.feature.physical.GearPhysicalFeatures) with an
additional flag called transform . |
java.util.Collection |
findOperationByGearPhysicalFeatures(int pageNumber,
int pageSize,
GearPhysicalFeatures gearPhysicalFeatures)
Does the same thing as OperationDao.findOperationByGearPhysicalFeatures(fr.ifremer.allegro.data.vessel.feature.physical.GearPhysicalFeatures) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findOperationByGearPhysicalFeatures(int transform,
int pageNumber,
int pageSize,
GearPhysicalFeatures gearPhysicalFeatures)
Does the same thing as OperationDao.findOperationByGearPhysicalFeatures(int, fr.ifremer.allegro.data.vessel.feature.physical.GearPhysicalFeatures) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findOperationByGearPhysicalFeatures(int transform,
java.lang.String queryString,
GearPhysicalFeatures gearPhysicalFeatures)
Does the same thing as OperationDao.findOperationByGearPhysicalFeatures(int, fr.ifremer.allegro.data.vessel.feature.physical.GearPhysicalFeatures) with an
additional argument called queryString . |
java.util.Collection |
findOperationByGearPhysicalFeatures(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
GearPhysicalFeatures gearPhysicalFeatures)
Does the same thing as OperationDao.findOperationByGearPhysicalFeatures(int, String, fr.ifremer.allegro.data.vessel.feature.physical.GearPhysicalFeatures) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findOperationByGearPhysicalFeatures(java.lang.String queryString,
GearPhysicalFeatures gearPhysicalFeatures)
Does the same thing as OperationDao.findOperationByGearPhysicalFeatures(fr.ifremer.allegro.data.vessel.feature.physical.GearPhysicalFeatures) with an
additional argument called queryString . |
java.util.Collection |
findOperationByGearPhysicalFeatures(java.lang.String queryString,
int pageNumber,
int pageSize,
GearPhysicalFeatures gearPhysicalFeatures)
Does the same thing as OperationDao.findOperationByGearPhysicalFeatures(String, fr.ifremer.allegro.data.vessel.feature.physical.GearPhysicalFeatures) with an
additional two arguments called pageNumber and pageSize . |
Operation |
findOperationById(java.lang.Integer id)
|
java.lang.Object |
findOperationById(int transform,
java.lang.Integer id)
Does the same thing as OperationDao.findOperationById(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findOperationById(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as OperationDao.findOperationById(int, java.lang.Integer) with an
additional argument called queryString . |
Operation |
findOperationById(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as OperationDao.findOperationById(java.lang.Integer) with an
additional argument called queryString . |
java.lang.Object |
findOperationByNaturalId(int transform,
java.lang.Short rankOrderOnPeriod,
java.util.Date startDateTime,
Vessel vessel,
FishingTrip fishingTrip)
Does the same thing as OperationDao.findOperationByNaturalId(java.lang.Short, java.util.Date, fr.ifremer.allegro.referential.vessel.Vessel, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an
additional flag called transform . |
java.lang.Object |
findOperationByNaturalId(int transform,
java.lang.String queryString,
java.lang.Short rankOrderOnPeriod,
java.util.Date startDateTime,
Vessel vessel,
FishingTrip fishingTrip)
Does the same thing as OperationDao.findOperationByNaturalId(int, java.lang.Short, java.util.Date, fr.ifremer.allegro.referential.vessel.Vessel, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an
additional argument called queryString . |
Operation |
findOperationByNaturalId(java.lang.Short rankOrderOnPeriod,
java.util.Date startDateTime,
Vessel vessel,
FishingTrip fishingTrip)
|
Operation |
findOperationByNaturalId(java.lang.String queryString,
java.lang.Short rankOrderOnPeriod,
java.util.Date startDateTime,
Vessel vessel,
FishingTrip fishingTrip)
Does the same thing as OperationDao.findOperationByNaturalId(java.lang.Short, java.util.Date, fr.ifremer.allegro.referential.vessel.Vessel, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an
additional argument called queryString . |
java.util.Collection |
findOperationByQualityFlag(int transform,
int pageNumber,
int pageSize,
QualityFlag qualityFlag)
Does the same thing as OperationDao.findOperationByQualityFlag(int, fr.ifremer.allegro.referential.QualityFlag) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findOperationByQualityFlag(int pageNumber,
int pageSize,
QualityFlag qualityFlag)
Does the same thing as OperationDao.findOperationByQualityFlag(fr.ifremer.allegro.referential.QualityFlag) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findOperationByQualityFlag(int transform,
QualityFlag qualityFlag)
Does the same thing as OperationDao.findOperationByQualityFlag(fr.ifremer.allegro.referential.QualityFlag) with an
additional flag called transform . |
java.util.Collection |
findOperationByQualityFlag(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
QualityFlag qualityFlag)
Does the same thing as OperationDao.findOperationByQualityFlag(int, String, fr.ifremer.allegro.referential.QualityFlag) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findOperationByQualityFlag(int transform,
java.lang.String queryString,
QualityFlag qualityFlag)
Does the same thing as OperationDao.findOperationByQualityFlag(int, fr.ifremer.allegro.referential.QualityFlag) with an
additional argument called queryString . |
java.util.Collection |
findOperationByQualityFlag(QualityFlag qualityFlag)
|
java.util.Collection |
findOperationByQualityFlag(java.lang.String queryString,
int pageNumber,
int pageSize,
QualityFlag qualityFlag)
Does the same thing as OperationDao.findOperationByQualityFlag(String, fr.ifremer.allegro.referential.QualityFlag) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findOperationByQualityFlag(java.lang.String queryString,
QualityFlag qualityFlag)
Does the same thing as OperationDao.findOperationByQualityFlag(fr.ifremer.allegro.referential.QualityFlag) with an
additional argument called queryString . |
java.util.Collection |
findOperationByVessel(int transform,
int pageNumber,
int pageSize,
Vessel vessel)
Does the same thing as OperationDao.findOperationByVessel(int, fr.ifremer.allegro.referential.vessel.Vessel) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findOperationByVessel(int pageNumber,
int pageSize,
Vessel vessel)
Does the same thing as OperationDao.findOperationByVessel(fr.ifremer.allegro.referential.vessel.Vessel) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findOperationByVessel(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
Vessel vessel)
Does the same thing as OperationDao.findOperationByVessel(int, String, fr.ifremer.allegro.referential.vessel.Vessel) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findOperationByVessel(int transform,
java.lang.String queryString,
Vessel vessel)
Does the same thing as OperationDao.findOperationByVessel(int, fr.ifremer.allegro.referential.vessel.Vessel) with an
additional argument called queryString . |
java.util.Collection |
findOperationByVessel(int transform,
Vessel vessel)
Does the same thing as OperationDao.findOperationByVessel(fr.ifremer.allegro.referential.vessel.Vessel) with an
additional flag called transform . |
java.util.Collection |
findOperationByVessel(java.lang.String queryString,
int pageNumber,
int pageSize,
Vessel vessel)
Does the same thing as OperationDao.findOperationByVessel(String, fr.ifremer.allegro.referential.vessel.Vessel) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findOperationByVessel(java.lang.String queryString,
Vessel vessel)
Does the same thing as OperationDao.findOperationByVessel(fr.ifremer.allegro.referential.vessel.Vessel) with an
additional argument called queryString . |
java.util.Collection |
findOperationByVessel(Vessel vessel)
|
ClusterOperation[] |
getAllClusterOperation(java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize)
|
java.util.Collection |
getAllOperation()
|
java.util.Collection |
getAllOperation(int transform)
Does the same thing as OperationDao.getAllOperation() with an
additional flag called transform . |
java.util.Collection |
getAllOperation(int pageNumber,
int pageSize)
Does the same thing as OperationDao.getAllOperation() with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllOperation(int transform,
int pageNumber,
int pageSize)
Does the same thing as OperationDao.getAllOperation(int) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllOperation(int transform,
java.lang.String queryString)
Does the same thing as OperationDao.getAllOperation(int) with an
additional argument called queryString . |
java.util.Collection |
getAllOperation(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as OperationDao.getAllOperation(int, String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllOperation(java.lang.String queryString)
Does the same thing as OperationDao.getAllOperation() with an
additional argument called queryString . |
java.util.Collection |
getAllOperation(java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as OperationDao.getAllOperation(String) with an
additional two arguments called pageNumber and pageSize . |
protected FishingTripDao |
getFishingTripDao()
Gets the reference to fishingTripDao . |
protected GearPhysicalFeaturesDao |
getGearPhysicalFeaturesDao()
Gets the reference to gearPhysicalFeaturesDao . |
protected GearUseFeaturesDao |
getGearUseFeaturesDao()
Gets the reference to gearUseFeaturesDao . |
protected MetierUseFeaturesDao |
getMetierUseFeaturesDao()
Gets the reference to metierUseFeaturesDao . |
protected OperationVesselAssociationDao |
getOperationVesselAssociationDao()
Gets the reference to operationVesselAssociationDao . |
protected java.security.Principal |
getPrincipal()
Gets the current principal if one has been set,
otherwise returns null . |
protected QualityFlagDao |
getQualityFlagDao()
Gets the reference to qualityFlagDao . |
protected VesselDao |
getVesselDao()
Gets the reference to vesselDao . |
protected VesselExtendedPositionDao |
getVesselExtendedPositionDao()
Gets the reference to vesselExtendedPositionDao . |
protected VesselPositionDao |
getVesselPositionDao()
Gets the reference to vesselPositionDao . |
protected VesselUseFeaturesDao |
getVesselUseFeaturesDao()
Gets the reference to vesselUseFeaturesDao . |
protected abstract Operation |
handleCreateFromClusterOperation(ClusterOperation clusterOperation)
Performs the core logic for createFromClusterOperation(fr.ifremer.allegro.data.operation.generic.cluster.ClusterOperation) |
protected abstract ClusterOperation[] |
handleGetAllClusterOperation(java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize)
Performs the core logic for getAllClusterOperation(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer) |
Operation |
load(java.lang.Integer id)
Loads an instance of fr.ifremer.allegro.data.operation.Operation from the persistent store. |
java.lang.Object |
load(int transform,
java.lang.Integer id)
Does the same thing as OperationDao.load(java.lang.Integer) with an
additional flag called transform . |
java.util.Collection |
loadAll()
Loads all entities of type Operation . |
java.util.Collection |
loadAll(int transform)
Does the same thing as OperationDao.loadAll() with an
additional flag called transform . |
java.util.Collection |
loadAll(int pageNumber,
int pageSize)
Does the same thing as OperationDao.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 OperationDao.loadAll(int) with an
additional two arguments called pageNumber and pageSize . |
void |
remoteOperationFullVOToEntity(RemoteOperationFullVO source,
Operation target,
boolean copyIfNull)
Copies the fields of RemoteOperationFullVO to the specified entity. |
void |
remoteOperationFullVOToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteOperationFullVO to this
DAO's entity. |
void |
remoteOperationNaturalIdToEntity(RemoteOperationNaturalId source,
Operation target,
boolean copyIfNull)
Copies the fields of RemoteOperationNaturalId to the specified entity. |
void |
remoteOperationNaturalIdToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteOperationNaturalId to this
DAO's entity. |
void |
remove(java.util.Collection entities)
Removes all entities in the given entities |
void |
remove(java.lang.Integer id)
Removes the instance of fr.ifremer.allegro.data.operation.Operation having the given identifier from the persistent store. |
void |
remove(Operation operation)
Removes the instance of fr.ifremer.allegro.data.operation.Operation 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 OperationDao.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 |
setFishingTripDao(FishingTripDao fishingTripDao)
Sets the reference to fishingTripDao . |
void |
setGearPhysicalFeaturesDao(GearPhysicalFeaturesDao gearPhysicalFeaturesDao)
Sets the reference to gearPhysicalFeaturesDao . |
void |
setGearUseFeaturesDao(GearUseFeaturesDao gearUseFeaturesDao)
Sets the reference to gearUseFeaturesDao . |
void |
setMetierUseFeaturesDao(MetierUseFeaturesDao metierUseFeaturesDao)
Sets the reference to metierUseFeaturesDao . |
void |
setOperationVesselAssociationDao(OperationVesselAssociationDao operationVesselAssociationDao)
Sets the reference to operationVesselAssociationDao . |
void |
setQualityFlagDao(QualityFlagDao qualityFlagDao)
Sets the reference to qualityFlagDao . |
void |
setVesselDao(VesselDao vesselDao)
Sets the reference to vesselDao . |
void |
setVesselExtendedPositionDao(VesselExtendedPositionDao vesselExtendedPositionDao)
Sets the reference to vesselExtendedPositionDao . |
void |
setVesselPositionDao(VesselPositionDao vesselPositionDao)
Sets the reference to vesselPositionDao . |
void |
setVesselUseFeaturesDao(VesselUseFeaturesDao vesselUseFeaturesDao)
Sets the reference to vesselUseFeaturesDao . |
protected ClusterOperation |
toClusterOperation(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
ClusterOperation |
toClusterOperation(Operation entity)
Converts this DAO's entity to an object of type ClusterOperation . |
void |
toClusterOperation(Operation source,
ClusterOperation target)
Copies the fields of the specified entity to the target value object. |
ClusterOperation[] |
toClusterOperationArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type ClusterOperation . |
void |
toClusterOperationCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type ClusterOperation . |
protected Operation |
toEntity(java.lang.Object[] row)
|
protected RemoteOperationFullVO |
toRemoteOperationFullVO(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteOperationFullVO |
toRemoteOperationFullVO(Operation entity)
Converts this DAO's entity to an object of type RemoteOperationFullVO . |
void |
toRemoteOperationFullVO(Operation source,
RemoteOperationFullVO target)
Copies the fields of the specified entity to the target value object. |
RemoteOperationFullVO[] |
toRemoteOperationFullVOArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteOperationFullVO . |
void |
toRemoteOperationFullVOCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteOperationFullVO . |
protected RemoteOperationNaturalId |
toRemoteOperationNaturalId(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteOperationNaturalId |
toRemoteOperationNaturalId(Operation entity)
Converts this DAO's entity to an object of type RemoteOperationNaturalId . |
void |
toRemoteOperationNaturalId(Operation source,
RemoteOperationNaturalId target)
Copies the fields of the specified entity to the target value object. |
RemoteOperationNaturalId[] |
toRemoteOperationNaturalIdArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteOperationNaturalId . |
void |
toRemoteOperationNaturalIdCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteOperationNaturalId . |
protected void |
transformEntities(int transform,
java.util.Collection entities)
Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.data.operation.Operation)
method. |
protected java.lang.Object |
transformEntity(int transform,
Operation 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.data.operation.OperationDao , please note
that the OperationDao.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(Operation operation)
Updates the operation instance in the persistent store. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface fr.ifremer.allegro.data.operation.OperationDao |
---|
clusterOperationToEntity, remoteOperationFullVOToEntity, remoteOperationNaturalIdToEntity |
Constructor Detail |
---|
public OperationDaoBase()
Method Detail |
---|
public void setVesselDao(VesselDao vesselDao)
vesselDao
.
protected VesselDao getVesselDao()
vesselDao
.
public void setFishingTripDao(FishingTripDao fishingTripDao)
fishingTripDao
.
protected FishingTripDao getFishingTripDao()
fishingTripDao
.
public void setGearPhysicalFeaturesDao(GearPhysicalFeaturesDao gearPhysicalFeaturesDao)
gearPhysicalFeaturesDao
.
protected GearPhysicalFeaturesDao getGearPhysicalFeaturesDao()
gearPhysicalFeaturesDao
.
public void setQualityFlagDao(QualityFlagDao qualityFlagDao)
qualityFlagDao
.
protected QualityFlagDao getQualityFlagDao()
qualityFlagDao
.
public void setOperationVesselAssociationDao(OperationVesselAssociationDao operationVesselAssociationDao)
operationVesselAssociationDao
.
protected OperationVesselAssociationDao getOperationVesselAssociationDao()
operationVesselAssociationDao
.
public void setGearUseFeaturesDao(GearUseFeaturesDao gearUseFeaturesDao)
gearUseFeaturesDao
.
protected GearUseFeaturesDao getGearUseFeaturesDao()
gearUseFeaturesDao
.
public void setVesselUseFeaturesDao(VesselUseFeaturesDao vesselUseFeaturesDao)
vesselUseFeaturesDao
.
protected VesselUseFeaturesDao getVesselUseFeaturesDao()
vesselUseFeaturesDao
.
public void setVesselPositionDao(VesselPositionDao vesselPositionDao)
vesselPositionDao
.
protected VesselPositionDao getVesselPositionDao()
vesselPositionDao
.
public void setMetierUseFeaturesDao(MetierUseFeaturesDao metierUseFeaturesDao)
metierUseFeaturesDao
.
protected MetierUseFeaturesDao getMetierUseFeaturesDao()
metierUseFeaturesDao
.
public void setVesselExtendedPositionDao(VesselExtendedPositionDao vesselExtendedPositionDao)
vesselExtendedPositionDao
.
protected VesselExtendedPositionDao getVesselExtendedPositionDao()
vesselExtendedPositionDao
.
public java.lang.Object load(int transform, java.lang.Integer id)
OperationDao
Does the same thing as OperationDao.load(java.lang.Integer)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined in this class then the result WILL BE passed through an operation which can
optionally transform the entity (into a value object for example). By default, transformation does
not occur.
load
in interface OperationDao
id
- identifier of the entity to load
OperationDao.load(int, java.lang.Integer)
public Operation load(java.lang.Integer id)
OperationDao
load
in interface OperationDao
OperationDao.load(java.lang.Integer)
public java.util.Collection loadAll()
OperationDao
Operation
.
loadAll
in interface OperationDao
OperationDao.loadAll()
public java.util.Collection loadAll(int transform)
OperationDao
Does the same thing as OperationDao.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 OperationDao
transform
- the flag indicating what transformation to use.
OperationDao.loadAll(int)
public java.util.Collection loadAll(int pageNumber, int pageSize)
OperationDao
Does the same thing as OperationDao.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 OperationDao
pageNumber
- the page number to retrieve when paging results.pageSize
- the size of the page to retrieve when paging results.
OperationDao.loadAll(int, int)
public java.util.Collection loadAll(int transform, int pageNumber, int pageSize)
OperationDao
Does the same thing as OperationDao.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 OperationDao
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.
OperationDao.loadAll(int, int, int)
public Operation create(Operation operation)
OperationDao
create
in interface OperationDao
OperationDao.create(fr.ifremer.allegro.data.operation.Operation)
public java.lang.Object create(int transform, Operation operation)
OperationDao
Does the same thing as OperationDao.create(fr.ifremer.allegro.data.operation.Operation)
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 OperationDao
OperationDao.create(int transform, fr.ifremer.allegro.data.operation.Operation)
public java.util.Collection create(java.util.Collection entities)
OperationDao
entities
collection
create
in interface OperationDao
entities
- the collection of fr.ifremer.allegro.data.operation.Operation
instances to create.
OperationDao.create(java.util.Collection)
public java.util.Collection create(int transform, java.util.Collection entities)
OperationDao
Does the same thing as OperationDao.create(fr.ifremer.allegro.data.operation.Operation)
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 OperationDao
OperationDao.create(int, java.util.Collection)
public Operation create(java.lang.String name, java.lang.Short rankOrderOnPeriod, java.util.Date startDateTime, java.util.Date endDateTime, java.lang.Boolean isMainOperation, java.lang.String comments, java.util.Date controlDate, java.util.Date validationDate, java.util.Date qualificationDate, java.lang.String qualificationComments, FishingTrip fishingTrip, java.util.Collection operationVesselAssociations, Vessel vessel, QualityFlag qualityFlag, java.util.Collection vesselPositions, java.util.Collection gearUseFeatures, java.util.Collection vesselUseFeatures, GearPhysicalFeatures gearPhysicalFeatures)
OperationDao
Creates a new fr.ifremer.allegro.data.operation.Operation
instance from all attributes and
properties and adds it to the persistent store.
create
in interface OperationDao
OperationDao.create(java.lang.String,java.lang.Short,java.util.Date,java.util.Date,java.lang.Boolean,java.lang.String,java.util.Date,java.util.Date,java.util.Date,java.lang.String,fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip,java.util.Collection,fr.ifremer.allegro.referential.vessel.Vessel,fr.ifremer.allegro.referential.QualityFlag,java.util.Collection,java.util.Collection,java.util.Collection,fr.ifremer.allegro.data.vessel.feature.physical.GearPhysicalFeatures)
public java.lang.Object create(int transform, java.lang.String name, java.lang.Short rankOrderOnPeriod, java.util.Date startDateTime, java.util.Date endDateTime, java.lang.Boolean isMainOperation, java.lang.String comments, java.util.Date controlDate, java.util.Date validationDate, java.util.Date qualificationDate, java.lang.String qualificationComments, FishingTrip fishingTrip, java.util.Collection operationVesselAssociations, Vessel vessel, QualityFlag qualityFlag, java.util.Collection vesselPositions, java.util.Collection gearUseFeatures, java.util.Collection vesselUseFeatures, GearPhysicalFeatures gearPhysicalFeatures)
OperationDao
Does the same thing as OperationDao.create(java.lang.String,java.lang.Short,java.util.Date,java.util.Date,java.lang.Boolean,java.lang.String,java.util.Date,java.util.Date,java.util.Date,java.lang.String,fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip,java.util.Collection,fr.ifremer.allegro.referential.vessel.Vessel,fr.ifremer.allegro.referential.QualityFlag,java.util.Collection,java.util.Collection,java.util.Collection,fr.ifremer.allegro.data.vessel.feature.physical.GearPhysicalFeatures)
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 OperationDao
OperationDao.create(int, java.lang.String,java.lang.Short,java.util.Date,java.util.Date,java.lang.Boolean,java.lang.String,java.util.Date,java.util.Date,java.util.Date,java.lang.String,fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip,java.util.Collection,fr.ifremer.allegro.referential.vessel.Vessel,fr.ifremer.allegro.referential.QualityFlag,java.util.Collection,java.util.Collection,java.util.Collection,fr.ifremer.allegro.data.vessel.feature.physical.GearPhysicalFeatures)
public Operation create(QualityFlag qualityFlag, Vessel vessel)
OperationDao
Creates a new fr.ifremer.allegro.data.operation.Operation
instance from only required properties (attributes
and association ends) and adds it to the persistent store.
create
in interface OperationDao
OperationDao.create(fr.ifremer.allegro.referential.QualityFlag,fr.ifremer.allegro.referential.vessel.Vessel)
public java.lang.Object create(int transform, QualityFlag qualityFlag, Vessel vessel)
OperationDao
Does the same thing as OperationDao.create(fr.ifremer.allegro.referential.QualityFlag,fr.ifremer.allegro.referential.vessel.Vessel)
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 OperationDao
OperationDao.create(int, fr.ifremer.allegro.referential.QualityFlag,fr.ifremer.allegro.referential.vessel.Vessel)
public void update(Operation operation)
OperationDao
operation
instance in the persistent store.
update
in interface OperationDao
OperationDao.update(fr.ifremer.allegro.data.operation.Operation)
public void update(java.util.Collection entities)
OperationDao
entities
collection in the persistent store.
update
in interface OperationDao
OperationDao.update(java.util.Collection)
public void remove(Operation operation)
OperationDao
remove
in interface OperationDao
OperationDao.remove(fr.ifremer.allegro.data.operation.Operation)
public void remove(java.lang.Integer id)
OperationDao
identifier
from the persistent store.
remove
in interface OperationDao
OperationDao.remove(java.lang.Integer)
public void remove(java.util.Collection entities)
OperationDao
entities collection.
- Specified by:
remove
in interface OperationDao
- See Also:
OperationDao.remove(java.util.Collection)
public java.util.Collection getAllOperation()
getAllOperation
in interface OperationDao
OperationDao.getAllOperation()
public java.util.Collection getAllOperation(int transform)
OperationDao
Does the same thing as OperationDao.getAllOperation()
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.
getAllOperation
in interface OperationDao
OperationDao.getAllOperation(int)
public java.util.Collection getAllOperation(java.lang.String queryString)
OperationDao
Does the same thing as OperationDao.getAllOperation()
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in OperationDao.getAllOperation()
.
getAllOperation
in interface OperationDao
OperationDao.getAllOperation(java.lang.String)
public java.util.Collection getAllOperation(int pageNumber, int pageSize)
OperationDao
Does the same thing as OperationDao.getAllOperation()
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.
getAllOperation
in interface OperationDao
OperationDao.getAllOperation(int, int)
public java.util.Collection getAllOperation(java.lang.String queryString, int pageNumber, int pageSize)
OperationDao
Does the same thing as OperationDao.getAllOperation(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.
getAllOperation
in interface OperationDao
OperationDao.getAllOperation(String, int, int)
public java.util.Collection getAllOperation(int transform, java.lang.String queryString)
OperationDao
Does the same thing as OperationDao.getAllOperation(int)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in OperationDao.getAllOperation(int)
.
getAllOperation
in interface OperationDao
OperationDao.getAllOperation(int, String)
public java.util.Collection getAllOperation(int transform, int pageNumber, int pageSize)
OperationDao
Does the same thing as OperationDao.getAllOperation(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.
getAllOperation
in interface OperationDao
OperationDao.getAllOperation(int, int, int)
public java.util.Collection getAllOperation(int transform, java.lang.String queryString, int pageNumber, int pageSize)
OperationDao
Does the same thing as OperationDao.getAllOperation(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.
getAllOperation
in interface OperationDao
OperationDao.getAllOperation(int, java.lang.String, int, int)
public Operation findOperationById(java.lang.Integer id)
findOperationById
in interface OperationDao
OperationDao.findOperationById(java.lang.Integer)
public java.lang.Object findOperationById(int transform, java.lang.Integer id)
OperationDao
Does the same thing as OperationDao.findOperationById(java.lang.Integer)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
findOperationById
in interface OperationDao
OperationDao.findOperationById(int, java.lang.Integer)
public Operation findOperationById(java.lang.String queryString, java.lang.Integer id)
OperationDao
Does the same thing as OperationDao.findOperationById(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in OperationDao.findOperationById(java.lang.Integer)
.
findOperationById
in interface OperationDao
OperationDao.findOperationById(java.lang.String, java.lang.Integer)
public java.lang.Object findOperationById(int transform, java.lang.String queryString, java.lang.Integer id)
OperationDao
Does the same thing as OperationDao.findOperationById(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in OperationDao.findOperationById(int, java.lang.Integer id)
.
findOperationById
in interface OperationDao
OperationDao.findOperationById(int, java.lang.String, java.lang.Integer)
public java.util.Collection findOperationByVessel(Vessel vessel)
findOperationByVessel
in interface OperationDao
OperationDao.findOperationByVessel(fr.ifremer.allegro.referential.vessel.Vessel)
public java.util.Collection findOperationByVessel(int transform, Vessel vessel)
OperationDao
Does the same thing as OperationDao.findOperationByVessel(fr.ifremer.allegro.referential.vessel.Vessel)
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.
findOperationByVessel
in interface OperationDao
OperationDao.findOperationByVessel(int, fr.ifremer.allegro.referential.vessel.Vessel)
public java.util.Collection findOperationByVessel(java.lang.String queryString, Vessel vessel)
OperationDao
Does the same thing as OperationDao.findOperationByVessel(fr.ifremer.allegro.referential.vessel.Vessel)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in OperationDao.findOperationByVessel(fr.ifremer.allegro.referential.vessel.Vessel)
.
findOperationByVessel
in interface OperationDao
OperationDao.findOperationByVessel(java.lang.String, fr.ifremer.allegro.referential.vessel.Vessel)
public java.util.Collection findOperationByVessel(int pageNumber, int pageSize, Vessel vessel)
OperationDao
Does the same thing as OperationDao.findOperationByVessel(fr.ifremer.allegro.referential.vessel.Vessel)
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.
findOperationByVessel
in interface OperationDao
OperationDao.findOperationByVessel(int, int, fr.ifremer.allegro.referential.vessel.Vessel)
public java.util.Collection findOperationByVessel(java.lang.String queryString, int pageNumber, int pageSize, Vessel vessel)
OperationDao
Does the same thing as OperationDao.findOperationByVessel(String, fr.ifremer.allegro.referential.vessel.Vessel)
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.
findOperationByVessel
in interface OperationDao
OperationDao.findOperationByVessel(String, int, int, fr.ifremer.allegro.referential.vessel.Vessel)
public java.util.Collection findOperationByVessel(int transform, java.lang.String queryString, Vessel vessel)
OperationDao
Does the same thing as OperationDao.findOperationByVessel(int, fr.ifremer.allegro.referential.vessel.Vessel)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in OperationDao.findOperationByVessel(int, fr.ifremer.allegro.referential.vessel.Vessel vessel)
.
findOperationByVessel
in interface OperationDao
OperationDao.findOperationByVessel(int, String, fr.ifremer.allegro.referential.vessel.Vessel)
public java.util.Collection findOperationByVessel(int transform, int pageNumber, int pageSize, Vessel vessel)
OperationDao
Does the same thing as OperationDao.findOperationByVessel(int, fr.ifremer.allegro.referential.vessel.Vessel)
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.
findOperationByVessel
in interface OperationDao
OperationDao.findOperationByVessel(int, int, int, fr.ifremer.allegro.referential.vessel.Vessel)
public java.util.Collection findOperationByVessel(int transform, java.lang.String queryString, int pageNumber, int pageSize, Vessel vessel)
OperationDao
Does the same thing as OperationDao.findOperationByVessel(int, String, fr.ifremer.allegro.referential.vessel.Vessel)
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.
findOperationByVessel
in interface OperationDao
OperationDao.findOperationByVessel(int, java.lang.String, int, int, fr.ifremer.allegro.referential.vessel.Vessel)
public java.util.Collection findOperationByGearPhysicalFeatures(GearPhysicalFeatures gearPhysicalFeatures)
findOperationByGearPhysicalFeatures
in interface OperationDao
OperationDao.findOperationByGearPhysicalFeatures(fr.ifremer.allegro.data.vessel.feature.physical.GearPhysicalFeatures)
public java.util.Collection findOperationByGearPhysicalFeatures(int transform, GearPhysicalFeatures gearPhysicalFeatures)
OperationDao
Does the same thing as OperationDao.findOperationByGearPhysicalFeatures(fr.ifremer.allegro.data.vessel.feature.physical.GearPhysicalFeatures)
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.
findOperationByGearPhysicalFeatures
in interface OperationDao
OperationDao.findOperationByGearPhysicalFeatures(int, fr.ifremer.allegro.data.vessel.feature.physical.GearPhysicalFeatures)
public java.util.Collection findOperationByGearPhysicalFeatures(java.lang.String queryString, GearPhysicalFeatures gearPhysicalFeatures)
OperationDao
Does the same thing as OperationDao.findOperationByGearPhysicalFeatures(fr.ifremer.allegro.data.vessel.feature.physical.GearPhysicalFeatures)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in OperationDao.findOperationByGearPhysicalFeatures(fr.ifremer.allegro.data.vessel.feature.physical.GearPhysicalFeatures)
.
findOperationByGearPhysicalFeatures
in interface OperationDao
OperationDao.findOperationByGearPhysicalFeatures(java.lang.String, fr.ifremer.allegro.data.vessel.feature.physical.GearPhysicalFeatures)
public java.util.Collection findOperationByGearPhysicalFeatures(int pageNumber, int pageSize, GearPhysicalFeatures gearPhysicalFeatures)
OperationDao
Does the same thing as OperationDao.findOperationByGearPhysicalFeatures(fr.ifremer.allegro.data.vessel.feature.physical.GearPhysicalFeatures)
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.
findOperationByGearPhysicalFeatures
in interface OperationDao
OperationDao.findOperationByGearPhysicalFeatures(int, int, fr.ifremer.allegro.data.vessel.feature.physical.GearPhysicalFeatures)
public java.util.Collection findOperationByGearPhysicalFeatures(java.lang.String queryString, int pageNumber, int pageSize, GearPhysicalFeatures gearPhysicalFeatures)
OperationDao
Does the same thing as OperationDao.findOperationByGearPhysicalFeatures(String, fr.ifremer.allegro.data.vessel.feature.physical.GearPhysicalFeatures)
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.
findOperationByGearPhysicalFeatures
in interface OperationDao
OperationDao.findOperationByGearPhysicalFeatures(String, int, int, fr.ifremer.allegro.data.vessel.feature.physical.GearPhysicalFeatures)
public java.util.Collection findOperationByGearPhysicalFeatures(int transform, java.lang.String queryString, GearPhysicalFeatures gearPhysicalFeatures)
OperationDao
Does the same thing as OperationDao.findOperationByGearPhysicalFeatures(int, fr.ifremer.allegro.data.vessel.feature.physical.GearPhysicalFeatures)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in OperationDao.findOperationByGearPhysicalFeatures(int, fr.ifremer.allegro.data.vessel.feature.physical.GearPhysicalFeatures gearPhysicalFeatures)
.
findOperationByGearPhysicalFeatures
in interface OperationDao
OperationDao.findOperationByGearPhysicalFeatures(int, String, fr.ifremer.allegro.data.vessel.feature.physical.GearPhysicalFeatures)
public java.util.Collection findOperationByGearPhysicalFeatures(int transform, int pageNumber, int pageSize, GearPhysicalFeatures gearPhysicalFeatures)
OperationDao
Does the same thing as OperationDao.findOperationByGearPhysicalFeatures(int, fr.ifremer.allegro.data.vessel.feature.physical.GearPhysicalFeatures)
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.
findOperationByGearPhysicalFeatures
in interface OperationDao
OperationDao.findOperationByGearPhysicalFeatures(int, int, int, fr.ifremer.allegro.data.vessel.feature.physical.GearPhysicalFeatures)
public java.util.Collection findOperationByGearPhysicalFeatures(int transform, java.lang.String queryString, int pageNumber, int pageSize, GearPhysicalFeatures gearPhysicalFeatures)
OperationDao
Does the same thing as OperationDao.findOperationByGearPhysicalFeatures(int, String, fr.ifremer.allegro.data.vessel.feature.physical.GearPhysicalFeatures)
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.
findOperationByGearPhysicalFeatures
in interface OperationDao
OperationDao.findOperationByGearPhysicalFeatures(int, java.lang.String, int, int, fr.ifremer.allegro.data.vessel.feature.physical.GearPhysicalFeatures)
public java.util.Collection findOperationByFishingTrip(FishingTrip fishingTrip)
findOperationByFishingTrip
in interface OperationDao
OperationDao.findOperationByFishingTrip(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)
public java.util.Collection findOperationByFishingTrip(int transform, FishingTrip fishingTrip)
OperationDao
Does the same thing as OperationDao.findOperationByFishingTrip(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)
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.
findOperationByFishingTrip
in interface OperationDao
OperationDao.findOperationByFishingTrip(int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)
public java.util.Collection findOperationByFishingTrip(java.lang.String queryString, FishingTrip fishingTrip)
OperationDao
Does the same thing as OperationDao.findOperationByFishingTrip(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in OperationDao.findOperationByFishingTrip(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)
.
findOperationByFishingTrip
in interface OperationDao
OperationDao.findOperationByFishingTrip(java.lang.String, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)
public java.util.Collection findOperationByFishingTrip(int pageNumber, int pageSize, FishingTrip fishingTrip)
OperationDao
Does the same thing as OperationDao.findOperationByFishingTrip(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)
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.
findOperationByFishingTrip
in interface OperationDao
OperationDao.findOperationByFishingTrip(int, int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)
public java.util.Collection findOperationByFishingTrip(java.lang.String queryString, int pageNumber, int pageSize, FishingTrip fishingTrip)
OperationDao
Does the same thing as OperationDao.findOperationByFishingTrip(String, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)
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.
findOperationByFishingTrip
in interface OperationDao
OperationDao.findOperationByFishingTrip(String, int, int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)
public java.util.Collection findOperationByFishingTrip(int transform, java.lang.String queryString, FishingTrip fishingTrip)
OperationDao
Does the same thing as OperationDao.findOperationByFishingTrip(int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in OperationDao.findOperationByFishingTrip(int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip fishingTrip)
.
findOperationByFishingTrip
in interface OperationDao
OperationDao.findOperationByFishingTrip(int, String, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)
public java.util.Collection findOperationByFishingTrip(int transform, int pageNumber, int pageSize, FishingTrip fishingTrip)
OperationDao
Does the same thing as OperationDao.findOperationByFishingTrip(int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)
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.
findOperationByFishingTrip
in interface OperationDao
OperationDao.findOperationByFishingTrip(int, int, int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)
public java.util.Collection findOperationByFishingTrip(int transform, java.lang.String queryString, int pageNumber, int pageSize, FishingTrip fishingTrip)
OperationDao
Does the same thing as OperationDao.findOperationByFishingTrip(int, String, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)
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.
findOperationByFishingTrip
in interface OperationDao
OperationDao.findOperationByFishingTrip(int, java.lang.String, int, int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)
public java.util.Collection findOperationByQualityFlag(QualityFlag qualityFlag)
findOperationByQualityFlag
in interface OperationDao
OperationDao.findOperationByQualityFlag(fr.ifremer.allegro.referential.QualityFlag)
public java.util.Collection findOperationByQualityFlag(int transform, QualityFlag qualityFlag)
OperationDao
Does the same thing as OperationDao.findOperationByQualityFlag(fr.ifremer.allegro.referential.QualityFlag)
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.
findOperationByQualityFlag
in interface OperationDao
OperationDao.findOperationByQualityFlag(int, fr.ifremer.allegro.referential.QualityFlag)
public java.util.Collection findOperationByQualityFlag(java.lang.String queryString, QualityFlag qualityFlag)
OperationDao
Does the same thing as OperationDao.findOperationByQualityFlag(fr.ifremer.allegro.referential.QualityFlag)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in OperationDao.findOperationByQualityFlag(fr.ifremer.allegro.referential.QualityFlag)
.
findOperationByQualityFlag
in interface OperationDao
OperationDao.findOperationByQualityFlag(java.lang.String, fr.ifremer.allegro.referential.QualityFlag)
public java.util.Collection findOperationByQualityFlag(int pageNumber, int pageSize, QualityFlag qualityFlag)
OperationDao
Does the same thing as OperationDao.findOperationByQualityFlag(fr.ifremer.allegro.referential.QualityFlag)
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.
findOperationByQualityFlag
in interface OperationDao
OperationDao.findOperationByQualityFlag(int, int, fr.ifremer.allegro.referential.QualityFlag)
public java.util.Collection findOperationByQualityFlag(java.lang.String queryString, int pageNumber, int pageSize, QualityFlag qualityFlag)
OperationDao
Does the same thing as OperationDao.findOperationByQualityFlag(String, fr.ifremer.allegro.referential.QualityFlag)
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.
findOperationByQualityFlag
in interface OperationDao
OperationDao.findOperationByQualityFlag(String, int, int, fr.ifremer.allegro.referential.QualityFlag)
public java.util.Collection findOperationByQualityFlag(int transform, java.lang.String queryString, QualityFlag qualityFlag)
OperationDao
Does the same thing as OperationDao.findOperationByQualityFlag(int, fr.ifremer.allegro.referential.QualityFlag)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in OperationDao.findOperationByQualityFlag(int, fr.ifremer.allegro.referential.QualityFlag qualityFlag)
.
findOperationByQualityFlag
in interface OperationDao
OperationDao.findOperationByQualityFlag(int, String, fr.ifremer.allegro.referential.QualityFlag)
public java.util.Collection findOperationByQualityFlag(int transform, int pageNumber, int pageSize, QualityFlag qualityFlag)
OperationDao
Does the same thing as OperationDao.findOperationByQualityFlag(int, fr.ifremer.allegro.referential.QualityFlag)
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.
findOperationByQualityFlag
in interface OperationDao
OperationDao.findOperationByQualityFlag(int, int, int, fr.ifremer.allegro.referential.QualityFlag)
public java.util.Collection findOperationByQualityFlag(int transform, java.lang.String queryString, int pageNumber, int pageSize, QualityFlag qualityFlag)
OperationDao
Does the same thing as OperationDao.findOperationByQualityFlag(int, String, fr.ifremer.allegro.referential.QualityFlag)
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.
findOperationByQualityFlag
in interface OperationDao
OperationDao.findOperationByQualityFlag(int, java.lang.String, int, int, fr.ifremer.allegro.referential.QualityFlag)
public Operation findOperationByNaturalId(java.lang.Short rankOrderOnPeriod, java.util.Date startDateTime, Vessel vessel, FishingTrip fishingTrip)
findOperationByNaturalId
in interface OperationDao
OperationDao.findOperationByNaturalId(java.lang.Short, java.util.Date, fr.ifremer.allegro.referential.vessel.Vessel, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)
public java.lang.Object findOperationByNaturalId(int transform, java.lang.Short rankOrderOnPeriod, java.util.Date startDateTime, Vessel vessel, FishingTrip fishingTrip)
OperationDao
Does the same thing as OperationDao.findOperationByNaturalId(java.lang.Short, java.util.Date, fr.ifremer.allegro.referential.vessel.Vessel, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)
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.
findOperationByNaturalId
in interface OperationDao
OperationDao.findOperationByNaturalId(int, java.lang.Short, java.util.Date, fr.ifremer.allegro.referential.vessel.Vessel, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)
public Operation findOperationByNaturalId(java.lang.String queryString, java.lang.Short rankOrderOnPeriod, java.util.Date startDateTime, Vessel vessel, FishingTrip fishingTrip)
OperationDao
Does the same thing as OperationDao.findOperationByNaturalId(java.lang.Short, java.util.Date, fr.ifremer.allegro.referential.vessel.Vessel, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in OperationDao.findOperationByNaturalId(java.lang.Short, java.util.Date, fr.ifremer.allegro.referential.vessel.Vessel, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)
.
findOperationByNaturalId
in interface OperationDao
OperationDao.findOperationByNaturalId(java.lang.String, java.lang.Short, java.util.Date, fr.ifremer.allegro.referential.vessel.Vessel, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)
public java.lang.Object findOperationByNaturalId(int transform, java.lang.String queryString, java.lang.Short rankOrderOnPeriod, java.util.Date startDateTime, Vessel vessel, FishingTrip fishingTrip)
OperationDao
Does the same thing as OperationDao.findOperationByNaturalId(int, java.lang.Short, java.util.Date, fr.ifremer.allegro.referential.vessel.Vessel, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in OperationDao.findOperationByNaturalId(int, java.lang.Short rankOrderOnPeriod, java.util.Date startDateTime, fr.ifremer.allegro.referential.vessel.Vessel vessel, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip fishingTrip)
.
findOperationByNaturalId
in interface OperationDao
OperationDao.findOperationByNaturalId(int, java.lang.String, java.lang.Short, java.util.Date, fr.ifremer.allegro.referential.vessel.Vessel, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)
public Operation createFromClusterOperation(ClusterOperation clusterOperation)
createFromClusterOperation
in interface OperationDao
OperationDao.createFromClusterOperation(fr.ifremer.allegro.data.operation.generic.cluster.ClusterOperation)
protected abstract Operation handleCreateFromClusterOperation(ClusterOperation clusterOperation) throws java.lang.Exception
createFromClusterOperation(fr.ifremer.allegro.data.operation.generic.cluster.ClusterOperation)
java.lang.Exception
public ClusterOperation[] getAllClusterOperation(java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
getAllClusterOperation
in interface OperationDao
OperationDao.getAllClusterOperation(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected abstract ClusterOperation[] handleGetAllClusterOperation(java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize) throws java.lang.Exception
getAllClusterOperation(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
java.lang.Exception
protected java.lang.Object transformEntity(int transform, Operation entity)
transform
flag is set to one of the constants defined in fr.ifremer.allegro.data.operation.OperationDao
, please note
that the OperationDao.TRANSFORM_NONE
constant denotes no transformation, so the entity itself
will be returned.
This method will return instances of these types:
Operation
- OperationDao.TRANSFORM_NONE
RemoteOperationFullVO
- TRANSFORM_REMOTEOPERATIONFULLVO
RemoteOperationNaturalId
- TRANSFORM_REMOTEOPERATIONNATURALID
ClusterOperation
- TRANSFORM_CLUSTEROPERATION
OperationDao.TRANSFORM_NONE
is assumed.
transform
- one of the constants declared in OperationDao
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.data.operation.Operation)
method. This method does not instantiate a new collection.
This method is to be used internally only.
transform
- one of the constants declared in fr.ifremer.allegro.data.operation.OperationDao
entities
- the collection of entities to transformtransformEntity(int,fr.ifremer.allegro.data.operation.Operation)
protected Operation toEntity(java.lang.Object[] row)
public final void toRemoteOperationFullVOCollection(java.util.Collection entities)
OperationDao
RemoteOperationFullVO
.
toRemoteOperationFullVOCollection
in interface OperationDao
OperationDao.toRemoteOperationFullVOCollection(java.util.Collection)
public final RemoteOperationFullVO[] toRemoteOperationFullVOArray(java.util.Collection entities)
OperationDao
RemoteOperationFullVO
.
toRemoteOperationFullVOArray
in interface OperationDao
OperationDao.toRemoteOperationFullVOArray(java.util.Collection)
protected RemoteOperationFullVO toRemoteOperationFullVO(java.lang.Object[] row)
OperationDaoImpl
class if you intend to use reporting queries.
OperationDao.toRemoteOperationFullVO(fr.ifremer.allegro.data.operation.Operation)
public final void remoteOperationFullVOToEntityCollection(java.util.Collection instances)
OperationDao
RemoteOperationFullVO
to this
DAO's entity.
remoteOperationFullVOToEntityCollection
in interface OperationDao
OperationDao.remoteOperationFullVOToEntityCollection(java.util.Collection)
public void toRemoteOperationFullVO(Operation source, RemoteOperationFullVO target)
OperationDao
toRemoteOperationFullVO
in interface OperationDao
OperationDao.toRemoteOperationFullVO(fr.ifremer.allegro.data.operation.Operation, fr.ifremer.allegro.data.operation.generic.vo.RemoteOperationFullVO)
public RemoteOperationFullVO toRemoteOperationFullVO(Operation entity)
OperationDao
RemoteOperationFullVO
.
toRemoteOperationFullVO
in interface OperationDao
OperationDao.toRemoteOperationFullVO(fr.ifremer.allegro.data.operation.Operation)
public void remoteOperationFullVOToEntity(RemoteOperationFullVO source, Operation target, boolean copyIfNull)
OperationDao
RemoteOperationFullVO
to the specified entity.
remoteOperationFullVOToEntity
in interface OperationDao
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.data.operation.OperationDao#remoteOperationFullVOToEntity(fr.ifremer.allegro.data.operation.generic.vo.RemoteOperationFullVO, fr.ifremer.allegro.data.operation.Operation)
public final void toRemoteOperationNaturalIdCollection(java.util.Collection entities)
OperationDao
RemoteOperationNaturalId
.
toRemoteOperationNaturalIdCollection
in interface OperationDao
OperationDao.toRemoteOperationNaturalIdCollection(java.util.Collection)
public final RemoteOperationNaturalId[] toRemoteOperationNaturalIdArray(java.util.Collection entities)
OperationDao
RemoteOperationNaturalId
.
toRemoteOperationNaturalIdArray
in interface OperationDao
OperationDao.toRemoteOperationNaturalIdArray(java.util.Collection)
protected RemoteOperationNaturalId toRemoteOperationNaturalId(java.lang.Object[] row)
OperationDaoImpl
class if you intend to use reporting queries.
OperationDao.toRemoteOperationNaturalId(fr.ifremer.allegro.data.operation.Operation)
public final void remoteOperationNaturalIdToEntityCollection(java.util.Collection instances)
OperationDao
RemoteOperationNaturalId
to this
DAO's entity.
remoteOperationNaturalIdToEntityCollection
in interface OperationDao
OperationDao.remoteOperationNaturalIdToEntityCollection(java.util.Collection)
public void toRemoteOperationNaturalId(Operation source, RemoteOperationNaturalId target)
OperationDao
toRemoteOperationNaturalId
in interface OperationDao
OperationDao.toRemoteOperationNaturalId(fr.ifremer.allegro.data.operation.Operation, fr.ifremer.allegro.data.operation.generic.vo.RemoteOperationNaturalId)
public RemoteOperationNaturalId toRemoteOperationNaturalId(Operation entity)
OperationDao
RemoteOperationNaturalId
.
toRemoteOperationNaturalId
in interface OperationDao
OperationDao.toRemoteOperationNaturalId(fr.ifremer.allegro.data.operation.Operation)
public void remoteOperationNaturalIdToEntity(RemoteOperationNaturalId source, Operation target, boolean copyIfNull)
OperationDao
RemoteOperationNaturalId
to the specified entity.
remoteOperationNaturalIdToEntity
in interface OperationDao
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.data.operation.OperationDao#remoteOperationNaturalIdToEntity(fr.ifremer.allegro.data.operation.generic.vo.RemoteOperationNaturalId, fr.ifremer.allegro.data.operation.Operation)
public final void toClusterOperationCollection(java.util.Collection entities)
OperationDao
ClusterOperation
.
toClusterOperationCollection
in interface OperationDao
OperationDao.toClusterOperationCollection(java.util.Collection)
public final ClusterOperation[] toClusterOperationArray(java.util.Collection entities)
OperationDao
ClusterOperation
.
toClusterOperationArray
in interface OperationDao
OperationDao.toClusterOperationArray(java.util.Collection)
protected ClusterOperation toClusterOperation(java.lang.Object[] row)
OperationDaoImpl
class if you intend to use reporting queries.
OperationDao.toClusterOperation(fr.ifremer.allegro.data.operation.Operation)
public final void clusterOperationToEntityCollection(java.util.Collection instances)
OperationDao
ClusterOperation
to this
DAO's entity.
clusterOperationToEntityCollection
in interface OperationDao
OperationDao.clusterOperationToEntityCollection(java.util.Collection)
public void toClusterOperation(Operation source, ClusterOperation target)
OperationDao
toClusterOperation
in interface OperationDao
OperationDao.toClusterOperation(fr.ifremer.allegro.data.operation.Operation, fr.ifremer.allegro.data.operation.generic.cluster.ClusterOperation)
public ClusterOperation toClusterOperation(Operation entity)
OperationDao
ClusterOperation
.
toClusterOperation
in interface OperationDao
OperationDao.toClusterOperation(fr.ifremer.allegro.data.operation.Operation)
public void clusterOperationToEntity(ClusterOperation source, Operation target, boolean copyIfNull)
OperationDao
ClusterOperation
to the specified entity.
clusterOperationToEntity
in interface OperationDao
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.data.operation.OperationDao#clusterOperationToEntity(fr.ifremer.allegro.data.operation.generic.cluster.ClusterOperation, fr.ifremer.allegro.data.operation.Operation)
protected java.security.Principal getPrincipal()
principal
if one has been set,
otherwise returns null
.
public PaginationResult search(int transform, int pageNumber, int pageSize, Search search)
OperationDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface OperationDao
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.OperationDao.search(int, int, int, fr.ifremer.allegro.Search)
public PaginationResult search(int pageNumber, int pageSize, Search search)
OperationDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface OperationDao
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.OperationDao.search(int, int, fr.ifremer.allegro.Search)
public java.util.Set search(int transform, Search search)
OperationDao
OperationDao.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 OperationDao
transform
- the transformation flag.search
- the search object which provides the search parameters and pagination specification.
OperationDao.search(int, fr.ifremer.allegro.Search)
public java.util.Set search(Search search)
OperationDao
search
object.
search
in interface OperationDao
search
- the search object which provides the search parameters and pagination specification.
OperationDao.search(fr.ifremer.allegro.Search)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |