fr.ifremer.allegro.referential.taxon
Class TaxonInformationDaoBase

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

public abstract class TaxonInformationDaoBase
extends org.springframework.orm.hibernate3.support.HibernateDaoSupport
implements TaxonInformationDao

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

See Also:
TaxonInformation

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.taxon.TaxonInformationDao
TRANSFORM_CLUSTERTAXONINFORMATION, TRANSFORM_NONE, TRANSFORM_REMOTETAXONINFORMATIONFULLVO, TRANSFORM_REMOTETAXONINFORMATIONNATURALID
 
Constructor Summary
TaxonInformationDaoBase()
           
 
Method Summary
 void clusterTaxonInformationToEntity(ClusterTaxonInformation source, TaxonInformation target, boolean copyIfNull)
          Copies the fields of ClusterTaxonInformation to the specified entity.
 void clusterTaxonInformationToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type ClusterTaxonInformation to this DAO's entity.
 java.util.Collection create(java.util.Collection entities)
          Creates a new instance of fr.ifremer.allegro.referential.taxon.TaxonInformation and adds from the passed in entities collection
 java.util.Collection create(int transform, java.util.Collection entities)
           Does the same thing as TaxonInformationDao.create(fr.ifremer.allegro.referential.taxon.TaxonInformation) with an additional flag called transform.
 java.lang.Object create(int transform, ReferenceDocument referenceDocument, TaxonName taxonName)
           Does the same thing as TaxonInformationDao.create(fr.ifremer.allegro.referential.taxon.ReferenceDocument,fr.ifremer.allegro.referential.taxon.TaxonName) with an additional flag called transform.
 java.lang.Object create(int transform, java.lang.String description, java.sql.Timestamp updateDate, ReferenceDocument referenceDocument, TaxonName taxonName)
           Does the same thing as TaxonInformationDao.create(java.lang.String,java.sql.Timestamp,fr.ifremer.allegro.referential.taxon.ReferenceDocument,fr.ifremer.allegro.referential.taxon.TaxonName) with an additional flag called transform.
 java.lang.Object create(int transform, TaxonInformation taxonInformation)
           Does the same thing as TaxonInformationDao.create(fr.ifremer.allegro.referential.taxon.TaxonInformation) with an additional flag called transform.
 TaxonInformation create(ReferenceDocument referenceDocument, TaxonName taxonName)
           Creates a new fr.ifremer.allegro.referential.taxon.TaxonInformation instance from only required properties (attributes and association ends) and adds it to the persistent store.
 TaxonInformation create(java.lang.String description, java.sql.Timestamp updateDate, ReferenceDocument referenceDocument, TaxonName taxonName)
           Creates a new fr.ifremer.allegro.referential.taxon.TaxonInformation instance from all attributes and properties and adds it to the persistent store.
 TaxonInformation create(TaxonInformation taxonInformation)
          Creates an instance of fr.ifremer.allegro.referential.taxon.TaxonInformation and adds it to the persistent store.
 TaxonInformation createFromClusterTaxonInformation(ClusterTaxonInformation clusterTaxonInformation)
           
 java.lang.Object findTaxonInformationByIdentifiers(int transform, java.lang.String queryString, TaxonName taxonName, ReferenceDocument referenceDocument)
           Does the same thing as TaxonInformationDao.findTaxonInformationByIdentifiers(int, fr.ifremer.allegro.referential.taxon.TaxonName, fr.ifremer.allegro.referential.taxon.ReferenceDocument) with an additional argument called queryString.
 java.lang.Object findTaxonInformationByIdentifiers(int transform, TaxonName taxonName, ReferenceDocument referenceDocument)
           Does the same thing as TaxonInformationDao.findTaxonInformationByIdentifiers(fr.ifremer.allegro.referential.taxon.TaxonName, fr.ifremer.allegro.referential.taxon.ReferenceDocument) with an additional flag called transform.
 TaxonInformation findTaxonInformationByIdentifiers(java.lang.String queryString, TaxonName taxonName, ReferenceDocument referenceDocument)
           Does the same thing as TaxonInformationDao.findTaxonInformationByIdentifiers(fr.ifremer.allegro.referential.taxon.TaxonName, fr.ifremer.allegro.referential.taxon.ReferenceDocument) with an additional argument called queryString.
 TaxonInformation findTaxonInformationByIdentifiers(TaxonName taxonName, ReferenceDocument referenceDocument)
           
 java.lang.Object findTaxonInformationByNaturalId(int transform, java.lang.String queryString, TaxonName taxonName, ReferenceDocument referenceDocument)
           Does the same thing as TaxonInformationDao.findTaxonInformationByNaturalId(int, fr.ifremer.allegro.referential.taxon.TaxonName, fr.ifremer.allegro.referential.taxon.ReferenceDocument) with an additional argument called queryString.
 java.lang.Object findTaxonInformationByNaturalId(int transform, TaxonName taxonName, ReferenceDocument referenceDocument)
           Does the same thing as TaxonInformationDao.findTaxonInformationByNaturalId(fr.ifremer.allegro.referential.taxon.TaxonName, fr.ifremer.allegro.referential.taxon.ReferenceDocument) with an additional flag called transform.
 TaxonInformation findTaxonInformationByNaturalId(java.lang.String queryString, TaxonName taxonName, ReferenceDocument referenceDocument)
           Does the same thing as TaxonInformationDao.findTaxonInformationByNaturalId(fr.ifremer.allegro.referential.taxon.TaxonName, fr.ifremer.allegro.referential.taxon.ReferenceDocument) with an additional argument called queryString.
 TaxonInformation findTaxonInformationByNaturalId(TaxonName taxonName, ReferenceDocument referenceDocument)
           
 java.util.Collection findTaxonInformationByReferenceDocument(int transform, int pageNumber, int pageSize, ReferenceDocument referenceDocument)
           Does the same thing as TaxonInformationDao.findTaxonInformationByReferenceDocument(int, fr.ifremer.allegro.referential.taxon.ReferenceDocument) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findTaxonInformationByReferenceDocument(int pageNumber, int pageSize, ReferenceDocument referenceDocument)
           Does the same thing as TaxonInformationDao.findTaxonInformationByReferenceDocument(fr.ifremer.allegro.referential.taxon.ReferenceDocument) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findTaxonInformationByReferenceDocument(int transform, ReferenceDocument referenceDocument)
           Does the same thing as TaxonInformationDao.findTaxonInformationByReferenceDocument(fr.ifremer.allegro.referential.taxon.ReferenceDocument) with an additional flag called transform.
 java.util.Collection findTaxonInformationByReferenceDocument(int transform, java.lang.String queryString, int pageNumber, int pageSize, ReferenceDocument referenceDocument)
           Does the same thing as TaxonInformationDao.findTaxonInformationByReferenceDocument(int, String, fr.ifremer.allegro.referential.taxon.ReferenceDocument) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findTaxonInformationByReferenceDocument(int transform, java.lang.String queryString, ReferenceDocument referenceDocument)
           Does the same thing as TaxonInformationDao.findTaxonInformationByReferenceDocument(int, fr.ifremer.allegro.referential.taxon.ReferenceDocument) with an additional argument called queryString.
 java.util.Collection findTaxonInformationByReferenceDocument(ReferenceDocument referenceDocument)
           
 java.util.Collection findTaxonInformationByReferenceDocument(java.lang.String queryString, int pageNumber, int pageSize, ReferenceDocument referenceDocument)
           Does the same thing as TaxonInformationDao.findTaxonInformationByReferenceDocument(String, fr.ifremer.allegro.referential.taxon.ReferenceDocument) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findTaxonInformationByReferenceDocument(java.lang.String queryString, ReferenceDocument referenceDocument)
           Does the same thing as TaxonInformationDao.findTaxonInformationByReferenceDocument(fr.ifremer.allegro.referential.taxon.ReferenceDocument) with an additional argument called queryString.
 java.util.Collection findTaxonInformationByTaxonName(int transform, int pageNumber, int pageSize, TaxonName taxonName)
           Does the same thing as TaxonInformationDao.findTaxonInformationByTaxonName(int, fr.ifremer.allegro.referential.taxon.TaxonName) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findTaxonInformationByTaxonName(int pageNumber, int pageSize, TaxonName taxonName)
           Does the same thing as TaxonInformationDao.findTaxonInformationByTaxonName(fr.ifremer.allegro.referential.taxon.TaxonName) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findTaxonInformationByTaxonName(int transform, java.lang.String queryString, int pageNumber, int pageSize, TaxonName taxonName)
           Does the same thing as TaxonInformationDao.findTaxonInformationByTaxonName(int, String, fr.ifremer.allegro.referential.taxon.TaxonName) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findTaxonInformationByTaxonName(int transform, java.lang.String queryString, TaxonName taxonName)
           Does the same thing as TaxonInformationDao.findTaxonInformationByTaxonName(int, fr.ifremer.allegro.referential.taxon.TaxonName) with an additional argument called queryString.
 java.util.Collection findTaxonInformationByTaxonName(int transform, TaxonName taxonName)
           Does the same thing as TaxonInformationDao.findTaxonInformationByTaxonName(fr.ifremer.allegro.referential.taxon.TaxonName) with an additional flag called transform.
 java.util.Collection findTaxonInformationByTaxonName(java.lang.String queryString, int pageNumber, int pageSize, TaxonName taxonName)
           Does the same thing as TaxonInformationDao.findTaxonInformationByTaxonName(String, fr.ifremer.allegro.referential.taxon.TaxonName) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findTaxonInformationByTaxonName(java.lang.String queryString, TaxonName taxonName)
           Does the same thing as TaxonInformationDao.findTaxonInformationByTaxonName(fr.ifremer.allegro.referential.taxon.TaxonName) with an additional argument called queryString.
 java.util.Collection findTaxonInformationByTaxonName(TaxonName taxonName)
           
 ClusterTaxonInformation[] getAllClusterTaxonInformationSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
 java.util.Collection getAllTaxonInformation()
           
 java.util.Collection getAllTaxonInformation(int transform)
           Does the same thing as TaxonInformationDao.getAllTaxonInformation() with an additional flag called transform.
 java.util.Collection getAllTaxonInformation(int pageNumber, int pageSize)
           Does the same thing as TaxonInformationDao.getAllTaxonInformation() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllTaxonInformation(int transform, int pageNumber, int pageSize)
           Does the same thing as TaxonInformationDao.getAllTaxonInformation(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllTaxonInformation(int transform, java.lang.String queryString)
           Does the same thing as TaxonInformationDao.getAllTaxonInformation(int) with an additional argument called queryString.
 java.util.Collection getAllTaxonInformation(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as TaxonInformationDao.getAllTaxonInformation(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllTaxonInformation(java.lang.String queryString)
           Does the same thing as TaxonInformationDao.getAllTaxonInformation() with an additional argument called queryString.
 java.util.Collection getAllTaxonInformation(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as TaxonInformationDao.getAllTaxonInformation(String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllTaxonInformationSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as TaxonInformationDao.getAllTaxonInformationSinceDateSynchro(int, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllTaxonInformationSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as TaxonInformationDao.getAllTaxonInformationSinceDateSynchro(java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllTaxonInformationSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as TaxonInformationDao.getAllTaxonInformationSinceDateSynchro(int, String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllTaxonInformationSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as TaxonInformationDao.getAllTaxonInformationSinceDateSynchro(int, java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllTaxonInformationSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
           Does the same thing as TaxonInformationDao.getAllTaxonInformationSinceDateSynchro(java.sql.Timestamp) with an additional flag called transform.
 java.util.Collection getAllTaxonInformationSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as TaxonInformationDao.getAllTaxonInformationSinceDateSynchro(String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllTaxonInformationSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as TaxonInformationDao.getAllTaxonInformationSinceDateSynchro(java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllTaxonInformationSinceDateSynchro(java.sql.Timestamp updateDate)
           
protected  java.security.Principal getPrincipal()
          Gets the current principal if one has been set, otherwise returns null.
protected  ReferenceDocumentDao getReferenceDocumentDao()
          Gets the reference to referenceDocumentDao.
protected  TaxonNameDao getTaxonNameDao()
          Gets the reference to taxonNameDao.
protected abstract  TaxonInformation handleCreateFromClusterTaxonInformation(ClusterTaxonInformation clusterTaxonInformation)
          Performs the core logic for createFromClusterTaxonInformation(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterTaxonInformation)
protected abstract  ClusterTaxonInformation[] handleGetAllClusterTaxonInformationSinceDateSynchro(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 getAllClusterTaxonInformationSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 java.lang.Object load(int transform, ReferenceDocument referenceDocument, TaxonName taxonName)
           Does the same thing as TaxonInformationDao.load(fr.ifremer.allegro.referential.taxon.ReferenceDocument,fr.ifremer.allegro.referential.taxon.TaxonName) with an additional flag called transform.
 TaxonInformation load(ReferenceDocument referenceDocument, TaxonName taxonName)
          Loads an instance of fr.ifremer.allegro.referential.taxon.TaxonInformation from the persistent store.
 java.util.Collection loadAll()
          Loads all entities of type TaxonInformation.
 java.util.Collection loadAll(int transform)
           Does the same thing as TaxonInformationDao.loadAll() with an additional flag called transform.
 java.util.Collection loadAll(int pageNumber, int pageSize)
           Does the same thing as TaxonInformationDao.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 TaxonInformationDao.loadAll(int) with an additional two arguments called pageNumber and pageSize.
 void remoteTaxonInformationFullVOToEntity(RemoteTaxonInformationFullVO source, TaxonInformation target, boolean copyIfNull)
          Copies the fields of RemoteTaxonInformationFullVO to the specified entity.
 void remoteTaxonInformationFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteTaxonInformationFullVO to this DAO's entity.
 void remoteTaxonInformationNaturalIdToEntity(RemoteTaxonInformationNaturalId source, TaxonInformation target, boolean copyIfNull)
          Copies the fields of RemoteTaxonInformationNaturalId to the specified entity.
 void remoteTaxonInformationNaturalIdToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteTaxonInformationNaturalId to this DAO's entity.
 void remove(java.util.Collection entities)
          Removes all entities in the given entities collection.
 void remove(ReferenceDocument referenceDocument, TaxonName taxonName)
          Removes the instance of fr.ifremer.allegro.referential.taxon.TaxonInformation having the given identifiers from the persistent store.
 void remove(TaxonInformation taxonInformation)
          Removes the instance of fr.ifremer.allegro.referential.taxon.TaxonInformation 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 TaxonInformationDao.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 setReferenceDocumentDao(ReferenceDocumentDao referenceDocumentDao)
          Sets the reference to referenceDocumentDao.
 void setTaxonNameDao(TaxonNameDao taxonNameDao)
          Sets the reference to taxonNameDao.
protected  ClusterTaxonInformation toClusterTaxonInformation(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 ClusterTaxonInformation toClusterTaxonInformation(TaxonInformation entity)
          Converts this DAO's entity to an object of type ClusterTaxonInformation.
 void toClusterTaxonInformation(TaxonInformation source, ClusterTaxonInformation target)
          Copies the fields of the specified entity to the target value object.
 ClusterTaxonInformation[] toClusterTaxonInformationArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type ClusterTaxonInformation.
 void toClusterTaxonInformationCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type ClusterTaxonInformation.
protected  TaxonInformation toEntity(java.lang.Object[] row)
           
protected  RemoteTaxonInformationFullVO toRemoteTaxonInformationFullVO(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteTaxonInformationFullVO toRemoteTaxonInformationFullVO(TaxonInformation entity)
          Converts this DAO's entity to an object of type RemoteTaxonInformationFullVO.
 void toRemoteTaxonInformationFullVO(TaxonInformation source, RemoteTaxonInformationFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteTaxonInformationFullVO[] toRemoteTaxonInformationFullVOArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteTaxonInformationFullVO.
 void toRemoteTaxonInformationFullVOCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteTaxonInformationFullVO.
protected  RemoteTaxonInformationNaturalId toRemoteTaxonInformationNaturalId(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteTaxonInformationNaturalId toRemoteTaxonInformationNaturalId(TaxonInformation entity)
          Converts this DAO's entity to an object of type RemoteTaxonInformationNaturalId.
 void toRemoteTaxonInformationNaturalId(TaxonInformation source, RemoteTaxonInformationNaturalId target)
          Copies the fields of the specified entity to the target value object.
 RemoteTaxonInformationNaturalId[] toRemoteTaxonInformationNaturalIdArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteTaxonInformationNaturalId.
 void toRemoteTaxonInformationNaturalIdCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteTaxonInformationNaturalId.
protected  void transformEntities(int transform, java.util.Collection entities)
          Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.taxon.TaxonInformation) method.
protected  java.lang.Object transformEntity(int transform, TaxonInformation 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.TaxonInformationDao, please note that the TaxonInformationDao.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(TaxonInformation taxonInformation)
          Updates the taxonInformation 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.TaxonInformationDao
clusterTaxonInformationToEntity, remoteTaxonInformationFullVOToEntity, remoteTaxonInformationNaturalIdToEntity
 

Constructor Detail

TaxonInformationDaoBase

public TaxonInformationDaoBase()
Method Detail

setTaxonNameDao

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


getTaxonNameDao

protected TaxonNameDao getTaxonNameDao()
Gets the reference to taxonNameDao.


setReferenceDocumentDao

public void setReferenceDocumentDao(ReferenceDocumentDao referenceDocumentDao)
Sets the reference to referenceDocumentDao.


getReferenceDocumentDao

protected ReferenceDocumentDao getReferenceDocumentDao()
Gets the reference to referenceDocumentDao.


load

public java.lang.Object load(int transform,
                             ReferenceDocument referenceDocument,
                             TaxonName taxonName)
Description copied from interface: TaxonInformationDao

Does the same thing as TaxonInformationDao.load(fr.ifremer.allegro.referential.taxon.ReferenceDocument,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 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 TaxonInformationDao
referenceDocument - identifier of the entity to load
taxonName - identifier of the entity to load
Returns:
either the entity or the object transformed from the entity.
See Also:
TaxonInformationDao.load(int, fr.ifremer.allegro.referential.taxon.ReferenceDocument,fr.ifremer.allegro.referential.taxon.TaxonName)

load

public TaxonInformation load(ReferenceDocument referenceDocument,
                             TaxonName taxonName)
Description copied from interface: TaxonInformationDao
Loads an instance of fr.ifremer.allegro.referential.taxon.TaxonInformation from the persistent store.

Specified by:
load in interface TaxonInformationDao
See Also:
TaxonInformationDao.load(fr.ifremer.allegro.referential.taxon.ReferenceDocument,fr.ifremer.allegro.referential.taxon.TaxonName)

loadAll

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

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

loadAll

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

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

loadAll

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

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

loadAll

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

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

create

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

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

create

public java.lang.Object create(int transform,
                               TaxonInformation taxonInformation)
Description copied from interface: TaxonInformationDao

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

create

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

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

create

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

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

create

public TaxonInformation create(java.lang.String description,
                               java.sql.Timestamp updateDate,
                               ReferenceDocument referenceDocument,
                               TaxonName taxonName)
Description copied from interface: TaxonInformationDao

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

Specified by:
create in interface TaxonInformationDao
See Also:
TaxonInformationDao.create(java.lang.String,java.sql.Timestamp,fr.ifremer.allegro.referential.taxon.ReferenceDocument,fr.ifremer.allegro.referential.taxon.TaxonName)

create

public java.lang.Object create(int transform,
                               java.lang.String description,
                               java.sql.Timestamp updateDate,
                               ReferenceDocument referenceDocument,
                               TaxonName taxonName)
Description copied from interface: TaxonInformationDao

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

create

public TaxonInformation create(ReferenceDocument referenceDocument,
                               TaxonName taxonName)
Description copied from interface: TaxonInformationDao

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

Specified by:
create in interface TaxonInformationDao
See Also:
TaxonInformationDao.create(fr.ifremer.allegro.referential.taxon.ReferenceDocument,fr.ifremer.allegro.referential.taxon.TaxonName)

create

public java.lang.Object create(int transform,
                               ReferenceDocument referenceDocument,
                               TaxonName taxonName)
Description copied from interface: TaxonInformationDao

Does the same thing as TaxonInformationDao.create(fr.ifremer.allegro.referential.taxon.ReferenceDocument,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 NOTWILL BE passed through an operation which can optionally transform the entity (into a value object for example). By default, transformation does not occur.

Specified by:
create in interface TaxonInformationDao
See Also:
TaxonInformationDao.create(int, fr.ifremer.allegro.referential.taxon.ReferenceDocument,fr.ifremer.allegro.referential.taxon.TaxonName)

update

public void update(TaxonInformation taxonInformation)
Description copied from interface: TaxonInformationDao
Updates the taxonInformation instance in the persistent store.

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

update

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

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

remove

public void remove(TaxonInformation taxonInformation)
Description copied from interface: TaxonInformationDao
Removes the instance of fr.ifremer.allegro.referential.taxon.TaxonInformation from the persistent store.

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

remove

public void remove(ReferenceDocument referenceDocument,
                   TaxonName taxonName)
Description copied from interface: TaxonInformationDao
Removes the instance of fr.ifremer.allegro.referential.taxon.TaxonInformation having the given identifiers from the persistent store.

Specified by:
remove in interface TaxonInformationDao
See Also:
TaxonInformationDao.remove(fr.ifremer.allegro.referential.taxon.ReferenceDocument,fr.ifremer.allegro.referential.taxon.TaxonName)

remove

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

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

getAllTaxonInformation

public java.util.Collection getAllTaxonInformation()
Specified by:
getAllTaxonInformation in interface TaxonInformationDao
See Also:
TaxonInformationDao.getAllTaxonInformation()

getAllTaxonInformation

public java.util.Collection getAllTaxonInformation(int transform)
Description copied from interface: TaxonInformationDao

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

getAllTaxonInformation

public java.util.Collection getAllTaxonInformation(java.lang.String queryString)
Description copied from interface: TaxonInformationDao

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

Specified by:
getAllTaxonInformation in interface TaxonInformationDao
See Also:
TaxonInformationDao.getAllTaxonInformation(java.lang.String)

getAllTaxonInformation

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

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

getAllTaxonInformation

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

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

getAllTaxonInformation

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

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

Specified by:
getAllTaxonInformation in interface TaxonInformationDao
See Also:
TaxonInformationDao.getAllTaxonInformation(int, String)

getAllTaxonInformation

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

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

getAllTaxonInformation

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

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

findTaxonInformationByTaxonName

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

findTaxonInformationByTaxonName

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

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

findTaxonInformationByTaxonName

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

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

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

findTaxonInformationByTaxonName

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

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

findTaxonInformationByTaxonName

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

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

findTaxonInformationByTaxonName

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

Does the same thing as TaxonInformationDao.findTaxonInformationByTaxonName(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 TaxonInformationDao.findTaxonInformationByTaxonName(int, fr.ifremer.allegro.referential.taxon.TaxonName taxonName).

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

findTaxonInformationByTaxonName

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

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

findTaxonInformationByTaxonName

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

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

findTaxonInformationByReferenceDocument

public java.util.Collection findTaxonInformationByReferenceDocument(ReferenceDocument referenceDocument)
Specified by:
findTaxonInformationByReferenceDocument in interface TaxonInformationDao
See Also:
TaxonInformationDao.findTaxonInformationByReferenceDocument(fr.ifremer.allegro.referential.taxon.ReferenceDocument)

findTaxonInformationByReferenceDocument

public java.util.Collection findTaxonInformationByReferenceDocument(int transform,
                                                                    ReferenceDocument referenceDocument)
Description copied from interface: TaxonInformationDao

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

findTaxonInformationByReferenceDocument

public java.util.Collection findTaxonInformationByReferenceDocument(java.lang.String queryString,
                                                                    ReferenceDocument referenceDocument)
Description copied from interface: TaxonInformationDao

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

Specified by:
findTaxonInformationByReferenceDocument in interface TaxonInformationDao
See Also:
TaxonInformationDao.findTaxonInformationByReferenceDocument(java.lang.String, fr.ifremer.allegro.referential.taxon.ReferenceDocument)

findTaxonInformationByReferenceDocument

public java.util.Collection findTaxonInformationByReferenceDocument(int pageNumber,
                                                                    int pageSize,
                                                                    ReferenceDocument referenceDocument)
Description copied from interface: TaxonInformationDao

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

findTaxonInformationByReferenceDocument

public java.util.Collection findTaxonInformationByReferenceDocument(java.lang.String queryString,
                                                                    int pageNumber,
                                                                    int pageSize,
                                                                    ReferenceDocument referenceDocument)
Description copied from interface: TaxonInformationDao

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

findTaxonInformationByReferenceDocument

public java.util.Collection findTaxonInformationByReferenceDocument(int transform,
                                                                    java.lang.String queryString,
                                                                    ReferenceDocument referenceDocument)
Description copied from interface: TaxonInformationDao

Does the same thing as TaxonInformationDao.findTaxonInformationByReferenceDocument(int, fr.ifremer.allegro.referential.taxon.ReferenceDocument) with an additional argument called queryString. This queryString argument allows you to override the query string defined in TaxonInformationDao.findTaxonInformationByReferenceDocument(int, fr.ifremer.allegro.referential.taxon.ReferenceDocument referenceDocument).

Specified by:
findTaxonInformationByReferenceDocument in interface TaxonInformationDao
See Also:
TaxonInformationDao.findTaxonInformationByReferenceDocument(int, String, fr.ifremer.allegro.referential.taxon.ReferenceDocument)

findTaxonInformationByReferenceDocument

public java.util.Collection findTaxonInformationByReferenceDocument(int transform,
                                                                    int pageNumber,
                                                                    int pageSize,
                                                                    ReferenceDocument referenceDocument)
Description copied from interface: TaxonInformationDao

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

findTaxonInformationByReferenceDocument

public java.util.Collection findTaxonInformationByReferenceDocument(int transform,
                                                                    java.lang.String queryString,
                                                                    int pageNumber,
                                                                    int pageSize,
                                                                    ReferenceDocument referenceDocument)
Description copied from interface: TaxonInformationDao

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

findTaxonInformationByIdentifiers

public TaxonInformation findTaxonInformationByIdentifiers(TaxonName taxonName,
                                                          ReferenceDocument referenceDocument)
Specified by:
findTaxonInformationByIdentifiers in interface TaxonInformationDao
See Also:
TaxonInformationDao.findTaxonInformationByIdentifiers(fr.ifremer.allegro.referential.taxon.TaxonName, fr.ifremer.allegro.referential.taxon.ReferenceDocument)

findTaxonInformationByIdentifiers

public java.lang.Object findTaxonInformationByIdentifiers(int transform,
                                                          TaxonName taxonName,
                                                          ReferenceDocument referenceDocument)
Description copied from interface: TaxonInformationDao

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

findTaxonInformationByIdentifiers

public TaxonInformation findTaxonInformationByIdentifiers(java.lang.String queryString,
                                                          TaxonName taxonName,
                                                          ReferenceDocument referenceDocument)
Description copied from interface: TaxonInformationDao

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

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

findTaxonInformationByIdentifiers

public java.lang.Object findTaxonInformationByIdentifiers(int transform,
                                                          java.lang.String queryString,
                                                          TaxonName taxonName,
                                                          ReferenceDocument referenceDocument)
Description copied from interface: TaxonInformationDao

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

Specified by:
findTaxonInformationByIdentifiers in interface TaxonInformationDao
See Also:
TaxonInformationDao.findTaxonInformationByIdentifiers(int, java.lang.String, fr.ifremer.allegro.referential.taxon.TaxonName, fr.ifremer.allegro.referential.taxon.ReferenceDocument)

findTaxonInformationByNaturalId

public TaxonInformation findTaxonInformationByNaturalId(TaxonName taxonName,
                                                        ReferenceDocument referenceDocument)
Specified by:
findTaxonInformationByNaturalId in interface TaxonInformationDao
See Also:
TaxonInformationDao.findTaxonInformationByNaturalId(fr.ifremer.allegro.referential.taxon.TaxonName, fr.ifremer.allegro.referential.taxon.ReferenceDocument)

findTaxonInformationByNaturalId

public java.lang.Object findTaxonInformationByNaturalId(int transform,
                                                        TaxonName taxonName,
                                                        ReferenceDocument referenceDocument)
Description copied from interface: TaxonInformationDao

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

findTaxonInformationByNaturalId

public TaxonInformation findTaxonInformationByNaturalId(java.lang.String queryString,
                                                        TaxonName taxonName,
                                                        ReferenceDocument referenceDocument)
Description copied from interface: TaxonInformationDao

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

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

findTaxonInformationByNaturalId

public java.lang.Object findTaxonInformationByNaturalId(int transform,
                                                        java.lang.String queryString,
                                                        TaxonName taxonName,
                                                        ReferenceDocument referenceDocument)
Description copied from interface: TaxonInformationDao

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

Specified by:
findTaxonInformationByNaturalId in interface TaxonInformationDao
See Also:
TaxonInformationDao.findTaxonInformationByNaturalId(int, java.lang.String, fr.ifremer.allegro.referential.taxon.TaxonName, fr.ifremer.allegro.referential.taxon.ReferenceDocument)

getAllTaxonInformationSinceDateSynchro

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

getAllTaxonInformationSinceDateSynchro

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

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

getAllTaxonInformationSinceDateSynchro

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

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

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

getAllTaxonInformationSinceDateSynchro

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

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

getAllTaxonInformationSinceDateSynchro

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

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

getAllTaxonInformationSinceDateSynchro

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

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

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

getAllTaxonInformationSinceDateSynchro

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

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

getAllTaxonInformationSinceDateSynchro

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

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

createFromClusterTaxonInformation

public TaxonInformation createFromClusterTaxonInformation(ClusterTaxonInformation clusterTaxonInformation)
Specified by:
createFromClusterTaxonInformation in interface TaxonInformationDao
See Also:
TaxonInformationDao.createFromClusterTaxonInformation(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterTaxonInformation)

handleCreateFromClusterTaxonInformation

protected abstract TaxonInformation handleCreateFromClusterTaxonInformation(ClusterTaxonInformation clusterTaxonInformation)
                                                                     throws java.lang.Exception
Performs the core logic for createFromClusterTaxonInformation(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterTaxonInformation)

Throws:
java.lang.Exception

getAllClusterTaxonInformationSinceDateSynchro

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

handleGetAllClusterTaxonInformationSinceDateSynchro

protected abstract ClusterTaxonInformation[] handleGetAllClusterTaxonInformationSinceDateSynchro(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 getAllClusterTaxonInformationSinceDateSynchro(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,
                                           TaxonInformation 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.TaxonInformationDao, please note that the TaxonInformationDao.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 TaxonInformationDao.TRANSFORM_NONE is assumed.

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

toEntity

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

toRemoteTaxonInformationFullVOCollection

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

Specified by:
toRemoteTaxonInformationFullVOCollection in interface TaxonInformationDao
See Also:
TaxonInformationDao.toRemoteTaxonInformationFullVOCollection(java.util.Collection)

toRemoteTaxonInformationFullVOArray

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

Specified by:
toRemoteTaxonInformationFullVOArray in interface TaxonInformationDao
See Also:
TaxonInformationDao.toRemoteTaxonInformationFullVOArray(java.util.Collection)

toRemoteTaxonInformationFullVO

protected RemoteTaxonInformationFullVO toRemoteTaxonInformationFullVO(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 TaxonInformationDaoImpl class if you intend to use reporting queries.

See Also:
TaxonInformationDao.toRemoteTaxonInformationFullVO(fr.ifremer.allegro.referential.taxon.TaxonInformation)

remoteTaxonInformationFullVOToEntityCollection

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

Specified by:
remoteTaxonInformationFullVOToEntityCollection in interface TaxonInformationDao
See Also:
TaxonInformationDao.remoteTaxonInformationFullVOToEntityCollection(java.util.Collection)

toRemoteTaxonInformationFullVO

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

toRemoteTaxonInformationFullVO

public RemoteTaxonInformationFullVO toRemoteTaxonInformationFullVO(TaxonInformation entity)
Description copied from interface: TaxonInformationDao
Converts this DAO's entity to an object of type RemoteTaxonInformationFullVO.

Specified by:
toRemoteTaxonInformationFullVO in interface TaxonInformationDao
See Also:
TaxonInformationDao.toRemoteTaxonInformationFullVO(fr.ifremer.allegro.referential.taxon.TaxonInformation)

remoteTaxonInformationFullVOToEntity

public void remoteTaxonInformationFullVOToEntity(RemoteTaxonInformationFullVO source,
                                                 TaxonInformation target,
                                                 boolean copyIfNull)
Description copied from interface: TaxonInformationDao
Copies the fields of RemoteTaxonInformationFullVO to the specified entity.

Specified by:
remoteTaxonInformationFullVOToEntity in interface TaxonInformationDao
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.TaxonInformationDao#remoteTaxonInformationFullVOToEntity(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonInformationFullVO, fr.ifremer.allegro.referential.taxon.TaxonInformation)

toRemoteTaxonInformationNaturalIdCollection

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

Specified by:
toRemoteTaxonInformationNaturalIdCollection in interface TaxonInformationDao
See Also:
TaxonInformationDao.toRemoteTaxonInformationNaturalIdCollection(java.util.Collection)

toRemoteTaxonInformationNaturalIdArray

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

Specified by:
toRemoteTaxonInformationNaturalIdArray in interface TaxonInformationDao
See Also:
TaxonInformationDao.toRemoteTaxonInformationNaturalIdArray(java.util.Collection)

toRemoteTaxonInformationNaturalId

protected RemoteTaxonInformationNaturalId toRemoteTaxonInformationNaturalId(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 TaxonInformationDaoImpl class if you intend to use reporting queries.

See Also:
TaxonInformationDao.toRemoteTaxonInformationNaturalId(fr.ifremer.allegro.referential.taxon.TaxonInformation)

remoteTaxonInformationNaturalIdToEntityCollection

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

Specified by:
remoteTaxonInformationNaturalIdToEntityCollection in interface TaxonInformationDao
See Also:
TaxonInformationDao.remoteTaxonInformationNaturalIdToEntityCollection(java.util.Collection)

toRemoteTaxonInformationNaturalId

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

toRemoteTaxonInformationNaturalId

public RemoteTaxonInformationNaturalId toRemoteTaxonInformationNaturalId(TaxonInformation entity)
Description copied from interface: TaxonInformationDao
Converts this DAO's entity to an object of type RemoteTaxonInformationNaturalId.

Specified by:
toRemoteTaxonInformationNaturalId in interface TaxonInformationDao
See Also:
TaxonInformationDao.toRemoteTaxonInformationNaturalId(fr.ifremer.allegro.referential.taxon.TaxonInformation)

remoteTaxonInformationNaturalIdToEntity

public void remoteTaxonInformationNaturalIdToEntity(RemoteTaxonInformationNaturalId source,
                                                    TaxonInformation target,
                                                    boolean copyIfNull)
Description copied from interface: TaxonInformationDao
Copies the fields of RemoteTaxonInformationNaturalId to the specified entity.

Specified by:
remoteTaxonInformationNaturalIdToEntity in interface TaxonInformationDao
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.TaxonInformationDao#remoteTaxonInformationNaturalIdToEntity(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonInformationNaturalId, fr.ifremer.allegro.referential.taxon.TaxonInformation)

toClusterTaxonInformationCollection

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

Specified by:
toClusterTaxonInformationCollection in interface TaxonInformationDao
See Also:
TaxonInformationDao.toClusterTaxonInformationCollection(java.util.Collection)

toClusterTaxonInformationArray

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

Specified by:
toClusterTaxonInformationArray in interface TaxonInformationDao
See Also:
TaxonInformationDao.toClusterTaxonInformationArray(java.util.Collection)

toClusterTaxonInformation

protected ClusterTaxonInformation toClusterTaxonInformation(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 TaxonInformationDaoImpl class if you intend to use reporting queries.

See Also:
TaxonInformationDao.toClusterTaxonInformation(fr.ifremer.allegro.referential.taxon.TaxonInformation)

clusterTaxonInformationToEntityCollection

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

Specified by:
clusterTaxonInformationToEntityCollection in interface TaxonInformationDao
See Also:
TaxonInformationDao.clusterTaxonInformationToEntityCollection(java.util.Collection)

toClusterTaxonInformation

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

toClusterTaxonInformation

public ClusterTaxonInformation toClusterTaxonInformation(TaxonInformation entity)
Description copied from interface: TaxonInformationDao
Converts this DAO's entity to an object of type ClusterTaxonInformation.

Specified by:
toClusterTaxonInformation in interface TaxonInformationDao
See Also:
TaxonInformationDao.toClusterTaxonInformation(fr.ifremer.allegro.referential.taxon.TaxonInformation)

clusterTaxonInformationToEntity

public void clusterTaxonInformationToEntity(ClusterTaxonInformation source,
                                            TaxonInformation target,
                                            boolean copyIfNull)
Description copied from interface: TaxonInformationDao
Copies the fields of ClusterTaxonInformation to the specified entity.

Specified by:
clusterTaxonInformationToEntity in interface TaxonInformationDao
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.TaxonInformationDao#clusterTaxonInformationToEntity(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterTaxonInformation, fr.ifremer.allegro.referential.taxon.TaxonInformation)

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

search

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

search

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

search

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

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


Copyright © 2008-2010 IFREMER. All Rights Reserved.