fr.ifremer.allegro.referential.taxon
Class TaxonGroupDaoBase

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.referential.taxon.TaxonGroupDaoBase
All Implemented Interfaces:
TaxonGroupDao
Direct Known Subclasses:
TaxonGroupDaoImpl

public abstract class TaxonGroupDaoBase
extends org.springframework.orm.hibernate3.support.HibernateDaoSupport
implements TaxonGroupDao

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

See Also:
TaxonGroup

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.taxon.TaxonGroupDao
TRANSFORM_CLUSTERTAXONGROUP, TRANSFORM_NONE, TRANSFORM_REMOTETAXONGROUPFULLVO, TRANSFORM_REMOTETAXONGROUPNATURALID
 
Constructor Summary
TaxonGroupDaoBase()
           
 
Method Summary
 void clusterTaxonGroupToEntity(ClusterTaxonGroup source, TaxonGroup target, boolean copyIfNull)
          Copies the fields of ClusterTaxonGroup to the specified entity.
 void clusterTaxonGroupToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type ClusterTaxonGroup to this DAO's entity.
 java.util.Collection create(java.util.Collection entities)
          Creates a new instance of fr.ifremer.allegro.referential.taxon.TaxonGroup and adds from the passed in entities collection
 TaxonGroup create(java.util.Date creationDate, java.lang.Boolean isChildGroupExclusive, java.lang.Boolean isUpdatable, java.lang.String name, Status status, TaxonGroupType taxonGroupType)
           Creates a new fr.ifremer.allegro.referential.taxon.TaxonGroup instance from only required properties (attributes and association ends) and adds it to the persistent store.
 java.util.Collection create(int transform, java.util.Collection entities)
           Does the same thing as TaxonGroupDao.create(fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional flag called transform.
 java.lang.Object create(int transform, java.util.Date creationDate, java.lang.Boolean isChildGroupExclusive, java.lang.Boolean isUpdatable, java.lang.String name, Status status, TaxonGroupType taxonGroupType)
           Does the same thing as TaxonGroupDao.create(java.util.Date,java.lang.Boolean,java.lang.Boolean,java.lang.String,fr.ifremer.allegro.referential.Status,fr.ifremer.allegro.referential.taxon.TaxonGroupType) with an additional flag called transform.
 java.lang.Object create(int transform, java.lang.String label, java.lang.String name, java.lang.String comments, java.lang.Boolean isChildGroupExclusive, java.lang.Boolean isUpdatable, java.util.Date creationDate, java.sql.Timestamp updateDate, TaxonGroupType taxonGroupType, Status status, java.util.Collection taxonGroupHistoricalRecords, java.util.Collection taxonGroupInformations, java.util.Collection childTaxonGroup, TaxonGroup parentTaxonGroup)
           Does the same thing as TaxonGroupDao.create(java.lang.String,java.lang.String,java.lang.String,java.lang.Boolean,java.lang.Boolean,java.util.Date,java.sql.Timestamp,fr.ifremer.allegro.referential.taxon.TaxonGroupType,fr.ifremer.allegro.referential.Status,java.util.Collection,java.util.Collection,java.util.Collection,fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional flag called transform.
 java.lang.Object create(int transform, TaxonGroup taxonGroup)
           Does the same thing as TaxonGroupDao.create(fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional flag called transform.
 TaxonGroup create(java.lang.String label, java.lang.String name, java.lang.String comments, java.lang.Boolean isChildGroupExclusive, java.lang.Boolean isUpdatable, java.util.Date creationDate, java.sql.Timestamp updateDate, TaxonGroupType taxonGroupType, Status status, java.util.Collection taxonGroupHistoricalRecords, java.util.Collection taxonGroupInformations, java.util.Collection childTaxonGroup, TaxonGroup parentTaxonGroup)
           Creates a new fr.ifremer.allegro.referential.taxon.TaxonGroup instance from all attributes and properties and adds it to the persistent store.
 TaxonGroup create(TaxonGroup taxonGroup)
          Creates an instance of fr.ifremer.allegro.referential.taxon.TaxonGroup and adds it to the persistent store.
 TaxonGroup createFromClusterTaxonGroup(ClusterTaxonGroup clusterTaxonGroup)
           
 TaxonGroup findTaxonGroupById(java.lang.Integer id)
           
 java.lang.Object findTaxonGroupById(int transform, java.lang.Integer id)
           Does the same thing as TaxonGroupDao.findTaxonGroupById(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findTaxonGroupById(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as TaxonGroupDao.findTaxonGroupById(int, java.lang.Integer) with an additional argument called queryString.
 TaxonGroup findTaxonGroupById(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as TaxonGroupDao.findTaxonGroupById(java.lang.Integer) with an additional argument called queryString.
 java.lang.Object findTaxonGroupByNaturalId(int transform, java.lang.String queryString, java.lang.String name, TaxonGroupType taxonGroupType, TaxonGroup parentTaxonGroup)
           Does the same thing as TaxonGroupDao.findTaxonGroupByNaturalId(int, java.lang.String, fr.ifremer.allegro.referential.taxon.TaxonGroupType, fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional argument called queryString.
 java.lang.Object findTaxonGroupByNaturalId(int transform, java.lang.String name, TaxonGroupType taxonGroupType, TaxonGroup parentTaxonGroup)
           Does the same thing as TaxonGroupDao.findTaxonGroupByNaturalId(java.lang.String, fr.ifremer.allegro.referential.taxon.TaxonGroupType, fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional flag called transform.
 TaxonGroup findTaxonGroupByNaturalId(java.lang.String queryString, java.lang.String name, TaxonGroupType taxonGroupType, TaxonGroup parentTaxonGroup)
           Does the same thing as TaxonGroupDao.findTaxonGroupByNaturalId(java.lang.String, fr.ifremer.allegro.referential.taxon.TaxonGroupType, fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional argument called queryString.
 TaxonGroup findTaxonGroupByNaturalId(java.lang.String name, TaxonGroupType taxonGroupType, TaxonGroup parentTaxonGroup)
           
 java.util.Collection findTaxonGroupByParentTaxonGroup(int transform, int pageNumber, int pageSize, TaxonGroup parentTaxonGroup)
           Does the same thing as TaxonGroupDao.findTaxonGroupByParentTaxonGroup(int, fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findTaxonGroupByParentTaxonGroup(int pageNumber, int pageSize, TaxonGroup parentTaxonGroup)
           Does the same thing as TaxonGroupDao.findTaxonGroupByParentTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findTaxonGroupByParentTaxonGroup(int transform, java.lang.String queryString, int pageNumber, int pageSize, TaxonGroup parentTaxonGroup)
           Does the same thing as TaxonGroupDao.findTaxonGroupByParentTaxonGroup(int, String, fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findTaxonGroupByParentTaxonGroup(int transform, java.lang.String queryString, TaxonGroup parentTaxonGroup)
           Does the same thing as TaxonGroupDao.findTaxonGroupByParentTaxonGroup(int, fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional argument called queryString.
 java.util.Collection findTaxonGroupByParentTaxonGroup(int transform, TaxonGroup parentTaxonGroup)
           Does the same thing as TaxonGroupDao.findTaxonGroupByParentTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional flag called transform.
 java.util.Collection findTaxonGroupByParentTaxonGroup(java.lang.String queryString, int pageNumber, int pageSize, TaxonGroup parentTaxonGroup)
           Does the same thing as TaxonGroupDao.findTaxonGroupByParentTaxonGroup(String, fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findTaxonGroupByParentTaxonGroup(java.lang.String queryString, TaxonGroup parentTaxonGroup)
           Does the same thing as TaxonGroupDao.findTaxonGroupByParentTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional argument called queryString.
 java.util.Collection findTaxonGroupByParentTaxonGroup(TaxonGroup parentTaxonGroup)
           
 java.util.Collection findTaxonGroupByStatus(int transform, int pageNumber, int pageSize, Status status)
           Does the same thing as TaxonGroupDao.findTaxonGroupByStatus(int, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findTaxonGroupByStatus(int pageNumber, int pageSize, Status status)
           Does the same thing as TaxonGroupDao.findTaxonGroupByStatus(fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findTaxonGroupByStatus(int transform, Status status)
           Does the same thing as TaxonGroupDao.findTaxonGroupByStatus(fr.ifremer.allegro.referential.Status) with an additional flag called transform.
 java.util.Collection findTaxonGroupByStatus(int transform, java.lang.String queryString, int pageNumber, int pageSize, Status status)
           Does the same thing as TaxonGroupDao.findTaxonGroupByStatus(int, String, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findTaxonGroupByStatus(int transform, java.lang.String queryString, Status status)
           Does the same thing as TaxonGroupDao.findTaxonGroupByStatus(int, fr.ifremer.allegro.referential.Status) with an additional argument called queryString.
 java.util.Collection findTaxonGroupByStatus(Status status)
           
 java.util.Collection findTaxonGroupByStatus(java.lang.String queryString, int pageNumber, int pageSize, Status status)
           Does the same thing as TaxonGroupDao.findTaxonGroupByStatus(String, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findTaxonGroupByStatus(java.lang.String queryString, Status status)
           Does the same thing as TaxonGroupDao.findTaxonGroupByStatus(fr.ifremer.allegro.referential.Status) with an additional argument called queryString.
 java.util.Collection findTaxonGroupByTaxonGroupType(int transform, int pageNumber, int pageSize, TaxonGroupType taxonGroupType)
           Does the same thing as TaxonGroupDao.findTaxonGroupByTaxonGroupType(int, fr.ifremer.allegro.referential.taxon.TaxonGroupType) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findTaxonGroupByTaxonGroupType(int pageNumber, int pageSize, TaxonGroupType taxonGroupType)
           Does the same thing as TaxonGroupDao.findTaxonGroupByTaxonGroupType(fr.ifremer.allegro.referential.taxon.TaxonGroupType) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findTaxonGroupByTaxonGroupType(int transform, java.lang.String queryString, int pageNumber, int pageSize, TaxonGroupType taxonGroupType)
           Does the same thing as TaxonGroupDao.findTaxonGroupByTaxonGroupType(int, String, fr.ifremer.allegro.referential.taxon.TaxonGroupType) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findTaxonGroupByTaxonGroupType(int transform, java.lang.String queryString, TaxonGroupType taxonGroupType)
           Does the same thing as TaxonGroupDao.findTaxonGroupByTaxonGroupType(int, fr.ifremer.allegro.referential.taxon.TaxonGroupType) with an additional argument called queryString.
 java.util.Collection findTaxonGroupByTaxonGroupType(int transform, TaxonGroupType taxonGroupType)
           Does the same thing as TaxonGroupDao.findTaxonGroupByTaxonGroupType(fr.ifremer.allegro.referential.taxon.TaxonGroupType) with an additional flag called transform.
 java.util.Collection findTaxonGroupByTaxonGroupType(java.lang.String queryString, int pageNumber, int pageSize, TaxonGroupType taxonGroupType)
           Does the same thing as TaxonGroupDao.findTaxonGroupByTaxonGroupType(String, fr.ifremer.allegro.referential.taxon.TaxonGroupType) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findTaxonGroupByTaxonGroupType(java.lang.String queryString, TaxonGroupType taxonGroupType)
           Does the same thing as TaxonGroupDao.findTaxonGroupByTaxonGroupType(fr.ifremer.allegro.referential.taxon.TaxonGroupType) with an additional argument called queryString.
 java.util.Collection findTaxonGroupByTaxonGroupType(TaxonGroupType taxonGroupType)
           
 ClusterTaxonGroup[] getAllClusterTaxonGroupSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
 java.util.Collection getAllTaxonGroup()
           
 java.util.Collection getAllTaxonGroup(int transform)
           Does the same thing as TaxonGroupDao.getAllTaxonGroup() with an additional flag called transform.
 java.util.Collection getAllTaxonGroup(int pageNumber, int pageSize)
           Does the same thing as TaxonGroupDao.getAllTaxonGroup() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllTaxonGroup(int transform, int pageNumber, int pageSize)
           Does the same thing as TaxonGroupDao.getAllTaxonGroup(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllTaxonGroup(int transform, java.lang.String queryString)
           Does the same thing as TaxonGroupDao.getAllTaxonGroup(int) with an additional argument called queryString.
 java.util.Collection getAllTaxonGroup(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as TaxonGroupDao.getAllTaxonGroup(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllTaxonGroup(java.lang.String queryString)
           Does the same thing as TaxonGroupDao.getAllTaxonGroup() with an additional argument called queryString.
 java.util.Collection getAllTaxonGroup(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as TaxonGroupDao.getAllTaxonGroup(String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllTaxonGroupSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as TaxonGroupDao.getAllTaxonGroupSinceDateSynchro(int, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllTaxonGroupSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as TaxonGroupDao.getAllTaxonGroupSinceDateSynchro(java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllTaxonGroupSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as TaxonGroupDao.getAllTaxonGroupSinceDateSynchro(int, String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllTaxonGroupSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as TaxonGroupDao.getAllTaxonGroupSinceDateSynchro(int, java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllTaxonGroupSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
           Does the same thing as TaxonGroupDao.getAllTaxonGroupSinceDateSynchro(java.sql.Timestamp) with an additional flag called transform.
 java.util.Collection getAllTaxonGroupSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as TaxonGroupDao.getAllTaxonGroupSinceDateSynchro(String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllTaxonGroupSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as TaxonGroupDao.getAllTaxonGroupSinceDateSynchro(java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllTaxonGroupSinceDateSynchro(java.sql.Timestamp updateDate)
           
protected  java.security.Principal getPrincipal()
          Gets the current principal if one has been set, otherwise returns null.
protected  StatusDao getStatusDao()
          Gets the reference to statusDao.
protected  TaxonGroupDao getTaxonGroupDao()
          Gets the reference to taxonGroupDao.
protected  TaxonGroupHistoricalRecordDao getTaxonGroupHistoricalRecordDao()
          Gets the reference to taxonGroupHistoricalRecordDao.
protected  TaxonGroupInformationDao getTaxonGroupInformationDao()
          Gets the reference to taxonGroupInformationDao.
protected  TaxonGroupTypeDao getTaxonGroupTypeDao()
          Gets the reference to taxonGroupTypeDao.
protected abstract  TaxonGroup handleCreateFromClusterTaxonGroup(ClusterTaxonGroup clusterTaxonGroup)
          Performs the core logic for createFromClusterTaxonGroup(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterTaxonGroup)
protected abstract  ClusterTaxonGroup[] handleGetAllClusterTaxonGroupSinceDateSynchro(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 getAllClusterTaxonGroupSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 TaxonGroup load(java.lang.Integer id)
          Loads an instance of fr.ifremer.allegro.referential.taxon.TaxonGroup from the persistent store.
 java.lang.Object load(int transform, java.lang.Integer id)
           Does the same thing as TaxonGroupDao.load(java.lang.Integer) with an additional flag called transform.
 java.util.Collection loadAll()
          Loads all entities of type TaxonGroup.
 java.util.Collection loadAll(int transform)
           Does the same thing as TaxonGroupDao.loadAll() with an additional flag called transform.
 java.util.Collection loadAll(int pageNumber, int pageSize)
           Does the same thing as TaxonGroupDao.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 TaxonGroupDao.loadAll(int) with an additional two arguments called pageNumber and pageSize.
 void remoteTaxonGroupFullVOToEntity(RemoteTaxonGroupFullVO source, TaxonGroup target, boolean copyIfNull)
          Copies the fields of RemoteTaxonGroupFullVO to the specified entity.
 void remoteTaxonGroupFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteTaxonGroupFullVO to this DAO's entity.
 void remoteTaxonGroupNaturalIdToEntity(RemoteTaxonGroupNaturalId source, TaxonGroup target, boolean copyIfNull)
          Copies the fields of RemoteTaxonGroupNaturalId to the specified entity.
 void remoteTaxonGroupNaturalIdToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteTaxonGroupNaturalId to this DAO's entity.
 void remove(java.util.Collection entities)
          Removes all entities in the given entities collection.
 void remove(java.lang.Integer id)
          Removes the instance of fr.ifremer.allegro.referential.taxon.TaxonGroup having the given identifier from the persistent store.
 void remove(TaxonGroup taxonGroup)
          Removes the instance of fr.ifremer.allegro.referential.taxon.TaxonGroup 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 TaxonGroupDao.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 setStatusDao(StatusDao statusDao)
          Sets the reference to statusDao.
 void setTaxonGroupDao(TaxonGroupDao taxonGroupDao)
          Sets the reference to taxonGroupDao.
 void setTaxonGroupHistoricalRecordDao(TaxonGroupHistoricalRecordDao taxonGroupHistoricalRecordDao)
          Sets the reference to taxonGroupHistoricalRecordDao.
 void setTaxonGroupInformationDao(TaxonGroupInformationDao taxonGroupInformationDao)
          Sets the reference to taxonGroupInformationDao.
 void setTaxonGroupTypeDao(TaxonGroupTypeDao taxonGroupTypeDao)
          Sets the reference to taxonGroupTypeDao.
protected  ClusterTaxonGroup toClusterTaxonGroup(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 ClusterTaxonGroup toClusterTaxonGroup(TaxonGroup entity)
          Converts this DAO's entity to an object of type ClusterTaxonGroup.
 void toClusterTaxonGroup(TaxonGroup source, ClusterTaxonGroup target)
          Copies the fields of the specified entity to the target value object.
 ClusterTaxonGroup[] toClusterTaxonGroupArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type ClusterTaxonGroup.
 void toClusterTaxonGroupCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type ClusterTaxonGroup.
protected  TaxonGroup toEntity(java.lang.Object[] row)
           
protected  RemoteTaxonGroupFullVO toRemoteTaxonGroupFullVO(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteTaxonGroupFullVO toRemoteTaxonGroupFullVO(TaxonGroup entity)
          Converts this DAO's entity to an object of type RemoteTaxonGroupFullVO.
 void toRemoteTaxonGroupFullVO(TaxonGroup source, RemoteTaxonGroupFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteTaxonGroupFullVO[] toRemoteTaxonGroupFullVOArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteTaxonGroupFullVO.
 void toRemoteTaxonGroupFullVOCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteTaxonGroupFullVO.
protected  RemoteTaxonGroupNaturalId toRemoteTaxonGroupNaturalId(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteTaxonGroupNaturalId toRemoteTaxonGroupNaturalId(TaxonGroup entity)
          Converts this DAO's entity to an object of type RemoteTaxonGroupNaturalId.
 void toRemoteTaxonGroupNaturalId(TaxonGroup source, RemoteTaxonGroupNaturalId target)
          Copies the fields of the specified entity to the target value object.
 RemoteTaxonGroupNaturalId[] toRemoteTaxonGroupNaturalIdArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteTaxonGroupNaturalId.
 void toRemoteTaxonGroupNaturalIdCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteTaxonGroupNaturalId.
protected  void transformEntities(int transform, java.util.Collection entities)
          Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.taxon.TaxonGroup) method.
protected  java.lang.Object transformEntity(int transform, TaxonGroup 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.taxon.TaxonGroupDao, please note that the TaxonGroupDao.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(TaxonGroup taxonGroup)
          Updates the taxonGroup instance in the persistent store.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface fr.ifremer.allegro.referential.taxon.TaxonGroupDao
clusterTaxonGroupToEntity, remoteTaxonGroupFullVOToEntity, remoteTaxonGroupNaturalIdToEntity
 

Constructor Detail

TaxonGroupDaoBase

public TaxonGroupDaoBase()
Method Detail

setTaxonGroupTypeDao

public void setTaxonGroupTypeDao(TaxonGroupTypeDao taxonGroupTypeDao)
Sets the reference to taxonGroupTypeDao.


getTaxonGroupTypeDao

protected TaxonGroupTypeDao getTaxonGroupTypeDao()
Gets the reference to taxonGroupTypeDao.


setTaxonGroupDao

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


getTaxonGroupDao

protected TaxonGroupDao getTaxonGroupDao()
Gets the reference to taxonGroupDao.


setStatusDao

public void setStatusDao(StatusDao statusDao)
Sets the reference to statusDao.


getStatusDao

protected StatusDao getStatusDao()
Gets the reference to statusDao.


setTaxonGroupHistoricalRecordDao

public void setTaxonGroupHistoricalRecordDao(TaxonGroupHistoricalRecordDao taxonGroupHistoricalRecordDao)
Sets the reference to taxonGroupHistoricalRecordDao.


getTaxonGroupHistoricalRecordDao

protected TaxonGroupHistoricalRecordDao getTaxonGroupHistoricalRecordDao()
Gets the reference to taxonGroupHistoricalRecordDao.


setTaxonGroupInformationDao

public void setTaxonGroupInformationDao(TaxonGroupInformationDao taxonGroupInformationDao)
Sets the reference to taxonGroupInformationDao.


getTaxonGroupInformationDao

protected TaxonGroupInformationDao getTaxonGroupInformationDao()
Gets the reference to taxonGroupInformationDao.


load

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

Does the same thing as TaxonGroupDao.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 TaxonGroupDao
id - identifier of the entity to load
Returns:
either the entity or the object transformed from the entity.
See Also:
TaxonGroupDao.load(int, java.lang.Integer)

load

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

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

loadAll

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

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

loadAll

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

Does the same thing as TaxonGroupDao.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 TaxonGroupDao
Parameters:
transform - the flag indicating what transformation to use.
Returns:
the loaded entities.
See Also:
TaxonGroupDao.loadAll(int)

loadAll

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

Does the same thing as TaxonGroupDao.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 TaxonGroupDao
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:
TaxonGroupDao.loadAll(int, int)

loadAll

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

Does the same thing as TaxonGroupDao.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 TaxonGroupDao
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:
TaxonGroupDao.loadAll(int, int, int)

create

public TaxonGroup create(TaxonGroup taxonGroup)
Description copied from interface: TaxonGroupDao
Creates an instance of fr.ifremer.allegro.referential.taxon.TaxonGroup and adds it to the persistent store.

Specified by:
create in interface TaxonGroupDao
See Also:
TaxonGroupDao.create(fr.ifremer.allegro.referential.taxon.TaxonGroup)

create

public java.lang.Object create(int transform,
                               TaxonGroup taxonGroup)
Description copied from interface: TaxonGroupDao

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

create

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

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

create

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

Does the same thing as TaxonGroupDao.create(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 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 TaxonGroupDao
See Also:
TaxonGroupDao.create(int, java.util.Collection)

create

public TaxonGroup create(java.lang.String label,
                         java.lang.String name,
                         java.lang.String comments,
                         java.lang.Boolean isChildGroupExclusive,
                         java.lang.Boolean isUpdatable,
                         java.util.Date creationDate,
                         java.sql.Timestamp updateDate,
                         TaxonGroupType taxonGroupType,
                         Status status,
                         java.util.Collection taxonGroupHistoricalRecords,
                         java.util.Collection taxonGroupInformations,
                         java.util.Collection childTaxonGroup,
                         TaxonGroup parentTaxonGroup)
Description copied from interface: TaxonGroupDao

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

Specified by:
create in interface TaxonGroupDao
See Also:
TaxonGroupDao.create(java.lang.String,java.lang.String,java.lang.String,java.lang.Boolean,java.lang.Boolean,java.util.Date,java.sql.Timestamp,fr.ifremer.allegro.referential.taxon.TaxonGroupType,fr.ifremer.allegro.referential.Status,java.util.Collection,java.util.Collection,java.util.Collection,fr.ifremer.allegro.referential.taxon.TaxonGroup)

create

public java.lang.Object create(int transform,
                               java.lang.String label,
                               java.lang.String name,
                               java.lang.String comments,
                               java.lang.Boolean isChildGroupExclusive,
                               java.lang.Boolean isUpdatable,
                               java.util.Date creationDate,
                               java.sql.Timestamp updateDate,
                               TaxonGroupType taxonGroupType,
                               Status status,
                               java.util.Collection taxonGroupHistoricalRecords,
                               java.util.Collection taxonGroupInformations,
                               java.util.Collection childTaxonGroup,
                               TaxonGroup parentTaxonGroup)
Description copied from interface: TaxonGroupDao

Does the same thing as TaxonGroupDao.create(java.lang.String,java.lang.String,java.lang.String,java.lang.Boolean,java.lang.Boolean,java.util.Date,java.sql.Timestamp,fr.ifremer.allegro.referential.taxon.TaxonGroupType,fr.ifremer.allegro.referential.Status,java.util.Collection,java.util.Collection,java.util.Collection,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 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 TaxonGroupDao
See Also:
TaxonGroupDao.create(int, java.lang.String,java.lang.String,java.lang.String,java.lang.Boolean,java.lang.Boolean,java.util.Date,java.sql.Timestamp,fr.ifremer.allegro.referential.taxon.TaxonGroupType,fr.ifremer.allegro.referential.Status,java.util.Collection,java.util.Collection,java.util.Collection,fr.ifremer.allegro.referential.taxon.TaxonGroup)

create

public TaxonGroup create(java.util.Date creationDate,
                         java.lang.Boolean isChildGroupExclusive,
                         java.lang.Boolean isUpdatable,
                         java.lang.String name,
                         Status status,
                         TaxonGroupType taxonGroupType)
Description copied from interface: TaxonGroupDao

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

Specified by:
create in interface TaxonGroupDao
See Also:
TaxonGroupDao.create(java.util.Date,java.lang.Boolean,java.lang.Boolean,java.lang.String,fr.ifremer.allegro.referential.Status,fr.ifremer.allegro.referential.taxon.TaxonGroupType)

create

public java.lang.Object create(int transform,
                               java.util.Date creationDate,
                               java.lang.Boolean isChildGroupExclusive,
                               java.lang.Boolean isUpdatable,
                               java.lang.String name,
                               Status status,
                               TaxonGroupType taxonGroupType)
Description copied from interface: TaxonGroupDao

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

update

public void update(TaxonGroup taxonGroup)
Description copied from interface: TaxonGroupDao
Updates the taxonGroup instance in the persistent store.

Specified by:
update in interface TaxonGroupDao
See Also:
TaxonGroupDao.update(fr.ifremer.allegro.referential.taxon.TaxonGroup)

update

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

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

remove

public void remove(TaxonGroup taxonGroup)
Description copied from interface: TaxonGroupDao
Removes the instance of fr.ifremer.allegro.referential.taxon.TaxonGroup from the persistent store.

Specified by:
remove in interface TaxonGroupDao
See Also:
TaxonGroupDao.remove(fr.ifremer.allegro.referential.taxon.TaxonGroup)

remove

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

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

remove

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

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

getAllTaxonGroup

public java.util.Collection getAllTaxonGroup()
Specified by:
getAllTaxonGroup in interface TaxonGroupDao
See Also:
TaxonGroupDao.getAllTaxonGroup()

getAllTaxonGroup

public java.util.Collection getAllTaxonGroup(int transform)
Description copied from interface: TaxonGroupDao

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

getAllTaxonGroup

public java.util.Collection getAllTaxonGroup(java.lang.String queryString)
Description copied from interface: TaxonGroupDao

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

Specified by:
getAllTaxonGroup in interface TaxonGroupDao
See Also:
TaxonGroupDao.getAllTaxonGroup(java.lang.String)

getAllTaxonGroup

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

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

getAllTaxonGroup

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

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

getAllTaxonGroup

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

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

Specified by:
getAllTaxonGroup in interface TaxonGroupDao
See Also:
TaxonGroupDao.getAllTaxonGroup(int, String)

getAllTaxonGroup

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

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

getAllTaxonGroup

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

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

findTaxonGroupById

public TaxonGroup findTaxonGroupById(java.lang.Integer id)
Specified by:
findTaxonGroupById in interface TaxonGroupDao
See Also:
TaxonGroupDao.findTaxonGroupById(java.lang.Integer)

findTaxonGroupById

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

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

findTaxonGroupById

public TaxonGroup findTaxonGroupById(java.lang.String queryString,
                                     java.lang.Integer id)
Description copied from interface: TaxonGroupDao

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

Specified by:
findTaxonGroupById in interface TaxonGroupDao
See Also:
TaxonGroupDao.findTaxonGroupById(java.lang.String, java.lang.Integer)

findTaxonGroupById

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

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

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

findTaxonGroupByTaxonGroupType

public java.util.Collection findTaxonGroupByTaxonGroupType(TaxonGroupType taxonGroupType)
Specified by:
findTaxonGroupByTaxonGroupType in interface TaxonGroupDao
See Also:
TaxonGroupDao.findTaxonGroupByTaxonGroupType(fr.ifremer.allegro.referential.taxon.TaxonGroupType)

findTaxonGroupByTaxonGroupType

public java.util.Collection findTaxonGroupByTaxonGroupType(int transform,
                                                           TaxonGroupType taxonGroupType)
Description copied from interface: TaxonGroupDao

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

findTaxonGroupByTaxonGroupType

public java.util.Collection findTaxonGroupByTaxonGroupType(java.lang.String queryString,
                                                           TaxonGroupType taxonGroupType)
Description copied from interface: TaxonGroupDao

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

Specified by:
findTaxonGroupByTaxonGroupType in interface TaxonGroupDao
See Also:
TaxonGroupDao.findTaxonGroupByTaxonGroupType(java.lang.String, fr.ifremer.allegro.referential.taxon.TaxonGroupType)

findTaxonGroupByTaxonGroupType

public java.util.Collection findTaxonGroupByTaxonGroupType(int pageNumber,
                                                           int pageSize,
                                                           TaxonGroupType taxonGroupType)
Description copied from interface: TaxonGroupDao

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

findTaxonGroupByTaxonGroupType

public java.util.Collection findTaxonGroupByTaxonGroupType(java.lang.String queryString,
                                                           int pageNumber,
                                                           int pageSize,
                                                           TaxonGroupType taxonGroupType)
Description copied from interface: TaxonGroupDao

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

findTaxonGroupByTaxonGroupType

public java.util.Collection findTaxonGroupByTaxonGroupType(int transform,
                                                           java.lang.String queryString,
                                                           TaxonGroupType taxonGroupType)
Description copied from interface: TaxonGroupDao

Does the same thing as TaxonGroupDao.findTaxonGroupByTaxonGroupType(int, fr.ifremer.allegro.referential.taxon.TaxonGroupType) with an additional argument called queryString. This queryString argument allows you to override the query string defined in TaxonGroupDao.findTaxonGroupByTaxonGroupType(int, fr.ifremer.allegro.referential.taxon.TaxonGroupType taxonGroupType).

Specified by:
findTaxonGroupByTaxonGroupType in interface TaxonGroupDao
See Also:
TaxonGroupDao.findTaxonGroupByTaxonGroupType(int, String, fr.ifremer.allegro.referential.taxon.TaxonGroupType)

findTaxonGroupByTaxonGroupType

public java.util.Collection findTaxonGroupByTaxonGroupType(int transform,
                                                           int pageNumber,
                                                           int pageSize,
                                                           TaxonGroupType taxonGroupType)
Description copied from interface: TaxonGroupDao

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

findTaxonGroupByTaxonGroupType

public java.util.Collection findTaxonGroupByTaxonGroupType(int transform,
                                                           java.lang.String queryString,
                                                           int pageNumber,
                                                           int pageSize,
                                                           TaxonGroupType taxonGroupType)
Description copied from interface: TaxonGroupDao

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

findTaxonGroupByParentTaxonGroup

public java.util.Collection findTaxonGroupByParentTaxonGroup(TaxonGroup parentTaxonGroup)
Specified by:
findTaxonGroupByParentTaxonGroup in interface TaxonGroupDao
See Also:
TaxonGroupDao.findTaxonGroupByParentTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup)

findTaxonGroupByParentTaxonGroup

public java.util.Collection findTaxonGroupByParentTaxonGroup(int transform,
                                                             TaxonGroup parentTaxonGroup)
Description copied from interface: TaxonGroupDao

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

findTaxonGroupByParentTaxonGroup

public java.util.Collection findTaxonGroupByParentTaxonGroup(java.lang.String queryString,
                                                             TaxonGroup parentTaxonGroup)
Description copied from interface: TaxonGroupDao

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

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

findTaxonGroupByParentTaxonGroup

public java.util.Collection findTaxonGroupByParentTaxonGroup(int pageNumber,
                                                             int pageSize,
                                                             TaxonGroup parentTaxonGroup)
Description copied from interface: TaxonGroupDao

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

findTaxonGroupByParentTaxonGroup

public java.util.Collection findTaxonGroupByParentTaxonGroup(java.lang.String queryString,
                                                             int pageNumber,
                                                             int pageSize,
                                                             TaxonGroup parentTaxonGroup)
Description copied from interface: TaxonGroupDao

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

findTaxonGroupByParentTaxonGroup

public java.util.Collection findTaxonGroupByParentTaxonGroup(int transform,
                                                             java.lang.String queryString,
                                                             TaxonGroup parentTaxonGroup)
Description copied from interface: TaxonGroupDao

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

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

findTaxonGroupByParentTaxonGroup

public java.util.Collection findTaxonGroupByParentTaxonGroup(int transform,
                                                             int pageNumber,
                                                             int pageSize,
                                                             TaxonGroup parentTaxonGroup)
Description copied from interface: TaxonGroupDao

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

findTaxonGroupByParentTaxonGroup

public java.util.Collection findTaxonGroupByParentTaxonGroup(int transform,
                                                             java.lang.String queryString,
                                                             int pageNumber,
                                                             int pageSize,
                                                             TaxonGroup parentTaxonGroup)
Description copied from interface: TaxonGroupDao

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

findTaxonGroupByStatus

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

findTaxonGroupByStatus

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

Does the same thing as TaxonGroupDao.findTaxonGroupByStatus(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:
findTaxonGroupByStatus in interface TaxonGroupDao
See Also:
TaxonGroupDao.findTaxonGroupByStatus(int, fr.ifremer.allegro.referential.Status)

findTaxonGroupByStatus

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

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

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

findTaxonGroupByStatus

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

Does the same thing as TaxonGroupDao.findTaxonGroupByStatus(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:
findTaxonGroupByStatus in interface TaxonGroupDao
See Also:
TaxonGroupDao.findTaxonGroupByStatus(int, int, fr.ifremer.allegro.referential.Status)

findTaxonGroupByStatus

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

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

findTaxonGroupByStatus

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

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

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

findTaxonGroupByStatus

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

Does the same thing as TaxonGroupDao.findTaxonGroupByStatus(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:
findTaxonGroupByStatus in interface TaxonGroupDao
See Also:
TaxonGroupDao.findTaxonGroupByStatus(int, int, int, fr.ifremer.allegro.referential.Status)

findTaxonGroupByStatus

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

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

findTaxonGroupByNaturalId

public TaxonGroup findTaxonGroupByNaturalId(java.lang.String name,
                                            TaxonGroupType taxonGroupType,
                                            TaxonGroup parentTaxonGroup)
Specified by:
findTaxonGroupByNaturalId in interface TaxonGroupDao
See Also:
TaxonGroupDao.findTaxonGroupByNaturalId(java.lang.String, fr.ifremer.allegro.referential.taxon.TaxonGroupType, fr.ifremer.allegro.referential.taxon.TaxonGroup)

findTaxonGroupByNaturalId

public java.lang.Object findTaxonGroupByNaturalId(int transform,
                                                  java.lang.String name,
                                                  TaxonGroupType taxonGroupType,
                                                  TaxonGroup parentTaxonGroup)
Description copied from interface: TaxonGroupDao

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

findTaxonGroupByNaturalId

public TaxonGroup findTaxonGroupByNaturalId(java.lang.String queryString,
                                            java.lang.String name,
                                            TaxonGroupType taxonGroupType,
                                            TaxonGroup parentTaxonGroup)
Description copied from interface: TaxonGroupDao

Does the same thing as TaxonGroupDao.findTaxonGroupByNaturalId(java.lang.String, fr.ifremer.allegro.referential.taxon.TaxonGroupType, fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional argument called queryString. This queryString argument allows you to override the query string defined in TaxonGroupDao.findTaxonGroupByNaturalId(java.lang.String, fr.ifremer.allegro.referential.taxon.TaxonGroupType, fr.ifremer.allegro.referential.taxon.TaxonGroup).

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

findTaxonGroupByNaturalId

public java.lang.Object findTaxonGroupByNaturalId(int transform,
                                                  java.lang.String queryString,
                                                  java.lang.String name,
                                                  TaxonGroupType taxonGroupType,
                                                  TaxonGroup parentTaxonGroup)
Description copied from interface: TaxonGroupDao

Does the same thing as TaxonGroupDao.findTaxonGroupByNaturalId(int, java.lang.String, fr.ifremer.allegro.referential.taxon.TaxonGroupType, fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional argument called queryString. This queryString argument allows you to override the query string defined in TaxonGroupDao.findTaxonGroupByNaturalId(int, java.lang.String name, fr.ifremer.allegro.referential.taxon.TaxonGroupType taxonGroupType, fr.ifremer.allegro.referential.taxon.TaxonGroup parentTaxonGroup).

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

getAllTaxonGroupSinceDateSynchro

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

getAllTaxonGroupSinceDateSynchro

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

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

getAllTaxonGroupSinceDateSynchro

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

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

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

getAllTaxonGroupSinceDateSynchro

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

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

getAllTaxonGroupSinceDateSynchro

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

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

getAllTaxonGroupSinceDateSynchro

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

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

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

getAllTaxonGroupSinceDateSynchro

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

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

getAllTaxonGroupSinceDateSynchro

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

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

createFromClusterTaxonGroup

public TaxonGroup createFromClusterTaxonGroup(ClusterTaxonGroup clusterTaxonGroup)
Specified by:
createFromClusterTaxonGroup in interface TaxonGroupDao
See Also:
TaxonGroupDao.createFromClusterTaxonGroup(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterTaxonGroup)

handleCreateFromClusterTaxonGroup

protected abstract TaxonGroup handleCreateFromClusterTaxonGroup(ClusterTaxonGroup clusterTaxonGroup)
                                                         throws java.lang.Exception
Performs the core logic for createFromClusterTaxonGroup(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterTaxonGroup)

Throws:
java.lang.Exception

getAllClusterTaxonGroupSinceDateSynchro

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

handleGetAllClusterTaxonGroupSinceDateSynchro

protected abstract ClusterTaxonGroup[] handleGetAllClusterTaxonGroupSinceDateSynchro(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 getAllClusterTaxonGroupSinceDateSynchro(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,
                                           TaxonGroup 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.taxon.TaxonGroupDao, please note that the TaxonGroupDao.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 TaxonGroupDao.TRANSFORM_NONE is assumed.

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

This method is to be used internally only.

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

toEntity

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

toRemoteTaxonGroupFullVOCollection

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

Specified by:
toRemoteTaxonGroupFullVOCollection in interface TaxonGroupDao
See Also:
TaxonGroupDao.toRemoteTaxonGroupFullVOCollection(java.util.Collection)

toRemoteTaxonGroupFullVOArray

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

Specified by:
toRemoteTaxonGroupFullVOArray in interface TaxonGroupDao
See Also:
TaxonGroupDao.toRemoteTaxonGroupFullVOArray(java.util.Collection)

toRemoteTaxonGroupFullVO

protected RemoteTaxonGroupFullVO toRemoteTaxonGroupFullVO(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 TaxonGroupDaoImpl class if you intend to use reporting queries.

See Also:
TaxonGroupDao.toRemoteTaxonGroupFullVO(fr.ifremer.allegro.referential.taxon.TaxonGroup)

remoteTaxonGroupFullVOToEntityCollection

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

Specified by:
remoteTaxonGroupFullVOToEntityCollection in interface TaxonGroupDao
See Also:
TaxonGroupDao.remoteTaxonGroupFullVOToEntityCollection(java.util.Collection)

toRemoteTaxonGroupFullVO

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

toRemoteTaxonGroupFullVO

public RemoteTaxonGroupFullVO toRemoteTaxonGroupFullVO(TaxonGroup entity)
Description copied from interface: TaxonGroupDao
Converts this DAO's entity to an object of type RemoteTaxonGroupFullVO.

Specified by:
toRemoteTaxonGroupFullVO in interface TaxonGroupDao
See Also:
TaxonGroupDao.toRemoteTaxonGroupFullVO(fr.ifremer.allegro.referential.taxon.TaxonGroup)

remoteTaxonGroupFullVOToEntity

public void remoteTaxonGroupFullVOToEntity(RemoteTaxonGroupFullVO source,
                                           TaxonGroup target,
                                           boolean copyIfNull)
Description copied from interface: TaxonGroupDao
Copies the fields of RemoteTaxonGroupFullVO to the specified entity.

Specified by:
remoteTaxonGroupFullVOToEntity in interface TaxonGroupDao
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.taxon.TaxonGroupDao#remoteTaxonGroupFullVOToEntity(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonGroupFullVO, fr.ifremer.allegro.referential.taxon.TaxonGroup)

toRemoteTaxonGroupNaturalIdCollection

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

Specified by:
toRemoteTaxonGroupNaturalIdCollection in interface TaxonGroupDao
See Also:
TaxonGroupDao.toRemoteTaxonGroupNaturalIdCollection(java.util.Collection)

toRemoteTaxonGroupNaturalIdArray

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

Specified by:
toRemoteTaxonGroupNaturalIdArray in interface TaxonGroupDao
See Also:
TaxonGroupDao.toRemoteTaxonGroupNaturalIdArray(java.util.Collection)

toRemoteTaxonGroupNaturalId

protected RemoteTaxonGroupNaturalId toRemoteTaxonGroupNaturalId(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 TaxonGroupDaoImpl class if you intend to use reporting queries.

See Also:
TaxonGroupDao.toRemoteTaxonGroupNaturalId(fr.ifremer.allegro.referential.taxon.TaxonGroup)

remoteTaxonGroupNaturalIdToEntityCollection

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

Specified by:
remoteTaxonGroupNaturalIdToEntityCollection in interface TaxonGroupDao
See Also:
TaxonGroupDao.remoteTaxonGroupNaturalIdToEntityCollection(java.util.Collection)

toRemoteTaxonGroupNaturalId

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

toRemoteTaxonGroupNaturalId

public RemoteTaxonGroupNaturalId toRemoteTaxonGroupNaturalId(TaxonGroup entity)
Description copied from interface: TaxonGroupDao
Converts this DAO's entity to an object of type RemoteTaxonGroupNaturalId.

Specified by:
toRemoteTaxonGroupNaturalId in interface TaxonGroupDao
See Also:
TaxonGroupDao.toRemoteTaxonGroupNaturalId(fr.ifremer.allegro.referential.taxon.TaxonGroup)

remoteTaxonGroupNaturalIdToEntity

public void remoteTaxonGroupNaturalIdToEntity(RemoteTaxonGroupNaturalId source,
                                              TaxonGroup target,
                                              boolean copyIfNull)
Description copied from interface: TaxonGroupDao
Copies the fields of RemoteTaxonGroupNaturalId to the specified entity.

Specified by:
remoteTaxonGroupNaturalIdToEntity in interface TaxonGroupDao
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.taxon.TaxonGroupDao#remoteTaxonGroupNaturalIdToEntity(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonGroupNaturalId, fr.ifremer.allegro.referential.taxon.TaxonGroup)

toClusterTaxonGroupCollection

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

Specified by:
toClusterTaxonGroupCollection in interface TaxonGroupDao
See Also:
TaxonGroupDao.toClusterTaxonGroupCollection(java.util.Collection)

toClusterTaxonGroupArray

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

Specified by:
toClusterTaxonGroupArray in interface TaxonGroupDao
See Also:
TaxonGroupDao.toClusterTaxonGroupArray(java.util.Collection)

toClusterTaxonGroup

protected ClusterTaxonGroup toClusterTaxonGroup(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 TaxonGroupDaoImpl class if you intend to use reporting queries.

See Also:
TaxonGroupDao.toClusterTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup)

clusterTaxonGroupToEntityCollection

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

Specified by:
clusterTaxonGroupToEntityCollection in interface TaxonGroupDao
See Also:
TaxonGroupDao.clusterTaxonGroupToEntityCollection(java.util.Collection)

toClusterTaxonGroup

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

toClusterTaxonGroup

public ClusterTaxonGroup toClusterTaxonGroup(TaxonGroup entity)
Description copied from interface: TaxonGroupDao
Converts this DAO's entity to an object of type ClusterTaxonGroup.

Specified by:
toClusterTaxonGroup in interface TaxonGroupDao
See Also:
TaxonGroupDao.toClusterTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup)

clusterTaxonGroupToEntity

public void clusterTaxonGroupToEntity(ClusterTaxonGroup source,
                                      TaxonGroup target,
                                      boolean copyIfNull)
Description copied from interface: TaxonGroupDao
Copies the fields of ClusterTaxonGroup to the specified entity.

Specified by:
clusterTaxonGroupToEntity in interface TaxonGroupDao
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.taxon.TaxonGroupDao#clusterTaxonGroupToEntity(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterTaxonGroup, fr.ifremer.allegro.referential.taxon.TaxonGroup)

getPrincipal

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

Returns:
the current principal

search

public PaginationResult search(int transform,
                               int pageNumber,
                               int pageSize,
                               Search search)
Description copied from interface: TaxonGroupDao
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 TaxonGroupDao
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:
TaxonGroupDao.search(int, int, int, fr.ifremer.allegro.Search)

search

public PaginationResult search(int pageNumber,
                               int pageSize,
                               Search search)
Description copied from interface: TaxonGroupDao
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 TaxonGroupDao
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:
TaxonGroupDao.search(int, int, fr.ifremer.allegro.Search)

search

public java.util.Set search(int transform,
                            Search search)
Description copied from interface: TaxonGroupDao
Does the same thing as TaxonGroupDao.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 TaxonGroupDao
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:
TaxonGroupDao.search(int, fr.ifremer.allegro.Search)

search

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

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


Copyright © 2008-2010 IFREMER. All Rights Reserved.