|
||||||||||
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.TaxonomicLevelDaoBase
public abstract class TaxonomicLevelDaoBase
Base Spring DAO Class: is able to create, update, remove, load, and find
objects of type fr.ifremer.allegro.referential.taxon.TaxonomicLevel
.
TaxonomicLevel
Field Summary |
---|
Fields inherited from interface fr.ifremer.allegro.referential.taxon.TaxonomicLevelDao |
---|
TRANSFORM_CLUSTERTAXONOMICLEVEL, TRANSFORM_NONE, TRANSFORM_REMOTETAXONOMICLEVELFULLVO, TRANSFORM_REMOTETAXONOMICLEVELNATURALID |
Constructor Summary | |
---|---|
TaxonomicLevelDaoBase()
|
Method Summary | |
---|---|
void |
clusterTaxonomicLevelToEntity(ClusterTaxonomicLevel source,
TaxonomicLevel target,
boolean copyIfNull)
Copies the fields of ClusterTaxonomicLevel to the specified entity. |
void |
clusterTaxonomicLevelToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type ClusterTaxonomicLevel to this
DAO's entity. |
java.util.Collection |
create(java.util.Collection entities)
Creates a new instance of fr.ifremer.allegro.referential.taxon.TaxonomicLevel and adds from the passed in entities collection |
java.util.Collection |
create(int transform,
java.util.Collection entities)
Does the same thing as TaxonomicLevelDao.create(fr.ifremer.allegro.referential.taxon.TaxonomicLevel) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
java.lang.String code,
java.util.Date creationDate,
java.lang.String name,
java.lang.Integer rank,
Status status)
Does the same thing as TaxonomicLevelDao.create(java.lang.String,java.util.Date,java.lang.String,java.lang.Integer,fr.ifremer.allegro.referential.Status) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
java.lang.String code,
java.lang.Integer rank,
java.lang.String name,
java.lang.String label,
java.lang.String comments,
java.util.Date creationDate,
java.sql.Timestamp updateDate,
java.util.Collection taxonNames,
Status status)
Does the same thing as TaxonomicLevelDao.create(java.lang.String,java.lang.Integer,java.lang.String,java.lang.String,java.lang.String,java.util.Date,java.sql.Timestamp,java.util.Collection,fr.ifremer.allegro.referential.Status) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
TaxonomicLevel taxonomicLevel)
Does the same thing as TaxonomicLevelDao.create(fr.ifremer.allegro.referential.taxon.TaxonomicLevel) with an
additional flag called transform . |
TaxonomicLevel |
create(java.lang.String code,
java.util.Date creationDate,
java.lang.String name,
java.lang.Integer rank,
Status status)
Creates a new fr.ifremer.allegro.referential.taxon.TaxonomicLevel
instance from only required properties (attributes
and association ends) and adds it to the persistent store. |
TaxonomicLevel |
create(java.lang.String code,
java.lang.Integer rank,
java.lang.String name,
java.lang.String label,
java.lang.String comments,
java.util.Date creationDate,
java.sql.Timestamp updateDate,
java.util.Collection taxonNames,
Status status)
Creates a new fr.ifremer.allegro.referential.taxon.TaxonomicLevel
instance from all attributes and
properties and adds it to the persistent store. |
TaxonomicLevel |
create(TaxonomicLevel taxonomicLevel)
Creates an instance of fr.ifremer.allegro.referential.taxon.TaxonomicLevel and adds it to the persistent store. |
TaxonomicLevel |
createFromClusterTaxonomicLevel(ClusterTaxonomicLevel clusterTaxonomicLevel)
|
java.lang.Object |
findTaxonomicLevelByCode(int transform,
java.lang.String code)
Does the same thing as TaxonomicLevelDao.findTaxonomicLevelByCode(java.lang.String) with an
additional flag called transform . |
java.lang.Object |
findTaxonomicLevelByCode(int transform,
java.lang.String queryString,
java.lang.String code)
Does the same thing as TaxonomicLevelDao.findTaxonomicLevelByCode(int, java.lang.String) with an
additional argument called queryString . |
TaxonomicLevel |
findTaxonomicLevelByCode(java.lang.String code)
|
TaxonomicLevel |
findTaxonomicLevelByCode(java.lang.String queryString,
java.lang.String code)
Does the same thing as TaxonomicLevelDao.findTaxonomicLevelByCode(java.lang.String) with an
additional argument called queryString . |
java.lang.Object |
findTaxonomicLevelByNaturalId(int transform,
java.lang.String code)
Does the same thing as TaxonomicLevelDao.findTaxonomicLevelByNaturalId(java.lang.String) with an
additional flag called transform . |
java.lang.Object |
findTaxonomicLevelByNaturalId(int transform,
java.lang.String queryString,
java.lang.String code)
Does the same thing as TaxonomicLevelDao.findTaxonomicLevelByNaturalId(int, java.lang.String) with an
additional argument called queryString . |
TaxonomicLevel |
findTaxonomicLevelByNaturalId(java.lang.String code)
|
TaxonomicLevel |
findTaxonomicLevelByNaturalId(java.lang.String queryString,
java.lang.String code)
Does the same thing as TaxonomicLevelDao.findTaxonomicLevelByNaturalId(java.lang.String) with an
additional argument called queryString . |
java.util.Collection |
findTaxonomicLevelByStatus(int transform,
int pageNumber,
int pageSize,
Status status)
Does the same thing as TaxonomicLevelDao.findTaxonomicLevelByStatus(int, fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findTaxonomicLevelByStatus(int pageNumber,
int pageSize,
Status status)
Does the same thing as TaxonomicLevelDao.findTaxonomicLevelByStatus(fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findTaxonomicLevelByStatus(int transform,
Status status)
Does the same thing as TaxonomicLevelDao.findTaxonomicLevelByStatus(fr.ifremer.allegro.referential.Status) with an
additional flag called transform . |
java.util.Collection |
findTaxonomicLevelByStatus(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
Status status)
Does the same thing as TaxonomicLevelDao.findTaxonomicLevelByStatus(int, String, fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findTaxonomicLevelByStatus(int transform,
java.lang.String queryString,
Status status)
Does the same thing as TaxonomicLevelDao.findTaxonomicLevelByStatus(int, fr.ifremer.allegro.referential.Status) with an
additional argument called queryString . |
java.util.Collection |
findTaxonomicLevelByStatus(Status status)
|
java.util.Collection |
findTaxonomicLevelByStatus(java.lang.String queryString,
int pageNumber,
int pageSize,
Status status)
Does the same thing as TaxonomicLevelDao.findTaxonomicLevelByStatus(String, fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findTaxonomicLevelByStatus(java.lang.String queryString,
Status status)
Does the same thing as TaxonomicLevelDao.findTaxonomicLevelByStatus(fr.ifremer.allegro.referential.Status) with an
additional argument called queryString . |
ClusterTaxonomicLevel[] |
getAllClusterTaxonomicLevelSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize)
|
java.util.Collection |
getAllTaxonomicLevel()
|
java.util.Collection |
getAllTaxonomicLevel(int transform)
Does the same thing as TaxonomicLevelDao.getAllTaxonomicLevel() with an
additional flag called transform . |
java.util.Collection |
getAllTaxonomicLevel(int pageNumber,
int pageSize)
Does the same thing as TaxonomicLevelDao.getAllTaxonomicLevel() with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllTaxonomicLevel(int transform,
int pageNumber,
int pageSize)
Does the same thing as TaxonomicLevelDao.getAllTaxonomicLevel(int) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllTaxonomicLevel(int transform,
java.lang.String queryString)
Does the same thing as TaxonomicLevelDao.getAllTaxonomicLevel(int) with an
additional argument called queryString . |
java.util.Collection |
getAllTaxonomicLevel(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as TaxonomicLevelDao.getAllTaxonomicLevel(int, String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllTaxonomicLevel(java.lang.String queryString)
Does the same thing as TaxonomicLevelDao.getAllTaxonomicLevel() with an
additional argument called queryString . |
java.util.Collection |
getAllTaxonomicLevel(java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as TaxonomicLevelDao.getAllTaxonomicLevel(String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllTaxonomicLevelSinceDateSynchro(int transform,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as TaxonomicLevelDao.getAllTaxonomicLevelSinceDateSynchro(int, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllTaxonomicLevelSinceDateSynchro(int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as TaxonomicLevelDao.getAllTaxonomicLevelSinceDateSynchro(java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllTaxonomicLevelSinceDateSynchro(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as TaxonomicLevelDao.getAllTaxonomicLevelSinceDateSynchro(int, String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllTaxonomicLevelSinceDateSynchro(int transform,
java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as TaxonomicLevelDao.getAllTaxonomicLevelSinceDateSynchro(int, java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllTaxonomicLevelSinceDateSynchro(int transform,
java.sql.Timestamp updateDate)
Does the same thing as TaxonomicLevelDao.getAllTaxonomicLevelSinceDateSynchro(java.sql.Timestamp) with an
additional flag called transform . |
java.util.Collection |
getAllTaxonomicLevelSinceDateSynchro(java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as TaxonomicLevelDao.getAllTaxonomicLevelSinceDateSynchro(String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllTaxonomicLevelSinceDateSynchro(java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as TaxonomicLevelDao.getAllTaxonomicLevelSinceDateSynchro(java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllTaxonomicLevelSinceDateSynchro(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 TaxonNameDao |
getTaxonNameDao()
Gets the reference to taxonNameDao . |
protected abstract TaxonomicLevel |
handleCreateFromClusterTaxonomicLevel(ClusterTaxonomicLevel clusterTaxonomicLevel)
Performs the core logic for createFromClusterTaxonomicLevel(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterTaxonomicLevel) |
protected abstract ClusterTaxonomicLevel[] |
handleGetAllClusterTaxonomicLevelSinceDateSynchro(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 getAllClusterTaxonomicLevelSinceDateSynchro(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 TaxonomicLevelDao.load(java.lang.String) with an
additional flag called transform . |
TaxonomicLevel |
load(java.lang.String code)
Loads an instance of fr.ifremer.allegro.referential.taxon.TaxonomicLevel from the persistent store. |
java.util.Collection |
loadAll()
Loads all entities of type TaxonomicLevel . |
java.util.Collection |
loadAll(int transform)
Does the same thing as TaxonomicLevelDao.loadAll() with an
additional flag called transform . |
java.util.Collection |
loadAll(int pageNumber,
int pageSize)
Does the same thing as TaxonomicLevelDao.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 TaxonomicLevelDao.loadAll(int) with an
additional two arguments called pageNumber and pageSize . |
void |
remoteTaxonomicLevelFullVOToEntity(RemoteTaxonomicLevelFullVO source,
TaxonomicLevel target,
boolean copyIfNull)
Copies the fields of RemoteTaxonomicLevelFullVO to the specified entity. |
void |
remoteTaxonomicLevelFullVOToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteTaxonomicLevelFullVO to this
DAO's entity. |
void |
remoteTaxonomicLevelNaturalIdToEntity(RemoteTaxonomicLevelNaturalId source,
TaxonomicLevel target,
boolean copyIfNull)
Copies the fields of RemoteTaxonomicLevelNaturalId to the specified entity. |
void |
remoteTaxonomicLevelNaturalIdToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteTaxonomicLevelNaturalId 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.TaxonomicLevel having the given identifier from the persistent store. |
void |
remove(TaxonomicLevel taxonomicLevel)
Removes the instance of fr.ifremer.allegro.referential.taxon.TaxonomicLevel 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 TaxonomicLevelDao.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 |
setTaxonNameDao(TaxonNameDao taxonNameDao)
Sets the reference to taxonNameDao . |
protected ClusterTaxonomicLevel |
toClusterTaxonomicLevel(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
ClusterTaxonomicLevel |
toClusterTaxonomicLevel(TaxonomicLevel entity)
Converts this DAO's entity to an object of type ClusterTaxonomicLevel . |
void |
toClusterTaxonomicLevel(TaxonomicLevel source,
ClusterTaxonomicLevel target)
Copies the fields of the specified entity to the target value object. |
ClusterTaxonomicLevel[] |
toClusterTaxonomicLevelArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type ClusterTaxonomicLevel . |
void |
toClusterTaxonomicLevelCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type ClusterTaxonomicLevel . |
protected TaxonomicLevel |
toEntity(java.lang.Object[] row)
|
protected RemoteTaxonomicLevelFullVO |
toRemoteTaxonomicLevelFullVO(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteTaxonomicLevelFullVO |
toRemoteTaxonomicLevelFullVO(TaxonomicLevel entity)
Converts this DAO's entity to an object of type RemoteTaxonomicLevelFullVO . |
void |
toRemoteTaxonomicLevelFullVO(TaxonomicLevel source,
RemoteTaxonomicLevelFullVO target)
Copies the fields of the specified entity to the target value object. |
RemoteTaxonomicLevelFullVO[] |
toRemoteTaxonomicLevelFullVOArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteTaxonomicLevelFullVO . |
void |
toRemoteTaxonomicLevelFullVOCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteTaxonomicLevelFullVO . |
protected RemoteTaxonomicLevelNaturalId |
toRemoteTaxonomicLevelNaturalId(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteTaxonomicLevelNaturalId |
toRemoteTaxonomicLevelNaturalId(TaxonomicLevel entity)
Converts this DAO's entity to an object of type RemoteTaxonomicLevelNaturalId . |
void |
toRemoteTaxonomicLevelNaturalId(TaxonomicLevel source,
RemoteTaxonomicLevelNaturalId target)
Copies the fields of the specified entity to the target value object. |
RemoteTaxonomicLevelNaturalId[] |
toRemoteTaxonomicLevelNaturalIdArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteTaxonomicLevelNaturalId . |
void |
toRemoteTaxonomicLevelNaturalIdCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteTaxonomicLevelNaturalId . |
protected void |
transformEntities(int transform,
java.util.Collection entities)
Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.taxon.TaxonomicLevel)
method. |
protected java.lang.Object |
transformEntity(int transform,
TaxonomicLevel 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.TaxonomicLevelDao , please note
that the TaxonomicLevelDao.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(TaxonomicLevel taxonomicLevel)
Updates the taxonomicLevel 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.TaxonomicLevelDao |
---|
clusterTaxonomicLevelToEntity, remoteTaxonomicLevelFullVOToEntity, remoteTaxonomicLevelNaturalIdToEntity |
Constructor Detail |
---|
public TaxonomicLevelDaoBase()
Method Detail |
---|
public void setStatusDao(StatusDao statusDao)
statusDao
.
protected StatusDao getStatusDao()
statusDao
.
public void setTaxonNameDao(TaxonNameDao taxonNameDao)
taxonNameDao
.
protected TaxonNameDao getTaxonNameDao()
taxonNameDao
.
public java.lang.Object load(int transform, java.lang.String code)
TaxonomicLevelDao
Does the same thing as TaxonomicLevelDao.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 TaxonomicLevelDao
code
- identifier of the entity to load
TaxonomicLevelDao.load(int, java.lang.String)
public TaxonomicLevel load(java.lang.String code)
TaxonomicLevelDao
load
in interface TaxonomicLevelDao
TaxonomicLevelDao.load(java.lang.String)
public java.util.Collection loadAll()
TaxonomicLevelDao
TaxonomicLevel
.
loadAll
in interface TaxonomicLevelDao
TaxonomicLevelDao.loadAll()
public java.util.Collection loadAll(int transform)
TaxonomicLevelDao
Does the same thing as TaxonomicLevelDao.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 TaxonomicLevelDao
transform
- the flag indicating what transformation to use.
TaxonomicLevelDao.loadAll(int)
public java.util.Collection loadAll(int pageNumber, int pageSize)
TaxonomicLevelDao
Does the same thing as TaxonomicLevelDao.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 TaxonomicLevelDao
pageNumber
- the page number to retrieve when paging results.pageSize
- the size of the page to retrieve when paging results.
TaxonomicLevelDao.loadAll(int, int)
public java.util.Collection loadAll(int transform, int pageNumber, int pageSize)
TaxonomicLevelDao
Does the same thing as TaxonomicLevelDao.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 TaxonomicLevelDao
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.
TaxonomicLevelDao.loadAll(int, int, int)
public TaxonomicLevel create(TaxonomicLevel taxonomicLevel)
TaxonomicLevelDao
create
in interface TaxonomicLevelDao
TaxonomicLevelDao.create(fr.ifremer.allegro.referential.taxon.TaxonomicLevel)
public java.lang.Object create(int transform, TaxonomicLevel taxonomicLevel)
TaxonomicLevelDao
Does the same thing as TaxonomicLevelDao.create(fr.ifremer.allegro.referential.taxon.TaxonomicLevel)
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 TaxonomicLevelDao
TaxonomicLevelDao.create(int transform, fr.ifremer.allegro.referential.taxon.TaxonomicLevel)
public java.util.Collection create(java.util.Collection entities)
TaxonomicLevelDao
entities
collection
create
in interface TaxonomicLevelDao
entities
- the collection of fr.ifremer.allegro.referential.taxon.TaxonomicLevel
instances to create.
TaxonomicLevelDao.create(java.util.Collection)
public java.util.Collection create(int transform, java.util.Collection entities)
TaxonomicLevelDao
Does the same thing as TaxonomicLevelDao.create(fr.ifremer.allegro.referential.taxon.TaxonomicLevel)
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 TaxonomicLevelDao
TaxonomicLevelDao.create(int, java.util.Collection)
public TaxonomicLevel create(java.lang.String code, java.lang.Integer rank, java.lang.String name, java.lang.String label, java.lang.String comments, java.util.Date creationDate, java.sql.Timestamp updateDate, java.util.Collection taxonNames, Status status)
TaxonomicLevelDao
Creates a new fr.ifremer.allegro.referential.taxon.TaxonomicLevel
instance from all attributes and
properties and adds it to the persistent store.
create
in interface TaxonomicLevelDao
TaxonomicLevelDao.create(java.lang.String,java.lang.Integer,java.lang.String,java.lang.String,java.lang.String,java.util.Date,java.sql.Timestamp,java.util.Collection,fr.ifremer.allegro.referential.Status)
public java.lang.Object create(int transform, java.lang.String code, java.lang.Integer rank, java.lang.String name, java.lang.String label, java.lang.String comments, java.util.Date creationDate, java.sql.Timestamp updateDate, java.util.Collection taxonNames, Status status)
TaxonomicLevelDao
Does the same thing as TaxonomicLevelDao.create(java.lang.String,java.lang.Integer,java.lang.String,java.lang.String,java.lang.String,java.util.Date,java.sql.Timestamp,java.util.Collection,fr.ifremer.allegro.referential.Status)
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 TaxonomicLevelDao
TaxonomicLevelDao.create(int, java.lang.String,java.lang.Integer,java.lang.String,java.lang.String,java.lang.String,java.util.Date,java.sql.Timestamp,java.util.Collection,fr.ifremer.allegro.referential.Status)
public TaxonomicLevel create(java.lang.String code, java.util.Date creationDate, java.lang.String name, java.lang.Integer rank, Status status)
TaxonomicLevelDao
Creates a new fr.ifremer.allegro.referential.taxon.TaxonomicLevel
instance from only required properties (attributes
and association ends) and adds it to the persistent store.
create
in interface TaxonomicLevelDao
TaxonomicLevelDao.create(java.lang.String,java.util.Date,java.lang.String,java.lang.Integer,fr.ifremer.allegro.referential.Status)
public java.lang.Object create(int transform, java.lang.String code, java.util.Date creationDate, java.lang.String name, java.lang.Integer rank, Status status)
TaxonomicLevelDao
Does the same thing as TaxonomicLevelDao.create(java.lang.String,java.util.Date,java.lang.String,java.lang.Integer,fr.ifremer.allegro.referential.Status)
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 TaxonomicLevelDao
TaxonomicLevelDao.create(int, java.lang.String,java.util.Date,java.lang.String,java.lang.Integer,fr.ifremer.allegro.referential.Status)
public void update(TaxonomicLevel taxonomicLevel)
TaxonomicLevelDao
taxonomicLevel
instance in the persistent store.
update
in interface TaxonomicLevelDao
TaxonomicLevelDao.update(fr.ifremer.allegro.referential.taxon.TaxonomicLevel)
public void update(java.util.Collection entities)
TaxonomicLevelDao
entities
collection in the persistent store.
update
in interface TaxonomicLevelDao
TaxonomicLevelDao.update(java.util.Collection)
public void remove(TaxonomicLevel taxonomicLevel)
TaxonomicLevelDao
remove
in interface TaxonomicLevelDao
TaxonomicLevelDao.remove(fr.ifremer.allegro.referential.taxon.TaxonomicLevel)
public void remove(java.lang.String code)
TaxonomicLevelDao
identifier
from the persistent store.
remove
in interface TaxonomicLevelDao
TaxonomicLevelDao.remove(java.lang.String)
public void remove(java.util.Collection entities)
TaxonomicLevelDao
entities collection.
- Specified by:
remove
in interface TaxonomicLevelDao
- See Also:
TaxonomicLevelDao.remove(java.util.Collection)
public java.util.Collection getAllTaxonomicLevel()
getAllTaxonomicLevel
in interface TaxonomicLevelDao
TaxonomicLevelDao.getAllTaxonomicLevel()
public java.util.Collection getAllTaxonomicLevel(int transform)
TaxonomicLevelDao
Does the same thing as TaxonomicLevelDao.getAllTaxonomicLevel()
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.
getAllTaxonomicLevel
in interface TaxonomicLevelDao
TaxonomicLevelDao.getAllTaxonomicLevel(int)
public java.util.Collection getAllTaxonomicLevel(java.lang.String queryString)
TaxonomicLevelDao
Does the same thing as TaxonomicLevelDao.getAllTaxonomicLevel()
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in TaxonomicLevelDao.getAllTaxonomicLevel()
.
getAllTaxonomicLevel
in interface TaxonomicLevelDao
TaxonomicLevelDao.getAllTaxonomicLevel(java.lang.String)
public java.util.Collection getAllTaxonomicLevel(int pageNumber, int pageSize)
TaxonomicLevelDao
Does the same thing as TaxonomicLevelDao.getAllTaxonomicLevel()
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.
getAllTaxonomicLevel
in interface TaxonomicLevelDao
TaxonomicLevelDao.getAllTaxonomicLevel(int, int)
public java.util.Collection getAllTaxonomicLevel(java.lang.String queryString, int pageNumber, int pageSize)
TaxonomicLevelDao
Does the same thing as TaxonomicLevelDao.getAllTaxonomicLevel(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.
getAllTaxonomicLevel
in interface TaxonomicLevelDao
TaxonomicLevelDao.getAllTaxonomicLevel(String, int, int)
public java.util.Collection getAllTaxonomicLevel(int transform, java.lang.String queryString)
TaxonomicLevelDao
Does the same thing as TaxonomicLevelDao.getAllTaxonomicLevel(int)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in TaxonomicLevelDao.getAllTaxonomicLevel(int)
.
getAllTaxonomicLevel
in interface TaxonomicLevelDao
TaxonomicLevelDao.getAllTaxonomicLevel(int, String)
public java.util.Collection getAllTaxonomicLevel(int transform, int pageNumber, int pageSize)
TaxonomicLevelDao
Does the same thing as TaxonomicLevelDao.getAllTaxonomicLevel(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.
getAllTaxonomicLevel
in interface TaxonomicLevelDao
TaxonomicLevelDao.getAllTaxonomicLevel(int, int, int)
public java.util.Collection getAllTaxonomicLevel(int transform, java.lang.String queryString, int pageNumber, int pageSize)
TaxonomicLevelDao
Does the same thing as TaxonomicLevelDao.getAllTaxonomicLevel(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.
getAllTaxonomicLevel
in interface TaxonomicLevelDao
TaxonomicLevelDao.getAllTaxonomicLevel(int, java.lang.String, int, int)
public TaxonomicLevel findTaxonomicLevelByCode(java.lang.String code)
findTaxonomicLevelByCode
in interface TaxonomicLevelDao
TaxonomicLevelDao.findTaxonomicLevelByCode(java.lang.String)
public java.lang.Object findTaxonomicLevelByCode(int transform, java.lang.String code)
TaxonomicLevelDao
Does the same thing as TaxonomicLevelDao.findTaxonomicLevelByCode(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.
findTaxonomicLevelByCode
in interface TaxonomicLevelDao
TaxonomicLevelDao.findTaxonomicLevelByCode(int, java.lang.String)
public TaxonomicLevel findTaxonomicLevelByCode(java.lang.String queryString, java.lang.String code)
TaxonomicLevelDao
Does the same thing as TaxonomicLevelDao.findTaxonomicLevelByCode(java.lang.String)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in TaxonomicLevelDao.findTaxonomicLevelByCode(java.lang.String)
.
findTaxonomicLevelByCode
in interface TaxonomicLevelDao
TaxonomicLevelDao.findTaxonomicLevelByCode(java.lang.String, java.lang.String)
public java.lang.Object findTaxonomicLevelByCode(int transform, java.lang.String queryString, java.lang.String code)
TaxonomicLevelDao
Does the same thing as TaxonomicLevelDao.findTaxonomicLevelByCode(int, java.lang.String)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in TaxonomicLevelDao.findTaxonomicLevelByCode(int, java.lang.String code)
.
findTaxonomicLevelByCode
in interface TaxonomicLevelDao
TaxonomicLevelDao.findTaxonomicLevelByCode(int, java.lang.String, java.lang.String)
public java.util.Collection findTaxonomicLevelByStatus(Status status)
findTaxonomicLevelByStatus
in interface TaxonomicLevelDao
TaxonomicLevelDao.findTaxonomicLevelByStatus(fr.ifremer.allegro.referential.Status)
public java.util.Collection findTaxonomicLevelByStatus(int transform, Status status)
TaxonomicLevelDao
Does the same thing as TaxonomicLevelDao.findTaxonomicLevelByStatus(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.
findTaxonomicLevelByStatus
in interface TaxonomicLevelDao
TaxonomicLevelDao.findTaxonomicLevelByStatus(int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findTaxonomicLevelByStatus(java.lang.String queryString, Status status)
TaxonomicLevelDao
Does the same thing as TaxonomicLevelDao.findTaxonomicLevelByStatus(fr.ifremer.allegro.referential.Status)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in TaxonomicLevelDao.findTaxonomicLevelByStatus(fr.ifremer.allegro.referential.Status)
.
findTaxonomicLevelByStatus
in interface TaxonomicLevelDao
TaxonomicLevelDao.findTaxonomicLevelByStatus(java.lang.String, fr.ifremer.allegro.referential.Status)
public java.util.Collection findTaxonomicLevelByStatus(int pageNumber, int pageSize, Status status)
TaxonomicLevelDao
Does the same thing as TaxonomicLevelDao.findTaxonomicLevelByStatus(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.
findTaxonomicLevelByStatus
in interface TaxonomicLevelDao
TaxonomicLevelDao.findTaxonomicLevelByStatus(int, int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findTaxonomicLevelByStatus(java.lang.String queryString, int pageNumber, int pageSize, Status status)
TaxonomicLevelDao
Does the same thing as TaxonomicLevelDao.findTaxonomicLevelByStatus(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.
findTaxonomicLevelByStatus
in interface TaxonomicLevelDao
TaxonomicLevelDao.findTaxonomicLevelByStatus(String, int, int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findTaxonomicLevelByStatus(int transform, java.lang.String queryString, Status status)
TaxonomicLevelDao
Does the same thing as TaxonomicLevelDao.findTaxonomicLevelByStatus(int, fr.ifremer.allegro.referential.Status)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in TaxonomicLevelDao.findTaxonomicLevelByStatus(int, fr.ifremer.allegro.referential.Status status)
.
findTaxonomicLevelByStatus
in interface TaxonomicLevelDao
TaxonomicLevelDao.findTaxonomicLevelByStatus(int, String, fr.ifremer.allegro.referential.Status)
public java.util.Collection findTaxonomicLevelByStatus(int transform, int pageNumber, int pageSize, Status status)
TaxonomicLevelDao
Does the same thing as TaxonomicLevelDao.findTaxonomicLevelByStatus(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.
findTaxonomicLevelByStatus
in interface TaxonomicLevelDao
TaxonomicLevelDao.findTaxonomicLevelByStatus(int, int, int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findTaxonomicLevelByStatus(int transform, java.lang.String queryString, int pageNumber, int pageSize, Status status)
TaxonomicLevelDao
Does the same thing as TaxonomicLevelDao.findTaxonomicLevelByStatus(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.
findTaxonomicLevelByStatus
in interface TaxonomicLevelDao
TaxonomicLevelDao.findTaxonomicLevelByStatus(int, java.lang.String, int, int, fr.ifremer.allegro.referential.Status)
public TaxonomicLevel findTaxonomicLevelByNaturalId(java.lang.String code)
findTaxonomicLevelByNaturalId
in interface TaxonomicLevelDao
TaxonomicLevelDao.findTaxonomicLevelByNaturalId(java.lang.String)
public java.lang.Object findTaxonomicLevelByNaturalId(int transform, java.lang.String code)
TaxonomicLevelDao
Does the same thing as TaxonomicLevelDao.findTaxonomicLevelByNaturalId(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.
findTaxonomicLevelByNaturalId
in interface TaxonomicLevelDao
TaxonomicLevelDao.findTaxonomicLevelByNaturalId(int, java.lang.String)
public TaxonomicLevel findTaxonomicLevelByNaturalId(java.lang.String queryString, java.lang.String code)
TaxonomicLevelDao
Does the same thing as TaxonomicLevelDao.findTaxonomicLevelByNaturalId(java.lang.String)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in TaxonomicLevelDao.findTaxonomicLevelByNaturalId(java.lang.String)
.
findTaxonomicLevelByNaturalId
in interface TaxonomicLevelDao
TaxonomicLevelDao.findTaxonomicLevelByNaturalId(java.lang.String, java.lang.String)
public java.lang.Object findTaxonomicLevelByNaturalId(int transform, java.lang.String queryString, java.lang.String code)
TaxonomicLevelDao
Does the same thing as TaxonomicLevelDao.findTaxonomicLevelByNaturalId(int, java.lang.String)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in TaxonomicLevelDao.findTaxonomicLevelByNaturalId(int, java.lang.String code)
.
findTaxonomicLevelByNaturalId
in interface TaxonomicLevelDao
TaxonomicLevelDao.findTaxonomicLevelByNaturalId(int, java.lang.String, java.lang.String)
public java.util.Collection getAllTaxonomicLevelSinceDateSynchro(java.sql.Timestamp updateDate)
getAllTaxonomicLevelSinceDateSynchro
in interface TaxonomicLevelDao
TaxonomicLevelDao.getAllTaxonomicLevelSinceDateSynchro(java.sql.Timestamp)
public java.util.Collection getAllTaxonomicLevelSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
TaxonomicLevelDao
Does the same thing as TaxonomicLevelDao.getAllTaxonomicLevelSinceDateSynchro(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.
getAllTaxonomicLevelSinceDateSynchro
in interface TaxonomicLevelDao
TaxonomicLevelDao.getAllTaxonomicLevelSinceDateSynchro(int, java.sql.Timestamp)
public java.util.Collection getAllTaxonomicLevelSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
TaxonomicLevelDao
Does the same thing as TaxonomicLevelDao.getAllTaxonomicLevelSinceDateSynchro(java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in TaxonomicLevelDao.getAllTaxonomicLevelSinceDateSynchro(java.sql.Timestamp)
.
getAllTaxonomicLevelSinceDateSynchro
in interface TaxonomicLevelDao
TaxonomicLevelDao.getAllTaxonomicLevelSinceDateSynchro(java.lang.String, java.sql.Timestamp)
public java.util.Collection getAllTaxonomicLevelSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
TaxonomicLevelDao
Does the same thing as TaxonomicLevelDao.getAllTaxonomicLevelSinceDateSynchro(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.
getAllTaxonomicLevelSinceDateSynchro
in interface TaxonomicLevelDao
TaxonomicLevelDao.getAllTaxonomicLevelSinceDateSynchro(int, int, java.sql.Timestamp)
public java.util.Collection getAllTaxonomicLevelSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
TaxonomicLevelDao
Does the same thing as TaxonomicLevelDao.getAllTaxonomicLevelSinceDateSynchro(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.
getAllTaxonomicLevelSinceDateSynchro
in interface TaxonomicLevelDao
TaxonomicLevelDao.getAllTaxonomicLevelSinceDateSynchro(String, int, int, java.sql.Timestamp)
public java.util.Collection getAllTaxonomicLevelSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
TaxonomicLevelDao
Does the same thing as TaxonomicLevelDao.getAllTaxonomicLevelSinceDateSynchro(int, java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in TaxonomicLevelDao.getAllTaxonomicLevelSinceDateSynchro(int, java.sql.Timestamp updateDate)
.
getAllTaxonomicLevelSinceDateSynchro
in interface TaxonomicLevelDao
TaxonomicLevelDao.getAllTaxonomicLevelSinceDateSynchro(int, String, java.sql.Timestamp)
public java.util.Collection getAllTaxonomicLevelSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
TaxonomicLevelDao
Does the same thing as TaxonomicLevelDao.getAllTaxonomicLevelSinceDateSynchro(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.
getAllTaxonomicLevelSinceDateSynchro
in interface TaxonomicLevelDao
TaxonomicLevelDao.getAllTaxonomicLevelSinceDateSynchro(int, int, int, java.sql.Timestamp)
public java.util.Collection getAllTaxonomicLevelSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
TaxonomicLevelDao
Does the same thing as TaxonomicLevelDao.getAllTaxonomicLevelSinceDateSynchro(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.
getAllTaxonomicLevelSinceDateSynchro
in interface TaxonomicLevelDao
TaxonomicLevelDao.getAllTaxonomicLevelSinceDateSynchro(int, java.lang.String, int, int, java.sql.Timestamp)
public TaxonomicLevel createFromClusterTaxonomicLevel(ClusterTaxonomicLevel clusterTaxonomicLevel)
createFromClusterTaxonomicLevel
in interface TaxonomicLevelDao
TaxonomicLevelDao.createFromClusterTaxonomicLevel(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterTaxonomicLevel)
protected abstract TaxonomicLevel handleCreateFromClusterTaxonomicLevel(ClusterTaxonomicLevel clusterTaxonomicLevel) throws java.lang.Exception
createFromClusterTaxonomicLevel(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterTaxonomicLevel)
java.lang.Exception
public ClusterTaxonomicLevel[] getAllClusterTaxonomicLevelSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
getAllClusterTaxonomicLevelSinceDateSynchro
in interface TaxonomicLevelDao
TaxonomicLevelDao.getAllClusterTaxonomicLevelSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected abstract ClusterTaxonomicLevel[] handleGetAllClusterTaxonomicLevelSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize) throws java.lang.Exception
getAllClusterTaxonomicLevelSinceDateSynchro(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, TaxonomicLevel entity)
transform
flag is set to one of the constants defined in fr.ifremer.allegro.referential.taxon.TaxonomicLevelDao
, please note
that the TaxonomicLevelDao.TRANSFORM_NONE
constant denotes no transformation, so the entity itself
will be returned.
This method will return instances of these types:
TaxonomicLevel
- TaxonomicLevelDao.TRANSFORM_NONE
RemoteTaxonomicLevelFullVO
- TRANSFORM_REMOTETAXONOMICLEVELFULLVO
RemoteTaxonomicLevelNaturalId
- TRANSFORM_REMOTETAXONOMICLEVELNATURALID
ClusterTaxonomicLevel
- TRANSFORM_CLUSTERTAXONOMICLEVEL
TaxonomicLevelDao.TRANSFORM_NONE
is assumed.
transform
- one of the constants declared in TaxonomicLevelDao
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.TaxonomicLevel)
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.TaxonomicLevelDao
entities
- the collection of entities to transformtransformEntity(int,fr.ifremer.allegro.referential.taxon.TaxonomicLevel)
protected TaxonomicLevel toEntity(java.lang.Object[] row)
public final void toRemoteTaxonomicLevelFullVOCollection(java.util.Collection entities)
TaxonomicLevelDao
RemoteTaxonomicLevelFullVO
.
toRemoteTaxonomicLevelFullVOCollection
in interface TaxonomicLevelDao
TaxonomicLevelDao.toRemoteTaxonomicLevelFullVOCollection(java.util.Collection)
public final RemoteTaxonomicLevelFullVO[] toRemoteTaxonomicLevelFullVOArray(java.util.Collection entities)
TaxonomicLevelDao
RemoteTaxonomicLevelFullVO
.
toRemoteTaxonomicLevelFullVOArray
in interface TaxonomicLevelDao
TaxonomicLevelDao.toRemoteTaxonomicLevelFullVOArray(java.util.Collection)
protected RemoteTaxonomicLevelFullVO toRemoteTaxonomicLevelFullVO(java.lang.Object[] row)
TaxonomicLevelDaoImpl
class if you intend to use reporting queries.
TaxonomicLevelDao.toRemoteTaxonomicLevelFullVO(fr.ifremer.allegro.referential.taxon.TaxonomicLevel)
public final void remoteTaxonomicLevelFullVOToEntityCollection(java.util.Collection instances)
TaxonomicLevelDao
RemoteTaxonomicLevelFullVO
to this
DAO's entity.
remoteTaxonomicLevelFullVOToEntityCollection
in interface TaxonomicLevelDao
TaxonomicLevelDao.remoteTaxonomicLevelFullVOToEntityCollection(java.util.Collection)
public void toRemoteTaxonomicLevelFullVO(TaxonomicLevel source, RemoteTaxonomicLevelFullVO target)
TaxonomicLevelDao
toRemoteTaxonomicLevelFullVO
in interface TaxonomicLevelDao
TaxonomicLevelDao.toRemoteTaxonomicLevelFullVO(fr.ifremer.allegro.referential.taxon.TaxonomicLevel, fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonomicLevelFullVO)
public RemoteTaxonomicLevelFullVO toRemoteTaxonomicLevelFullVO(TaxonomicLevel entity)
TaxonomicLevelDao
RemoteTaxonomicLevelFullVO
.
toRemoteTaxonomicLevelFullVO
in interface TaxonomicLevelDao
TaxonomicLevelDao.toRemoteTaxonomicLevelFullVO(fr.ifremer.allegro.referential.taxon.TaxonomicLevel)
public void remoteTaxonomicLevelFullVOToEntity(RemoteTaxonomicLevelFullVO source, TaxonomicLevel target, boolean copyIfNull)
TaxonomicLevelDao
RemoteTaxonomicLevelFullVO
to the specified entity.
remoteTaxonomicLevelFullVOToEntity
in interface TaxonomicLevelDao
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.TaxonomicLevelDao#remoteTaxonomicLevelFullVOToEntity(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonomicLevelFullVO, fr.ifremer.allegro.referential.taxon.TaxonomicLevel)
public final void toRemoteTaxonomicLevelNaturalIdCollection(java.util.Collection entities)
TaxonomicLevelDao
RemoteTaxonomicLevelNaturalId
.
toRemoteTaxonomicLevelNaturalIdCollection
in interface TaxonomicLevelDao
TaxonomicLevelDao.toRemoteTaxonomicLevelNaturalIdCollection(java.util.Collection)
public final RemoteTaxonomicLevelNaturalId[] toRemoteTaxonomicLevelNaturalIdArray(java.util.Collection entities)
TaxonomicLevelDao
RemoteTaxonomicLevelNaturalId
.
toRemoteTaxonomicLevelNaturalIdArray
in interface TaxonomicLevelDao
TaxonomicLevelDao.toRemoteTaxonomicLevelNaturalIdArray(java.util.Collection)
protected RemoteTaxonomicLevelNaturalId toRemoteTaxonomicLevelNaturalId(java.lang.Object[] row)
TaxonomicLevelDaoImpl
class if you intend to use reporting queries.
TaxonomicLevelDao.toRemoteTaxonomicLevelNaturalId(fr.ifremer.allegro.referential.taxon.TaxonomicLevel)
public final void remoteTaxonomicLevelNaturalIdToEntityCollection(java.util.Collection instances)
TaxonomicLevelDao
RemoteTaxonomicLevelNaturalId
to this
DAO's entity.
remoteTaxonomicLevelNaturalIdToEntityCollection
in interface TaxonomicLevelDao
TaxonomicLevelDao.remoteTaxonomicLevelNaturalIdToEntityCollection(java.util.Collection)
public void toRemoteTaxonomicLevelNaturalId(TaxonomicLevel source, RemoteTaxonomicLevelNaturalId target)
TaxonomicLevelDao
toRemoteTaxonomicLevelNaturalId
in interface TaxonomicLevelDao
TaxonomicLevelDao.toRemoteTaxonomicLevelNaturalId(fr.ifremer.allegro.referential.taxon.TaxonomicLevel, fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonomicLevelNaturalId)
public RemoteTaxonomicLevelNaturalId toRemoteTaxonomicLevelNaturalId(TaxonomicLevel entity)
TaxonomicLevelDao
RemoteTaxonomicLevelNaturalId
.
toRemoteTaxonomicLevelNaturalId
in interface TaxonomicLevelDao
TaxonomicLevelDao.toRemoteTaxonomicLevelNaturalId(fr.ifremer.allegro.referential.taxon.TaxonomicLevel)
public void remoteTaxonomicLevelNaturalIdToEntity(RemoteTaxonomicLevelNaturalId source, TaxonomicLevel target, boolean copyIfNull)
TaxonomicLevelDao
RemoteTaxonomicLevelNaturalId
to the specified entity.
remoteTaxonomicLevelNaturalIdToEntity
in interface TaxonomicLevelDao
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.TaxonomicLevelDao#remoteTaxonomicLevelNaturalIdToEntity(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonomicLevelNaturalId, fr.ifremer.allegro.referential.taxon.TaxonomicLevel)
public final void toClusterTaxonomicLevelCollection(java.util.Collection entities)
TaxonomicLevelDao
ClusterTaxonomicLevel
.
toClusterTaxonomicLevelCollection
in interface TaxonomicLevelDao
TaxonomicLevelDao.toClusterTaxonomicLevelCollection(java.util.Collection)
public final ClusterTaxonomicLevel[] toClusterTaxonomicLevelArray(java.util.Collection entities)
TaxonomicLevelDao
ClusterTaxonomicLevel
.
toClusterTaxonomicLevelArray
in interface TaxonomicLevelDao
TaxonomicLevelDao.toClusterTaxonomicLevelArray(java.util.Collection)
protected ClusterTaxonomicLevel toClusterTaxonomicLevel(java.lang.Object[] row)
TaxonomicLevelDaoImpl
class if you intend to use reporting queries.
TaxonomicLevelDao.toClusterTaxonomicLevel(fr.ifremer.allegro.referential.taxon.TaxonomicLevel)
public final void clusterTaxonomicLevelToEntityCollection(java.util.Collection instances)
TaxonomicLevelDao
ClusterTaxonomicLevel
to this
DAO's entity.
clusterTaxonomicLevelToEntityCollection
in interface TaxonomicLevelDao
TaxonomicLevelDao.clusterTaxonomicLevelToEntityCollection(java.util.Collection)
public void toClusterTaxonomicLevel(TaxonomicLevel source, ClusterTaxonomicLevel target)
TaxonomicLevelDao
toClusterTaxonomicLevel
in interface TaxonomicLevelDao
TaxonomicLevelDao.toClusterTaxonomicLevel(fr.ifremer.allegro.referential.taxon.TaxonomicLevel, fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterTaxonomicLevel)
public ClusterTaxonomicLevel toClusterTaxonomicLevel(TaxonomicLevel entity)
TaxonomicLevelDao
ClusterTaxonomicLevel
.
toClusterTaxonomicLevel
in interface TaxonomicLevelDao
TaxonomicLevelDao.toClusterTaxonomicLevel(fr.ifremer.allegro.referential.taxon.TaxonomicLevel)
public void clusterTaxonomicLevelToEntity(ClusterTaxonomicLevel source, TaxonomicLevel target, boolean copyIfNull)
TaxonomicLevelDao
ClusterTaxonomicLevel
to the specified entity.
clusterTaxonomicLevelToEntity
in interface TaxonomicLevelDao
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.TaxonomicLevelDao#clusterTaxonomicLevelToEntity(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterTaxonomicLevel, fr.ifremer.allegro.referential.taxon.TaxonomicLevel)
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)
TaxonomicLevelDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface TaxonomicLevelDao
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.TaxonomicLevelDao.search(int, int, int, fr.ifremer.allegro.Search)
public PaginationResult search(int pageNumber, int pageSize, Search search)
TaxonomicLevelDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface TaxonomicLevelDao
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.TaxonomicLevelDao.search(int, int, fr.ifremer.allegro.Search)
public java.util.Set search(int transform, Search search)
TaxonomicLevelDao
TaxonomicLevelDao.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 TaxonomicLevelDao
transform
- the transformation flag.search
- the search object which provides the search parameters and pagination specification.
TaxonomicLevelDao.search(int, fr.ifremer.allegro.Search)
public java.util.Set search(Search search)
TaxonomicLevelDao
search
object.
search
in interface TaxonomicLevelDao
search
- the search object which provides the search parameters and pagination specification.
TaxonomicLevelDao.search(fr.ifremer.allegro.Search)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |