fr.ifremer.allegro.referential.regulation
Class FisheryDaoBase

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.referential.regulation.FisheryDaoBase
All Implemented Interfaces:
FisheryDao
Direct Known Subclasses:
FisheryDaoImpl

public abstract class FisheryDaoBase
extends org.springframework.orm.hibernate3.support.HibernateDaoSupport
implements FisheryDao

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

See Also:
Fishery

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.regulation.FisheryDao
TRANSFORM_CLUSTERFISHERY, TRANSFORM_NONE, TRANSFORM_REMOTEFISHERYFULLVO, TRANSFORM_REMOTEFISHERYNATURALID
 
Constructor Summary
FisheryDaoBase()
           
 
Method Summary
 void clusterFisheryToEntity(ClusterFishery source, Fishery target, boolean copyIfNull)
          Copies the fields of ClusterFishery to the specified entity.
 void clusterFisheryToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type ClusterFishery to this DAO's entity.
 java.util.Collection create(java.util.Collection entities)
          Creates a new instance of fr.ifremer.allegro.referential.regulation.Fishery and adds from the passed in entities collection
 Fishery create(Fishery fishery)
          Creates an instance of fr.ifremer.allegro.referential.regulation.Fishery and adds it to the persistent store.
 java.util.Collection create(int transform, java.util.Collection entities)
           Does the same thing as FisheryDao.create(fr.ifremer.allegro.referential.regulation.Fishery) with an additional flag called transform.
 java.lang.Object create(int transform, Fishery fishery)
           Does the same thing as FisheryDao.create(fr.ifremer.allegro.referential.regulation.Fishery) with an additional flag called transform.
 java.lang.Object create(int transform, java.lang.String name)
           Does the same thing as FisheryDao.create(java.lang.String) with an additional flag called transform.
 java.lang.Object create(int transform, java.lang.String name, java.sql.Timestamp updateDate, java.util.Collection corpus, TaxonGroup taxonGroup, Gear gear, FishingArea fishingArea)
           Does the same thing as FisheryDao.create(java.lang.String,java.sql.Timestamp,java.util.Collection,fr.ifremer.allegro.referential.taxon.TaxonGroup,fr.ifremer.allegro.referential.gear.Gear,fr.ifremer.allegro.data.fishingArea.FishingArea) with an additional flag called transform.
 Fishery create(java.lang.String name)
           Creates a new fr.ifremer.allegro.referential.regulation.Fishery instance from only required properties (attributes and association ends) and adds it to the persistent store.
 Fishery create(java.lang.String name, java.sql.Timestamp updateDate, java.util.Collection corpus, TaxonGroup taxonGroup, Gear gear, FishingArea fishingArea)
           Creates a new fr.ifremer.allegro.referential.regulation.Fishery instance from all attributes and properties and adds it to the persistent store.
 Fishery createFromClusterFishery(ClusterFishery clusterFishery)
           
 java.util.Collection findFisheryByFishingArea(FishingArea fishingArea)
           
 java.util.Collection findFisheryByFishingArea(int transform, FishingArea fishingArea)
           Does the same thing as FisheryDao.findFisheryByFishingArea(fr.ifremer.allegro.data.fishingArea.FishingArea) with an additional flag called transform.
 java.util.Collection findFisheryByFishingArea(int pageNumber, int pageSize, FishingArea fishingArea)
           Does the same thing as FisheryDao.findFisheryByFishingArea(fr.ifremer.allegro.data.fishingArea.FishingArea) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findFisheryByFishingArea(int transform, int pageNumber, int pageSize, FishingArea fishingArea)
           Does the same thing as FisheryDao.findFisheryByFishingArea(int, fr.ifremer.allegro.data.fishingArea.FishingArea) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findFisheryByFishingArea(int transform, java.lang.String queryString, FishingArea fishingArea)
           Does the same thing as FisheryDao.findFisheryByFishingArea(int, fr.ifremer.allegro.data.fishingArea.FishingArea) with an additional argument called queryString.
 java.util.Collection findFisheryByFishingArea(int transform, java.lang.String queryString, int pageNumber, int pageSize, FishingArea fishingArea)
           Does the same thing as FisheryDao.findFisheryByFishingArea(int, String, fr.ifremer.allegro.data.fishingArea.FishingArea) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findFisheryByFishingArea(java.lang.String queryString, FishingArea fishingArea)
           Does the same thing as FisheryDao.findFisheryByFishingArea(fr.ifremer.allegro.data.fishingArea.FishingArea) with an additional argument called queryString.
 java.util.Collection findFisheryByFishingArea(java.lang.String queryString, int pageNumber, int pageSize, FishingArea fishingArea)
           Does the same thing as FisheryDao.findFisheryByFishingArea(String, fr.ifremer.allegro.data.fishingArea.FishingArea) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findFisheryByGear(Gear gear)
           
 java.util.Collection findFisheryByGear(int transform, Gear gear)
           Does the same thing as FisheryDao.findFisheryByGear(fr.ifremer.allegro.referential.gear.Gear) with an additional flag called transform.
 java.util.Collection findFisheryByGear(int pageNumber, int pageSize, Gear gear)
           Does the same thing as FisheryDao.findFisheryByGear(fr.ifremer.allegro.referential.gear.Gear) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findFisheryByGear(int transform, int pageNumber, int pageSize, Gear gear)
           Does the same thing as FisheryDao.findFisheryByGear(int, fr.ifremer.allegro.referential.gear.Gear) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findFisheryByGear(int transform, java.lang.String queryString, Gear gear)
           Does the same thing as FisheryDao.findFisheryByGear(int, fr.ifremer.allegro.referential.gear.Gear) with an additional argument called queryString.
 java.util.Collection findFisheryByGear(int transform, java.lang.String queryString, int pageNumber, int pageSize, Gear gear)
           Does the same thing as FisheryDao.findFisheryByGear(int, String, fr.ifremer.allegro.referential.gear.Gear) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findFisheryByGear(java.lang.String queryString, Gear gear)
           Does the same thing as FisheryDao.findFisheryByGear(fr.ifremer.allegro.referential.gear.Gear) with an additional argument called queryString.
 java.util.Collection findFisheryByGear(java.lang.String queryString, int pageNumber, int pageSize, Gear gear)
           Does the same thing as FisheryDao.findFisheryByGear(String, fr.ifremer.allegro.referential.gear.Gear) with an additional two arguments called pageNumber and pageSize.
 Fishery findFisheryById(java.lang.Integer id)
           
 java.lang.Object findFisheryById(int transform, java.lang.Integer id)
           Does the same thing as FisheryDao.findFisheryById(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findFisheryById(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as FisheryDao.findFisheryById(int, java.lang.Integer) with an additional argument called queryString.
 Fishery findFisheryById(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as FisheryDao.findFisheryById(java.lang.Integer) with an additional argument called queryString.
 Fishery findFisheryByNaturalId(java.lang.Integer id)
           
 java.lang.Object findFisheryByNaturalId(int transform, java.lang.Integer id)
           Does the same thing as FisheryDao.findFisheryByNaturalId(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findFisheryByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as FisheryDao.findFisheryByNaturalId(int, java.lang.Integer) with an additional argument called queryString.
 Fishery findFisheryByNaturalId(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as FisheryDao.findFisheryByNaturalId(java.lang.Integer) with an additional argument called queryString.
 java.util.Collection findFisheryByTaxonGroup(int transform, int pageNumber, int pageSize, TaxonGroup taxonGroup)
           Does the same thing as FisheryDao.findFisheryByTaxonGroup(int, fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findFisheryByTaxonGroup(int pageNumber, int pageSize, TaxonGroup taxonGroup)
           Does the same thing as FisheryDao.findFisheryByTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findFisheryByTaxonGroup(int transform, java.lang.String queryString, int pageNumber, int pageSize, TaxonGroup taxonGroup)
           Does the same thing as FisheryDao.findFisheryByTaxonGroup(int, String, fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findFisheryByTaxonGroup(int transform, java.lang.String queryString, TaxonGroup taxonGroup)
           Does the same thing as FisheryDao.findFisheryByTaxonGroup(int, fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional argument called queryString.
 java.util.Collection findFisheryByTaxonGroup(int transform, TaxonGroup taxonGroup)
           Does the same thing as FisheryDao.findFisheryByTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional flag called transform.
 java.util.Collection findFisheryByTaxonGroup(java.lang.String queryString, int pageNumber, int pageSize, TaxonGroup taxonGroup)
           Does the same thing as FisheryDao.findFisheryByTaxonGroup(String, fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findFisheryByTaxonGroup(java.lang.String queryString, TaxonGroup taxonGroup)
           Does the same thing as FisheryDao.findFisheryByTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional argument called queryString.
 java.util.Collection findFisheryByTaxonGroup(TaxonGroup taxonGroup)
           
 ClusterFishery[] getAllClusterFisherySinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
 java.util.Collection getAllFishery()
           
 java.util.Collection getAllFishery(int transform)
           Does the same thing as FisheryDao.getAllFishery() with an additional flag called transform.
 java.util.Collection getAllFishery(int pageNumber, int pageSize)
           Does the same thing as FisheryDao.getAllFishery() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllFishery(int transform, int pageNumber, int pageSize)
           Does the same thing as FisheryDao.getAllFishery(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllFishery(int transform, java.lang.String queryString)
           Does the same thing as FisheryDao.getAllFishery(int) with an additional argument called queryString.
 java.util.Collection getAllFishery(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as FisheryDao.getAllFishery(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllFishery(java.lang.String queryString)
           Does the same thing as FisheryDao.getAllFishery() with an additional argument called queryString.
 java.util.Collection getAllFishery(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as FisheryDao.getAllFishery(String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllFisherySinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as FisheryDao.getAllFisherySinceDateSynchro(int, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllFisherySinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as FisheryDao.getAllFisherySinceDateSynchro(java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllFisherySinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as FisheryDao.getAllFisherySinceDateSynchro(int, String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllFisherySinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as FisheryDao.getAllFisherySinceDateSynchro(int, java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllFisherySinceDateSynchro(int transform, java.sql.Timestamp updateDate)
           Does the same thing as FisheryDao.getAllFisherySinceDateSynchro(java.sql.Timestamp) with an additional flag called transform.
 java.util.Collection getAllFisherySinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as FisheryDao.getAllFisherySinceDateSynchro(String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllFisherySinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as FisheryDao.getAllFisherySinceDateSynchro(java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllFisherySinceDateSynchro(java.sql.Timestamp updateDate)
           
protected  CorpusDao getCorpusDao()
          Gets the reference to corpusDao.
protected  FishingAreaDao getFishingAreaDao()
          Gets the reference to fishingAreaDao.
protected  GearDao getGearDao()
          Gets the reference to gearDao.
protected  java.security.Principal getPrincipal()
          Gets the current principal if one has been set, otherwise returns null.
protected  TaxonGroupDao getTaxonGroupDao()
          Gets the reference to taxonGroupDao.
protected abstract  Fishery handleCreateFromClusterFishery(ClusterFishery clusterFishery)
          Performs the core logic for createFromClusterFishery(fr.ifremer.allegro.referential.regulation.generic.cluster.ClusterFishery)
protected abstract  ClusterFishery[] handleGetAllClusterFisherySinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
          Performs the core logic for getAllClusterFisherySinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 Fishery load(java.lang.Integer id)
          Loads an instance of fr.ifremer.allegro.referential.regulation.Fishery from the persistent store.
 java.lang.Object load(int transform, java.lang.Integer id)
           Does the same thing as FisheryDao.load(java.lang.Integer) with an additional flag called transform.
 java.util.Collection loadAll()
          Loads all entities of type Fishery.
 java.util.Collection loadAll(int transform)
           Does the same thing as FisheryDao.loadAll() with an additional flag called transform.
 java.util.Collection loadAll(int pageNumber, int pageSize)
           Does the same thing as FisheryDao.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 FisheryDao.loadAll(int) with an additional two arguments called pageNumber and pageSize.
 void remoteFisheryFullVOToEntity(RemoteFisheryFullVO source, Fishery target, boolean copyIfNull)
          Copies the fields of RemoteFisheryFullVO to the specified entity.
 void remoteFisheryFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteFisheryFullVO to this DAO's entity.
 void remoteFisheryNaturalIdToEntity(RemoteFisheryNaturalId source, Fishery target, boolean copyIfNull)
          Copies the fields of RemoteFisheryNaturalId to the specified entity.
 void remoteFisheryNaturalIdToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteFisheryNaturalId to this DAO's entity.
 void remove(java.util.Collection entities)
          Removes all entities in the given entities collection.
 void remove(Fishery fishery)
          Removes the instance of fr.ifremer.allegro.referential.regulation.Fishery from the persistent store.
 void remove(java.lang.Integer id)
          Removes the instance of fr.ifremer.allegro.referential.regulation.Fishery 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 FisheryDao.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 setCorpusDao(CorpusDao corpusDao)
          Sets the reference to corpusDao.
 void setFishingAreaDao(FishingAreaDao fishingAreaDao)
          Sets the reference to fishingAreaDao.
 void setGearDao(GearDao gearDao)
          Sets the reference to gearDao.
 void setTaxonGroupDao(TaxonGroupDao taxonGroupDao)
          Sets the reference to taxonGroupDao.
 ClusterFishery toClusterFishery(Fishery entity)
          Converts this DAO's entity to an object of type ClusterFishery.
 void toClusterFishery(Fishery source, ClusterFishery target)
          Copies the fields of the specified entity to the target value object.
protected  ClusterFishery toClusterFishery(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 ClusterFishery[] toClusterFisheryArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type ClusterFishery.
 void toClusterFisheryCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type ClusterFishery.
protected  Fishery toEntity(java.lang.Object[] row)
           
 RemoteFisheryFullVO toRemoteFisheryFullVO(Fishery entity)
          Converts this DAO's entity to an object of type RemoteFisheryFullVO.
 void toRemoteFisheryFullVO(Fishery source, RemoteFisheryFullVO target)
          Copies the fields of the specified entity to the target value object.
protected  RemoteFisheryFullVO toRemoteFisheryFullVO(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteFisheryFullVO[] toRemoteFisheryFullVOArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteFisheryFullVO.
 void toRemoteFisheryFullVOCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteFisheryFullVO.
 RemoteFisheryNaturalId toRemoteFisheryNaturalId(Fishery entity)
          Converts this DAO's entity to an object of type RemoteFisheryNaturalId.
 void toRemoteFisheryNaturalId(Fishery source, RemoteFisheryNaturalId target)
          Copies the fields of the specified entity to the target value object.
protected  RemoteFisheryNaturalId toRemoteFisheryNaturalId(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteFisheryNaturalId[] toRemoteFisheryNaturalIdArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteFisheryNaturalId.
 void toRemoteFisheryNaturalIdCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteFisheryNaturalId.
protected  void transformEntities(int transform, java.util.Collection entities)
          Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.regulation.Fishery) method.
protected  java.lang.Object transformEntity(int transform, Fishery 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.regulation.FisheryDao, please note that the FisheryDao.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(Fishery fishery)
          Updates the fishery instance in the persistent store.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface fr.ifremer.allegro.referential.regulation.FisheryDao
clusterFisheryToEntity, remoteFisheryFullVOToEntity, remoteFisheryNaturalIdToEntity
 

Constructor Detail

FisheryDaoBase

public FisheryDaoBase()
Method Detail

setTaxonGroupDao

public void setTaxonGroupDao(TaxonGroupDao taxonGroupDao)
Sets the reference to taxonGroupDao.


getTaxonGroupDao

protected TaxonGroupDao getTaxonGroupDao()
Gets the reference to taxonGroupDao.


setGearDao

public void setGearDao(GearDao gearDao)
Sets the reference to gearDao.


getGearDao

protected GearDao getGearDao()
Gets the reference to gearDao.


setCorpusDao

public void setCorpusDao(CorpusDao corpusDao)
Sets the reference to corpusDao.


getCorpusDao

protected CorpusDao getCorpusDao()
Gets the reference to corpusDao.


setFishingAreaDao

public void setFishingAreaDao(FishingAreaDao fishingAreaDao)
Sets the reference to fishingAreaDao.


getFishingAreaDao

protected FishingAreaDao getFishingAreaDao()
Gets the reference to fishingAreaDao.


load

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

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

Specified by:
load in interface FisheryDao
id - identifier of the entity to load
Returns:
either the entity or the object transformed from the entity.
See Also:
FisheryDao.load(int, java.lang.Integer)

load

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

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

loadAll

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

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

loadAll

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

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

Specified by:
loadAll in interface FisheryDao
Parameters:
transform - the flag indicating what transformation to use.
Returns:
the loaded entities.
See Also:
FisheryDao.loadAll(int)

loadAll

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

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

Specified by:
loadAll in interface FisheryDao
Parameters:
pageNumber - the page number to retrieve when paging results.
pageSize - the size of the page to retrieve when paging results.
Returns:
the loaded entities.
See Also:
FisheryDao.loadAll(int, int)

loadAll

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

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

Specified by:
loadAll in interface FisheryDao
Parameters:
transform - the flag indicating what transformation to use.
pageNumber - the page number to retrieve when paging results.
pageSize - the size of the page to retrieve when paging results.
Returns:
the loaded entities.
See Also:
FisheryDao.loadAll(int, int, int)

create

public Fishery create(Fishery fishery)
Description copied from interface: FisheryDao
Creates an instance of fr.ifremer.allegro.referential.regulation.Fishery and adds it to the persistent store.

Specified by:
create in interface FisheryDao
See Also:
FisheryDao.create(fr.ifremer.allegro.referential.regulation.Fishery)

create

public java.lang.Object create(int transform,
                               Fishery fishery)
Description copied from interface: FisheryDao

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

Specified by:
create in interface FisheryDao
See Also:
FisheryDao.create(int transform, fr.ifremer.allegro.referential.regulation.Fishery)

create

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

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

create

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

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

Specified by:
create in interface FisheryDao
See Also:
FisheryDao.create(int, java.util.Collection)

create

public Fishery create(java.lang.String name,
                      java.sql.Timestamp updateDate,
                      java.util.Collection corpus,
                      TaxonGroup taxonGroup,
                      Gear gear,
                      FishingArea fishingArea)
Description copied from interface: FisheryDao

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

Specified by:
create in interface FisheryDao
See Also:
FisheryDao.create(java.lang.String,java.sql.Timestamp,java.util.Collection,fr.ifremer.allegro.referential.taxon.TaxonGroup,fr.ifremer.allegro.referential.gear.Gear,fr.ifremer.allegro.data.fishingArea.FishingArea)

create

public java.lang.Object create(int transform,
                               java.lang.String name,
                               java.sql.Timestamp updateDate,
                               java.util.Collection corpus,
                               TaxonGroup taxonGroup,
                               Gear gear,
                               FishingArea fishingArea)
Description copied from interface: FisheryDao

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

Specified by:
create in interface FisheryDao
See Also:
FisheryDao.create(int, java.lang.String,java.sql.Timestamp,java.util.Collection,fr.ifremer.allegro.referential.taxon.TaxonGroup,fr.ifremer.allegro.referential.gear.Gear,fr.ifremer.allegro.data.fishingArea.FishingArea)

create

public Fishery create(java.lang.String name)
Description copied from interface: FisheryDao

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

Specified by:
create in interface FisheryDao
See Also:
FisheryDao.create(java.lang.String)

create

public java.lang.Object create(int transform,
                               java.lang.String name)
Description copied from interface: FisheryDao

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

Specified by:
create in interface FisheryDao
See Also:
FisheryDao.create(int, java.lang.String)

update

public void update(Fishery fishery)
Description copied from interface: FisheryDao
Updates the fishery instance in the persistent store.

Specified by:
update in interface FisheryDao
See Also:
FisheryDao.update(fr.ifremer.allegro.referential.regulation.Fishery)

update

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

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

remove

public void remove(Fishery fishery)
Description copied from interface: FisheryDao
Removes the instance of fr.ifremer.allegro.referential.regulation.Fishery from the persistent store.

Specified by:
remove in interface FisheryDao
See Also:
FisheryDao.remove(fr.ifremer.allegro.referential.regulation.Fishery)

remove

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

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

remove

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

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

getAllFishery

public java.util.Collection getAllFishery()
Specified by:
getAllFishery in interface FisheryDao
See Also:
FisheryDao.getAllFishery()

getAllFishery

public java.util.Collection getAllFishery(int transform)
Description copied from interface: FisheryDao

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

Specified by:
getAllFishery in interface FisheryDao
See Also:
FisheryDao.getAllFishery(int)

getAllFishery

public java.util.Collection getAllFishery(java.lang.String queryString)
Description copied from interface: FisheryDao

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

Specified by:
getAllFishery in interface FisheryDao
See Also:
FisheryDao.getAllFishery(java.lang.String)

getAllFishery

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

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

Specified by:
getAllFishery in interface FisheryDao
See Also:
FisheryDao.getAllFishery(int, int)

getAllFishery

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

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

Specified by:
getAllFishery in interface FisheryDao
See Also:
FisheryDao.getAllFishery(String, int, int)

getAllFishery

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

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

Specified by:
getAllFishery in interface FisheryDao
See Also:
FisheryDao.getAllFishery(int, String)

getAllFishery

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

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

Specified by:
getAllFishery in interface FisheryDao
See Also:
FisheryDao.getAllFishery(int, int, int)

getAllFishery

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

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

Specified by:
getAllFishery in interface FisheryDao
See Also:
FisheryDao.getAllFishery(int, java.lang.String, int, int)

findFisheryById

public Fishery findFisheryById(java.lang.Integer id)
Specified by:
findFisheryById in interface FisheryDao
See Also:
FisheryDao.findFisheryById(java.lang.Integer)

findFisheryById

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

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

Specified by:
findFisheryById in interface FisheryDao
See Also:
FisheryDao.findFisheryById(int, java.lang.Integer)

findFisheryById

public Fishery findFisheryById(java.lang.String queryString,
                               java.lang.Integer id)
Description copied from interface: FisheryDao

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

Specified by:
findFisheryById in interface FisheryDao
See Also:
FisheryDao.findFisheryById(java.lang.String, java.lang.Integer)

findFisheryById

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

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

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

findFisheryByTaxonGroup

public java.util.Collection findFisheryByTaxonGroup(TaxonGroup taxonGroup)
Specified by:
findFisheryByTaxonGroup in interface FisheryDao
See Also:
FisheryDao.findFisheryByTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup)

findFisheryByTaxonGroup

public java.util.Collection findFisheryByTaxonGroup(int transform,
                                                    TaxonGroup taxonGroup)
Description copied from interface: FisheryDao

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

Specified by:
findFisheryByTaxonGroup in interface FisheryDao
See Also:
FisheryDao.findFisheryByTaxonGroup(int, fr.ifremer.allegro.referential.taxon.TaxonGroup)

findFisheryByTaxonGroup

public java.util.Collection findFisheryByTaxonGroup(java.lang.String queryString,
                                                    TaxonGroup taxonGroup)
Description copied from interface: FisheryDao

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

Specified by:
findFisheryByTaxonGroup in interface FisheryDao
See Also:
FisheryDao.findFisheryByTaxonGroup(java.lang.String, fr.ifremer.allegro.referential.taxon.TaxonGroup)

findFisheryByTaxonGroup

public java.util.Collection findFisheryByTaxonGroup(int pageNumber,
                                                    int pageSize,
                                                    TaxonGroup taxonGroup)
Description copied from interface: FisheryDao

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

Specified by:
findFisheryByTaxonGroup in interface FisheryDao
See Also:
FisheryDao.findFisheryByTaxonGroup(int, int, fr.ifremer.allegro.referential.taxon.TaxonGroup)

findFisheryByTaxonGroup

public java.util.Collection findFisheryByTaxonGroup(java.lang.String queryString,
                                                    int pageNumber,
                                                    int pageSize,
                                                    TaxonGroup taxonGroup)
Description copied from interface: FisheryDao

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

Specified by:
findFisheryByTaxonGroup in interface FisheryDao
See Also:
FisheryDao.findFisheryByTaxonGroup(String, int, int, fr.ifremer.allegro.referential.taxon.TaxonGroup)

findFisheryByTaxonGroup

public java.util.Collection findFisheryByTaxonGroup(int transform,
                                                    java.lang.String queryString,
                                                    TaxonGroup taxonGroup)
Description copied from interface: FisheryDao

Does the same thing as FisheryDao.findFisheryByTaxonGroup(int, fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional argument called queryString. This queryString argument allows you to override the query string defined in FisheryDao.findFisheryByTaxonGroup(int, fr.ifremer.allegro.referential.taxon.TaxonGroup taxonGroup).

Specified by:
findFisheryByTaxonGroup in interface FisheryDao
See Also:
FisheryDao.findFisheryByTaxonGroup(int, String, fr.ifremer.allegro.referential.taxon.TaxonGroup)

findFisheryByTaxonGroup

public java.util.Collection findFisheryByTaxonGroup(int transform,
                                                    int pageNumber,
                                                    int pageSize,
                                                    TaxonGroup taxonGroup)
Description copied from interface: FisheryDao

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

Specified by:
findFisheryByTaxonGroup in interface FisheryDao
See Also:
FisheryDao.findFisheryByTaxonGroup(int, int, int, fr.ifremer.allegro.referential.taxon.TaxonGroup)

findFisheryByTaxonGroup

public java.util.Collection findFisheryByTaxonGroup(int transform,
                                                    java.lang.String queryString,
                                                    int pageNumber,
                                                    int pageSize,
                                                    TaxonGroup taxonGroup)
Description copied from interface: FisheryDao

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

Specified by:
findFisheryByTaxonGroup in interface FisheryDao
See Also:
FisheryDao.findFisheryByTaxonGroup(int, java.lang.String, int, int, fr.ifremer.allegro.referential.taxon.TaxonGroup)

findFisheryByGear

public java.util.Collection findFisheryByGear(Gear gear)
Specified by:
findFisheryByGear in interface FisheryDao
See Also:
FisheryDao.findFisheryByGear(fr.ifremer.allegro.referential.gear.Gear)

findFisheryByGear

public java.util.Collection findFisheryByGear(int transform,
                                              Gear gear)
Description copied from interface: FisheryDao

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

Specified by:
findFisheryByGear in interface FisheryDao
See Also:
FisheryDao.findFisheryByGear(int, fr.ifremer.allegro.referential.gear.Gear)

findFisheryByGear

public java.util.Collection findFisheryByGear(java.lang.String queryString,
                                              Gear gear)
Description copied from interface: FisheryDao

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

Specified by:
findFisheryByGear in interface FisheryDao
See Also:
FisheryDao.findFisheryByGear(java.lang.String, fr.ifremer.allegro.referential.gear.Gear)

findFisheryByGear

public java.util.Collection findFisheryByGear(int pageNumber,
                                              int pageSize,
                                              Gear gear)
Description copied from interface: FisheryDao

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

Specified by:
findFisheryByGear in interface FisheryDao
See Also:
FisheryDao.findFisheryByGear(int, int, fr.ifremer.allegro.referential.gear.Gear)

findFisheryByGear

public java.util.Collection findFisheryByGear(java.lang.String queryString,
                                              int pageNumber,
                                              int pageSize,
                                              Gear gear)
Description copied from interface: FisheryDao

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

Specified by:
findFisheryByGear in interface FisheryDao
See Also:
FisheryDao.findFisheryByGear(String, int, int, fr.ifremer.allegro.referential.gear.Gear)

findFisheryByGear

public java.util.Collection findFisheryByGear(int transform,
                                              java.lang.String queryString,
                                              Gear gear)
Description copied from interface: FisheryDao

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

Specified by:
findFisheryByGear in interface FisheryDao
See Also:
FisheryDao.findFisheryByGear(int, String, fr.ifremer.allegro.referential.gear.Gear)

findFisheryByGear

public java.util.Collection findFisheryByGear(int transform,
                                              int pageNumber,
                                              int pageSize,
                                              Gear gear)
Description copied from interface: FisheryDao

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

Specified by:
findFisheryByGear in interface FisheryDao
See Also:
FisheryDao.findFisheryByGear(int, int, int, fr.ifremer.allegro.referential.gear.Gear)

findFisheryByGear

public java.util.Collection findFisheryByGear(int transform,
                                              java.lang.String queryString,
                                              int pageNumber,
                                              int pageSize,
                                              Gear gear)
Description copied from interface: FisheryDao

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

Specified by:
findFisheryByGear in interface FisheryDao
See Also:
FisheryDao.findFisheryByGear(int, java.lang.String, int, int, fr.ifremer.allegro.referential.gear.Gear)

findFisheryByFishingArea

public java.util.Collection findFisheryByFishingArea(FishingArea fishingArea)
Specified by:
findFisheryByFishingArea in interface FisheryDao
See Also:
FisheryDao.findFisheryByFishingArea(fr.ifremer.allegro.data.fishingArea.FishingArea)

findFisheryByFishingArea

public java.util.Collection findFisheryByFishingArea(int transform,
                                                     FishingArea fishingArea)
Description copied from interface: FisheryDao

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

Specified by:
findFisheryByFishingArea in interface FisheryDao
See Also:
FisheryDao.findFisheryByFishingArea(int, fr.ifremer.allegro.data.fishingArea.FishingArea)

findFisheryByFishingArea

public java.util.Collection findFisheryByFishingArea(java.lang.String queryString,
                                                     FishingArea fishingArea)
Description copied from interface: FisheryDao

Does the same thing as FisheryDao.findFisheryByFishingArea(fr.ifremer.allegro.data.fishingArea.FishingArea) with an additional argument called queryString. This queryString argument allows you to override the query string defined in FisheryDao.findFisheryByFishingArea(fr.ifremer.allegro.data.fishingArea.FishingArea).

Specified by:
findFisheryByFishingArea in interface FisheryDao
See Also:
FisheryDao.findFisheryByFishingArea(java.lang.String, fr.ifremer.allegro.data.fishingArea.FishingArea)

findFisheryByFishingArea

public java.util.Collection findFisheryByFishingArea(int pageNumber,
                                                     int pageSize,
                                                     FishingArea fishingArea)
Description copied from interface: FisheryDao

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

Specified by:
findFisheryByFishingArea in interface FisheryDao
See Also:
FisheryDao.findFisheryByFishingArea(int, int, fr.ifremer.allegro.data.fishingArea.FishingArea)

findFisheryByFishingArea

public java.util.Collection findFisheryByFishingArea(java.lang.String queryString,
                                                     int pageNumber,
                                                     int pageSize,
                                                     FishingArea fishingArea)
Description copied from interface: FisheryDao

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

Specified by:
findFisheryByFishingArea in interface FisheryDao
See Also:
FisheryDao.findFisheryByFishingArea(String, int, int, fr.ifremer.allegro.data.fishingArea.FishingArea)

findFisheryByFishingArea

public java.util.Collection findFisheryByFishingArea(int transform,
                                                     java.lang.String queryString,
                                                     FishingArea fishingArea)
Description copied from interface: FisheryDao

Does the same thing as FisheryDao.findFisheryByFishingArea(int, fr.ifremer.allegro.data.fishingArea.FishingArea) with an additional argument called queryString. This queryString argument allows you to override the query string defined in FisheryDao.findFisheryByFishingArea(int, fr.ifremer.allegro.data.fishingArea.FishingArea fishingArea).

Specified by:
findFisheryByFishingArea in interface FisheryDao
See Also:
FisheryDao.findFisheryByFishingArea(int, String, fr.ifremer.allegro.data.fishingArea.FishingArea)

findFisheryByFishingArea

public java.util.Collection findFisheryByFishingArea(int transform,
                                                     int pageNumber,
                                                     int pageSize,
                                                     FishingArea fishingArea)
Description copied from interface: FisheryDao

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

Specified by:
findFisheryByFishingArea in interface FisheryDao
See Also:
FisheryDao.findFisheryByFishingArea(int, int, int, fr.ifremer.allegro.data.fishingArea.FishingArea)

findFisheryByFishingArea

public java.util.Collection findFisheryByFishingArea(int transform,
                                                     java.lang.String queryString,
                                                     int pageNumber,
                                                     int pageSize,
                                                     FishingArea fishingArea)
Description copied from interface: FisheryDao

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

Specified by:
findFisheryByFishingArea in interface FisheryDao
See Also:
FisheryDao.findFisheryByFishingArea(int, java.lang.String, int, int, fr.ifremer.allegro.data.fishingArea.FishingArea)

findFisheryByNaturalId

public Fishery findFisheryByNaturalId(java.lang.Integer id)
Specified by:
findFisheryByNaturalId in interface FisheryDao
See Also:
FisheryDao.findFisheryByNaturalId(java.lang.Integer)

findFisheryByNaturalId

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

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

Specified by:
findFisheryByNaturalId in interface FisheryDao
See Also:
FisheryDao.findFisheryByNaturalId(int, java.lang.Integer)

findFisheryByNaturalId

public Fishery findFisheryByNaturalId(java.lang.String queryString,
                                      java.lang.Integer id)
Description copied from interface: FisheryDao

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

Specified by:
findFisheryByNaturalId in interface FisheryDao
See Also:
FisheryDao.findFisheryByNaturalId(java.lang.String, java.lang.Integer)

findFisheryByNaturalId

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

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

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

getAllFisherySinceDateSynchro

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

getAllFisherySinceDateSynchro

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

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

Specified by:
getAllFisherySinceDateSynchro in interface FisheryDao
See Also:
FisheryDao.getAllFisherySinceDateSynchro(int, java.sql.Timestamp)

getAllFisherySinceDateSynchro

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

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

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

getAllFisherySinceDateSynchro

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

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

Specified by:
getAllFisherySinceDateSynchro in interface FisheryDao
See Also:
FisheryDao.getAllFisherySinceDateSynchro(int, int, java.sql.Timestamp)

getAllFisherySinceDateSynchro

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

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

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

getAllFisherySinceDateSynchro

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

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

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

getAllFisherySinceDateSynchro

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

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

Specified by:
getAllFisherySinceDateSynchro in interface FisheryDao
See Also:
FisheryDao.getAllFisherySinceDateSynchro(int, int, int, java.sql.Timestamp)

getAllFisherySinceDateSynchro

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

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

Specified by:
getAllFisherySinceDateSynchro in interface FisheryDao
See Also:
FisheryDao.getAllFisherySinceDateSynchro(int, java.lang.String, int, int, java.sql.Timestamp)

createFromClusterFishery

public Fishery createFromClusterFishery(ClusterFishery clusterFishery)
Specified by:
createFromClusterFishery in interface FisheryDao
See Also:
FisheryDao.createFromClusterFishery(fr.ifremer.allegro.referential.regulation.generic.cluster.ClusterFishery)

handleCreateFromClusterFishery

protected abstract Fishery handleCreateFromClusterFishery(ClusterFishery clusterFishery)
                                                   throws java.lang.Exception
Performs the core logic for createFromClusterFishery(fr.ifremer.allegro.referential.regulation.generic.cluster.ClusterFishery)

Throws:
java.lang.Exception

getAllClusterFisherySinceDateSynchro

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

handleGetAllClusterFisherySinceDateSynchro

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

Throws:
java.lang.Exception

transformEntity

protected java.lang.Object transformEntity(int transform,
                                           Fishery 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.regulation.FisheryDao, please note that the FisheryDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself will be returned.

This method will return instances of these types:

If the integer argument value is unknown FisheryDao.TRANSFORM_NONE is assumed.

Parameters:
transform - one of the constants declared in FisheryDao
entity - an entity that was found
Returns:
the transformed entity (i.e. new value object, etc)
See Also:
transformEntities(int,java.util.Collection)

transformEntities

protected void transformEntities(int transform,
                                 java.util.Collection entities)
Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.regulation.Fishery) method. This method does not instantiate a new collection.

This method is to be used internally only.

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

toEntity

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

toRemoteFisheryFullVOCollection

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

Specified by:
toRemoteFisheryFullVOCollection in interface FisheryDao
See Also:
FisheryDao.toRemoteFisheryFullVOCollection(java.util.Collection)

toRemoteFisheryFullVOArray

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

Specified by:
toRemoteFisheryFullVOArray in interface FisheryDao
See Also:
FisheryDao.toRemoteFisheryFullVOArray(java.util.Collection)

toRemoteFisheryFullVO

protected RemoteFisheryFullVO toRemoteFisheryFullVO(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. This implementation exists for convenience reasons only. It needs only be overridden in the FisheryDaoImpl class if you intend to use reporting queries.

See Also:
FisheryDao.toRemoteFisheryFullVO(fr.ifremer.allegro.referential.regulation.Fishery)

remoteFisheryFullVOToEntityCollection

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

Specified by:
remoteFisheryFullVOToEntityCollection in interface FisheryDao
See Also:
FisheryDao.remoteFisheryFullVOToEntityCollection(java.util.Collection)

toRemoteFisheryFullVO

public void toRemoteFisheryFullVO(Fishery source,
                                  RemoteFisheryFullVO target)
Description copied from interface: FisheryDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteFisheryFullVO(), but it does not handle any attributes in the target value object that are "read-only" (as those do not have setter methods exposed).

Specified by:
toRemoteFisheryFullVO in interface FisheryDao
See Also:
FisheryDao.toRemoteFisheryFullVO(fr.ifremer.allegro.referential.regulation.Fishery, fr.ifremer.allegro.referential.regulation.generic.vo.RemoteFisheryFullVO)

toRemoteFisheryFullVO

public RemoteFisheryFullVO toRemoteFisheryFullVO(Fishery entity)
Description copied from interface: FisheryDao
Converts this DAO's entity to an object of type RemoteFisheryFullVO.

Specified by:
toRemoteFisheryFullVO in interface FisheryDao
See Also:
FisheryDao.toRemoteFisheryFullVO(fr.ifremer.allegro.referential.regulation.Fishery)

remoteFisheryFullVOToEntity

public void remoteFisheryFullVOToEntity(RemoteFisheryFullVO source,
                                        Fishery target,
                                        boolean copyIfNull)
Description copied from interface: FisheryDao
Copies the fields of RemoteFisheryFullVO to the specified entity.

Specified by:
remoteFisheryFullVOToEntity in interface FisheryDao
copyIfNull - If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE, it will be copied regardless of its value.
See Also:
fr.ifremer.allegro.referential.regulation.FisheryDao#remoteFisheryFullVOToEntity(fr.ifremer.allegro.referential.regulation.generic.vo.RemoteFisheryFullVO, fr.ifremer.allegro.referential.regulation.Fishery)

toRemoteFisheryNaturalIdCollection

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

Specified by:
toRemoteFisheryNaturalIdCollection in interface FisheryDao
See Also:
FisheryDao.toRemoteFisheryNaturalIdCollection(java.util.Collection)

toRemoteFisheryNaturalIdArray

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

Specified by:
toRemoteFisheryNaturalIdArray in interface FisheryDao
See Also:
FisheryDao.toRemoteFisheryNaturalIdArray(java.util.Collection)

toRemoteFisheryNaturalId

protected RemoteFisheryNaturalId toRemoteFisheryNaturalId(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. This implementation exists for convenience reasons only. It needs only be overridden in the FisheryDaoImpl class if you intend to use reporting queries.

See Also:
FisheryDao.toRemoteFisheryNaturalId(fr.ifremer.allegro.referential.regulation.Fishery)

remoteFisheryNaturalIdToEntityCollection

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

Specified by:
remoteFisheryNaturalIdToEntityCollection in interface FisheryDao
See Also:
FisheryDao.remoteFisheryNaturalIdToEntityCollection(java.util.Collection)

toRemoteFisheryNaturalId

public void toRemoteFisheryNaturalId(Fishery source,
                                     RemoteFisheryNaturalId target)
Description copied from interface: FisheryDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteFisheryNaturalId(), but it does not handle any attributes in the target value object that are "read-only" (as those do not have setter methods exposed).

Specified by:
toRemoteFisheryNaturalId in interface FisheryDao
See Also:
FisheryDao.toRemoteFisheryNaturalId(fr.ifremer.allegro.referential.regulation.Fishery, fr.ifremer.allegro.referential.regulation.generic.vo.RemoteFisheryNaturalId)

toRemoteFisheryNaturalId

public RemoteFisheryNaturalId toRemoteFisheryNaturalId(Fishery entity)
Description copied from interface: FisheryDao
Converts this DAO's entity to an object of type RemoteFisheryNaturalId.

Specified by:
toRemoteFisheryNaturalId in interface FisheryDao
See Also:
FisheryDao.toRemoteFisheryNaturalId(fr.ifremer.allegro.referential.regulation.Fishery)

remoteFisheryNaturalIdToEntity

public void remoteFisheryNaturalIdToEntity(RemoteFisheryNaturalId source,
                                           Fishery target,
                                           boolean copyIfNull)
Description copied from interface: FisheryDao
Copies the fields of RemoteFisheryNaturalId to the specified entity.

Specified by:
remoteFisheryNaturalIdToEntity in interface FisheryDao
copyIfNull - If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE, it will be copied regardless of its value.
See Also:
fr.ifremer.allegro.referential.regulation.FisheryDao#remoteFisheryNaturalIdToEntity(fr.ifremer.allegro.referential.regulation.generic.vo.RemoteFisheryNaturalId, fr.ifremer.allegro.referential.regulation.Fishery)

toClusterFisheryCollection

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

Specified by:
toClusterFisheryCollection in interface FisheryDao
See Also:
FisheryDao.toClusterFisheryCollection(java.util.Collection)

toClusterFisheryArray

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

Specified by:
toClusterFisheryArray in interface FisheryDao
See Also:
FisheryDao.toClusterFisheryArray(java.util.Collection)

toClusterFishery

protected ClusterFishery toClusterFishery(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. This implementation exists for convenience reasons only. It needs only be overridden in the FisheryDaoImpl class if you intend to use reporting queries.

See Also:
FisheryDao.toClusterFishery(fr.ifremer.allegro.referential.regulation.Fishery)

clusterFisheryToEntityCollection

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

Specified by:
clusterFisheryToEntityCollection in interface FisheryDao
See Also:
FisheryDao.clusterFisheryToEntityCollection(java.util.Collection)

toClusterFishery

public void toClusterFishery(Fishery source,
                             ClusterFishery target)
Description copied from interface: FisheryDao
Copies the fields of the specified entity to the target value object. This method is similar to toClusterFishery(), but it does not handle any attributes in the target value object that are "read-only" (as those do not have setter methods exposed).

Specified by:
toClusterFishery in interface FisheryDao
See Also:
FisheryDao.toClusterFishery(fr.ifremer.allegro.referential.regulation.Fishery, fr.ifremer.allegro.referential.regulation.generic.cluster.ClusterFishery)

toClusterFishery

public ClusterFishery toClusterFishery(Fishery entity)
Description copied from interface: FisheryDao
Converts this DAO's entity to an object of type ClusterFishery.

Specified by:
toClusterFishery in interface FisheryDao
See Also:
FisheryDao.toClusterFishery(fr.ifremer.allegro.referential.regulation.Fishery)

clusterFisheryToEntity

public void clusterFisheryToEntity(ClusterFishery source,
                                   Fishery target,
                                   boolean copyIfNull)
Description copied from interface: FisheryDao
Copies the fields of ClusterFishery to the specified entity.

Specified by:
clusterFisheryToEntity in interface FisheryDao
copyIfNull - If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE, it will be copied regardless of its value.
See Also:
fr.ifremer.allegro.referential.regulation.FisheryDao#clusterFisheryToEntity(fr.ifremer.allegro.referential.regulation.generic.cluster.ClusterFishery, fr.ifremer.allegro.referential.regulation.Fishery)

getPrincipal

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

Returns:
the current principal

search

public PaginationResult search(int transform,
                               int pageNumber,
                               int pageSize,
                               Search search)
Description copied from interface: FisheryDao
Does the same thing as {@link #search(int, fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize. These flags allow you to limit your data to a specified page number and size.

Specified by:
search in interface FisheryDao
Parameters:
transform - the transformation flag.
pageNumber - the page number in the data to retrieve
pageSize - the size of the page to retrieve.
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search wrapped in a PaginationResult instance.
See Also:
FisheryDao.search(int, int, int, fr.ifremer.allegro.Search)

search

public PaginationResult search(int pageNumber,
                               int pageSize,
                               Search search)
Description copied from interface: FisheryDao
Does the same thing as {@link #search(fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize. These flags allow you to limit your data to a specified page number and size.

Specified by:
search in interface FisheryDao
Parameters:
pageNumber - the page number in the data to retrieve
pageSize - the size of the page to retrieve.
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search wrapped in a PaginationResult instance.
See Also:
FisheryDao.search(int, int, fr.ifremer.allegro.Search)

search

public java.util.Set search(int transform,
                            Search search)
Description copied from interface: FisheryDao
Does the same thing as FisheryDao.search(fr.ifremer.allegro.Search) but with an additional flag called transform. If this flag is set to TRANSFORM_NONE then finder results will NOT be transformed during retrieval. If this flag is any of the other constants defined here then results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.

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

search

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

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


Copyright © 2008-2010 IFREMER. All Rights Reserved.