|
||||||||||
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.TaxonGroupTypeDaoBase
public abstract class TaxonGroupTypeDaoBase
Base Spring DAO Class: is able to create, update, remove, load, and find
objects of type fr.ifremer.allegro.referential.taxon.TaxonGroupType
.
TaxonGroupType
Field Summary |
---|
Fields inherited from interface fr.ifremer.allegro.referential.taxon.TaxonGroupTypeDao |
---|
TRANSFORM_CLUSTERTAXONGROUPTYPE, TRANSFORM_NONE, TRANSFORM_REMOTETAXONGROUPTYPEFULLVO, TRANSFORM_REMOTETAXONGROUPTYPENATURALID |
Constructor Summary | |
---|---|
TaxonGroupTypeDaoBase()
|
Method Summary | |
---|---|
void |
clusterTaxonGroupTypeToEntity(ClusterTaxonGroupType source,
TaxonGroupType target,
boolean copyIfNull)
Copies the fields of ClusterTaxonGroupType to the specified entity. |
void |
clusterTaxonGroupTypeToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type ClusterTaxonGroupType to this
DAO's entity. |
java.util.Collection |
create(java.util.Collection entities)
Creates a new instance of fr.ifremer.allegro.referential.taxon.TaxonGroupType and adds from the passed in entities collection |
java.util.Collection |
create(int transform,
java.util.Collection entities)
Does the same thing as TaxonGroupTypeDao.create(fr.ifremer.allegro.referential.taxon.TaxonGroupType) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
java.lang.String code,
java.lang.String name)
Does the same thing as TaxonGroupTypeDao.create(java.lang.String,java.lang.String) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
java.lang.String code,
java.lang.String name,
java.sql.Timestamp updateDate,
java.util.Collection taxonGroups)
Does the same thing as TaxonGroupTypeDao.create(java.lang.String,java.lang.String,java.sql.Timestamp,java.util.Collection) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
TaxonGroupType taxonGroupType)
Does the same thing as TaxonGroupTypeDao.create(fr.ifremer.allegro.referential.taxon.TaxonGroupType) with an
additional flag called transform . |
TaxonGroupType |
create(java.lang.String code,
java.lang.String name)
Creates a new fr.ifremer.allegro.referential.taxon.TaxonGroupType
instance from only required properties (attributes
and association ends) and adds it to the persistent store. |
TaxonGroupType |
create(java.lang.String code,
java.lang.String name,
java.sql.Timestamp updateDate,
java.util.Collection taxonGroups)
Creates a new fr.ifremer.allegro.referential.taxon.TaxonGroupType
instance from all attributes and
properties and adds it to the persistent store. |
TaxonGroupType |
create(TaxonGroupType taxonGroupType)
Creates an instance of fr.ifremer.allegro.referential.taxon.TaxonGroupType and adds it to the persistent store. |
TaxonGroupType |
createFromClusterTaxonGroupType(ClusterTaxonGroupType clusterTaxonGroupType)
|
java.lang.Object |
findTaxonGroupTypeByCode(int transform,
java.lang.String code)
Does the same thing as TaxonGroupTypeDao.findTaxonGroupTypeByCode(java.lang.String) with an
additional flag called transform . |
java.lang.Object |
findTaxonGroupTypeByCode(int transform,
java.lang.String queryString,
java.lang.String code)
Does the same thing as TaxonGroupTypeDao.findTaxonGroupTypeByCode(int, java.lang.String) with an
additional argument called queryString . |
TaxonGroupType |
findTaxonGroupTypeByCode(java.lang.String code)
|
TaxonGroupType |
findTaxonGroupTypeByCode(java.lang.String queryString,
java.lang.String code)
Does the same thing as TaxonGroupTypeDao.findTaxonGroupTypeByCode(java.lang.String) with an
additional argument called queryString . |
java.lang.Object |
findTaxonGroupTypeByNaturalId(int transform,
java.lang.String code)
Does the same thing as TaxonGroupTypeDao.findTaxonGroupTypeByNaturalId(java.lang.String) with an
additional flag called transform . |
java.lang.Object |
findTaxonGroupTypeByNaturalId(int transform,
java.lang.String queryString,
java.lang.String code)
Does the same thing as TaxonGroupTypeDao.findTaxonGroupTypeByNaturalId(int, java.lang.String) with an
additional argument called queryString . |
TaxonGroupType |
findTaxonGroupTypeByNaturalId(java.lang.String code)
|
TaxonGroupType |
findTaxonGroupTypeByNaturalId(java.lang.String queryString,
java.lang.String code)
Does the same thing as TaxonGroupTypeDao.findTaxonGroupTypeByNaturalId(java.lang.String) with an
additional argument called queryString . |
ClusterTaxonGroupType[] |
getAllClusterTaxonGroupTypeSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize)
|
java.util.Collection |
getAllTaxonGroupType()
|
java.util.Collection |
getAllTaxonGroupType(int transform)
Does the same thing as TaxonGroupTypeDao.getAllTaxonGroupType() with an
additional flag called transform . |
java.util.Collection |
getAllTaxonGroupType(int pageNumber,
int pageSize)
Does the same thing as TaxonGroupTypeDao.getAllTaxonGroupType() with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllTaxonGroupType(int transform,
int pageNumber,
int pageSize)
Does the same thing as TaxonGroupTypeDao.getAllTaxonGroupType(int) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllTaxonGroupType(int transform,
java.lang.String queryString)
Does the same thing as TaxonGroupTypeDao.getAllTaxonGroupType(int) with an
additional argument called queryString . |
java.util.Collection |
getAllTaxonGroupType(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as TaxonGroupTypeDao.getAllTaxonGroupType(int, String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllTaxonGroupType(java.lang.String queryString)
Does the same thing as TaxonGroupTypeDao.getAllTaxonGroupType() with an
additional argument called queryString . |
java.util.Collection |
getAllTaxonGroupType(java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as TaxonGroupTypeDao.getAllTaxonGroupType(String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllTaxonGroupTypeSinceDateSynchro(int transform,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as TaxonGroupTypeDao.getAllTaxonGroupTypeSinceDateSynchro(int, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllTaxonGroupTypeSinceDateSynchro(int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as TaxonGroupTypeDao.getAllTaxonGroupTypeSinceDateSynchro(java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllTaxonGroupTypeSinceDateSynchro(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as TaxonGroupTypeDao.getAllTaxonGroupTypeSinceDateSynchro(int, String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllTaxonGroupTypeSinceDateSynchro(int transform,
java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as TaxonGroupTypeDao.getAllTaxonGroupTypeSinceDateSynchro(int, java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllTaxonGroupTypeSinceDateSynchro(int transform,
java.sql.Timestamp updateDate)
Does the same thing as TaxonGroupTypeDao.getAllTaxonGroupTypeSinceDateSynchro(java.sql.Timestamp) with an
additional flag called transform . |
java.util.Collection |
getAllTaxonGroupTypeSinceDateSynchro(java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as TaxonGroupTypeDao.getAllTaxonGroupTypeSinceDateSynchro(String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllTaxonGroupTypeSinceDateSynchro(java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as TaxonGroupTypeDao.getAllTaxonGroupTypeSinceDateSynchro(java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllTaxonGroupTypeSinceDateSynchro(java.sql.Timestamp updateDate)
|
protected java.security.Principal |
getPrincipal()
Gets the current principal if one has been set,
otherwise returns null . |
protected TaxonGroupDao |
getTaxonGroupDao()
Gets the reference to taxonGroupDao . |
protected abstract TaxonGroupType |
handleCreateFromClusterTaxonGroupType(ClusterTaxonGroupType clusterTaxonGroupType)
Performs the core logic for createFromClusterTaxonGroupType(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterTaxonGroupType) |
protected abstract ClusterTaxonGroupType[] |
handleGetAllClusterTaxonGroupTypeSinceDateSynchro(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 getAllClusterTaxonGroupTypeSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer) |
java.lang.Object |
load(int transform,
java.lang.String code)
Does the same thing as TaxonGroupTypeDao.load(java.lang.String) with an
additional flag called transform . |
TaxonGroupType |
load(java.lang.String code)
Loads an instance of fr.ifremer.allegro.referential.taxon.TaxonGroupType from the persistent store. |
java.util.Collection |
loadAll()
Loads all entities of type TaxonGroupType . |
java.util.Collection |
loadAll(int transform)
Does the same thing as TaxonGroupTypeDao.loadAll() with an
additional flag called transform . |
java.util.Collection |
loadAll(int pageNumber,
int pageSize)
Does the same thing as TaxonGroupTypeDao.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 TaxonGroupTypeDao.loadAll(int) with an
additional two arguments called pageNumber and pageSize . |
void |
remoteTaxonGroupTypeFullVOToEntity(RemoteTaxonGroupTypeFullVO source,
TaxonGroupType target,
boolean copyIfNull)
Copies the fields of RemoteTaxonGroupTypeFullVO to the specified entity. |
void |
remoteTaxonGroupTypeFullVOToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteTaxonGroupTypeFullVO to this
DAO's entity. |
void |
remoteTaxonGroupTypeNaturalIdToEntity(RemoteTaxonGroupTypeNaturalId source,
TaxonGroupType target,
boolean copyIfNull)
Copies the fields of RemoteTaxonGroupTypeNaturalId to the specified entity. |
void |
remoteTaxonGroupTypeNaturalIdToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteTaxonGroupTypeNaturalId to this
DAO's entity. |
void |
remove(java.util.Collection entities)
Removes all entities in the given entities |
void |
remove(java.lang.String code)
Removes the instance of fr.ifremer.allegro.referential.taxon.TaxonGroupType having the given identifier from the persistent store. |
void |
remove(TaxonGroupType taxonGroupType)
Removes the instance of fr.ifremer.allegro.referential.taxon.TaxonGroupType 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 TaxonGroupTypeDao.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 |
setTaxonGroupDao(TaxonGroupDao taxonGroupDao)
Sets the reference to taxonGroupDao . |
protected ClusterTaxonGroupType |
toClusterTaxonGroupType(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
ClusterTaxonGroupType |
toClusterTaxonGroupType(TaxonGroupType entity)
Converts this DAO's entity to an object of type ClusterTaxonGroupType . |
void |
toClusterTaxonGroupType(TaxonGroupType source,
ClusterTaxonGroupType target)
Copies the fields of the specified entity to the target value object. |
ClusterTaxonGroupType[] |
toClusterTaxonGroupTypeArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type ClusterTaxonGroupType . |
void |
toClusterTaxonGroupTypeCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type ClusterTaxonGroupType . |
protected TaxonGroupType |
toEntity(java.lang.Object[] row)
|
protected RemoteTaxonGroupTypeFullVO |
toRemoteTaxonGroupTypeFullVO(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteTaxonGroupTypeFullVO |
toRemoteTaxonGroupTypeFullVO(TaxonGroupType entity)
Converts this DAO's entity to an object of type RemoteTaxonGroupTypeFullVO . |
void |
toRemoteTaxonGroupTypeFullVO(TaxonGroupType source,
RemoteTaxonGroupTypeFullVO target)
Copies the fields of the specified entity to the target value object. |
RemoteTaxonGroupTypeFullVO[] |
toRemoteTaxonGroupTypeFullVOArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteTaxonGroupTypeFullVO . |
void |
toRemoteTaxonGroupTypeFullVOCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteTaxonGroupTypeFullVO . |
protected RemoteTaxonGroupTypeNaturalId |
toRemoteTaxonGroupTypeNaturalId(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteTaxonGroupTypeNaturalId |
toRemoteTaxonGroupTypeNaturalId(TaxonGroupType entity)
Converts this DAO's entity to an object of type RemoteTaxonGroupTypeNaturalId . |
void |
toRemoteTaxonGroupTypeNaturalId(TaxonGroupType source,
RemoteTaxonGroupTypeNaturalId target)
Copies the fields of the specified entity to the target value object. |
RemoteTaxonGroupTypeNaturalId[] |
toRemoteTaxonGroupTypeNaturalIdArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteTaxonGroupTypeNaturalId . |
void |
toRemoteTaxonGroupTypeNaturalIdCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteTaxonGroupTypeNaturalId . |
protected void |
transformEntities(int transform,
java.util.Collection entities)
Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.taxon.TaxonGroupType)
method. |
protected java.lang.Object |
transformEntity(int transform,
TaxonGroupType 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.TaxonGroupTypeDao , please note
that the TaxonGroupTypeDao.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(TaxonGroupType taxonGroupType)
Updates the taxonGroupType 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.TaxonGroupTypeDao |
---|
clusterTaxonGroupTypeToEntity, remoteTaxonGroupTypeFullVOToEntity, remoteTaxonGroupTypeNaturalIdToEntity |
Constructor Detail |
---|
public TaxonGroupTypeDaoBase()
Method Detail |
---|
public void setTaxonGroupDao(TaxonGroupDao taxonGroupDao)
taxonGroupDao
.
protected TaxonGroupDao getTaxonGroupDao()
taxonGroupDao
.
public java.lang.Object load(int transform, java.lang.String code)
TaxonGroupTypeDao
Does the same thing as TaxonGroupTypeDao.load(java.lang.String)
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 TaxonGroupTypeDao
code
- identifier of the entity to load
TaxonGroupTypeDao.load(int, java.lang.String)
public TaxonGroupType load(java.lang.String code)
TaxonGroupTypeDao
load
in interface TaxonGroupTypeDao
TaxonGroupTypeDao.load(java.lang.String)
public java.util.Collection loadAll()
TaxonGroupTypeDao
TaxonGroupType
.
loadAll
in interface TaxonGroupTypeDao
TaxonGroupTypeDao.loadAll()
public java.util.Collection loadAll(int transform)
TaxonGroupTypeDao
Does the same thing as TaxonGroupTypeDao.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 TaxonGroupTypeDao
transform
- the flag indicating what transformation to use.
TaxonGroupTypeDao.loadAll(int)
public java.util.Collection loadAll(int pageNumber, int pageSize)
TaxonGroupTypeDao
Does the same thing as TaxonGroupTypeDao.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 TaxonGroupTypeDao
pageNumber
- the page number to retrieve when paging results.pageSize
- the size of the page to retrieve when paging results.
TaxonGroupTypeDao.loadAll(int, int)
public java.util.Collection loadAll(int transform, int pageNumber, int pageSize)
TaxonGroupTypeDao
Does the same thing as TaxonGroupTypeDao.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 TaxonGroupTypeDao
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.
TaxonGroupTypeDao.loadAll(int, int, int)
public TaxonGroupType create(TaxonGroupType taxonGroupType)
TaxonGroupTypeDao
create
in interface TaxonGroupTypeDao
TaxonGroupTypeDao.create(fr.ifremer.allegro.referential.taxon.TaxonGroupType)
public java.lang.Object create(int transform, TaxonGroupType taxonGroupType)
TaxonGroupTypeDao
Does the same thing as TaxonGroupTypeDao.create(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 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 TaxonGroupTypeDao
TaxonGroupTypeDao.create(int transform, fr.ifremer.allegro.referential.taxon.TaxonGroupType)
public java.util.Collection create(java.util.Collection entities)
TaxonGroupTypeDao
entities
collection
create
in interface TaxonGroupTypeDao
entities
- the collection of fr.ifremer.allegro.referential.taxon.TaxonGroupType
instances to create.
TaxonGroupTypeDao.create(java.util.Collection)
public java.util.Collection create(int transform, java.util.Collection entities)
TaxonGroupTypeDao
Does the same thing as TaxonGroupTypeDao.create(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 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 TaxonGroupTypeDao
TaxonGroupTypeDao.create(int, java.util.Collection)
public TaxonGroupType create(java.lang.String code, java.lang.String name, java.sql.Timestamp updateDate, java.util.Collection taxonGroups)
TaxonGroupTypeDao
Creates a new fr.ifremer.allegro.referential.taxon.TaxonGroupType
instance from all attributes and
properties and adds it to the persistent store.
create
in interface TaxonGroupTypeDao
TaxonGroupTypeDao.create(java.lang.String,java.lang.String,java.sql.Timestamp,java.util.Collection)
public java.lang.Object create(int transform, java.lang.String code, java.lang.String name, java.sql.Timestamp updateDate, java.util.Collection taxonGroups)
TaxonGroupTypeDao
Does the same thing as TaxonGroupTypeDao.create(java.lang.String,java.lang.String,java.sql.Timestamp,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.
create
in interface TaxonGroupTypeDao
TaxonGroupTypeDao.create(int, java.lang.String,java.lang.String,java.sql.Timestamp,java.util.Collection)
public TaxonGroupType create(java.lang.String code, java.lang.String name)
TaxonGroupTypeDao
Creates a new fr.ifremer.allegro.referential.taxon.TaxonGroupType
instance from only required properties (attributes
and association ends) and adds it to the persistent store.
create
in interface TaxonGroupTypeDao
TaxonGroupTypeDao.create(java.lang.String,java.lang.String)
public java.lang.Object create(int transform, java.lang.String code, java.lang.String name)
TaxonGroupTypeDao
Does the same thing as TaxonGroupTypeDao.create(java.lang.String,java.lang.String)
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 TaxonGroupTypeDao
TaxonGroupTypeDao.create(int, java.lang.String,java.lang.String)
public void update(TaxonGroupType taxonGroupType)
TaxonGroupTypeDao
taxonGroupType
instance in the persistent store.
update
in interface TaxonGroupTypeDao
TaxonGroupTypeDao.update(fr.ifremer.allegro.referential.taxon.TaxonGroupType)
public void update(java.util.Collection entities)
TaxonGroupTypeDao
entities
collection in the persistent store.
update
in interface TaxonGroupTypeDao
TaxonGroupTypeDao.update(java.util.Collection)
public void remove(TaxonGroupType taxonGroupType)
TaxonGroupTypeDao
remove
in interface TaxonGroupTypeDao
TaxonGroupTypeDao.remove(fr.ifremer.allegro.referential.taxon.TaxonGroupType)
public void remove(java.lang.String code)
TaxonGroupTypeDao
identifier
from the persistent store.
remove
in interface TaxonGroupTypeDao
TaxonGroupTypeDao.remove(java.lang.String)
public void remove(java.util.Collection entities)
TaxonGroupTypeDao
entities collection.
- Specified by:
remove
in interface TaxonGroupTypeDao
- See Also:
TaxonGroupTypeDao.remove(java.util.Collection)
public java.util.Collection getAllTaxonGroupType()
getAllTaxonGroupType
in interface TaxonGroupTypeDao
TaxonGroupTypeDao.getAllTaxonGroupType()
public java.util.Collection getAllTaxonGroupType(int transform)
TaxonGroupTypeDao
Does the same thing as TaxonGroupTypeDao.getAllTaxonGroupType()
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.
getAllTaxonGroupType
in interface TaxonGroupTypeDao
TaxonGroupTypeDao.getAllTaxonGroupType(int)
public java.util.Collection getAllTaxonGroupType(java.lang.String queryString)
TaxonGroupTypeDao
Does the same thing as TaxonGroupTypeDao.getAllTaxonGroupType()
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in TaxonGroupTypeDao.getAllTaxonGroupType()
.
getAllTaxonGroupType
in interface TaxonGroupTypeDao
TaxonGroupTypeDao.getAllTaxonGroupType(java.lang.String)
public java.util.Collection getAllTaxonGroupType(int pageNumber, int pageSize)
TaxonGroupTypeDao
Does the same thing as TaxonGroupTypeDao.getAllTaxonGroupType()
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.
getAllTaxonGroupType
in interface TaxonGroupTypeDao
TaxonGroupTypeDao.getAllTaxonGroupType(int, int)
public java.util.Collection getAllTaxonGroupType(java.lang.String queryString, int pageNumber, int pageSize)
TaxonGroupTypeDao
Does the same thing as TaxonGroupTypeDao.getAllTaxonGroupType(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.
getAllTaxonGroupType
in interface TaxonGroupTypeDao
TaxonGroupTypeDao.getAllTaxonGroupType(String, int, int)
public java.util.Collection getAllTaxonGroupType(int transform, java.lang.String queryString)
TaxonGroupTypeDao
Does the same thing as TaxonGroupTypeDao.getAllTaxonGroupType(int)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in TaxonGroupTypeDao.getAllTaxonGroupType(int)
.
getAllTaxonGroupType
in interface TaxonGroupTypeDao
TaxonGroupTypeDao.getAllTaxonGroupType(int, String)
public java.util.Collection getAllTaxonGroupType(int transform, int pageNumber, int pageSize)
TaxonGroupTypeDao
Does the same thing as TaxonGroupTypeDao.getAllTaxonGroupType(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.
getAllTaxonGroupType
in interface TaxonGroupTypeDao
TaxonGroupTypeDao.getAllTaxonGroupType(int, int, int)
public java.util.Collection getAllTaxonGroupType(int transform, java.lang.String queryString, int pageNumber, int pageSize)
TaxonGroupTypeDao
Does the same thing as TaxonGroupTypeDao.getAllTaxonGroupType(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.
getAllTaxonGroupType
in interface TaxonGroupTypeDao
TaxonGroupTypeDao.getAllTaxonGroupType(int, java.lang.String, int, int)
public TaxonGroupType findTaxonGroupTypeByCode(java.lang.String code)
findTaxonGroupTypeByCode
in interface TaxonGroupTypeDao
TaxonGroupTypeDao.findTaxonGroupTypeByCode(java.lang.String)
public java.lang.Object findTaxonGroupTypeByCode(int transform, java.lang.String code)
TaxonGroupTypeDao
Does the same thing as TaxonGroupTypeDao.findTaxonGroupTypeByCode(java.lang.String)
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.
findTaxonGroupTypeByCode
in interface TaxonGroupTypeDao
TaxonGroupTypeDao.findTaxonGroupTypeByCode(int, java.lang.String)
public TaxonGroupType findTaxonGroupTypeByCode(java.lang.String queryString, java.lang.String code)
TaxonGroupTypeDao
Does the same thing as TaxonGroupTypeDao.findTaxonGroupTypeByCode(java.lang.String)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in TaxonGroupTypeDao.findTaxonGroupTypeByCode(java.lang.String)
.
findTaxonGroupTypeByCode
in interface TaxonGroupTypeDao
TaxonGroupTypeDao.findTaxonGroupTypeByCode(java.lang.String, java.lang.String)
public java.lang.Object findTaxonGroupTypeByCode(int transform, java.lang.String queryString, java.lang.String code)
TaxonGroupTypeDao
Does the same thing as TaxonGroupTypeDao.findTaxonGroupTypeByCode(int, java.lang.String)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in TaxonGroupTypeDao.findTaxonGroupTypeByCode(int, java.lang.String code)
.
findTaxonGroupTypeByCode
in interface TaxonGroupTypeDao
TaxonGroupTypeDao.findTaxonGroupTypeByCode(int, java.lang.String, java.lang.String)
public TaxonGroupType findTaxonGroupTypeByNaturalId(java.lang.String code)
findTaxonGroupTypeByNaturalId
in interface TaxonGroupTypeDao
TaxonGroupTypeDao.findTaxonGroupTypeByNaturalId(java.lang.String)
public java.lang.Object findTaxonGroupTypeByNaturalId(int transform, java.lang.String code)
TaxonGroupTypeDao
Does the same thing as TaxonGroupTypeDao.findTaxonGroupTypeByNaturalId(java.lang.String)
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.
findTaxonGroupTypeByNaturalId
in interface TaxonGroupTypeDao
TaxonGroupTypeDao.findTaxonGroupTypeByNaturalId(int, java.lang.String)
public TaxonGroupType findTaxonGroupTypeByNaturalId(java.lang.String queryString, java.lang.String code)
TaxonGroupTypeDao
Does the same thing as TaxonGroupTypeDao.findTaxonGroupTypeByNaturalId(java.lang.String)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in TaxonGroupTypeDao.findTaxonGroupTypeByNaturalId(java.lang.String)
.
findTaxonGroupTypeByNaturalId
in interface TaxonGroupTypeDao
TaxonGroupTypeDao.findTaxonGroupTypeByNaturalId(java.lang.String, java.lang.String)
public java.lang.Object findTaxonGroupTypeByNaturalId(int transform, java.lang.String queryString, java.lang.String code)
TaxonGroupTypeDao
Does the same thing as TaxonGroupTypeDao.findTaxonGroupTypeByNaturalId(int, java.lang.String)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in TaxonGroupTypeDao.findTaxonGroupTypeByNaturalId(int, java.lang.String code)
.
findTaxonGroupTypeByNaturalId
in interface TaxonGroupTypeDao
TaxonGroupTypeDao.findTaxonGroupTypeByNaturalId(int, java.lang.String, java.lang.String)
public java.util.Collection getAllTaxonGroupTypeSinceDateSynchro(java.sql.Timestamp updateDate)
getAllTaxonGroupTypeSinceDateSynchro
in interface TaxonGroupTypeDao
TaxonGroupTypeDao.getAllTaxonGroupTypeSinceDateSynchro(java.sql.Timestamp)
public java.util.Collection getAllTaxonGroupTypeSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
TaxonGroupTypeDao
Does the same thing as TaxonGroupTypeDao.getAllTaxonGroupTypeSinceDateSynchro(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.
getAllTaxonGroupTypeSinceDateSynchro
in interface TaxonGroupTypeDao
TaxonGroupTypeDao.getAllTaxonGroupTypeSinceDateSynchro(int, java.sql.Timestamp)
public java.util.Collection getAllTaxonGroupTypeSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
TaxonGroupTypeDao
Does the same thing as TaxonGroupTypeDao.getAllTaxonGroupTypeSinceDateSynchro(java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in TaxonGroupTypeDao.getAllTaxonGroupTypeSinceDateSynchro(java.sql.Timestamp)
.
getAllTaxonGroupTypeSinceDateSynchro
in interface TaxonGroupTypeDao
TaxonGroupTypeDao.getAllTaxonGroupTypeSinceDateSynchro(java.lang.String, java.sql.Timestamp)
public java.util.Collection getAllTaxonGroupTypeSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
TaxonGroupTypeDao
Does the same thing as TaxonGroupTypeDao.getAllTaxonGroupTypeSinceDateSynchro(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.
getAllTaxonGroupTypeSinceDateSynchro
in interface TaxonGroupTypeDao
TaxonGroupTypeDao.getAllTaxonGroupTypeSinceDateSynchro(int, int, java.sql.Timestamp)
public java.util.Collection getAllTaxonGroupTypeSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
TaxonGroupTypeDao
Does the same thing as TaxonGroupTypeDao.getAllTaxonGroupTypeSinceDateSynchro(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.
getAllTaxonGroupTypeSinceDateSynchro
in interface TaxonGroupTypeDao
TaxonGroupTypeDao.getAllTaxonGroupTypeSinceDateSynchro(String, int, int, java.sql.Timestamp)
public java.util.Collection getAllTaxonGroupTypeSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
TaxonGroupTypeDao
Does the same thing as TaxonGroupTypeDao.getAllTaxonGroupTypeSinceDateSynchro(int, java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in TaxonGroupTypeDao.getAllTaxonGroupTypeSinceDateSynchro(int, java.sql.Timestamp updateDate)
.
getAllTaxonGroupTypeSinceDateSynchro
in interface TaxonGroupTypeDao
TaxonGroupTypeDao.getAllTaxonGroupTypeSinceDateSynchro(int, String, java.sql.Timestamp)
public java.util.Collection getAllTaxonGroupTypeSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
TaxonGroupTypeDao
Does the same thing as TaxonGroupTypeDao.getAllTaxonGroupTypeSinceDateSynchro(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.
getAllTaxonGroupTypeSinceDateSynchro
in interface TaxonGroupTypeDao
TaxonGroupTypeDao.getAllTaxonGroupTypeSinceDateSynchro(int, int, int, java.sql.Timestamp)
public java.util.Collection getAllTaxonGroupTypeSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
TaxonGroupTypeDao
Does the same thing as TaxonGroupTypeDao.getAllTaxonGroupTypeSinceDateSynchro(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.
getAllTaxonGroupTypeSinceDateSynchro
in interface TaxonGroupTypeDao
TaxonGroupTypeDao.getAllTaxonGroupTypeSinceDateSynchro(int, java.lang.String, int, int, java.sql.Timestamp)
public TaxonGroupType createFromClusterTaxonGroupType(ClusterTaxonGroupType clusterTaxonGroupType)
createFromClusterTaxonGroupType
in interface TaxonGroupTypeDao
TaxonGroupTypeDao.createFromClusterTaxonGroupType(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterTaxonGroupType)
protected abstract TaxonGroupType handleCreateFromClusterTaxonGroupType(ClusterTaxonGroupType clusterTaxonGroupType) throws java.lang.Exception
createFromClusterTaxonGroupType(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterTaxonGroupType)
java.lang.Exception
public ClusterTaxonGroupType[] getAllClusterTaxonGroupTypeSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
getAllClusterTaxonGroupTypeSinceDateSynchro
in interface TaxonGroupTypeDao
TaxonGroupTypeDao.getAllClusterTaxonGroupTypeSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected abstract ClusterTaxonGroupType[] handleGetAllClusterTaxonGroupTypeSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize) throws java.lang.Exception
getAllClusterTaxonGroupTypeSinceDateSynchro(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, TaxonGroupType entity)
transform
flag is set to one of the constants defined in fr.ifremer.allegro.referential.taxon.TaxonGroupTypeDao
, please note
that the TaxonGroupTypeDao.TRANSFORM_NONE
constant denotes no transformation, so the entity itself
will be returned.
This method will return instances of these types:
TaxonGroupType
- TaxonGroupTypeDao.TRANSFORM_NONE
RemoteTaxonGroupTypeFullVO
- TRANSFORM_REMOTETAXONGROUPTYPEFULLVO
RemoteTaxonGroupTypeNaturalId
- TRANSFORM_REMOTETAXONGROUPTYPENATURALID
ClusterTaxonGroupType
- TRANSFORM_CLUSTERTAXONGROUPTYPE
TaxonGroupTypeDao.TRANSFORM_NONE
is assumed.
transform
- one of the constants declared in TaxonGroupTypeDao
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.TaxonGroupType)
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.TaxonGroupTypeDao
entities
- the collection of entities to transformtransformEntity(int,fr.ifremer.allegro.referential.taxon.TaxonGroupType)
protected TaxonGroupType toEntity(java.lang.Object[] row)
public final void toRemoteTaxonGroupTypeFullVOCollection(java.util.Collection entities)
TaxonGroupTypeDao
RemoteTaxonGroupTypeFullVO
.
toRemoteTaxonGroupTypeFullVOCollection
in interface TaxonGroupTypeDao
TaxonGroupTypeDao.toRemoteTaxonGroupTypeFullVOCollection(java.util.Collection)
public final RemoteTaxonGroupTypeFullVO[] toRemoteTaxonGroupTypeFullVOArray(java.util.Collection entities)
TaxonGroupTypeDao
RemoteTaxonGroupTypeFullVO
.
toRemoteTaxonGroupTypeFullVOArray
in interface TaxonGroupTypeDao
TaxonGroupTypeDao.toRemoteTaxonGroupTypeFullVOArray(java.util.Collection)
protected RemoteTaxonGroupTypeFullVO toRemoteTaxonGroupTypeFullVO(java.lang.Object[] row)
TaxonGroupTypeDaoImpl
class if you intend to use reporting queries.
TaxonGroupTypeDao.toRemoteTaxonGroupTypeFullVO(fr.ifremer.allegro.referential.taxon.TaxonGroupType)
public final void remoteTaxonGroupTypeFullVOToEntityCollection(java.util.Collection instances)
TaxonGroupTypeDao
RemoteTaxonGroupTypeFullVO
to this
DAO's entity.
remoteTaxonGroupTypeFullVOToEntityCollection
in interface TaxonGroupTypeDao
TaxonGroupTypeDao.remoteTaxonGroupTypeFullVOToEntityCollection(java.util.Collection)
public void toRemoteTaxonGroupTypeFullVO(TaxonGroupType source, RemoteTaxonGroupTypeFullVO target)
TaxonGroupTypeDao
toRemoteTaxonGroupTypeFullVO
in interface TaxonGroupTypeDao
TaxonGroupTypeDao.toRemoteTaxonGroupTypeFullVO(fr.ifremer.allegro.referential.taxon.TaxonGroupType, fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonGroupTypeFullVO)
public RemoteTaxonGroupTypeFullVO toRemoteTaxonGroupTypeFullVO(TaxonGroupType entity)
TaxonGroupTypeDao
RemoteTaxonGroupTypeFullVO
.
toRemoteTaxonGroupTypeFullVO
in interface TaxonGroupTypeDao
TaxonGroupTypeDao.toRemoteTaxonGroupTypeFullVO(fr.ifremer.allegro.referential.taxon.TaxonGroupType)
public void remoteTaxonGroupTypeFullVOToEntity(RemoteTaxonGroupTypeFullVO source, TaxonGroupType target, boolean copyIfNull)
TaxonGroupTypeDao
RemoteTaxonGroupTypeFullVO
to the specified entity.
remoteTaxonGroupTypeFullVOToEntity
in interface TaxonGroupTypeDao
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.TaxonGroupTypeDao#remoteTaxonGroupTypeFullVOToEntity(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonGroupTypeFullVO, fr.ifremer.allegro.referential.taxon.TaxonGroupType)
public final void toRemoteTaxonGroupTypeNaturalIdCollection(java.util.Collection entities)
TaxonGroupTypeDao
RemoteTaxonGroupTypeNaturalId
.
toRemoteTaxonGroupTypeNaturalIdCollection
in interface TaxonGroupTypeDao
TaxonGroupTypeDao.toRemoteTaxonGroupTypeNaturalIdCollection(java.util.Collection)
public final RemoteTaxonGroupTypeNaturalId[] toRemoteTaxonGroupTypeNaturalIdArray(java.util.Collection entities)
TaxonGroupTypeDao
RemoteTaxonGroupTypeNaturalId
.
toRemoteTaxonGroupTypeNaturalIdArray
in interface TaxonGroupTypeDao
TaxonGroupTypeDao.toRemoteTaxonGroupTypeNaturalIdArray(java.util.Collection)
protected RemoteTaxonGroupTypeNaturalId toRemoteTaxonGroupTypeNaturalId(java.lang.Object[] row)
TaxonGroupTypeDaoImpl
class if you intend to use reporting queries.
TaxonGroupTypeDao.toRemoteTaxonGroupTypeNaturalId(fr.ifremer.allegro.referential.taxon.TaxonGroupType)
public final void remoteTaxonGroupTypeNaturalIdToEntityCollection(java.util.Collection instances)
TaxonGroupTypeDao
RemoteTaxonGroupTypeNaturalId
to this
DAO's entity.
remoteTaxonGroupTypeNaturalIdToEntityCollection
in interface TaxonGroupTypeDao
TaxonGroupTypeDao.remoteTaxonGroupTypeNaturalIdToEntityCollection(java.util.Collection)
public void toRemoteTaxonGroupTypeNaturalId(TaxonGroupType source, RemoteTaxonGroupTypeNaturalId target)
TaxonGroupTypeDao
toRemoteTaxonGroupTypeNaturalId
in interface TaxonGroupTypeDao
TaxonGroupTypeDao.toRemoteTaxonGroupTypeNaturalId(fr.ifremer.allegro.referential.taxon.TaxonGroupType, fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonGroupTypeNaturalId)
public RemoteTaxonGroupTypeNaturalId toRemoteTaxonGroupTypeNaturalId(TaxonGroupType entity)
TaxonGroupTypeDao
RemoteTaxonGroupTypeNaturalId
.
toRemoteTaxonGroupTypeNaturalId
in interface TaxonGroupTypeDao
TaxonGroupTypeDao.toRemoteTaxonGroupTypeNaturalId(fr.ifremer.allegro.referential.taxon.TaxonGroupType)
public void remoteTaxonGroupTypeNaturalIdToEntity(RemoteTaxonGroupTypeNaturalId source, TaxonGroupType target, boolean copyIfNull)
TaxonGroupTypeDao
RemoteTaxonGroupTypeNaturalId
to the specified entity.
remoteTaxonGroupTypeNaturalIdToEntity
in interface TaxonGroupTypeDao
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.TaxonGroupTypeDao#remoteTaxonGroupTypeNaturalIdToEntity(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonGroupTypeNaturalId, fr.ifremer.allegro.referential.taxon.TaxonGroupType)
public final void toClusterTaxonGroupTypeCollection(java.util.Collection entities)
TaxonGroupTypeDao
ClusterTaxonGroupType
.
toClusterTaxonGroupTypeCollection
in interface TaxonGroupTypeDao
TaxonGroupTypeDao.toClusterTaxonGroupTypeCollection(java.util.Collection)
public final ClusterTaxonGroupType[] toClusterTaxonGroupTypeArray(java.util.Collection entities)
TaxonGroupTypeDao
ClusterTaxonGroupType
.
toClusterTaxonGroupTypeArray
in interface TaxonGroupTypeDao
TaxonGroupTypeDao.toClusterTaxonGroupTypeArray(java.util.Collection)
protected ClusterTaxonGroupType toClusterTaxonGroupType(java.lang.Object[] row)
TaxonGroupTypeDaoImpl
class if you intend to use reporting queries.
TaxonGroupTypeDao.toClusterTaxonGroupType(fr.ifremer.allegro.referential.taxon.TaxonGroupType)
public final void clusterTaxonGroupTypeToEntityCollection(java.util.Collection instances)
TaxonGroupTypeDao
ClusterTaxonGroupType
to this
DAO's entity.
clusterTaxonGroupTypeToEntityCollection
in interface TaxonGroupTypeDao
TaxonGroupTypeDao.clusterTaxonGroupTypeToEntityCollection(java.util.Collection)
public void toClusterTaxonGroupType(TaxonGroupType source, ClusterTaxonGroupType target)
TaxonGroupTypeDao
toClusterTaxonGroupType
in interface TaxonGroupTypeDao
TaxonGroupTypeDao.toClusterTaxonGroupType(fr.ifremer.allegro.referential.taxon.TaxonGroupType, fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterTaxonGroupType)
public ClusterTaxonGroupType toClusterTaxonGroupType(TaxonGroupType entity)
TaxonGroupTypeDao
ClusterTaxonGroupType
.
toClusterTaxonGroupType
in interface TaxonGroupTypeDao
TaxonGroupTypeDao.toClusterTaxonGroupType(fr.ifremer.allegro.referential.taxon.TaxonGroupType)
public void clusterTaxonGroupTypeToEntity(ClusterTaxonGroupType source, TaxonGroupType target, boolean copyIfNull)
TaxonGroupTypeDao
ClusterTaxonGroupType
to the specified entity.
clusterTaxonGroupTypeToEntity
in interface TaxonGroupTypeDao
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.TaxonGroupTypeDao#clusterTaxonGroupTypeToEntity(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterTaxonGroupType, fr.ifremer.allegro.referential.taxon.TaxonGroupType)
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)
TaxonGroupTypeDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface TaxonGroupTypeDao
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.TaxonGroupTypeDao.search(int, int, int, fr.ifremer.allegro.Search)
public PaginationResult search(int pageNumber, int pageSize, Search search)
TaxonGroupTypeDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface TaxonGroupTypeDao
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.TaxonGroupTypeDao.search(int, int, fr.ifremer.allegro.Search)
public java.util.Set search(int transform, Search search)
TaxonGroupTypeDao
TaxonGroupTypeDao.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 TaxonGroupTypeDao
transform
- the transformation flag.search
- the search object which provides the search parameters and pagination specification.
TaxonGroupTypeDao.search(int, fr.ifremer.allegro.Search)
public java.util.Set search(Search search)
TaxonGroupTypeDao
search
object.
search
in interface TaxonGroupTypeDao
search
- the search object which provides the search parameters and pagination specification.
TaxonGroupTypeDao.search(fr.ifremer.allegro.Search)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |