fr.ifremer.allegro.referential.taxon
Class VirtualComponentDaoBase

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.referential.taxon.VirtualComponentDaoBase
All Implemented Interfaces:
VirtualComponentDao
Direct Known Subclasses:
VirtualComponentDaoImpl

public abstract class VirtualComponentDaoBase
extends org.springframework.orm.hibernate3.support.HibernateDaoSupport
implements VirtualComponentDao

Base Spring DAO Class: is able to create, update, remove, load, and find objects of type fr.ifremer.allegro.referential.taxon.VirtualComponent.

See Also:
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 collection.
 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

VirtualComponentDaoBase

public VirtualComponentDaoBase()
Method Detail

setTaxonNameDao

public void setTaxonNameDao(TaxonNameDao taxonNameDao)
Sets the reference to taxonNameDao.


getTaxonNameDao

protected TaxonNameDao getTaxonNameDao()
Gets the reference to taxonNameDao.


setReferenceTaxonDao

public void setReferenceTaxonDao(ReferenceTaxonDao referenceTaxonDao)
Sets the reference to referenceTaxonDao.


getReferenceTaxonDao

protected ReferenceTaxonDao getReferenceTaxonDao()
Gets the reference to referenceTaxonDao.


load

public java.lang.Object load(int transform,
                             TaxonName taxonName,
                             ReferenceTaxon referenceTaxon)
Description copied from interface: 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.

Specified by:
load in interface VirtualComponentDao
taxonName - identifier of the entity to load
referenceTaxon - identifier of the entity to load
Returns:
either the entity or the object transformed from the entity.
See Also:
VirtualComponentDao.load(int, fr.ifremer.allegro.referential.taxon.TaxonName,fr.ifremer.allegro.referential.taxon.ReferenceTaxon)

load

public VirtualComponent load(TaxonName taxonName,
                             ReferenceTaxon referenceTaxon)
Description copied from interface: VirtualComponentDao
Loads an instance of fr.ifremer.allegro.referential.taxon.VirtualComponent from the persistent store.

Specified by:
load in interface VirtualComponentDao
See Also:
VirtualComponentDao.load(fr.ifremer.allegro.referential.taxon.TaxonName,fr.ifremer.allegro.referential.taxon.ReferenceTaxon)

loadAll

public java.util.Collection loadAll()
Description copied from interface: VirtualComponentDao
Loads all entities of type VirtualComponent.

Specified by:
loadAll in interface VirtualComponentDao
Returns:
the loaded entities.
See Also:
VirtualComponentDao.loadAll()

loadAll

public java.util.Collection loadAll(int transform)
Description copied from interface: 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.

Specified by:
loadAll in interface VirtualComponentDao
Parameters:
transform - the flag indicating what transformation to use.
Returns:
the loaded entities.
See Also:
VirtualComponentDao.loadAll(int)

loadAll

public java.util.Collection loadAll(int pageNumber,
                                    int pageSize)
Description copied from interface: 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.

Specified by:
loadAll in interface VirtualComponentDao
Parameters:
pageNumber - the page number to retrieve when paging results.
pageSize - the size of the page to retrieve when paging results.
Returns:
the loaded entities.
See Also:
VirtualComponentDao.loadAll(int, int)

loadAll

public java.util.Collection loadAll(int transform,
                                    int pageNumber,
                                    int pageSize)
Description copied from interface: 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.

Specified by:
loadAll in interface VirtualComponentDao
Parameters:
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.
Returns:
the loaded entities.
See Also:
VirtualComponentDao.loadAll(int, int, int)

create

public VirtualComponent create(VirtualComponent virtualComponent)
Description copied from interface: VirtualComponentDao
Creates an instance of fr.ifremer.allegro.referential.taxon.VirtualComponent and adds it to the persistent store.

Specified by:
create in interface VirtualComponentDao
See Also:
VirtualComponentDao.create(fr.ifremer.allegro.referential.taxon.VirtualComponent)

create

public java.lang.Object create(int transform,
                               VirtualComponent virtualComponent)
Description copied from interface: 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.

Specified by:
create in interface VirtualComponentDao
See Also:
VirtualComponentDao.create(int transform, fr.ifremer.allegro.referential.taxon.VirtualComponent)

create

public java.util.Collection create(java.util.Collection entities)
Description copied from interface: VirtualComponentDao
Creates a new instance of fr.ifremer.allegro.referential.taxon.VirtualComponent and adds from the passed in entities collection

Specified by:
create in interface VirtualComponentDao
Parameters:
entities - the collection of fr.ifremer.allegro.referential.taxon.VirtualComponent instances to create.
Returns:
the created instances.
See Also:
VirtualComponentDao.create(java.util.Collection)

create

public java.util.Collection create(int transform,
                                   java.util.Collection entities)
Description copied from interface: 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.

Specified by:
create in interface VirtualComponentDao
See Also:
VirtualComponentDao.create(int, java.util.Collection)

create

public VirtualComponent create(java.sql.Timestamp updateDate,
                               TaxonName taxonName,
                               ReferenceTaxon referenceTaxon)
Description copied from interface: VirtualComponentDao

Creates a new fr.ifremer.allegro.referential.taxon.VirtualComponent instance from all attributes and properties and adds it to the persistent store.

Specified by:
create in interface VirtualComponentDao
See Also:
VirtualComponentDao.create(java.sql.Timestamp,fr.ifremer.allegro.referential.taxon.TaxonName,fr.ifremer.allegro.referential.taxon.ReferenceTaxon)

create

public java.lang.Object create(int transform,
                               java.sql.Timestamp updateDate,
                               TaxonName taxonName,
                               ReferenceTaxon referenceTaxon)
Description copied from interface: 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.

Specified by:
create in interface VirtualComponentDao
See Also:
VirtualComponentDao.create(int, java.sql.Timestamp,fr.ifremer.allegro.referential.taxon.TaxonName,fr.ifremer.allegro.referential.taxon.ReferenceTaxon)

create

public VirtualComponent create(ReferenceTaxon referenceTaxon,
                               TaxonName taxonName)
Description copied from interface: 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.

Specified by:
create in interface VirtualComponentDao
See Also:
VirtualComponentDao.create(fr.ifremer.allegro.referential.taxon.ReferenceTaxon,fr.ifremer.allegro.referential.taxon.TaxonName)

create

public java.lang.Object create(int transform,
                               ReferenceTaxon referenceTaxon,
                               TaxonName taxonName)
Description copied from interface: 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.

Specified by:
create in interface VirtualComponentDao
See Also:
VirtualComponentDao.create(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon,fr.ifremer.allegro.referential.taxon.TaxonName)

update

public void update(VirtualComponent virtualComponent)
Description copied from interface: VirtualComponentDao
Updates the virtualComponent instance in the persistent store.

Specified by:
update in interface VirtualComponentDao
See Also:
VirtualComponentDao.update(fr.ifremer.allegro.referential.taxon.VirtualComponent)

update

public void update(java.util.Collection entities)
Description copied from interface: VirtualComponentDao
Updates all instances in the entities collection in the persistent store.

Specified by:
update in interface VirtualComponentDao
See Also:
VirtualComponentDao.update(java.util.Collection)

remove

public void remove(VirtualComponent virtualComponent)
Description copied from interface: VirtualComponentDao
Removes the instance of fr.ifremer.allegro.referential.taxon.VirtualComponent from the persistent store.

Specified by:
remove in interface VirtualComponentDao
See Also:
VirtualComponentDao.remove(fr.ifremer.allegro.referential.taxon.VirtualComponent)

remove

public void remove(TaxonName taxonName,
                   ReferenceTaxon referenceTaxon)
Description copied from interface: VirtualComponentDao
Removes the instance of fr.ifremer.allegro.referential.taxon.VirtualComponent having the given identifiers from the persistent store.

Specified by:
remove in interface VirtualComponentDao
See Also:
VirtualComponentDao.remove(fr.ifremer.allegro.referential.taxon.TaxonName,fr.ifremer.allegro.referential.taxon.ReferenceTaxon)

remove

public void remove(java.util.Collection entities)
Description copied from interface: VirtualComponentDao
Removes all entities in the given entities collection.

Specified by:
remove in interface VirtualComponentDao
See Also:
VirtualComponentDao.remove(java.util.Collection)

getAllVirtualComponent

public java.util.Collection getAllVirtualComponent()
Specified by:
getAllVirtualComponent in interface VirtualComponentDao
See Also:
VirtualComponentDao.getAllVirtualComponent()

getAllVirtualComponent

public java.util.Collection getAllVirtualComponent(int transform)
Description copied from interface: 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.

Specified by:
getAllVirtualComponent in interface VirtualComponentDao
See Also:
VirtualComponentDao.getAllVirtualComponent(int)

getAllVirtualComponent

public java.util.Collection getAllVirtualComponent(java.lang.String queryString)
Description copied from interface: 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().

Specified by:
getAllVirtualComponent in interface VirtualComponentDao
See Also:
VirtualComponentDao.getAllVirtualComponent(java.lang.String)

getAllVirtualComponent

public java.util.Collection getAllVirtualComponent(int pageNumber,
                                                   int pageSize)
Description copied from interface: 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.

Specified by:
getAllVirtualComponent in interface VirtualComponentDao
See Also:
VirtualComponentDao.getAllVirtualComponent(int, int)

getAllVirtualComponent

public java.util.Collection getAllVirtualComponent(java.lang.String queryString,
                                                   int pageNumber,
                                                   int pageSize)
Description copied from interface: 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.

Specified by:
getAllVirtualComponent in interface VirtualComponentDao
See Also:
VirtualComponentDao.getAllVirtualComponent(String, int, int)

getAllVirtualComponent

public java.util.Collection getAllVirtualComponent(int transform,
                                                   java.lang.String queryString)
Description copied from interface: 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).

Specified by:
getAllVirtualComponent in interface VirtualComponentDao
See Also:
VirtualComponentDao.getAllVirtualComponent(int, String)

getAllVirtualComponent

public java.util.Collection getAllVirtualComponent(int transform,
                                                   int pageNumber,
                                                   int pageSize)
Description copied from interface: 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.

Specified by:
getAllVirtualComponent in interface VirtualComponentDao
See Also:
VirtualComponentDao.getAllVirtualComponent(int, int, int)

getAllVirtualComponent

public java.util.Collection getAllVirtualComponent(int transform,
                                                   java.lang.String queryString,
                                                   int pageNumber,
                                                   int pageSize)
Description copied from interface: 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.

Specified by:
getAllVirtualComponent in interface VirtualComponentDao
See Also:
VirtualComponentDao.getAllVirtualComponent(int, java.lang.String, int, int)

findVirtualComponentByTaxonName

public java.util.Collection findVirtualComponentByTaxonName(TaxonName taxonName)
Specified by:
findVirtualComponentByTaxonName in interface VirtualComponentDao
See Also:
VirtualComponentDao.findVirtualComponentByTaxonName(fr.ifremer.allegro.referential.taxon.TaxonName)

findVirtualComponentByTaxonName

public java.util.Collection findVirtualComponentByTaxonName(int transform,
                                                            TaxonName taxonName)
Description copied from interface: 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.

Specified by:
findVirtualComponentByTaxonName in interface VirtualComponentDao
See Also:
VirtualComponentDao.findVirtualComponentByTaxonName(int, fr.ifremer.allegro.referential.taxon.TaxonName)

findVirtualComponentByTaxonName

public java.util.Collection findVirtualComponentByTaxonName(java.lang.String queryString,
                                                            TaxonName taxonName)
Description copied from interface: 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).

Specified by:
findVirtualComponentByTaxonName in interface VirtualComponentDao
See Also:
VirtualComponentDao.findVirtualComponentByTaxonName(java.lang.String, fr.ifremer.allegro.referential.taxon.TaxonName)

findVirtualComponentByTaxonName

public java.util.Collection findVirtualComponentByTaxonName(int pageNumber,
                                                            int pageSize,
                                                            TaxonName taxonName)
Description copied from interface: 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.

Specified by:
findVirtualComponentByTaxonName in interface VirtualComponentDao
See Also:
VirtualComponentDao.findVirtualComponentByTaxonName(int, int, fr.ifremer.allegro.referential.taxon.TaxonName)

findVirtualComponentByTaxonName

public java.util.Collection findVirtualComponentByTaxonName(java.lang.String queryString,
                                                            int pageNumber,
                                                            int pageSize,
                                                            TaxonName taxonName)
Description copied from interface: 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.

Specified by:
findVirtualComponentByTaxonName in interface VirtualComponentDao
See Also:
VirtualComponentDao.findVirtualComponentByTaxonName(String, int, int, fr.ifremer.allegro.referential.taxon.TaxonName)

findVirtualComponentByTaxonName

public java.util.Collection findVirtualComponentByTaxonName(int transform,
                                                            java.lang.String queryString,
                                                            TaxonName taxonName)
Description copied from interface: 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).

Specified by:
findVirtualComponentByTaxonName in interface VirtualComponentDao
See Also:
VirtualComponentDao.findVirtualComponentByTaxonName(int, String, fr.ifremer.allegro.referential.taxon.TaxonName)

findVirtualComponentByTaxonName

public java.util.Collection findVirtualComponentByTaxonName(int transform,
                                                            int pageNumber,
                                                            int pageSize,
                                                            TaxonName taxonName)
Description copied from interface: 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.

Specified by:
findVirtualComponentByTaxonName in interface VirtualComponentDao
See Also:
VirtualComponentDao.findVirtualComponentByTaxonName(int, int, int, fr.ifremer.allegro.referential.taxon.TaxonName)

findVirtualComponentByTaxonName

public java.util.Collection findVirtualComponentByTaxonName(int transform,
                                                            java.lang.String queryString,
                                                            int pageNumber,
                                                            int pageSize,
                                                            TaxonName taxonName)
Description copied from interface: 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.

Specified by:
findVirtualComponentByTaxonName in interface VirtualComponentDao
See Also:
VirtualComponentDao.findVirtualComponentByTaxonName(int, java.lang.String, int, int, fr.ifremer.allegro.referential.taxon.TaxonName)

findVirtualComponentByReferenceTaxon

public java.util.Collection findVirtualComponentByReferenceTaxon(ReferenceTaxon referenceTaxon)
Specified by:
findVirtualComponentByReferenceTaxon in interface VirtualComponentDao
See Also:
VirtualComponentDao.findVirtualComponentByReferenceTaxon(fr.ifremer.allegro.referential.taxon.ReferenceTaxon)

findVirtualComponentByReferenceTaxon

public java.util.Collection findVirtualComponentByReferenceTaxon(int transform,
                                                                 ReferenceTaxon referenceTaxon)
Description copied from interface: 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.

Specified by:
findVirtualComponentByReferenceTaxon in interface VirtualComponentDao
See Also:
VirtualComponentDao.findVirtualComponentByReferenceTaxon(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)

findVirtualComponentByReferenceTaxon

public java.util.Collection findVirtualComponentByReferenceTaxon(java.lang.String queryString,
                                                                 ReferenceTaxon referenceTaxon)
Description copied from interface: 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).

Specified by:
findVirtualComponentByReferenceTaxon in interface VirtualComponentDao
See Also:
VirtualComponentDao.findVirtualComponentByReferenceTaxon(java.lang.String, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)

findVirtualComponentByReferenceTaxon

public java.util.Collection findVirtualComponentByReferenceTaxon(int pageNumber,
                                                                 int pageSize,
                                                                 ReferenceTaxon referenceTaxon)
Description copied from interface: 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.

Specified by:
findVirtualComponentByReferenceTaxon in interface VirtualComponentDao
See Also:
VirtualComponentDao.findVirtualComponentByReferenceTaxon(int, int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)

findVirtualComponentByReferenceTaxon

public java.util.Collection findVirtualComponentByReferenceTaxon(java.lang.String queryString,
                                                                 int pageNumber,
                                                                 int pageSize,
                                                                 ReferenceTaxon referenceTaxon)
Description copied from interface: 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.

Specified by:
findVirtualComponentByReferenceTaxon in interface VirtualComponentDao
See Also:
VirtualComponentDao.findVirtualComponentByReferenceTaxon(String, int, int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)

findVirtualComponentByReferenceTaxon

public java.util.Collection findVirtualComponentByReferenceTaxon(int transform,
                                                                 java.lang.String queryString,
                                                                 ReferenceTaxon referenceTaxon)
Description copied from interface: 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).

Specified by:
findVirtualComponentByReferenceTaxon in interface VirtualComponentDao
See Also:
VirtualComponentDao.findVirtualComponentByReferenceTaxon(int, String, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)

findVirtualComponentByReferenceTaxon

public java.util.Collection findVirtualComponentByReferenceTaxon(int transform,
                                                                 int pageNumber,
                                                                 int pageSize,
                                                                 ReferenceTaxon referenceTaxon)
Description copied from interface: 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.

Specified by:
findVirtualComponentByReferenceTaxon in interface VirtualComponentDao
See Also:
VirtualComponentDao.findVirtualComponentByReferenceTaxon(int, int, int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)

findVirtualComponentByReferenceTaxon

public java.util.Collection findVirtualComponentByReferenceTaxon(int transform,
                                                                 java.lang.String queryString,
                                                                 int pageNumber,
                                                                 int pageSize,
                                                                 ReferenceTaxon referenceTaxon)
Description copied from interface: 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.

Specified by:
findVirtualComponentByReferenceTaxon in interface VirtualComponentDao
See Also:
VirtualComponentDao.findVirtualComponentByReferenceTaxon(int, java.lang.String, int, int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)

findVirtualComponentByIdentifiers

public VirtualComponent findVirtualComponentByIdentifiers(TaxonName taxonName,
                                                          ReferenceTaxon referenceTaxon)
Specified by:
findVirtualComponentByIdentifiers in interface VirtualComponentDao
See Also:
VirtualComponentDao.findVirtualComponentByIdentifiers(fr.ifremer.allegro.referential.taxon.TaxonName, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)

findVirtualComponentByIdentifiers

public java.lang.Object findVirtualComponentByIdentifiers(int transform,
                                                          TaxonName taxonName,
                                                          ReferenceTaxon referenceTaxon)
Description copied from interface: 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.

Specified by:
findVirtualComponentByIdentifiers in interface VirtualComponentDao
See Also:
VirtualComponentDao.findVirtualComponentByIdentifiers(int, fr.ifremer.allegro.referential.taxon.TaxonName, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)

findVirtualComponentByIdentifiers

public VirtualComponent findVirtualComponentByIdentifiers(java.lang.String queryString,
                                                          TaxonName taxonName,
                                                          ReferenceTaxon referenceTaxon)
Description copied from interface: 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).

Specified by:
findVirtualComponentByIdentifiers in interface VirtualComponentDao
See Also:
VirtualComponentDao.findVirtualComponentByIdentifiers(java.lang.String, fr.ifremer.allegro.referential.taxon.TaxonName, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)

findVirtualComponentByIdentifiers

public java.lang.Object findVirtualComponentByIdentifiers(int transform,
                                                          java.lang.String queryString,
                                                          TaxonName taxonName,
                                                          ReferenceTaxon referenceTaxon)
Description copied from interface: 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).

Specified by:
findVirtualComponentByIdentifiers in interface VirtualComponentDao
See Also:
VirtualComponentDao.findVirtualComponentByIdentifiers(int, java.lang.String, fr.ifremer.allegro.referential.taxon.TaxonName, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)

findVirtualComponentByNaturalId

public VirtualComponent findVirtualComponentByNaturalId(TaxonName taxonName,
                                                        ReferenceTaxon referenceTaxon)
Specified by:
findVirtualComponentByNaturalId in interface VirtualComponentDao
See Also:
VirtualComponentDao.findVirtualComponentByNaturalId(fr.ifremer.allegro.referential.taxon.TaxonName, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)

findVirtualComponentByNaturalId

public java.lang.Object findVirtualComponentByNaturalId(int transform,
                                                        TaxonName taxonName,
                                                        ReferenceTaxon referenceTaxon)
Description copied from interface: 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.

Specified by:
findVirtualComponentByNaturalId in interface VirtualComponentDao
See Also:
VirtualComponentDao.findVirtualComponentByNaturalId(int, fr.ifremer.allegro.referential.taxon.TaxonName, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)

findVirtualComponentByNaturalId

public VirtualComponent findVirtualComponentByNaturalId(java.lang.String queryString,
                                                        TaxonName taxonName,
                                                        ReferenceTaxon referenceTaxon)
Description copied from interface: 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).

Specified by:
findVirtualComponentByNaturalId in interface VirtualComponentDao
See Also:
VirtualComponentDao.findVirtualComponentByNaturalId(java.lang.String, fr.ifremer.allegro.referential.taxon.TaxonName, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)

findVirtualComponentByNaturalId

public java.lang.Object findVirtualComponentByNaturalId(int transform,
                                                        java.lang.String queryString,
                                                        TaxonName taxonName,
                                                        ReferenceTaxon referenceTaxon)
Description copied from interface: 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).

Specified by:
findVirtualComponentByNaturalId in interface VirtualComponentDao
See Also:
VirtualComponentDao.findVirtualComponentByNaturalId(int, java.lang.String, fr.ifremer.allegro.referential.taxon.TaxonName, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)

getAllVirtualComponentSinceDateSynchro

public java.util.Collection getAllVirtualComponentSinceDateSynchro(java.sql.Timestamp updateDate)
Specified by:
getAllVirtualComponentSinceDateSynchro in interface VirtualComponentDao
See Also:
VirtualComponentDao.getAllVirtualComponentSinceDateSynchro(java.sql.Timestamp)

getAllVirtualComponentSinceDateSynchro

public java.util.Collection getAllVirtualComponentSinceDateSynchro(int transform,
                                                                   java.sql.Timestamp updateDate)
Description copied from interface: 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.

Specified by:
getAllVirtualComponentSinceDateSynchro in interface VirtualComponentDao
See Also:
VirtualComponentDao.getAllVirtualComponentSinceDateSynchro(int, java.sql.Timestamp)

getAllVirtualComponentSinceDateSynchro

public java.util.Collection getAllVirtualComponentSinceDateSynchro(java.lang.String queryString,
                                                                   java.sql.Timestamp updateDate)
Description copied from interface: 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).

Specified by:
getAllVirtualComponentSinceDateSynchro in interface VirtualComponentDao
See Also:
VirtualComponentDao.getAllVirtualComponentSinceDateSynchro(java.lang.String, java.sql.Timestamp)

getAllVirtualComponentSinceDateSynchro

public java.util.Collection getAllVirtualComponentSinceDateSynchro(int pageNumber,
                                                                   int pageSize,
                                                                   java.sql.Timestamp updateDate)
Description copied from interface: 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.

Specified by:
getAllVirtualComponentSinceDateSynchro in interface VirtualComponentDao
See Also:
VirtualComponentDao.getAllVirtualComponentSinceDateSynchro(int, int, java.sql.Timestamp)

getAllVirtualComponentSinceDateSynchro

public java.util.Collection getAllVirtualComponentSinceDateSynchro(java.lang.String queryString,
                                                                   int pageNumber,
                                                                   int pageSize,
                                                                   java.sql.Timestamp updateDate)
Description copied from interface: 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.

Specified by:
getAllVirtualComponentSinceDateSynchro in interface VirtualComponentDao
See Also:
VirtualComponentDao.getAllVirtualComponentSinceDateSynchro(String, int, int, java.sql.Timestamp)

getAllVirtualComponentSinceDateSynchro

public java.util.Collection getAllVirtualComponentSinceDateSynchro(int transform,
                                                                   java.lang.String queryString,
                                                                   java.sql.Timestamp updateDate)
Description copied from interface: 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).

Specified by:
getAllVirtualComponentSinceDateSynchro in interface VirtualComponentDao
See Also:
VirtualComponentDao.getAllVirtualComponentSinceDateSynchro(int, String, java.sql.Timestamp)

getAllVirtualComponentSinceDateSynchro

public java.util.Collection getAllVirtualComponentSinceDateSynchro(int transform,
                                                                   int pageNumber,
                                                                   int pageSize,
                                                                   java.sql.Timestamp updateDate)
Description copied from interface: 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.

Specified by:
getAllVirtualComponentSinceDateSynchro in interface VirtualComponentDao
See Also:
VirtualComponentDao.getAllVirtualComponentSinceDateSynchro(int, int, int, java.sql.Timestamp)

getAllVirtualComponentSinceDateSynchro

public java.util.Collection getAllVirtualComponentSinceDateSynchro(int transform,
                                                                   java.lang.String queryString,
                                                                   int pageNumber,
                                                                   int pageSize,
                                                                   java.sql.Timestamp updateDate)
Description copied from interface: 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.

Specified by:
getAllVirtualComponentSinceDateSynchro in interface VirtualComponentDao
See Also:
VirtualComponentDao.getAllVirtualComponentSinceDateSynchro(int, java.lang.String, int, int, java.sql.Timestamp)

createFromClusterVirtualComponent

public VirtualComponent createFromClusterVirtualComponent(ClusterVirtualComponent clusterVirtualComponent)
Specified by:
createFromClusterVirtualComponent in interface VirtualComponentDao
See Also:
VirtualComponentDao.createFromClusterVirtualComponent(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterVirtualComponent)

handleCreateFromClusterVirtualComponent

protected abstract VirtualComponent handleCreateFromClusterVirtualComponent(ClusterVirtualComponent clusterVirtualComponent)
                                                                     throws java.lang.Exception
Performs the core logic for createFromClusterVirtualComponent(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterVirtualComponent)

Throws:
java.lang.Exception

getAllClusterVirtualComponentSinceDateSynchro

public ClusterVirtualComponent[] getAllClusterVirtualComponentSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
                                                                               java.lang.Integer userId,
                                                                               java.lang.Integer[] registrationLocationIds,
                                                                               java.lang.Integer pageNumber,
                                                                               java.lang.Integer pageSize)
Specified by:
getAllClusterVirtualComponentSinceDateSynchro in interface VirtualComponentDao
See Also:
VirtualComponentDao.getAllClusterVirtualComponentSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

handleGetAllClusterVirtualComponentSinceDateSynchro

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
Performs the core logic for getAllClusterVirtualComponentSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Throws:
java.lang.Exception

transformEntity

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.

This method will return instances of these types:

If the integer argument value is unknown VirtualComponentDao.TRANSFORM_NONE is assumed.

Parameters:
transform - one of the constants declared in VirtualComponentDao
entity - an entity that was found
Returns:
the transformed entity (i.e. new value object, etc)
See Also:
transformEntities(int,java.util.Collection)

transformEntities

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. This method does not instantiate a new collection.

This method is to be used internally only.

Parameters:
transform - one of the constants declared in fr.ifremer.allegro.referential.taxon.VirtualComponentDao
entities - the collection of entities to transform
See Also:
transformEntity(int,fr.ifremer.allegro.referential.taxon.VirtualComponent)

toEntity

protected VirtualComponent toEntity(java.lang.Object[] row)

toRemoteVirtualComponentFullVOCollection

public final void toRemoteVirtualComponentFullVOCollection(java.util.Collection entities)
Description copied from interface: VirtualComponentDao
Converts this DAO's entity to a Collection of instances of type RemoteVirtualComponentFullVO.

Specified by:
toRemoteVirtualComponentFullVOCollection in interface VirtualComponentDao
See Also:
VirtualComponentDao.toRemoteVirtualComponentFullVOCollection(java.util.Collection)

toRemoteVirtualComponentFullVOArray

public final RemoteVirtualComponentFullVO[] toRemoteVirtualComponentFullVOArray(java.util.Collection entities)
Description copied from interface: VirtualComponentDao
Converts this DAO's entity to an array of instances of type RemoteVirtualComponentFullVO.

Specified by:
toRemoteVirtualComponentFullVOArray in interface VirtualComponentDao
See Also:
VirtualComponentDao.toRemoteVirtualComponentFullVOArray(java.util.Collection)

toRemoteVirtualComponentFullVO

protected RemoteVirtualComponentFullVO toRemoteVirtualComponentFullVO(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. This implementation exists for convenience reasons only. It needs only be overridden in the VirtualComponentDaoImpl class if you intend to use reporting queries.

See Also:
VirtualComponentDao.toRemoteVirtualComponentFullVO(fr.ifremer.allegro.referential.taxon.VirtualComponent)

remoteVirtualComponentFullVOToEntityCollection

public final void remoteVirtualComponentFullVOToEntityCollection(java.util.Collection instances)
Description copied from interface: VirtualComponentDao
Converts a Collection of instances of type RemoteVirtualComponentFullVO to this DAO's entity.

Specified by:
remoteVirtualComponentFullVOToEntityCollection in interface VirtualComponentDao
See Also:
VirtualComponentDao.remoteVirtualComponentFullVOToEntityCollection(java.util.Collection)

toRemoteVirtualComponentFullVO

public void toRemoteVirtualComponentFullVO(VirtualComponent source,
                                           RemoteVirtualComponentFullVO target)
Description copied from interface: VirtualComponentDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteVirtualComponentFullVO(), but it does not handle any attributes in the target value object that are "read-only" (as those do not have setter methods exposed).

Specified by:
toRemoteVirtualComponentFullVO in interface VirtualComponentDao
See Also:
VirtualComponentDao.toRemoteVirtualComponentFullVO(fr.ifremer.allegro.referential.taxon.VirtualComponent, fr.ifremer.allegro.referential.taxon.generic.vo.RemoteVirtualComponentFullVO)

toRemoteVirtualComponentFullVO

public RemoteVirtualComponentFullVO toRemoteVirtualComponentFullVO(VirtualComponent entity)
Description copied from interface: VirtualComponentDao
Converts this DAO's entity to an object of type RemoteVirtualComponentFullVO.

Specified by:
toRemoteVirtualComponentFullVO in interface VirtualComponentDao
See Also:
VirtualComponentDao.toRemoteVirtualComponentFullVO(fr.ifremer.allegro.referential.taxon.VirtualComponent)

remoteVirtualComponentFullVOToEntity

public void remoteVirtualComponentFullVOToEntity(RemoteVirtualComponentFullVO source,
                                                 VirtualComponent target,
                                                 boolean copyIfNull)
Description copied from interface: VirtualComponentDao
Copies the fields of RemoteVirtualComponentFullVO to the specified entity.

Specified by:
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.
See Also:
fr.ifremer.allegro.referential.taxon.VirtualComponentDao#remoteVirtualComponentFullVOToEntity(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteVirtualComponentFullVO, fr.ifremer.allegro.referential.taxon.VirtualComponent)

toRemoteVirtualComponentNaturalIdCollection

public final void toRemoteVirtualComponentNaturalIdCollection(java.util.Collection entities)
Description copied from interface: VirtualComponentDao
Converts this DAO's entity to a Collection of instances of type RemoteVirtualComponentNaturalId.

Specified by:
toRemoteVirtualComponentNaturalIdCollection in interface VirtualComponentDao
See Also:
VirtualComponentDao.toRemoteVirtualComponentNaturalIdCollection(java.util.Collection)

toRemoteVirtualComponentNaturalIdArray

public final RemoteVirtualComponentNaturalId[] toRemoteVirtualComponentNaturalIdArray(java.util.Collection entities)
Description copied from interface: VirtualComponentDao
Converts this DAO's entity to an array of instances of type RemoteVirtualComponentNaturalId.

Specified by:
toRemoteVirtualComponentNaturalIdArray in interface VirtualComponentDao
See Also:
VirtualComponentDao.toRemoteVirtualComponentNaturalIdArray(java.util.Collection)

toRemoteVirtualComponentNaturalId

protected RemoteVirtualComponentNaturalId toRemoteVirtualComponentNaturalId(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. This implementation exists for convenience reasons only. It needs only be overridden in the VirtualComponentDaoImpl class if you intend to use reporting queries.

See Also:
VirtualComponentDao.toRemoteVirtualComponentNaturalId(fr.ifremer.allegro.referential.taxon.VirtualComponent)

remoteVirtualComponentNaturalIdToEntityCollection

public final void remoteVirtualComponentNaturalIdToEntityCollection(java.util.Collection instances)
Description copied from interface: VirtualComponentDao
Converts a Collection of instances of type RemoteVirtualComponentNaturalId to this DAO's entity.

Specified by:
remoteVirtualComponentNaturalIdToEntityCollection in interface VirtualComponentDao
See Also:
VirtualComponentDao.remoteVirtualComponentNaturalIdToEntityCollection(java.util.Collection)

toRemoteVirtualComponentNaturalId

public void toRemoteVirtualComponentNaturalId(VirtualComponent source,
                                              RemoteVirtualComponentNaturalId target)
Description copied from interface: VirtualComponentDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteVirtualComponentNaturalId(), but it does not handle any attributes in the target value object that are "read-only" (as those do not have setter methods exposed).

Specified by:
toRemoteVirtualComponentNaturalId in interface VirtualComponentDao
See Also:
VirtualComponentDao.toRemoteVirtualComponentNaturalId(fr.ifremer.allegro.referential.taxon.VirtualComponent, fr.ifremer.allegro.referential.taxon.generic.vo.RemoteVirtualComponentNaturalId)

toRemoteVirtualComponentNaturalId

public RemoteVirtualComponentNaturalId toRemoteVirtualComponentNaturalId(VirtualComponent entity)
Description copied from interface: VirtualComponentDao
Converts this DAO's entity to an object of type RemoteVirtualComponentNaturalId.

Specified by:
toRemoteVirtualComponentNaturalId in interface VirtualComponentDao
See Also:
VirtualComponentDao.toRemoteVirtualComponentNaturalId(fr.ifremer.allegro.referential.taxon.VirtualComponent)

remoteVirtualComponentNaturalIdToEntity

public void remoteVirtualComponentNaturalIdToEntity(RemoteVirtualComponentNaturalId source,
                                                    VirtualComponent target,
                                                    boolean copyIfNull)
Description copied from interface: VirtualComponentDao
Copies the fields of RemoteVirtualComponentNaturalId to the specified entity.

Specified by:
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.
See Also:
fr.ifremer.allegro.referential.taxon.VirtualComponentDao#remoteVirtualComponentNaturalIdToEntity(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteVirtualComponentNaturalId, fr.ifremer.allegro.referential.taxon.VirtualComponent)

toClusterVirtualComponentCollection

public final void toClusterVirtualComponentCollection(java.util.Collection entities)
Description copied from interface: VirtualComponentDao
Converts this DAO's entity to a Collection of instances of type ClusterVirtualComponent.

Specified by:
toClusterVirtualComponentCollection in interface VirtualComponentDao
See Also:
VirtualComponentDao.toClusterVirtualComponentCollection(java.util.Collection)

toClusterVirtualComponentArray

public final ClusterVirtualComponent[] toClusterVirtualComponentArray(java.util.Collection entities)
Description copied from interface: VirtualComponentDao
Converts this DAO's entity to an array of instances of type ClusterVirtualComponent.

Specified by:
toClusterVirtualComponentArray in interface VirtualComponentDao
See Also:
VirtualComponentDao.toClusterVirtualComponentArray(java.util.Collection)

toClusterVirtualComponent

protected ClusterVirtualComponent toClusterVirtualComponent(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. This implementation exists for convenience reasons only. It needs only be overridden in the VirtualComponentDaoImpl class if you intend to use reporting queries.

See Also:
VirtualComponentDao.toClusterVirtualComponent(fr.ifremer.allegro.referential.taxon.VirtualComponent)

clusterVirtualComponentToEntityCollection

public final void clusterVirtualComponentToEntityCollection(java.util.Collection instances)
Description copied from interface: VirtualComponentDao
Converts a Collection of instances of type ClusterVirtualComponent to this DAO's entity.

Specified by:
clusterVirtualComponentToEntityCollection in interface VirtualComponentDao
See Also:
VirtualComponentDao.clusterVirtualComponentToEntityCollection(java.util.Collection)

toClusterVirtualComponent

public void toClusterVirtualComponent(VirtualComponent source,
                                      ClusterVirtualComponent target)
Description copied from interface: VirtualComponentDao
Copies the fields of the specified entity to the target value object. This method is similar to toClusterVirtualComponent(), but it does not handle any attributes in the target value object that are "read-only" (as those do not have setter methods exposed).

Specified by:
toClusterVirtualComponent in interface VirtualComponentDao
See Also:
VirtualComponentDao.toClusterVirtualComponent(fr.ifremer.allegro.referential.taxon.VirtualComponent, fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterVirtualComponent)

toClusterVirtualComponent

public ClusterVirtualComponent toClusterVirtualComponent(VirtualComponent entity)
Description copied from interface: VirtualComponentDao
Converts this DAO's entity to an object of type ClusterVirtualComponent.

Specified by:
toClusterVirtualComponent in interface VirtualComponentDao
See Also:
VirtualComponentDao.toClusterVirtualComponent(fr.ifremer.allegro.referential.taxon.VirtualComponent)

clusterVirtualComponentToEntity

public void clusterVirtualComponentToEntity(ClusterVirtualComponent source,
                                            VirtualComponent target,
                                            boolean copyIfNull)
Description copied from interface: VirtualComponentDao
Copies the fields of ClusterVirtualComponent to the specified entity.

Specified by:
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.
See Also:
fr.ifremer.allegro.referential.taxon.VirtualComponentDao#clusterVirtualComponentToEntity(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterVirtualComponent, fr.ifremer.allegro.referential.taxon.VirtualComponent)

getPrincipal

protected java.security.Principal getPrincipal()
Gets the current principal if one has been set, otherwise returns null.

Returns:
the current principal

search

public PaginationResult search(int transform,
                               int pageNumber,
                               int pageSize,
                               Search search)
Description copied from interface: VirtualComponentDao
Does the same thing as {@link #search(int, fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize. These flags allow you to limit your data to a specified page number and size.

Specified by:
search in interface VirtualComponentDao
Parameters:
transform - the transformation flag.
pageNumber - the page number in the data to retrieve
pageSize - the size of the page to retrieve.
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search wrapped in a PaginationResult instance.
See Also:
VirtualComponentDao.search(int, int, int, fr.ifremer.allegro.Search)

search

public PaginationResult search(int pageNumber,
                               int pageSize,
                               Search search)
Description copied from interface: VirtualComponentDao
Does the same thing as {@link #search(fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize. These flags allow you to limit your data to a specified page number and size.

Specified by:
search in interface VirtualComponentDao
Parameters:
pageNumber - the page number in the data to retrieve
pageSize - the size of the page to retrieve.
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search wrapped in a PaginationResult instance.
See Also:
VirtualComponentDao.search(int, int, fr.ifremer.allegro.Search)

search

public java.util.Set search(int transform,
                            Search search)
Description copied from interface: VirtualComponentDao
Does the same thing as 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.

Specified by:
search in interface VirtualComponentDao
Parameters:
transform - the transformation flag.
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search.
See Also:
VirtualComponentDao.search(int, fr.ifremer.allegro.Search)

search

public java.util.Set search(Search search)
Description copied from interface: VirtualComponentDao
Performs a search using the parameters specified in the given search object.

Specified by:
search in interface VirtualComponentDao
Parameters:
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search.
See Also:
VirtualComponentDao.search(fr.ifremer.allegro.Search)


Copyright © 2008-2010 IFREMER. All Rights Reserved.