|
||||||||||
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.TaxonInformationDaoBase
public abstract class TaxonInformationDaoBase
Base Spring DAO Class: is able to create, update, remove, load, and find
objects of type fr.ifremer.allegro.referential.taxon.TaxonInformation
.
TaxonInformation
Field Summary |
---|
Fields inherited from interface fr.ifremer.allegro.referential.taxon.TaxonInformationDao |
---|
TRANSFORM_CLUSTERTAXONINFORMATION, TRANSFORM_NONE, TRANSFORM_REMOTETAXONINFORMATIONFULLVO, TRANSFORM_REMOTETAXONINFORMATIONNATURALID |
Constructor Summary | |
---|---|
TaxonInformationDaoBase()
|
Method Summary | |
---|---|
void |
clusterTaxonInformationToEntity(ClusterTaxonInformation source,
TaxonInformation target,
boolean copyIfNull)
Copies the fields of ClusterTaxonInformation to the specified entity. |
void |
clusterTaxonInformationToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type ClusterTaxonInformation to this
DAO's entity. |
java.util.Collection |
create(java.util.Collection entities)
Creates a new instance of fr.ifremer.allegro.referential.taxon.TaxonInformation and adds from the passed in entities collection |
java.util.Collection |
create(int transform,
java.util.Collection entities)
Does the same thing as TaxonInformationDao.create(fr.ifremer.allegro.referential.taxon.TaxonInformation) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
ReferenceDocument referenceDocument,
TaxonName taxonName)
Does the same thing as TaxonInformationDao.create(fr.ifremer.allegro.referential.taxon.ReferenceDocument,fr.ifremer.allegro.referential.taxon.TaxonName) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
java.lang.String description,
java.sql.Timestamp updateDate,
ReferenceDocument referenceDocument,
TaxonName taxonName)
Does the same thing as TaxonInformationDao.create(java.lang.String,java.sql.Timestamp,fr.ifremer.allegro.referential.taxon.ReferenceDocument,fr.ifremer.allegro.referential.taxon.TaxonName) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
TaxonInformation taxonInformation)
Does the same thing as TaxonInformationDao.create(fr.ifremer.allegro.referential.taxon.TaxonInformation) with an
additional flag called transform . |
TaxonInformation |
create(ReferenceDocument referenceDocument,
TaxonName taxonName)
Creates a new fr.ifremer.allegro.referential.taxon.TaxonInformation
instance from only required properties (attributes
and association ends) and adds it to the persistent store. |
TaxonInformation |
create(java.lang.String description,
java.sql.Timestamp updateDate,
ReferenceDocument referenceDocument,
TaxonName taxonName)
Creates a new fr.ifremer.allegro.referential.taxon.TaxonInformation
instance from all attributes and
properties and adds it to the persistent store. |
TaxonInformation |
create(TaxonInformation taxonInformation)
Creates an instance of fr.ifremer.allegro.referential.taxon.TaxonInformation and adds it to the persistent store. |
TaxonInformation |
createFromClusterTaxonInformation(ClusterTaxonInformation clusterTaxonInformation)
|
java.lang.Object |
findTaxonInformationByIdentifiers(int transform,
java.lang.String queryString,
TaxonName taxonName,
ReferenceDocument referenceDocument)
Does the same thing as TaxonInformationDao.findTaxonInformationByIdentifiers(int, fr.ifremer.allegro.referential.taxon.TaxonName, fr.ifremer.allegro.referential.taxon.ReferenceDocument) with an
additional argument called queryString . |
java.lang.Object |
findTaxonInformationByIdentifiers(int transform,
TaxonName taxonName,
ReferenceDocument referenceDocument)
Does the same thing as TaxonInformationDao.findTaxonInformationByIdentifiers(fr.ifremer.allegro.referential.taxon.TaxonName, fr.ifremer.allegro.referential.taxon.ReferenceDocument) with an
additional flag called transform . |
TaxonInformation |
findTaxonInformationByIdentifiers(java.lang.String queryString,
TaxonName taxonName,
ReferenceDocument referenceDocument)
Does the same thing as TaxonInformationDao.findTaxonInformationByIdentifiers(fr.ifremer.allegro.referential.taxon.TaxonName, fr.ifremer.allegro.referential.taxon.ReferenceDocument) with an
additional argument called queryString . |
TaxonInformation |
findTaxonInformationByIdentifiers(TaxonName taxonName,
ReferenceDocument referenceDocument)
|
java.lang.Object |
findTaxonInformationByNaturalId(int transform,
java.lang.String queryString,
TaxonName taxonName,
ReferenceDocument referenceDocument)
Does the same thing as TaxonInformationDao.findTaxonInformationByNaturalId(int, fr.ifremer.allegro.referential.taxon.TaxonName, fr.ifremer.allegro.referential.taxon.ReferenceDocument) with an
additional argument called queryString . |
java.lang.Object |
findTaxonInformationByNaturalId(int transform,
TaxonName taxonName,
ReferenceDocument referenceDocument)
Does the same thing as TaxonInformationDao.findTaxonInformationByNaturalId(fr.ifremer.allegro.referential.taxon.TaxonName, fr.ifremer.allegro.referential.taxon.ReferenceDocument) with an
additional flag called transform . |
TaxonInformation |
findTaxonInformationByNaturalId(java.lang.String queryString,
TaxonName taxonName,
ReferenceDocument referenceDocument)
Does the same thing as TaxonInformationDao.findTaxonInformationByNaturalId(fr.ifremer.allegro.referential.taxon.TaxonName, fr.ifremer.allegro.referential.taxon.ReferenceDocument) with an
additional argument called queryString . |
TaxonInformation |
findTaxonInformationByNaturalId(TaxonName taxonName,
ReferenceDocument referenceDocument)
|
java.util.Collection |
findTaxonInformationByReferenceDocument(int transform,
int pageNumber,
int pageSize,
ReferenceDocument referenceDocument)
Does the same thing as TaxonInformationDao.findTaxonInformationByReferenceDocument(int, fr.ifremer.allegro.referential.taxon.ReferenceDocument) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findTaxonInformationByReferenceDocument(int pageNumber,
int pageSize,
ReferenceDocument referenceDocument)
Does the same thing as TaxonInformationDao.findTaxonInformationByReferenceDocument(fr.ifremer.allegro.referential.taxon.ReferenceDocument) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findTaxonInformationByReferenceDocument(int transform,
ReferenceDocument referenceDocument)
Does the same thing as TaxonInformationDao.findTaxonInformationByReferenceDocument(fr.ifremer.allegro.referential.taxon.ReferenceDocument) with an
additional flag called transform . |
java.util.Collection |
findTaxonInformationByReferenceDocument(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
ReferenceDocument referenceDocument)
Does the same thing as TaxonInformationDao.findTaxonInformationByReferenceDocument(int, String, fr.ifremer.allegro.referential.taxon.ReferenceDocument) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findTaxonInformationByReferenceDocument(int transform,
java.lang.String queryString,
ReferenceDocument referenceDocument)
Does the same thing as TaxonInformationDao.findTaxonInformationByReferenceDocument(int, fr.ifremer.allegro.referential.taxon.ReferenceDocument) with an
additional argument called queryString . |
java.util.Collection |
findTaxonInformationByReferenceDocument(ReferenceDocument referenceDocument)
|
java.util.Collection |
findTaxonInformationByReferenceDocument(java.lang.String queryString,
int pageNumber,
int pageSize,
ReferenceDocument referenceDocument)
Does the same thing as TaxonInformationDao.findTaxonInformationByReferenceDocument(String, fr.ifremer.allegro.referential.taxon.ReferenceDocument) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findTaxonInformationByReferenceDocument(java.lang.String queryString,
ReferenceDocument referenceDocument)
Does the same thing as TaxonInformationDao.findTaxonInformationByReferenceDocument(fr.ifremer.allegro.referential.taxon.ReferenceDocument) with an
additional argument called queryString . |
java.util.Collection |
findTaxonInformationByTaxonName(int transform,
int pageNumber,
int pageSize,
TaxonName taxonName)
Does the same thing as TaxonInformationDao.findTaxonInformationByTaxonName(int, fr.ifremer.allegro.referential.taxon.TaxonName) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findTaxonInformationByTaxonName(int pageNumber,
int pageSize,
TaxonName taxonName)
Does the same thing as TaxonInformationDao.findTaxonInformationByTaxonName(fr.ifremer.allegro.referential.taxon.TaxonName) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findTaxonInformationByTaxonName(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
TaxonName taxonName)
Does the same thing as TaxonInformationDao.findTaxonInformationByTaxonName(int, String, fr.ifremer.allegro.referential.taxon.TaxonName) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findTaxonInformationByTaxonName(int transform,
java.lang.String queryString,
TaxonName taxonName)
Does the same thing as TaxonInformationDao.findTaxonInformationByTaxonName(int, fr.ifremer.allegro.referential.taxon.TaxonName) with an
additional argument called queryString . |
java.util.Collection |
findTaxonInformationByTaxonName(int transform,
TaxonName taxonName)
Does the same thing as TaxonInformationDao.findTaxonInformationByTaxonName(fr.ifremer.allegro.referential.taxon.TaxonName) with an
additional flag called transform . |
java.util.Collection |
findTaxonInformationByTaxonName(java.lang.String queryString,
int pageNumber,
int pageSize,
TaxonName taxonName)
Does the same thing as TaxonInformationDao.findTaxonInformationByTaxonName(String, fr.ifremer.allegro.referential.taxon.TaxonName) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findTaxonInformationByTaxonName(java.lang.String queryString,
TaxonName taxonName)
Does the same thing as TaxonInformationDao.findTaxonInformationByTaxonName(fr.ifremer.allegro.referential.taxon.TaxonName) with an
additional argument called queryString . |
java.util.Collection |
findTaxonInformationByTaxonName(TaxonName taxonName)
|
ClusterTaxonInformation[] |
getAllClusterTaxonInformationSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize)
|
java.util.Collection |
getAllTaxonInformation()
|
java.util.Collection |
getAllTaxonInformation(int transform)
Does the same thing as TaxonInformationDao.getAllTaxonInformation() with an
additional flag called transform . |
java.util.Collection |
getAllTaxonInformation(int pageNumber,
int pageSize)
Does the same thing as TaxonInformationDao.getAllTaxonInformation() with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllTaxonInformation(int transform,
int pageNumber,
int pageSize)
Does the same thing as TaxonInformationDao.getAllTaxonInformation(int) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllTaxonInformation(int transform,
java.lang.String queryString)
Does the same thing as TaxonInformationDao.getAllTaxonInformation(int) with an
additional argument called queryString . |
java.util.Collection |
getAllTaxonInformation(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as TaxonInformationDao.getAllTaxonInformation(int, String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllTaxonInformation(java.lang.String queryString)
Does the same thing as TaxonInformationDao.getAllTaxonInformation() with an
additional argument called queryString . |
java.util.Collection |
getAllTaxonInformation(java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as TaxonInformationDao.getAllTaxonInformation(String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllTaxonInformationSinceDateSynchro(int transform,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as TaxonInformationDao.getAllTaxonInformationSinceDateSynchro(int, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllTaxonInformationSinceDateSynchro(int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as TaxonInformationDao.getAllTaxonInformationSinceDateSynchro(java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllTaxonInformationSinceDateSynchro(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as TaxonInformationDao.getAllTaxonInformationSinceDateSynchro(int, String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllTaxonInformationSinceDateSynchro(int transform,
java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as TaxonInformationDao.getAllTaxonInformationSinceDateSynchro(int, java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllTaxonInformationSinceDateSynchro(int transform,
java.sql.Timestamp updateDate)
Does the same thing as TaxonInformationDao.getAllTaxonInformationSinceDateSynchro(java.sql.Timestamp) with an
additional flag called transform . |
java.util.Collection |
getAllTaxonInformationSinceDateSynchro(java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as TaxonInformationDao.getAllTaxonInformationSinceDateSynchro(String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllTaxonInformationSinceDateSynchro(java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as TaxonInformationDao.getAllTaxonInformationSinceDateSynchro(java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllTaxonInformationSinceDateSynchro(java.sql.Timestamp updateDate)
|
protected java.security.Principal |
getPrincipal()
Gets the current principal if one has been set,
otherwise returns null . |
protected ReferenceDocumentDao |
getReferenceDocumentDao()
Gets the reference to referenceDocumentDao . |
protected TaxonNameDao |
getTaxonNameDao()
Gets the reference to taxonNameDao . |
protected abstract TaxonInformation |
handleCreateFromClusterTaxonInformation(ClusterTaxonInformation clusterTaxonInformation)
Performs the core logic for createFromClusterTaxonInformation(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterTaxonInformation) |
protected abstract ClusterTaxonInformation[] |
handleGetAllClusterTaxonInformationSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize)
Performs the core logic for getAllClusterTaxonInformationSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer) |
java.lang.Object |
load(int transform,
ReferenceDocument referenceDocument,
TaxonName taxonName)
Does the same thing as TaxonInformationDao.load(fr.ifremer.allegro.referential.taxon.ReferenceDocument,fr.ifremer.allegro.referential.taxon.TaxonName) with an
additional flag called transform . |
TaxonInformation |
load(ReferenceDocument referenceDocument,
TaxonName taxonName)
Loads an instance of fr.ifremer.allegro.referential.taxon.TaxonInformation from the persistent store. |
java.util.Collection |
loadAll()
Loads all entities of type TaxonInformation . |
java.util.Collection |
loadAll(int transform)
Does the same thing as TaxonInformationDao.loadAll() with an
additional flag called transform . |
java.util.Collection |
loadAll(int pageNumber,
int pageSize)
Does the same thing as TaxonInformationDao.loadAll() with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
loadAll(int transform,
int pageNumber,
int pageSize)
Does the same thing as TaxonInformationDao.loadAll(int) with an
additional two arguments called pageNumber and pageSize . |
void |
remoteTaxonInformationFullVOToEntity(RemoteTaxonInformationFullVO source,
TaxonInformation target,
boolean copyIfNull)
Copies the fields of RemoteTaxonInformationFullVO to the specified entity. |
void |
remoteTaxonInformationFullVOToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteTaxonInformationFullVO to this
DAO's entity. |
void |
remoteTaxonInformationNaturalIdToEntity(RemoteTaxonInformationNaturalId source,
TaxonInformation target,
boolean copyIfNull)
Copies the fields of RemoteTaxonInformationNaturalId to the specified entity. |
void |
remoteTaxonInformationNaturalIdToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteTaxonInformationNaturalId to this
DAO's entity. |
void |
remove(java.util.Collection entities)
Removes all entities in the given entities |
void |
remove(ReferenceDocument referenceDocument,
TaxonName taxonName)
Removes the instance of fr.ifremer.allegro.referential.taxon.TaxonInformation having the given identifiers from the persistent store. |
void |
remove(TaxonInformation taxonInformation)
Removes the instance of fr.ifremer.allegro.referential.taxon.TaxonInformation from the persistent store. |
PaginationResult |
search(int transform,
int pageNumber,
int pageSize,
Search search)
Does the same thing as {@link #search(int, fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize . |
PaginationResult |
search(int pageNumber,
int pageSize,
Search search)
Does the same thing as {@link #search(fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize . |
java.util.Set |
search(int transform,
Search search)
Does the same thing as TaxonInformationDao.search(fr.ifremer.allegro.Search) but with an
additional flag called transform . |
java.util.Set |
search(Search search)
Performs a search using the parameters specified in the given search object. |
void |
setReferenceDocumentDao(ReferenceDocumentDao referenceDocumentDao)
Sets the reference to referenceDocumentDao . |
void |
setTaxonNameDao(TaxonNameDao taxonNameDao)
Sets the reference to taxonNameDao . |
protected ClusterTaxonInformation |
toClusterTaxonInformation(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
ClusterTaxonInformation |
toClusterTaxonInformation(TaxonInformation entity)
Converts this DAO's entity to an object of type ClusterTaxonInformation . |
void |
toClusterTaxonInformation(TaxonInformation source,
ClusterTaxonInformation target)
Copies the fields of the specified entity to the target value object. |
ClusterTaxonInformation[] |
toClusterTaxonInformationArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type ClusterTaxonInformation . |
void |
toClusterTaxonInformationCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type ClusterTaxonInformation . |
protected TaxonInformation |
toEntity(java.lang.Object[] row)
|
protected RemoteTaxonInformationFullVO |
toRemoteTaxonInformationFullVO(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteTaxonInformationFullVO |
toRemoteTaxonInformationFullVO(TaxonInformation entity)
Converts this DAO's entity to an object of type RemoteTaxonInformationFullVO . |
void |
toRemoteTaxonInformationFullVO(TaxonInformation source,
RemoteTaxonInformationFullVO target)
Copies the fields of the specified entity to the target value object. |
RemoteTaxonInformationFullVO[] |
toRemoteTaxonInformationFullVOArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteTaxonInformationFullVO . |
void |
toRemoteTaxonInformationFullVOCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteTaxonInformationFullVO . |
protected RemoteTaxonInformationNaturalId |
toRemoteTaxonInformationNaturalId(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteTaxonInformationNaturalId |
toRemoteTaxonInformationNaturalId(TaxonInformation entity)
Converts this DAO's entity to an object of type RemoteTaxonInformationNaturalId . |
void |
toRemoteTaxonInformationNaturalId(TaxonInformation source,
RemoteTaxonInformationNaturalId target)
Copies the fields of the specified entity to the target value object. |
RemoteTaxonInformationNaturalId[] |
toRemoteTaxonInformationNaturalIdArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteTaxonInformationNaturalId . |
void |
toRemoteTaxonInformationNaturalIdCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteTaxonInformationNaturalId . |
protected void |
transformEntities(int transform,
java.util.Collection entities)
Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.taxon.TaxonInformation)
method. |
protected java.lang.Object |
transformEntity(int transform,
TaxonInformation entity)
Allows transformation of entities into value objects (or something else for that matter), when the transform
flag is set to one of the constants defined in fr.ifremer.allegro.referential.taxon.TaxonInformationDao , please note
that the TaxonInformationDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself
will be returned. |
void |
update(java.util.Collection entities)
Updates all instances in the entities collection in the persistent store. |
void |
update(TaxonInformation taxonInformation)
Updates the taxonInformation instance in the persistent store. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface fr.ifremer.allegro.referential.taxon.TaxonInformationDao |
---|
clusterTaxonInformationToEntity, remoteTaxonInformationFullVOToEntity, remoteTaxonInformationNaturalIdToEntity |
Constructor Detail |
---|
public TaxonInformationDaoBase()
Method Detail |
---|
public void setTaxonNameDao(TaxonNameDao taxonNameDao)
taxonNameDao
.
protected TaxonNameDao getTaxonNameDao()
taxonNameDao
.
public void setReferenceDocumentDao(ReferenceDocumentDao referenceDocumentDao)
referenceDocumentDao
.
protected ReferenceDocumentDao getReferenceDocumentDao()
referenceDocumentDao
.
public java.lang.Object load(int transform, ReferenceDocument referenceDocument, TaxonName taxonName)
TaxonInformationDao
Does the same thing as TaxonInformationDao.load(fr.ifremer.allegro.referential.taxon.ReferenceDocument,fr.ifremer.allegro.referential.taxon.TaxonName)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined in this class then the result WILL BE passed through an operation which can
optionally transform the entity (into a value object for example). By default, transformation does
not occur.
load
in interface TaxonInformationDao
referenceDocument
- identifier of the entity to loadtaxonName
- identifier of the entity to load
TaxonInformationDao.load(int, fr.ifremer.allegro.referential.taxon.ReferenceDocument,fr.ifremer.allegro.referential.taxon.TaxonName)
public TaxonInformation load(ReferenceDocument referenceDocument, TaxonName taxonName)
TaxonInformationDao
load
in interface TaxonInformationDao
TaxonInformationDao.load(fr.ifremer.allegro.referential.taxon.ReferenceDocument,fr.ifremer.allegro.referential.taxon.TaxonName)
public java.util.Collection loadAll()
TaxonInformationDao
TaxonInformation
.
loadAll
in interface TaxonInformationDao
TaxonInformationDao.loadAll()
public java.util.Collection loadAll(int transform)
TaxonInformationDao
Does the same thing as TaxonInformationDao.loadAll()
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined here then the result WILL BE passed through an operation which can optionally
transform the entity (into a value object for example). By default, transformation does
not occur.
loadAll
in interface TaxonInformationDao
transform
- the flag indicating what transformation to use.
TaxonInformationDao.loadAll(int)
public java.util.Collection loadAll(int pageNumber, int pageSize)
TaxonInformationDao
Does the same thing as TaxonInformationDao.loadAll()
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
loadAll
in interface TaxonInformationDao
pageNumber
- the page number to retrieve when paging results.pageSize
- the size of the page to retrieve when paging results.
TaxonInformationDao.loadAll(int, int)
public java.util.Collection loadAll(int transform, int pageNumber, int pageSize)
TaxonInformationDao
Does the same thing as TaxonInformationDao.loadAll(int)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
loadAll
in interface TaxonInformationDao
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.
TaxonInformationDao.loadAll(int, int, int)
public TaxonInformation create(TaxonInformation taxonInformation)
TaxonInformationDao
create
in interface TaxonInformationDao
TaxonInformationDao.create(fr.ifremer.allegro.referential.taxon.TaxonInformation)
public java.lang.Object create(int transform, TaxonInformation taxonInformation)
TaxonInformationDao
Does the same thing as TaxonInformationDao.create(fr.ifremer.allegro.referential.taxon.TaxonInformation)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined here then the result WILL BE passed through an operation which can optionally
transform the entity (into a value object for example). By default, transformation does
not occur.
create
in interface TaxonInformationDao
TaxonInformationDao.create(int transform, fr.ifremer.allegro.referential.taxon.TaxonInformation)
public java.util.Collection create(java.util.Collection entities)
TaxonInformationDao
entities
collection
create
in interface TaxonInformationDao
entities
- the collection of fr.ifremer.allegro.referential.taxon.TaxonInformation
instances to create.
TaxonInformationDao.create(java.util.Collection)
public java.util.Collection create(int transform, java.util.Collection entities)
TaxonInformationDao
Does the same thing as TaxonInformationDao.create(fr.ifremer.allegro.referential.taxon.TaxonInformation)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined here then the result WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
create
in interface TaxonInformationDao
TaxonInformationDao.create(int, java.util.Collection)
public TaxonInformation create(java.lang.String description, java.sql.Timestamp updateDate, ReferenceDocument referenceDocument, TaxonName taxonName)
TaxonInformationDao
Creates a new fr.ifremer.allegro.referential.taxon.TaxonInformation
instance from all attributes and
properties and adds it to the persistent store.
create
in interface TaxonInformationDao
TaxonInformationDao.create(java.lang.String,java.sql.Timestamp,fr.ifremer.allegro.referential.taxon.ReferenceDocument,fr.ifremer.allegro.referential.taxon.TaxonName)
public java.lang.Object create(int transform, java.lang.String description, java.sql.Timestamp updateDate, ReferenceDocument referenceDocument, TaxonName taxonName)
TaxonInformationDao
Does the same thing as TaxonInformationDao.create(java.lang.String,java.sql.Timestamp,fr.ifremer.allegro.referential.taxon.ReferenceDocument,fr.ifremer.allegro.referential.taxon.TaxonName)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined here then the result WILL BE passed through an operation which can optionally
transform the entity (into a value object for example). By default, transformation does
not occur.
create
in interface TaxonInformationDao
TaxonInformationDao.create(int, java.lang.String,java.sql.Timestamp,fr.ifremer.allegro.referential.taxon.ReferenceDocument,fr.ifremer.allegro.referential.taxon.TaxonName)
public TaxonInformation create(ReferenceDocument referenceDocument, TaxonName taxonName)
TaxonInformationDao
Creates a new fr.ifremer.allegro.referential.taxon.TaxonInformation
instance from only required properties (attributes
and association ends) and adds it to the persistent store.
create
in interface TaxonInformationDao
TaxonInformationDao.create(fr.ifremer.allegro.referential.taxon.ReferenceDocument,fr.ifremer.allegro.referential.taxon.TaxonName)
public java.lang.Object create(int transform, ReferenceDocument referenceDocument, TaxonName taxonName)
TaxonInformationDao
Does the same thing as TaxonInformationDao.create(fr.ifremer.allegro.referential.taxon.ReferenceDocument,fr.ifremer.allegro.referential.taxon.TaxonName)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOTWILL BE passed through an operation which can optionally
transform the entity (into a value object for example). By default, transformation does
not occur.
create
in interface TaxonInformationDao
TaxonInformationDao.create(int, fr.ifremer.allegro.referential.taxon.ReferenceDocument,fr.ifremer.allegro.referential.taxon.TaxonName)
public void update(TaxonInformation taxonInformation)
TaxonInformationDao
taxonInformation
instance in the persistent store.
update
in interface TaxonInformationDao
TaxonInformationDao.update(fr.ifremer.allegro.referential.taxon.TaxonInformation)
public void update(java.util.Collection entities)
TaxonInformationDao
entities
collection in the persistent store.
update
in interface TaxonInformationDao
TaxonInformationDao.update(java.util.Collection)
public void remove(TaxonInformation taxonInformation)
TaxonInformationDao
remove
in interface TaxonInformationDao
TaxonInformationDao.remove(fr.ifremer.allegro.referential.taxon.TaxonInformation)
public void remove(ReferenceDocument referenceDocument, TaxonName taxonName)
TaxonInformationDao
identifiers
from the persistent store.
remove
in interface TaxonInformationDao
TaxonInformationDao.remove(fr.ifremer.allegro.referential.taxon.ReferenceDocument,fr.ifremer.allegro.referential.taxon.TaxonName)
public void remove(java.util.Collection entities)
TaxonInformationDao
entities collection.
- Specified by:
remove
in interface TaxonInformationDao
- See Also:
TaxonInformationDao.remove(java.util.Collection)
public java.util.Collection getAllTaxonInformation()
getAllTaxonInformation
in interface TaxonInformationDao
TaxonInformationDao.getAllTaxonInformation()
public java.util.Collection getAllTaxonInformation(int transform)
TaxonInformationDao
Does the same thing as TaxonInformationDao.getAllTaxonInformation()
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
getAllTaxonInformation
in interface TaxonInformationDao
TaxonInformationDao.getAllTaxonInformation(int)
public java.util.Collection getAllTaxonInformation(java.lang.String queryString)
TaxonInformationDao
Does the same thing as TaxonInformationDao.getAllTaxonInformation()
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in TaxonInformationDao.getAllTaxonInformation()
.
getAllTaxonInformation
in interface TaxonInformationDao
TaxonInformationDao.getAllTaxonInformation(java.lang.String)
public java.util.Collection getAllTaxonInformation(int pageNumber, int pageSize)
TaxonInformationDao
Does the same thing as TaxonInformationDao.getAllTaxonInformation()
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllTaxonInformation
in interface TaxonInformationDao
TaxonInformationDao.getAllTaxonInformation(int, int)
public java.util.Collection getAllTaxonInformation(java.lang.String queryString, int pageNumber, int pageSize)
TaxonInformationDao
Does the same thing as TaxonInformationDao.getAllTaxonInformation(String)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllTaxonInformation
in interface TaxonInformationDao
TaxonInformationDao.getAllTaxonInformation(String, int, int)
public java.util.Collection getAllTaxonInformation(int transform, java.lang.String queryString)
TaxonInformationDao
Does the same thing as TaxonInformationDao.getAllTaxonInformation(int)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in TaxonInformationDao.getAllTaxonInformation(int)
.
getAllTaxonInformation
in interface TaxonInformationDao
TaxonInformationDao.getAllTaxonInformation(int, String)
public java.util.Collection getAllTaxonInformation(int transform, int pageNumber, int pageSize)
TaxonInformationDao
Does the same thing as TaxonInformationDao.getAllTaxonInformation(int)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllTaxonInformation
in interface TaxonInformationDao
TaxonInformationDao.getAllTaxonInformation(int, int, int)
public java.util.Collection getAllTaxonInformation(int transform, java.lang.String queryString, int pageNumber, int pageSize)
TaxonInformationDao
Does the same thing as TaxonInformationDao.getAllTaxonInformation(int, String)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllTaxonInformation
in interface TaxonInformationDao
TaxonInformationDao.getAllTaxonInformation(int, java.lang.String, int, int)
public java.util.Collection findTaxonInformationByTaxonName(TaxonName taxonName)
findTaxonInformationByTaxonName
in interface TaxonInformationDao
TaxonInformationDao.findTaxonInformationByTaxonName(fr.ifremer.allegro.referential.taxon.TaxonName)
public java.util.Collection findTaxonInformationByTaxonName(int transform, TaxonName taxonName)
TaxonInformationDao
Does the same thing as TaxonInformationDao.findTaxonInformationByTaxonName(fr.ifremer.allegro.referential.taxon.TaxonName)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
findTaxonInformationByTaxonName
in interface TaxonInformationDao
TaxonInformationDao.findTaxonInformationByTaxonName(int, fr.ifremer.allegro.referential.taxon.TaxonName)
public java.util.Collection findTaxonInformationByTaxonName(java.lang.String queryString, TaxonName taxonName)
TaxonInformationDao
Does the same thing as TaxonInformationDao.findTaxonInformationByTaxonName(fr.ifremer.allegro.referential.taxon.TaxonName)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in TaxonInformationDao.findTaxonInformationByTaxonName(fr.ifremer.allegro.referential.taxon.TaxonName)
.
findTaxonInformationByTaxonName
in interface TaxonInformationDao
TaxonInformationDao.findTaxonInformationByTaxonName(java.lang.String, fr.ifremer.allegro.referential.taxon.TaxonName)
public java.util.Collection findTaxonInformationByTaxonName(int pageNumber, int pageSize, TaxonName taxonName)
TaxonInformationDao
Does the same thing as TaxonInformationDao.findTaxonInformationByTaxonName(fr.ifremer.allegro.referential.taxon.TaxonName)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findTaxonInformationByTaxonName
in interface TaxonInformationDao
TaxonInformationDao.findTaxonInformationByTaxonName(int, int, fr.ifremer.allegro.referential.taxon.TaxonName)
public java.util.Collection findTaxonInformationByTaxonName(java.lang.String queryString, int pageNumber, int pageSize, TaxonName taxonName)
TaxonInformationDao
Does the same thing as TaxonInformationDao.findTaxonInformationByTaxonName(String, fr.ifremer.allegro.referential.taxon.TaxonName)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findTaxonInformationByTaxonName
in interface TaxonInformationDao
TaxonInformationDao.findTaxonInformationByTaxonName(String, int, int, fr.ifremer.allegro.referential.taxon.TaxonName)
public java.util.Collection findTaxonInformationByTaxonName(int transform, java.lang.String queryString, TaxonName taxonName)
TaxonInformationDao
Does the same thing as TaxonInformationDao.findTaxonInformationByTaxonName(int, fr.ifremer.allegro.referential.taxon.TaxonName)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in TaxonInformationDao.findTaxonInformationByTaxonName(int, fr.ifremer.allegro.referential.taxon.TaxonName taxonName)
.
findTaxonInformationByTaxonName
in interface TaxonInformationDao
TaxonInformationDao.findTaxonInformationByTaxonName(int, String, fr.ifremer.allegro.referential.taxon.TaxonName)
public java.util.Collection findTaxonInformationByTaxonName(int transform, int pageNumber, int pageSize, TaxonName taxonName)
TaxonInformationDao
Does the same thing as TaxonInformationDao.findTaxonInformationByTaxonName(int, fr.ifremer.allegro.referential.taxon.TaxonName)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findTaxonInformationByTaxonName
in interface TaxonInformationDao
TaxonInformationDao.findTaxonInformationByTaxonName(int, int, int, fr.ifremer.allegro.referential.taxon.TaxonName)
public java.util.Collection findTaxonInformationByTaxonName(int transform, java.lang.String queryString, int pageNumber, int pageSize, TaxonName taxonName)
TaxonInformationDao
Does the same thing as TaxonInformationDao.findTaxonInformationByTaxonName(int, String, fr.ifremer.allegro.referential.taxon.TaxonName)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findTaxonInformationByTaxonName
in interface TaxonInformationDao
TaxonInformationDao.findTaxonInformationByTaxonName(int, java.lang.String, int, int, fr.ifremer.allegro.referential.taxon.TaxonName)
public java.util.Collection findTaxonInformationByReferenceDocument(ReferenceDocument referenceDocument)
findTaxonInformationByReferenceDocument
in interface TaxonInformationDao
TaxonInformationDao.findTaxonInformationByReferenceDocument(fr.ifremer.allegro.referential.taxon.ReferenceDocument)
public java.util.Collection findTaxonInformationByReferenceDocument(int transform, ReferenceDocument referenceDocument)
TaxonInformationDao
Does the same thing as TaxonInformationDao.findTaxonInformationByReferenceDocument(fr.ifremer.allegro.referential.taxon.ReferenceDocument)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
findTaxonInformationByReferenceDocument
in interface TaxonInformationDao
TaxonInformationDao.findTaxonInformationByReferenceDocument(int, fr.ifremer.allegro.referential.taxon.ReferenceDocument)
public java.util.Collection findTaxonInformationByReferenceDocument(java.lang.String queryString, ReferenceDocument referenceDocument)
TaxonInformationDao
Does the same thing as TaxonInformationDao.findTaxonInformationByReferenceDocument(fr.ifremer.allegro.referential.taxon.ReferenceDocument)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in TaxonInformationDao.findTaxonInformationByReferenceDocument(fr.ifremer.allegro.referential.taxon.ReferenceDocument)
.
findTaxonInformationByReferenceDocument
in interface TaxonInformationDao
TaxonInformationDao.findTaxonInformationByReferenceDocument(java.lang.String, fr.ifremer.allegro.referential.taxon.ReferenceDocument)
public java.util.Collection findTaxonInformationByReferenceDocument(int pageNumber, int pageSize, ReferenceDocument referenceDocument)
TaxonInformationDao
Does the same thing as TaxonInformationDao.findTaxonInformationByReferenceDocument(fr.ifremer.allegro.referential.taxon.ReferenceDocument)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findTaxonInformationByReferenceDocument
in interface TaxonInformationDao
TaxonInformationDao.findTaxonInformationByReferenceDocument(int, int, fr.ifremer.allegro.referential.taxon.ReferenceDocument)
public java.util.Collection findTaxonInformationByReferenceDocument(java.lang.String queryString, int pageNumber, int pageSize, ReferenceDocument referenceDocument)
TaxonInformationDao
Does the same thing as TaxonInformationDao.findTaxonInformationByReferenceDocument(String, fr.ifremer.allegro.referential.taxon.ReferenceDocument)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findTaxonInformationByReferenceDocument
in interface TaxonInformationDao
TaxonInformationDao.findTaxonInformationByReferenceDocument(String, int, int, fr.ifremer.allegro.referential.taxon.ReferenceDocument)
public java.util.Collection findTaxonInformationByReferenceDocument(int transform, java.lang.String queryString, ReferenceDocument referenceDocument)
TaxonInformationDao
Does the same thing as TaxonInformationDao.findTaxonInformationByReferenceDocument(int, fr.ifremer.allegro.referential.taxon.ReferenceDocument)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in TaxonInformationDao.findTaxonInformationByReferenceDocument(int, fr.ifremer.allegro.referential.taxon.ReferenceDocument referenceDocument)
.
findTaxonInformationByReferenceDocument
in interface TaxonInformationDao
TaxonInformationDao.findTaxonInformationByReferenceDocument(int, String, fr.ifremer.allegro.referential.taxon.ReferenceDocument)
public java.util.Collection findTaxonInformationByReferenceDocument(int transform, int pageNumber, int pageSize, ReferenceDocument referenceDocument)
TaxonInformationDao
Does the same thing as TaxonInformationDao.findTaxonInformationByReferenceDocument(int, fr.ifremer.allegro.referential.taxon.ReferenceDocument)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findTaxonInformationByReferenceDocument
in interface TaxonInformationDao
TaxonInformationDao.findTaxonInformationByReferenceDocument(int, int, int, fr.ifremer.allegro.referential.taxon.ReferenceDocument)
public java.util.Collection findTaxonInformationByReferenceDocument(int transform, java.lang.String queryString, int pageNumber, int pageSize, ReferenceDocument referenceDocument)
TaxonInformationDao
Does the same thing as TaxonInformationDao.findTaxonInformationByReferenceDocument(int, String, fr.ifremer.allegro.referential.taxon.ReferenceDocument)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findTaxonInformationByReferenceDocument
in interface TaxonInformationDao
TaxonInformationDao.findTaxonInformationByReferenceDocument(int, java.lang.String, int, int, fr.ifremer.allegro.referential.taxon.ReferenceDocument)
public TaxonInformation findTaxonInformationByIdentifiers(TaxonName taxonName, ReferenceDocument referenceDocument)
findTaxonInformationByIdentifiers
in interface TaxonInformationDao
TaxonInformationDao.findTaxonInformationByIdentifiers(fr.ifremer.allegro.referential.taxon.TaxonName, fr.ifremer.allegro.referential.taxon.ReferenceDocument)
public java.lang.Object findTaxonInformationByIdentifiers(int transform, TaxonName taxonName, ReferenceDocument referenceDocument)
TaxonInformationDao
Does the same thing as TaxonInformationDao.findTaxonInformationByIdentifiers(fr.ifremer.allegro.referential.taxon.TaxonName, fr.ifremer.allegro.referential.taxon.ReferenceDocument)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
findTaxonInformationByIdentifiers
in interface TaxonInformationDao
TaxonInformationDao.findTaxonInformationByIdentifiers(int, fr.ifremer.allegro.referential.taxon.TaxonName, fr.ifremer.allegro.referential.taxon.ReferenceDocument)
public TaxonInformation findTaxonInformationByIdentifiers(java.lang.String queryString, TaxonName taxonName, ReferenceDocument referenceDocument)
TaxonInformationDao
Does the same thing as TaxonInformationDao.findTaxonInformationByIdentifiers(fr.ifremer.allegro.referential.taxon.TaxonName, fr.ifremer.allegro.referential.taxon.ReferenceDocument)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in TaxonInformationDao.findTaxonInformationByIdentifiers(fr.ifremer.allegro.referential.taxon.TaxonName, fr.ifremer.allegro.referential.taxon.ReferenceDocument)
.
findTaxonInformationByIdentifiers
in interface TaxonInformationDao
TaxonInformationDao.findTaxonInformationByIdentifiers(java.lang.String, fr.ifremer.allegro.referential.taxon.TaxonName, fr.ifremer.allegro.referential.taxon.ReferenceDocument)
public java.lang.Object findTaxonInformationByIdentifiers(int transform, java.lang.String queryString, TaxonName taxonName, ReferenceDocument referenceDocument)
TaxonInformationDao
Does the same thing as TaxonInformationDao.findTaxonInformationByIdentifiers(int, fr.ifremer.allegro.referential.taxon.TaxonName, fr.ifremer.allegro.referential.taxon.ReferenceDocument)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in TaxonInformationDao.findTaxonInformationByIdentifiers(int, fr.ifremer.allegro.referential.taxon.TaxonName taxonName, fr.ifremer.allegro.referential.taxon.ReferenceDocument referenceDocument)
.
findTaxonInformationByIdentifiers
in interface TaxonInformationDao
TaxonInformationDao.findTaxonInformationByIdentifiers(int, java.lang.String, fr.ifremer.allegro.referential.taxon.TaxonName, fr.ifremer.allegro.referential.taxon.ReferenceDocument)
public TaxonInformation findTaxonInformationByNaturalId(TaxonName taxonName, ReferenceDocument referenceDocument)
findTaxonInformationByNaturalId
in interface TaxonInformationDao
TaxonInformationDao.findTaxonInformationByNaturalId(fr.ifremer.allegro.referential.taxon.TaxonName, fr.ifremer.allegro.referential.taxon.ReferenceDocument)
public java.lang.Object findTaxonInformationByNaturalId(int transform, TaxonName taxonName, ReferenceDocument referenceDocument)
TaxonInformationDao
Does the same thing as TaxonInformationDao.findTaxonInformationByNaturalId(fr.ifremer.allegro.referential.taxon.TaxonName, fr.ifremer.allegro.referential.taxon.ReferenceDocument)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
findTaxonInformationByNaturalId
in interface TaxonInformationDao
TaxonInformationDao.findTaxonInformationByNaturalId(int, fr.ifremer.allegro.referential.taxon.TaxonName, fr.ifremer.allegro.referential.taxon.ReferenceDocument)
public TaxonInformation findTaxonInformationByNaturalId(java.lang.String queryString, TaxonName taxonName, ReferenceDocument referenceDocument)
TaxonInformationDao
Does the same thing as TaxonInformationDao.findTaxonInformationByNaturalId(fr.ifremer.allegro.referential.taxon.TaxonName, fr.ifremer.allegro.referential.taxon.ReferenceDocument)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in TaxonInformationDao.findTaxonInformationByNaturalId(fr.ifremer.allegro.referential.taxon.TaxonName, fr.ifremer.allegro.referential.taxon.ReferenceDocument)
.
findTaxonInformationByNaturalId
in interface TaxonInformationDao
TaxonInformationDao.findTaxonInformationByNaturalId(java.lang.String, fr.ifremer.allegro.referential.taxon.TaxonName, fr.ifremer.allegro.referential.taxon.ReferenceDocument)
public java.lang.Object findTaxonInformationByNaturalId(int transform, java.lang.String queryString, TaxonName taxonName, ReferenceDocument referenceDocument)
TaxonInformationDao
Does the same thing as TaxonInformationDao.findTaxonInformationByNaturalId(int, fr.ifremer.allegro.referential.taxon.TaxonName, fr.ifremer.allegro.referential.taxon.ReferenceDocument)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in TaxonInformationDao.findTaxonInformationByNaturalId(int, fr.ifremer.allegro.referential.taxon.TaxonName taxonName, fr.ifremer.allegro.referential.taxon.ReferenceDocument referenceDocument)
.
findTaxonInformationByNaturalId
in interface TaxonInformationDao
TaxonInformationDao.findTaxonInformationByNaturalId(int, java.lang.String, fr.ifremer.allegro.referential.taxon.TaxonName, fr.ifremer.allegro.referential.taxon.ReferenceDocument)
public java.util.Collection getAllTaxonInformationSinceDateSynchro(java.sql.Timestamp updateDate)
getAllTaxonInformationSinceDateSynchro
in interface TaxonInformationDao
TaxonInformationDao.getAllTaxonInformationSinceDateSynchro(java.sql.Timestamp)
public java.util.Collection getAllTaxonInformationSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
TaxonInformationDao
Does the same thing as TaxonInformationDao.getAllTaxonInformationSinceDateSynchro(java.sql.Timestamp)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
getAllTaxonInformationSinceDateSynchro
in interface TaxonInformationDao
TaxonInformationDao.getAllTaxonInformationSinceDateSynchro(int, java.sql.Timestamp)
public java.util.Collection getAllTaxonInformationSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
TaxonInformationDao
Does the same thing as TaxonInformationDao.getAllTaxonInformationSinceDateSynchro(java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in TaxonInformationDao.getAllTaxonInformationSinceDateSynchro(java.sql.Timestamp)
.
getAllTaxonInformationSinceDateSynchro
in interface TaxonInformationDao
TaxonInformationDao.getAllTaxonInformationSinceDateSynchro(java.lang.String, java.sql.Timestamp)
public java.util.Collection getAllTaxonInformationSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
TaxonInformationDao
Does the same thing as TaxonInformationDao.getAllTaxonInformationSinceDateSynchro(java.sql.Timestamp)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllTaxonInformationSinceDateSynchro
in interface TaxonInformationDao
TaxonInformationDao.getAllTaxonInformationSinceDateSynchro(int, int, java.sql.Timestamp)
public java.util.Collection getAllTaxonInformationSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
TaxonInformationDao
Does the same thing as TaxonInformationDao.getAllTaxonInformationSinceDateSynchro(String, java.sql.Timestamp)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllTaxonInformationSinceDateSynchro
in interface TaxonInformationDao
TaxonInformationDao.getAllTaxonInformationSinceDateSynchro(String, int, int, java.sql.Timestamp)
public java.util.Collection getAllTaxonInformationSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
TaxonInformationDao
Does the same thing as TaxonInformationDao.getAllTaxonInformationSinceDateSynchro(int, java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in TaxonInformationDao.getAllTaxonInformationSinceDateSynchro(int, java.sql.Timestamp updateDate)
.
getAllTaxonInformationSinceDateSynchro
in interface TaxonInformationDao
TaxonInformationDao.getAllTaxonInformationSinceDateSynchro(int, String, java.sql.Timestamp)
public java.util.Collection getAllTaxonInformationSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
TaxonInformationDao
Does the same thing as TaxonInformationDao.getAllTaxonInformationSinceDateSynchro(int, java.sql.Timestamp)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllTaxonInformationSinceDateSynchro
in interface TaxonInformationDao
TaxonInformationDao.getAllTaxonInformationSinceDateSynchro(int, int, int, java.sql.Timestamp)
public java.util.Collection getAllTaxonInformationSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
TaxonInformationDao
Does the same thing as TaxonInformationDao.getAllTaxonInformationSinceDateSynchro(int, String, java.sql.Timestamp)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllTaxonInformationSinceDateSynchro
in interface TaxonInformationDao
TaxonInformationDao.getAllTaxonInformationSinceDateSynchro(int, java.lang.String, int, int, java.sql.Timestamp)
public TaxonInformation createFromClusterTaxonInformation(ClusterTaxonInformation clusterTaxonInformation)
createFromClusterTaxonInformation
in interface TaxonInformationDao
TaxonInformationDao.createFromClusterTaxonInformation(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterTaxonInformation)
protected abstract TaxonInformation handleCreateFromClusterTaxonInformation(ClusterTaxonInformation clusterTaxonInformation) throws java.lang.Exception
createFromClusterTaxonInformation(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterTaxonInformation)
java.lang.Exception
public ClusterTaxonInformation[] getAllClusterTaxonInformationSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
getAllClusterTaxonInformationSinceDateSynchro
in interface TaxonInformationDao
TaxonInformationDao.getAllClusterTaxonInformationSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected abstract ClusterTaxonInformation[] handleGetAllClusterTaxonInformationSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize) throws java.lang.Exception
getAllClusterTaxonInformationSinceDateSynchro(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, TaxonInformation entity)
transform
flag is set to one of the constants defined in fr.ifremer.allegro.referential.taxon.TaxonInformationDao
, please note
that the TaxonInformationDao.TRANSFORM_NONE
constant denotes no transformation, so the entity itself
will be returned.
This method will return instances of these types:
TaxonInformation
- TaxonInformationDao.TRANSFORM_NONE
RemoteTaxonInformationFullVO
- TRANSFORM_REMOTETAXONINFORMATIONFULLVO
RemoteTaxonInformationNaturalId
- TRANSFORM_REMOTETAXONINFORMATIONNATURALID
ClusterTaxonInformation
- TRANSFORM_CLUSTERTAXONINFORMATION
TaxonInformationDao.TRANSFORM_NONE
is assumed.
transform
- one of the constants declared in TaxonInformationDao
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.TaxonInformation)
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.TaxonInformationDao
entities
- the collection of entities to transformtransformEntity(int,fr.ifremer.allegro.referential.taxon.TaxonInformation)
protected TaxonInformation toEntity(java.lang.Object[] row)
public final void toRemoteTaxonInformationFullVOCollection(java.util.Collection entities)
TaxonInformationDao
RemoteTaxonInformationFullVO
.
toRemoteTaxonInformationFullVOCollection
in interface TaxonInformationDao
TaxonInformationDao.toRemoteTaxonInformationFullVOCollection(java.util.Collection)
public final RemoteTaxonInformationFullVO[] toRemoteTaxonInformationFullVOArray(java.util.Collection entities)
TaxonInformationDao
RemoteTaxonInformationFullVO
.
toRemoteTaxonInformationFullVOArray
in interface TaxonInformationDao
TaxonInformationDao.toRemoteTaxonInformationFullVOArray(java.util.Collection)
protected RemoteTaxonInformationFullVO toRemoteTaxonInformationFullVO(java.lang.Object[] row)
TaxonInformationDaoImpl
class if you intend to use reporting queries.
TaxonInformationDao.toRemoteTaxonInformationFullVO(fr.ifremer.allegro.referential.taxon.TaxonInformation)
public final void remoteTaxonInformationFullVOToEntityCollection(java.util.Collection instances)
TaxonInformationDao
RemoteTaxonInformationFullVO
to this
DAO's entity.
remoteTaxonInformationFullVOToEntityCollection
in interface TaxonInformationDao
TaxonInformationDao.remoteTaxonInformationFullVOToEntityCollection(java.util.Collection)
public void toRemoteTaxonInformationFullVO(TaxonInformation source, RemoteTaxonInformationFullVO target)
TaxonInformationDao
toRemoteTaxonInformationFullVO
in interface TaxonInformationDao
TaxonInformationDao.toRemoteTaxonInformationFullVO(fr.ifremer.allegro.referential.taxon.TaxonInformation, fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonInformationFullVO)
public RemoteTaxonInformationFullVO toRemoteTaxonInformationFullVO(TaxonInformation entity)
TaxonInformationDao
RemoteTaxonInformationFullVO
.
toRemoteTaxonInformationFullVO
in interface TaxonInformationDao
TaxonInformationDao.toRemoteTaxonInformationFullVO(fr.ifremer.allegro.referential.taxon.TaxonInformation)
public void remoteTaxonInformationFullVOToEntity(RemoteTaxonInformationFullVO source, TaxonInformation target, boolean copyIfNull)
TaxonInformationDao
RemoteTaxonInformationFullVO
to the specified entity.
remoteTaxonInformationFullVOToEntity
in interface TaxonInformationDao
copyIfNull
- If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE,
it will be copied regardless of its value.fr.ifremer.allegro.referential.taxon.TaxonInformationDao#remoteTaxonInformationFullVOToEntity(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonInformationFullVO, fr.ifremer.allegro.referential.taxon.TaxonInformation)
public final void toRemoteTaxonInformationNaturalIdCollection(java.util.Collection entities)
TaxonInformationDao
RemoteTaxonInformationNaturalId
.
toRemoteTaxonInformationNaturalIdCollection
in interface TaxonInformationDao
TaxonInformationDao.toRemoteTaxonInformationNaturalIdCollection(java.util.Collection)
public final RemoteTaxonInformationNaturalId[] toRemoteTaxonInformationNaturalIdArray(java.util.Collection entities)
TaxonInformationDao
RemoteTaxonInformationNaturalId
.
toRemoteTaxonInformationNaturalIdArray
in interface TaxonInformationDao
TaxonInformationDao.toRemoteTaxonInformationNaturalIdArray(java.util.Collection)
protected RemoteTaxonInformationNaturalId toRemoteTaxonInformationNaturalId(java.lang.Object[] row)
TaxonInformationDaoImpl
class if you intend to use reporting queries.
TaxonInformationDao.toRemoteTaxonInformationNaturalId(fr.ifremer.allegro.referential.taxon.TaxonInformation)
public final void remoteTaxonInformationNaturalIdToEntityCollection(java.util.Collection instances)
TaxonInformationDao
RemoteTaxonInformationNaturalId
to this
DAO's entity.
remoteTaxonInformationNaturalIdToEntityCollection
in interface TaxonInformationDao
TaxonInformationDao.remoteTaxonInformationNaturalIdToEntityCollection(java.util.Collection)
public void toRemoteTaxonInformationNaturalId(TaxonInformation source, RemoteTaxonInformationNaturalId target)
TaxonInformationDao
toRemoteTaxonInformationNaturalId
in interface TaxonInformationDao
TaxonInformationDao.toRemoteTaxonInformationNaturalId(fr.ifremer.allegro.referential.taxon.TaxonInformation, fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonInformationNaturalId)
public RemoteTaxonInformationNaturalId toRemoteTaxonInformationNaturalId(TaxonInformation entity)
TaxonInformationDao
RemoteTaxonInformationNaturalId
.
toRemoteTaxonInformationNaturalId
in interface TaxonInformationDao
TaxonInformationDao.toRemoteTaxonInformationNaturalId(fr.ifremer.allegro.referential.taxon.TaxonInformation)
public void remoteTaxonInformationNaturalIdToEntity(RemoteTaxonInformationNaturalId source, TaxonInformation target, boolean copyIfNull)
TaxonInformationDao
RemoteTaxonInformationNaturalId
to the specified entity.
remoteTaxonInformationNaturalIdToEntity
in interface TaxonInformationDao
copyIfNull
- If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE,
it will be copied regardless of its value.fr.ifremer.allegro.referential.taxon.TaxonInformationDao#remoteTaxonInformationNaturalIdToEntity(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonInformationNaturalId, fr.ifremer.allegro.referential.taxon.TaxonInformation)
public final void toClusterTaxonInformationCollection(java.util.Collection entities)
TaxonInformationDao
ClusterTaxonInformation
.
toClusterTaxonInformationCollection
in interface TaxonInformationDao
TaxonInformationDao.toClusterTaxonInformationCollection(java.util.Collection)
public final ClusterTaxonInformation[] toClusterTaxonInformationArray(java.util.Collection entities)
TaxonInformationDao
ClusterTaxonInformation
.
toClusterTaxonInformationArray
in interface TaxonInformationDao
TaxonInformationDao.toClusterTaxonInformationArray(java.util.Collection)
protected ClusterTaxonInformation toClusterTaxonInformation(java.lang.Object[] row)
TaxonInformationDaoImpl
class if you intend to use reporting queries.
TaxonInformationDao.toClusterTaxonInformation(fr.ifremer.allegro.referential.taxon.TaxonInformation)
public final void clusterTaxonInformationToEntityCollection(java.util.Collection instances)
TaxonInformationDao
ClusterTaxonInformation
to this
DAO's entity.
clusterTaxonInformationToEntityCollection
in interface TaxonInformationDao
TaxonInformationDao.clusterTaxonInformationToEntityCollection(java.util.Collection)
public void toClusterTaxonInformation(TaxonInformation source, ClusterTaxonInformation target)
TaxonInformationDao
toClusterTaxonInformation
in interface TaxonInformationDao
TaxonInformationDao.toClusterTaxonInformation(fr.ifremer.allegro.referential.taxon.TaxonInformation, fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterTaxonInformation)
public ClusterTaxonInformation toClusterTaxonInformation(TaxonInformation entity)
TaxonInformationDao
ClusterTaxonInformation
.
toClusterTaxonInformation
in interface TaxonInformationDao
TaxonInformationDao.toClusterTaxonInformation(fr.ifremer.allegro.referential.taxon.TaxonInformation)
public void clusterTaxonInformationToEntity(ClusterTaxonInformation source, TaxonInformation target, boolean copyIfNull)
TaxonInformationDao
ClusterTaxonInformation
to the specified entity.
clusterTaxonInformationToEntity
in interface TaxonInformationDao
copyIfNull
- If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE,
it will be copied regardless of its value.fr.ifremer.allegro.referential.taxon.TaxonInformationDao#clusterTaxonInformationToEntity(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterTaxonInformation, fr.ifremer.allegro.referential.taxon.TaxonInformation)
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)
TaxonInformationDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface TaxonInformationDao
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.TaxonInformationDao.search(int, int, int, fr.ifremer.allegro.Search)
public PaginationResult search(int pageNumber, int pageSize, Search search)
TaxonInformationDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface TaxonInformationDao
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.TaxonInformationDao.search(int, int, fr.ifremer.allegro.Search)
public java.util.Set search(int transform, Search search)
TaxonInformationDao
TaxonInformationDao.search(fr.ifremer.allegro.Search)
but with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
search
in interface TaxonInformationDao
transform
- the transformation flag.search
- the search object which provides the search parameters and pagination specification.
TaxonInformationDao.search(int, fr.ifremer.allegro.Search)
public java.util.Set search(Search search)
TaxonInformationDao
search
object.
search
in interface TaxonInformationDao
search
- the search object which provides the search parameters and pagination specification.
TaxonInformationDao.search(fr.ifremer.allegro.Search)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |