|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.orm.hibernate3.support.HibernateDaoSupport
fr.ifremer.allegro.referential.taxon.TaxonGroupDaoBase
public abstract class TaxonGroupDaoBase
Base Spring DAO Class: is able to create, update, remove, load, and find
objects of type fr.ifremer.allegro.referential.taxon.TaxonGroup
.
TaxonGroup
Field Summary |
---|
Fields inherited from interface fr.ifremer.allegro.referential.taxon.TaxonGroupDao |
---|
TRANSFORM_CLUSTERTAXONGROUP, TRANSFORM_NONE, TRANSFORM_REMOTETAXONGROUPFULLVO, TRANSFORM_REMOTETAXONGROUPNATURALID |
Constructor Summary | |
---|---|
TaxonGroupDaoBase()
|
Method Summary | |
---|---|
void |
clusterTaxonGroupToEntity(ClusterTaxonGroup source,
TaxonGroup target,
boolean copyIfNull)
Copies the fields of ClusterTaxonGroup to the specified entity. |
void |
clusterTaxonGroupToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type ClusterTaxonGroup to this
DAO's entity. |
java.util.Collection |
create(java.util.Collection entities)
Creates a new instance of fr.ifremer.allegro.referential.taxon.TaxonGroup and adds from the passed in entities collection |
TaxonGroup |
create(java.util.Date creationDate,
java.lang.Boolean isChildGroupExclusive,
java.lang.Boolean isUpdatable,
java.lang.String name,
Status status,
TaxonGroupType taxonGroupType)
Creates a new fr.ifremer.allegro.referential.taxon.TaxonGroup
instance from only required properties (attributes
and association ends) and adds it to the persistent store. |
java.util.Collection |
create(int transform,
java.util.Collection entities)
Does the same thing as TaxonGroupDao.create(fr.ifremer.allegro.referential.taxon.TaxonGroup) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
java.util.Date creationDate,
java.lang.Boolean isChildGroupExclusive,
java.lang.Boolean isUpdatable,
java.lang.String name,
Status status,
TaxonGroupType taxonGroupType)
Does the same thing as TaxonGroupDao.create(java.util.Date,java.lang.Boolean,java.lang.Boolean,java.lang.String,fr.ifremer.allegro.referential.Status,fr.ifremer.allegro.referential.taxon.TaxonGroupType) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
java.lang.String label,
java.lang.String name,
java.lang.String comments,
java.lang.Boolean isChildGroupExclusive,
java.lang.Boolean isUpdatable,
java.util.Date creationDate,
java.sql.Timestamp updateDate,
TaxonGroupType taxonGroupType,
Status status,
java.util.Collection taxonGroupHistoricalRecords,
java.util.Collection taxonGroupInformations,
java.util.Collection childTaxonGroup,
TaxonGroup parentTaxonGroup)
Does the same thing as TaxonGroupDao.create(java.lang.String,java.lang.String,java.lang.String,java.lang.Boolean,java.lang.Boolean,java.util.Date,java.sql.Timestamp,fr.ifremer.allegro.referential.taxon.TaxonGroupType,fr.ifremer.allegro.referential.Status,java.util.Collection,java.util.Collection,java.util.Collection,fr.ifremer.allegro.referential.taxon.TaxonGroup) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
TaxonGroup taxonGroup)
Does the same thing as TaxonGroupDao.create(fr.ifremer.allegro.referential.taxon.TaxonGroup) with an
additional flag called transform . |
TaxonGroup |
create(java.lang.String label,
java.lang.String name,
java.lang.String comments,
java.lang.Boolean isChildGroupExclusive,
java.lang.Boolean isUpdatable,
java.util.Date creationDate,
java.sql.Timestamp updateDate,
TaxonGroupType taxonGroupType,
Status status,
java.util.Collection taxonGroupHistoricalRecords,
java.util.Collection taxonGroupInformations,
java.util.Collection childTaxonGroup,
TaxonGroup parentTaxonGroup)
Creates a new fr.ifremer.allegro.referential.taxon.TaxonGroup
instance from all attributes and
properties and adds it to the persistent store. |
TaxonGroup |
create(TaxonGroup taxonGroup)
Creates an instance of fr.ifremer.allegro.referential.taxon.TaxonGroup and adds it to the persistent store. |
TaxonGroup |
createFromClusterTaxonGroup(ClusterTaxonGroup clusterTaxonGroup)
|
TaxonGroup |
findTaxonGroupById(java.lang.Integer id)
|
java.lang.Object |
findTaxonGroupById(int transform,
java.lang.Integer id)
Does the same thing as TaxonGroupDao.findTaxonGroupById(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findTaxonGroupById(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as TaxonGroupDao.findTaxonGroupById(int, java.lang.Integer) with an
additional argument called queryString . |
TaxonGroup |
findTaxonGroupById(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as TaxonGroupDao.findTaxonGroupById(java.lang.Integer) with an
additional argument called queryString . |
java.lang.Object |
findTaxonGroupByNaturalId(int transform,
java.lang.String queryString,
java.lang.String name,
TaxonGroupType taxonGroupType,
TaxonGroup parentTaxonGroup)
Does the same thing as TaxonGroupDao.findTaxonGroupByNaturalId(int, java.lang.String, fr.ifremer.allegro.referential.taxon.TaxonGroupType, fr.ifremer.allegro.referential.taxon.TaxonGroup) with an
additional argument called queryString . |
java.lang.Object |
findTaxonGroupByNaturalId(int transform,
java.lang.String name,
TaxonGroupType taxonGroupType,
TaxonGroup parentTaxonGroup)
Does the same thing as TaxonGroupDao.findTaxonGroupByNaturalId(java.lang.String, fr.ifremer.allegro.referential.taxon.TaxonGroupType, fr.ifremer.allegro.referential.taxon.TaxonGroup) with an
additional flag called transform . |
TaxonGroup |
findTaxonGroupByNaturalId(java.lang.String queryString,
java.lang.String name,
TaxonGroupType taxonGroupType,
TaxonGroup parentTaxonGroup)
Does the same thing as TaxonGroupDao.findTaxonGroupByNaturalId(java.lang.String, fr.ifremer.allegro.referential.taxon.TaxonGroupType, fr.ifremer.allegro.referential.taxon.TaxonGroup) with an
additional argument called queryString . |
TaxonGroup |
findTaxonGroupByNaturalId(java.lang.String name,
TaxonGroupType taxonGroupType,
TaxonGroup parentTaxonGroup)
|
java.util.Collection |
findTaxonGroupByParentTaxonGroup(int transform,
int pageNumber,
int pageSize,
TaxonGroup parentTaxonGroup)
Does the same thing as TaxonGroupDao.findTaxonGroupByParentTaxonGroup(int, fr.ifremer.allegro.referential.taxon.TaxonGroup) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findTaxonGroupByParentTaxonGroup(int pageNumber,
int pageSize,
TaxonGroup parentTaxonGroup)
Does the same thing as TaxonGroupDao.findTaxonGroupByParentTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findTaxonGroupByParentTaxonGroup(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
TaxonGroup parentTaxonGroup)
Does the same thing as TaxonGroupDao.findTaxonGroupByParentTaxonGroup(int, String, fr.ifremer.allegro.referential.taxon.TaxonGroup) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findTaxonGroupByParentTaxonGroup(int transform,
java.lang.String queryString,
TaxonGroup parentTaxonGroup)
Does the same thing as TaxonGroupDao.findTaxonGroupByParentTaxonGroup(int, fr.ifremer.allegro.referential.taxon.TaxonGroup) with an
additional argument called queryString . |
java.util.Collection |
findTaxonGroupByParentTaxonGroup(int transform,
TaxonGroup parentTaxonGroup)
Does the same thing as TaxonGroupDao.findTaxonGroupByParentTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup) with an
additional flag called transform . |
java.util.Collection |
findTaxonGroupByParentTaxonGroup(java.lang.String queryString,
int pageNumber,
int pageSize,
TaxonGroup parentTaxonGroup)
Does the same thing as TaxonGroupDao.findTaxonGroupByParentTaxonGroup(String, fr.ifremer.allegro.referential.taxon.TaxonGroup) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findTaxonGroupByParentTaxonGroup(java.lang.String queryString,
TaxonGroup parentTaxonGroup)
Does the same thing as TaxonGroupDao.findTaxonGroupByParentTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup) with an
additional argument called queryString . |
java.util.Collection |
findTaxonGroupByParentTaxonGroup(TaxonGroup parentTaxonGroup)
|
java.util.Collection |
findTaxonGroupByStatus(int transform,
int pageNumber,
int pageSize,
Status status)
Does the same thing as TaxonGroupDao.findTaxonGroupByStatus(int, fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findTaxonGroupByStatus(int pageNumber,
int pageSize,
Status status)
Does the same thing as TaxonGroupDao.findTaxonGroupByStatus(fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findTaxonGroupByStatus(int transform,
Status status)
Does the same thing as TaxonGroupDao.findTaxonGroupByStatus(fr.ifremer.allegro.referential.Status) with an
additional flag called transform . |
java.util.Collection |
findTaxonGroupByStatus(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
Status status)
Does the same thing as TaxonGroupDao.findTaxonGroupByStatus(int, String, fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findTaxonGroupByStatus(int transform,
java.lang.String queryString,
Status status)
Does the same thing as TaxonGroupDao.findTaxonGroupByStatus(int, fr.ifremer.allegro.referential.Status) with an
additional argument called queryString . |
java.util.Collection |
findTaxonGroupByStatus(Status status)
|
java.util.Collection |
findTaxonGroupByStatus(java.lang.String queryString,
int pageNumber,
int pageSize,
Status status)
Does the same thing as TaxonGroupDao.findTaxonGroupByStatus(String, fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findTaxonGroupByStatus(java.lang.String queryString,
Status status)
Does the same thing as TaxonGroupDao.findTaxonGroupByStatus(fr.ifremer.allegro.referential.Status) with an
additional argument called queryString . |
java.util.Collection |
findTaxonGroupByTaxonGroupType(int transform,
int pageNumber,
int pageSize,
TaxonGroupType taxonGroupType)
Does the same thing as TaxonGroupDao.findTaxonGroupByTaxonGroupType(int, fr.ifremer.allegro.referential.taxon.TaxonGroupType) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findTaxonGroupByTaxonGroupType(int pageNumber,
int pageSize,
TaxonGroupType taxonGroupType)
Does the same thing as TaxonGroupDao.findTaxonGroupByTaxonGroupType(fr.ifremer.allegro.referential.taxon.TaxonGroupType) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findTaxonGroupByTaxonGroupType(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
TaxonGroupType taxonGroupType)
Does the same thing as TaxonGroupDao.findTaxonGroupByTaxonGroupType(int, String, fr.ifremer.allegro.referential.taxon.TaxonGroupType) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findTaxonGroupByTaxonGroupType(int transform,
java.lang.String queryString,
TaxonGroupType taxonGroupType)
Does the same thing as TaxonGroupDao.findTaxonGroupByTaxonGroupType(int, fr.ifremer.allegro.referential.taxon.TaxonGroupType) with an
additional argument called queryString . |
java.util.Collection |
findTaxonGroupByTaxonGroupType(int transform,
TaxonGroupType taxonGroupType)
Does the same thing as TaxonGroupDao.findTaxonGroupByTaxonGroupType(fr.ifremer.allegro.referential.taxon.TaxonGroupType) with an
additional flag called transform . |
java.util.Collection |
findTaxonGroupByTaxonGroupType(java.lang.String queryString,
int pageNumber,
int pageSize,
TaxonGroupType taxonGroupType)
Does the same thing as TaxonGroupDao.findTaxonGroupByTaxonGroupType(String, fr.ifremer.allegro.referential.taxon.TaxonGroupType) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findTaxonGroupByTaxonGroupType(java.lang.String queryString,
TaxonGroupType taxonGroupType)
Does the same thing as TaxonGroupDao.findTaxonGroupByTaxonGroupType(fr.ifremer.allegro.referential.taxon.TaxonGroupType) with an
additional argument called queryString . |
java.util.Collection |
findTaxonGroupByTaxonGroupType(TaxonGroupType taxonGroupType)
|
ClusterTaxonGroup[] |
getAllClusterTaxonGroupSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize)
|
java.util.Collection |
getAllTaxonGroup()
|
java.util.Collection |
getAllTaxonGroup(int transform)
Does the same thing as TaxonGroupDao.getAllTaxonGroup() with an
additional flag called transform . |
java.util.Collection |
getAllTaxonGroup(int pageNumber,
int pageSize)
Does the same thing as TaxonGroupDao.getAllTaxonGroup() with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllTaxonGroup(int transform,
int pageNumber,
int pageSize)
Does the same thing as TaxonGroupDao.getAllTaxonGroup(int) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllTaxonGroup(int transform,
java.lang.String queryString)
Does the same thing as TaxonGroupDao.getAllTaxonGroup(int) with an
additional argument called queryString . |
java.util.Collection |
getAllTaxonGroup(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as TaxonGroupDao.getAllTaxonGroup(int, String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllTaxonGroup(java.lang.String queryString)
Does the same thing as TaxonGroupDao.getAllTaxonGroup() with an
additional argument called queryString . |
java.util.Collection |
getAllTaxonGroup(java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as TaxonGroupDao.getAllTaxonGroup(String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllTaxonGroupSinceDateSynchro(int transform,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as TaxonGroupDao.getAllTaxonGroupSinceDateSynchro(int, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllTaxonGroupSinceDateSynchro(int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as TaxonGroupDao.getAllTaxonGroupSinceDateSynchro(java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllTaxonGroupSinceDateSynchro(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as TaxonGroupDao.getAllTaxonGroupSinceDateSynchro(int, String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllTaxonGroupSinceDateSynchro(int transform,
java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as TaxonGroupDao.getAllTaxonGroupSinceDateSynchro(int, java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllTaxonGroupSinceDateSynchro(int transform,
java.sql.Timestamp updateDate)
Does the same thing as TaxonGroupDao.getAllTaxonGroupSinceDateSynchro(java.sql.Timestamp) with an
additional flag called transform . |
java.util.Collection |
getAllTaxonGroupSinceDateSynchro(java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as TaxonGroupDao.getAllTaxonGroupSinceDateSynchro(String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllTaxonGroupSinceDateSynchro(java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as TaxonGroupDao.getAllTaxonGroupSinceDateSynchro(java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllTaxonGroupSinceDateSynchro(java.sql.Timestamp updateDate)
|
protected java.security.Principal |
getPrincipal()
Gets the current principal if one has been set,
otherwise returns null . |
protected StatusDao |
getStatusDao()
Gets the reference to statusDao . |
protected TaxonGroupDao |
getTaxonGroupDao()
Gets the reference to taxonGroupDao . |
protected TaxonGroupHistoricalRecordDao |
getTaxonGroupHistoricalRecordDao()
Gets the reference to taxonGroupHistoricalRecordDao . |
protected TaxonGroupInformationDao |
getTaxonGroupInformationDao()
Gets the reference to taxonGroupInformationDao . |
protected TaxonGroupTypeDao |
getTaxonGroupTypeDao()
Gets the reference to taxonGroupTypeDao . |
protected abstract TaxonGroup |
handleCreateFromClusterTaxonGroup(ClusterTaxonGroup clusterTaxonGroup)
Performs the core logic for createFromClusterTaxonGroup(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterTaxonGroup) |
protected abstract ClusterTaxonGroup[] |
handleGetAllClusterTaxonGroupSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize)
Performs the core logic for getAllClusterTaxonGroupSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer) |
TaxonGroup |
load(java.lang.Integer id)
Loads an instance of fr.ifremer.allegro.referential.taxon.TaxonGroup from the persistent store. |
java.lang.Object |
load(int transform,
java.lang.Integer id)
Does the same thing as TaxonGroupDao.load(java.lang.Integer) with an
additional flag called transform . |
java.util.Collection |
loadAll()
Loads all entities of type TaxonGroup . |
java.util.Collection |
loadAll(int transform)
Does the same thing as TaxonGroupDao.loadAll() with an
additional flag called transform . |
java.util.Collection |
loadAll(int pageNumber,
int pageSize)
Does the same thing as TaxonGroupDao.loadAll() with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
loadAll(int transform,
int pageNumber,
int pageSize)
Does the same thing as TaxonGroupDao.loadAll(int) with an
additional two arguments called pageNumber and pageSize . |
void |
remoteTaxonGroupFullVOToEntity(RemoteTaxonGroupFullVO source,
TaxonGroup target,
boolean copyIfNull)
Copies the fields of RemoteTaxonGroupFullVO to the specified entity. |
void |
remoteTaxonGroupFullVOToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteTaxonGroupFullVO to this
DAO's entity. |
void |
remoteTaxonGroupNaturalIdToEntity(RemoteTaxonGroupNaturalId source,
TaxonGroup target,
boolean copyIfNull)
Copies the fields of RemoteTaxonGroupNaturalId to the specified entity. |
void |
remoteTaxonGroupNaturalIdToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteTaxonGroupNaturalId to this
DAO's entity. |
void |
remove(java.util.Collection entities)
Removes all entities in the given entities |
void |
remove(java.lang.Integer id)
Removes the instance of fr.ifremer.allegro.referential.taxon.TaxonGroup having the given identifier from the persistent store. |
void |
remove(TaxonGroup taxonGroup)
Removes the instance of fr.ifremer.allegro.referential.taxon.TaxonGroup from the persistent store. |
PaginationResult |
search(int transform,
int pageNumber,
int pageSize,
Search search)
Does the same thing as {@link #search(int, fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize . |
PaginationResult |
search(int pageNumber,
int pageSize,
Search search)
Does the same thing as {@link #search(fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize . |
java.util.Set |
search(int transform,
Search search)
Does the same thing as TaxonGroupDao.search(fr.ifremer.allegro.Search) but with an
additional flag called transform . |
java.util.Set |
search(Search search)
Performs a search using the parameters specified in the given search object. |
void |
setStatusDao(StatusDao statusDao)
Sets the reference to statusDao . |
void |
setTaxonGroupDao(TaxonGroupDao taxonGroupDao)
Sets the reference to taxonGroupDao . |
void |
setTaxonGroupHistoricalRecordDao(TaxonGroupHistoricalRecordDao taxonGroupHistoricalRecordDao)
Sets the reference to taxonGroupHistoricalRecordDao . |
void |
setTaxonGroupInformationDao(TaxonGroupInformationDao taxonGroupInformationDao)
Sets the reference to taxonGroupInformationDao . |
void |
setTaxonGroupTypeDao(TaxonGroupTypeDao taxonGroupTypeDao)
Sets the reference to taxonGroupTypeDao . |
protected ClusterTaxonGroup |
toClusterTaxonGroup(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
ClusterTaxonGroup |
toClusterTaxonGroup(TaxonGroup entity)
Converts this DAO's entity to an object of type ClusterTaxonGroup . |
void |
toClusterTaxonGroup(TaxonGroup source,
ClusterTaxonGroup target)
Copies the fields of the specified entity to the target value object. |
ClusterTaxonGroup[] |
toClusterTaxonGroupArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type ClusterTaxonGroup . |
void |
toClusterTaxonGroupCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type ClusterTaxonGroup . |
protected TaxonGroup |
toEntity(java.lang.Object[] row)
|
protected RemoteTaxonGroupFullVO |
toRemoteTaxonGroupFullVO(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteTaxonGroupFullVO |
toRemoteTaxonGroupFullVO(TaxonGroup entity)
Converts this DAO's entity to an object of type RemoteTaxonGroupFullVO . |
void |
toRemoteTaxonGroupFullVO(TaxonGroup source,
RemoteTaxonGroupFullVO target)
Copies the fields of the specified entity to the target value object. |
RemoteTaxonGroupFullVO[] |
toRemoteTaxonGroupFullVOArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteTaxonGroupFullVO . |
void |
toRemoteTaxonGroupFullVOCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteTaxonGroupFullVO . |
protected RemoteTaxonGroupNaturalId |
toRemoteTaxonGroupNaturalId(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteTaxonGroupNaturalId |
toRemoteTaxonGroupNaturalId(TaxonGroup entity)
Converts this DAO's entity to an object of type RemoteTaxonGroupNaturalId . |
void |
toRemoteTaxonGroupNaturalId(TaxonGroup source,
RemoteTaxonGroupNaturalId target)
Copies the fields of the specified entity to the target value object. |
RemoteTaxonGroupNaturalId[] |
toRemoteTaxonGroupNaturalIdArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteTaxonGroupNaturalId . |
void |
toRemoteTaxonGroupNaturalIdCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteTaxonGroupNaturalId . |
protected void |
transformEntities(int transform,
java.util.Collection entities)
Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.taxon.TaxonGroup)
method. |
protected java.lang.Object |
transformEntity(int transform,
TaxonGroup entity)
Allows transformation of entities into value objects (or something else for that matter), when the transform
flag is set to one of the constants defined in fr.ifremer.allegro.referential.taxon.TaxonGroupDao , please note
that the TaxonGroupDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself
will be returned. |
void |
update(java.util.Collection entities)
Updates all instances in the entities collection in the persistent store. |
void |
update(TaxonGroup taxonGroup)
Updates the taxonGroup instance in the persistent store. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface fr.ifremer.allegro.referential.taxon.TaxonGroupDao |
---|
clusterTaxonGroupToEntity, remoteTaxonGroupFullVOToEntity, remoteTaxonGroupNaturalIdToEntity |
Constructor Detail |
---|
public TaxonGroupDaoBase()
Method Detail |
---|
public void setTaxonGroupTypeDao(TaxonGroupTypeDao taxonGroupTypeDao)
taxonGroupTypeDao
.
protected TaxonGroupTypeDao getTaxonGroupTypeDao()
taxonGroupTypeDao
.
public void setTaxonGroupDao(TaxonGroupDao taxonGroupDao)
taxonGroupDao
.
protected TaxonGroupDao getTaxonGroupDao()
taxonGroupDao
.
public void setStatusDao(StatusDao statusDao)
statusDao
.
protected StatusDao getStatusDao()
statusDao
.
public void setTaxonGroupHistoricalRecordDao(TaxonGroupHistoricalRecordDao taxonGroupHistoricalRecordDao)
taxonGroupHistoricalRecordDao
.
protected TaxonGroupHistoricalRecordDao getTaxonGroupHistoricalRecordDao()
taxonGroupHistoricalRecordDao
.
public void setTaxonGroupInformationDao(TaxonGroupInformationDao taxonGroupInformationDao)
taxonGroupInformationDao
.
protected TaxonGroupInformationDao getTaxonGroupInformationDao()
taxonGroupInformationDao
.
public java.lang.Object load(int transform, java.lang.Integer id)
TaxonGroupDao
Does the same thing as TaxonGroupDao.load(java.lang.Integer)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined in this class then the result WILL BE passed through an operation which can
optionally transform the entity (into a value object for example). By default, transformation does
not occur.
load
in interface TaxonGroupDao
id
- identifier of the entity to load
TaxonGroupDao.load(int, java.lang.Integer)
public TaxonGroup load(java.lang.Integer id)
TaxonGroupDao
load
in interface TaxonGroupDao
TaxonGroupDao.load(java.lang.Integer)
public java.util.Collection loadAll()
TaxonGroupDao
TaxonGroup
.
loadAll
in interface TaxonGroupDao
TaxonGroupDao.loadAll()
public java.util.Collection loadAll(int transform)
TaxonGroupDao
Does the same thing as TaxonGroupDao.loadAll()
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined here then the result WILL BE passed through an operation which can optionally
transform the entity (into a value object for example). By default, transformation does
not occur.
loadAll
in interface TaxonGroupDao
transform
- the flag indicating what transformation to use.
TaxonGroupDao.loadAll(int)
public java.util.Collection loadAll(int pageNumber, int pageSize)
TaxonGroupDao
Does the same thing as TaxonGroupDao.loadAll()
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
loadAll
in interface TaxonGroupDao
pageNumber
- the page number to retrieve when paging results.pageSize
- the size of the page to retrieve when paging results.
TaxonGroupDao.loadAll(int, int)
public java.util.Collection loadAll(int transform, int pageNumber, int pageSize)
TaxonGroupDao
Does the same thing as TaxonGroupDao.loadAll(int)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
loadAll
in interface TaxonGroupDao
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.
TaxonGroupDao.loadAll(int, int, int)
public TaxonGroup create(TaxonGroup taxonGroup)
TaxonGroupDao
create
in interface TaxonGroupDao
TaxonGroupDao.create(fr.ifremer.allegro.referential.taxon.TaxonGroup)
public java.lang.Object create(int transform, TaxonGroup taxonGroup)
TaxonGroupDao
Does the same thing as TaxonGroupDao.create(fr.ifremer.allegro.referential.taxon.TaxonGroup)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined here then the result WILL BE passed through an operation which can optionally
transform the entity (into a value object for example). By default, transformation does
not occur.
create
in interface TaxonGroupDao
TaxonGroupDao.create(int transform, fr.ifremer.allegro.referential.taxon.TaxonGroup)
public java.util.Collection create(java.util.Collection entities)
TaxonGroupDao
entities
collection
create
in interface TaxonGroupDao
entities
- the collection of fr.ifremer.allegro.referential.taxon.TaxonGroup
instances to create.
TaxonGroupDao.create(java.util.Collection)
public java.util.Collection create(int transform, java.util.Collection entities)
TaxonGroupDao
Does the same thing as TaxonGroupDao.create(fr.ifremer.allegro.referential.taxon.TaxonGroup)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined here then the result WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
create
in interface TaxonGroupDao
TaxonGroupDao.create(int, java.util.Collection)
public TaxonGroup create(java.lang.String label, java.lang.String name, java.lang.String comments, java.lang.Boolean isChildGroupExclusive, java.lang.Boolean isUpdatable, java.util.Date creationDate, java.sql.Timestamp updateDate, TaxonGroupType taxonGroupType, Status status, java.util.Collection taxonGroupHistoricalRecords, java.util.Collection taxonGroupInformations, java.util.Collection childTaxonGroup, TaxonGroup parentTaxonGroup)
TaxonGroupDao
Creates a new fr.ifremer.allegro.referential.taxon.TaxonGroup
instance from all attributes and
properties and adds it to the persistent store.
create
in interface TaxonGroupDao
TaxonGroupDao.create(java.lang.String,java.lang.String,java.lang.String,java.lang.Boolean,java.lang.Boolean,java.util.Date,java.sql.Timestamp,fr.ifremer.allegro.referential.taxon.TaxonGroupType,fr.ifremer.allegro.referential.Status,java.util.Collection,java.util.Collection,java.util.Collection,fr.ifremer.allegro.referential.taxon.TaxonGroup)
public java.lang.Object create(int transform, java.lang.String label, java.lang.String name, java.lang.String comments, java.lang.Boolean isChildGroupExclusive, java.lang.Boolean isUpdatable, java.util.Date creationDate, java.sql.Timestamp updateDate, TaxonGroupType taxonGroupType, Status status, java.util.Collection taxonGroupHistoricalRecords, java.util.Collection taxonGroupInformations, java.util.Collection childTaxonGroup, TaxonGroup parentTaxonGroup)
TaxonGroupDao
Does the same thing as TaxonGroupDao.create(java.lang.String,java.lang.String,java.lang.String,java.lang.Boolean,java.lang.Boolean,java.util.Date,java.sql.Timestamp,fr.ifremer.allegro.referential.taxon.TaxonGroupType,fr.ifremer.allegro.referential.Status,java.util.Collection,java.util.Collection,java.util.Collection,fr.ifremer.allegro.referential.taxon.TaxonGroup)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined here then the result WILL BE passed through an operation which can optionally
transform the entity (into a value object for example). By default, transformation does
not occur.
create
in interface TaxonGroupDao
TaxonGroupDao.create(int, java.lang.String,java.lang.String,java.lang.String,java.lang.Boolean,java.lang.Boolean,java.util.Date,java.sql.Timestamp,fr.ifremer.allegro.referential.taxon.TaxonGroupType,fr.ifremer.allegro.referential.Status,java.util.Collection,java.util.Collection,java.util.Collection,fr.ifremer.allegro.referential.taxon.TaxonGroup)
public TaxonGroup create(java.util.Date creationDate, java.lang.Boolean isChildGroupExclusive, java.lang.Boolean isUpdatable, java.lang.String name, Status status, TaxonGroupType taxonGroupType)
TaxonGroupDao
Creates a new fr.ifremer.allegro.referential.taxon.TaxonGroup
instance from only required properties (attributes
and association ends) and adds it to the persistent store.
create
in interface TaxonGroupDao
TaxonGroupDao.create(java.util.Date,java.lang.Boolean,java.lang.Boolean,java.lang.String,fr.ifremer.allegro.referential.Status,fr.ifremer.allegro.referential.taxon.TaxonGroupType)
public java.lang.Object create(int transform, java.util.Date creationDate, java.lang.Boolean isChildGroupExclusive, java.lang.Boolean isUpdatable, java.lang.String name, Status status, TaxonGroupType taxonGroupType)
TaxonGroupDao
Does the same thing as TaxonGroupDao.create(java.util.Date,java.lang.Boolean,java.lang.Boolean,java.lang.String,fr.ifremer.allegro.referential.Status,fr.ifremer.allegro.referential.taxon.TaxonGroupType)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOTWILL BE passed through an operation which can optionally
transform the entity (into a value object for example). By default, transformation does
not occur.
create
in interface TaxonGroupDao
TaxonGroupDao.create(int, java.util.Date,java.lang.Boolean,java.lang.Boolean,java.lang.String,fr.ifremer.allegro.referential.Status,fr.ifremer.allegro.referential.taxon.TaxonGroupType)
public void update(TaxonGroup taxonGroup)
TaxonGroupDao
taxonGroup
instance in the persistent store.
update
in interface TaxonGroupDao
TaxonGroupDao.update(fr.ifremer.allegro.referential.taxon.TaxonGroup)
public void update(java.util.Collection entities)
TaxonGroupDao
entities
collection in the persistent store.
update
in interface TaxonGroupDao
TaxonGroupDao.update(java.util.Collection)
public void remove(TaxonGroup taxonGroup)
TaxonGroupDao
remove
in interface TaxonGroupDao
TaxonGroupDao.remove(fr.ifremer.allegro.referential.taxon.TaxonGroup)
public void remove(java.lang.Integer id)
TaxonGroupDao
identifier
from the persistent store.
remove
in interface TaxonGroupDao
TaxonGroupDao.remove(java.lang.Integer)
public void remove(java.util.Collection entities)
TaxonGroupDao
entities collection.
- Specified by:
remove
in interface TaxonGroupDao
- See Also:
TaxonGroupDao.remove(java.util.Collection)
public java.util.Collection getAllTaxonGroup()
getAllTaxonGroup
in interface TaxonGroupDao
TaxonGroupDao.getAllTaxonGroup()
public java.util.Collection getAllTaxonGroup(int transform)
TaxonGroupDao
Does the same thing as TaxonGroupDao.getAllTaxonGroup()
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
getAllTaxonGroup
in interface TaxonGroupDao
TaxonGroupDao.getAllTaxonGroup(int)
public java.util.Collection getAllTaxonGroup(java.lang.String queryString)
TaxonGroupDao
Does the same thing as TaxonGroupDao.getAllTaxonGroup()
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in TaxonGroupDao.getAllTaxonGroup()
.
getAllTaxonGroup
in interface TaxonGroupDao
TaxonGroupDao.getAllTaxonGroup(java.lang.String)
public java.util.Collection getAllTaxonGroup(int pageNumber, int pageSize)
TaxonGroupDao
Does the same thing as TaxonGroupDao.getAllTaxonGroup()
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllTaxonGroup
in interface TaxonGroupDao
TaxonGroupDao.getAllTaxonGroup(int, int)
public java.util.Collection getAllTaxonGroup(java.lang.String queryString, int pageNumber, int pageSize)
TaxonGroupDao
Does the same thing as TaxonGroupDao.getAllTaxonGroup(String)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllTaxonGroup
in interface TaxonGroupDao
TaxonGroupDao.getAllTaxonGroup(String, int, int)
public java.util.Collection getAllTaxonGroup(int transform, java.lang.String queryString)
TaxonGroupDao
Does the same thing as TaxonGroupDao.getAllTaxonGroup(int)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in TaxonGroupDao.getAllTaxonGroup(int)
.
getAllTaxonGroup
in interface TaxonGroupDao
TaxonGroupDao.getAllTaxonGroup(int, String)
public java.util.Collection getAllTaxonGroup(int transform, int pageNumber, int pageSize)
TaxonGroupDao
Does the same thing as TaxonGroupDao.getAllTaxonGroup(int)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllTaxonGroup
in interface TaxonGroupDao
TaxonGroupDao.getAllTaxonGroup(int, int, int)
public java.util.Collection getAllTaxonGroup(int transform, java.lang.String queryString, int pageNumber, int pageSize)
TaxonGroupDao
Does the same thing as TaxonGroupDao.getAllTaxonGroup(int, String)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllTaxonGroup
in interface TaxonGroupDao
TaxonGroupDao.getAllTaxonGroup(int, java.lang.String, int, int)
public TaxonGroup findTaxonGroupById(java.lang.Integer id)
findTaxonGroupById
in interface TaxonGroupDao
TaxonGroupDao.findTaxonGroupById(java.lang.Integer)
public java.lang.Object findTaxonGroupById(int transform, java.lang.Integer id)
TaxonGroupDao
Does the same thing as TaxonGroupDao.findTaxonGroupById(java.lang.Integer)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
findTaxonGroupById
in interface TaxonGroupDao
TaxonGroupDao.findTaxonGroupById(int, java.lang.Integer)
public TaxonGroup findTaxonGroupById(java.lang.String queryString, java.lang.Integer id)
TaxonGroupDao
Does the same thing as TaxonGroupDao.findTaxonGroupById(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in TaxonGroupDao.findTaxonGroupById(java.lang.Integer)
.
findTaxonGroupById
in interface TaxonGroupDao
TaxonGroupDao.findTaxonGroupById(java.lang.String, java.lang.Integer)
public java.lang.Object findTaxonGroupById(int transform, java.lang.String queryString, java.lang.Integer id)
TaxonGroupDao
Does the same thing as TaxonGroupDao.findTaxonGroupById(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in TaxonGroupDao.findTaxonGroupById(int, java.lang.Integer id)
.
findTaxonGroupById
in interface TaxonGroupDao
TaxonGroupDao.findTaxonGroupById(int, java.lang.String, java.lang.Integer)
public java.util.Collection findTaxonGroupByTaxonGroupType(TaxonGroupType taxonGroupType)
findTaxonGroupByTaxonGroupType
in interface TaxonGroupDao
TaxonGroupDao.findTaxonGroupByTaxonGroupType(fr.ifremer.allegro.referential.taxon.TaxonGroupType)
public java.util.Collection findTaxonGroupByTaxonGroupType(int transform, TaxonGroupType taxonGroupType)
TaxonGroupDao
Does the same thing as TaxonGroupDao.findTaxonGroupByTaxonGroupType(fr.ifremer.allegro.referential.taxon.TaxonGroupType)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
findTaxonGroupByTaxonGroupType
in interface TaxonGroupDao
TaxonGroupDao.findTaxonGroupByTaxonGroupType(int, fr.ifremer.allegro.referential.taxon.TaxonGroupType)
public java.util.Collection findTaxonGroupByTaxonGroupType(java.lang.String queryString, TaxonGroupType taxonGroupType)
TaxonGroupDao
Does the same thing as TaxonGroupDao.findTaxonGroupByTaxonGroupType(fr.ifremer.allegro.referential.taxon.TaxonGroupType)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in TaxonGroupDao.findTaxonGroupByTaxonGroupType(fr.ifremer.allegro.referential.taxon.TaxonGroupType)
.
findTaxonGroupByTaxonGroupType
in interface TaxonGroupDao
TaxonGroupDao.findTaxonGroupByTaxonGroupType(java.lang.String, fr.ifremer.allegro.referential.taxon.TaxonGroupType)
public java.util.Collection findTaxonGroupByTaxonGroupType(int pageNumber, int pageSize, TaxonGroupType taxonGroupType)
TaxonGroupDao
Does the same thing as TaxonGroupDao.findTaxonGroupByTaxonGroupType(fr.ifremer.allegro.referential.taxon.TaxonGroupType)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findTaxonGroupByTaxonGroupType
in interface TaxonGroupDao
TaxonGroupDao.findTaxonGroupByTaxonGroupType(int, int, fr.ifremer.allegro.referential.taxon.TaxonGroupType)
public java.util.Collection findTaxonGroupByTaxonGroupType(java.lang.String queryString, int pageNumber, int pageSize, TaxonGroupType taxonGroupType)
TaxonGroupDao
Does the same thing as TaxonGroupDao.findTaxonGroupByTaxonGroupType(String, fr.ifremer.allegro.referential.taxon.TaxonGroupType)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findTaxonGroupByTaxonGroupType
in interface TaxonGroupDao
TaxonGroupDao.findTaxonGroupByTaxonGroupType(String, int, int, fr.ifremer.allegro.referential.taxon.TaxonGroupType)
public java.util.Collection findTaxonGroupByTaxonGroupType(int transform, java.lang.String queryString, TaxonGroupType taxonGroupType)
TaxonGroupDao
Does the same thing as TaxonGroupDao.findTaxonGroupByTaxonGroupType(int, fr.ifremer.allegro.referential.taxon.TaxonGroupType)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in TaxonGroupDao.findTaxonGroupByTaxonGroupType(int, fr.ifremer.allegro.referential.taxon.TaxonGroupType taxonGroupType)
.
findTaxonGroupByTaxonGroupType
in interface TaxonGroupDao
TaxonGroupDao.findTaxonGroupByTaxonGroupType(int, String, fr.ifremer.allegro.referential.taxon.TaxonGroupType)
public java.util.Collection findTaxonGroupByTaxonGroupType(int transform, int pageNumber, int pageSize, TaxonGroupType taxonGroupType)
TaxonGroupDao
Does the same thing as TaxonGroupDao.findTaxonGroupByTaxonGroupType(int, fr.ifremer.allegro.referential.taxon.TaxonGroupType)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findTaxonGroupByTaxonGroupType
in interface TaxonGroupDao
TaxonGroupDao.findTaxonGroupByTaxonGroupType(int, int, int, fr.ifremer.allegro.referential.taxon.TaxonGroupType)
public java.util.Collection findTaxonGroupByTaxonGroupType(int transform, java.lang.String queryString, int pageNumber, int pageSize, TaxonGroupType taxonGroupType)
TaxonGroupDao
Does the same thing as TaxonGroupDao.findTaxonGroupByTaxonGroupType(int, String, fr.ifremer.allegro.referential.taxon.TaxonGroupType)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findTaxonGroupByTaxonGroupType
in interface TaxonGroupDao
TaxonGroupDao.findTaxonGroupByTaxonGroupType(int, java.lang.String, int, int, fr.ifremer.allegro.referential.taxon.TaxonGroupType)
public java.util.Collection findTaxonGroupByParentTaxonGroup(TaxonGroup parentTaxonGroup)
findTaxonGroupByParentTaxonGroup
in interface TaxonGroupDao
TaxonGroupDao.findTaxonGroupByParentTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup)
public java.util.Collection findTaxonGroupByParentTaxonGroup(int transform, TaxonGroup parentTaxonGroup)
TaxonGroupDao
Does the same thing as TaxonGroupDao.findTaxonGroupByParentTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
findTaxonGroupByParentTaxonGroup
in interface TaxonGroupDao
TaxonGroupDao.findTaxonGroupByParentTaxonGroup(int, fr.ifremer.allegro.referential.taxon.TaxonGroup)
public java.util.Collection findTaxonGroupByParentTaxonGroup(java.lang.String queryString, TaxonGroup parentTaxonGroup)
TaxonGroupDao
Does the same thing as TaxonGroupDao.findTaxonGroupByParentTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in TaxonGroupDao.findTaxonGroupByParentTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup)
.
findTaxonGroupByParentTaxonGroup
in interface TaxonGroupDao
TaxonGroupDao.findTaxonGroupByParentTaxonGroup(java.lang.String, fr.ifremer.allegro.referential.taxon.TaxonGroup)
public java.util.Collection findTaxonGroupByParentTaxonGroup(int pageNumber, int pageSize, TaxonGroup parentTaxonGroup)
TaxonGroupDao
Does the same thing as TaxonGroupDao.findTaxonGroupByParentTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findTaxonGroupByParentTaxonGroup
in interface TaxonGroupDao
TaxonGroupDao.findTaxonGroupByParentTaxonGroup(int, int, fr.ifremer.allegro.referential.taxon.TaxonGroup)
public java.util.Collection findTaxonGroupByParentTaxonGroup(java.lang.String queryString, int pageNumber, int pageSize, TaxonGroup parentTaxonGroup)
TaxonGroupDao
Does the same thing as TaxonGroupDao.findTaxonGroupByParentTaxonGroup(String, fr.ifremer.allegro.referential.taxon.TaxonGroup)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findTaxonGroupByParentTaxonGroup
in interface TaxonGroupDao
TaxonGroupDao.findTaxonGroupByParentTaxonGroup(String, int, int, fr.ifremer.allegro.referential.taxon.TaxonGroup)
public java.util.Collection findTaxonGroupByParentTaxonGroup(int transform, java.lang.String queryString, TaxonGroup parentTaxonGroup)
TaxonGroupDao
Does the same thing as TaxonGroupDao.findTaxonGroupByParentTaxonGroup(int, fr.ifremer.allegro.referential.taxon.TaxonGroup)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in TaxonGroupDao.findTaxonGroupByParentTaxonGroup(int, fr.ifremer.allegro.referential.taxon.TaxonGroup parentTaxonGroup)
.
findTaxonGroupByParentTaxonGroup
in interface TaxonGroupDao
TaxonGroupDao.findTaxonGroupByParentTaxonGroup(int, String, fr.ifremer.allegro.referential.taxon.TaxonGroup)
public java.util.Collection findTaxonGroupByParentTaxonGroup(int transform, int pageNumber, int pageSize, TaxonGroup parentTaxonGroup)
TaxonGroupDao
Does the same thing as TaxonGroupDao.findTaxonGroupByParentTaxonGroup(int, fr.ifremer.allegro.referential.taxon.TaxonGroup)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findTaxonGroupByParentTaxonGroup
in interface TaxonGroupDao
TaxonGroupDao.findTaxonGroupByParentTaxonGroup(int, int, int, fr.ifremer.allegro.referential.taxon.TaxonGroup)
public java.util.Collection findTaxonGroupByParentTaxonGroup(int transform, java.lang.String queryString, int pageNumber, int pageSize, TaxonGroup parentTaxonGroup)
TaxonGroupDao
Does the same thing as TaxonGroupDao.findTaxonGroupByParentTaxonGroup(int, String, fr.ifremer.allegro.referential.taxon.TaxonGroup)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findTaxonGroupByParentTaxonGroup
in interface TaxonGroupDao
TaxonGroupDao.findTaxonGroupByParentTaxonGroup(int, java.lang.String, int, int, fr.ifremer.allegro.referential.taxon.TaxonGroup)
public java.util.Collection findTaxonGroupByStatus(Status status)
findTaxonGroupByStatus
in interface TaxonGroupDao
TaxonGroupDao.findTaxonGroupByStatus(fr.ifremer.allegro.referential.Status)
public java.util.Collection findTaxonGroupByStatus(int transform, Status status)
TaxonGroupDao
Does the same thing as TaxonGroupDao.findTaxonGroupByStatus(fr.ifremer.allegro.referential.Status)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
findTaxonGroupByStatus
in interface TaxonGroupDao
TaxonGroupDao.findTaxonGroupByStatus(int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findTaxonGroupByStatus(java.lang.String queryString, Status status)
TaxonGroupDao
Does the same thing as TaxonGroupDao.findTaxonGroupByStatus(fr.ifremer.allegro.referential.Status)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in TaxonGroupDao.findTaxonGroupByStatus(fr.ifremer.allegro.referential.Status)
.
findTaxonGroupByStatus
in interface TaxonGroupDao
TaxonGroupDao.findTaxonGroupByStatus(java.lang.String, fr.ifremer.allegro.referential.Status)
public java.util.Collection findTaxonGroupByStatus(int pageNumber, int pageSize, Status status)
TaxonGroupDao
Does the same thing as TaxonGroupDao.findTaxonGroupByStatus(fr.ifremer.allegro.referential.Status)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findTaxonGroupByStatus
in interface TaxonGroupDao
TaxonGroupDao.findTaxonGroupByStatus(int, int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findTaxonGroupByStatus(java.lang.String queryString, int pageNumber, int pageSize, Status status)
TaxonGroupDao
Does the same thing as TaxonGroupDao.findTaxonGroupByStatus(String, fr.ifremer.allegro.referential.Status)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findTaxonGroupByStatus
in interface TaxonGroupDao
TaxonGroupDao.findTaxonGroupByStatus(String, int, int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findTaxonGroupByStatus(int transform, java.lang.String queryString, Status status)
TaxonGroupDao
Does the same thing as TaxonGroupDao.findTaxonGroupByStatus(int, fr.ifremer.allegro.referential.Status)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in TaxonGroupDao.findTaxonGroupByStatus(int, fr.ifremer.allegro.referential.Status status)
.
findTaxonGroupByStatus
in interface TaxonGroupDao
TaxonGroupDao.findTaxonGroupByStatus(int, String, fr.ifremer.allegro.referential.Status)
public java.util.Collection findTaxonGroupByStatus(int transform, int pageNumber, int pageSize, Status status)
TaxonGroupDao
Does the same thing as TaxonGroupDao.findTaxonGroupByStatus(int, fr.ifremer.allegro.referential.Status)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findTaxonGroupByStatus
in interface TaxonGroupDao
TaxonGroupDao.findTaxonGroupByStatus(int, int, int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findTaxonGroupByStatus(int transform, java.lang.String queryString, int pageNumber, int pageSize, Status status)
TaxonGroupDao
Does the same thing as TaxonGroupDao.findTaxonGroupByStatus(int, String, fr.ifremer.allegro.referential.Status)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findTaxonGroupByStatus
in interface TaxonGroupDao
TaxonGroupDao.findTaxonGroupByStatus(int, java.lang.String, int, int, fr.ifremer.allegro.referential.Status)
public TaxonGroup findTaxonGroupByNaturalId(java.lang.String name, TaxonGroupType taxonGroupType, TaxonGroup parentTaxonGroup)
findTaxonGroupByNaturalId
in interface TaxonGroupDao
TaxonGroupDao.findTaxonGroupByNaturalId(java.lang.String, fr.ifremer.allegro.referential.taxon.TaxonGroupType, fr.ifremer.allegro.referential.taxon.TaxonGroup)
public java.lang.Object findTaxonGroupByNaturalId(int transform, java.lang.String name, TaxonGroupType taxonGroupType, TaxonGroup parentTaxonGroup)
TaxonGroupDao
Does the same thing as TaxonGroupDao.findTaxonGroupByNaturalId(java.lang.String, fr.ifremer.allegro.referential.taxon.TaxonGroupType, fr.ifremer.allegro.referential.taxon.TaxonGroup)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
findTaxonGroupByNaturalId
in interface TaxonGroupDao
TaxonGroupDao.findTaxonGroupByNaturalId(int, java.lang.String, fr.ifremer.allegro.referential.taxon.TaxonGroupType, fr.ifremer.allegro.referential.taxon.TaxonGroup)
public TaxonGroup findTaxonGroupByNaturalId(java.lang.String queryString, java.lang.String name, TaxonGroupType taxonGroupType, TaxonGroup parentTaxonGroup)
TaxonGroupDao
Does the same thing as TaxonGroupDao.findTaxonGroupByNaturalId(java.lang.String, fr.ifremer.allegro.referential.taxon.TaxonGroupType, fr.ifremer.allegro.referential.taxon.TaxonGroup)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in TaxonGroupDao.findTaxonGroupByNaturalId(java.lang.String, fr.ifremer.allegro.referential.taxon.TaxonGroupType, fr.ifremer.allegro.referential.taxon.TaxonGroup)
.
findTaxonGroupByNaturalId
in interface TaxonGroupDao
TaxonGroupDao.findTaxonGroupByNaturalId(java.lang.String, java.lang.String, fr.ifremer.allegro.referential.taxon.TaxonGroupType, fr.ifremer.allegro.referential.taxon.TaxonGroup)
public java.lang.Object findTaxonGroupByNaturalId(int transform, java.lang.String queryString, java.lang.String name, TaxonGroupType taxonGroupType, TaxonGroup parentTaxonGroup)
TaxonGroupDao
Does the same thing as TaxonGroupDao.findTaxonGroupByNaturalId(int, java.lang.String, fr.ifremer.allegro.referential.taxon.TaxonGroupType, fr.ifremer.allegro.referential.taxon.TaxonGroup)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in TaxonGroupDao.findTaxonGroupByNaturalId(int, java.lang.String name, fr.ifremer.allegro.referential.taxon.TaxonGroupType taxonGroupType, fr.ifremer.allegro.referential.taxon.TaxonGroup parentTaxonGroup)
.
findTaxonGroupByNaturalId
in interface TaxonGroupDao
TaxonGroupDao.findTaxonGroupByNaturalId(int, java.lang.String, java.lang.String, fr.ifremer.allegro.referential.taxon.TaxonGroupType, fr.ifremer.allegro.referential.taxon.TaxonGroup)
public java.util.Collection getAllTaxonGroupSinceDateSynchro(java.sql.Timestamp updateDate)
getAllTaxonGroupSinceDateSynchro
in interface TaxonGroupDao
TaxonGroupDao.getAllTaxonGroupSinceDateSynchro(java.sql.Timestamp)
public java.util.Collection getAllTaxonGroupSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
TaxonGroupDao
Does the same thing as TaxonGroupDao.getAllTaxonGroupSinceDateSynchro(java.sql.Timestamp)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
getAllTaxonGroupSinceDateSynchro
in interface TaxonGroupDao
TaxonGroupDao.getAllTaxonGroupSinceDateSynchro(int, java.sql.Timestamp)
public java.util.Collection getAllTaxonGroupSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
TaxonGroupDao
Does the same thing as TaxonGroupDao.getAllTaxonGroupSinceDateSynchro(java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in TaxonGroupDao.getAllTaxonGroupSinceDateSynchro(java.sql.Timestamp)
.
getAllTaxonGroupSinceDateSynchro
in interface TaxonGroupDao
TaxonGroupDao.getAllTaxonGroupSinceDateSynchro(java.lang.String, java.sql.Timestamp)
public java.util.Collection getAllTaxonGroupSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
TaxonGroupDao
Does the same thing as TaxonGroupDao.getAllTaxonGroupSinceDateSynchro(java.sql.Timestamp)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllTaxonGroupSinceDateSynchro
in interface TaxonGroupDao
TaxonGroupDao.getAllTaxonGroupSinceDateSynchro(int, int, java.sql.Timestamp)
public java.util.Collection getAllTaxonGroupSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
TaxonGroupDao
Does the same thing as TaxonGroupDao.getAllTaxonGroupSinceDateSynchro(String, java.sql.Timestamp)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllTaxonGroupSinceDateSynchro
in interface TaxonGroupDao
TaxonGroupDao.getAllTaxonGroupSinceDateSynchro(String, int, int, java.sql.Timestamp)
public java.util.Collection getAllTaxonGroupSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
TaxonGroupDao
Does the same thing as TaxonGroupDao.getAllTaxonGroupSinceDateSynchro(int, java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in TaxonGroupDao.getAllTaxonGroupSinceDateSynchro(int, java.sql.Timestamp updateDate)
.
getAllTaxonGroupSinceDateSynchro
in interface TaxonGroupDao
TaxonGroupDao.getAllTaxonGroupSinceDateSynchro(int, String, java.sql.Timestamp)
public java.util.Collection getAllTaxonGroupSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
TaxonGroupDao
Does the same thing as TaxonGroupDao.getAllTaxonGroupSinceDateSynchro(int, java.sql.Timestamp)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllTaxonGroupSinceDateSynchro
in interface TaxonGroupDao
TaxonGroupDao.getAllTaxonGroupSinceDateSynchro(int, int, int, java.sql.Timestamp)
public java.util.Collection getAllTaxonGroupSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
TaxonGroupDao
Does the same thing as TaxonGroupDao.getAllTaxonGroupSinceDateSynchro(int, String, java.sql.Timestamp)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllTaxonGroupSinceDateSynchro
in interface TaxonGroupDao
TaxonGroupDao.getAllTaxonGroupSinceDateSynchro(int, java.lang.String, int, int, java.sql.Timestamp)
public TaxonGroup createFromClusterTaxonGroup(ClusterTaxonGroup clusterTaxonGroup)
createFromClusterTaxonGroup
in interface TaxonGroupDao
TaxonGroupDao.createFromClusterTaxonGroup(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterTaxonGroup)
protected abstract TaxonGroup handleCreateFromClusterTaxonGroup(ClusterTaxonGroup clusterTaxonGroup) throws java.lang.Exception
createFromClusterTaxonGroup(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterTaxonGroup)
java.lang.Exception
public ClusterTaxonGroup[] getAllClusterTaxonGroupSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
getAllClusterTaxonGroupSinceDateSynchro
in interface TaxonGroupDao
TaxonGroupDao.getAllClusterTaxonGroupSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected abstract ClusterTaxonGroup[] handleGetAllClusterTaxonGroupSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize) throws java.lang.Exception
getAllClusterTaxonGroupSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
java.lang.Exception
protected java.lang.Object transformEntity(int transform, TaxonGroup entity)
transform
flag is set to one of the constants defined in fr.ifremer.allegro.referential.taxon.TaxonGroupDao
, please note
that the TaxonGroupDao.TRANSFORM_NONE
constant denotes no transformation, so the entity itself
will be returned.
This method will return instances of these types:
TaxonGroup
- TaxonGroupDao.TRANSFORM_NONE
RemoteTaxonGroupFullVO
- TRANSFORM_REMOTETAXONGROUPFULLVO
RemoteTaxonGroupNaturalId
- TRANSFORM_REMOTETAXONGROUPNATURALID
ClusterTaxonGroup
- TRANSFORM_CLUSTERTAXONGROUP
TaxonGroupDao.TRANSFORM_NONE
is assumed.
transform
- one of the constants declared in TaxonGroupDao
entity
- an entity that was found
transformEntities(int,java.util.Collection)
protected void transformEntities(int transform, java.util.Collection entities)
transformEntity(int,fr.ifremer.allegro.referential.taxon.TaxonGroup)
method. This method does not instantiate a new collection.
This method is to be used internally only.
transform
- one of the constants declared in fr.ifremer.allegro.referential.taxon.TaxonGroupDao
entities
- the collection of entities to transformtransformEntity(int,fr.ifremer.allegro.referential.taxon.TaxonGroup)
protected TaxonGroup toEntity(java.lang.Object[] row)
public final void toRemoteTaxonGroupFullVOCollection(java.util.Collection entities)
TaxonGroupDao
RemoteTaxonGroupFullVO
.
toRemoteTaxonGroupFullVOCollection
in interface TaxonGroupDao
TaxonGroupDao.toRemoteTaxonGroupFullVOCollection(java.util.Collection)
public final RemoteTaxonGroupFullVO[] toRemoteTaxonGroupFullVOArray(java.util.Collection entities)
TaxonGroupDao
RemoteTaxonGroupFullVO
.
toRemoteTaxonGroupFullVOArray
in interface TaxonGroupDao
TaxonGroupDao.toRemoteTaxonGroupFullVOArray(java.util.Collection)
protected RemoteTaxonGroupFullVO toRemoteTaxonGroupFullVO(java.lang.Object[] row)
TaxonGroupDaoImpl
class if you intend to use reporting queries.
TaxonGroupDao.toRemoteTaxonGroupFullVO(fr.ifremer.allegro.referential.taxon.TaxonGroup)
public final void remoteTaxonGroupFullVOToEntityCollection(java.util.Collection instances)
TaxonGroupDao
RemoteTaxonGroupFullVO
to this
DAO's entity.
remoteTaxonGroupFullVOToEntityCollection
in interface TaxonGroupDao
TaxonGroupDao.remoteTaxonGroupFullVOToEntityCollection(java.util.Collection)
public void toRemoteTaxonGroupFullVO(TaxonGroup source, RemoteTaxonGroupFullVO target)
TaxonGroupDao
toRemoteTaxonGroupFullVO
in interface TaxonGroupDao
TaxonGroupDao.toRemoteTaxonGroupFullVO(fr.ifremer.allegro.referential.taxon.TaxonGroup, fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonGroupFullVO)
public RemoteTaxonGroupFullVO toRemoteTaxonGroupFullVO(TaxonGroup entity)
TaxonGroupDao
RemoteTaxonGroupFullVO
.
toRemoteTaxonGroupFullVO
in interface TaxonGroupDao
TaxonGroupDao.toRemoteTaxonGroupFullVO(fr.ifremer.allegro.referential.taxon.TaxonGroup)
public void remoteTaxonGroupFullVOToEntity(RemoteTaxonGroupFullVO source, TaxonGroup target, boolean copyIfNull)
TaxonGroupDao
RemoteTaxonGroupFullVO
to the specified entity.
remoteTaxonGroupFullVOToEntity
in interface TaxonGroupDao
copyIfNull
- If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE,
it will be copied regardless of its value.fr.ifremer.allegro.referential.taxon.TaxonGroupDao#remoteTaxonGroupFullVOToEntity(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonGroupFullVO, fr.ifremer.allegro.referential.taxon.TaxonGroup)
public final void toRemoteTaxonGroupNaturalIdCollection(java.util.Collection entities)
TaxonGroupDao
RemoteTaxonGroupNaturalId
.
toRemoteTaxonGroupNaturalIdCollection
in interface TaxonGroupDao
TaxonGroupDao.toRemoteTaxonGroupNaturalIdCollection(java.util.Collection)
public final RemoteTaxonGroupNaturalId[] toRemoteTaxonGroupNaturalIdArray(java.util.Collection entities)
TaxonGroupDao
RemoteTaxonGroupNaturalId
.
toRemoteTaxonGroupNaturalIdArray
in interface TaxonGroupDao
TaxonGroupDao.toRemoteTaxonGroupNaturalIdArray(java.util.Collection)
protected RemoteTaxonGroupNaturalId toRemoteTaxonGroupNaturalId(java.lang.Object[] row)
TaxonGroupDaoImpl
class if you intend to use reporting queries.
TaxonGroupDao.toRemoteTaxonGroupNaturalId(fr.ifremer.allegro.referential.taxon.TaxonGroup)
public final void remoteTaxonGroupNaturalIdToEntityCollection(java.util.Collection instances)
TaxonGroupDao
RemoteTaxonGroupNaturalId
to this
DAO's entity.
remoteTaxonGroupNaturalIdToEntityCollection
in interface TaxonGroupDao
TaxonGroupDao.remoteTaxonGroupNaturalIdToEntityCollection(java.util.Collection)
public void toRemoteTaxonGroupNaturalId(TaxonGroup source, RemoteTaxonGroupNaturalId target)
TaxonGroupDao
toRemoteTaxonGroupNaturalId
in interface TaxonGroupDao
TaxonGroupDao.toRemoteTaxonGroupNaturalId(fr.ifremer.allegro.referential.taxon.TaxonGroup, fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonGroupNaturalId)
public RemoteTaxonGroupNaturalId toRemoteTaxonGroupNaturalId(TaxonGroup entity)
TaxonGroupDao
RemoteTaxonGroupNaturalId
.
toRemoteTaxonGroupNaturalId
in interface TaxonGroupDao
TaxonGroupDao.toRemoteTaxonGroupNaturalId(fr.ifremer.allegro.referential.taxon.TaxonGroup)
public void remoteTaxonGroupNaturalIdToEntity(RemoteTaxonGroupNaturalId source, TaxonGroup target, boolean copyIfNull)
TaxonGroupDao
RemoteTaxonGroupNaturalId
to the specified entity.
remoteTaxonGroupNaturalIdToEntity
in interface TaxonGroupDao
copyIfNull
- If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE,
it will be copied regardless of its value.fr.ifremer.allegro.referential.taxon.TaxonGroupDao#remoteTaxonGroupNaturalIdToEntity(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonGroupNaturalId, fr.ifremer.allegro.referential.taxon.TaxonGroup)
public final void toClusterTaxonGroupCollection(java.util.Collection entities)
TaxonGroupDao
ClusterTaxonGroup
.
toClusterTaxonGroupCollection
in interface TaxonGroupDao
TaxonGroupDao.toClusterTaxonGroupCollection(java.util.Collection)
public final ClusterTaxonGroup[] toClusterTaxonGroupArray(java.util.Collection entities)
TaxonGroupDao
ClusterTaxonGroup
.
toClusterTaxonGroupArray
in interface TaxonGroupDao
TaxonGroupDao.toClusterTaxonGroupArray(java.util.Collection)
protected ClusterTaxonGroup toClusterTaxonGroup(java.lang.Object[] row)
TaxonGroupDaoImpl
class if you intend to use reporting queries.
TaxonGroupDao.toClusterTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup)
public final void clusterTaxonGroupToEntityCollection(java.util.Collection instances)
TaxonGroupDao
ClusterTaxonGroup
to this
DAO's entity.
clusterTaxonGroupToEntityCollection
in interface TaxonGroupDao
TaxonGroupDao.clusterTaxonGroupToEntityCollection(java.util.Collection)
public void toClusterTaxonGroup(TaxonGroup source, ClusterTaxonGroup target)
TaxonGroupDao
toClusterTaxonGroup
in interface TaxonGroupDao
TaxonGroupDao.toClusterTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup, fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterTaxonGroup)
public ClusterTaxonGroup toClusterTaxonGroup(TaxonGroup entity)
TaxonGroupDao
ClusterTaxonGroup
.
toClusterTaxonGroup
in interface TaxonGroupDao
TaxonGroupDao.toClusterTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup)
public void clusterTaxonGroupToEntity(ClusterTaxonGroup source, TaxonGroup target, boolean copyIfNull)
TaxonGroupDao
ClusterTaxonGroup
to the specified entity.
clusterTaxonGroupToEntity
in interface TaxonGroupDao
copyIfNull
- If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE,
it will be copied regardless of its value.fr.ifremer.allegro.referential.taxon.TaxonGroupDao#clusterTaxonGroupToEntity(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterTaxonGroup, fr.ifremer.allegro.referential.taxon.TaxonGroup)
protected java.security.Principal getPrincipal()
principal
if one has been set,
otherwise returns null
.
public PaginationResult search(int transform, int pageNumber, int pageSize, Search search)
TaxonGroupDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface TaxonGroupDao
transform
- the transformation flag.pageNumber
- the page number in the data to retrievepageSize
- the size of the page to retrieve.search
- the search object which provides the search parameters and pagination specification.
PaginationResult
instance.TaxonGroupDao.search(int, int, int, fr.ifremer.allegro.Search)
public PaginationResult search(int pageNumber, int pageSize, Search search)
TaxonGroupDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface TaxonGroupDao
pageNumber
- the page number in the data to retrievepageSize
- the size of the page to retrieve.search
- the search object which provides the search parameters and pagination specification.
PaginationResult
instance.TaxonGroupDao.search(int, int, fr.ifremer.allegro.Search)
public java.util.Set search(int transform, Search search)
TaxonGroupDao
TaxonGroupDao.search(fr.ifremer.allegro.Search)
but with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
search
in interface TaxonGroupDao
transform
- the transformation flag.search
- the search object which provides the search parameters and pagination specification.
TaxonGroupDao.search(int, fr.ifremer.allegro.Search)
public java.util.Set search(Search search)
TaxonGroupDao
search
object.
search
in interface TaxonGroupDao
search
- the search object which provides the search parameters and pagination specification.
TaxonGroupDao.search(fr.ifremer.allegro.Search)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |