fr.ifremer.allegro.data.batch.denormalized
Class DenormalizedBatchDaoBase

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.data.batch.denormalized.DenormalizedBatchDaoBase
All Implemented Interfaces:
DenormalizedBatchDao
Direct Known Subclasses:
DenormalizedBatchDaoImpl

public abstract class DenormalizedBatchDaoBase
extends org.springframework.orm.hibernate3.support.HibernateDaoSupport
implements DenormalizedBatchDao

Base Spring DAO Class: is able to create, update, remove, load, and find objects of type fr.ifremer.allegro.data.batch.denormalized.DenormalizedBatch.

See Also:
DenormalizedBatch

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.data.batch.denormalized.DenormalizedBatchDao
TRANSFORM_CLUSTERDENORMALIZEDBATCH, TRANSFORM_NONE, TRANSFORM_REMOTEDENORMALIZEDBATCHFULLVO, TRANSFORM_REMOTEDENORMALIZEDBATCHNATURALID
 
Constructor Summary
DenormalizedBatchDaoBase()
           
 
Method Summary
 void clusterDenormalizedBatchToEntity(ClusterDenormalizedBatch source, DenormalizedBatch target, boolean copyIfNull)
          Copies the fields of ClusterDenormalizedBatch to the specified entity.
 void clusterDenormalizedBatchToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type ClusterDenormalizedBatch to this DAO's entity.
 java.util.Collection create(java.util.Collection entities)
          Creates a new instance of fr.ifremer.allegro.data.batch.denormalized.DenormalizedBatch and adds from the passed in entities collection
 DenormalizedBatch create(DenormalizedBatch denormalizedBatch)
          Creates an instance of fr.ifremer.allegro.data.batch.denormalized.DenormalizedBatch and adds it to the persistent store.
 java.util.Collection create(int transform, java.util.Collection entities)
           Does the same thing as DenormalizedBatchDao.create(fr.ifremer.allegro.data.batch.denormalized.DenormalizedBatch) with an additional flag called transform.
 java.lang.Object create(int transform, DenormalizedBatch denormalizedBatch)
           Does the same thing as DenormalizedBatchDao.create(fr.ifremer.allegro.data.batch.denormalized.DenormalizedBatch) with an additional flag called transform.
 java.lang.Object create(int transform, java.lang.Short rankOrder)
           Does the same thing as DenormalizedBatchDao.create(java.lang.Short) with an additional flag called transform.
 java.lang.Object create(int transform, java.lang.Short rankOrder, java.lang.Float weight, java.lang.Float elevateWeight, java.lang.Integer individualcount, java.lang.Integer elevateIndividualCount, java.lang.Float numericalValue, java.lang.Boolean exhaustiveInventory, java.lang.Boolean childBatchsReplication, java.lang.String comments, Parameter numericalParameter, TaxonGroup taxonGroup, ReferenceTaxon referenceTaxon, java.util.Collection denormalisedBatchSortingValues)
           Does the same thing as DenormalizedBatchDao.create(java.lang.Short,java.lang.Float,java.lang.Float,java.lang.Integer,java.lang.Integer,java.lang.Float,java.lang.Boolean,java.lang.Boolean,java.lang.String,fr.ifremer.allegro.referential.pmfm.Parameter,fr.ifremer.allegro.referential.taxon.TaxonGroup,fr.ifremer.allegro.referential.taxon.ReferenceTaxon,java.util.Collection) with an additional flag called transform.
 DenormalizedBatch create(java.lang.Short rankOrder)
           Creates a new fr.ifremer.allegro.data.batch.denormalized.DenormalizedBatch instance from only required properties (attributes and association ends) and adds it to the persistent store.
 DenormalizedBatch create(java.lang.Short rankOrder, java.lang.Float weight, java.lang.Float elevateWeight, java.lang.Integer individualcount, java.lang.Integer elevateIndividualCount, java.lang.Float numericalValue, java.lang.Boolean exhaustiveInventory, java.lang.Boolean childBatchsReplication, java.lang.String comments, Parameter numericalParameter, TaxonGroup taxonGroup, ReferenceTaxon referenceTaxon, java.util.Collection denormalisedBatchSortingValues)
           Creates a new fr.ifremer.allegro.data.batch.denormalized.DenormalizedBatch instance from all attributes and properties and adds it to the persistent store.
 DenormalizedBatch createFromClusterDenormalizedBatch(ClusterDenormalizedBatch clusterDenormalizedBatch)
           
 java.lang.Object findDenormalizedBatchById(int transform, java.lang.Long id)
           Does the same thing as DenormalizedBatchDao.findDenormalizedBatchById(java.lang.Long) with an additional flag called transform.
 java.lang.Object findDenormalizedBatchById(int transform, java.lang.String queryString, java.lang.Long id)
           Does the same thing as DenormalizedBatchDao.findDenormalizedBatchById(int, java.lang.Long) with an additional argument called queryString.
 DenormalizedBatch findDenormalizedBatchById(java.lang.Long id)
           
 DenormalizedBatch findDenormalizedBatchById(java.lang.String queryString, java.lang.Long id)
           Does the same thing as DenormalizedBatchDao.findDenormalizedBatchById(java.lang.Long) with an additional argument called queryString.
 java.lang.Object findDenormalizedBatchByNaturalId(int transform, java.lang.Long id)
           Does the same thing as DenormalizedBatchDao.findDenormalizedBatchByNaturalId(java.lang.Long) with an additional flag called transform.
 java.lang.Object findDenormalizedBatchByNaturalId(int transform, java.lang.String queryString, java.lang.Long id)
           Does the same thing as DenormalizedBatchDao.findDenormalizedBatchByNaturalId(int, java.lang.Long) with an additional argument called queryString.
 DenormalizedBatch findDenormalizedBatchByNaturalId(java.lang.Long id)
           
 DenormalizedBatch findDenormalizedBatchByNaturalId(java.lang.String queryString, java.lang.Long id)
           Does the same thing as DenormalizedBatchDao.findDenormalizedBatchByNaturalId(java.lang.Long) with an additional argument called queryString.
 java.util.Collection findDenormalizedBatchByNumericalParameter(int transform, int pageNumber, int pageSize, Parameter numericalParameter)
           Does the same thing as DenormalizedBatchDao.findDenormalizedBatchByNumericalParameter(int, fr.ifremer.allegro.referential.pmfm.Parameter) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findDenormalizedBatchByNumericalParameter(int pageNumber, int pageSize, Parameter numericalParameter)
           Does the same thing as DenormalizedBatchDao.findDenormalizedBatchByNumericalParameter(fr.ifremer.allegro.referential.pmfm.Parameter) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findDenormalizedBatchByNumericalParameter(int transform, Parameter numericalParameter)
           Does the same thing as DenormalizedBatchDao.findDenormalizedBatchByNumericalParameter(fr.ifremer.allegro.referential.pmfm.Parameter) with an additional flag called transform.
 java.util.Collection findDenormalizedBatchByNumericalParameter(int transform, java.lang.String queryString, int pageNumber, int pageSize, Parameter numericalParameter)
           Does the same thing as DenormalizedBatchDao.findDenormalizedBatchByNumericalParameter(int, String, fr.ifremer.allegro.referential.pmfm.Parameter) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findDenormalizedBatchByNumericalParameter(int transform, java.lang.String queryString, Parameter numericalParameter)
           Does the same thing as DenormalizedBatchDao.findDenormalizedBatchByNumericalParameter(int, fr.ifremer.allegro.referential.pmfm.Parameter) with an additional argument called queryString.
 java.util.Collection findDenormalizedBatchByNumericalParameter(Parameter numericalParameter)
           
 java.util.Collection findDenormalizedBatchByNumericalParameter(java.lang.String queryString, int pageNumber, int pageSize, Parameter numericalParameter)
           Does the same thing as DenormalizedBatchDao.findDenormalizedBatchByNumericalParameter(String, fr.ifremer.allegro.referential.pmfm.Parameter) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findDenormalizedBatchByNumericalParameter(java.lang.String queryString, Parameter numericalParameter)
           Does the same thing as DenormalizedBatchDao.findDenormalizedBatchByNumericalParameter(fr.ifremer.allegro.referential.pmfm.Parameter) with an additional argument called queryString.
 java.util.Collection findDenormalizedBatchByReferenceTaxon(int transform, int pageNumber, int pageSize, ReferenceTaxon referenceTaxon)
           Does the same thing as DenormalizedBatchDao.findDenormalizedBatchByReferenceTaxon(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findDenormalizedBatchByReferenceTaxon(int pageNumber, int pageSize, ReferenceTaxon referenceTaxon)
           Does the same thing as DenormalizedBatchDao.findDenormalizedBatchByReferenceTaxon(fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findDenormalizedBatchByReferenceTaxon(int transform, ReferenceTaxon referenceTaxon)
           Does the same thing as DenormalizedBatchDao.findDenormalizedBatchByReferenceTaxon(fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an additional flag called transform.
 java.util.Collection findDenormalizedBatchByReferenceTaxon(int transform, java.lang.String queryString, int pageNumber, int pageSize, ReferenceTaxon referenceTaxon)
           Does the same thing as DenormalizedBatchDao.findDenormalizedBatchByReferenceTaxon(int, String, fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findDenormalizedBatchByReferenceTaxon(int transform, java.lang.String queryString, ReferenceTaxon referenceTaxon)
           Does the same thing as DenormalizedBatchDao.findDenormalizedBatchByReferenceTaxon(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an additional argument called queryString.
 java.util.Collection findDenormalizedBatchByReferenceTaxon(ReferenceTaxon referenceTaxon)
           
 java.util.Collection findDenormalizedBatchByReferenceTaxon(java.lang.String queryString, int pageNumber, int pageSize, ReferenceTaxon referenceTaxon)
           Does the same thing as DenormalizedBatchDao.findDenormalizedBatchByReferenceTaxon(String, fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findDenormalizedBatchByReferenceTaxon(java.lang.String queryString, ReferenceTaxon referenceTaxon)
           Does the same thing as DenormalizedBatchDao.findDenormalizedBatchByReferenceTaxon(fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an additional argument called queryString.
 java.util.Collection findDenormalizedBatchByTaxonGroup(int transform, int pageNumber, int pageSize, TaxonGroup taxonGroup)
           Does the same thing as DenormalizedBatchDao.findDenormalizedBatchByTaxonGroup(int, fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findDenormalizedBatchByTaxonGroup(int pageNumber, int pageSize, TaxonGroup taxonGroup)
           Does the same thing as DenormalizedBatchDao.findDenormalizedBatchByTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findDenormalizedBatchByTaxonGroup(int transform, java.lang.String queryString, int pageNumber, int pageSize, TaxonGroup taxonGroup)
           Does the same thing as DenormalizedBatchDao.findDenormalizedBatchByTaxonGroup(int, String, fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findDenormalizedBatchByTaxonGroup(int transform, java.lang.String queryString, TaxonGroup taxonGroup)
           Does the same thing as DenormalizedBatchDao.findDenormalizedBatchByTaxonGroup(int, fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional argument called queryString.
 java.util.Collection findDenormalizedBatchByTaxonGroup(int transform, TaxonGroup taxonGroup)
           Does the same thing as DenormalizedBatchDao.findDenormalizedBatchByTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional flag called transform.
 java.util.Collection findDenormalizedBatchByTaxonGroup(java.lang.String queryString, int pageNumber, int pageSize, TaxonGroup taxonGroup)
           Does the same thing as DenormalizedBatchDao.findDenormalizedBatchByTaxonGroup(String, fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findDenormalizedBatchByTaxonGroup(java.lang.String queryString, TaxonGroup taxonGroup)
           Does the same thing as DenormalizedBatchDao.findDenormalizedBatchByTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional argument called queryString.
 java.util.Collection findDenormalizedBatchByTaxonGroup(TaxonGroup taxonGroup)
           
 ClusterDenormalizedBatch[] getAllClusterDenormalizedBatch(java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
 java.util.Collection getAllDenormalizedBatch()
           
 java.util.Collection getAllDenormalizedBatch(int transform)
           Does the same thing as DenormalizedBatchDao.getAllDenormalizedBatch() with an additional flag called transform.
 java.util.Collection getAllDenormalizedBatch(int pageNumber, int pageSize)
           Does the same thing as DenormalizedBatchDao.getAllDenormalizedBatch() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllDenormalizedBatch(int transform, int pageNumber, int pageSize)
           Does the same thing as DenormalizedBatchDao.getAllDenormalizedBatch(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllDenormalizedBatch(int transform, java.lang.String queryString)
           Does the same thing as DenormalizedBatchDao.getAllDenormalizedBatch(int) with an additional argument called queryString.
 java.util.Collection getAllDenormalizedBatch(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as DenormalizedBatchDao.getAllDenormalizedBatch(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllDenormalizedBatch(java.lang.String queryString)
           Does the same thing as DenormalizedBatchDao.getAllDenormalizedBatch() with an additional argument called queryString.
 java.util.Collection getAllDenormalizedBatch(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as DenormalizedBatchDao.getAllDenormalizedBatch(String) with an additional two arguments called pageNumber and pageSize.
protected  DenormalisedBatchSortingValueDao getDenormalisedBatchSortingValueDao()
          Gets the reference to denormalisedBatchSortingValueDao.
protected  ParameterDao getParameterDao()
          Gets the reference to parameterDao.
protected  java.security.Principal getPrincipal()
          Gets the current principal if one has been set, otherwise returns null.
protected  ReferenceTaxonDao getReferenceTaxonDao()
          Gets the reference to referenceTaxonDao.
protected  TaxonGroupDao getTaxonGroupDao()
          Gets the reference to taxonGroupDao.
protected abstract  DenormalizedBatch handleCreateFromClusterDenormalizedBatch(ClusterDenormalizedBatch clusterDenormalizedBatch)
          Performs the core logic for createFromClusterDenormalizedBatch(fr.ifremer.allegro.data.batch.denormalized.generic.cluster.ClusterDenormalizedBatch)
protected abstract  ClusterDenormalizedBatch[] handleGetAllClusterDenormalizedBatch(java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
          Performs the core logic for getAllClusterDenormalizedBatch(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 java.lang.Object load(int transform, java.lang.Long id)
           Does the same thing as DenormalizedBatchDao.load(java.lang.Long) with an additional flag called transform.
 DenormalizedBatch load(java.lang.Long id)
          Loads an instance of fr.ifremer.allegro.data.batch.denormalized.DenormalizedBatch from the persistent store.
 java.util.Collection loadAll()
          Loads all entities of type DenormalizedBatch.
 java.util.Collection loadAll(int transform)
           Does the same thing as DenormalizedBatchDao.loadAll() with an additional flag called transform.
 java.util.Collection loadAll(int pageNumber, int pageSize)
           Does the same thing as DenormalizedBatchDao.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 DenormalizedBatchDao.loadAll(int) with an additional two arguments called pageNumber and pageSize.
 void remoteDenormalizedBatchFullVOToEntity(RemoteDenormalizedBatchFullVO source, DenormalizedBatch target, boolean copyIfNull)
          Copies the fields of RemoteDenormalizedBatchFullVO to the specified entity.
 void remoteDenormalizedBatchFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteDenormalizedBatchFullVO to this DAO's entity.
 void remoteDenormalizedBatchNaturalIdToEntity(RemoteDenormalizedBatchNaturalId source, DenormalizedBatch target, boolean copyIfNull)
          Copies the fields of RemoteDenormalizedBatchNaturalId to the specified entity.
 void remoteDenormalizedBatchNaturalIdToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteDenormalizedBatchNaturalId to this DAO's entity.
 void remove(java.util.Collection entities)
          Removes all entities in the given entities collection.
 void remove(DenormalizedBatch denormalizedBatch)
          Removes the instance of fr.ifremer.allegro.data.batch.denormalized.DenormalizedBatch from the persistent store.
 void remove(java.lang.Long id)
          Removes the instance of fr.ifremer.allegro.data.batch.denormalized.DenormalizedBatch having the given identifier from the persistent store.
 PaginationResult search(int transform, int pageNumber, int pageSize, Search search)
          Does the same thing as {@link #search(int, fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize.
 PaginationResult search(int pageNumber, int pageSize, Search search)
          Does the same thing as {@link #search(fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize.
 java.util.Set search(int transform, Search search)
          Does the same thing as DenormalizedBatchDao.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 setDenormalisedBatchSortingValueDao(DenormalisedBatchSortingValueDao denormalisedBatchSortingValueDao)
          Sets the reference to denormalisedBatchSortingValueDao.
 void setParameterDao(ParameterDao parameterDao)
          Sets the reference to parameterDao.
 void setReferenceTaxonDao(ReferenceTaxonDao referenceTaxonDao)
          Sets the reference to referenceTaxonDao.
 void setTaxonGroupDao(TaxonGroupDao taxonGroupDao)
          Sets the reference to taxonGroupDao.
 ClusterDenormalizedBatch toClusterDenormalizedBatch(DenormalizedBatch entity)
          Converts this DAO's entity to an object of type ClusterDenormalizedBatch.
 void toClusterDenormalizedBatch(DenormalizedBatch source, ClusterDenormalizedBatch target)
          Copies the fields of the specified entity to the target value object.
protected  ClusterDenormalizedBatch toClusterDenormalizedBatch(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 ClusterDenormalizedBatch[] toClusterDenormalizedBatchArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type ClusterDenormalizedBatch.
 void toClusterDenormalizedBatchCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type ClusterDenormalizedBatch.
protected  DenormalizedBatch toEntity(java.lang.Object[] row)
           
 RemoteDenormalizedBatchFullVO toRemoteDenormalizedBatchFullVO(DenormalizedBatch entity)
          Converts this DAO's entity to an object of type RemoteDenormalizedBatchFullVO.
 void toRemoteDenormalizedBatchFullVO(DenormalizedBatch source, RemoteDenormalizedBatchFullVO target)
          Copies the fields of the specified entity to the target value object.
protected  RemoteDenormalizedBatchFullVO toRemoteDenormalizedBatchFullVO(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteDenormalizedBatchFullVO[] toRemoteDenormalizedBatchFullVOArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteDenormalizedBatchFullVO.
 void toRemoteDenormalizedBatchFullVOCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteDenormalizedBatchFullVO.
 RemoteDenormalizedBatchNaturalId toRemoteDenormalizedBatchNaturalId(DenormalizedBatch entity)
          Converts this DAO's entity to an object of type RemoteDenormalizedBatchNaturalId.
 void toRemoteDenormalizedBatchNaturalId(DenormalizedBatch source, RemoteDenormalizedBatchNaturalId target)
          Copies the fields of the specified entity to the target value object.
protected  RemoteDenormalizedBatchNaturalId toRemoteDenormalizedBatchNaturalId(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteDenormalizedBatchNaturalId[] toRemoteDenormalizedBatchNaturalIdArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteDenormalizedBatchNaturalId.
 void toRemoteDenormalizedBatchNaturalIdCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteDenormalizedBatchNaturalId.
protected  void transformEntities(int transform, java.util.Collection entities)
          Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.data.batch.denormalized.DenormalizedBatch) method.
protected  java.lang.Object transformEntity(int transform, DenormalizedBatch 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.data.batch.denormalized.DenormalizedBatchDao, please note that the DenormalizedBatchDao.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(DenormalizedBatch denormalizedBatch)
          Updates the denormalizedBatch 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.data.batch.denormalized.DenormalizedBatchDao
clusterDenormalizedBatchToEntity, remoteDenormalizedBatchFullVOToEntity, remoteDenormalizedBatchNaturalIdToEntity
 

Constructor Detail

DenormalizedBatchDaoBase

public DenormalizedBatchDaoBase()
Method Detail

setParameterDao

public void setParameterDao(ParameterDao parameterDao)
Sets the reference to parameterDao.


getParameterDao

protected ParameterDao getParameterDao()
Gets the reference to parameterDao.


setTaxonGroupDao

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


getTaxonGroupDao

protected TaxonGroupDao getTaxonGroupDao()
Gets the reference to taxonGroupDao.


setReferenceTaxonDao

public void setReferenceTaxonDao(ReferenceTaxonDao referenceTaxonDao)
Sets the reference to referenceTaxonDao.


getReferenceTaxonDao

protected ReferenceTaxonDao getReferenceTaxonDao()
Gets the reference to referenceTaxonDao.


setDenormalisedBatchSortingValueDao

public void setDenormalisedBatchSortingValueDao(DenormalisedBatchSortingValueDao denormalisedBatchSortingValueDao)
Sets the reference to denormalisedBatchSortingValueDao.


getDenormalisedBatchSortingValueDao

protected DenormalisedBatchSortingValueDao getDenormalisedBatchSortingValueDao()
Gets the reference to denormalisedBatchSortingValueDao.


load

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

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

load

public DenormalizedBatch load(java.lang.Long id)
Description copied from interface: DenormalizedBatchDao
Loads an instance of fr.ifremer.allegro.data.batch.denormalized.DenormalizedBatch from the persistent store.

Specified by:
load in interface DenormalizedBatchDao
See Also:
DenormalizedBatchDao.load(java.lang.Long)

loadAll

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

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

loadAll

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

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

loadAll

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

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

loadAll

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

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

create

public DenormalizedBatch create(DenormalizedBatch denormalizedBatch)
Description copied from interface: DenormalizedBatchDao
Creates an instance of fr.ifremer.allegro.data.batch.denormalized.DenormalizedBatch and adds it to the persistent store.

Specified by:
create in interface DenormalizedBatchDao
See Also:
DenormalizedBatchDao.create(fr.ifremer.allegro.data.batch.denormalized.DenormalizedBatch)

create

public java.lang.Object create(int transform,
                               DenormalizedBatch denormalizedBatch)
Description copied from interface: DenormalizedBatchDao

Does the same thing as DenormalizedBatchDao.create(fr.ifremer.allegro.data.batch.denormalized.DenormalizedBatch) 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 DenormalizedBatchDao
See Also:
DenormalizedBatchDao.create(int transform, fr.ifremer.allegro.data.batch.denormalized.DenormalizedBatch)

create

public java.util.Collection create(java.util.Collection entities)
Description copied from interface: DenormalizedBatchDao
Creates a new instance of fr.ifremer.allegro.data.batch.denormalized.DenormalizedBatch and adds from the passed in entities collection

Specified by:
create in interface DenormalizedBatchDao
Parameters:
entities - the collection of fr.ifremer.allegro.data.batch.denormalized.DenormalizedBatch instances to create.
Returns:
the created instances.
See Also:
DenormalizedBatchDao.create(java.util.Collection)

create

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

Does the same thing as DenormalizedBatchDao.create(fr.ifremer.allegro.data.batch.denormalized.DenormalizedBatch) 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 DenormalizedBatchDao
See Also:
DenormalizedBatchDao.create(int, java.util.Collection)

create

public DenormalizedBatch create(java.lang.Short rankOrder,
                                java.lang.Float weight,
                                java.lang.Float elevateWeight,
                                java.lang.Integer individualcount,
                                java.lang.Integer elevateIndividualCount,
                                java.lang.Float numericalValue,
                                java.lang.Boolean exhaustiveInventory,
                                java.lang.Boolean childBatchsReplication,
                                java.lang.String comments,
                                Parameter numericalParameter,
                                TaxonGroup taxonGroup,
                                ReferenceTaxon referenceTaxon,
                                java.util.Collection denormalisedBatchSortingValues)
Description copied from interface: DenormalizedBatchDao

Creates a new fr.ifremer.allegro.data.batch.denormalized.DenormalizedBatch instance from all attributes and properties and adds it to the persistent store.

Specified by:
create in interface DenormalizedBatchDao
See Also:
DenormalizedBatchDao.create(java.lang.Short,java.lang.Float,java.lang.Float,java.lang.Integer,java.lang.Integer,java.lang.Float,java.lang.Boolean,java.lang.Boolean,java.lang.String,fr.ifremer.allegro.referential.pmfm.Parameter,fr.ifremer.allegro.referential.taxon.TaxonGroup,fr.ifremer.allegro.referential.taxon.ReferenceTaxon,java.util.Collection)

create

public java.lang.Object create(int transform,
                               java.lang.Short rankOrder,
                               java.lang.Float weight,
                               java.lang.Float elevateWeight,
                               java.lang.Integer individualcount,
                               java.lang.Integer elevateIndividualCount,
                               java.lang.Float numericalValue,
                               java.lang.Boolean exhaustiveInventory,
                               java.lang.Boolean childBatchsReplication,
                               java.lang.String comments,
                               Parameter numericalParameter,
                               TaxonGroup taxonGroup,
                               ReferenceTaxon referenceTaxon,
                               java.util.Collection denormalisedBatchSortingValues)
Description copied from interface: DenormalizedBatchDao

Does the same thing as DenormalizedBatchDao.create(java.lang.Short,java.lang.Float,java.lang.Float,java.lang.Integer,java.lang.Integer,java.lang.Float,java.lang.Boolean,java.lang.Boolean,java.lang.String,fr.ifremer.allegro.referential.pmfm.Parameter,fr.ifremer.allegro.referential.taxon.TaxonGroup,fr.ifremer.allegro.referential.taxon.ReferenceTaxon,java.util.Collection) 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 DenormalizedBatchDao
See Also:
DenormalizedBatchDao.create(int, java.lang.Short,java.lang.Float,java.lang.Float,java.lang.Integer,java.lang.Integer,java.lang.Float,java.lang.Boolean,java.lang.Boolean,java.lang.String,fr.ifremer.allegro.referential.pmfm.Parameter,fr.ifremer.allegro.referential.taxon.TaxonGroup,fr.ifremer.allegro.referential.taxon.ReferenceTaxon,java.util.Collection)

create

public DenormalizedBatch create(java.lang.Short rankOrder)
Description copied from interface: DenormalizedBatchDao

Creates a new fr.ifremer.allegro.data.batch.denormalized.DenormalizedBatch instance from only required properties (attributes and association ends) and adds it to the persistent store.

Specified by:
create in interface DenormalizedBatchDao
See Also:
DenormalizedBatchDao.create(java.lang.Short)

create

public java.lang.Object create(int transform,
                               java.lang.Short rankOrder)
Description copied from interface: DenormalizedBatchDao

Does the same thing as DenormalizedBatchDao.create(java.lang.Short) 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 DenormalizedBatchDao
See Also:
DenormalizedBatchDao.create(int, java.lang.Short)

update

public void update(DenormalizedBatch denormalizedBatch)
Description copied from interface: DenormalizedBatchDao
Updates the denormalizedBatch instance in the persistent store.

Specified by:
update in interface DenormalizedBatchDao
See Also:
DenormalizedBatchDao.update(fr.ifremer.allegro.data.batch.denormalized.DenormalizedBatch)

update

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

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

remove

public void remove(DenormalizedBatch denormalizedBatch)
Description copied from interface: DenormalizedBatchDao
Removes the instance of fr.ifremer.allegro.data.batch.denormalized.DenormalizedBatch from the persistent store.

Specified by:
remove in interface DenormalizedBatchDao
See Also:
DenormalizedBatchDao.remove(fr.ifremer.allegro.data.batch.denormalized.DenormalizedBatch)

remove

public void remove(java.lang.Long id)
Description copied from interface: DenormalizedBatchDao
Removes the instance of fr.ifremer.allegro.data.batch.denormalized.DenormalizedBatch having the given identifier from the persistent store.

Specified by:
remove in interface DenormalizedBatchDao
See Also:
DenormalizedBatchDao.remove(java.lang.Long)

remove

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

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

getAllDenormalizedBatch

public java.util.Collection getAllDenormalizedBatch()
Specified by:
getAllDenormalizedBatch in interface DenormalizedBatchDao
See Also:
DenormalizedBatchDao.getAllDenormalizedBatch()

getAllDenormalizedBatch

public java.util.Collection getAllDenormalizedBatch(int transform)
Description copied from interface: DenormalizedBatchDao

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

getAllDenormalizedBatch

public java.util.Collection getAllDenormalizedBatch(java.lang.String queryString)
Description copied from interface: DenormalizedBatchDao

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

Specified by:
getAllDenormalizedBatch in interface DenormalizedBatchDao
See Also:
DenormalizedBatchDao.getAllDenormalizedBatch(java.lang.String)

getAllDenormalizedBatch

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

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

getAllDenormalizedBatch

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

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

getAllDenormalizedBatch

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

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

Specified by:
getAllDenormalizedBatch in interface DenormalizedBatchDao
See Also:
DenormalizedBatchDao.getAllDenormalizedBatch(int, String)

getAllDenormalizedBatch

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

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

getAllDenormalizedBatch

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

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

findDenormalizedBatchById

public DenormalizedBatch findDenormalizedBatchById(java.lang.Long id)
Specified by:
findDenormalizedBatchById in interface DenormalizedBatchDao
See Also:
DenormalizedBatchDao.findDenormalizedBatchById(java.lang.Long)

findDenormalizedBatchById

public java.lang.Object findDenormalizedBatchById(int transform,
                                                  java.lang.Long id)
Description copied from interface: DenormalizedBatchDao

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

findDenormalizedBatchById

public DenormalizedBatch findDenormalizedBatchById(java.lang.String queryString,
                                                   java.lang.Long id)
Description copied from interface: DenormalizedBatchDao

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

Specified by:
findDenormalizedBatchById in interface DenormalizedBatchDao
See Also:
DenormalizedBatchDao.findDenormalizedBatchById(java.lang.String, java.lang.Long)

findDenormalizedBatchById

public java.lang.Object findDenormalizedBatchById(int transform,
                                                  java.lang.String queryString,
                                                  java.lang.Long id)
Description copied from interface: DenormalizedBatchDao

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

Specified by:
findDenormalizedBatchById in interface DenormalizedBatchDao
See Also:
DenormalizedBatchDao.findDenormalizedBatchById(int, java.lang.String, java.lang.Long)

findDenormalizedBatchByNumericalParameter

public java.util.Collection findDenormalizedBatchByNumericalParameter(Parameter numericalParameter)
Specified by:
findDenormalizedBatchByNumericalParameter in interface DenormalizedBatchDao
See Also:
DenormalizedBatchDao.findDenormalizedBatchByNumericalParameter(fr.ifremer.allegro.referential.pmfm.Parameter)

findDenormalizedBatchByNumericalParameter

public java.util.Collection findDenormalizedBatchByNumericalParameter(int transform,
                                                                      Parameter numericalParameter)
Description copied from interface: DenormalizedBatchDao

Does the same thing as DenormalizedBatchDao.findDenormalizedBatchByNumericalParameter(fr.ifremer.allegro.referential.pmfm.Parameter) 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:
findDenormalizedBatchByNumericalParameter in interface DenormalizedBatchDao
See Also:
DenormalizedBatchDao.findDenormalizedBatchByNumericalParameter(int, fr.ifremer.allegro.referential.pmfm.Parameter)

findDenormalizedBatchByNumericalParameter

public java.util.Collection findDenormalizedBatchByNumericalParameter(java.lang.String queryString,
                                                                      Parameter numericalParameter)
Description copied from interface: DenormalizedBatchDao

Does the same thing as DenormalizedBatchDao.findDenormalizedBatchByNumericalParameter(fr.ifremer.allegro.referential.pmfm.Parameter) with an additional argument called queryString. This queryString argument allows you to override the query string defined in DenormalizedBatchDao.findDenormalizedBatchByNumericalParameter(fr.ifremer.allegro.referential.pmfm.Parameter).

Specified by:
findDenormalizedBatchByNumericalParameter in interface DenormalizedBatchDao
See Also:
DenormalizedBatchDao.findDenormalizedBatchByNumericalParameter(java.lang.String, fr.ifremer.allegro.referential.pmfm.Parameter)

findDenormalizedBatchByNumericalParameter

public java.util.Collection findDenormalizedBatchByNumericalParameter(int pageNumber,
                                                                      int pageSize,
                                                                      Parameter numericalParameter)
Description copied from interface: DenormalizedBatchDao

Does the same thing as DenormalizedBatchDao.findDenormalizedBatchByNumericalParameter(fr.ifremer.allegro.referential.pmfm.Parameter) 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:
findDenormalizedBatchByNumericalParameter in interface DenormalizedBatchDao
See Also:
DenormalizedBatchDao.findDenormalizedBatchByNumericalParameter(int, int, fr.ifremer.allegro.referential.pmfm.Parameter)

findDenormalizedBatchByNumericalParameter

public java.util.Collection findDenormalizedBatchByNumericalParameter(java.lang.String queryString,
                                                                      int pageNumber,
                                                                      int pageSize,
                                                                      Parameter numericalParameter)
Description copied from interface: DenormalizedBatchDao

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

findDenormalizedBatchByNumericalParameter

public java.util.Collection findDenormalizedBatchByNumericalParameter(int transform,
                                                                      java.lang.String queryString,
                                                                      Parameter numericalParameter)
Description copied from interface: DenormalizedBatchDao

Does the same thing as DenormalizedBatchDao.findDenormalizedBatchByNumericalParameter(int, fr.ifremer.allegro.referential.pmfm.Parameter) with an additional argument called queryString. This queryString argument allows you to override the query string defined in DenormalizedBatchDao.findDenormalizedBatchByNumericalParameter(int, fr.ifremer.allegro.referential.pmfm.Parameter numericalParameter).

Specified by:
findDenormalizedBatchByNumericalParameter in interface DenormalizedBatchDao
See Also:
DenormalizedBatchDao.findDenormalizedBatchByNumericalParameter(int, String, fr.ifremer.allegro.referential.pmfm.Parameter)

findDenormalizedBatchByNumericalParameter

public java.util.Collection findDenormalizedBatchByNumericalParameter(int transform,
                                                                      int pageNumber,
                                                                      int pageSize,
                                                                      Parameter numericalParameter)
Description copied from interface: DenormalizedBatchDao

Does the same thing as DenormalizedBatchDao.findDenormalizedBatchByNumericalParameter(int, fr.ifremer.allegro.referential.pmfm.Parameter) 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:
findDenormalizedBatchByNumericalParameter in interface DenormalizedBatchDao
See Also:
DenormalizedBatchDao.findDenormalizedBatchByNumericalParameter(int, int, int, fr.ifremer.allegro.referential.pmfm.Parameter)

findDenormalizedBatchByNumericalParameter

public java.util.Collection findDenormalizedBatchByNumericalParameter(int transform,
                                                                      java.lang.String queryString,
                                                                      int pageNumber,
                                                                      int pageSize,
                                                                      Parameter numericalParameter)
Description copied from interface: DenormalizedBatchDao

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

findDenormalizedBatchByTaxonGroup

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

findDenormalizedBatchByTaxonGroup

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

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

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

findDenormalizedBatchByTaxonGroup

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

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

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

findDenormalizedBatchByTaxonGroup

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

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

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

findDenormalizedBatchByTaxonGroup

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

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

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

findDenormalizedBatchByTaxonGroup

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

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

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

findDenormalizedBatchByTaxonGroup

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

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

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

findDenormalizedBatchByTaxonGroup

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

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

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

findDenormalizedBatchByReferenceTaxon

public java.util.Collection findDenormalizedBatchByReferenceTaxon(ReferenceTaxon referenceTaxon)
Specified by:
findDenormalizedBatchByReferenceTaxon in interface DenormalizedBatchDao
See Also:
DenormalizedBatchDao.findDenormalizedBatchByReferenceTaxon(fr.ifremer.allegro.referential.taxon.ReferenceTaxon)

findDenormalizedBatchByReferenceTaxon

public java.util.Collection findDenormalizedBatchByReferenceTaxon(int transform,
                                                                  ReferenceTaxon referenceTaxon)
Description copied from interface: DenormalizedBatchDao

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

findDenormalizedBatchByReferenceTaxon

public java.util.Collection findDenormalizedBatchByReferenceTaxon(java.lang.String queryString,
                                                                  ReferenceTaxon referenceTaxon)
Description copied from interface: DenormalizedBatchDao

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

Specified by:
findDenormalizedBatchByReferenceTaxon in interface DenormalizedBatchDao
See Also:
DenormalizedBatchDao.findDenormalizedBatchByReferenceTaxon(java.lang.String, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)

findDenormalizedBatchByReferenceTaxon

public java.util.Collection findDenormalizedBatchByReferenceTaxon(int pageNumber,
                                                                  int pageSize,
                                                                  ReferenceTaxon referenceTaxon)
Description copied from interface: DenormalizedBatchDao

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

findDenormalizedBatchByReferenceTaxon

public java.util.Collection findDenormalizedBatchByReferenceTaxon(java.lang.String queryString,
                                                                  int pageNumber,
                                                                  int pageSize,
                                                                  ReferenceTaxon referenceTaxon)
Description copied from interface: DenormalizedBatchDao

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

findDenormalizedBatchByReferenceTaxon

public java.util.Collection findDenormalizedBatchByReferenceTaxon(int transform,
                                                                  java.lang.String queryString,
                                                                  ReferenceTaxon referenceTaxon)
Description copied from interface: DenormalizedBatchDao

Does the same thing as DenormalizedBatchDao.findDenormalizedBatchByReferenceTaxon(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an additional argument called queryString. This queryString argument allows you to override the query string defined in DenormalizedBatchDao.findDenormalizedBatchByReferenceTaxon(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon referenceTaxon).

Specified by:
findDenormalizedBatchByReferenceTaxon in interface DenormalizedBatchDao
See Also:
DenormalizedBatchDao.findDenormalizedBatchByReferenceTaxon(int, String, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)

findDenormalizedBatchByReferenceTaxon

public java.util.Collection findDenormalizedBatchByReferenceTaxon(int transform,
                                                                  int pageNumber,
                                                                  int pageSize,
                                                                  ReferenceTaxon referenceTaxon)
Description copied from interface: DenormalizedBatchDao

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

findDenormalizedBatchByReferenceTaxon

public java.util.Collection findDenormalizedBatchByReferenceTaxon(int transform,
                                                                  java.lang.String queryString,
                                                                  int pageNumber,
                                                                  int pageSize,
                                                                  ReferenceTaxon referenceTaxon)
Description copied from interface: DenormalizedBatchDao

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

findDenormalizedBatchByNaturalId

public DenormalizedBatch findDenormalizedBatchByNaturalId(java.lang.Long id)
Specified by:
findDenormalizedBatchByNaturalId in interface DenormalizedBatchDao
See Also:
DenormalizedBatchDao.findDenormalizedBatchByNaturalId(java.lang.Long)

findDenormalizedBatchByNaturalId

public java.lang.Object findDenormalizedBatchByNaturalId(int transform,
                                                         java.lang.Long id)
Description copied from interface: DenormalizedBatchDao

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

findDenormalizedBatchByNaturalId

public DenormalizedBatch findDenormalizedBatchByNaturalId(java.lang.String queryString,
                                                          java.lang.Long id)
Description copied from interface: DenormalizedBatchDao

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

Specified by:
findDenormalizedBatchByNaturalId in interface DenormalizedBatchDao
See Also:
DenormalizedBatchDao.findDenormalizedBatchByNaturalId(java.lang.String, java.lang.Long)

findDenormalizedBatchByNaturalId

public java.lang.Object findDenormalizedBatchByNaturalId(int transform,
                                                         java.lang.String queryString,
                                                         java.lang.Long id)
Description copied from interface: DenormalizedBatchDao

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

Specified by:
findDenormalizedBatchByNaturalId in interface DenormalizedBatchDao
See Also:
DenormalizedBatchDao.findDenormalizedBatchByNaturalId(int, java.lang.String, java.lang.Long)

createFromClusterDenormalizedBatch

public DenormalizedBatch createFromClusterDenormalizedBatch(ClusterDenormalizedBatch clusterDenormalizedBatch)
Specified by:
createFromClusterDenormalizedBatch in interface DenormalizedBatchDao
See Also:
DenormalizedBatchDao.createFromClusterDenormalizedBatch(fr.ifremer.allegro.data.batch.denormalized.generic.cluster.ClusterDenormalizedBatch)

handleCreateFromClusterDenormalizedBatch

protected abstract DenormalizedBatch handleCreateFromClusterDenormalizedBatch(ClusterDenormalizedBatch clusterDenormalizedBatch)
                                                                       throws java.lang.Exception
Performs the core logic for createFromClusterDenormalizedBatch(fr.ifremer.allegro.data.batch.denormalized.generic.cluster.ClusterDenormalizedBatch)

Throws:
java.lang.Exception

getAllClusterDenormalizedBatch

public ClusterDenormalizedBatch[] getAllClusterDenormalizedBatch(java.lang.Integer userId,
                                                                 java.lang.Integer[] registrationLocationIds,
                                                                 java.lang.Integer pageNumber,
                                                                 java.lang.Integer pageSize)
Specified by:
getAllClusterDenormalizedBatch in interface DenormalizedBatchDao
See Also:
DenormalizedBatchDao.getAllClusterDenormalizedBatch(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

handleGetAllClusterDenormalizedBatch

protected abstract ClusterDenormalizedBatch[] handleGetAllClusterDenormalizedBatch(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 getAllClusterDenormalizedBatch(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Throws:
java.lang.Exception

transformEntity

protected java.lang.Object transformEntity(int transform,
                                           DenormalizedBatch 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.data.batch.denormalized.DenormalizedBatchDao, please note that the DenormalizedBatchDao.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 DenormalizedBatchDao.TRANSFORM_NONE is assumed.

Parameters:
transform - one of the constants declared in DenormalizedBatchDao
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.data.batch.denormalized.DenormalizedBatch) 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.data.batch.denormalized.DenormalizedBatchDao
entities - the collection of entities to transform
See Also:
transformEntity(int,fr.ifremer.allegro.data.batch.denormalized.DenormalizedBatch)

toEntity

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

toRemoteDenormalizedBatchFullVOCollection

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

Specified by:
toRemoteDenormalizedBatchFullVOCollection in interface DenormalizedBatchDao
See Also:
DenormalizedBatchDao.toRemoteDenormalizedBatchFullVOCollection(java.util.Collection)

toRemoteDenormalizedBatchFullVOArray

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

Specified by:
toRemoteDenormalizedBatchFullVOArray in interface DenormalizedBatchDao
See Also:
DenormalizedBatchDao.toRemoteDenormalizedBatchFullVOArray(java.util.Collection)

toRemoteDenormalizedBatchFullVO

protected RemoteDenormalizedBatchFullVO toRemoteDenormalizedBatchFullVO(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 DenormalizedBatchDaoImpl class if you intend to use reporting queries.

See Also:
DenormalizedBatchDao.toRemoteDenormalizedBatchFullVO(fr.ifremer.allegro.data.batch.denormalized.DenormalizedBatch)

remoteDenormalizedBatchFullVOToEntityCollection

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

Specified by:
remoteDenormalizedBatchFullVOToEntityCollection in interface DenormalizedBatchDao
See Also:
DenormalizedBatchDao.remoteDenormalizedBatchFullVOToEntityCollection(java.util.Collection)

toRemoteDenormalizedBatchFullVO

public void toRemoteDenormalizedBatchFullVO(DenormalizedBatch source,
                                            RemoteDenormalizedBatchFullVO target)
Description copied from interface: DenormalizedBatchDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteDenormalizedBatchFullVO(), 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:
toRemoteDenormalizedBatchFullVO in interface DenormalizedBatchDao
See Also:
DenormalizedBatchDao.toRemoteDenormalizedBatchFullVO(fr.ifremer.allegro.data.batch.denormalized.DenormalizedBatch, fr.ifremer.allegro.data.batch.denormalized.generic.vo.RemoteDenormalizedBatchFullVO)

toRemoteDenormalizedBatchFullVO

public RemoteDenormalizedBatchFullVO toRemoteDenormalizedBatchFullVO(DenormalizedBatch entity)
Description copied from interface: DenormalizedBatchDao
Converts this DAO's entity to an object of type RemoteDenormalizedBatchFullVO.

Specified by:
toRemoteDenormalizedBatchFullVO in interface DenormalizedBatchDao
See Also:
DenormalizedBatchDao.toRemoteDenormalizedBatchFullVO(fr.ifremer.allegro.data.batch.denormalized.DenormalizedBatch)

remoteDenormalizedBatchFullVOToEntity

public void remoteDenormalizedBatchFullVOToEntity(RemoteDenormalizedBatchFullVO source,
                                                  DenormalizedBatch target,
                                                  boolean copyIfNull)
Description copied from interface: DenormalizedBatchDao
Copies the fields of RemoteDenormalizedBatchFullVO to the specified entity.

Specified by:
remoteDenormalizedBatchFullVOToEntity in interface DenormalizedBatchDao
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.data.batch.denormalized.DenormalizedBatchDao#remoteDenormalizedBatchFullVOToEntity(fr.ifremer.allegro.data.batch.denormalized.generic.vo.RemoteDenormalizedBatchFullVO, fr.ifremer.allegro.data.batch.denormalized.DenormalizedBatch)

toRemoteDenormalizedBatchNaturalIdCollection

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

Specified by:
toRemoteDenormalizedBatchNaturalIdCollection in interface DenormalizedBatchDao
See Also:
DenormalizedBatchDao.toRemoteDenormalizedBatchNaturalIdCollection(java.util.Collection)

toRemoteDenormalizedBatchNaturalIdArray

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

Specified by:
toRemoteDenormalizedBatchNaturalIdArray in interface DenormalizedBatchDao
See Also:
DenormalizedBatchDao.toRemoteDenormalizedBatchNaturalIdArray(java.util.Collection)

toRemoteDenormalizedBatchNaturalId

protected RemoteDenormalizedBatchNaturalId toRemoteDenormalizedBatchNaturalId(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 DenormalizedBatchDaoImpl class if you intend to use reporting queries.

See Also:
DenormalizedBatchDao.toRemoteDenormalizedBatchNaturalId(fr.ifremer.allegro.data.batch.denormalized.DenormalizedBatch)

remoteDenormalizedBatchNaturalIdToEntityCollection

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

Specified by:
remoteDenormalizedBatchNaturalIdToEntityCollection in interface DenormalizedBatchDao
See Also:
DenormalizedBatchDao.remoteDenormalizedBatchNaturalIdToEntityCollection(java.util.Collection)

toRemoteDenormalizedBatchNaturalId

public void toRemoteDenormalizedBatchNaturalId(DenormalizedBatch source,
                                               RemoteDenormalizedBatchNaturalId target)
Description copied from interface: DenormalizedBatchDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteDenormalizedBatchNaturalId(), 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:
toRemoteDenormalizedBatchNaturalId in interface DenormalizedBatchDao
See Also:
DenormalizedBatchDao.toRemoteDenormalizedBatchNaturalId(fr.ifremer.allegro.data.batch.denormalized.DenormalizedBatch, fr.ifremer.allegro.data.batch.denormalized.generic.vo.RemoteDenormalizedBatchNaturalId)

toRemoteDenormalizedBatchNaturalId

public RemoteDenormalizedBatchNaturalId toRemoteDenormalizedBatchNaturalId(DenormalizedBatch entity)
Description copied from interface: DenormalizedBatchDao
Converts this DAO's entity to an object of type RemoteDenormalizedBatchNaturalId.

Specified by:
toRemoteDenormalizedBatchNaturalId in interface DenormalizedBatchDao
See Also:
DenormalizedBatchDao.toRemoteDenormalizedBatchNaturalId(fr.ifremer.allegro.data.batch.denormalized.DenormalizedBatch)

remoteDenormalizedBatchNaturalIdToEntity

public void remoteDenormalizedBatchNaturalIdToEntity(RemoteDenormalizedBatchNaturalId source,
                                                     DenormalizedBatch target,
                                                     boolean copyIfNull)
Description copied from interface: DenormalizedBatchDao
Copies the fields of RemoteDenormalizedBatchNaturalId to the specified entity.

Specified by:
remoteDenormalizedBatchNaturalIdToEntity in interface DenormalizedBatchDao
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.data.batch.denormalized.DenormalizedBatchDao#remoteDenormalizedBatchNaturalIdToEntity(fr.ifremer.allegro.data.batch.denormalized.generic.vo.RemoteDenormalizedBatchNaturalId, fr.ifremer.allegro.data.batch.denormalized.DenormalizedBatch)

toClusterDenormalizedBatchCollection

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

Specified by:
toClusterDenormalizedBatchCollection in interface DenormalizedBatchDao
See Also:
DenormalizedBatchDao.toClusterDenormalizedBatchCollection(java.util.Collection)

toClusterDenormalizedBatchArray

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

Specified by:
toClusterDenormalizedBatchArray in interface DenormalizedBatchDao
See Also:
DenormalizedBatchDao.toClusterDenormalizedBatchArray(java.util.Collection)

toClusterDenormalizedBatch

protected ClusterDenormalizedBatch toClusterDenormalizedBatch(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 DenormalizedBatchDaoImpl class if you intend to use reporting queries.

See Also:
DenormalizedBatchDao.toClusterDenormalizedBatch(fr.ifremer.allegro.data.batch.denormalized.DenormalizedBatch)

clusterDenormalizedBatchToEntityCollection

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

Specified by:
clusterDenormalizedBatchToEntityCollection in interface DenormalizedBatchDao
See Also:
DenormalizedBatchDao.clusterDenormalizedBatchToEntityCollection(java.util.Collection)

toClusterDenormalizedBatch

public void toClusterDenormalizedBatch(DenormalizedBatch source,
                                       ClusterDenormalizedBatch target)
Description copied from interface: DenormalizedBatchDao
Copies the fields of the specified entity to the target value object. This method is similar to toClusterDenormalizedBatch(), 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:
toClusterDenormalizedBatch in interface DenormalizedBatchDao
See Also:
DenormalizedBatchDao.toClusterDenormalizedBatch(fr.ifremer.allegro.data.batch.denormalized.DenormalizedBatch, fr.ifremer.allegro.data.batch.denormalized.generic.cluster.ClusterDenormalizedBatch)

toClusterDenormalizedBatch

public ClusterDenormalizedBatch toClusterDenormalizedBatch(DenormalizedBatch entity)
Description copied from interface: DenormalizedBatchDao
Converts this DAO's entity to an object of type ClusterDenormalizedBatch.

Specified by:
toClusterDenormalizedBatch in interface DenormalizedBatchDao
See Also:
DenormalizedBatchDao.toClusterDenormalizedBatch(fr.ifremer.allegro.data.batch.denormalized.DenormalizedBatch)

clusterDenormalizedBatchToEntity

public void clusterDenormalizedBatchToEntity(ClusterDenormalizedBatch source,
                                             DenormalizedBatch target,
                                             boolean copyIfNull)
Description copied from interface: DenormalizedBatchDao
Copies the fields of ClusterDenormalizedBatch to the specified entity.

Specified by:
clusterDenormalizedBatchToEntity in interface DenormalizedBatchDao
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.data.batch.denormalized.DenormalizedBatchDao#clusterDenormalizedBatchToEntity(fr.ifremer.allegro.data.batch.denormalized.generic.cluster.ClusterDenormalizedBatch, fr.ifremer.allegro.data.batch.denormalized.DenormalizedBatch)

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

search

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

search

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

search

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

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


Copyright © 2008-2010 IFREMER. All Rights Reserved.