|
||||||||||
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.VirtualComponentDaoBase
public abstract class VirtualComponentDaoBase
Base Spring DAO Class: is able to create, update, remove, load, and find
objects of type fr.ifremer.allegro.referential.taxon.VirtualComponent
.
VirtualComponent
Field Summary |
---|
Fields inherited from interface fr.ifremer.allegro.referential.taxon.VirtualComponentDao |
---|
TRANSFORM_CLUSTERVIRTUALCOMPONENT, TRANSFORM_NONE, TRANSFORM_REMOTEVIRTUALCOMPONENTFULLVO, TRANSFORM_REMOTEVIRTUALCOMPONENTNATURALID |
Constructor Summary | |
---|---|
VirtualComponentDaoBase()
|
Method Summary | |
---|---|
void |
clusterVirtualComponentToEntity(ClusterVirtualComponent source,
VirtualComponent target,
boolean copyIfNull)
Copies the fields of ClusterVirtualComponent to the specified entity. |
void |
clusterVirtualComponentToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type ClusterVirtualComponent to this
DAO's entity. |
java.util.Collection |
create(java.util.Collection entities)
Creates a new instance of fr.ifremer.allegro.referential.taxon.VirtualComponent and adds from the passed in entities collection |
java.util.Collection |
create(int transform,
java.util.Collection entities)
Does the same thing as VirtualComponentDao.create(fr.ifremer.allegro.referential.taxon.VirtualComponent) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
ReferenceTaxon referenceTaxon,
TaxonName taxonName)
Does the same thing as VirtualComponentDao.create(fr.ifremer.allegro.referential.taxon.ReferenceTaxon,fr.ifremer.allegro.referential.taxon.TaxonName) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
java.sql.Timestamp updateDate,
TaxonName taxonName,
ReferenceTaxon referenceTaxon)
Does the same thing as VirtualComponentDao.create(java.sql.Timestamp,fr.ifremer.allegro.referential.taxon.TaxonName,fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
VirtualComponent virtualComponent)
Does the same thing as VirtualComponentDao.create(fr.ifremer.allegro.referential.taxon.VirtualComponent) with an
additional flag called transform . |
VirtualComponent |
create(ReferenceTaxon referenceTaxon,
TaxonName taxonName)
Creates a new fr.ifremer.allegro.referential.taxon.VirtualComponent
instance from only required properties (attributes
and association ends) and adds it to the persistent store. |
VirtualComponent |
create(java.sql.Timestamp updateDate,
TaxonName taxonName,
ReferenceTaxon referenceTaxon)
Creates a new fr.ifremer.allegro.referential.taxon.VirtualComponent
instance from all attributes and
properties and adds it to the persistent store. |
VirtualComponent |
create(VirtualComponent virtualComponent)
Creates an instance of fr.ifremer.allegro.referential.taxon.VirtualComponent and adds it to the persistent store. |
VirtualComponent |
createFromClusterVirtualComponent(ClusterVirtualComponent clusterVirtualComponent)
|
java.lang.Object |
findVirtualComponentByIdentifiers(int transform,
java.lang.String queryString,
TaxonName taxonName,
ReferenceTaxon referenceTaxon)
Does the same thing as VirtualComponentDao.findVirtualComponentByIdentifiers(int, fr.ifremer.allegro.referential.taxon.TaxonName, fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an
additional argument called queryString . |
java.lang.Object |
findVirtualComponentByIdentifiers(int transform,
TaxonName taxonName,
ReferenceTaxon referenceTaxon)
Does the same thing as VirtualComponentDao.findVirtualComponentByIdentifiers(fr.ifremer.allegro.referential.taxon.TaxonName, fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an
additional flag called transform . |
VirtualComponent |
findVirtualComponentByIdentifiers(java.lang.String queryString,
TaxonName taxonName,
ReferenceTaxon referenceTaxon)
Does the same thing as VirtualComponentDao.findVirtualComponentByIdentifiers(fr.ifremer.allegro.referential.taxon.TaxonName, fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an
additional argument called queryString . |
VirtualComponent |
findVirtualComponentByIdentifiers(TaxonName taxonName,
ReferenceTaxon referenceTaxon)
|
java.lang.Object |
findVirtualComponentByNaturalId(int transform,
java.lang.String queryString,
TaxonName taxonName,
ReferenceTaxon referenceTaxon)
Does the same thing as VirtualComponentDao.findVirtualComponentByNaturalId(int, fr.ifremer.allegro.referential.taxon.TaxonName, fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an
additional argument called queryString . |
java.lang.Object |
findVirtualComponentByNaturalId(int transform,
TaxonName taxonName,
ReferenceTaxon referenceTaxon)
Does the same thing as VirtualComponentDao.findVirtualComponentByNaturalId(fr.ifremer.allegro.referential.taxon.TaxonName, fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an
additional flag called transform . |
VirtualComponent |
findVirtualComponentByNaturalId(java.lang.String queryString,
TaxonName taxonName,
ReferenceTaxon referenceTaxon)
Does the same thing as VirtualComponentDao.findVirtualComponentByNaturalId(fr.ifremer.allegro.referential.taxon.TaxonName, fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an
additional argument called queryString . |
VirtualComponent |
findVirtualComponentByNaturalId(TaxonName taxonName,
ReferenceTaxon referenceTaxon)
|
java.util.Collection |
findVirtualComponentByReferenceTaxon(int transform,
int pageNumber,
int pageSize,
ReferenceTaxon referenceTaxon)
Does the same thing as VirtualComponentDao.findVirtualComponentByReferenceTaxon(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findVirtualComponentByReferenceTaxon(int pageNumber,
int pageSize,
ReferenceTaxon referenceTaxon)
Does the same thing as VirtualComponentDao.findVirtualComponentByReferenceTaxon(fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findVirtualComponentByReferenceTaxon(int transform,
ReferenceTaxon referenceTaxon)
Does the same thing as VirtualComponentDao.findVirtualComponentByReferenceTaxon(fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an
additional flag called transform . |
java.util.Collection |
findVirtualComponentByReferenceTaxon(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
ReferenceTaxon referenceTaxon)
Does the same thing as VirtualComponentDao.findVirtualComponentByReferenceTaxon(int, String, fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findVirtualComponentByReferenceTaxon(int transform,
java.lang.String queryString,
ReferenceTaxon referenceTaxon)
Does the same thing as VirtualComponentDao.findVirtualComponentByReferenceTaxon(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an
additional argument called queryString . |
java.util.Collection |
findVirtualComponentByReferenceTaxon(ReferenceTaxon referenceTaxon)
|
java.util.Collection |
findVirtualComponentByReferenceTaxon(java.lang.String queryString,
int pageNumber,
int pageSize,
ReferenceTaxon referenceTaxon)
Does the same thing as VirtualComponentDao.findVirtualComponentByReferenceTaxon(String, fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findVirtualComponentByReferenceTaxon(java.lang.String queryString,
ReferenceTaxon referenceTaxon)
Does the same thing as VirtualComponentDao.findVirtualComponentByReferenceTaxon(fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an
additional argument called queryString . |
java.util.Collection |
findVirtualComponentByTaxonName(int transform,
int pageNumber,
int pageSize,
TaxonName taxonName)
Does the same thing as VirtualComponentDao.findVirtualComponentByTaxonName(int, fr.ifremer.allegro.referential.taxon.TaxonName) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findVirtualComponentByTaxonName(int pageNumber,
int pageSize,
TaxonName taxonName)
Does the same thing as VirtualComponentDao.findVirtualComponentByTaxonName(fr.ifremer.allegro.referential.taxon.TaxonName) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findVirtualComponentByTaxonName(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
TaxonName taxonName)
Does the same thing as VirtualComponentDao.findVirtualComponentByTaxonName(int, String, fr.ifremer.allegro.referential.taxon.TaxonName) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findVirtualComponentByTaxonName(int transform,
java.lang.String queryString,
TaxonName taxonName)
Does the same thing as VirtualComponentDao.findVirtualComponentByTaxonName(int, fr.ifremer.allegro.referential.taxon.TaxonName) with an
additional argument called queryString . |
java.util.Collection |
findVirtualComponentByTaxonName(int transform,
TaxonName taxonName)
Does the same thing as VirtualComponentDao.findVirtualComponentByTaxonName(fr.ifremer.allegro.referential.taxon.TaxonName) with an
additional flag called transform . |
java.util.Collection |
findVirtualComponentByTaxonName(java.lang.String queryString,
int pageNumber,
int pageSize,
TaxonName taxonName)
Does the same thing as VirtualComponentDao.findVirtualComponentByTaxonName(String, fr.ifremer.allegro.referential.taxon.TaxonName) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findVirtualComponentByTaxonName(java.lang.String queryString,
TaxonName taxonName)
Does the same thing as VirtualComponentDao.findVirtualComponentByTaxonName(fr.ifremer.allegro.referential.taxon.TaxonName) with an
additional argument called queryString . |
java.util.Collection |
findVirtualComponentByTaxonName(TaxonName taxonName)
|
ClusterVirtualComponent[] |
getAllClusterVirtualComponentSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize)
|
java.util.Collection |
getAllVirtualComponent()
|
java.util.Collection |
getAllVirtualComponent(int transform)
Does the same thing as VirtualComponentDao.getAllVirtualComponent() with an
additional flag called transform . |
java.util.Collection |
getAllVirtualComponent(int pageNumber,
int pageSize)
Does the same thing as VirtualComponentDao.getAllVirtualComponent() with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllVirtualComponent(int transform,
int pageNumber,
int pageSize)
Does the same thing as VirtualComponentDao.getAllVirtualComponent(int) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllVirtualComponent(int transform,
java.lang.String queryString)
Does the same thing as VirtualComponentDao.getAllVirtualComponent(int) with an
additional argument called queryString . |
java.util.Collection |
getAllVirtualComponent(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as VirtualComponentDao.getAllVirtualComponent(int, String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllVirtualComponent(java.lang.String queryString)
Does the same thing as VirtualComponentDao.getAllVirtualComponent() with an
additional argument called queryString . |
java.util.Collection |
getAllVirtualComponent(java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as VirtualComponentDao.getAllVirtualComponent(String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllVirtualComponentSinceDateSynchro(int transform,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as VirtualComponentDao.getAllVirtualComponentSinceDateSynchro(int, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllVirtualComponentSinceDateSynchro(int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as VirtualComponentDao.getAllVirtualComponentSinceDateSynchro(java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllVirtualComponentSinceDateSynchro(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as VirtualComponentDao.getAllVirtualComponentSinceDateSynchro(int, String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllVirtualComponentSinceDateSynchro(int transform,
java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as VirtualComponentDao.getAllVirtualComponentSinceDateSynchro(int, java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllVirtualComponentSinceDateSynchro(int transform,
java.sql.Timestamp updateDate)
Does the same thing as VirtualComponentDao.getAllVirtualComponentSinceDateSynchro(java.sql.Timestamp) with an
additional flag called transform . |
java.util.Collection |
getAllVirtualComponentSinceDateSynchro(java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as VirtualComponentDao.getAllVirtualComponentSinceDateSynchro(String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllVirtualComponentSinceDateSynchro(java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as VirtualComponentDao.getAllVirtualComponentSinceDateSynchro(java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllVirtualComponentSinceDateSynchro(java.sql.Timestamp updateDate)
|
protected java.security.Principal |
getPrincipal()
Gets the current principal if one has been set,
otherwise returns null . |
protected ReferenceTaxonDao |
getReferenceTaxonDao()
Gets the reference to referenceTaxonDao . |
protected TaxonNameDao |
getTaxonNameDao()
Gets the reference to taxonNameDao . |
protected abstract VirtualComponent |
handleCreateFromClusterVirtualComponent(ClusterVirtualComponent clusterVirtualComponent)
Performs the core logic for createFromClusterVirtualComponent(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterVirtualComponent) |
protected abstract ClusterVirtualComponent[] |
handleGetAllClusterVirtualComponentSinceDateSynchro(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 getAllClusterVirtualComponentSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer) |
java.lang.Object |
load(int transform,
TaxonName taxonName,
ReferenceTaxon referenceTaxon)
Does the same thing as VirtualComponentDao.load(fr.ifremer.allegro.referential.taxon.TaxonName,fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an
additional flag called transform . |
VirtualComponent |
load(TaxonName taxonName,
ReferenceTaxon referenceTaxon)
Loads an instance of fr.ifremer.allegro.referential.taxon.VirtualComponent from the persistent store. |
java.util.Collection |
loadAll()
Loads all entities of type VirtualComponent . |
java.util.Collection |
loadAll(int transform)
Does the same thing as VirtualComponentDao.loadAll() with an
additional flag called transform . |
java.util.Collection |
loadAll(int pageNumber,
int pageSize)
Does the same thing as VirtualComponentDao.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 VirtualComponentDao.loadAll(int) with an
additional two arguments called pageNumber and pageSize . |
void |
remoteVirtualComponentFullVOToEntity(RemoteVirtualComponentFullVO source,
VirtualComponent target,
boolean copyIfNull)
Copies the fields of RemoteVirtualComponentFullVO to the specified entity. |
void |
remoteVirtualComponentFullVOToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteVirtualComponentFullVO to this
DAO's entity. |
void |
remoteVirtualComponentNaturalIdToEntity(RemoteVirtualComponentNaturalId source,
VirtualComponent target,
boolean copyIfNull)
Copies the fields of RemoteVirtualComponentNaturalId to the specified entity. |
void |
remoteVirtualComponentNaturalIdToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteVirtualComponentNaturalId to this
DAO's entity. |
void |
remove(java.util.Collection entities)
Removes all entities in the given entities |
void |
remove(TaxonName taxonName,
ReferenceTaxon referenceTaxon)
Removes the instance of fr.ifremer.allegro.referential.taxon.VirtualComponent having the given identifiers from the persistent store. |
void |
remove(VirtualComponent virtualComponent)
Removes the instance of fr.ifremer.allegro.referential.taxon.VirtualComponent 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 VirtualComponentDao.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 |
setReferenceTaxonDao(ReferenceTaxonDao referenceTaxonDao)
Sets the reference to referenceTaxonDao . |
void |
setTaxonNameDao(TaxonNameDao taxonNameDao)
Sets the reference to taxonNameDao . |
protected ClusterVirtualComponent |
toClusterVirtualComponent(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
ClusterVirtualComponent |
toClusterVirtualComponent(VirtualComponent entity)
Converts this DAO's entity to an object of type ClusterVirtualComponent . |
void |
toClusterVirtualComponent(VirtualComponent source,
ClusterVirtualComponent target)
Copies the fields of the specified entity to the target value object. |
ClusterVirtualComponent[] |
toClusterVirtualComponentArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type ClusterVirtualComponent . |
void |
toClusterVirtualComponentCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type ClusterVirtualComponent . |
protected VirtualComponent |
toEntity(java.lang.Object[] row)
|
protected RemoteVirtualComponentFullVO |
toRemoteVirtualComponentFullVO(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteVirtualComponentFullVO |
toRemoteVirtualComponentFullVO(VirtualComponent entity)
Converts this DAO's entity to an object of type RemoteVirtualComponentFullVO . |
void |
toRemoteVirtualComponentFullVO(VirtualComponent source,
RemoteVirtualComponentFullVO target)
Copies the fields of the specified entity to the target value object. |
RemoteVirtualComponentFullVO[] |
toRemoteVirtualComponentFullVOArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteVirtualComponentFullVO . |
void |
toRemoteVirtualComponentFullVOCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteVirtualComponentFullVO . |
protected RemoteVirtualComponentNaturalId |
toRemoteVirtualComponentNaturalId(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteVirtualComponentNaturalId |
toRemoteVirtualComponentNaturalId(VirtualComponent entity)
Converts this DAO's entity to an object of type RemoteVirtualComponentNaturalId . |
void |
toRemoteVirtualComponentNaturalId(VirtualComponent source,
RemoteVirtualComponentNaturalId target)
Copies the fields of the specified entity to the target value object. |
RemoteVirtualComponentNaturalId[] |
toRemoteVirtualComponentNaturalIdArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteVirtualComponentNaturalId . |
void |
toRemoteVirtualComponentNaturalIdCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteVirtualComponentNaturalId . |
protected void |
transformEntities(int transform,
java.util.Collection entities)
Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.taxon.VirtualComponent)
method. |
protected java.lang.Object |
transformEntity(int transform,
VirtualComponent 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.VirtualComponentDao , please note
that the VirtualComponentDao.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(VirtualComponent virtualComponent)
Updates the virtualComponent 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.VirtualComponentDao |
---|
clusterVirtualComponentToEntity, remoteVirtualComponentFullVOToEntity, remoteVirtualComponentNaturalIdToEntity |
Constructor Detail |
---|
public VirtualComponentDaoBase()
Method Detail |
---|
public void setTaxonNameDao(TaxonNameDao taxonNameDao)
taxonNameDao
.
protected TaxonNameDao getTaxonNameDao()
taxonNameDao
.
public void setReferenceTaxonDao(ReferenceTaxonDao referenceTaxonDao)
referenceTaxonDao
.
protected ReferenceTaxonDao getReferenceTaxonDao()
referenceTaxonDao
.
public java.lang.Object load(int transform, TaxonName taxonName, ReferenceTaxon referenceTaxon)
VirtualComponentDao
Does the same thing as VirtualComponentDao.load(fr.ifremer.allegro.referential.taxon.TaxonName,fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
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 VirtualComponentDao
taxonName
- identifier of the entity to loadreferenceTaxon
- identifier of the entity to load
VirtualComponentDao.load(int, fr.ifremer.allegro.referential.taxon.TaxonName,fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
public VirtualComponent load(TaxonName taxonName, ReferenceTaxon referenceTaxon)
VirtualComponentDao
load
in interface VirtualComponentDao
VirtualComponentDao.load(fr.ifremer.allegro.referential.taxon.TaxonName,fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
public java.util.Collection loadAll()
VirtualComponentDao
VirtualComponent
.
loadAll
in interface VirtualComponentDao
VirtualComponentDao.loadAll()
public java.util.Collection loadAll(int transform)
VirtualComponentDao
Does the same thing as VirtualComponentDao.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 VirtualComponentDao
transform
- the flag indicating what transformation to use.
VirtualComponentDao.loadAll(int)
public java.util.Collection loadAll(int pageNumber, int pageSize)
VirtualComponentDao
Does the same thing as VirtualComponentDao.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 VirtualComponentDao
pageNumber
- the page number to retrieve when paging results.pageSize
- the size of the page to retrieve when paging results.
VirtualComponentDao.loadAll(int, int)
public java.util.Collection loadAll(int transform, int pageNumber, int pageSize)
VirtualComponentDao
Does the same thing as VirtualComponentDao.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 VirtualComponentDao
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.
VirtualComponentDao.loadAll(int, int, int)
public VirtualComponent create(VirtualComponent virtualComponent)
VirtualComponentDao
create
in interface VirtualComponentDao
VirtualComponentDao.create(fr.ifremer.allegro.referential.taxon.VirtualComponent)
public java.lang.Object create(int transform, VirtualComponent virtualComponent)
VirtualComponentDao
Does the same thing as VirtualComponentDao.create(fr.ifremer.allegro.referential.taxon.VirtualComponent)
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 VirtualComponentDao
VirtualComponentDao.create(int transform, fr.ifremer.allegro.referential.taxon.VirtualComponent)
public java.util.Collection create(java.util.Collection entities)
VirtualComponentDao
entities
collection
create
in interface VirtualComponentDao
entities
- the collection of fr.ifremer.allegro.referential.taxon.VirtualComponent
instances to create.
VirtualComponentDao.create(java.util.Collection)
public java.util.Collection create(int transform, java.util.Collection entities)
VirtualComponentDao
Does the same thing as VirtualComponentDao.create(fr.ifremer.allegro.referential.taxon.VirtualComponent)
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 VirtualComponentDao
VirtualComponentDao.create(int, java.util.Collection)
public VirtualComponent create(java.sql.Timestamp updateDate, TaxonName taxonName, ReferenceTaxon referenceTaxon)
VirtualComponentDao
Creates a new fr.ifremer.allegro.referential.taxon.VirtualComponent
instance from all attributes and
properties and adds it to the persistent store.
create
in interface VirtualComponentDao
VirtualComponentDao.create(java.sql.Timestamp,fr.ifremer.allegro.referential.taxon.TaxonName,fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
public java.lang.Object create(int transform, java.sql.Timestamp updateDate, TaxonName taxonName, ReferenceTaxon referenceTaxon)
VirtualComponentDao
Does the same thing as VirtualComponentDao.create(java.sql.Timestamp,fr.ifremer.allegro.referential.taxon.TaxonName,fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
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 VirtualComponentDao
VirtualComponentDao.create(int, java.sql.Timestamp,fr.ifremer.allegro.referential.taxon.TaxonName,fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
public VirtualComponent create(ReferenceTaxon referenceTaxon, TaxonName taxonName)
VirtualComponentDao
Creates a new fr.ifremer.allegro.referential.taxon.VirtualComponent
instance from only required properties (attributes
and association ends) and adds it to the persistent store.
create
in interface VirtualComponentDao
VirtualComponentDao.create(fr.ifremer.allegro.referential.taxon.ReferenceTaxon,fr.ifremer.allegro.referential.taxon.TaxonName)
public java.lang.Object create(int transform, ReferenceTaxon referenceTaxon, TaxonName taxonName)
VirtualComponentDao
Does the same thing as VirtualComponentDao.create(fr.ifremer.allegro.referential.taxon.ReferenceTaxon,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 VirtualComponentDao
VirtualComponentDao.create(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon,fr.ifremer.allegro.referential.taxon.TaxonName)
public void update(VirtualComponent virtualComponent)
VirtualComponentDao
virtualComponent
instance in the persistent store.
update
in interface VirtualComponentDao
VirtualComponentDao.update(fr.ifremer.allegro.referential.taxon.VirtualComponent)
public void update(java.util.Collection entities)
VirtualComponentDao
entities
collection in the persistent store.
update
in interface VirtualComponentDao
VirtualComponentDao.update(java.util.Collection)
public void remove(VirtualComponent virtualComponent)
VirtualComponentDao
remove
in interface VirtualComponentDao
VirtualComponentDao.remove(fr.ifremer.allegro.referential.taxon.VirtualComponent)
public void remove(TaxonName taxonName, ReferenceTaxon referenceTaxon)
VirtualComponentDao
identifiers
from the persistent store.
remove
in interface VirtualComponentDao
VirtualComponentDao.remove(fr.ifremer.allegro.referential.taxon.TaxonName,fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
public void remove(java.util.Collection entities)
VirtualComponentDao
entities collection.
- Specified by:
remove
in interface VirtualComponentDao
- See Also:
VirtualComponentDao.remove(java.util.Collection)
public java.util.Collection getAllVirtualComponent()
getAllVirtualComponent
in interface VirtualComponentDao
VirtualComponentDao.getAllVirtualComponent()
public java.util.Collection getAllVirtualComponent(int transform)
VirtualComponentDao
Does the same thing as VirtualComponentDao.getAllVirtualComponent()
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.
getAllVirtualComponent
in interface VirtualComponentDao
VirtualComponentDao.getAllVirtualComponent(int)
public java.util.Collection getAllVirtualComponent(java.lang.String queryString)
VirtualComponentDao
Does the same thing as VirtualComponentDao.getAllVirtualComponent()
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VirtualComponentDao.getAllVirtualComponent()
.
getAllVirtualComponent
in interface VirtualComponentDao
VirtualComponentDao.getAllVirtualComponent(java.lang.String)
public java.util.Collection getAllVirtualComponent(int pageNumber, int pageSize)
VirtualComponentDao
Does the same thing as VirtualComponentDao.getAllVirtualComponent()
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.
getAllVirtualComponent
in interface VirtualComponentDao
VirtualComponentDao.getAllVirtualComponent(int, int)
public java.util.Collection getAllVirtualComponent(java.lang.String queryString, int pageNumber, int pageSize)
VirtualComponentDao
Does the same thing as VirtualComponentDao.getAllVirtualComponent(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.
getAllVirtualComponent
in interface VirtualComponentDao
VirtualComponentDao.getAllVirtualComponent(String, int, int)
public java.util.Collection getAllVirtualComponent(int transform, java.lang.String queryString)
VirtualComponentDao
Does the same thing as VirtualComponentDao.getAllVirtualComponent(int)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VirtualComponentDao.getAllVirtualComponent(int)
.
getAllVirtualComponent
in interface VirtualComponentDao
VirtualComponentDao.getAllVirtualComponent(int, String)
public java.util.Collection getAllVirtualComponent(int transform, int pageNumber, int pageSize)
VirtualComponentDao
Does the same thing as VirtualComponentDao.getAllVirtualComponent(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.
getAllVirtualComponent
in interface VirtualComponentDao
VirtualComponentDao.getAllVirtualComponent(int, int, int)
public java.util.Collection getAllVirtualComponent(int transform, java.lang.String queryString, int pageNumber, int pageSize)
VirtualComponentDao
Does the same thing as VirtualComponentDao.getAllVirtualComponent(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.
getAllVirtualComponent
in interface VirtualComponentDao
VirtualComponentDao.getAllVirtualComponent(int, java.lang.String, int, int)
public java.util.Collection findVirtualComponentByTaxonName(TaxonName taxonName)
findVirtualComponentByTaxonName
in interface VirtualComponentDao
VirtualComponentDao.findVirtualComponentByTaxonName(fr.ifremer.allegro.referential.taxon.TaxonName)
public java.util.Collection findVirtualComponentByTaxonName(int transform, TaxonName taxonName)
VirtualComponentDao
Does the same thing as VirtualComponentDao.findVirtualComponentByTaxonName(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.
findVirtualComponentByTaxonName
in interface VirtualComponentDao
VirtualComponentDao.findVirtualComponentByTaxonName(int, fr.ifremer.allegro.referential.taxon.TaxonName)
public java.util.Collection findVirtualComponentByTaxonName(java.lang.String queryString, TaxonName taxonName)
VirtualComponentDao
Does the same thing as VirtualComponentDao.findVirtualComponentByTaxonName(fr.ifremer.allegro.referential.taxon.TaxonName)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VirtualComponentDao.findVirtualComponentByTaxonName(fr.ifremer.allegro.referential.taxon.TaxonName)
.
findVirtualComponentByTaxonName
in interface VirtualComponentDao
VirtualComponentDao.findVirtualComponentByTaxonName(java.lang.String, fr.ifremer.allegro.referential.taxon.TaxonName)
public java.util.Collection findVirtualComponentByTaxonName(int pageNumber, int pageSize, TaxonName taxonName)
VirtualComponentDao
Does the same thing as VirtualComponentDao.findVirtualComponentByTaxonName(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.
findVirtualComponentByTaxonName
in interface VirtualComponentDao
VirtualComponentDao.findVirtualComponentByTaxonName(int, int, fr.ifremer.allegro.referential.taxon.TaxonName)
public java.util.Collection findVirtualComponentByTaxonName(java.lang.String queryString, int pageNumber, int pageSize, TaxonName taxonName)
VirtualComponentDao
Does the same thing as VirtualComponentDao.findVirtualComponentByTaxonName(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.
findVirtualComponentByTaxonName
in interface VirtualComponentDao
VirtualComponentDao.findVirtualComponentByTaxonName(String, int, int, fr.ifremer.allegro.referential.taxon.TaxonName)
public java.util.Collection findVirtualComponentByTaxonName(int transform, java.lang.String queryString, TaxonName taxonName)
VirtualComponentDao
Does the same thing as VirtualComponentDao.findVirtualComponentByTaxonName(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 VirtualComponentDao.findVirtualComponentByTaxonName(int, fr.ifremer.allegro.referential.taxon.TaxonName taxonName)
.
findVirtualComponentByTaxonName
in interface VirtualComponentDao
VirtualComponentDao.findVirtualComponentByTaxonName(int, String, fr.ifremer.allegro.referential.taxon.TaxonName)
public java.util.Collection findVirtualComponentByTaxonName(int transform, int pageNumber, int pageSize, TaxonName taxonName)
VirtualComponentDao
Does the same thing as VirtualComponentDao.findVirtualComponentByTaxonName(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.
findVirtualComponentByTaxonName
in interface VirtualComponentDao
VirtualComponentDao.findVirtualComponentByTaxonName(int, int, int, fr.ifremer.allegro.referential.taxon.TaxonName)
public java.util.Collection findVirtualComponentByTaxonName(int transform, java.lang.String queryString, int pageNumber, int pageSize, TaxonName taxonName)
VirtualComponentDao
Does the same thing as VirtualComponentDao.findVirtualComponentByTaxonName(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.
findVirtualComponentByTaxonName
in interface VirtualComponentDao
VirtualComponentDao.findVirtualComponentByTaxonName(int, java.lang.String, int, int, fr.ifremer.allegro.referential.taxon.TaxonName)
public java.util.Collection findVirtualComponentByReferenceTaxon(ReferenceTaxon referenceTaxon)
findVirtualComponentByReferenceTaxon
in interface VirtualComponentDao
VirtualComponentDao.findVirtualComponentByReferenceTaxon(fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
public java.util.Collection findVirtualComponentByReferenceTaxon(int transform, ReferenceTaxon referenceTaxon)
VirtualComponentDao
Does the same thing as VirtualComponentDao.findVirtualComponentByReferenceTaxon(fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
findVirtualComponentByReferenceTaxon
in interface VirtualComponentDao
VirtualComponentDao.findVirtualComponentByReferenceTaxon(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
public java.util.Collection findVirtualComponentByReferenceTaxon(java.lang.String queryString, ReferenceTaxon referenceTaxon)
VirtualComponentDao
Does the same thing as VirtualComponentDao.findVirtualComponentByReferenceTaxon(fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VirtualComponentDao.findVirtualComponentByReferenceTaxon(fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
.
findVirtualComponentByReferenceTaxon
in interface VirtualComponentDao
VirtualComponentDao.findVirtualComponentByReferenceTaxon(java.lang.String, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
public java.util.Collection findVirtualComponentByReferenceTaxon(int pageNumber, int pageSize, ReferenceTaxon referenceTaxon)
VirtualComponentDao
Does the same thing as VirtualComponentDao.findVirtualComponentByReferenceTaxon(fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findVirtualComponentByReferenceTaxon
in interface VirtualComponentDao
VirtualComponentDao.findVirtualComponentByReferenceTaxon(int, int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
public java.util.Collection findVirtualComponentByReferenceTaxon(java.lang.String queryString, int pageNumber, int pageSize, ReferenceTaxon referenceTaxon)
VirtualComponentDao
Does the same thing as VirtualComponentDao.findVirtualComponentByReferenceTaxon(String, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findVirtualComponentByReferenceTaxon
in interface VirtualComponentDao
VirtualComponentDao.findVirtualComponentByReferenceTaxon(String, int, int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
public java.util.Collection findVirtualComponentByReferenceTaxon(int transform, java.lang.String queryString, ReferenceTaxon referenceTaxon)
VirtualComponentDao
Does the same thing as VirtualComponentDao.findVirtualComponentByReferenceTaxon(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VirtualComponentDao.findVirtualComponentByReferenceTaxon(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon referenceTaxon)
.
findVirtualComponentByReferenceTaxon
in interface VirtualComponentDao
VirtualComponentDao.findVirtualComponentByReferenceTaxon(int, String, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
public java.util.Collection findVirtualComponentByReferenceTaxon(int transform, int pageNumber, int pageSize, ReferenceTaxon referenceTaxon)
VirtualComponentDao
Does the same thing as VirtualComponentDao.findVirtualComponentByReferenceTaxon(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findVirtualComponentByReferenceTaxon
in interface VirtualComponentDao
VirtualComponentDao.findVirtualComponentByReferenceTaxon(int, int, int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
public java.util.Collection findVirtualComponentByReferenceTaxon(int transform, java.lang.String queryString, int pageNumber, int pageSize, ReferenceTaxon referenceTaxon)
VirtualComponentDao
Does the same thing as VirtualComponentDao.findVirtualComponentByReferenceTaxon(int, String, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findVirtualComponentByReferenceTaxon
in interface VirtualComponentDao
VirtualComponentDao.findVirtualComponentByReferenceTaxon(int, java.lang.String, int, int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
public VirtualComponent findVirtualComponentByIdentifiers(TaxonName taxonName, ReferenceTaxon referenceTaxon)
findVirtualComponentByIdentifiers
in interface VirtualComponentDao
VirtualComponentDao.findVirtualComponentByIdentifiers(fr.ifremer.allegro.referential.taxon.TaxonName, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
public java.lang.Object findVirtualComponentByIdentifiers(int transform, TaxonName taxonName, ReferenceTaxon referenceTaxon)
VirtualComponentDao
Does the same thing as VirtualComponentDao.findVirtualComponentByIdentifiers(fr.ifremer.allegro.referential.taxon.TaxonName, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
findVirtualComponentByIdentifiers
in interface VirtualComponentDao
VirtualComponentDao.findVirtualComponentByIdentifiers(int, fr.ifremer.allegro.referential.taxon.TaxonName, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
public VirtualComponent findVirtualComponentByIdentifiers(java.lang.String queryString, TaxonName taxonName, ReferenceTaxon referenceTaxon)
VirtualComponentDao
Does the same thing as VirtualComponentDao.findVirtualComponentByIdentifiers(fr.ifremer.allegro.referential.taxon.TaxonName, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VirtualComponentDao.findVirtualComponentByIdentifiers(fr.ifremer.allegro.referential.taxon.TaxonName, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
.
findVirtualComponentByIdentifiers
in interface VirtualComponentDao
VirtualComponentDao.findVirtualComponentByIdentifiers(java.lang.String, fr.ifremer.allegro.referential.taxon.TaxonName, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
public java.lang.Object findVirtualComponentByIdentifiers(int transform, java.lang.String queryString, TaxonName taxonName, ReferenceTaxon referenceTaxon)
VirtualComponentDao
Does the same thing as VirtualComponentDao.findVirtualComponentByIdentifiers(int, fr.ifremer.allegro.referential.taxon.TaxonName, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VirtualComponentDao.findVirtualComponentByIdentifiers(int, fr.ifremer.allegro.referential.taxon.TaxonName taxonName, fr.ifremer.allegro.referential.taxon.ReferenceTaxon referenceTaxon)
.
findVirtualComponentByIdentifiers
in interface VirtualComponentDao
VirtualComponentDao.findVirtualComponentByIdentifiers(int, java.lang.String, fr.ifremer.allegro.referential.taxon.TaxonName, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
public VirtualComponent findVirtualComponentByNaturalId(TaxonName taxonName, ReferenceTaxon referenceTaxon)
findVirtualComponentByNaturalId
in interface VirtualComponentDao
VirtualComponentDao.findVirtualComponentByNaturalId(fr.ifremer.allegro.referential.taxon.TaxonName, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
public java.lang.Object findVirtualComponentByNaturalId(int transform, TaxonName taxonName, ReferenceTaxon referenceTaxon)
VirtualComponentDao
Does the same thing as VirtualComponentDao.findVirtualComponentByNaturalId(fr.ifremer.allegro.referential.taxon.TaxonName, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
findVirtualComponentByNaturalId
in interface VirtualComponentDao
VirtualComponentDao.findVirtualComponentByNaturalId(int, fr.ifremer.allegro.referential.taxon.TaxonName, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
public VirtualComponent findVirtualComponentByNaturalId(java.lang.String queryString, TaxonName taxonName, ReferenceTaxon referenceTaxon)
VirtualComponentDao
Does the same thing as VirtualComponentDao.findVirtualComponentByNaturalId(fr.ifremer.allegro.referential.taxon.TaxonName, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VirtualComponentDao.findVirtualComponentByNaturalId(fr.ifremer.allegro.referential.taxon.TaxonName, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
.
findVirtualComponentByNaturalId
in interface VirtualComponentDao
VirtualComponentDao.findVirtualComponentByNaturalId(java.lang.String, fr.ifremer.allegro.referential.taxon.TaxonName, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
public java.lang.Object findVirtualComponentByNaturalId(int transform, java.lang.String queryString, TaxonName taxonName, ReferenceTaxon referenceTaxon)
VirtualComponentDao
Does the same thing as VirtualComponentDao.findVirtualComponentByNaturalId(int, fr.ifremer.allegro.referential.taxon.TaxonName, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VirtualComponentDao.findVirtualComponentByNaturalId(int, fr.ifremer.allegro.referential.taxon.TaxonName taxonName, fr.ifremer.allegro.referential.taxon.ReferenceTaxon referenceTaxon)
.
findVirtualComponentByNaturalId
in interface VirtualComponentDao
VirtualComponentDao.findVirtualComponentByNaturalId(int, java.lang.String, fr.ifremer.allegro.referential.taxon.TaxonName, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
public java.util.Collection getAllVirtualComponentSinceDateSynchro(java.sql.Timestamp updateDate)
getAllVirtualComponentSinceDateSynchro
in interface VirtualComponentDao
VirtualComponentDao.getAllVirtualComponentSinceDateSynchro(java.sql.Timestamp)
public java.util.Collection getAllVirtualComponentSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
VirtualComponentDao
Does the same thing as VirtualComponentDao.getAllVirtualComponentSinceDateSynchro(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.
getAllVirtualComponentSinceDateSynchro
in interface VirtualComponentDao
VirtualComponentDao.getAllVirtualComponentSinceDateSynchro(int, java.sql.Timestamp)
public java.util.Collection getAllVirtualComponentSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
VirtualComponentDao
Does the same thing as VirtualComponentDao.getAllVirtualComponentSinceDateSynchro(java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VirtualComponentDao.getAllVirtualComponentSinceDateSynchro(java.sql.Timestamp)
.
getAllVirtualComponentSinceDateSynchro
in interface VirtualComponentDao
VirtualComponentDao.getAllVirtualComponentSinceDateSynchro(java.lang.String, java.sql.Timestamp)
public java.util.Collection getAllVirtualComponentSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
VirtualComponentDao
Does the same thing as VirtualComponentDao.getAllVirtualComponentSinceDateSynchro(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.
getAllVirtualComponentSinceDateSynchro
in interface VirtualComponentDao
VirtualComponentDao.getAllVirtualComponentSinceDateSynchro(int, int, java.sql.Timestamp)
public java.util.Collection getAllVirtualComponentSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
VirtualComponentDao
Does the same thing as VirtualComponentDao.getAllVirtualComponentSinceDateSynchro(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.
getAllVirtualComponentSinceDateSynchro
in interface VirtualComponentDao
VirtualComponentDao.getAllVirtualComponentSinceDateSynchro(String, int, int, java.sql.Timestamp)
public java.util.Collection getAllVirtualComponentSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
VirtualComponentDao
Does the same thing as VirtualComponentDao.getAllVirtualComponentSinceDateSynchro(int, java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VirtualComponentDao.getAllVirtualComponentSinceDateSynchro(int, java.sql.Timestamp updateDate)
.
getAllVirtualComponentSinceDateSynchro
in interface VirtualComponentDao
VirtualComponentDao.getAllVirtualComponentSinceDateSynchro(int, String, java.sql.Timestamp)
public java.util.Collection getAllVirtualComponentSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
VirtualComponentDao
Does the same thing as VirtualComponentDao.getAllVirtualComponentSinceDateSynchro(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.
getAllVirtualComponentSinceDateSynchro
in interface VirtualComponentDao
VirtualComponentDao.getAllVirtualComponentSinceDateSynchro(int, int, int, java.sql.Timestamp)
public java.util.Collection getAllVirtualComponentSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
VirtualComponentDao
Does the same thing as VirtualComponentDao.getAllVirtualComponentSinceDateSynchro(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.
getAllVirtualComponentSinceDateSynchro
in interface VirtualComponentDao
VirtualComponentDao.getAllVirtualComponentSinceDateSynchro(int, java.lang.String, int, int, java.sql.Timestamp)
public VirtualComponent createFromClusterVirtualComponent(ClusterVirtualComponent clusterVirtualComponent)
createFromClusterVirtualComponent
in interface VirtualComponentDao
VirtualComponentDao.createFromClusterVirtualComponent(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterVirtualComponent)
protected abstract VirtualComponent handleCreateFromClusterVirtualComponent(ClusterVirtualComponent clusterVirtualComponent) throws java.lang.Exception
createFromClusterVirtualComponent(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterVirtualComponent)
java.lang.Exception
public ClusterVirtualComponent[] getAllClusterVirtualComponentSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
getAllClusterVirtualComponentSinceDateSynchro
in interface VirtualComponentDao
VirtualComponentDao.getAllClusterVirtualComponentSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected abstract ClusterVirtualComponent[] handleGetAllClusterVirtualComponentSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize) throws java.lang.Exception
getAllClusterVirtualComponentSinceDateSynchro(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, VirtualComponent entity)
transform
flag is set to one of the constants defined in fr.ifremer.allegro.referential.taxon.VirtualComponentDao
, please note
that the VirtualComponentDao.TRANSFORM_NONE
constant denotes no transformation, so the entity itself
will be returned.
This method will return instances of these types:
VirtualComponent
- VirtualComponentDao.TRANSFORM_NONE
RemoteVirtualComponentFullVO
- TRANSFORM_REMOTEVIRTUALCOMPONENTFULLVO
RemoteVirtualComponentNaturalId
- TRANSFORM_REMOTEVIRTUALCOMPONENTNATURALID
ClusterVirtualComponent
- TRANSFORM_CLUSTERVIRTUALCOMPONENT
VirtualComponentDao.TRANSFORM_NONE
is assumed.
transform
- one of the constants declared in VirtualComponentDao
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.VirtualComponent)
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.VirtualComponentDao
entities
- the collection of entities to transformtransformEntity(int,fr.ifremer.allegro.referential.taxon.VirtualComponent)
protected VirtualComponent toEntity(java.lang.Object[] row)
public final void toRemoteVirtualComponentFullVOCollection(java.util.Collection entities)
VirtualComponentDao
RemoteVirtualComponentFullVO
.
toRemoteVirtualComponentFullVOCollection
in interface VirtualComponentDao
VirtualComponentDao.toRemoteVirtualComponentFullVOCollection(java.util.Collection)
public final RemoteVirtualComponentFullVO[] toRemoteVirtualComponentFullVOArray(java.util.Collection entities)
VirtualComponentDao
RemoteVirtualComponentFullVO
.
toRemoteVirtualComponentFullVOArray
in interface VirtualComponentDao
VirtualComponentDao.toRemoteVirtualComponentFullVOArray(java.util.Collection)
protected RemoteVirtualComponentFullVO toRemoteVirtualComponentFullVO(java.lang.Object[] row)
VirtualComponentDaoImpl
class if you intend to use reporting queries.
VirtualComponentDao.toRemoteVirtualComponentFullVO(fr.ifremer.allegro.referential.taxon.VirtualComponent)
public final void remoteVirtualComponentFullVOToEntityCollection(java.util.Collection instances)
VirtualComponentDao
RemoteVirtualComponentFullVO
to this
DAO's entity.
remoteVirtualComponentFullVOToEntityCollection
in interface VirtualComponentDao
VirtualComponentDao.remoteVirtualComponentFullVOToEntityCollection(java.util.Collection)
public void toRemoteVirtualComponentFullVO(VirtualComponent source, RemoteVirtualComponentFullVO target)
VirtualComponentDao
toRemoteVirtualComponentFullVO
in interface VirtualComponentDao
VirtualComponentDao.toRemoteVirtualComponentFullVO(fr.ifremer.allegro.referential.taxon.VirtualComponent, fr.ifremer.allegro.referential.taxon.generic.vo.RemoteVirtualComponentFullVO)
public RemoteVirtualComponentFullVO toRemoteVirtualComponentFullVO(VirtualComponent entity)
VirtualComponentDao
RemoteVirtualComponentFullVO
.
toRemoteVirtualComponentFullVO
in interface VirtualComponentDao
VirtualComponentDao.toRemoteVirtualComponentFullVO(fr.ifremer.allegro.referential.taxon.VirtualComponent)
public void remoteVirtualComponentFullVOToEntity(RemoteVirtualComponentFullVO source, VirtualComponent target, boolean copyIfNull)
VirtualComponentDao
RemoteVirtualComponentFullVO
to the specified entity.
remoteVirtualComponentFullVOToEntity
in interface VirtualComponentDao
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.VirtualComponentDao#remoteVirtualComponentFullVOToEntity(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteVirtualComponentFullVO, fr.ifremer.allegro.referential.taxon.VirtualComponent)
public final void toRemoteVirtualComponentNaturalIdCollection(java.util.Collection entities)
VirtualComponentDao
RemoteVirtualComponentNaturalId
.
toRemoteVirtualComponentNaturalIdCollection
in interface VirtualComponentDao
VirtualComponentDao.toRemoteVirtualComponentNaturalIdCollection(java.util.Collection)
public final RemoteVirtualComponentNaturalId[] toRemoteVirtualComponentNaturalIdArray(java.util.Collection entities)
VirtualComponentDao
RemoteVirtualComponentNaturalId
.
toRemoteVirtualComponentNaturalIdArray
in interface VirtualComponentDao
VirtualComponentDao.toRemoteVirtualComponentNaturalIdArray(java.util.Collection)
protected RemoteVirtualComponentNaturalId toRemoteVirtualComponentNaturalId(java.lang.Object[] row)
VirtualComponentDaoImpl
class if you intend to use reporting queries.
VirtualComponentDao.toRemoteVirtualComponentNaturalId(fr.ifremer.allegro.referential.taxon.VirtualComponent)
public final void remoteVirtualComponentNaturalIdToEntityCollection(java.util.Collection instances)
VirtualComponentDao
RemoteVirtualComponentNaturalId
to this
DAO's entity.
remoteVirtualComponentNaturalIdToEntityCollection
in interface VirtualComponentDao
VirtualComponentDao.remoteVirtualComponentNaturalIdToEntityCollection(java.util.Collection)
public void toRemoteVirtualComponentNaturalId(VirtualComponent source, RemoteVirtualComponentNaturalId target)
VirtualComponentDao
toRemoteVirtualComponentNaturalId
in interface VirtualComponentDao
VirtualComponentDao.toRemoteVirtualComponentNaturalId(fr.ifremer.allegro.referential.taxon.VirtualComponent, fr.ifremer.allegro.referential.taxon.generic.vo.RemoteVirtualComponentNaturalId)
public RemoteVirtualComponentNaturalId toRemoteVirtualComponentNaturalId(VirtualComponent entity)
VirtualComponentDao
RemoteVirtualComponentNaturalId
.
toRemoteVirtualComponentNaturalId
in interface VirtualComponentDao
VirtualComponentDao.toRemoteVirtualComponentNaturalId(fr.ifremer.allegro.referential.taxon.VirtualComponent)
public void remoteVirtualComponentNaturalIdToEntity(RemoteVirtualComponentNaturalId source, VirtualComponent target, boolean copyIfNull)
VirtualComponentDao
RemoteVirtualComponentNaturalId
to the specified entity.
remoteVirtualComponentNaturalIdToEntity
in interface VirtualComponentDao
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.VirtualComponentDao#remoteVirtualComponentNaturalIdToEntity(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteVirtualComponentNaturalId, fr.ifremer.allegro.referential.taxon.VirtualComponent)
public final void toClusterVirtualComponentCollection(java.util.Collection entities)
VirtualComponentDao
ClusterVirtualComponent
.
toClusterVirtualComponentCollection
in interface VirtualComponentDao
VirtualComponentDao.toClusterVirtualComponentCollection(java.util.Collection)
public final ClusterVirtualComponent[] toClusterVirtualComponentArray(java.util.Collection entities)
VirtualComponentDao
ClusterVirtualComponent
.
toClusterVirtualComponentArray
in interface VirtualComponentDao
VirtualComponentDao.toClusterVirtualComponentArray(java.util.Collection)
protected ClusterVirtualComponent toClusterVirtualComponent(java.lang.Object[] row)
VirtualComponentDaoImpl
class if you intend to use reporting queries.
VirtualComponentDao.toClusterVirtualComponent(fr.ifremer.allegro.referential.taxon.VirtualComponent)
public final void clusterVirtualComponentToEntityCollection(java.util.Collection instances)
VirtualComponentDao
ClusterVirtualComponent
to this
DAO's entity.
clusterVirtualComponentToEntityCollection
in interface VirtualComponentDao
VirtualComponentDao.clusterVirtualComponentToEntityCollection(java.util.Collection)
public void toClusterVirtualComponent(VirtualComponent source, ClusterVirtualComponent target)
VirtualComponentDao
toClusterVirtualComponent
in interface VirtualComponentDao
VirtualComponentDao.toClusterVirtualComponent(fr.ifremer.allegro.referential.taxon.VirtualComponent, fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterVirtualComponent)
public ClusterVirtualComponent toClusterVirtualComponent(VirtualComponent entity)
VirtualComponentDao
ClusterVirtualComponent
.
toClusterVirtualComponent
in interface VirtualComponentDao
VirtualComponentDao.toClusterVirtualComponent(fr.ifremer.allegro.referential.taxon.VirtualComponent)
public void clusterVirtualComponentToEntity(ClusterVirtualComponent source, VirtualComponent target, boolean copyIfNull)
VirtualComponentDao
ClusterVirtualComponent
to the specified entity.
clusterVirtualComponentToEntity
in interface VirtualComponentDao
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.VirtualComponentDao#clusterVirtualComponentToEntity(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterVirtualComponent, fr.ifremer.allegro.referential.taxon.VirtualComponent)
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)
VirtualComponentDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface VirtualComponentDao
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.VirtualComponentDao.search(int, int, int, fr.ifremer.allegro.Search)
public PaginationResult search(int pageNumber, int pageSize, Search search)
VirtualComponentDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface VirtualComponentDao
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.VirtualComponentDao.search(int, int, fr.ifremer.allegro.Search)
public java.util.Set search(int transform, Search search)
VirtualComponentDao
VirtualComponentDao.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 VirtualComponentDao
transform
- the transformation flag.search
- the search object which provides the search parameters and pagination specification.
VirtualComponentDao.search(int, fr.ifremer.allegro.Search)
public java.util.Set search(Search search)
VirtualComponentDao
search
object.
search
in interface VirtualComponentDao
search
- the search object which provides the search parameters and pagination specification.
VirtualComponentDao.search(fr.ifremer.allegro.Search)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |