fr.ifremer.allegro.administration.programStrategy
Class ReferenceTaxonStrategyDaoBase

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategyDaoBase
All Implemented Interfaces:
ReferenceTaxonStrategyDao
Direct Known Subclasses:
ReferenceTaxonStrategyDaoImpl

public abstract class ReferenceTaxonStrategyDaoBase
extends org.springframework.orm.hibernate3.support.HibernateDaoSupport
implements ReferenceTaxonStrategyDao

Base Spring DAO Class: is able to create, update, remove, load, and find objects of type fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy.

See Also:
ReferenceTaxonStrategy

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategyDao
TRANSFORM_CLUSTERREFERENCETAXONSTRATEGY, TRANSFORM_NONE, TRANSFORM_REMOTEREFERENCETAXONSTRATEGYFULLVO, TRANSFORM_REMOTEREFERENCETAXONSTRATEGYNATURALID
 
Constructor Summary
ReferenceTaxonStrategyDaoBase()
           
 
Method Summary
 void clusterReferenceTaxonStrategyToEntity(ClusterReferenceTaxonStrategy source, ReferenceTaxonStrategy target, boolean copyIfNull)
          Copies the fields of ClusterReferenceTaxonStrategy to the specified entity.
 void clusterReferenceTaxonStrategyToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type ClusterReferenceTaxonStrategy to this DAO's entity.
 java.util.Collection create(java.util.Collection entities)
          Creates a new instance of fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy and adds from the passed in entities collection
 java.util.Collection create(int transform, java.util.Collection entities)
           Does the same thing as ReferenceTaxonStrategyDao.create(fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy) with an additional flag called transform.
 java.lang.Object create(int transform, ReferenceTaxonStrategy referenceTaxonStrategy)
           Does the same thing as ReferenceTaxonStrategyDao.create(fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy) with an additional flag called transform.
 java.lang.Object create(int transform, ReferenceTaxon referenceTaxon, Strategy strategy)
           Does the same thing as ReferenceTaxonStrategyDao.create(fr.ifremer.allegro.referential.taxon.ReferenceTaxon,fr.ifremer.allegro.administration.programStrategy.Strategy) with an additional flag called transform.
 java.lang.Object create(int transform, java.lang.Short priorityLevel, ReferenceTaxon referenceTaxon, Strategy strategy)
           Does the same thing as ReferenceTaxonStrategyDao.create(java.lang.Short,fr.ifremer.allegro.referential.taxon.ReferenceTaxon,fr.ifremer.allegro.administration.programStrategy.Strategy) with an additional flag called transform.
 ReferenceTaxonStrategy create(ReferenceTaxonStrategy referenceTaxonStrategy)
          Creates an instance of fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy and adds it to the persistent store.
 ReferenceTaxonStrategy create(ReferenceTaxon referenceTaxon, Strategy strategy)
           Creates a new fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy instance from only required properties (attributes and association ends) and adds it to the persistent store.
 ReferenceTaxonStrategy create(java.lang.Short priorityLevel, ReferenceTaxon referenceTaxon, Strategy strategy)
           Creates a new fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy instance from all attributes and properties and adds it to the persistent store.
 ReferenceTaxonStrategy createFromClusterReferenceTaxonStrategy(ClusterReferenceTaxonStrategy clusterReferenceTaxonStrategy)
           
 java.lang.Object findReferenceTaxonStrategyByIdentifiers(int transform, ReferenceTaxon referenceTaxon, Strategy strategy)
           Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByIdentifiers(fr.ifremer.allegro.referential.taxon.ReferenceTaxon, fr.ifremer.allegro.administration.programStrategy.Strategy) with an additional flag called transform.
 java.lang.Object findReferenceTaxonStrategyByIdentifiers(int transform, java.lang.String queryString, ReferenceTaxon referenceTaxon, Strategy strategy)
           Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByIdentifiers(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon, fr.ifremer.allegro.administration.programStrategy.Strategy) with an additional argument called queryString.
 ReferenceTaxonStrategy findReferenceTaxonStrategyByIdentifiers(ReferenceTaxon referenceTaxon, Strategy strategy)
           
 ReferenceTaxonStrategy findReferenceTaxonStrategyByIdentifiers(java.lang.String queryString, ReferenceTaxon referenceTaxon, Strategy strategy)
           Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByIdentifiers(fr.ifremer.allegro.referential.taxon.ReferenceTaxon, fr.ifremer.allegro.administration.programStrategy.Strategy) with an additional argument called queryString.
 java.lang.Object findReferenceTaxonStrategyByNaturalId(int transform, ReferenceTaxon referenceTaxon, Strategy strategy)
           Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByNaturalId(fr.ifremer.allegro.referential.taxon.ReferenceTaxon, fr.ifremer.allegro.administration.programStrategy.Strategy) with an additional flag called transform.
 java.lang.Object findReferenceTaxonStrategyByNaturalId(int transform, java.lang.String queryString, ReferenceTaxon referenceTaxon, Strategy strategy)
           Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByNaturalId(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon, fr.ifremer.allegro.administration.programStrategy.Strategy) with an additional argument called queryString.
 ReferenceTaxonStrategy findReferenceTaxonStrategyByNaturalId(ReferenceTaxon referenceTaxon, Strategy strategy)
           
 ReferenceTaxonStrategy findReferenceTaxonStrategyByNaturalId(java.lang.String queryString, ReferenceTaxon referenceTaxon, Strategy strategy)
           Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByNaturalId(fr.ifremer.allegro.referential.taxon.ReferenceTaxon, fr.ifremer.allegro.administration.programStrategy.Strategy) with an additional argument called queryString.
 java.util.Collection findReferenceTaxonStrategyByReferenceTaxon(int transform, int pageNumber, int pageSize, ReferenceTaxon referenceTaxon)
           Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByReferenceTaxon(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findReferenceTaxonStrategyByReferenceTaxon(int pageNumber, int pageSize, ReferenceTaxon referenceTaxon)
           Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByReferenceTaxon(fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findReferenceTaxonStrategyByReferenceTaxon(int transform, ReferenceTaxon referenceTaxon)
           Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByReferenceTaxon(fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an additional flag called transform.
 java.util.Collection findReferenceTaxonStrategyByReferenceTaxon(int transform, java.lang.String queryString, int pageNumber, int pageSize, ReferenceTaxon referenceTaxon)
           Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByReferenceTaxon(int, String, fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findReferenceTaxonStrategyByReferenceTaxon(int transform, java.lang.String queryString, ReferenceTaxon referenceTaxon)
           Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByReferenceTaxon(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an additional argument called queryString.
 java.util.Collection findReferenceTaxonStrategyByReferenceTaxon(ReferenceTaxon referenceTaxon)
           
 java.util.Collection findReferenceTaxonStrategyByReferenceTaxon(java.lang.String queryString, int pageNumber, int pageSize, ReferenceTaxon referenceTaxon)
           Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByReferenceTaxon(String, fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findReferenceTaxonStrategyByReferenceTaxon(java.lang.String queryString, ReferenceTaxon referenceTaxon)
           Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByReferenceTaxon(fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an additional argument called queryString.
 java.util.Collection findReferenceTaxonStrategyByStrategy(int transform, int pageNumber, int pageSize, Strategy strategy)
           Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByStrategy(int, fr.ifremer.allegro.administration.programStrategy.Strategy) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findReferenceTaxonStrategyByStrategy(int pageNumber, int pageSize, Strategy strategy)
           Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByStrategy(fr.ifremer.allegro.administration.programStrategy.Strategy) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findReferenceTaxonStrategyByStrategy(int transform, Strategy strategy)
           Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByStrategy(fr.ifremer.allegro.administration.programStrategy.Strategy) with an additional flag called transform.
 java.util.Collection findReferenceTaxonStrategyByStrategy(int transform, java.lang.String queryString, int pageNumber, int pageSize, Strategy strategy)
           Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByStrategy(int, String, fr.ifremer.allegro.administration.programStrategy.Strategy) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findReferenceTaxonStrategyByStrategy(int transform, java.lang.String queryString, Strategy strategy)
           Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByStrategy(int, fr.ifremer.allegro.administration.programStrategy.Strategy) with an additional argument called queryString.
 java.util.Collection findReferenceTaxonStrategyByStrategy(Strategy strategy)
           
 java.util.Collection findReferenceTaxonStrategyByStrategy(java.lang.String queryString, int pageNumber, int pageSize, Strategy strategy)
           Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByStrategy(String, fr.ifremer.allegro.administration.programStrategy.Strategy) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findReferenceTaxonStrategyByStrategy(java.lang.String queryString, Strategy strategy)
           Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByStrategy(fr.ifremer.allegro.administration.programStrategy.Strategy) with an additional argument called queryString.
 java.util.Collection getAllReferenceTaxonStrategy()
           
 java.util.Collection getAllReferenceTaxonStrategy(int transform)
           Does the same thing as ReferenceTaxonStrategyDao.getAllReferenceTaxonStrategy() with an additional flag called transform.
 java.util.Collection getAllReferenceTaxonStrategy(int pageNumber, int pageSize)
           Does the same thing as ReferenceTaxonStrategyDao.getAllReferenceTaxonStrategy() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllReferenceTaxonStrategy(int transform, int pageNumber, int pageSize)
           Does the same thing as ReferenceTaxonStrategyDao.getAllReferenceTaxonStrategy(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllReferenceTaxonStrategy(int transform, java.lang.String queryString)
           Does the same thing as ReferenceTaxonStrategyDao.getAllReferenceTaxonStrategy(int) with an additional argument called queryString.
 java.util.Collection getAllReferenceTaxonStrategy(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as ReferenceTaxonStrategyDao.getAllReferenceTaxonStrategy(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllReferenceTaxonStrategy(java.lang.String queryString)
           Does the same thing as ReferenceTaxonStrategyDao.getAllReferenceTaxonStrategy() with an additional argument called queryString.
 java.util.Collection getAllReferenceTaxonStrategy(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as ReferenceTaxonStrategyDao.getAllReferenceTaxonStrategy(String) with an additional two arguments called pageNumber and pageSize.
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  StrategyDao getStrategyDao()
          Gets the reference to strategyDao.
protected abstract  ReferenceTaxonStrategy handleCreateFromClusterReferenceTaxonStrategy(ClusterReferenceTaxonStrategy clusterReferenceTaxonStrategy)
          Performs the core logic for createFromClusterReferenceTaxonStrategy(fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterReferenceTaxonStrategy)
 java.lang.Object load(int transform, ReferenceTaxon referenceTaxon, Strategy strategy)
           Does the same thing as ReferenceTaxonStrategyDao.load(fr.ifremer.allegro.referential.taxon.ReferenceTaxon,fr.ifremer.allegro.administration.programStrategy.Strategy) with an additional flag called transform.
 ReferenceTaxonStrategy load(ReferenceTaxon referenceTaxon, Strategy strategy)
          Loads an instance of fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy from the persistent store.
 java.util.Collection loadAll()
          Loads all entities of type ReferenceTaxonStrategy.
 java.util.Collection loadAll(int transform)
           Does the same thing as ReferenceTaxonStrategyDao.loadAll() with an additional flag called transform.
 java.util.Collection loadAll(int pageNumber, int pageSize)
           Does the same thing as ReferenceTaxonStrategyDao.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 ReferenceTaxonStrategyDao.loadAll(int) with an additional two arguments called pageNumber and pageSize.
 void remoteReferenceTaxonStrategyFullVOToEntity(RemoteReferenceTaxonStrategyFullVO source, ReferenceTaxonStrategy target, boolean copyIfNull)
          Copies the fields of RemoteReferenceTaxonStrategyFullVO to the specified entity.
 void remoteReferenceTaxonStrategyFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteReferenceTaxonStrategyFullVO to this DAO's entity.
 void remoteReferenceTaxonStrategyNaturalIdToEntity(RemoteReferenceTaxonStrategyNaturalId source, ReferenceTaxonStrategy target, boolean copyIfNull)
          Copies the fields of RemoteReferenceTaxonStrategyNaturalId to the specified entity.
 void remoteReferenceTaxonStrategyNaturalIdToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteReferenceTaxonStrategyNaturalId to this DAO's entity.
 void remove(java.util.Collection entities)
          Removes all entities in the given entities collection.
 void remove(ReferenceTaxonStrategy referenceTaxonStrategy)
          Removes the instance of fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy from the persistent store.
 void remove(ReferenceTaxon referenceTaxon, Strategy strategy)
          Removes the instance of fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy having the given identifiers 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 ReferenceTaxonStrategyDao.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 setStrategyDao(StrategyDao strategyDao)
          Sets the reference to strategyDao.
protected  ClusterReferenceTaxonStrategy toClusterReferenceTaxonStrategy(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 ClusterReferenceTaxonStrategy toClusterReferenceTaxonStrategy(ReferenceTaxonStrategy entity)
          Converts this DAO's entity to an object of type ClusterReferenceTaxonStrategy.
 void toClusterReferenceTaxonStrategy(ReferenceTaxonStrategy source, ClusterReferenceTaxonStrategy target)
          Copies the fields of the specified entity to the target value object.
 ClusterReferenceTaxonStrategy[] toClusterReferenceTaxonStrategyArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type ClusterReferenceTaxonStrategy.
 void toClusterReferenceTaxonStrategyCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type ClusterReferenceTaxonStrategy.
protected  ReferenceTaxonStrategy toEntity(java.lang.Object[] row)
           
protected  RemoteReferenceTaxonStrategyFullVO toRemoteReferenceTaxonStrategyFullVO(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteReferenceTaxonStrategyFullVO toRemoteReferenceTaxonStrategyFullVO(ReferenceTaxonStrategy entity)
          Converts this DAO's entity to an object of type RemoteReferenceTaxonStrategyFullVO.
 void toRemoteReferenceTaxonStrategyFullVO(ReferenceTaxonStrategy source, RemoteReferenceTaxonStrategyFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteReferenceTaxonStrategyFullVO[] toRemoteReferenceTaxonStrategyFullVOArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteReferenceTaxonStrategyFullVO.
 void toRemoteReferenceTaxonStrategyFullVOCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteReferenceTaxonStrategyFullVO.
protected  RemoteReferenceTaxonStrategyNaturalId toRemoteReferenceTaxonStrategyNaturalId(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteReferenceTaxonStrategyNaturalId toRemoteReferenceTaxonStrategyNaturalId(ReferenceTaxonStrategy entity)
          Converts this DAO's entity to an object of type RemoteReferenceTaxonStrategyNaturalId.
 void toRemoteReferenceTaxonStrategyNaturalId(ReferenceTaxonStrategy source, RemoteReferenceTaxonStrategyNaturalId target)
          Copies the fields of the specified entity to the target value object.
 RemoteReferenceTaxonStrategyNaturalId[] toRemoteReferenceTaxonStrategyNaturalIdArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteReferenceTaxonStrategyNaturalId.
 void toRemoteReferenceTaxonStrategyNaturalIdCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteReferenceTaxonStrategyNaturalId.
protected  void transformEntities(int transform, java.util.Collection entities)
          Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy) method.
protected  java.lang.Object transformEntity(int transform, ReferenceTaxonStrategy 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.administration.programStrategy.ReferenceTaxonStrategyDao, please note that the ReferenceTaxonStrategyDao.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(ReferenceTaxonStrategy referenceTaxonStrategy)
          Updates the referenceTaxonStrategy 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.administration.programStrategy.ReferenceTaxonStrategyDao
clusterReferenceTaxonStrategyToEntity, remoteReferenceTaxonStrategyFullVOToEntity, remoteReferenceTaxonStrategyNaturalIdToEntity
 

Constructor Detail

ReferenceTaxonStrategyDaoBase

public ReferenceTaxonStrategyDaoBase()
Method Detail

setReferenceTaxonDao

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


getReferenceTaxonDao

protected ReferenceTaxonDao getReferenceTaxonDao()
Gets the reference to referenceTaxonDao.


setStrategyDao

public void setStrategyDao(StrategyDao strategyDao)
Sets the reference to strategyDao.


getStrategyDao

protected StrategyDao getStrategyDao()
Gets the reference to strategyDao.


load

public java.lang.Object load(int transform,
                             ReferenceTaxon referenceTaxon,
                             Strategy strategy)
Description copied from interface: ReferenceTaxonStrategyDao

Does the same thing as ReferenceTaxonStrategyDao.load(fr.ifremer.allegro.referential.taxon.ReferenceTaxon,fr.ifremer.allegro.administration.programStrategy.Strategy) 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 ReferenceTaxonStrategyDao
referenceTaxon - identifier of the entity to load
strategy - identifier of the entity to load
Returns:
either the entity or the object transformed from the entity.
See Also:
ReferenceTaxonStrategyDao.load(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon,fr.ifremer.allegro.administration.programStrategy.Strategy)

load

public ReferenceTaxonStrategy load(ReferenceTaxon referenceTaxon,
                                   Strategy strategy)
Description copied from interface: ReferenceTaxonStrategyDao
Loads an instance of fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy from the persistent store.

Specified by:
load in interface ReferenceTaxonStrategyDao
See Also:
ReferenceTaxonStrategyDao.load(fr.ifremer.allegro.referential.taxon.ReferenceTaxon,fr.ifremer.allegro.administration.programStrategy.Strategy)

loadAll

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

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

loadAll

public java.util.Collection loadAll(int transform)
Description copied from interface: ReferenceTaxonStrategyDao

Does the same thing as ReferenceTaxonStrategyDao.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 ReferenceTaxonStrategyDao
Parameters:
transform - the flag indicating what transformation to use.
Returns:
the loaded entities.
See Also:
ReferenceTaxonStrategyDao.loadAll(int)

loadAll

public java.util.Collection loadAll(int pageNumber,
                                    int pageSize)
Description copied from interface: ReferenceTaxonStrategyDao

Does the same thing as ReferenceTaxonStrategyDao.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 ReferenceTaxonStrategyDao
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:
ReferenceTaxonStrategyDao.loadAll(int, int)

loadAll

public java.util.Collection loadAll(int transform,
                                    int pageNumber,
                                    int pageSize)
Description copied from interface: ReferenceTaxonStrategyDao

Does the same thing as ReferenceTaxonStrategyDao.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 ReferenceTaxonStrategyDao
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:
ReferenceTaxonStrategyDao.loadAll(int, int, int)

create

public ReferenceTaxonStrategy create(ReferenceTaxonStrategy referenceTaxonStrategy)
Description copied from interface: ReferenceTaxonStrategyDao
Creates an instance of fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy and adds it to the persistent store.

Specified by:
create in interface ReferenceTaxonStrategyDao
See Also:
ReferenceTaxonStrategyDao.create(fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy)

create

public java.lang.Object create(int transform,
                               ReferenceTaxonStrategy referenceTaxonStrategy)
Description copied from interface: ReferenceTaxonStrategyDao

Does the same thing as ReferenceTaxonStrategyDao.create(fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy) 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 ReferenceTaxonStrategyDao
See Also:
ReferenceTaxonStrategyDao.create(int transform, fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy)

create

public java.util.Collection create(java.util.Collection entities)
Description copied from interface: ReferenceTaxonStrategyDao
Creates a new instance of fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy and adds from the passed in entities collection

Specified by:
create in interface ReferenceTaxonStrategyDao
Parameters:
entities - the collection of fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy instances to create.
Returns:
the created instances.
See Also:
ReferenceTaxonStrategyDao.create(java.util.Collection)

create

public java.util.Collection create(int transform,
                                   java.util.Collection entities)
Description copied from interface: ReferenceTaxonStrategyDao

Does the same thing as ReferenceTaxonStrategyDao.create(fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy) 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 ReferenceTaxonStrategyDao
See Also:
ReferenceTaxonStrategyDao.create(int, java.util.Collection)

create

public ReferenceTaxonStrategy create(java.lang.Short priorityLevel,
                                     ReferenceTaxon referenceTaxon,
                                     Strategy strategy)
Description copied from interface: ReferenceTaxonStrategyDao

Creates a new fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy instance from all attributes and properties and adds it to the persistent store.

Specified by:
create in interface ReferenceTaxonStrategyDao
See Also:
ReferenceTaxonStrategyDao.create(java.lang.Short,fr.ifremer.allegro.referential.taxon.ReferenceTaxon,fr.ifremer.allegro.administration.programStrategy.Strategy)

create

public java.lang.Object create(int transform,
                               java.lang.Short priorityLevel,
                               ReferenceTaxon referenceTaxon,
                               Strategy strategy)
Description copied from interface: ReferenceTaxonStrategyDao

Does the same thing as ReferenceTaxonStrategyDao.create(java.lang.Short,fr.ifremer.allegro.referential.taxon.ReferenceTaxon,fr.ifremer.allegro.administration.programStrategy.Strategy) 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 ReferenceTaxonStrategyDao
See Also:
ReferenceTaxonStrategyDao.create(int, java.lang.Short,fr.ifremer.allegro.referential.taxon.ReferenceTaxon,fr.ifremer.allegro.administration.programStrategy.Strategy)

create

public ReferenceTaxonStrategy create(ReferenceTaxon referenceTaxon,
                                     Strategy strategy)
Description copied from interface: ReferenceTaxonStrategyDao

Creates a new fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy instance from only required properties (attributes and association ends) and adds it to the persistent store.

Specified by:
create in interface ReferenceTaxonStrategyDao
See Also:
ReferenceTaxonStrategyDao.create(fr.ifremer.allegro.referential.taxon.ReferenceTaxon,fr.ifremer.allegro.administration.programStrategy.Strategy)

create

public java.lang.Object create(int transform,
                               ReferenceTaxon referenceTaxon,
                               Strategy strategy)
Description copied from interface: ReferenceTaxonStrategyDao

Does the same thing as ReferenceTaxonStrategyDao.create(fr.ifremer.allegro.referential.taxon.ReferenceTaxon,fr.ifremer.allegro.administration.programStrategy.Strategy) 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 ReferenceTaxonStrategyDao
See Also:
ReferenceTaxonStrategyDao.create(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon,fr.ifremer.allegro.administration.programStrategy.Strategy)

update

public void update(ReferenceTaxonStrategy referenceTaxonStrategy)
Description copied from interface: ReferenceTaxonStrategyDao
Updates the referenceTaxonStrategy instance in the persistent store.

Specified by:
update in interface ReferenceTaxonStrategyDao
See Also:
ReferenceTaxonStrategyDao.update(fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy)

update

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

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

remove

public void remove(ReferenceTaxonStrategy referenceTaxonStrategy)
Description copied from interface: ReferenceTaxonStrategyDao
Removes the instance of fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy from the persistent store.

Specified by:
remove in interface ReferenceTaxonStrategyDao
See Also:
ReferenceTaxonStrategyDao.remove(fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy)

remove

public void remove(ReferenceTaxon referenceTaxon,
                   Strategy strategy)
Description copied from interface: ReferenceTaxonStrategyDao
Removes the instance of fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy having the given identifiers from the persistent store.

Specified by:
remove in interface ReferenceTaxonStrategyDao
See Also:
ReferenceTaxonStrategyDao.remove(fr.ifremer.allegro.referential.taxon.ReferenceTaxon,fr.ifremer.allegro.administration.programStrategy.Strategy)

remove

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

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

getAllReferenceTaxonStrategy

public java.util.Collection getAllReferenceTaxonStrategy()
Specified by:
getAllReferenceTaxonStrategy in interface ReferenceTaxonStrategyDao
See Also:
ReferenceTaxonStrategyDao.getAllReferenceTaxonStrategy()

getAllReferenceTaxonStrategy

public java.util.Collection getAllReferenceTaxonStrategy(int transform)
Description copied from interface: ReferenceTaxonStrategyDao

Does the same thing as ReferenceTaxonStrategyDao.getAllReferenceTaxonStrategy() 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:
getAllReferenceTaxonStrategy in interface ReferenceTaxonStrategyDao
See Also:
ReferenceTaxonStrategyDao.getAllReferenceTaxonStrategy(int)

getAllReferenceTaxonStrategy

public java.util.Collection getAllReferenceTaxonStrategy(java.lang.String queryString)
Description copied from interface: ReferenceTaxonStrategyDao

Does the same thing as ReferenceTaxonStrategyDao.getAllReferenceTaxonStrategy() with an additional argument called queryString. This queryString argument allows you to override the query string defined in ReferenceTaxonStrategyDao.getAllReferenceTaxonStrategy().

Specified by:
getAllReferenceTaxonStrategy in interface ReferenceTaxonStrategyDao
See Also:
ReferenceTaxonStrategyDao.getAllReferenceTaxonStrategy(java.lang.String)

getAllReferenceTaxonStrategy

public java.util.Collection getAllReferenceTaxonStrategy(int pageNumber,
                                                         int pageSize)
Description copied from interface: ReferenceTaxonStrategyDao

Does the same thing as ReferenceTaxonStrategyDao.getAllReferenceTaxonStrategy() 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:
getAllReferenceTaxonStrategy in interface ReferenceTaxonStrategyDao
See Also:
ReferenceTaxonStrategyDao.getAllReferenceTaxonStrategy(int, int)

getAllReferenceTaxonStrategy

public java.util.Collection getAllReferenceTaxonStrategy(java.lang.String queryString,
                                                         int pageNumber,
                                                         int pageSize)
Description copied from interface: ReferenceTaxonStrategyDao

Does the same thing as ReferenceTaxonStrategyDao.getAllReferenceTaxonStrategy(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:
getAllReferenceTaxonStrategy in interface ReferenceTaxonStrategyDao
See Also:
ReferenceTaxonStrategyDao.getAllReferenceTaxonStrategy(String, int, int)

getAllReferenceTaxonStrategy

public java.util.Collection getAllReferenceTaxonStrategy(int transform,
                                                         java.lang.String queryString)
Description copied from interface: ReferenceTaxonStrategyDao

Does the same thing as ReferenceTaxonStrategyDao.getAllReferenceTaxonStrategy(int) with an additional argument called queryString. This queryString argument allows you to override the query string defined in ReferenceTaxonStrategyDao.getAllReferenceTaxonStrategy(int).

Specified by:
getAllReferenceTaxonStrategy in interface ReferenceTaxonStrategyDao
See Also:
ReferenceTaxonStrategyDao.getAllReferenceTaxonStrategy(int, String)

getAllReferenceTaxonStrategy

public java.util.Collection getAllReferenceTaxonStrategy(int transform,
                                                         int pageNumber,
                                                         int pageSize)
Description copied from interface: ReferenceTaxonStrategyDao

Does the same thing as ReferenceTaxonStrategyDao.getAllReferenceTaxonStrategy(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:
getAllReferenceTaxonStrategy in interface ReferenceTaxonStrategyDao
See Also:
ReferenceTaxonStrategyDao.getAllReferenceTaxonStrategy(int, int, int)

getAllReferenceTaxonStrategy

public java.util.Collection getAllReferenceTaxonStrategy(int transform,
                                                         java.lang.String queryString,
                                                         int pageNumber,
                                                         int pageSize)
Description copied from interface: ReferenceTaxonStrategyDao

Does the same thing as ReferenceTaxonStrategyDao.getAllReferenceTaxonStrategy(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:
getAllReferenceTaxonStrategy in interface ReferenceTaxonStrategyDao
See Also:
ReferenceTaxonStrategyDao.getAllReferenceTaxonStrategy(int, java.lang.String, int, int)

findReferenceTaxonStrategyByReferenceTaxon

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

findReferenceTaxonStrategyByReferenceTaxon

public java.util.Collection findReferenceTaxonStrategyByReferenceTaxon(int transform,
                                                                       ReferenceTaxon referenceTaxon)
Description copied from interface: ReferenceTaxonStrategyDao

Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByReferenceTaxon(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:
findReferenceTaxonStrategyByReferenceTaxon in interface ReferenceTaxonStrategyDao
See Also:
ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByReferenceTaxon(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)

findReferenceTaxonStrategyByReferenceTaxon

public java.util.Collection findReferenceTaxonStrategyByReferenceTaxon(java.lang.String queryString,
                                                                       ReferenceTaxon referenceTaxon)
Description copied from interface: ReferenceTaxonStrategyDao

Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByReferenceTaxon(fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an additional argument called queryString. This queryString argument allows you to override the query string defined in ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByReferenceTaxon(fr.ifremer.allegro.referential.taxon.ReferenceTaxon).

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

findReferenceTaxonStrategyByReferenceTaxon

public java.util.Collection findReferenceTaxonStrategyByReferenceTaxon(int pageNumber,
                                                                       int pageSize,
                                                                       ReferenceTaxon referenceTaxon)
Description copied from interface: ReferenceTaxonStrategyDao

Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByReferenceTaxon(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:
findReferenceTaxonStrategyByReferenceTaxon in interface ReferenceTaxonStrategyDao
See Also:
ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByReferenceTaxon(int, int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)

findReferenceTaxonStrategyByReferenceTaxon

public java.util.Collection findReferenceTaxonStrategyByReferenceTaxon(java.lang.String queryString,
                                                                       int pageNumber,
                                                                       int pageSize,
                                                                       ReferenceTaxon referenceTaxon)
Description copied from interface: ReferenceTaxonStrategyDao

Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByReferenceTaxon(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:
findReferenceTaxonStrategyByReferenceTaxon in interface ReferenceTaxonStrategyDao
See Also:
ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByReferenceTaxon(String, int, int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)

findReferenceTaxonStrategyByReferenceTaxon

public java.util.Collection findReferenceTaxonStrategyByReferenceTaxon(int transform,
                                                                       java.lang.String queryString,
                                                                       ReferenceTaxon referenceTaxon)
Description copied from interface: ReferenceTaxonStrategyDao

Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByReferenceTaxon(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 ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByReferenceTaxon(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon referenceTaxon).

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

findReferenceTaxonStrategyByReferenceTaxon

public java.util.Collection findReferenceTaxonStrategyByReferenceTaxon(int transform,
                                                                       int pageNumber,
                                                                       int pageSize,
                                                                       ReferenceTaxon referenceTaxon)
Description copied from interface: ReferenceTaxonStrategyDao

Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByReferenceTaxon(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:
findReferenceTaxonStrategyByReferenceTaxon in interface ReferenceTaxonStrategyDao
See Also:
ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByReferenceTaxon(int, int, int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)

findReferenceTaxonStrategyByReferenceTaxon

public java.util.Collection findReferenceTaxonStrategyByReferenceTaxon(int transform,
                                                                       java.lang.String queryString,
                                                                       int pageNumber,
                                                                       int pageSize,
                                                                       ReferenceTaxon referenceTaxon)
Description copied from interface: ReferenceTaxonStrategyDao

Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByReferenceTaxon(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:
findReferenceTaxonStrategyByReferenceTaxon in interface ReferenceTaxonStrategyDao
See Also:
ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByReferenceTaxon(int, java.lang.String, int, int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)

findReferenceTaxonStrategyByStrategy

public java.util.Collection findReferenceTaxonStrategyByStrategy(Strategy strategy)
Specified by:
findReferenceTaxonStrategyByStrategy in interface ReferenceTaxonStrategyDao
See Also:
ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByStrategy(fr.ifremer.allegro.administration.programStrategy.Strategy)

findReferenceTaxonStrategyByStrategy

public java.util.Collection findReferenceTaxonStrategyByStrategy(int transform,
                                                                 Strategy strategy)
Description copied from interface: ReferenceTaxonStrategyDao

Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByStrategy(fr.ifremer.allegro.administration.programStrategy.Strategy) 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:
findReferenceTaxonStrategyByStrategy in interface ReferenceTaxonStrategyDao
See Also:
ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByStrategy(int, fr.ifremer.allegro.administration.programStrategy.Strategy)

findReferenceTaxonStrategyByStrategy

public java.util.Collection findReferenceTaxonStrategyByStrategy(java.lang.String queryString,
                                                                 Strategy strategy)
Description copied from interface: ReferenceTaxonStrategyDao

Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByStrategy(fr.ifremer.allegro.administration.programStrategy.Strategy) with an additional argument called queryString. This queryString argument allows you to override the query string defined in ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByStrategy(fr.ifremer.allegro.administration.programStrategy.Strategy).

Specified by:
findReferenceTaxonStrategyByStrategy in interface ReferenceTaxonStrategyDao
See Also:
ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByStrategy(java.lang.String, fr.ifremer.allegro.administration.programStrategy.Strategy)

findReferenceTaxonStrategyByStrategy

public java.util.Collection findReferenceTaxonStrategyByStrategy(int pageNumber,
                                                                 int pageSize,
                                                                 Strategy strategy)
Description copied from interface: ReferenceTaxonStrategyDao

Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByStrategy(fr.ifremer.allegro.administration.programStrategy.Strategy) 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:
findReferenceTaxonStrategyByStrategy in interface ReferenceTaxonStrategyDao
See Also:
ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByStrategy(int, int, fr.ifremer.allegro.administration.programStrategy.Strategy)

findReferenceTaxonStrategyByStrategy

public java.util.Collection findReferenceTaxonStrategyByStrategy(java.lang.String queryString,
                                                                 int pageNumber,
                                                                 int pageSize,
                                                                 Strategy strategy)
Description copied from interface: ReferenceTaxonStrategyDao

Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByStrategy(String, fr.ifremer.allegro.administration.programStrategy.Strategy) 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:
findReferenceTaxonStrategyByStrategy in interface ReferenceTaxonStrategyDao
See Also:
ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByStrategy(String, int, int, fr.ifremer.allegro.administration.programStrategy.Strategy)

findReferenceTaxonStrategyByStrategy

public java.util.Collection findReferenceTaxonStrategyByStrategy(int transform,
                                                                 java.lang.String queryString,
                                                                 Strategy strategy)
Description copied from interface: ReferenceTaxonStrategyDao

Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByStrategy(int, fr.ifremer.allegro.administration.programStrategy.Strategy) with an additional argument called queryString. This queryString argument allows you to override the query string defined in ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByStrategy(int, fr.ifremer.allegro.administration.programStrategy.Strategy strategy).

Specified by:
findReferenceTaxonStrategyByStrategy in interface ReferenceTaxonStrategyDao
See Also:
ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByStrategy(int, String, fr.ifremer.allegro.administration.programStrategy.Strategy)

findReferenceTaxonStrategyByStrategy

public java.util.Collection findReferenceTaxonStrategyByStrategy(int transform,
                                                                 int pageNumber,
                                                                 int pageSize,
                                                                 Strategy strategy)
Description copied from interface: ReferenceTaxonStrategyDao

Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByStrategy(int, fr.ifremer.allegro.administration.programStrategy.Strategy) 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:
findReferenceTaxonStrategyByStrategy in interface ReferenceTaxonStrategyDao
See Also:
ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByStrategy(int, int, int, fr.ifremer.allegro.administration.programStrategy.Strategy)

findReferenceTaxonStrategyByStrategy

public java.util.Collection findReferenceTaxonStrategyByStrategy(int transform,
                                                                 java.lang.String queryString,
                                                                 int pageNumber,
                                                                 int pageSize,
                                                                 Strategy strategy)
Description copied from interface: ReferenceTaxonStrategyDao

Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByStrategy(int, String, fr.ifremer.allegro.administration.programStrategy.Strategy) 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:
findReferenceTaxonStrategyByStrategy in interface ReferenceTaxonStrategyDao
See Also:
ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByStrategy(int, java.lang.String, int, int, fr.ifremer.allegro.administration.programStrategy.Strategy)

findReferenceTaxonStrategyByIdentifiers

public ReferenceTaxonStrategy findReferenceTaxonStrategyByIdentifiers(ReferenceTaxon referenceTaxon,
                                                                      Strategy strategy)
Specified by:
findReferenceTaxonStrategyByIdentifiers in interface ReferenceTaxonStrategyDao
See Also:
ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByIdentifiers(fr.ifremer.allegro.referential.taxon.ReferenceTaxon, fr.ifremer.allegro.administration.programStrategy.Strategy)

findReferenceTaxonStrategyByIdentifiers

public java.lang.Object findReferenceTaxonStrategyByIdentifiers(int transform,
                                                                ReferenceTaxon referenceTaxon,
                                                                Strategy strategy)
Description copied from interface: ReferenceTaxonStrategyDao

Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByIdentifiers(fr.ifremer.allegro.referential.taxon.ReferenceTaxon, fr.ifremer.allegro.administration.programStrategy.Strategy) 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:
findReferenceTaxonStrategyByIdentifiers in interface ReferenceTaxonStrategyDao
See Also:
ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByIdentifiers(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon, fr.ifremer.allegro.administration.programStrategy.Strategy)

findReferenceTaxonStrategyByIdentifiers

public ReferenceTaxonStrategy findReferenceTaxonStrategyByIdentifiers(java.lang.String queryString,
                                                                      ReferenceTaxon referenceTaxon,
                                                                      Strategy strategy)
Description copied from interface: ReferenceTaxonStrategyDao

Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByIdentifiers(fr.ifremer.allegro.referential.taxon.ReferenceTaxon, fr.ifremer.allegro.administration.programStrategy.Strategy) with an additional argument called queryString. This queryString argument allows you to override the query string defined in ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByIdentifiers(fr.ifremer.allegro.referential.taxon.ReferenceTaxon, fr.ifremer.allegro.administration.programStrategy.Strategy).

Specified by:
findReferenceTaxonStrategyByIdentifiers in interface ReferenceTaxonStrategyDao
See Also:
ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByIdentifiers(java.lang.String, fr.ifremer.allegro.referential.taxon.ReferenceTaxon, fr.ifremer.allegro.administration.programStrategy.Strategy)

findReferenceTaxonStrategyByIdentifiers

public java.lang.Object findReferenceTaxonStrategyByIdentifiers(int transform,
                                                                java.lang.String queryString,
                                                                ReferenceTaxon referenceTaxon,
                                                                Strategy strategy)
Description copied from interface: ReferenceTaxonStrategyDao

Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByIdentifiers(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon, fr.ifremer.allegro.administration.programStrategy.Strategy) with an additional argument called queryString. This queryString argument allows you to override the query string defined in ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByIdentifiers(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon referenceTaxon, fr.ifremer.allegro.administration.programStrategy.Strategy strategy).

Specified by:
findReferenceTaxonStrategyByIdentifiers in interface ReferenceTaxonStrategyDao
See Also:
ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByIdentifiers(int, java.lang.String, fr.ifremer.allegro.referential.taxon.ReferenceTaxon, fr.ifremer.allegro.administration.programStrategy.Strategy)

findReferenceTaxonStrategyByNaturalId

public ReferenceTaxonStrategy findReferenceTaxonStrategyByNaturalId(ReferenceTaxon referenceTaxon,
                                                                    Strategy strategy)
Specified by:
findReferenceTaxonStrategyByNaturalId in interface ReferenceTaxonStrategyDao
See Also:
ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByNaturalId(fr.ifremer.allegro.referential.taxon.ReferenceTaxon, fr.ifremer.allegro.administration.programStrategy.Strategy)

findReferenceTaxonStrategyByNaturalId

public java.lang.Object findReferenceTaxonStrategyByNaturalId(int transform,
                                                              ReferenceTaxon referenceTaxon,
                                                              Strategy strategy)
Description copied from interface: ReferenceTaxonStrategyDao

Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByNaturalId(fr.ifremer.allegro.referential.taxon.ReferenceTaxon, fr.ifremer.allegro.administration.programStrategy.Strategy) 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:
findReferenceTaxonStrategyByNaturalId in interface ReferenceTaxonStrategyDao
See Also:
ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByNaturalId(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon, fr.ifremer.allegro.administration.programStrategy.Strategy)

findReferenceTaxonStrategyByNaturalId

public ReferenceTaxonStrategy findReferenceTaxonStrategyByNaturalId(java.lang.String queryString,
                                                                    ReferenceTaxon referenceTaxon,
                                                                    Strategy strategy)
Description copied from interface: ReferenceTaxonStrategyDao

Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByNaturalId(fr.ifremer.allegro.referential.taxon.ReferenceTaxon, fr.ifremer.allegro.administration.programStrategy.Strategy) with an additional argument called queryString. This queryString argument allows you to override the query string defined in ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByNaturalId(fr.ifremer.allegro.referential.taxon.ReferenceTaxon, fr.ifremer.allegro.administration.programStrategy.Strategy).

Specified by:
findReferenceTaxonStrategyByNaturalId in interface ReferenceTaxonStrategyDao
See Also:
ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByNaturalId(java.lang.String, fr.ifremer.allegro.referential.taxon.ReferenceTaxon, fr.ifremer.allegro.administration.programStrategy.Strategy)

findReferenceTaxonStrategyByNaturalId

public java.lang.Object findReferenceTaxonStrategyByNaturalId(int transform,
                                                              java.lang.String queryString,
                                                              ReferenceTaxon referenceTaxon,
                                                              Strategy strategy)
Description copied from interface: ReferenceTaxonStrategyDao

Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByNaturalId(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon, fr.ifremer.allegro.administration.programStrategy.Strategy) with an additional argument called queryString. This queryString argument allows you to override the query string defined in ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByNaturalId(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon referenceTaxon, fr.ifremer.allegro.administration.programStrategy.Strategy strategy).

Specified by:
findReferenceTaxonStrategyByNaturalId in interface ReferenceTaxonStrategyDao
See Also:
ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByNaturalId(int, java.lang.String, fr.ifremer.allegro.referential.taxon.ReferenceTaxon, fr.ifremer.allegro.administration.programStrategy.Strategy)

createFromClusterReferenceTaxonStrategy

public ReferenceTaxonStrategy createFromClusterReferenceTaxonStrategy(ClusterReferenceTaxonStrategy clusterReferenceTaxonStrategy)
Specified by:
createFromClusterReferenceTaxonStrategy in interface ReferenceTaxonStrategyDao
See Also:
ReferenceTaxonStrategyDao.createFromClusterReferenceTaxonStrategy(fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterReferenceTaxonStrategy)

handleCreateFromClusterReferenceTaxonStrategy

protected abstract ReferenceTaxonStrategy handleCreateFromClusterReferenceTaxonStrategy(ClusterReferenceTaxonStrategy clusterReferenceTaxonStrategy)
                                                                                 throws java.lang.Exception
Performs the core logic for createFromClusterReferenceTaxonStrategy(fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterReferenceTaxonStrategy)

Throws:
java.lang.Exception

transformEntity

protected java.lang.Object transformEntity(int transform,
                                           ReferenceTaxonStrategy 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.administration.programStrategy.ReferenceTaxonStrategyDao, please note that the ReferenceTaxonStrategyDao.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 ReferenceTaxonStrategyDao.TRANSFORM_NONE is assumed.

Parameters:
transform - one of the constants declared in ReferenceTaxonStrategyDao
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.administration.programStrategy.ReferenceTaxonStrategy) 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.administration.programStrategy.ReferenceTaxonStrategyDao
entities - the collection of entities to transform
See Also:
transformEntity(int,fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy)

toEntity

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

toRemoteReferenceTaxonStrategyFullVOCollection

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

Specified by:
toRemoteReferenceTaxonStrategyFullVOCollection in interface ReferenceTaxonStrategyDao
See Also:
ReferenceTaxonStrategyDao.toRemoteReferenceTaxonStrategyFullVOCollection(java.util.Collection)

toRemoteReferenceTaxonStrategyFullVOArray

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

Specified by:
toRemoteReferenceTaxonStrategyFullVOArray in interface ReferenceTaxonStrategyDao
See Also:
ReferenceTaxonStrategyDao.toRemoteReferenceTaxonStrategyFullVOArray(java.util.Collection)

toRemoteReferenceTaxonStrategyFullVO

protected RemoteReferenceTaxonStrategyFullVO toRemoteReferenceTaxonStrategyFullVO(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 ReferenceTaxonStrategyDaoImpl class if you intend to use reporting queries.

See Also:
ReferenceTaxonStrategyDao.toRemoteReferenceTaxonStrategyFullVO(fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy)

remoteReferenceTaxonStrategyFullVOToEntityCollection

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

Specified by:
remoteReferenceTaxonStrategyFullVOToEntityCollection in interface ReferenceTaxonStrategyDao
See Also:
ReferenceTaxonStrategyDao.remoteReferenceTaxonStrategyFullVOToEntityCollection(java.util.Collection)

toRemoteReferenceTaxonStrategyFullVO

public void toRemoteReferenceTaxonStrategyFullVO(ReferenceTaxonStrategy source,
                                                 RemoteReferenceTaxonStrategyFullVO target)
Description copied from interface: ReferenceTaxonStrategyDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteReferenceTaxonStrategyFullVO(), 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:
toRemoteReferenceTaxonStrategyFullVO in interface ReferenceTaxonStrategyDao
See Also:
ReferenceTaxonStrategyDao.toRemoteReferenceTaxonStrategyFullVO(fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy, fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteReferenceTaxonStrategyFullVO)

toRemoteReferenceTaxonStrategyFullVO

public RemoteReferenceTaxonStrategyFullVO toRemoteReferenceTaxonStrategyFullVO(ReferenceTaxonStrategy entity)
Description copied from interface: ReferenceTaxonStrategyDao
Converts this DAO's entity to an object of type RemoteReferenceTaxonStrategyFullVO.

Specified by:
toRemoteReferenceTaxonStrategyFullVO in interface ReferenceTaxonStrategyDao
See Also:
ReferenceTaxonStrategyDao.toRemoteReferenceTaxonStrategyFullVO(fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy)

remoteReferenceTaxonStrategyFullVOToEntity

public void remoteReferenceTaxonStrategyFullVOToEntity(RemoteReferenceTaxonStrategyFullVO source,
                                                       ReferenceTaxonStrategy target,
                                                       boolean copyIfNull)
Description copied from interface: ReferenceTaxonStrategyDao
Copies the fields of RemoteReferenceTaxonStrategyFullVO to the specified entity.

Specified by:
remoteReferenceTaxonStrategyFullVOToEntity in interface ReferenceTaxonStrategyDao
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.administration.programStrategy.ReferenceTaxonStrategyDao#remoteReferenceTaxonStrategyFullVOToEntity(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteReferenceTaxonStrategyFullVO, fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy)

toRemoteReferenceTaxonStrategyNaturalIdCollection

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

Specified by:
toRemoteReferenceTaxonStrategyNaturalIdCollection in interface ReferenceTaxonStrategyDao
See Also:
ReferenceTaxonStrategyDao.toRemoteReferenceTaxonStrategyNaturalIdCollection(java.util.Collection)

toRemoteReferenceTaxonStrategyNaturalIdArray

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

Specified by:
toRemoteReferenceTaxonStrategyNaturalIdArray in interface ReferenceTaxonStrategyDao
See Also:
ReferenceTaxonStrategyDao.toRemoteReferenceTaxonStrategyNaturalIdArray(java.util.Collection)

toRemoteReferenceTaxonStrategyNaturalId

protected RemoteReferenceTaxonStrategyNaturalId toRemoteReferenceTaxonStrategyNaturalId(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 ReferenceTaxonStrategyDaoImpl class if you intend to use reporting queries.

See Also:
ReferenceTaxonStrategyDao.toRemoteReferenceTaxonStrategyNaturalId(fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy)

remoteReferenceTaxonStrategyNaturalIdToEntityCollection

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

Specified by:
remoteReferenceTaxonStrategyNaturalIdToEntityCollection in interface ReferenceTaxonStrategyDao
See Also:
ReferenceTaxonStrategyDao.remoteReferenceTaxonStrategyNaturalIdToEntityCollection(java.util.Collection)

toRemoteReferenceTaxonStrategyNaturalId

public void toRemoteReferenceTaxonStrategyNaturalId(ReferenceTaxonStrategy source,
                                                    RemoteReferenceTaxonStrategyNaturalId target)
Description copied from interface: ReferenceTaxonStrategyDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteReferenceTaxonStrategyNaturalId(), 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:
toRemoteReferenceTaxonStrategyNaturalId in interface ReferenceTaxonStrategyDao
See Also:
ReferenceTaxonStrategyDao.toRemoteReferenceTaxonStrategyNaturalId(fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy, fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteReferenceTaxonStrategyNaturalId)

toRemoteReferenceTaxonStrategyNaturalId

public RemoteReferenceTaxonStrategyNaturalId toRemoteReferenceTaxonStrategyNaturalId(ReferenceTaxonStrategy entity)
Description copied from interface: ReferenceTaxonStrategyDao
Converts this DAO's entity to an object of type RemoteReferenceTaxonStrategyNaturalId.

Specified by:
toRemoteReferenceTaxonStrategyNaturalId in interface ReferenceTaxonStrategyDao
See Also:
ReferenceTaxonStrategyDao.toRemoteReferenceTaxonStrategyNaturalId(fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy)

remoteReferenceTaxonStrategyNaturalIdToEntity

public void remoteReferenceTaxonStrategyNaturalIdToEntity(RemoteReferenceTaxonStrategyNaturalId source,
                                                          ReferenceTaxonStrategy target,
                                                          boolean copyIfNull)
Description copied from interface: ReferenceTaxonStrategyDao
Copies the fields of RemoteReferenceTaxonStrategyNaturalId to the specified entity.

Specified by:
remoteReferenceTaxonStrategyNaturalIdToEntity in interface ReferenceTaxonStrategyDao
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.administration.programStrategy.ReferenceTaxonStrategyDao#remoteReferenceTaxonStrategyNaturalIdToEntity(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteReferenceTaxonStrategyNaturalId, fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy)

toClusterReferenceTaxonStrategyCollection

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

Specified by:
toClusterReferenceTaxonStrategyCollection in interface ReferenceTaxonStrategyDao
See Also:
ReferenceTaxonStrategyDao.toClusterReferenceTaxonStrategyCollection(java.util.Collection)

toClusterReferenceTaxonStrategyArray

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

Specified by:
toClusterReferenceTaxonStrategyArray in interface ReferenceTaxonStrategyDao
See Also:
ReferenceTaxonStrategyDao.toClusterReferenceTaxonStrategyArray(java.util.Collection)

toClusterReferenceTaxonStrategy

protected ClusterReferenceTaxonStrategy toClusterReferenceTaxonStrategy(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 ReferenceTaxonStrategyDaoImpl class if you intend to use reporting queries.

See Also:
ReferenceTaxonStrategyDao.toClusterReferenceTaxonStrategy(fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy)

clusterReferenceTaxonStrategyToEntityCollection

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

Specified by:
clusterReferenceTaxonStrategyToEntityCollection in interface ReferenceTaxonStrategyDao
See Also:
ReferenceTaxonStrategyDao.clusterReferenceTaxonStrategyToEntityCollection(java.util.Collection)

toClusterReferenceTaxonStrategy

public void toClusterReferenceTaxonStrategy(ReferenceTaxonStrategy source,
                                            ClusterReferenceTaxonStrategy target)
Description copied from interface: ReferenceTaxonStrategyDao
Copies the fields of the specified entity to the target value object. This method is similar to toClusterReferenceTaxonStrategy(), 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:
toClusterReferenceTaxonStrategy in interface ReferenceTaxonStrategyDao
See Also:
ReferenceTaxonStrategyDao.toClusterReferenceTaxonStrategy(fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy, fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterReferenceTaxonStrategy)

toClusterReferenceTaxonStrategy

public ClusterReferenceTaxonStrategy toClusterReferenceTaxonStrategy(ReferenceTaxonStrategy entity)
Description copied from interface: ReferenceTaxonStrategyDao
Converts this DAO's entity to an object of type ClusterReferenceTaxonStrategy.

Specified by:
toClusterReferenceTaxonStrategy in interface ReferenceTaxonStrategyDao
See Also:
ReferenceTaxonStrategyDao.toClusterReferenceTaxonStrategy(fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy)

clusterReferenceTaxonStrategyToEntity

public void clusterReferenceTaxonStrategyToEntity(ClusterReferenceTaxonStrategy source,
                                                  ReferenceTaxonStrategy target,
                                                  boolean copyIfNull)
Description copied from interface: ReferenceTaxonStrategyDao
Copies the fields of ClusterReferenceTaxonStrategy to the specified entity.

Specified by:
clusterReferenceTaxonStrategyToEntity in interface ReferenceTaxonStrategyDao
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.administration.programStrategy.ReferenceTaxonStrategyDao#clusterReferenceTaxonStrategyToEntity(fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterReferenceTaxonStrategy, fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy)

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: ReferenceTaxonStrategyDao
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 ReferenceTaxonStrategyDao
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:
ReferenceTaxonStrategyDao.search(int, int, int, fr.ifremer.allegro.Search)

search

public PaginationResult search(int pageNumber,
                               int pageSize,
                               Search search)
Description copied from interface: ReferenceTaxonStrategyDao
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 ReferenceTaxonStrategyDao
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:
ReferenceTaxonStrategyDao.search(int, int, fr.ifremer.allegro.Search)

search

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

search

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

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


Copyright © 2008-2010 IFREMER. All Rights Reserved.