fr.ifremer.allegro.referential.taxon
Class TaxonNameHistoryDaoBase

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

public abstract class TaxonNameHistoryDaoBase
extends org.springframework.orm.hibernate3.support.HibernateDaoSupport
implements TaxonNameHistoryDao

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

See Also:
TaxonNameHistory

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.taxon.TaxonNameHistoryDao
TRANSFORM_CLUSTERTAXONNAMEHISTORY, TRANSFORM_NONE, TRANSFORM_REMOTETAXONNAMEHISTORYFULLVO, TRANSFORM_REMOTETAXONNAMEHISTORYNATURALID
 
Constructor Summary
TaxonNameHistoryDaoBase()
           
 
Method Summary
 void clusterTaxonNameHistoryToEntity(ClusterTaxonNameHistory source, TaxonNameHistory target, boolean copyIfNull)
          Copies the fields of ClusterTaxonNameHistory to the specified entity.
 void clusterTaxonNameHistoryToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type ClusterTaxonNameHistory to this DAO's entity.
 java.util.Collection create(java.util.Collection entities)
          Creates a new instance of fr.ifremer.allegro.referential.taxon.TaxonNameHistory and adds from the passed in entities collection
 java.util.Collection create(int transform, java.util.Collection entities)
           Does the same thing as TaxonNameHistoryDao.create(fr.ifremer.allegro.referential.taxon.TaxonNameHistory) with an additional flag called transform.
 java.lang.Object create(int transform, java.lang.String name, java.lang.String comments, java.lang.Integer upperRank, java.lang.Boolean isReferent, java.lang.Boolean isVirtual, java.lang.Boolean isObsolete, java.lang.Boolean isTemporary, java.sql.Timestamp updateDate, Citation citation, TaxonName parentTaxonName, TaxonName taxonName)
           Does the same thing as TaxonNameHistoryDao.create(java.lang.String,java.lang.String,java.lang.Integer,java.lang.Boolean,java.lang.Boolean,java.lang.Boolean,java.lang.Boolean,java.sql.Timestamp,fr.ifremer.allegro.referential.taxon.Citation,fr.ifremer.allegro.referential.taxon.TaxonName,fr.ifremer.allegro.referential.taxon.TaxonName) with an additional flag called transform.
 java.lang.Object create(int transform, TaxonNameHistory taxonNameHistory)
           Does the same thing as TaxonNameHistoryDao.create(fr.ifremer.allegro.referential.taxon.TaxonNameHistory) with an additional flag called transform.
 TaxonNameHistory create(java.lang.String name, java.lang.String comments, java.lang.Integer upperRank, java.lang.Boolean isReferent, java.lang.Boolean isVirtual, java.lang.Boolean isObsolete, java.lang.Boolean isTemporary, java.sql.Timestamp updateDate, Citation citation, TaxonName parentTaxonName, TaxonName taxonName)
           Creates a new fr.ifremer.allegro.referential.taxon.TaxonNameHistory instance from all attributes and properties and adds it to the persistent store.
 TaxonNameHistory create(TaxonNameHistory taxonNameHistory)
          Creates an instance of fr.ifremer.allegro.referential.taxon.TaxonNameHistory and adds it to the persistent store.
 TaxonNameHistory createFromClusterTaxonNameHistory(ClusterTaxonNameHistory clusterTaxonNameHistory)
           
 java.util.Collection findTaxonNameHistoryByCitation(Citation citation)
           
 java.util.Collection findTaxonNameHistoryByCitation(int transform, Citation citation)
           Does the same thing as TaxonNameHistoryDao.findTaxonNameHistoryByCitation(fr.ifremer.allegro.referential.taxon.Citation) with an additional flag called transform.
 java.util.Collection findTaxonNameHistoryByCitation(int pageNumber, int pageSize, Citation citation)
           Does the same thing as TaxonNameHistoryDao.findTaxonNameHistoryByCitation(fr.ifremer.allegro.referential.taxon.Citation) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findTaxonNameHistoryByCitation(int transform, int pageNumber, int pageSize, Citation citation)
           Does the same thing as TaxonNameHistoryDao.findTaxonNameHistoryByCitation(int, fr.ifremer.allegro.referential.taxon.Citation) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findTaxonNameHistoryByCitation(int transform, java.lang.String queryString, Citation citation)
           Does the same thing as TaxonNameHistoryDao.findTaxonNameHistoryByCitation(int, fr.ifremer.allegro.referential.taxon.Citation) with an additional argument called queryString.
 java.util.Collection findTaxonNameHistoryByCitation(int transform, java.lang.String queryString, int pageNumber, int pageSize, Citation citation)
           Does the same thing as TaxonNameHistoryDao.findTaxonNameHistoryByCitation(int, String, fr.ifremer.allegro.referential.taxon.Citation) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findTaxonNameHistoryByCitation(java.lang.String queryString, Citation citation)
           Does the same thing as TaxonNameHistoryDao.findTaxonNameHistoryByCitation(fr.ifremer.allegro.referential.taxon.Citation) with an additional argument called queryString.
 java.util.Collection findTaxonNameHistoryByCitation(java.lang.String queryString, int pageNumber, int pageSize, Citation citation)
           Does the same thing as TaxonNameHistoryDao.findTaxonNameHistoryByCitation(String, fr.ifremer.allegro.referential.taxon.Citation) with an additional two arguments called pageNumber and pageSize.
 TaxonNameHistory findTaxonNameHistoryById(java.lang.Integer id)
           
 java.lang.Object findTaxonNameHistoryById(int transform, java.lang.Integer id)
           Does the same thing as TaxonNameHistoryDao.findTaxonNameHistoryById(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findTaxonNameHistoryById(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as TaxonNameHistoryDao.findTaxonNameHistoryById(int, java.lang.Integer) with an additional argument called queryString.
 TaxonNameHistory findTaxonNameHistoryById(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as TaxonNameHistoryDao.findTaxonNameHistoryById(java.lang.Integer) with an additional argument called queryString.
 TaxonNameHistory findTaxonNameHistoryByNaturalId(java.lang.Integer id)
           
 java.lang.Object findTaxonNameHistoryByNaturalId(int transform, java.lang.Integer id)
           Does the same thing as TaxonNameHistoryDao.findTaxonNameHistoryByNaturalId(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findTaxonNameHistoryByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as TaxonNameHistoryDao.findTaxonNameHistoryByNaturalId(int, java.lang.Integer) with an additional argument called queryString.
 TaxonNameHistory findTaxonNameHistoryByNaturalId(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as TaxonNameHistoryDao.findTaxonNameHistoryByNaturalId(java.lang.Integer) with an additional argument called queryString.
 java.util.Collection findTaxonNameHistoryByParentTaxonName(int transform, int pageNumber, int pageSize, TaxonName parentTaxonName)
           Does the same thing as TaxonNameHistoryDao.findTaxonNameHistoryByParentTaxonName(int, fr.ifremer.allegro.referential.taxon.TaxonName) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findTaxonNameHistoryByParentTaxonName(int pageNumber, int pageSize, TaxonName parentTaxonName)
           Does the same thing as TaxonNameHistoryDao.findTaxonNameHistoryByParentTaxonName(fr.ifremer.allegro.referential.taxon.TaxonName) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findTaxonNameHistoryByParentTaxonName(int transform, java.lang.String queryString, int pageNumber, int pageSize, TaxonName parentTaxonName)
           Does the same thing as TaxonNameHistoryDao.findTaxonNameHistoryByParentTaxonName(int, String, fr.ifremer.allegro.referential.taxon.TaxonName) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findTaxonNameHistoryByParentTaxonName(int transform, java.lang.String queryString, TaxonName parentTaxonName)
           Does the same thing as TaxonNameHistoryDao.findTaxonNameHistoryByParentTaxonName(int, fr.ifremer.allegro.referential.taxon.TaxonName) with an additional argument called queryString.
 java.util.Collection findTaxonNameHistoryByParentTaxonName(int transform, TaxonName parentTaxonName)
           Does the same thing as TaxonNameHistoryDao.findTaxonNameHistoryByParentTaxonName(fr.ifremer.allegro.referential.taxon.TaxonName) with an additional flag called transform.
 java.util.Collection findTaxonNameHistoryByParentTaxonName(java.lang.String queryString, int pageNumber, int pageSize, TaxonName parentTaxonName)
           Does the same thing as TaxonNameHistoryDao.findTaxonNameHistoryByParentTaxonName(String, fr.ifremer.allegro.referential.taxon.TaxonName) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findTaxonNameHistoryByParentTaxonName(java.lang.String queryString, TaxonName parentTaxonName)
           Does the same thing as TaxonNameHistoryDao.findTaxonNameHistoryByParentTaxonName(fr.ifremer.allegro.referential.taxon.TaxonName) with an additional argument called queryString.
 java.util.Collection findTaxonNameHistoryByParentTaxonName(TaxonName parentTaxonName)
           
 java.util.Collection findTaxonNameHistoryByTaxonName(int transform, int pageNumber, int pageSize, TaxonName taxonName)
           Does the same thing as TaxonNameHistoryDao.findTaxonNameHistoryByTaxonName(int, fr.ifremer.allegro.referential.taxon.TaxonName) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findTaxonNameHistoryByTaxonName(int pageNumber, int pageSize, TaxonName taxonName)
           Does the same thing as TaxonNameHistoryDao.findTaxonNameHistoryByTaxonName(fr.ifremer.allegro.referential.taxon.TaxonName) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findTaxonNameHistoryByTaxonName(int transform, java.lang.String queryString, int pageNumber, int pageSize, TaxonName taxonName)
           Does the same thing as TaxonNameHistoryDao.findTaxonNameHistoryByTaxonName(int, String, fr.ifremer.allegro.referential.taxon.TaxonName) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findTaxonNameHistoryByTaxonName(int transform, java.lang.String queryString, TaxonName taxonName)
           Does the same thing as TaxonNameHistoryDao.findTaxonNameHistoryByTaxonName(int, fr.ifremer.allegro.referential.taxon.TaxonName) with an additional argument called queryString.
 java.util.Collection findTaxonNameHistoryByTaxonName(int transform, TaxonName taxonName)
           Does the same thing as TaxonNameHistoryDao.findTaxonNameHistoryByTaxonName(fr.ifremer.allegro.referential.taxon.TaxonName) with an additional flag called transform.
 java.util.Collection findTaxonNameHistoryByTaxonName(java.lang.String queryString, int pageNumber, int pageSize, TaxonName taxonName)
           Does the same thing as TaxonNameHistoryDao.findTaxonNameHistoryByTaxonName(String, fr.ifremer.allegro.referential.taxon.TaxonName) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findTaxonNameHistoryByTaxonName(java.lang.String queryString, TaxonName taxonName)
           Does the same thing as TaxonNameHistoryDao.findTaxonNameHistoryByTaxonName(fr.ifremer.allegro.referential.taxon.TaxonName) with an additional argument called queryString.
 java.util.Collection findTaxonNameHistoryByTaxonName(TaxonName taxonName)
           
 ClusterTaxonNameHistory[] getAllClusterTaxonNameHistorySinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
 java.util.Collection getAllTaxonNameHistory()
           
 java.util.Collection getAllTaxonNameHistory(int transform)
           Does the same thing as TaxonNameHistoryDao.getAllTaxonNameHistory() with an additional flag called transform.
 java.util.Collection getAllTaxonNameHistory(int pageNumber, int pageSize)
           Does the same thing as TaxonNameHistoryDao.getAllTaxonNameHistory() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllTaxonNameHistory(int transform, int pageNumber, int pageSize)
           Does the same thing as TaxonNameHistoryDao.getAllTaxonNameHistory(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllTaxonNameHistory(int transform, java.lang.String queryString)
           Does the same thing as TaxonNameHistoryDao.getAllTaxonNameHistory(int) with an additional argument called queryString.
 java.util.Collection getAllTaxonNameHistory(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as TaxonNameHistoryDao.getAllTaxonNameHistory(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllTaxonNameHistory(java.lang.String queryString)
           Does the same thing as TaxonNameHistoryDao.getAllTaxonNameHistory() with an additional argument called queryString.
 java.util.Collection getAllTaxonNameHistory(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as TaxonNameHistoryDao.getAllTaxonNameHistory(String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllTaxonNameHistorySinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as TaxonNameHistoryDao.getAllTaxonNameHistorySinceDateSynchro(int, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllTaxonNameHistorySinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as TaxonNameHistoryDao.getAllTaxonNameHistorySinceDateSynchro(java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllTaxonNameHistorySinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as TaxonNameHistoryDao.getAllTaxonNameHistorySinceDateSynchro(int, String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllTaxonNameHistorySinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as TaxonNameHistoryDao.getAllTaxonNameHistorySinceDateSynchro(int, java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllTaxonNameHistorySinceDateSynchro(int transform, java.sql.Timestamp updateDate)
           Does the same thing as TaxonNameHistoryDao.getAllTaxonNameHistorySinceDateSynchro(java.sql.Timestamp) with an additional flag called transform.
 java.util.Collection getAllTaxonNameHistorySinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as TaxonNameHistoryDao.getAllTaxonNameHistorySinceDateSynchro(String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllTaxonNameHistorySinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as TaxonNameHistoryDao.getAllTaxonNameHistorySinceDateSynchro(java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllTaxonNameHistorySinceDateSynchro(java.sql.Timestamp updateDate)
           
protected  CitationDao getCitationDao()
          Gets the reference to citationDao.
protected  java.security.Principal getPrincipal()
          Gets the current principal if one has been set, otherwise returns null.
protected  TaxonNameDao getTaxonNameDao()
          Gets the reference to taxonNameDao.
protected abstract  TaxonNameHistory handleCreateFromClusterTaxonNameHistory(ClusterTaxonNameHistory clusterTaxonNameHistory)
          Performs the core logic for createFromClusterTaxonNameHistory(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterTaxonNameHistory)
protected abstract  ClusterTaxonNameHistory[] handleGetAllClusterTaxonNameHistorySinceDateSynchro(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 getAllClusterTaxonNameHistorySinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 TaxonNameHistory load(java.lang.Integer id)
          Loads an instance of fr.ifremer.allegro.referential.taxon.TaxonNameHistory from the persistent store.
 java.lang.Object load(int transform, java.lang.Integer id)
           Does the same thing as TaxonNameHistoryDao.load(java.lang.Integer) with an additional flag called transform.
 java.util.Collection loadAll()
          Loads all entities of type TaxonNameHistory.
 java.util.Collection loadAll(int transform)
           Does the same thing as TaxonNameHistoryDao.loadAll() with an additional flag called transform.
 java.util.Collection loadAll(int pageNumber, int pageSize)
           Does the same thing as TaxonNameHistoryDao.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 TaxonNameHistoryDao.loadAll(int) with an additional two arguments called pageNumber and pageSize.
 void remoteTaxonNameHistoryFullVOToEntity(RemoteTaxonNameHistoryFullVO source, TaxonNameHistory target, boolean copyIfNull)
          Copies the fields of RemoteTaxonNameHistoryFullVO to the specified entity.
 void remoteTaxonNameHistoryFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteTaxonNameHistoryFullVO to this DAO's entity.
 void remoteTaxonNameHistoryNaturalIdToEntity(RemoteTaxonNameHistoryNaturalId source, TaxonNameHistory target, boolean copyIfNull)
          Copies the fields of RemoteTaxonNameHistoryNaturalId to the specified entity.
 void remoteTaxonNameHistoryNaturalIdToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteTaxonNameHistoryNaturalId 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.TaxonNameHistory having the given identifier from the persistent store.
 void remove(TaxonNameHistory taxonNameHistory)
          Removes the instance of fr.ifremer.allegro.referential.taxon.TaxonNameHistory 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 TaxonNameHistoryDao.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 setCitationDao(CitationDao citationDao)
          Sets the reference to citationDao.
 void setTaxonNameDao(TaxonNameDao taxonNameDao)
          Sets the reference to taxonNameDao.
protected  ClusterTaxonNameHistory toClusterTaxonNameHistory(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 ClusterTaxonNameHistory toClusterTaxonNameHistory(TaxonNameHistory entity)
          Converts this DAO's entity to an object of type ClusterTaxonNameHistory.
 void toClusterTaxonNameHistory(TaxonNameHistory source, ClusterTaxonNameHistory target)
          Copies the fields of the specified entity to the target value object.
 ClusterTaxonNameHistory[] toClusterTaxonNameHistoryArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type ClusterTaxonNameHistory.
 void toClusterTaxonNameHistoryCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type ClusterTaxonNameHistory.
protected  TaxonNameHistory toEntity(java.lang.Object[] row)
           
protected  RemoteTaxonNameHistoryFullVO toRemoteTaxonNameHistoryFullVO(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteTaxonNameHistoryFullVO toRemoteTaxonNameHistoryFullVO(TaxonNameHistory entity)
          Converts this DAO's entity to an object of type RemoteTaxonNameHistoryFullVO.
 void toRemoteTaxonNameHistoryFullVO(TaxonNameHistory source, RemoteTaxonNameHistoryFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteTaxonNameHistoryFullVO[] toRemoteTaxonNameHistoryFullVOArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteTaxonNameHistoryFullVO.
 void toRemoteTaxonNameHistoryFullVOCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteTaxonNameHistoryFullVO.
protected  RemoteTaxonNameHistoryNaturalId toRemoteTaxonNameHistoryNaturalId(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteTaxonNameHistoryNaturalId toRemoteTaxonNameHistoryNaturalId(TaxonNameHistory entity)
          Converts this DAO's entity to an object of type RemoteTaxonNameHistoryNaturalId.
 void toRemoteTaxonNameHistoryNaturalId(TaxonNameHistory source, RemoteTaxonNameHistoryNaturalId target)
          Copies the fields of the specified entity to the target value object.
 RemoteTaxonNameHistoryNaturalId[] toRemoteTaxonNameHistoryNaturalIdArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteTaxonNameHistoryNaturalId.
 void toRemoteTaxonNameHistoryNaturalIdCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteTaxonNameHistoryNaturalId.
protected  void transformEntities(int transform, java.util.Collection entities)
          Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.taxon.TaxonNameHistory) method.
protected  java.lang.Object transformEntity(int transform, TaxonNameHistory 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.TaxonNameHistoryDao, please note that the TaxonNameHistoryDao.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(TaxonNameHistory taxonNameHistory)
          Updates the taxonNameHistory 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.TaxonNameHistoryDao
clusterTaxonNameHistoryToEntity, remoteTaxonNameHistoryFullVOToEntity, remoteTaxonNameHistoryNaturalIdToEntity
 

Constructor Detail

TaxonNameHistoryDaoBase

public TaxonNameHistoryDaoBase()
Method Detail

setCitationDao

public void setCitationDao(CitationDao citationDao)
Sets the reference to citationDao.


getCitationDao

protected CitationDao getCitationDao()
Gets the reference to citationDao.


setTaxonNameDao

public void setTaxonNameDao(TaxonNameDao taxonNameDao)
Sets the reference to taxonNameDao.


getTaxonNameDao

protected TaxonNameDao getTaxonNameDao()
Gets the reference to taxonNameDao.


load

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

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

load

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

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

loadAll

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

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

loadAll

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

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

loadAll

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

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

loadAll

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

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

create

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

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

create

public java.lang.Object create(int transform,
                               TaxonNameHistory taxonNameHistory)
Description copied from interface: TaxonNameHistoryDao

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

create

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

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

create

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

Does the same thing as TaxonNameHistoryDao.create(fr.ifremer.allegro.referential.taxon.TaxonNameHistory) 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 TaxonNameHistoryDao
See Also:
TaxonNameHistoryDao.create(int, java.util.Collection)

create

public TaxonNameHistory create(java.lang.String name,
                               java.lang.String comments,
                               java.lang.Integer upperRank,
                               java.lang.Boolean isReferent,
                               java.lang.Boolean isVirtual,
                               java.lang.Boolean isObsolete,
                               java.lang.Boolean isTemporary,
                               java.sql.Timestamp updateDate,
                               Citation citation,
                               TaxonName parentTaxonName,
                               TaxonName taxonName)
Description copied from interface: TaxonNameHistoryDao

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

Specified by:
create in interface TaxonNameHistoryDao
See Also:
TaxonNameHistoryDao.create(java.lang.String,java.lang.String,java.lang.Integer,java.lang.Boolean,java.lang.Boolean,java.lang.Boolean,java.lang.Boolean,java.sql.Timestamp,fr.ifremer.allegro.referential.taxon.Citation,fr.ifremer.allegro.referential.taxon.TaxonName,fr.ifremer.allegro.referential.taxon.TaxonName)

create

public java.lang.Object create(int transform,
                               java.lang.String name,
                               java.lang.String comments,
                               java.lang.Integer upperRank,
                               java.lang.Boolean isReferent,
                               java.lang.Boolean isVirtual,
                               java.lang.Boolean isObsolete,
                               java.lang.Boolean isTemporary,
                               java.sql.Timestamp updateDate,
                               Citation citation,
                               TaxonName parentTaxonName,
                               TaxonName taxonName)
Description copied from interface: TaxonNameHistoryDao

Does the same thing as TaxonNameHistoryDao.create(java.lang.String,java.lang.String,java.lang.Integer,java.lang.Boolean,java.lang.Boolean,java.lang.Boolean,java.lang.Boolean,java.sql.Timestamp,fr.ifremer.allegro.referential.taxon.Citation,fr.ifremer.allegro.referential.taxon.TaxonName,fr.ifremer.allegro.referential.taxon.TaxonName) 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 TaxonNameHistoryDao
See Also:
TaxonNameHistoryDao.create(int, java.lang.String,java.lang.String,java.lang.Integer,java.lang.Boolean,java.lang.Boolean,java.lang.Boolean,java.lang.Boolean,java.sql.Timestamp,fr.ifremer.allegro.referential.taxon.Citation,fr.ifremer.allegro.referential.taxon.TaxonName,fr.ifremer.allegro.referential.taxon.TaxonName)

update

public void update(TaxonNameHistory taxonNameHistory)
Description copied from interface: TaxonNameHistoryDao
Updates the taxonNameHistory instance in the persistent store.

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

update

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

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

remove

public void remove(TaxonNameHistory taxonNameHistory)
Description copied from interface: TaxonNameHistoryDao
Removes the instance of fr.ifremer.allegro.referential.taxon.TaxonNameHistory from the persistent store.

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

remove

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

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

remove

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

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

getAllTaxonNameHistory

public java.util.Collection getAllTaxonNameHistory()
Specified by:
getAllTaxonNameHistory in interface TaxonNameHistoryDao
See Also:
TaxonNameHistoryDao.getAllTaxonNameHistory()

getAllTaxonNameHistory

public java.util.Collection getAllTaxonNameHistory(int transform)
Description copied from interface: TaxonNameHistoryDao

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

getAllTaxonNameHistory

public java.util.Collection getAllTaxonNameHistory(java.lang.String queryString)
Description copied from interface: TaxonNameHistoryDao

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

Specified by:
getAllTaxonNameHistory in interface TaxonNameHistoryDao
See Also:
TaxonNameHistoryDao.getAllTaxonNameHistory(java.lang.String)

getAllTaxonNameHistory

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

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

getAllTaxonNameHistory

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

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

getAllTaxonNameHistory

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

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

Specified by:
getAllTaxonNameHistory in interface TaxonNameHistoryDao
See Also:
TaxonNameHistoryDao.getAllTaxonNameHistory(int, String)

getAllTaxonNameHistory

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

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

getAllTaxonNameHistory

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

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

findTaxonNameHistoryById

public TaxonNameHistory findTaxonNameHistoryById(java.lang.Integer id)
Specified by:
findTaxonNameHistoryById in interface TaxonNameHistoryDao
See Also:
TaxonNameHistoryDao.findTaxonNameHistoryById(java.lang.Integer)

findTaxonNameHistoryById

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

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

findTaxonNameHistoryById

public TaxonNameHistory findTaxonNameHistoryById(java.lang.String queryString,
                                                 java.lang.Integer id)
Description copied from interface: TaxonNameHistoryDao

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

Specified by:
findTaxonNameHistoryById in interface TaxonNameHistoryDao
See Also:
TaxonNameHistoryDao.findTaxonNameHistoryById(java.lang.String, java.lang.Integer)

findTaxonNameHistoryById

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

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

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

findTaxonNameHistoryByCitation

public java.util.Collection findTaxonNameHistoryByCitation(Citation citation)
Specified by:
findTaxonNameHistoryByCitation in interface TaxonNameHistoryDao
See Also:
TaxonNameHistoryDao.findTaxonNameHistoryByCitation(fr.ifremer.allegro.referential.taxon.Citation)

findTaxonNameHistoryByCitation

public java.util.Collection findTaxonNameHistoryByCitation(int transform,
                                                           Citation citation)
Description copied from interface: TaxonNameHistoryDao

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

findTaxonNameHistoryByCitation

public java.util.Collection findTaxonNameHistoryByCitation(java.lang.String queryString,
                                                           Citation citation)
Description copied from interface: TaxonNameHistoryDao

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

Specified by:
findTaxonNameHistoryByCitation in interface TaxonNameHistoryDao
See Also:
TaxonNameHistoryDao.findTaxonNameHistoryByCitation(java.lang.String, fr.ifremer.allegro.referential.taxon.Citation)

findTaxonNameHistoryByCitation

public java.util.Collection findTaxonNameHistoryByCitation(int pageNumber,
                                                           int pageSize,
                                                           Citation citation)
Description copied from interface: TaxonNameHistoryDao

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

findTaxonNameHistoryByCitation

public java.util.Collection findTaxonNameHistoryByCitation(java.lang.String queryString,
                                                           int pageNumber,
                                                           int pageSize,
                                                           Citation citation)
Description copied from interface: TaxonNameHistoryDao

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

findTaxonNameHistoryByCitation

public java.util.Collection findTaxonNameHistoryByCitation(int transform,
                                                           java.lang.String queryString,
                                                           Citation citation)
Description copied from interface: TaxonNameHistoryDao

Does the same thing as TaxonNameHistoryDao.findTaxonNameHistoryByCitation(int, fr.ifremer.allegro.referential.taxon.Citation) with an additional argument called queryString. This queryString argument allows you to override the query string defined in TaxonNameHistoryDao.findTaxonNameHistoryByCitation(int, fr.ifremer.allegro.referential.taxon.Citation citation).

Specified by:
findTaxonNameHistoryByCitation in interface TaxonNameHistoryDao
See Also:
TaxonNameHistoryDao.findTaxonNameHistoryByCitation(int, String, fr.ifremer.allegro.referential.taxon.Citation)

findTaxonNameHistoryByCitation

public java.util.Collection findTaxonNameHistoryByCitation(int transform,
                                                           int pageNumber,
                                                           int pageSize,
                                                           Citation citation)
Description copied from interface: TaxonNameHistoryDao

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

findTaxonNameHistoryByCitation

public java.util.Collection findTaxonNameHistoryByCitation(int transform,
                                                           java.lang.String queryString,
                                                           int pageNumber,
                                                           int pageSize,
                                                           Citation citation)
Description copied from interface: TaxonNameHistoryDao

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

findTaxonNameHistoryByTaxonName

public java.util.Collection findTaxonNameHistoryByTaxonName(TaxonName taxonName)
Specified by:
findTaxonNameHistoryByTaxonName in interface TaxonNameHistoryDao
See Also:
TaxonNameHistoryDao.findTaxonNameHistoryByTaxonName(fr.ifremer.allegro.referential.taxon.TaxonName)

findTaxonNameHistoryByTaxonName

public java.util.Collection findTaxonNameHistoryByTaxonName(int transform,
                                                            TaxonName taxonName)
Description copied from interface: TaxonNameHistoryDao

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

findTaxonNameHistoryByTaxonName

public java.util.Collection findTaxonNameHistoryByTaxonName(java.lang.String queryString,
                                                            TaxonName taxonName)
Description copied from interface: TaxonNameHistoryDao

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

Specified by:
findTaxonNameHistoryByTaxonName in interface TaxonNameHistoryDao
See Also:
TaxonNameHistoryDao.findTaxonNameHistoryByTaxonName(java.lang.String, fr.ifremer.allegro.referential.taxon.TaxonName)

findTaxonNameHistoryByTaxonName

public java.util.Collection findTaxonNameHistoryByTaxonName(int pageNumber,
                                                            int pageSize,
                                                            TaxonName taxonName)
Description copied from interface: TaxonNameHistoryDao

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

findTaxonNameHistoryByTaxonName

public java.util.Collection findTaxonNameHistoryByTaxonName(java.lang.String queryString,
                                                            int pageNumber,
                                                            int pageSize,
                                                            TaxonName taxonName)
Description copied from interface: TaxonNameHistoryDao

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

findTaxonNameHistoryByTaxonName

public java.util.Collection findTaxonNameHistoryByTaxonName(int transform,
                                                            java.lang.String queryString,
                                                            TaxonName taxonName)
Description copied from interface: TaxonNameHistoryDao

Does the same thing as TaxonNameHistoryDao.findTaxonNameHistoryByTaxonName(int, fr.ifremer.allegro.referential.taxon.TaxonName) with an additional argument called queryString. This queryString argument allows you to override the query string defined in TaxonNameHistoryDao.findTaxonNameHistoryByTaxonName(int, fr.ifremer.allegro.referential.taxon.TaxonName taxonName).

Specified by:
findTaxonNameHistoryByTaxonName in interface TaxonNameHistoryDao
See Also:
TaxonNameHistoryDao.findTaxonNameHistoryByTaxonName(int, String, fr.ifremer.allegro.referential.taxon.TaxonName)

findTaxonNameHistoryByTaxonName

public java.util.Collection findTaxonNameHistoryByTaxonName(int transform,
                                                            int pageNumber,
                                                            int pageSize,
                                                            TaxonName taxonName)
Description copied from interface: TaxonNameHistoryDao

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

findTaxonNameHistoryByTaxonName

public java.util.Collection findTaxonNameHistoryByTaxonName(int transform,
                                                            java.lang.String queryString,
                                                            int pageNumber,
                                                            int pageSize,
                                                            TaxonName taxonName)
Description copied from interface: TaxonNameHistoryDao

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

findTaxonNameHistoryByParentTaxonName

public java.util.Collection findTaxonNameHistoryByParentTaxonName(TaxonName parentTaxonName)
Specified by:
findTaxonNameHistoryByParentTaxonName in interface TaxonNameHistoryDao
See Also:
TaxonNameHistoryDao.findTaxonNameHistoryByParentTaxonName(fr.ifremer.allegro.referential.taxon.TaxonName)

findTaxonNameHistoryByParentTaxonName

public java.util.Collection findTaxonNameHistoryByParentTaxonName(int transform,
                                                                  TaxonName parentTaxonName)
Description copied from interface: TaxonNameHistoryDao

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

findTaxonNameHistoryByParentTaxonName

public java.util.Collection findTaxonNameHistoryByParentTaxonName(java.lang.String queryString,
                                                                  TaxonName parentTaxonName)
Description copied from interface: TaxonNameHistoryDao

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

Specified by:
findTaxonNameHistoryByParentTaxonName in interface TaxonNameHistoryDao
See Also:
TaxonNameHistoryDao.findTaxonNameHistoryByParentTaxonName(java.lang.String, fr.ifremer.allegro.referential.taxon.TaxonName)

findTaxonNameHistoryByParentTaxonName

public java.util.Collection findTaxonNameHistoryByParentTaxonName(int pageNumber,
                                                                  int pageSize,
                                                                  TaxonName parentTaxonName)
Description copied from interface: TaxonNameHistoryDao

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

findTaxonNameHistoryByParentTaxonName

public java.util.Collection findTaxonNameHistoryByParentTaxonName(java.lang.String queryString,
                                                                  int pageNumber,
                                                                  int pageSize,
                                                                  TaxonName parentTaxonName)
Description copied from interface: TaxonNameHistoryDao

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

findTaxonNameHistoryByParentTaxonName

public java.util.Collection findTaxonNameHistoryByParentTaxonName(int transform,
                                                                  java.lang.String queryString,
                                                                  TaxonName parentTaxonName)
Description copied from interface: TaxonNameHistoryDao

Does the same thing as TaxonNameHistoryDao.findTaxonNameHistoryByParentTaxonName(int, fr.ifremer.allegro.referential.taxon.TaxonName) with an additional argument called queryString. This queryString argument allows you to override the query string defined in TaxonNameHistoryDao.findTaxonNameHistoryByParentTaxonName(int, fr.ifremer.allegro.referential.taxon.TaxonName parentTaxonName).

Specified by:
findTaxonNameHistoryByParentTaxonName in interface TaxonNameHistoryDao
See Also:
TaxonNameHistoryDao.findTaxonNameHistoryByParentTaxonName(int, String, fr.ifremer.allegro.referential.taxon.TaxonName)

findTaxonNameHistoryByParentTaxonName

public java.util.Collection findTaxonNameHistoryByParentTaxonName(int transform,
                                                                  int pageNumber,
                                                                  int pageSize,
                                                                  TaxonName parentTaxonName)
Description copied from interface: TaxonNameHistoryDao

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

findTaxonNameHistoryByParentTaxonName

public java.util.Collection findTaxonNameHistoryByParentTaxonName(int transform,
                                                                  java.lang.String queryString,
                                                                  int pageNumber,
                                                                  int pageSize,
                                                                  TaxonName parentTaxonName)
Description copied from interface: TaxonNameHistoryDao

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

findTaxonNameHistoryByNaturalId

public TaxonNameHistory findTaxonNameHistoryByNaturalId(java.lang.Integer id)
Specified by:
findTaxonNameHistoryByNaturalId in interface TaxonNameHistoryDao
See Also:
TaxonNameHistoryDao.findTaxonNameHistoryByNaturalId(java.lang.Integer)

findTaxonNameHistoryByNaturalId

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

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

findTaxonNameHistoryByNaturalId

public TaxonNameHistory findTaxonNameHistoryByNaturalId(java.lang.String queryString,
                                                        java.lang.Integer id)
Description copied from interface: TaxonNameHistoryDao

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

Specified by:
findTaxonNameHistoryByNaturalId in interface TaxonNameHistoryDao
See Also:
TaxonNameHistoryDao.findTaxonNameHistoryByNaturalId(java.lang.String, java.lang.Integer)

findTaxonNameHistoryByNaturalId

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

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

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

getAllTaxonNameHistorySinceDateSynchro

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

getAllTaxonNameHistorySinceDateSynchro

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

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

getAllTaxonNameHistorySinceDateSynchro

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

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

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

getAllTaxonNameHistorySinceDateSynchro

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

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

getAllTaxonNameHistorySinceDateSynchro

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

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

getAllTaxonNameHistorySinceDateSynchro

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

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

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

getAllTaxonNameHistorySinceDateSynchro

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

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

getAllTaxonNameHistorySinceDateSynchro

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

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

createFromClusterTaxonNameHistory

public TaxonNameHistory createFromClusterTaxonNameHistory(ClusterTaxonNameHistory clusterTaxonNameHistory)
Specified by:
createFromClusterTaxonNameHistory in interface TaxonNameHistoryDao
See Also:
TaxonNameHistoryDao.createFromClusterTaxonNameHistory(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterTaxonNameHistory)

handleCreateFromClusterTaxonNameHistory

protected abstract TaxonNameHistory handleCreateFromClusterTaxonNameHistory(ClusterTaxonNameHistory clusterTaxonNameHistory)
                                                                     throws java.lang.Exception
Performs the core logic for createFromClusterTaxonNameHistory(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterTaxonNameHistory)

Throws:
java.lang.Exception

getAllClusterTaxonNameHistorySinceDateSynchro

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

handleGetAllClusterTaxonNameHistorySinceDateSynchro

protected abstract ClusterTaxonNameHistory[] handleGetAllClusterTaxonNameHistorySinceDateSynchro(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 getAllClusterTaxonNameHistorySinceDateSynchro(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,
                                           TaxonNameHistory 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.TaxonNameHistoryDao, please note that the TaxonNameHistoryDao.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 TaxonNameHistoryDao.TRANSFORM_NONE is assumed.

Parameters:
transform - one of the constants declared in TaxonNameHistoryDao
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.TaxonNameHistory) 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.TaxonNameHistoryDao
entities - the collection of entities to transform
See Also:
transformEntity(int,fr.ifremer.allegro.referential.taxon.TaxonNameHistory)

toEntity

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

toRemoteTaxonNameHistoryFullVOCollection

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

Specified by:
toRemoteTaxonNameHistoryFullVOCollection in interface TaxonNameHistoryDao
See Also:
TaxonNameHistoryDao.toRemoteTaxonNameHistoryFullVOCollection(java.util.Collection)

toRemoteTaxonNameHistoryFullVOArray

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

Specified by:
toRemoteTaxonNameHistoryFullVOArray in interface TaxonNameHistoryDao
See Also:
TaxonNameHistoryDao.toRemoteTaxonNameHistoryFullVOArray(java.util.Collection)

toRemoteTaxonNameHistoryFullVO

protected RemoteTaxonNameHistoryFullVO toRemoteTaxonNameHistoryFullVO(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 TaxonNameHistoryDaoImpl class if you intend to use reporting queries.

See Also:
TaxonNameHistoryDao.toRemoteTaxonNameHistoryFullVO(fr.ifremer.allegro.referential.taxon.TaxonNameHistory)

remoteTaxonNameHistoryFullVOToEntityCollection

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

Specified by:
remoteTaxonNameHistoryFullVOToEntityCollection in interface TaxonNameHistoryDao
See Also:
TaxonNameHistoryDao.remoteTaxonNameHistoryFullVOToEntityCollection(java.util.Collection)

toRemoteTaxonNameHistoryFullVO

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

toRemoteTaxonNameHistoryFullVO

public RemoteTaxonNameHistoryFullVO toRemoteTaxonNameHistoryFullVO(TaxonNameHistory entity)
Description copied from interface: TaxonNameHistoryDao
Converts this DAO's entity to an object of type RemoteTaxonNameHistoryFullVO.

Specified by:
toRemoteTaxonNameHistoryFullVO in interface TaxonNameHistoryDao
See Also:
TaxonNameHistoryDao.toRemoteTaxonNameHistoryFullVO(fr.ifremer.allegro.referential.taxon.TaxonNameHistory)

remoteTaxonNameHistoryFullVOToEntity

public void remoteTaxonNameHistoryFullVOToEntity(RemoteTaxonNameHistoryFullVO source,
                                                 TaxonNameHistory target,
                                                 boolean copyIfNull)
Description copied from interface: TaxonNameHistoryDao
Copies the fields of RemoteTaxonNameHistoryFullVO to the specified entity.

Specified by:
remoteTaxonNameHistoryFullVOToEntity in interface TaxonNameHistoryDao
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.TaxonNameHistoryDao#remoteTaxonNameHistoryFullVOToEntity(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonNameHistoryFullVO, fr.ifremer.allegro.referential.taxon.TaxonNameHistory)

toRemoteTaxonNameHistoryNaturalIdCollection

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

Specified by:
toRemoteTaxonNameHistoryNaturalIdCollection in interface TaxonNameHistoryDao
See Also:
TaxonNameHistoryDao.toRemoteTaxonNameHistoryNaturalIdCollection(java.util.Collection)

toRemoteTaxonNameHistoryNaturalIdArray

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

Specified by:
toRemoteTaxonNameHistoryNaturalIdArray in interface TaxonNameHistoryDao
See Also:
TaxonNameHistoryDao.toRemoteTaxonNameHistoryNaturalIdArray(java.util.Collection)

toRemoteTaxonNameHistoryNaturalId

protected RemoteTaxonNameHistoryNaturalId toRemoteTaxonNameHistoryNaturalId(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 TaxonNameHistoryDaoImpl class if you intend to use reporting queries.

See Also:
TaxonNameHistoryDao.toRemoteTaxonNameHistoryNaturalId(fr.ifremer.allegro.referential.taxon.TaxonNameHistory)

remoteTaxonNameHistoryNaturalIdToEntityCollection

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

Specified by:
remoteTaxonNameHistoryNaturalIdToEntityCollection in interface TaxonNameHistoryDao
See Also:
TaxonNameHistoryDao.remoteTaxonNameHistoryNaturalIdToEntityCollection(java.util.Collection)

toRemoteTaxonNameHistoryNaturalId

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

toRemoteTaxonNameHistoryNaturalId

public RemoteTaxonNameHistoryNaturalId toRemoteTaxonNameHistoryNaturalId(TaxonNameHistory entity)
Description copied from interface: TaxonNameHistoryDao
Converts this DAO's entity to an object of type RemoteTaxonNameHistoryNaturalId.

Specified by:
toRemoteTaxonNameHistoryNaturalId in interface TaxonNameHistoryDao
See Also:
TaxonNameHistoryDao.toRemoteTaxonNameHistoryNaturalId(fr.ifremer.allegro.referential.taxon.TaxonNameHistory)

remoteTaxonNameHistoryNaturalIdToEntity

public void remoteTaxonNameHistoryNaturalIdToEntity(RemoteTaxonNameHistoryNaturalId source,
                                                    TaxonNameHistory target,
                                                    boolean copyIfNull)
Description copied from interface: TaxonNameHistoryDao
Copies the fields of RemoteTaxonNameHistoryNaturalId to the specified entity.

Specified by:
remoteTaxonNameHistoryNaturalIdToEntity in interface TaxonNameHistoryDao
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.TaxonNameHistoryDao#remoteTaxonNameHistoryNaturalIdToEntity(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonNameHistoryNaturalId, fr.ifremer.allegro.referential.taxon.TaxonNameHistory)

toClusterTaxonNameHistoryCollection

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

Specified by:
toClusterTaxonNameHistoryCollection in interface TaxonNameHistoryDao
See Also:
TaxonNameHistoryDao.toClusterTaxonNameHistoryCollection(java.util.Collection)

toClusterTaxonNameHistoryArray

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

Specified by:
toClusterTaxonNameHistoryArray in interface TaxonNameHistoryDao
See Also:
TaxonNameHistoryDao.toClusterTaxonNameHistoryArray(java.util.Collection)

toClusterTaxonNameHistory

protected ClusterTaxonNameHistory toClusterTaxonNameHistory(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 TaxonNameHistoryDaoImpl class if you intend to use reporting queries.

See Also:
TaxonNameHistoryDao.toClusterTaxonNameHistory(fr.ifremer.allegro.referential.taxon.TaxonNameHistory)

clusterTaxonNameHistoryToEntityCollection

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

Specified by:
clusterTaxonNameHistoryToEntityCollection in interface TaxonNameHistoryDao
See Also:
TaxonNameHistoryDao.clusterTaxonNameHistoryToEntityCollection(java.util.Collection)

toClusterTaxonNameHistory

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

toClusterTaxonNameHistory

public ClusterTaxonNameHistory toClusterTaxonNameHistory(TaxonNameHistory entity)
Description copied from interface: TaxonNameHistoryDao
Converts this DAO's entity to an object of type ClusterTaxonNameHistory.

Specified by:
toClusterTaxonNameHistory in interface TaxonNameHistoryDao
See Also:
TaxonNameHistoryDao.toClusterTaxonNameHistory(fr.ifremer.allegro.referential.taxon.TaxonNameHistory)

clusterTaxonNameHistoryToEntity

public void clusterTaxonNameHistoryToEntity(ClusterTaxonNameHistory source,
                                            TaxonNameHistory target,
                                            boolean copyIfNull)
Description copied from interface: TaxonNameHistoryDao
Copies the fields of ClusterTaxonNameHistory to the specified entity.

Specified by:
clusterTaxonNameHistoryToEntity in interface TaxonNameHistoryDao
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.TaxonNameHistoryDao#clusterTaxonNameHistoryToEntity(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterTaxonNameHistory, fr.ifremer.allegro.referential.taxon.TaxonNameHistory)

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: TaxonNameHistoryDao
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 TaxonNameHistoryDao
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:
TaxonNameHistoryDao.search(int, int, int, fr.ifremer.allegro.Search)

search

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

search

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

search

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

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


Copyright © 2008-2010 IFREMER. All Rights Reserved.