fr.ifremer.allegro.referential.metier
Class FishingMetierDaoBase

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.referential.metier.MetierDaoBase
          extended by fr.ifremer.allegro.referential.metier.MetierDaoImpl
              extended by fr.ifremer.allegro.referential.metier.FishingMetierDaoBase
All Implemented Interfaces:
FishingMetierDao, MetierDao
Direct Known Subclasses:
FishingMetierDaoImpl

public abstract class FishingMetierDaoBase
extends MetierDaoImpl
implements FishingMetierDao

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

See Also:
FishingMetier

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.metier.FishingMetierDao
TRANSFORM_CLUSTERFISHINGMETIER, TRANSFORM_REMOTEFISHINGMETIERFULLVO, TRANSFORM_REMOTEFISHINGMETIERNATURALID
 
Fields inherited from interface fr.ifremer.allegro.referential.metier.MetierDao
TRANSFORM_CLUSTERMETIER, TRANSFORM_NONE, TRANSFORM_REMOTEMETIERFULLVO, TRANSFORM_REMOTEMETIERNATURALID
 
Constructor Summary
FishingMetierDaoBase()
           
 
Method Summary
 void clusterFishingMetierToEntity(ClusterFishingMetier source, FishingMetier target, boolean copyIfNull)
          Copies the fields of ClusterFishingMetier to the specified entity.
 void clusterFishingMetierToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type ClusterFishingMetier to this DAO's entity.
 java.util.Collection create(java.util.Collection entities)
          Creates a new instance of fr.ifremer.allegro.referential.metier.Metier and adds from the passed in entities collection
 FishingMetier create(FishingMetier fishingMetier)
          Creates an instance of fr.ifremer.allegro.referential.metier.FishingMetier and adds it to the persistent store.
 java.util.Collection create(int transform, java.util.Collection entities)
           Does the same thing as MetierDao.create(fr.ifremer.allegro.referential.metier.Metier) with an additional flag called transform.
 java.lang.Object create(int transform, FishingMetier fishingMetier)
           Does the same thing as FishingMetierDao.create(fr.ifremer.allegro.referential.metier.FishingMetier) with an additional flag called transform.
 java.lang.Object create(int transform, java.lang.String name, Status status, TaxonGroup taxonGroup)
           Does the same thing as FishingMetierDao.create(java.lang.String,fr.ifremer.allegro.referential.Status,fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional flag called transform.
 java.lang.Object create(int transform, java.lang.String label, java.lang.String name, java.lang.String description, java.sql.Timestamp updateDate, Status status, TaxonGroup taxonGroup, Gear gear)
           Does the same thing as FishingMetierDao.create(java.lang.String,java.lang.String,java.lang.String,java.sql.Timestamp,fr.ifremer.allegro.referential.Status,fr.ifremer.allegro.referential.taxon.TaxonGroup,fr.ifremer.allegro.referential.gear.Gear) with an additional flag called transform.
 FishingMetier create(java.lang.String name, Status status, TaxonGroup taxonGroup)
           Creates a new fr.ifremer.allegro.referential.metier.FishingMetier instance from only required properties (attributes and association ends) and adds it to the persistent store.
 FishingMetier create(java.lang.String label, java.lang.String name, java.lang.String description, java.sql.Timestamp updateDate, Status status, TaxonGroup taxonGroup, Gear gear)
           Creates a new fr.ifremer.allegro.referential.metier.FishingMetier instance from all attributes and properties and adds it to the persistent store.
 FishingMetier createFromClusterFishingMetier(ClusterFishingMetier clusterFishingMetier)
           
 java.util.Collection findFishingMetierByGear(Gear gear)
           
 java.util.Collection findFishingMetierByGear(int transform, Gear gear)
           Does the same thing as FishingMetierDao.findFishingMetierByGear(fr.ifremer.allegro.referential.gear.Gear) with an additional flag called transform.
 java.util.Collection findFishingMetierByGear(int pageNumber, int pageSize, Gear gear)
           Does the same thing as FishingMetierDao.findFishingMetierByGear(fr.ifremer.allegro.referential.gear.Gear) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findFishingMetierByGear(int transform, int pageNumber, int pageSize, Gear gear)
           Does the same thing as FishingMetierDao.findFishingMetierByGear(int, fr.ifremer.allegro.referential.gear.Gear) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findFishingMetierByGear(int transform, java.lang.String queryString, Gear gear)
           Does the same thing as FishingMetierDao.findFishingMetierByGear(int, fr.ifremer.allegro.referential.gear.Gear) with an additional argument called queryString.
 java.util.Collection findFishingMetierByGear(int transform, java.lang.String queryString, int pageNumber, int pageSize, Gear gear)
           Does the same thing as FishingMetierDao.findFishingMetierByGear(int, String, fr.ifremer.allegro.referential.gear.Gear) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findFishingMetierByGear(java.lang.String queryString, Gear gear)
           Does the same thing as FishingMetierDao.findFishingMetierByGear(fr.ifremer.allegro.referential.gear.Gear) with an additional argument called queryString.
 java.util.Collection findFishingMetierByGear(java.lang.String queryString, int pageNumber, int pageSize, Gear gear)
           Does the same thing as FishingMetierDao.findFishingMetierByGear(String, fr.ifremer.allegro.referential.gear.Gear) with an additional two arguments called pageNumber and pageSize.
 FishingMetier findFishingMetierById(java.lang.Integer id)
           
 java.lang.Object findFishingMetierById(int transform, java.lang.Integer id)
           Does the same thing as FishingMetierDao.findFishingMetierById(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findFishingMetierById(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as FishingMetierDao.findFishingMetierById(int, java.lang.Integer) with an additional argument called queryString.
 FishingMetier findFishingMetierById(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as FishingMetierDao.findFishingMetierById(java.lang.Integer) with an additional argument called queryString.
 FishingMetier findFishingMetierByNaturalId(java.lang.Integer id)
           
 java.lang.Object findFishingMetierByNaturalId(int transform, java.lang.Integer id)
           Does the same thing as FishingMetierDao.findFishingMetierByNaturalId(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findFishingMetierByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as FishingMetierDao.findFishingMetierByNaturalId(int, java.lang.Integer) with an additional argument called queryString.
 FishingMetier findFishingMetierByNaturalId(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as FishingMetierDao.findFishingMetierByNaturalId(java.lang.Integer) with an additional argument called queryString.
 java.util.Collection findFishingMetierByStatus(int transform, int pageNumber, int pageSize, Status status)
           Does the same thing as FishingMetierDao.findFishingMetierByStatus(int, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findFishingMetierByStatus(int pageNumber, int pageSize, Status status)
           Does the same thing as FishingMetierDao.findFishingMetierByStatus(fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findFishingMetierByStatus(int transform, Status status)
           Does the same thing as FishingMetierDao.findFishingMetierByStatus(fr.ifremer.allegro.referential.Status) with an additional flag called transform.
 java.util.Collection findFishingMetierByStatus(int transform, java.lang.String queryString, int pageNumber, int pageSize, Status status)
           Does the same thing as FishingMetierDao.findFishingMetierByStatus(int, String, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findFishingMetierByStatus(int transform, java.lang.String queryString, Status status)
           Does the same thing as FishingMetierDao.findFishingMetierByStatus(int, fr.ifremer.allegro.referential.Status) with an additional argument called queryString.
 java.util.Collection findFishingMetierByStatus(Status status)
           
 java.util.Collection findFishingMetierByStatus(java.lang.String queryString, int pageNumber, int pageSize, Status status)
           Does the same thing as FishingMetierDao.findFishingMetierByStatus(String, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findFishingMetierByStatus(java.lang.String queryString, Status status)
           Does the same thing as FishingMetierDao.findFishingMetierByStatus(fr.ifremer.allegro.referential.Status) with an additional argument called queryString.
 java.util.Collection findFishingMetierByTaxonGroup(int transform, int pageNumber, int pageSize, TaxonGroup taxonGroup)
           Does the same thing as FishingMetierDao.findFishingMetierByTaxonGroup(int, fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findFishingMetierByTaxonGroup(int pageNumber, int pageSize, TaxonGroup taxonGroup)
           Does the same thing as FishingMetierDao.findFishingMetierByTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findFishingMetierByTaxonGroup(int transform, java.lang.String queryString, int pageNumber, int pageSize, TaxonGroup taxonGroup)
           Does the same thing as FishingMetierDao.findFishingMetierByTaxonGroup(int, String, fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findFishingMetierByTaxonGroup(int transform, java.lang.String queryString, TaxonGroup taxonGroup)
           Does the same thing as FishingMetierDao.findFishingMetierByTaxonGroup(int, fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional argument called queryString.
 java.util.Collection findFishingMetierByTaxonGroup(int transform, TaxonGroup taxonGroup)
           Does the same thing as FishingMetierDao.findFishingMetierByTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional flag called transform.
 java.util.Collection findFishingMetierByTaxonGroup(java.lang.String queryString, int pageNumber, int pageSize, TaxonGroup taxonGroup)
           Does the same thing as FishingMetierDao.findFishingMetierByTaxonGroup(String, fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findFishingMetierByTaxonGroup(java.lang.String queryString, TaxonGroup taxonGroup)
           Does the same thing as FishingMetierDao.findFishingMetierByTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional argument called queryString.
 java.util.Collection findFishingMetierByTaxonGroup(TaxonGroup taxonGroup)
           
 Metier findMetierById(java.lang.Integer id)
           
 java.lang.Object findMetierById(int transform, java.lang.Integer id)
           Does the same thing as MetierDao.findMetierById(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findMetierById(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as MetierDao.findMetierById(int, java.lang.Integer) with an additional argument called queryString.
 Metier findMetierById(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as MetierDao.findMetierById(java.lang.Integer) with an additional argument called queryString.
 Metier findMetierByNaturalId(java.lang.Integer id)
           
 java.lang.Object findMetierByNaturalId(int transform, java.lang.Integer id)
           Does the same thing as MetierDao.findMetierByNaturalId(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findMetierByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as MetierDao.findMetierByNaturalId(int, java.lang.Integer) with an additional argument called queryString.
 Metier findMetierByNaturalId(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as MetierDao.findMetierByNaturalId(java.lang.Integer) with an additional argument called queryString.
 java.util.Collection findMetierByStatus(int transform, int pageNumber, int pageSize, Status status)
           Does the same thing as MetierDao.findMetierByStatus(int, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findMetierByStatus(int pageNumber, int pageSize, Status status)
           Does the same thing as MetierDao.findMetierByStatus(fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findMetierByStatus(int transform, Status status)
           Does the same thing as MetierDao.findMetierByStatus(fr.ifremer.allegro.referential.Status) with an additional flag called transform.
 java.util.Collection findMetierByStatus(int transform, java.lang.String queryString, int pageNumber, int pageSize, Status status)
           Does the same thing as MetierDao.findMetierByStatus(int, String, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findMetierByStatus(int transform, java.lang.String queryString, Status status)
           Does the same thing as MetierDao.findMetierByStatus(int, fr.ifremer.allegro.referential.Status) with an additional argument called queryString.
 java.util.Collection findMetierByStatus(Status status)
           
 java.util.Collection findMetierByStatus(java.lang.String queryString, int pageNumber, int pageSize, Status status)
           Does the same thing as MetierDao.findMetierByStatus(String, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findMetierByStatus(java.lang.String queryString, Status status)
           Does the same thing as MetierDao.findMetierByStatus(fr.ifremer.allegro.referential.Status) with an additional argument called queryString.
 ClusterFishingMetier[] getAllClusterFishingMetierSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
 java.util.Collection getAllFishingMetier()
           
 java.util.Collection getAllFishingMetier(int transform)
           Does the same thing as FishingMetierDao.getAllFishingMetier() with an additional flag called transform.
 java.util.Collection getAllFishingMetier(int pageNumber, int pageSize)
           Does the same thing as FishingMetierDao.getAllFishingMetier() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllFishingMetier(int transform, int pageNumber, int pageSize)
           Does the same thing as FishingMetierDao.getAllFishingMetier(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllFishingMetier(int transform, java.lang.String queryString)
           Does the same thing as FishingMetierDao.getAllFishingMetier(int) with an additional argument called queryString.
 java.util.Collection getAllFishingMetier(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as FishingMetierDao.getAllFishingMetier(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllFishingMetier(java.lang.String queryString)
           Does the same thing as FishingMetierDao.getAllFishingMetier() with an additional argument called queryString.
 java.util.Collection getAllFishingMetier(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as FishingMetierDao.getAllFishingMetier(String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllFishingMetierSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as FishingMetierDao.getAllFishingMetierSinceDateSynchro(int, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllFishingMetierSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as FishingMetierDao.getAllFishingMetierSinceDateSynchro(java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllFishingMetierSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as FishingMetierDao.getAllFishingMetierSinceDateSynchro(int, String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllFishingMetierSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as FishingMetierDao.getAllFishingMetierSinceDateSynchro(int, java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllFishingMetierSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
           Does the same thing as FishingMetierDao.getAllFishingMetierSinceDateSynchro(java.sql.Timestamp) with an additional flag called transform.
 java.util.Collection getAllFishingMetierSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as FishingMetierDao.getAllFishingMetierSinceDateSynchro(String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllFishingMetierSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as FishingMetierDao.getAllFishingMetierSinceDateSynchro(java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllFishingMetierSinceDateSynchro(java.sql.Timestamp updateDate)
           
 java.util.Collection getAllMetier()
           
 java.util.Collection getAllMetier(int transform)
           Does the same thing as MetierDao.getAllMetier() with an additional flag called transform.
 java.util.Collection getAllMetier(int pageNumber, int pageSize)
           Does the same thing as MetierDao.getAllMetier() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllMetier(int transform, int pageNumber, int pageSize)
           Does the same thing as MetierDao.getAllMetier(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllMetier(int transform, java.lang.String queryString)
           Does the same thing as MetierDao.getAllMetier(int) with an additional argument called queryString.
 java.util.Collection getAllMetier(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as MetierDao.getAllMetier(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllMetier(java.lang.String queryString)
           Does the same thing as MetierDao.getAllMetier() with an additional argument called queryString.
 java.util.Collection getAllMetier(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as MetierDao.getAllMetier(String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllMetierSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as MetierDao.getAllMetierSinceDateSynchro(int, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllMetierSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as MetierDao.getAllMetierSinceDateSynchro(java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllMetierSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as MetierDao.getAllMetierSinceDateSynchro(int, String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllMetierSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as MetierDao.getAllMetierSinceDateSynchro(int, java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllMetierSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
           Does the same thing as MetierDao.getAllMetierSinceDateSynchro(java.sql.Timestamp) with an additional flag called transform.
 java.util.Collection getAllMetierSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as MetierDao.getAllMetierSinceDateSynchro(String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllMetierSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as MetierDao.getAllMetierSinceDateSynchro(java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllMetierSinceDateSynchro(java.sql.Timestamp updateDate)
           
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  FishingMetier handleCreateFromClusterFishingMetier(ClusterFishingMetier clusterFishingMetier)
          Performs the core logic for createFromClusterFishingMetier(fr.ifremer.allegro.referential.metier.generic.cluster.ClusterFishingMetier)
protected abstract  ClusterFishingMetier[] handleGetAllClusterFishingMetierSinceDateSynchro(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 getAllClusterFishingMetierSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 FishingMetier load(java.lang.Integer id)
          Loads an instance of fr.ifremer.allegro.referential.metier.Metier from the persistent store.
 java.lang.Object load(int transform, java.lang.Integer id)
           Does the same thing as MetierDao.load(java.lang.Integer) with an additional flag called transform.
 java.util.Collection loadAll()
          Loads all entities of type Metier.
 java.util.Collection loadAll(int transform)
           Does the same thing as MetierDao.loadAll() with an additional flag called transform.
 java.util.Collection loadAll(int pageNumber, int pageSize)
           Does the same thing as MetierDao.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 MetierDao.loadAll(int) with an additional two arguments called pageNumber and pageSize.
 void remoteFishingMetierFullVOToEntity(RemoteFishingMetierFullVO source, FishingMetier target, boolean copyIfNull)
          Copies the fields of RemoteFishingMetierFullVO to the specified entity.
 void remoteFishingMetierFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteFishingMetierFullVO to this DAO's entity.
 void remoteFishingMetierNaturalIdToEntity(RemoteFishingMetierNaturalId source, FishingMetier target, boolean copyIfNull)
          Copies the fields of RemoteFishingMetierNaturalId to the specified entity.
 void remoteFishingMetierNaturalIdToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteFishingMetierNaturalId to this DAO's entity.
 void remove(java.util.Collection entities)
          Removes all entities in the given entities collection.
 void remove(FishingMetier fishingMetier)
          Removes the instance of fr.ifremer.allegro.referential.metier.FishingMetier from the persistent store.
 void remove(java.lang.Integer id)
          Removes the instance of fr.ifremer.allegro.referential.metier.Metier 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 MetierDao.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 setGearDao(GearDao gearDao)
          Sets the reference to gearDao.
 void setTaxonGroupDao(TaxonGroupDao taxonGroupDao)
          Sets the reference to taxonGroupDao.
 ClusterFishingMetier toClusterFishingMetier(FishingMetier entity)
          Converts this DAO's entity to an object of type ClusterFishingMetier.
 void toClusterFishingMetier(FishingMetier source, ClusterFishingMetier target)
          Copies the fields of the specified entity to the target value object.
protected  ClusterFishingMetier toClusterFishingMetier(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 ClusterFishingMetier[] toClusterFishingMetierArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type ClusterFishingMetier.
 void toClusterFishingMetierCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type ClusterFishingMetier.
protected  FishingMetier toEntity(java.lang.Object[] row)
           
 RemoteFishingMetierFullVO toRemoteFishingMetierFullVO(FishingMetier entity)
          Converts this DAO's entity to an object of type RemoteFishingMetierFullVO.
 void toRemoteFishingMetierFullVO(FishingMetier source, RemoteFishingMetierFullVO target)
          Copies the fields of the specified entity to the target value object.
protected  RemoteFishingMetierFullVO toRemoteFishingMetierFullVO(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteFishingMetierFullVO[] toRemoteFishingMetierFullVOArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteFishingMetierFullVO.
 void toRemoteFishingMetierFullVOCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteFishingMetierFullVO.
 RemoteFishingMetierNaturalId toRemoteFishingMetierNaturalId(FishingMetier entity)
          Converts this DAO's entity to an object of type RemoteFishingMetierNaturalId.
 void toRemoteFishingMetierNaturalId(FishingMetier source, RemoteFishingMetierNaturalId target)
          Copies the fields of the specified entity to the target value object.
protected  RemoteFishingMetierNaturalId toRemoteFishingMetierNaturalId(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteFishingMetierNaturalId[] toRemoteFishingMetierNaturalIdArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteFishingMetierNaturalId.
 void toRemoteFishingMetierNaturalIdCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteFishingMetierNaturalId.
protected  void transformEntities(int transform, java.util.Collection entities)
          Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.metier.FishingMetier) method.
protected  java.lang.Object transformEntity(int transform, FishingMetier 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.metier.FishingMetierDao, please note that the MetierDao.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(FishingMetier fishingMetier)
          Updates the fishingMetier instance in the persistent store.
 
Methods inherited from class fr.ifremer.allegro.referential.metier.MetierDaoImpl
clusterMetierToEntity, clusterMetierToEntity, handleCreateFromClusterMetier, handleGetAllClusterMetierSinceDateSynchro, remoteMetierFullVOToEntity, remoteMetierFullVOToEntity, remoteMetierNaturalIdToEntity, remoteMetierNaturalIdToEntity, toClusterMetier, toClusterMetier, toRemoteMetierFullVO, toRemoteMetierFullVO, toRemoteMetierNaturalId, toRemoteMetierNaturalId
 
Methods inherited from class fr.ifremer.allegro.referential.metier.MetierDaoBase
clusterMetierToEntityCollection, create, create, create, create, create, create, createFromClusterMetier, getAllClusterMetierSinceDateSynchro, getStatusDao, remoteMetierFullVOToEntityCollection, remoteMetierNaturalIdToEntityCollection, remove, setStatusDao, toClusterMetier, toClusterMetierArray, toClusterMetierCollection, toRemoteMetierFullVO, toRemoteMetierFullVOArray, toRemoteMetierFullVOCollection, toRemoteMetierNaturalId, toRemoteMetierNaturalIdArray, toRemoteMetierNaturalIdCollection, transformEntity, update
 
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.metier.FishingMetierDao
clusterFishingMetierToEntity, remoteFishingMetierFullVOToEntity, remoteFishingMetierNaturalIdToEntity
 
Methods inherited from interface fr.ifremer.allegro.referential.metier.MetierDao
clusterMetierToEntity, clusterMetierToEntity, clusterMetierToEntityCollection, create, create, create, create, create, create, createFromClusterMetier, getAllClusterMetierSinceDateSynchro, remoteMetierFullVOToEntity, remoteMetierFullVOToEntity, remoteMetierFullVOToEntityCollection, remoteMetierNaturalIdToEntity, remoteMetierNaturalIdToEntity, remoteMetierNaturalIdToEntityCollection, remove, toClusterMetier, toClusterMetier, toClusterMetierArray, toClusterMetierCollection, toRemoteMetierFullVO, toRemoteMetierFullVO, toRemoteMetierFullVOArray, toRemoteMetierFullVOCollection, toRemoteMetierNaturalId, toRemoteMetierNaturalId, toRemoteMetierNaturalIdArray, toRemoteMetierNaturalIdCollection, update
 

Constructor Detail

FishingMetierDaoBase

public FishingMetierDaoBase()
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.


load

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

Does the same thing as MetierDao.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 FishingMetierDao
Specified by:
load in interface MetierDao
Overrides:
load in class MetierDaoBase
id - identifier of the entity to load
Returns:
either the entity or the object transformed from the entity.
See Also:
FishingMetierDao.load(int, java.lang.Integer)

load

public FishingMetier load(java.lang.Integer id)
Description copied from interface: MetierDao
Loads an instance of fr.ifremer.allegro.referential.metier.Metier from the persistent store.

Specified by:
load in interface FishingMetierDao
Specified by:
load in interface MetierDao
Overrides:
load in class MetierDaoBase
See Also:
FishingMetierDao.load(java.lang.Integer)

loadAll

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

Specified by:
loadAll in interface FishingMetierDao
Specified by:
loadAll in interface MetierDao
Overrides:
loadAll in class MetierDaoBase
Returns:
the loaded entities.
See Also:
FishingMetierDao.loadAll()

loadAll

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

Does the same thing as MetierDao.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 FishingMetierDao
Specified by:
loadAll in interface MetierDao
Overrides:
loadAll in class MetierDaoBase
Parameters:
transform - the flag indicating what transformation to use.
Returns:
the loaded entities.
See Also:
FishingMetierDao.loadAll(int)

loadAll

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

Does the same thing as MetierDao.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 FishingMetierDao
Specified by:
loadAll in interface MetierDao
Overrides:
loadAll in class MetierDaoBase
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:
FishingMetierDao.loadAll(int, int)

loadAll

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

Does the same thing as MetierDao.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 FishingMetierDao
Specified by:
loadAll in interface MetierDao
Overrides:
loadAll in class MetierDaoBase
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:
FishingMetierDao.loadAll(int, int, int)

create

public FishingMetier create(FishingMetier fishingMetier)
Description copied from interface: FishingMetierDao
Creates an instance of fr.ifremer.allegro.referential.metier.FishingMetier and adds it to the persistent store.

Specified by:
create in interface FishingMetierDao
See Also:
FishingMetierDao.create(fr.ifremer.allegro.referential.metier.FishingMetier)

create

public java.lang.Object create(int transform,
                               FishingMetier fishingMetier)
Description copied from interface: FishingMetierDao

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

create

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

Specified by:
create in interface FishingMetierDao
Specified by:
create in interface MetierDao
Overrides:
create in class MetierDaoBase
Parameters:
entities - the collection of fr.ifremer.allegro.referential.metier.Metier instances to create.
Returns:
the created instances.
See Also:
FishingMetierDao.create(java.util.Collection)

create

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

Does the same thing as MetierDao.create(fr.ifremer.allegro.referential.metier.Metier) 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 FishingMetierDao
Specified by:
create in interface MetierDao
Overrides:
create in class MetierDaoBase
See Also:
FishingMetierDao.create(int, java.util.Collection)

create

public FishingMetier create(java.lang.String label,
                            java.lang.String name,
                            java.lang.String description,
                            java.sql.Timestamp updateDate,
                            Status status,
                            TaxonGroup taxonGroup,
                            Gear gear)
Description copied from interface: FishingMetierDao

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

Specified by:
create in interface FishingMetierDao
See Also:
fr.ifremer.allegro.referential.metier.MetierDao#create(java.lang.String,java.lang.String,java.lang.String,java.sql.Timestamp,fr.ifremer.allegro.referential.Status,fr.ifremer.allegro.referential.taxon.TaxonGroup,fr.ifremer.allegro.referential.gear.Gear)

create

public java.lang.Object create(int transform,
                               java.lang.String label,
                               java.lang.String name,
                               java.lang.String description,
                               java.sql.Timestamp updateDate,
                               Status status,
                               TaxonGroup taxonGroup,
                               Gear gear)
Description copied from interface: FishingMetierDao

Does the same thing as FishingMetierDao.create(java.lang.String,java.lang.String,java.lang.String,java.sql.Timestamp,fr.ifremer.allegro.referential.Status,fr.ifremer.allegro.referential.taxon.TaxonGroup,fr.ifremer.allegro.referential.gear.Gear) 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 FishingMetierDao
See Also:
fr.ifremer.allegro.referential.metier.MetierDao#create(int, java.lang.String,java.lang.String,java.lang.String,java.sql.Timestamp,fr.ifremer.allegro.referential.Status,fr.ifremer.allegro.referential.taxon.TaxonGroup,fr.ifremer.allegro.referential.gear.Gear)

create

public FishingMetier create(java.lang.String name,
                            Status status,
                            TaxonGroup taxonGroup)
Description copied from interface: FishingMetierDao

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

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

create

public java.lang.Object create(int transform,
                               java.lang.String name,
                               Status status,
                               TaxonGroup taxonGroup)
Description copied from interface: FishingMetierDao

Does the same thing as FishingMetierDao.create(java.lang.String,fr.ifremer.allegro.referential.Status,fr.ifremer.allegro.referential.taxon.TaxonGroup) 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 FishingMetierDao
See Also:
FishingMetierDao.create(int, java.lang.String,fr.ifremer.allegro.referential.Status,fr.ifremer.allegro.referential.taxon.TaxonGroup)

update

public void update(FishingMetier fishingMetier)
Description copied from interface: FishingMetierDao
Updates the fishingMetier instance in the persistent store.

Specified by:
update in interface FishingMetierDao
See Also:
FishingMetierDao.update(fr.ifremer.allegro.referential.metier.FishingMetier)

update

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

Specified by:
update in interface FishingMetierDao
Specified by:
update in interface MetierDao
Overrides:
update in class MetierDaoBase
See Also:
MetierDao.update(java.util.Collection)

remove

public void remove(FishingMetier fishingMetier)
Description copied from interface: FishingMetierDao
Removes the instance of fr.ifremer.allegro.referential.metier.FishingMetier from the persistent store.

Specified by:
remove in interface FishingMetierDao
See Also:
FishingMetierDao.remove(fr.ifremer.allegro.referential.metier.FishingMetier)

remove

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

Specified by:
remove in interface FishingMetierDao
Specified by:
remove in interface MetierDao
Overrides:
remove in class MetierDaoBase
See Also:
FishingMetierDao.remove(java.lang.Integer)

remove

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

Specified by:
remove in interface FishingMetierDao
Specified by:
remove in interface MetierDao
Overrides:
remove in class MetierDaoBase
See Also:
MetierDao.remove(java.util.Collection)

getAllFishingMetier

public java.util.Collection getAllFishingMetier()
Specified by:
getAllFishingMetier in interface FishingMetierDao
See Also:
FishingMetierDao.getAllFishingMetier()

getAllFishingMetier

public java.util.Collection getAllFishingMetier(int transform)
Description copied from interface: FishingMetierDao

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

getAllFishingMetier

public java.util.Collection getAllFishingMetier(java.lang.String queryString)
Description copied from interface: FishingMetierDao

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

Specified by:
getAllFishingMetier in interface FishingMetierDao
See Also:
FishingMetierDao.getAllFishingMetier(java.lang.String)

getAllFishingMetier

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

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

getAllFishingMetier

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

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

getAllFishingMetier

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

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

Specified by:
getAllFishingMetier in interface FishingMetierDao
See Also:
FishingMetierDao.getAllFishingMetier(int, String)

getAllFishingMetier

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

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

getAllFishingMetier

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

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

findFishingMetierById

public FishingMetier findFishingMetierById(java.lang.Integer id)
Specified by:
findFishingMetierById in interface FishingMetierDao
See Also:
FishingMetierDao.findFishingMetierById(java.lang.Integer)

findFishingMetierById

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

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

findFishingMetierById

public FishingMetier findFishingMetierById(java.lang.String queryString,
                                           java.lang.Integer id)
Description copied from interface: FishingMetierDao

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

Specified by:
findFishingMetierById in interface FishingMetierDao
See Also:
FishingMetierDao.findFishingMetierById(java.lang.String, java.lang.Integer)

findFishingMetierById

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

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

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

findFishingMetierByTaxonGroup

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

findFishingMetierByTaxonGroup

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

Does the same thing as FishingMetierDao.findFishingMetierByTaxonGroup(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:
findFishingMetierByTaxonGroup in interface FishingMetierDao
See Also:
FishingMetierDao.findFishingMetierByTaxonGroup(int, fr.ifremer.allegro.referential.taxon.TaxonGroup)

findFishingMetierByTaxonGroup

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

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

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

findFishingMetierByTaxonGroup

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

Does the same thing as FishingMetierDao.findFishingMetierByTaxonGroup(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:
findFishingMetierByTaxonGroup in interface FishingMetierDao
See Also:
FishingMetierDao.findFishingMetierByTaxonGroup(int, int, fr.ifremer.allegro.referential.taxon.TaxonGroup)

findFishingMetierByTaxonGroup

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

Does the same thing as FishingMetierDao.findFishingMetierByTaxonGroup(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:
findFishingMetierByTaxonGroup in interface FishingMetierDao
See Also:
FishingMetierDao.findFishingMetierByTaxonGroup(String, int, int, fr.ifremer.allegro.referential.taxon.TaxonGroup)

findFishingMetierByTaxonGroup

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

Does the same thing as FishingMetierDao.findFishingMetierByTaxonGroup(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 FishingMetierDao.findFishingMetierByTaxonGroup(int, fr.ifremer.allegro.referential.taxon.TaxonGroup taxonGroup).

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

findFishingMetierByTaxonGroup

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

Does the same thing as FishingMetierDao.findFishingMetierByTaxonGroup(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:
findFishingMetierByTaxonGroup in interface FishingMetierDao
See Also:
FishingMetierDao.findFishingMetierByTaxonGroup(int, int, int, fr.ifremer.allegro.referential.taxon.TaxonGroup)

findFishingMetierByTaxonGroup

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

Does the same thing as FishingMetierDao.findFishingMetierByTaxonGroup(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:
findFishingMetierByTaxonGroup in interface FishingMetierDao
See Also:
FishingMetierDao.findFishingMetierByTaxonGroup(int, java.lang.String, int, int, fr.ifremer.allegro.referential.taxon.TaxonGroup)

findFishingMetierByGear

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

findFishingMetierByGear

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

Does the same thing as FishingMetierDao.findFishingMetierByGear(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:
findFishingMetierByGear in interface FishingMetierDao
See Also:
FishingMetierDao.findFishingMetierByGear(int, fr.ifremer.allegro.referential.gear.Gear)

findFishingMetierByGear

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

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

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

findFishingMetierByGear

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

Does the same thing as FishingMetierDao.findFishingMetierByGear(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:
findFishingMetierByGear in interface FishingMetierDao
See Also:
FishingMetierDao.findFishingMetierByGear(int, int, fr.ifremer.allegro.referential.gear.Gear)

findFishingMetierByGear

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

Does the same thing as FishingMetierDao.findFishingMetierByGear(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:
findFishingMetierByGear in interface FishingMetierDao
See Also:
FishingMetierDao.findFishingMetierByGear(String, int, int, fr.ifremer.allegro.referential.gear.Gear)

findFishingMetierByGear

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

Does the same thing as FishingMetierDao.findFishingMetierByGear(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 FishingMetierDao.findFishingMetierByGear(int, fr.ifremer.allegro.referential.gear.Gear gear).

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

findFishingMetierByGear

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

Does the same thing as FishingMetierDao.findFishingMetierByGear(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:
findFishingMetierByGear in interface FishingMetierDao
See Also:
FishingMetierDao.findFishingMetierByGear(int, int, int, fr.ifremer.allegro.referential.gear.Gear)

findFishingMetierByGear

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

Does the same thing as FishingMetierDao.findFishingMetierByGear(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:
findFishingMetierByGear in interface FishingMetierDao
See Also:
FishingMetierDao.findFishingMetierByGear(int, java.lang.String, int, int, fr.ifremer.allegro.referential.gear.Gear)

findFishingMetierByStatus

public java.util.Collection findFishingMetierByStatus(Status status)
Specified by:
findFishingMetierByStatus in interface FishingMetierDao
See Also:
FishingMetierDao.findFishingMetierByStatus(fr.ifremer.allegro.referential.Status)

findFishingMetierByStatus

public java.util.Collection findFishingMetierByStatus(int transform,
                                                      Status status)
Description copied from interface: FishingMetierDao

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

Specified by:
findFishingMetierByStatus in interface FishingMetierDao
See Also:
FishingMetierDao.findFishingMetierByStatus(int, fr.ifremer.allegro.referential.Status)

findFishingMetierByStatus

public java.util.Collection findFishingMetierByStatus(java.lang.String queryString,
                                                      Status status)
Description copied from interface: FishingMetierDao

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

Specified by:
findFishingMetierByStatus in interface FishingMetierDao
See Also:
FishingMetierDao.findFishingMetierByStatus(java.lang.String, fr.ifremer.allegro.referential.Status)

findFishingMetierByStatus

public java.util.Collection findFishingMetierByStatus(int pageNumber,
                                                      int pageSize,
                                                      Status status)
Description copied from interface: FishingMetierDao

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

Specified by:
findFishingMetierByStatus in interface FishingMetierDao
See Also:
FishingMetierDao.findFishingMetierByStatus(int, int, fr.ifremer.allegro.referential.Status)

findFishingMetierByStatus

public java.util.Collection findFishingMetierByStatus(java.lang.String queryString,
                                                      int pageNumber,
                                                      int pageSize,
                                                      Status status)
Description copied from interface: FishingMetierDao

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

Specified by:
findFishingMetierByStatus in interface FishingMetierDao
See Also:
FishingMetierDao.findFishingMetierByStatus(String, int, int, fr.ifremer.allegro.referential.Status)

findFishingMetierByStatus

public java.util.Collection findFishingMetierByStatus(int transform,
                                                      java.lang.String queryString,
                                                      Status status)
Description copied from interface: FishingMetierDao

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

Specified by:
findFishingMetierByStatus in interface FishingMetierDao
See Also:
FishingMetierDao.findFishingMetierByStatus(int, String, fr.ifremer.allegro.referential.Status)

findFishingMetierByStatus

public java.util.Collection findFishingMetierByStatus(int transform,
                                                      int pageNumber,
                                                      int pageSize,
                                                      Status status)
Description copied from interface: FishingMetierDao

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

Specified by:
findFishingMetierByStatus in interface FishingMetierDao
See Also:
FishingMetierDao.findFishingMetierByStatus(int, int, int, fr.ifremer.allegro.referential.Status)

findFishingMetierByStatus

public java.util.Collection findFishingMetierByStatus(int transform,
                                                      java.lang.String queryString,
                                                      int pageNumber,
                                                      int pageSize,
                                                      Status status)
Description copied from interface: FishingMetierDao

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

Specified by:
findFishingMetierByStatus in interface FishingMetierDao
See Also:
FishingMetierDao.findFishingMetierByStatus(int, java.lang.String, int, int, fr.ifremer.allegro.referential.Status)

findFishingMetierByNaturalId

public FishingMetier findFishingMetierByNaturalId(java.lang.Integer id)
Specified by:
findFishingMetierByNaturalId in interface FishingMetierDao
See Also:
FishingMetierDao.findFishingMetierByNaturalId(java.lang.Integer)

findFishingMetierByNaturalId

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

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

findFishingMetierByNaturalId

public FishingMetier findFishingMetierByNaturalId(java.lang.String queryString,
                                                  java.lang.Integer id)
Description copied from interface: FishingMetierDao

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

Specified by:
findFishingMetierByNaturalId in interface FishingMetierDao
See Also:
FishingMetierDao.findFishingMetierByNaturalId(java.lang.String, java.lang.Integer)

findFishingMetierByNaturalId

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

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

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

getAllFishingMetierSinceDateSynchro

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

getAllFishingMetierSinceDateSynchro

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

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

getAllFishingMetierSinceDateSynchro

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

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

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

getAllFishingMetierSinceDateSynchro

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

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

getAllFishingMetierSinceDateSynchro

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

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

getAllFishingMetierSinceDateSynchro

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

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

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

getAllFishingMetierSinceDateSynchro

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

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

getAllFishingMetierSinceDateSynchro

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

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

getAllMetier

public java.util.Collection getAllMetier()
Specified by:
getAllMetier in interface MetierDao
Overrides:
getAllMetier in class MetierDaoBase
See Also:
MetierDao.getAllMetier()

getAllMetier

public java.util.Collection getAllMetier(int transform)
Description copied from interface: MetierDao

Does the same thing as MetierDao.getAllMetier() 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:
getAllMetier in interface MetierDao
Overrides:
getAllMetier in class MetierDaoBase
See Also:
MetierDao.getAllMetier(int)

getAllMetier

public java.util.Collection getAllMetier(java.lang.String queryString)
Description copied from interface: MetierDao

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

Specified by:
getAllMetier in interface MetierDao
Overrides:
getAllMetier in class MetierDaoBase
See Also:
MetierDao.getAllMetier(java.lang.String)

getAllMetier

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

Does the same thing as MetierDao.getAllMetier() 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:
getAllMetier in interface MetierDao
Overrides:
getAllMetier in class MetierDaoBase
See Also:
MetierDao.getAllMetier(int, int)

getAllMetier

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

Does the same thing as MetierDao.getAllMetier(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:
getAllMetier in interface MetierDao
Overrides:
getAllMetier in class MetierDaoBase
See Also:
MetierDao.getAllMetier(String, int, int)

getAllMetier

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

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

Specified by:
getAllMetier in interface MetierDao
Overrides:
getAllMetier in class MetierDaoBase
See Also:
MetierDao.getAllMetier(int, String)

getAllMetier

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

Does the same thing as MetierDao.getAllMetier(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:
getAllMetier in interface MetierDao
Overrides:
getAllMetier in class MetierDaoBase
See Also:
MetierDao.getAllMetier(int, int, int)

getAllMetier

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

Does the same thing as MetierDao.getAllMetier(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:
getAllMetier in interface MetierDao
Overrides:
getAllMetier in class MetierDaoBase
See Also:
MetierDao.getAllMetier(int, java.lang.String, int, int)

findMetierById

public Metier findMetierById(java.lang.Integer id)
Specified by:
findMetierById in interface MetierDao
Overrides:
findMetierById in class MetierDaoBase
See Also:
MetierDao.findMetierById(java.lang.Integer)

findMetierById

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

Does the same thing as MetierDao.findMetierById(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:
findMetierById in interface MetierDao
Overrides:
findMetierById in class MetierDaoBase
See Also:
MetierDao.findMetierById(int, java.lang.Integer)

findMetierById

public Metier findMetierById(java.lang.String queryString,
                             java.lang.Integer id)
Description copied from interface: MetierDao

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

Specified by:
findMetierById in interface MetierDao
Overrides:
findMetierById in class MetierDaoBase
See Also:
MetierDao.findMetierById(java.lang.String, java.lang.Integer)

findMetierById

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

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

Specified by:
findMetierById in interface MetierDao
Overrides:
findMetierById in class MetierDaoBase
See Also:
MetierDao.findMetierById(int, java.lang.String, java.lang.Integer)

findMetierByStatus

public java.util.Collection findMetierByStatus(Status status)
Specified by:
findMetierByStatus in interface MetierDao
Overrides:
findMetierByStatus in class MetierDaoBase
See Also:
MetierDao.findMetierByStatus(fr.ifremer.allegro.referential.Status)

findMetierByStatus

public java.util.Collection findMetierByStatus(int transform,
                                               Status status)
Description copied from interface: MetierDao

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

Specified by:
findMetierByStatus in interface MetierDao
Overrides:
findMetierByStatus in class MetierDaoBase
See Also:
MetierDao.findMetierByStatus(int, fr.ifremer.allegro.referential.Status)

findMetierByStatus

public java.util.Collection findMetierByStatus(java.lang.String queryString,
                                               Status status)
Description copied from interface: MetierDao

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

Specified by:
findMetierByStatus in interface MetierDao
Overrides:
findMetierByStatus in class MetierDaoBase
See Also:
MetierDao.findMetierByStatus(java.lang.String, fr.ifremer.allegro.referential.Status)

findMetierByStatus

public java.util.Collection findMetierByStatus(int pageNumber,
                                               int pageSize,
                                               Status status)
Description copied from interface: MetierDao

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

Specified by:
findMetierByStatus in interface MetierDao
Overrides:
findMetierByStatus in class MetierDaoBase
See Also:
MetierDao.findMetierByStatus(int, int, fr.ifremer.allegro.referential.Status)

findMetierByStatus

public java.util.Collection findMetierByStatus(java.lang.String queryString,
                                               int pageNumber,
                                               int pageSize,
                                               Status status)
Description copied from interface: MetierDao

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

Specified by:
findMetierByStatus in interface MetierDao
Overrides:
findMetierByStatus in class MetierDaoBase
See Also:
MetierDao.findMetierByStatus(String, int, int, fr.ifremer.allegro.referential.Status)

findMetierByStatus

public java.util.Collection findMetierByStatus(int transform,
                                               java.lang.String queryString,
                                               Status status)
Description copied from interface: MetierDao

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

Specified by:
findMetierByStatus in interface MetierDao
Overrides:
findMetierByStatus in class MetierDaoBase
See Also:
MetierDao.findMetierByStatus(int, String, fr.ifremer.allegro.referential.Status)

findMetierByStatus

public java.util.Collection findMetierByStatus(int transform,
                                               int pageNumber,
                                               int pageSize,
                                               Status status)
Description copied from interface: MetierDao

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

Specified by:
findMetierByStatus in interface MetierDao
Overrides:
findMetierByStatus in class MetierDaoBase
See Also:
MetierDao.findMetierByStatus(int, int, int, fr.ifremer.allegro.referential.Status)

findMetierByStatus

public java.util.Collection findMetierByStatus(int transform,
                                               java.lang.String queryString,
                                               int pageNumber,
                                               int pageSize,
                                               Status status)
Description copied from interface: MetierDao

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

Specified by:
findMetierByStatus in interface MetierDao
Overrides:
findMetierByStatus in class MetierDaoBase
See Also:
MetierDao.findMetierByStatus(int, java.lang.String, int, int, fr.ifremer.allegro.referential.Status)

findMetierByNaturalId

public Metier findMetierByNaturalId(java.lang.Integer id)
Specified by:
findMetierByNaturalId in interface MetierDao
Overrides:
findMetierByNaturalId in class MetierDaoBase
See Also:
MetierDao.findMetierByNaturalId(java.lang.Integer)

findMetierByNaturalId

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

Does the same thing as MetierDao.findMetierByNaturalId(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:
findMetierByNaturalId in interface MetierDao
Overrides:
findMetierByNaturalId in class MetierDaoBase
See Also:
MetierDao.findMetierByNaturalId(int, java.lang.Integer)

findMetierByNaturalId

public Metier findMetierByNaturalId(java.lang.String queryString,
                                    java.lang.Integer id)
Description copied from interface: MetierDao

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

Specified by:
findMetierByNaturalId in interface MetierDao
Overrides:
findMetierByNaturalId in class MetierDaoBase
See Also:
MetierDao.findMetierByNaturalId(java.lang.String, java.lang.Integer)

findMetierByNaturalId

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

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

Specified by:
findMetierByNaturalId in interface MetierDao
Overrides:
findMetierByNaturalId in class MetierDaoBase
See Also:
MetierDao.findMetierByNaturalId(int, java.lang.String, java.lang.Integer)

getAllMetierSinceDateSynchro

public java.util.Collection getAllMetierSinceDateSynchro(java.sql.Timestamp updateDate)
Specified by:
getAllMetierSinceDateSynchro in interface MetierDao
Overrides:
getAllMetierSinceDateSynchro in class MetierDaoBase
See Also:
MetierDao.getAllMetierSinceDateSynchro(java.sql.Timestamp)

getAllMetierSinceDateSynchro

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

Does the same thing as MetierDao.getAllMetierSinceDateSynchro(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:
getAllMetierSinceDateSynchro in interface MetierDao
Overrides:
getAllMetierSinceDateSynchro in class MetierDaoBase
See Also:
MetierDao.getAllMetierSinceDateSynchro(int, java.sql.Timestamp)

getAllMetierSinceDateSynchro

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

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

Specified by:
getAllMetierSinceDateSynchro in interface MetierDao
Overrides:
getAllMetierSinceDateSynchro in class MetierDaoBase
See Also:
MetierDao.getAllMetierSinceDateSynchro(java.lang.String, java.sql.Timestamp)

getAllMetierSinceDateSynchro

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

Does the same thing as MetierDao.getAllMetierSinceDateSynchro(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:
getAllMetierSinceDateSynchro in interface MetierDao
Overrides:
getAllMetierSinceDateSynchro in class MetierDaoBase
See Also:
MetierDao.getAllMetierSinceDateSynchro(int, int, java.sql.Timestamp)

getAllMetierSinceDateSynchro

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

Does the same thing as MetierDao.getAllMetierSinceDateSynchro(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:
getAllMetierSinceDateSynchro in interface MetierDao
Overrides:
getAllMetierSinceDateSynchro in class MetierDaoBase
See Also:
MetierDao.getAllMetierSinceDateSynchro(String, int, int, java.sql.Timestamp)

getAllMetierSinceDateSynchro

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

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

Specified by:
getAllMetierSinceDateSynchro in interface MetierDao
Overrides:
getAllMetierSinceDateSynchro in class MetierDaoBase
See Also:
MetierDao.getAllMetierSinceDateSynchro(int, String, java.sql.Timestamp)

getAllMetierSinceDateSynchro

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

Does the same thing as MetierDao.getAllMetierSinceDateSynchro(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:
getAllMetierSinceDateSynchro in interface MetierDao
Overrides:
getAllMetierSinceDateSynchro in class MetierDaoBase
See Also:
MetierDao.getAllMetierSinceDateSynchro(int, int, int, java.sql.Timestamp)

getAllMetierSinceDateSynchro

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

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

createFromClusterFishingMetier

public FishingMetier createFromClusterFishingMetier(ClusterFishingMetier clusterFishingMetier)
Specified by:
createFromClusterFishingMetier in interface FishingMetierDao
See Also:
FishingMetierDao.createFromClusterFishingMetier(fr.ifremer.allegro.referential.metier.generic.cluster.ClusterFishingMetier)

handleCreateFromClusterFishingMetier

protected abstract FishingMetier handleCreateFromClusterFishingMetier(ClusterFishingMetier clusterFishingMetier)
                                                               throws java.lang.Exception
Performs the core logic for createFromClusterFishingMetier(fr.ifremer.allegro.referential.metier.generic.cluster.ClusterFishingMetier)

Throws:
java.lang.Exception

getAllClusterFishingMetierSinceDateSynchro

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

handleGetAllClusterFishingMetierSinceDateSynchro

protected abstract ClusterFishingMetier[] handleGetAllClusterFishingMetierSinceDateSynchro(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 getAllClusterFishingMetierSinceDateSynchro(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,
                                           FishingMetier 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.metier.FishingMetierDao, please note that the MetierDao.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 MetierDao.TRANSFORM_NONE is assumed.

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

This method is to be used internally only.

Overrides:
transformEntities in class MetierDaoBase
Parameters:
transform - one of the constants declared in fr.ifremer.allegro.referential.metier.FishingMetierDao
entities - the collection of entities to transform
See Also:
transformEntity(int,fr.ifremer.allegro.referential.metier.FishingMetier)

toEntity

protected FishingMetier toEntity(java.lang.Object[] row)
Overrides:
toEntity in class MetierDaoBase

toRemoteFishingMetierFullVOCollection

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

Specified by:
toRemoteFishingMetierFullVOCollection in interface FishingMetierDao
See Also:
FishingMetierDao.toRemoteFishingMetierFullVOCollection(java.util.Collection)

toRemoteFishingMetierFullVOArray

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

Specified by:
toRemoteFishingMetierFullVOArray in interface FishingMetierDao
See Also:
FishingMetierDao.toRemoteFishingMetierFullVOArray(java.util.Collection)

toRemoteFishingMetierFullVO

protected RemoteFishingMetierFullVO toRemoteFishingMetierFullVO(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 FishingMetierDaoImpl class if you intend to use reporting queries.

See Also:
FishingMetierDao.toRemoteFishingMetierFullVO(fr.ifremer.allegro.referential.metier.FishingMetier)

remoteFishingMetierFullVOToEntityCollection

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

Specified by:
remoteFishingMetierFullVOToEntityCollection in interface FishingMetierDao
See Also:
FishingMetierDao.remoteFishingMetierFullVOToEntityCollection(java.util.Collection)

toRemoteFishingMetierFullVO

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

toRemoteFishingMetierFullVO

public RemoteFishingMetierFullVO toRemoteFishingMetierFullVO(FishingMetier entity)
Description copied from interface: FishingMetierDao
Converts this DAO's entity to an object of type RemoteFishingMetierFullVO.

Specified by:
toRemoteFishingMetierFullVO in interface FishingMetierDao
See Also:
FishingMetierDao.toRemoteFishingMetierFullVO(fr.ifremer.allegro.referential.metier.FishingMetier)

remoteFishingMetierFullVOToEntity

public void remoteFishingMetierFullVOToEntity(RemoteFishingMetierFullVO source,
                                              FishingMetier target,
                                              boolean copyIfNull)
Description copied from interface: FishingMetierDao
Copies the fields of RemoteFishingMetierFullVO to the specified entity.

Specified by:
remoteFishingMetierFullVOToEntity in interface FishingMetierDao
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.metier.FishingMetierDao#remoteFishingMetierFullVOToEntity(fr.ifremer.allegro.referential.metier.generic.vo.RemoteFishingMetierFullVO, fr.ifremer.allegro.referential.metier.FishingMetier)

toRemoteFishingMetierNaturalIdCollection

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

Specified by:
toRemoteFishingMetierNaturalIdCollection in interface FishingMetierDao
See Also:
FishingMetierDao.toRemoteFishingMetierNaturalIdCollection(java.util.Collection)

toRemoteFishingMetierNaturalIdArray

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

Specified by:
toRemoteFishingMetierNaturalIdArray in interface FishingMetierDao
See Also:
FishingMetierDao.toRemoteFishingMetierNaturalIdArray(java.util.Collection)

toRemoteFishingMetierNaturalId

protected RemoteFishingMetierNaturalId toRemoteFishingMetierNaturalId(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 FishingMetierDaoImpl class if you intend to use reporting queries.

See Also:
FishingMetierDao.toRemoteFishingMetierNaturalId(fr.ifremer.allegro.referential.metier.FishingMetier)

remoteFishingMetierNaturalIdToEntityCollection

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

Specified by:
remoteFishingMetierNaturalIdToEntityCollection in interface FishingMetierDao
See Also:
FishingMetierDao.remoteFishingMetierNaturalIdToEntityCollection(java.util.Collection)

toRemoteFishingMetierNaturalId

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

toRemoteFishingMetierNaturalId

public RemoteFishingMetierNaturalId toRemoteFishingMetierNaturalId(FishingMetier entity)
Description copied from interface: FishingMetierDao
Converts this DAO's entity to an object of type RemoteFishingMetierNaturalId.

Specified by:
toRemoteFishingMetierNaturalId in interface FishingMetierDao
See Also:
FishingMetierDao.toRemoteFishingMetierNaturalId(fr.ifremer.allegro.referential.metier.FishingMetier)

remoteFishingMetierNaturalIdToEntity

public void remoteFishingMetierNaturalIdToEntity(RemoteFishingMetierNaturalId source,
                                                 FishingMetier target,
                                                 boolean copyIfNull)
Description copied from interface: FishingMetierDao
Copies the fields of RemoteFishingMetierNaturalId to the specified entity.

Specified by:
remoteFishingMetierNaturalIdToEntity in interface FishingMetierDao
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.metier.FishingMetierDao#remoteFishingMetierNaturalIdToEntity(fr.ifremer.allegro.referential.metier.generic.vo.RemoteFishingMetierNaturalId, fr.ifremer.allegro.referential.metier.FishingMetier)

toClusterFishingMetierCollection

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

Specified by:
toClusterFishingMetierCollection in interface FishingMetierDao
See Also:
FishingMetierDao.toClusterFishingMetierCollection(java.util.Collection)

toClusterFishingMetierArray

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

Specified by:
toClusterFishingMetierArray in interface FishingMetierDao
See Also:
FishingMetierDao.toClusterFishingMetierArray(java.util.Collection)

toClusterFishingMetier

protected ClusterFishingMetier toClusterFishingMetier(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 FishingMetierDaoImpl class if you intend to use reporting queries.

See Also:
FishingMetierDao.toClusterFishingMetier(fr.ifremer.allegro.referential.metier.FishingMetier)

clusterFishingMetierToEntityCollection

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

Specified by:
clusterFishingMetierToEntityCollection in interface FishingMetierDao
See Also:
FishingMetierDao.clusterFishingMetierToEntityCollection(java.util.Collection)

toClusterFishingMetier

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

toClusterFishingMetier

public ClusterFishingMetier toClusterFishingMetier(FishingMetier entity)
Description copied from interface: FishingMetierDao
Converts this DAO's entity to an object of type ClusterFishingMetier.

Specified by:
toClusterFishingMetier in interface FishingMetierDao
See Also:
FishingMetierDao.toClusterFishingMetier(fr.ifremer.allegro.referential.metier.FishingMetier)

clusterFishingMetierToEntity

public void clusterFishingMetierToEntity(ClusterFishingMetier source,
                                         FishingMetier target,
                                         boolean copyIfNull)
Description copied from interface: FishingMetierDao
Copies the fields of ClusterFishingMetier to the specified entity.

Specified by:
clusterFishingMetierToEntity in interface FishingMetierDao
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.metier.FishingMetierDao#clusterFishingMetierToEntity(fr.ifremer.allegro.referential.metier.generic.cluster.ClusterFishingMetier, fr.ifremer.allegro.referential.metier.FishingMetier)

getPrincipal

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

Overrides:
getPrincipal in class MetierDaoBase
Returns:
the current principal

search

public PaginationResult search(int transform,
                               int pageNumber,
                               int pageSize,
                               Search search)
Description copied from interface: MetierDao
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 FishingMetierDao
Specified by:
search in interface MetierDao
Overrides:
search in class MetierDaoBase
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:
FishingMetierDao.search(int, int, int, fr.ifremer.allegro.Search)

search

public PaginationResult search(int pageNumber,
                               int pageSize,
                               Search search)
Description copied from interface: MetierDao
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 FishingMetierDao
Specified by:
search in interface MetierDao
Overrides:
search in class MetierDaoBase
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:
FishingMetierDao.search(int, int, fr.ifremer.allegro.Search)

search

public java.util.Set search(int transform,
                            Search search)
Description copied from interface: MetierDao
Does the same thing as MetierDao.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 FishingMetierDao
Specified by:
search in interface MetierDao
Overrides:
search in class MetierDaoBase
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:
FishingMetierDao.search(int, fr.ifremer.allegro.Search)

search

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

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


Copyright © 2008-2010 IFREMER. All Rights Reserved.