fr.ifremer.allegro.administration.programStrategy
Class BatchModelAppliedStrategyDaoBase

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

public abstract class BatchModelAppliedStrategyDaoBase
extends org.springframework.orm.hibernate3.support.HibernateDaoSupport
implements BatchModelAppliedStrategyDao

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

See Also:
BatchModelAppliedStrategy

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.administration.programStrategy.BatchModelAppliedStrategyDao
TRANSFORM_CLUSTERBATCHMODELAPPLIEDSTRATEGY, TRANSFORM_NONE, TRANSFORM_REMOTEBATCHMODELAPPLIEDSTRATEGYFULLVO, TRANSFORM_REMOTEBATCHMODELAPPLIEDSTRATEGYNATURALID
 
Constructor Summary
BatchModelAppliedStrategyDaoBase()
           
 
Method Summary
 void clusterBatchModelAppliedStrategyToEntity(ClusterBatchModelAppliedStrategy source, BatchModelAppliedStrategy target, boolean copyIfNull)
          Copies the fields of ClusterBatchModelAppliedStrategy to the specified entity.
 void clusterBatchModelAppliedStrategyToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type ClusterBatchModelAppliedStrategy to this DAO's entity.
 BatchModelAppliedStrategy create(BatchModelAppliedStrategy batchModelAppliedStrategy)
          Creates an instance of fr.ifremer.allegro.administration.programStrategy.BatchModelAppliedStrategy and adds it to the persistent store.
 java.util.Collection create(java.util.Collection entities)
          Creates a new instance of fr.ifremer.allegro.administration.programStrategy.BatchModelAppliedStrategy and adds from the passed in entities collection
 java.lang.Object create(int transform, BatchModelAppliedStrategy batchModelAppliedStrategy)
           Does the same thing as BatchModelAppliedStrategyDao.create(fr.ifremer.allegro.administration.programStrategy.BatchModelAppliedStrategy) with an additional flag called transform.
 java.util.Collection create(int transform, java.util.Collection entities)
           Does the same thing as BatchModelAppliedStrategyDao.create(fr.ifremer.allegro.administration.programStrategy.BatchModelAppliedStrategy) with an additional flag called transform.
 java.lang.Object create(int transform, java.lang.String modelName, AppliedStrategy appliedStrategy, AcquisitionLevel acquisitionLevel)
           Does the same thing as BatchModelAppliedStrategyDao.create(java.lang.String,fr.ifremer.allegro.administration.programStrategy.AppliedStrategy,fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel) with an additional flag called transform.
 BatchModelAppliedStrategy create(java.lang.String modelName, AppliedStrategy appliedStrategy, AcquisitionLevel acquisitionLevel)
           Creates a new fr.ifremer.allegro.administration.programStrategy.BatchModelAppliedStrategy instance from all attributes and properties and adds it to the persistent store.
 BatchModelAppliedStrategy createFromClusterBatchModelAppliedStrategy(ClusterBatchModelAppliedStrategy clusterBatchModelAppliedStrategy)
           
 java.util.Collection findBatchModelAppliedStrategyByAcquisitionLevel(AcquisitionLevel acquisitionLevel)
           
 java.util.Collection findBatchModelAppliedStrategyByAcquisitionLevel(int transform, AcquisitionLevel acquisitionLevel)
           Does the same thing as BatchModelAppliedStrategyDao.findBatchModelAppliedStrategyByAcquisitionLevel(fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel) with an additional flag called transform.
 java.util.Collection findBatchModelAppliedStrategyByAcquisitionLevel(int pageNumber, int pageSize, AcquisitionLevel acquisitionLevel)
           Does the same thing as BatchModelAppliedStrategyDao.findBatchModelAppliedStrategyByAcquisitionLevel(fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findBatchModelAppliedStrategyByAcquisitionLevel(int transform, int pageNumber, int pageSize, AcquisitionLevel acquisitionLevel)
           Does the same thing as BatchModelAppliedStrategyDao.findBatchModelAppliedStrategyByAcquisitionLevel(int, fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findBatchModelAppliedStrategyByAcquisitionLevel(int transform, java.lang.String queryString, AcquisitionLevel acquisitionLevel)
           Does the same thing as BatchModelAppliedStrategyDao.findBatchModelAppliedStrategyByAcquisitionLevel(int, fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel) with an additional argument called queryString.
 java.util.Collection findBatchModelAppliedStrategyByAcquisitionLevel(int transform, java.lang.String queryString, int pageNumber, int pageSize, AcquisitionLevel acquisitionLevel)
           Does the same thing as BatchModelAppliedStrategyDao.findBatchModelAppliedStrategyByAcquisitionLevel(int, String, fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findBatchModelAppliedStrategyByAcquisitionLevel(java.lang.String queryString, AcquisitionLevel acquisitionLevel)
           Does the same thing as BatchModelAppliedStrategyDao.findBatchModelAppliedStrategyByAcquisitionLevel(fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel) with an additional argument called queryString.
 java.util.Collection findBatchModelAppliedStrategyByAcquisitionLevel(java.lang.String queryString, int pageNumber, int pageSize, AcquisitionLevel acquisitionLevel)
           Does the same thing as BatchModelAppliedStrategyDao.findBatchModelAppliedStrategyByAcquisitionLevel(String, fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findBatchModelAppliedStrategyByAppliedStrategy(AppliedStrategy appliedStrategy)
           
 java.util.Collection findBatchModelAppliedStrategyByAppliedStrategy(int transform, AppliedStrategy appliedStrategy)
           Does the same thing as BatchModelAppliedStrategyDao.findBatchModelAppliedStrategyByAppliedStrategy(fr.ifremer.allegro.administration.programStrategy.AppliedStrategy) with an additional flag called transform.
 java.util.Collection findBatchModelAppliedStrategyByAppliedStrategy(int pageNumber, int pageSize, AppliedStrategy appliedStrategy)
           Does the same thing as BatchModelAppliedStrategyDao.findBatchModelAppliedStrategyByAppliedStrategy(fr.ifremer.allegro.administration.programStrategy.AppliedStrategy) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findBatchModelAppliedStrategyByAppliedStrategy(int transform, int pageNumber, int pageSize, AppliedStrategy appliedStrategy)
           Does the same thing as BatchModelAppliedStrategyDao.findBatchModelAppliedStrategyByAppliedStrategy(int, fr.ifremer.allegro.administration.programStrategy.AppliedStrategy) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findBatchModelAppliedStrategyByAppliedStrategy(int transform, java.lang.String queryString, AppliedStrategy appliedStrategy)
           Does the same thing as BatchModelAppliedStrategyDao.findBatchModelAppliedStrategyByAppliedStrategy(int, fr.ifremer.allegro.administration.programStrategy.AppliedStrategy) with an additional argument called queryString.
 java.util.Collection findBatchModelAppliedStrategyByAppliedStrategy(int transform, java.lang.String queryString, int pageNumber, int pageSize, AppliedStrategy appliedStrategy)
           Does the same thing as BatchModelAppliedStrategyDao.findBatchModelAppliedStrategyByAppliedStrategy(int, String, fr.ifremer.allegro.administration.programStrategy.AppliedStrategy) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findBatchModelAppliedStrategyByAppliedStrategy(java.lang.String queryString, AppliedStrategy appliedStrategy)
           Does the same thing as BatchModelAppliedStrategyDao.findBatchModelAppliedStrategyByAppliedStrategy(fr.ifremer.allegro.administration.programStrategy.AppliedStrategy) with an additional argument called queryString.
 java.util.Collection findBatchModelAppliedStrategyByAppliedStrategy(java.lang.String queryString, int pageNumber, int pageSize, AppliedStrategy appliedStrategy)
           Does the same thing as BatchModelAppliedStrategyDao.findBatchModelAppliedStrategyByAppliedStrategy(String, fr.ifremer.allegro.administration.programStrategy.AppliedStrategy) with an additional two arguments called pageNumber and pageSize.
 BatchModelAppliedStrategy findBatchModelAppliedStrategyByIdentifiers(AppliedStrategy appliedStrategy, AcquisitionLevel acquisitionLevel)
           
 java.lang.Object findBatchModelAppliedStrategyByIdentifiers(int transform, AppliedStrategy appliedStrategy, AcquisitionLevel acquisitionLevel)
           Does the same thing as BatchModelAppliedStrategyDao.findBatchModelAppliedStrategyByIdentifiers(fr.ifremer.allegro.administration.programStrategy.AppliedStrategy, fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel) with an additional flag called transform.
 java.lang.Object findBatchModelAppliedStrategyByIdentifiers(int transform, java.lang.String queryString, AppliedStrategy appliedStrategy, AcquisitionLevel acquisitionLevel)
           Does the same thing as BatchModelAppliedStrategyDao.findBatchModelAppliedStrategyByIdentifiers(int, fr.ifremer.allegro.administration.programStrategy.AppliedStrategy, fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel) with an additional argument called queryString.
 BatchModelAppliedStrategy findBatchModelAppliedStrategyByIdentifiers(java.lang.String queryString, AppliedStrategy appliedStrategy, AcquisitionLevel acquisitionLevel)
           Does the same thing as BatchModelAppliedStrategyDao.findBatchModelAppliedStrategyByIdentifiers(fr.ifremer.allegro.administration.programStrategy.AppliedStrategy, fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel) with an additional argument called queryString.
 BatchModelAppliedStrategy findBatchModelAppliedStrategyByNaturalId(AppliedStrategy appliedStrategy, AcquisitionLevel acquisitionLevel)
           
 java.lang.Object findBatchModelAppliedStrategyByNaturalId(int transform, AppliedStrategy appliedStrategy, AcquisitionLevel acquisitionLevel)
           Does the same thing as BatchModelAppliedStrategyDao.findBatchModelAppliedStrategyByNaturalId(fr.ifremer.allegro.administration.programStrategy.AppliedStrategy, fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel) with an additional flag called transform.
 java.lang.Object findBatchModelAppliedStrategyByNaturalId(int transform, java.lang.String queryString, AppliedStrategy appliedStrategy, AcquisitionLevel acquisitionLevel)
           Does the same thing as BatchModelAppliedStrategyDao.findBatchModelAppliedStrategyByNaturalId(int, fr.ifremer.allegro.administration.programStrategy.AppliedStrategy, fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel) with an additional argument called queryString.
 BatchModelAppliedStrategy findBatchModelAppliedStrategyByNaturalId(java.lang.String queryString, AppliedStrategy appliedStrategy, AcquisitionLevel acquisitionLevel)
           Does the same thing as BatchModelAppliedStrategyDao.findBatchModelAppliedStrategyByNaturalId(fr.ifremer.allegro.administration.programStrategy.AppliedStrategy, fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel) with an additional argument called queryString.
protected  AcquisitionLevelDao getAcquisitionLevelDao()
          Gets the reference to acquisitionLevelDao.
 java.util.Collection getAllBatchModelAppliedStrategy()
           
 java.util.Collection getAllBatchModelAppliedStrategy(int transform)
           Does the same thing as BatchModelAppliedStrategyDao.getAllBatchModelAppliedStrategy() with an additional flag called transform.
 java.util.Collection getAllBatchModelAppliedStrategy(int pageNumber, int pageSize)
           Does the same thing as BatchModelAppliedStrategyDao.getAllBatchModelAppliedStrategy() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllBatchModelAppliedStrategy(int transform, int pageNumber, int pageSize)
           Does the same thing as BatchModelAppliedStrategyDao.getAllBatchModelAppliedStrategy(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllBatchModelAppliedStrategy(int transform, java.lang.String queryString)
           Does the same thing as BatchModelAppliedStrategyDao.getAllBatchModelAppliedStrategy(int) with an additional argument called queryString.
 java.util.Collection getAllBatchModelAppliedStrategy(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as BatchModelAppliedStrategyDao.getAllBatchModelAppliedStrategy(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllBatchModelAppliedStrategy(java.lang.String queryString)
           Does the same thing as BatchModelAppliedStrategyDao.getAllBatchModelAppliedStrategy() with an additional argument called queryString.
 java.util.Collection getAllBatchModelAppliedStrategy(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as BatchModelAppliedStrategyDao.getAllBatchModelAppliedStrategy(String) with an additional two arguments called pageNumber and pageSize.
protected  AppliedStrategyDao getAppliedStrategyDao()
          Gets the reference to appliedStrategyDao.
protected  java.security.Principal getPrincipal()
          Gets the current principal if one has been set, otherwise returns null.
protected abstract  BatchModelAppliedStrategy handleCreateFromClusterBatchModelAppliedStrategy(ClusterBatchModelAppliedStrategy clusterBatchModelAppliedStrategy)
          Performs the core logic for createFromClusterBatchModelAppliedStrategy(fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterBatchModelAppliedStrategy)
 BatchModelAppliedStrategy load(AppliedStrategy appliedStrategy, AcquisitionLevel acquisitionLevel)
          Loads an instance of fr.ifremer.allegro.administration.programStrategy.BatchModelAppliedStrategy from the persistent store.
 java.lang.Object load(int transform, AppliedStrategy appliedStrategy, AcquisitionLevel acquisitionLevel)
           Does the same thing as BatchModelAppliedStrategyDao.load(fr.ifremer.allegro.administration.programStrategy.AppliedStrategy,fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel) with an additional flag called transform.
 java.util.Collection loadAll()
          Loads all entities of type BatchModelAppliedStrategy.
 java.util.Collection loadAll(int transform)
           Does the same thing as BatchModelAppliedStrategyDao.loadAll() with an additional flag called transform.
 java.util.Collection loadAll(int pageNumber, int pageSize)
           Does the same thing as BatchModelAppliedStrategyDao.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 BatchModelAppliedStrategyDao.loadAll(int) with an additional two arguments called pageNumber and pageSize.
 void remoteBatchModelAppliedStrategyFullVOToEntity(RemoteBatchModelAppliedStrategyFullVO source, BatchModelAppliedStrategy target, boolean copyIfNull)
          Copies the fields of RemoteBatchModelAppliedStrategyFullVO to the specified entity.
 void remoteBatchModelAppliedStrategyFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteBatchModelAppliedStrategyFullVO to this DAO's entity.
 void remoteBatchModelAppliedStrategyNaturalIdToEntity(RemoteBatchModelAppliedStrategyNaturalId source, BatchModelAppliedStrategy target, boolean copyIfNull)
          Copies the fields of RemoteBatchModelAppliedStrategyNaturalId to the specified entity.
 void remoteBatchModelAppliedStrategyNaturalIdToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteBatchModelAppliedStrategyNaturalId to this DAO's entity.
 void remove(AppliedStrategy appliedStrategy, AcquisitionLevel acquisitionLevel)
          Removes the instance of fr.ifremer.allegro.administration.programStrategy.BatchModelAppliedStrategy having the given identifiers from the persistent store.
 void remove(BatchModelAppliedStrategy batchModelAppliedStrategy)
          Removes the instance of fr.ifremer.allegro.administration.programStrategy.BatchModelAppliedStrategy from the persistent store.
 void remove(java.util.Collection entities)
          Removes all entities in the given entities collection.
 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 BatchModelAppliedStrategyDao.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 setAcquisitionLevelDao(AcquisitionLevelDao acquisitionLevelDao)
          Sets the reference to acquisitionLevelDao.
 void setAppliedStrategyDao(AppliedStrategyDao appliedStrategyDao)
          Sets the reference to appliedStrategyDao.
 ClusterBatchModelAppliedStrategy toClusterBatchModelAppliedStrategy(BatchModelAppliedStrategy entity)
          Converts this DAO's entity to an object of type ClusterBatchModelAppliedStrategy.
 void toClusterBatchModelAppliedStrategy(BatchModelAppliedStrategy source, ClusterBatchModelAppliedStrategy target)
          Copies the fields of the specified entity to the target value object.
protected  ClusterBatchModelAppliedStrategy toClusterBatchModelAppliedStrategy(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 ClusterBatchModelAppliedStrategy[] toClusterBatchModelAppliedStrategyArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type ClusterBatchModelAppliedStrategy.
 void toClusterBatchModelAppliedStrategyCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type ClusterBatchModelAppliedStrategy.
protected  BatchModelAppliedStrategy toEntity(java.lang.Object[] row)
           
 RemoteBatchModelAppliedStrategyFullVO toRemoteBatchModelAppliedStrategyFullVO(BatchModelAppliedStrategy entity)
          Converts this DAO's entity to an object of type RemoteBatchModelAppliedStrategyFullVO.
 void toRemoteBatchModelAppliedStrategyFullVO(BatchModelAppliedStrategy source, RemoteBatchModelAppliedStrategyFullVO target)
          Copies the fields of the specified entity to the target value object.
protected  RemoteBatchModelAppliedStrategyFullVO toRemoteBatchModelAppliedStrategyFullVO(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteBatchModelAppliedStrategyFullVO[] toRemoteBatchModelAppliedStrategyFullVOArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteBatchModelAppliedStrategyFullVO.
 void toRemoteBatchModelAppliedStrategyFullVOCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteBatchModelAppliedStrategyFullVO.
 RemoteBatchModelAppliedStrategyNaturalId toRemoteBatchModelAppliedStrategyNaturalId(BatchModelAppliedStrategy entity)
          Converts this DAO's entity to an object of type RemoteBatchModelAppliedStrategyNaturalId.
 void toRemoteBatchModelAppliedStrategyNaturalId(BatchModelAppliedStrategy source, RemoteBatchModelAppliedStrategyNaturalId target)
          Copies the fields of the specified entity to the target value object.
protected  RemoteBatchModelAppliedStrategyNaturalId toRemoteBatchModelAppliedStrategyNaturalId(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteBatchModelAppliedStrategyNaturalId[] toRemoteBatchModelAppliedStrategyNaturalIdArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteBatchModelAppliedStrategyNaturalId.
 void toRemoteBatchModelAppliedStrategyNaturalIdCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteBatchModelAppliedStrategyNaturalId.
protected  void transformEntities(int transform, java.util.Collection entities)
          Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.administration.programStrategy.BatchModelAppliedStrategy) method.
protected  java.lang.Object transformEntity(int transform, BatchModelAppliedStrategy 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.BatchModelAppliedStrategyDao, please note that the BatchModelAppliedStrategyDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself will be returned.
 void update(BatchModelAppliedStrategy batchModelAppliedStrategy)
          Updates the batchModelAppliedStrategy instance in the persistent store.
 void update(java.util.Collection entities)
          Updates all instances in the entities collection 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.BatchModelAppliedStrategyDao
clusterBatchModelAppliedStrategyToEntity, remoteBatchModelAppliedStrategyFullVOToEntity, remoteBatchModelAppliedStrategyNaturalIdToEntity
 

Constructor Detail

BatchModelAppliedStrategyDaoBase

public BatchModelAppliedStrategyDaoBase()
Method Detail

setAppliedStrategyDao

public void setAppliedStrategyDao(AppliedStrategyDao appliedStrategyDao)
Sets the reference to appliedStrategyDao.


getAppliedStrategyDao

protected AppliedStrategyDao getAppliedStrategyDao()
Gets the reference to appliedStrategyDao.


setAcquisitionLevelDao

public void setAcquisitionLevelDao(AcquisitionLevelDao acquisitionLevelDao)
Sets the reference to acquisitionLevelDao.


getAcquisitionLevelDao

protected AcquisitionLevelDao getAcquisitionLevelDao()
Gets the reference to acquisitionLevelDao.


load

public java.lang.Object load(int transform,
                             AppliedStrategy appliedStrategy,
                             AcquisitionLevel acquisitionLevel)
Description copied from interface: BatchModelAppliedStrategyDao

Does the same thing as BatchModelAppliedStrategyDao.load(fr.ifremer.allegro.administration.programStrategy.AppliedStrategy,fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel) 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 BatchModelAppliedStrategyDao
appliedStrategy - identifier of the entity to load
acquisitionLevel - identifier of the entity to load
Returns:
either the entity or the object transformed from the entity.
See Also:
BatchModelAppliedStrategyDao.load(int, fr.ifremer.allegro.administration.programStrategy.AppliedStrategy,fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel)

load

public BatchModelAppliedStrategy load(AppliedStrategy appliedStrategy,
                                      AcquisitionLevel acquisitionLevel)
Description copied from interface: BatchModelAppliedStrategyDao
Loads an instance of fr.ifremer.allegro.administration.programStrategy.BatchModelAppliedStrategy from the persistent store.

Specified by:
load in interface BatchModelAppliedStrategyDao
See Also:
BatchModelAppliedStrategyDao.load(fr.ifremer.allegro.administration.programStrategy.AppliedStrategy,fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel)

loadAll

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

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

loadAll

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

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

loadAll

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

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

loadAll

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

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

create

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

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

create

public java.lang.Object create(int transform,
                               BatchModelAppliedStrategy batchModelAppliedStrategy)
Description copied from interface: BatchModelAppliedStrategyDao

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

create

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

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

create

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

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

create

public BatchModelAppliedStrategy create(java.lang.String modelName,
                                        AppliedStrategy appliedStrategy,
                                        AcquisitionLevel acquisitionLevel)
Description copied from interface: BatchModelAppliedStrategyDao

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

Specified by:
create in interface BatchModelAppliedStrategyDao
See Also:
BatchModelAppliedStrategyDao.create(java.lang.String,fr.ifremer.allegro.administration.programStrategy.AppliedStrategy,fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel)

create

public java.lang.Object create(int transform,
                               java.lang.String modelName,
                               AppliedStrategy appliedStrategy,
                               AcquisitionLevel acquisitionLevel)
Description copied from interface: BatchModelAppliedStrategyDao

Does the same thing as BatchModelAppliedStrategyDao.create(java.lang.String,fr.ifremer.allegro.administration.programStrategy.AppliedStrategy,fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel) 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 BatchModelAppliedStrategyDao
See Also:
BatchModelAppliedStrategyDao.create(int, java.lang.String,fr.ifremer.allegro.administration.programStrategy.AppliedStrategy,fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel)

update

public void update(BatchModelAppliedStrategy batchModelAppliedStrategy)
Description copied from interface: BatchModelAppliedStrategyDao
Updates the batchModelAppliedStrategy instance in the persistent store.

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

update

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

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

remove

public void remove(BatchModelAppliedStrategy batchModelAppliedStrategy)
Description copied from interface: BatchModelAppliedStrategyDao
Removes the instance of fr.ifremer.allegro.administration.programStrategy.BatchModelAppliedStrategy from the persistent store.

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

remove

public void remove(AppliedStrategy appliedStrategy,
                   AcquisitionLevel acquisitionLevel)
Description copied from interface: BatchModelAppliedStrategyDao
Removes the instance of fr.ifremer.allegro.administration.programStrategy.BatchModelAppliedStrategy having the given identifiers from the persistent store.

Specified by:
remove in interface BatchModelAppliedStrategyDao
See Also:
BatchModelAppliedStrategyDao.remove(fr.ifremer.allegro.administration.programStrategy.AppliedStrategy,fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel)

remove

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

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

getAllBatchModelAppliedStrategy

public java.util.Collection getAllBatchModelAppliedStrategy()
Specified by:
getAllBatchModelAppliedStrategy in interface BatchModelAppliedStrategyDao
See Also:
BatchModelAppliedStrategyDao.getAllBatchModelAppliedStrategy()

getAllBatchModelAppliedStrategy

public java.util.Collection getAllBatchModelAppliedStrategy(int transform)
Description copied from interface: BatchModelAppliedStrategyDao

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

getAllBatchModelAppliedStrategy

public java.util.Collection getAllBatchModelAppliedStrategy(java.lang.String queryString)
Description copied from interface: BatchModelAppliedStrategyDao

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

Specified by:
getAllBatchModelAppliedStrategy in interface BatchModelAppliedStrategyDao
See Also:
BatchModelAppliedStrategyDao.getAllBatchModelAppliedStrategy(java.lang.String)

getAllBatchModelAppliedStrategy

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

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

getAllBatchModelAppliedStrategy

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

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

getAllBatchModelAppliedStrategy

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

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

Specified by:
getAllBatchModelAppliedStrategy in interface BatchModelAppliedStrategyDao
See Also:
BatchModelAppliedStrategyDao.getAllBatchModelAppliedStrategy(int, String)

getAllBatchModelAppliedStrategy

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

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

getAllBatchModelAppliedStrategy

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

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

findBatchModelAppliedStrategyByAppliedStrategy

public java.util.Collection findBatchModelAppliedStrategyByAppliedStrategy(AppliedStrategy appliedStrategy)
Specified by:
findBatchModelAppliedStrategyByAppliedStrategy in interface BatchModelAppliedStrategyDao
See Also:
BatchModelAppliedStrategyDao.findBatchModelAppliedStrategyByAppliedStrategy(fr.ifremer.allegro.administration.programStrategy.AppliedStrategy)

findBatchModelAppliedStrategyByAppliedStrategy

public java.util.Collection findBatchModelAppliedStrategyByAppliedStrategy(int transform,
                                                                           AppliedStrategy appliedStrategy)
Description copied from interface: BatchModelAppliedStrategyDao

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

findBatchModelAppliedStrategyByAppliedStrategy

public java.util.Collection findBatchModelAppliedStrategyByAppliedStrategy(java.lang.String queryString,
                                                                           AppliedStrategy appliedStrategy)
Description copied from interface: BatchModelAppliedStrategyDao

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

Specified by:
findBatchModelAppliedStrategyByAppliedStrategy in interface BatchModelAppliedStrategyDao
See Also:
BatchModelAppliedStrategyDao.findBatchModelAppliedStrategyByAppliedStrategy(java.lang.String, fr.ifremer.allegro.administration.programStrategy.AppliedStrategy)

findBatchModelAppliedStrategyByAppliedStrategy

public java.util.Collection findBatchModelAppliedStrategyByAppliedStrategy(int pageNumber,
                                                                           int pageSize,
                                                                           AppliedStrategy appliedStrategy)
Description copied from interface: BatchModelAppliedStrategyDao

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

findBatchModelAppliedStrategyByAppliedStrategy

public java.util.Collection findBatchModelAppliedStrategyByAppliedStrategy(java.lang.String queryString,
                                                                           int pageNumber,
                                                                           int pageSize,
                                                                           AppliedStrategy appliedStrategy)
Description copied from interface: BatchModelAppliedStrategyDao

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

findBatchModelAppliedStrategyByAppliedStrategy

public java.util.Collection findBatchModelAppliedStrategyByAppliedStrategy(int transform,
                                                                           java.lang.String queryString,
                                                                           AppliedStrategy appliedStrategy)
Description copied from interface: BatchModelAppliedStrategyDao

Does the same thing as BatchModelAppliedStrategyDao.findBatchModelAppliedStrategyByAppliedStrategy(int, fr.ifremer.allegro.administration.programStrategy.AppliedStrategy) with an additional argument called queryString. This queryString argument allows you to override the query string defined in BatchModelAppliedStrategyDao.findBatchModelAppliedStrategyByAppliedStrategy(int, fr.ifremer.allegro.administration.programStrategy.AppliedStrategy appliedStrategy).

Specified by:
findBatchModelAppliedStrategyByAppliedStrategy in interface BatchModelAppliedStrategyDao
See Also:
BatchModelAppliedStrategyDao.findBatchModelAppliedStrategyByAppliedStrategy(int, String, fr.ifremer.allegro.administration.programStrategy.AppliedStrategy)

findBatchModelAppliedStrategyByAppliedStrategy

public java.util.Collection findBatchModelAppliedStrategyByAppliedStrategy(int transform,
                                                                           int pageNumber,
                                                                           int pageSize,
                                                                           AppliedStrategy appliedStrategy)
Description copied from interface: BatchModelAppliedStrategyDao

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

findBatchModelAppliedStrategyByAppliedStrategy

public java.util.Collection findBatchModelAppliedStrategyByAppliedStrategy(int transform,
                                                                           java.lang.String queryString,
                                                                           int pageNumber,
                                                                           int pageSize,
                                                                           AppliedStrategy appliedStrategy)
Description copied from interface: BatchModelAppliedStrategyDao

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

findBatchModelAppliedStrategyByAcquisitionLevel

public java.util.Collection findBatchModelAppliedStrategyByAcquisitionLevel(AcquisitionLevel acquisitionLevel)
Specified by:
findBatchModelAppliedStrategyByAcquisitionLevel in interface BatchModelAppliedStrategyDao
See Also:
BatchModelAppliedStrategyDao.findBatchModelAppliedStrategyByAcquisitionLevel(fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel)

findBatchModelAppliedStrategyByAcquisitionLevel

public java.util.Collection findBatchModelAppliedStrategyByAcquisitionLevel(int transform,
                                                                            AcquisitionLevel acquisitionLevel)
Description copied from interface: BatchModelAppliedStrategyDao

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

findBatchModelAppliedStrategyByAcquisitionLevel

public java.util.Collection findBatchModelAppliedStrategyByAcquisitionLevel(java.lang.String queryString,
                                                                            AcquisitionLevel acquisitionLevel)
Description copied from interface: BatchModelAppliedStrategyDao

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

Specified by:
findBatchModelAppliedStrategyByAcquisitionLevel in interface BatchModelAppliedStrategyDao
See Also:
BatchModelAppliedStrategyDao.findBatchModelAppliedStrategyByAcquisitionLevel(java.lang.String, fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel)

findBatchModelAppliedStrategyByAcquisitionLevel

public java.util.Collection findBatchModelAppliedStrategyByAcquisitionLevel(int pageNumber,
                                                                            int pageSize,
                                                                            AcquisitionLevel acquisitionLevel)
Description copied from interface: BatchModelAppliedStrategyDao

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

findBatchModelAppliedStrategyByAcquisitionLevel

public java.util.Collection findBatchModelAppliedStrategyByAcquisitionLevel(java.lang.String queryString,
                                                                            int pageNumber,
                                                                            int pageSize,
                                                                            AcquisitionLevel acquisitionLevel)
Description copied from interface: BatchModelAppliedStrategyDao

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

findBatchModelAppliedStrategyByAcquisitionLevel

public java.util.Collection findBatchModelAppliedStrategyByAcquisitionLevel(int transform,
                                                                            java.lang.String queryString,
                                                                            AcquisitionLevel acquisitionLevel)
Description copied from interface: BatchModelAppliedStrategyDao

Does the same thing as BatchModelAppliedStrategyDao.findBatchModelAppliedStrategyByAcquisitionLevel(int, fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel) with an additional argument called queryString. This queryString argument allows you to override the query string defined in BatchModelAppliedStrategyDao.findBatchModelAppliedStrategyByAcquisitionLevel(int, fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel acquisitionLevel).

Specified by:
findBatchModelAppliedStrategyByAcquisitionLevel in interface BatchModelAppliedStrategyDao
See Also:
BatchModelAppliedStrategyDao.findBatchModelAppliedStrategyByAcquisitionLevel(int, String, fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel)

findBatchModelAppliedStrategyByAcquisitionLevel

public java.util.Collection findBatchModelAppliedStrategyByAcquisitionLevel(int transform,
                                                                            int pageNumber,
                                                                            int pageSize,
                                                                            AcquisitionLevel acquisitionLevel)
Description copied from interface: BatchModelAppliedStrategyDao

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

findBatchModelAppliedStrategyByAcquisitionLevel

public java.util.Collection findBatchModelAppliedStrategyByAcquisitionLevel(int transform,
                                                                            java.lang.String queryString,
                                                                            int pageNumber,
                                                                            int pageSize,
                                                                            AcquisitionLevel acquisitionLevel)
Description copied from interface: BatchModelAppliedStrategyDao

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

findBatchModelAppliedStrategyByIdentifiers

public BatchModelAppliedStrategy findBatchModelAppliedStrategyByIdentifiers(AppliedStrategy appliedStrategy,
                                                                            AcquisitionLevel acquisitionLevel)
Specified by:
findBatchModelAppliedStrategyByIdentifiers in interface BatchModelAppliedStrategyDao
See Also:
BatchModelAppliedStrategyDao.findBatchModelAppliedStrategyByIdentifiers(fr.ifremer.allegro.administration.programStrategy.AppliedStrategy, fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel)

findBatchModelAppliedStrategyByIdentifiers

public java.lang.Object findBatchModelAppliedStrategyByIdentifiers(int transform,
                                                                   AppliedStrategy appliedStrategy,
                                                                   AcquisitionLevel acquisitionLevel)
Description copied from interface: BatchModelAppliedStrategyDao

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

findBatchModelAppliedStrategyByIdentifiers

public BatchModelAppliedStrategy findBatchModelAppliedStrategyByIdentifiers(java.lang.String queryString,
                                                                            AppliedStrategy appliedStrategy,
                                                                            AcquisitionLevel acquisitionLevel)
Description copied from interface: BatchModelAppliedStrategyDao

Does the same thing as BatchModelAppliedStrategyDao.findBatchModelAppliedStrategyByIdentifiers(fr.ifremer.allegro.administration.programStrategy.AppliedStrategy, fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel) with an additional argument called queryString. This queryString argument allows you to override the query string defined in BatchModelAppliedStrategyDao.findBatchModelAppliedStrategyByIdentifiers(fr.ifremer.allegro.administration.programStrategy.AppliedStrategy, fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel).

Specified by:
findBatchModelAppliedStrategyByIdentifiers in interface BatchModelAppliedStrategyDao
See Also:
BatchModelAppliedStrategyDao.findBatchModelAppliedStrategyByIdentifiers(java.lang.String, fr.ifremer.allegro.administration.programStrategy.AppliedStrategy, fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel)

findBatchModelAppliedStrategyByIdentifiers

public java.lang.Object findBatchModelAppliedStrategyByIdentifiers(int transform,
                                                                   java.lang.String queryString,
                                                                   AppliedStrategy appliedStrategy,
                                                                   AcquisitionLevel acquisitionLevel)
Description copied from interface: BatchModelAppliedStrategyDao

Does the same thing as BatchModelAppliedStrategyDao.findBatchModelAppliedStrategyByIdentifiers(int, fr.ifremer.allegro.administration.programStrategy.AppliedStrategy, fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel) with an additional argument called queryString. This queryString argument allows you to override the query string defined in BatchModelAppliedStrategyDao.findBatchModelAppliedStrategyByIdentifiers(int, fr.ifremer.allegro.administration.programStrategy.AppliedStrategy appliedStrategy, fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel acquisitionLevel).

Specified by:
findBatchModelAppliedStrategyByIdentifiers in interface BatchModelAppliedStrategyDao
See Also:
BatchModelAppliedStrategyDao.findBatchModelAppliedStrategyByIdentifiers(int, java.lang.String, fr.ifremer.allegro.administration.programStrategy.AppliedStrategy, fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel)

findBatchModelAppliedStrategyByNaturalId

public BatchModelAppliedStrategy findBatchModelAppliedStrategyByNaturalId(AppliedStrategy appliedStrategy,
                                                                          AcquisitionLevel acquisitionLevel)
Specified by:
findBatchModelAppliedStrategyByNaturalId in interface BatchModelAppliedStrategyDao
See Also:
BatchModelAppliedStrategyDao.findBatchModelAppliedStrategyByNaturalId(fr.ifremer.allegro.administration.programStrategy.AppliedStrategy, fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel)

findBatchModelAppliedStrategyByNaturalId

public java.lang.Object findBatchModelAppliedStrategyByNaturalId(int transform,
                                                                 AppliedStrategy appliedStrategy,
                                                                 AcquisitionLevel acquisitionLevel)
Description copied from interface: BatchModelAppliedStrategyDao

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

findBatchModelAppliedStrategyByNaturalId

public BatchModelAppliedStrategy findBatchModelAppliedStrategyByNaturalId(java.lang.String queryString,
                                                                          AppliedStrategy appliedStrategy,
                                                                          AcquisitionLevel acquisitionLevel)
Description copied from interface: BatchModelAppliedStrategyDao

Does the same thing as BatchModelAppliedStrategyDao.findBatchModelAppliedStrategyByNaturalId(fr.ifremer.allegro.administration.programStrategy.AppliedStrategy, fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel) with an additional argument called queryString. This queryString argument allows you to override the query string defined in BatchModelAppliedStrategyDao.findBatchModelAppliedStrategyByNaturalId(fr.ifremer.allegro.administration.programStrategy.AppliedStrategy, fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel).

Specified by:
findBatchModelAppliedStrategyByNaturalId in interface BatchModelAppliedStrategyDao
See Also:
BatchModelAppliedStrategyDao.findBatchModelAppliedStrategyByNaturalId(java.lang.String, fr.ifremer.allegro.administration.programStrategy.AppliedStrategy, fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel)

findBatchModelAppliedStrategyByNaturalId

public java.lang.Object findBatchModelAppliedStrategyByNaturalId(int transform,
                                                                 java.lang.String queryString,
                                                                 AppliedStrategy appliedStrategy,
                                                                 AcquisitionLevel acquisitionLevel)
Description copied from interface: BatchModelAppliedStrategyDao

Does the same thing as BatchModelAppliedStrategyDao.findBatchModelAppliedStrategyByNaturalId(int, fr.ifremer.allegro.administration.programStrategy.AppliedStrategy, fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel) with an additional argument called queryString. This queryString argument allows you to override the query string defined in BatchModelAppliedStrategyDao.findBatchModelAppliedStrategyByNaturalId(int, fr.ifremer.allegro.administration.programStrategy.AppliedStrategy appliedStrategy, fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel acquisitionLevel).

Specified by:
findBatchModelAppliedStrategyByNaturalId in interface BatchModelAppliedStrategyDao
See Also:
BatchModelAppliedStrategyDao.findBatchModelAppliedStrategyByNaturalId(int, java.lang.String, fr.ifremer.allegro.administration.programStrategy.AppliedStrategy, fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel)

createFromClusterBatchModelAppliedStrategy

public BatchModelAppliedStrategy createFromClusterBatchModelAppliedStrategy(ClusterBatchModelAppliedStrategy clusterBatchModelAppliedStrategy)
Specified by:
createFromClusterBatchModelAppliedStrategy in interface BatchModelAppliedStrategyDao
See Also:
BatchModelAppliedStrategyDao.createFromClusterBatchModelAppliedStrategy(fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterBatchModelAppliedStrategy)

handleCreateFromClusterBatchModelAppliedStrategy

protected abstract BatchModelAppliedStrategy handleCreateFromClusterBatchModelAppliedStrategy(ClusterBatchModelAppliedStrategy clusterBatchModelAppliedStrategy)
                                                                                       throws java.lang.Exception
Performs the core logic for createFromClusterBatchModelAppliedStrategy(fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterBatchModelAppliedStrategy)

Throws:
java.lang.Exception

transformEntity

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

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

toEntity

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

toRemoteBatchModelAppliedStrategyFullVOCollection

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

Specified by:
toRemoteBatchModelAppliedStrategyFullVOCollection in interface BatchModelAppliedStrategyDao
See Also:
BatchModelAppliedStrategyDao.toRemoteBatchModelAppliedStrategyFullVOCollection(java.util.Collection)

toRemoteBatchModelAppliedStrategyFullVOArray

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

Specified by:
toRemoteBatchModelAppliedStrategyFullVOArray in interface BatchModelAppliedStrategyDao
See Also:
BatchModelAppliedStrategyDao.toRemoteBatchModelAppliedStrategyFullVOArray(java.util.Collection)

toRemoteBatchModelAppliedStrategyFullVO

protected RemoteBatchModelAppliedStrategyFullVO toRemoteBatchModelAppliedStrategyFullVO(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 BatchModelAppliedStrategyDaoImpl class if you intend to use reporting queries.

See Also:
BatchModelAppliedStrategyDao.toRemoteBatchModelAppliedStrategyFullVO(fr.ifremer.allegro.administration.programStrategy.BatchModelAppliedStrategy)

remoteBatchModelAppliedStrategyFullVOToEntityCollection

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

Specified by:
remoteBatchModelAppliedStrategyFullVOToEntityCollection in interface BatchModelAppliedStrategyDao
See Also:
BatchModelAppliedStrategyDao.remoteBatchModelAppliedStrategyFullVOToEntityCollection(java.util.Collection)

toRemoteBatchModelAppliedStrategyFullVO

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

toRemoteBatchModelAppliedStrategyFullVO

public RemoteBatchModelAppliedStrategyFullVO toRemoteBatchModelAppliedStrategyFullVO(BatchModelAppliedStrategy entity)
Description copied from interface: BatchModelAppliedStrategyDao
Converts this DAO's entity to an object of type RemoteBatchModelAppliedStrategyFullVO.

Specified by:
toRemoteBatchModelAppliedStrategyFullVO in interface BatchModelAppliedStrategyDao
See Also:
BatchModelAppliedStrategyDao.toRemoteBatchModelAppliedStrategyFullVO(fr.ifremer.allegro.administration.programStrategy.BatchModelAppliedStrategy)

remoteBatchModelAppliedStrategyFullVOToEntity

public void remoteBatchModelAppliedStrategyFullVOToEntity(RemoteBatchModelAppliedStrategyFullVO source,
                                                          BatchModelAppliedStrategy target,
                                                          boolean copyIfNull)
Description copied from interface: BatchModelAppliedStrategyDao
Copies the fields of RemoteBatchModelAppliedStrategyFullVO to the specified entity.

Specified by:
remoteBatchModelAppliedStrategyFullVOToEntity in interface BatchModelAppliedStrategyDao
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.BatchModelAppliedStrategyDao#remoteBatchModelAppliedStrategyFullVOToEntity(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteBatchModelAppliedStrategyFullVO, fr.ifremer.allegro.administration.programStrategy.BatchModelAppliedStrategy)

toRemoteBatchModelAppliedStrategyNaturalIdCollection

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

Specified by:
toRemoteBatchModelAppliedStrategyNaturalIdCollection in interface BatchModelAppliedStrategyDao
See Also:
BatchModelAppliedStrategyDao.toRemoteBatchModelAppliedStrategyNaturalIdCollection(java.util.Collection)

toRemoteBatchModelAppliedStrategyNaturalIdArray

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

Specified by:
toRemoteBatchModelAppliedStrategyNaturalIdArray in interface BatchModelAppliedStrategyDao
See Also:
BatchModelAppliedStrategyDao.toRemoteBatchModelAppliedStrategyNaturalIdArray(java.util.Collection)

toRemoteBatchModelAppliedStrategyNaturalId

protected RemoteBatchModelAppliedStrategyNaturalId toRemoteBatchModelAppliedStrategyNaturalId(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 BatchModelAppliedStrategyDaoImpl class if you intend to use reporting queries.

See Also:
BatchModelAppliedStrategyDao.toRemoteBatchModelAppliedStrategyNaturalId(fr.ifremer.allegro.administration.programStrategy.BatchModelAppliedStrategy)

remoteBatchModelAppliedStrategyNaturalIdToEntityCollection

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

Specified by:
remoteBatchModelAppliedStrategyNaturalIdToEntityCollection in interface BatchModelAppliedStrategyDao
See Also:
BatchModelAppliedStrategyDao.remoteBatchModelAppliedStrategyNaturalIdToEntityCollection(java.util.Collection)

toRemoteBatchModelAppliedStrategyNaturalId

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

toRemoteBatchModelAppliedStrategyNaturalId

public RemoteBatchModelAppliedStrategyNaturalId toRemoteBatchModelAppliedStrategyNaturalId(BatchModelAppliedStrategy entity)
Description copied from interface: BatchModelAppliedStrategyDao
Converts this DAO's entity to an object of type RemoteBatchModelAppliedStrategyNaturalId.

Specified by:
toRemoteBatchModelAppliedStrategyNaturalId in interface BatchModelAppliedStrategyDao
See Also:
BatchModelAppliedStrategyDao.toRemoteBatchModelAppliedStrategyNaturalId(fr.ifremer.allegro.administration.programStrategy.BatchModelAppliedStrategy)

remoteBatchModelAppliedStrategyNaturalIdToEntity

public void remoteBatchModelAppliedStrategyNaturalIdToEntity(RemoteBatchModelAppliedStrategyNaturalId source,
                                                             BatchModelAppliedStrategy target,
                                                             boolean copyIfNull)
Description copied from interface: BatchModelAppliedStrategyDao
Copies the fields of RemoteBatchModelAppliedStrategyNaturalId to the specified entity.

Specified by:
remoteBatchModelAppliedStrategyNaturalIdToEntity in interface BatchModelAppliedStrategyDao
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.BatchModelAppliedStrategyDao#remoteBatchModelAppliedStrategyNaturalIdToEntity(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteBatchModelAppliedStrategyNaturalId, fr.ifremer.allegro.administration.programStrategy.BatchModelAppliedStrategy)

toClusterBatchModelAppliedStrategyCollection

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

Specified by:
toClusterBatchModelAppliedStrategyCollection in interface BatchModelAppliedStrategyDao
See Also:
BatchModelAppliedStrategyDao.toClusterBatchModelAppliedStrategyCollection(java.util.Collection)

toClusterBatchModelAppliedStrategyArray

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

Specified by:
toClusterBatchModelAppliedStrategyArray in interface BatchModelAppliedStrategyDao
See Also:
BatchModelAppliedStrategyDao.toClusterBatchModelAppliedStrategyArray(java.util.Collection)

toClusterBatchModelAppliedStrategy

protected ClusterBatchModelAppliedStrategy toClusterBatchModelAppliedStrategy(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 BatchModelAppliedStrategyDaoImpl class if you intend to use reporting queries.

See Also:
BatchModelAppliedStrategyDao.toClusterBatchModelAppliedStrategy(fr.ifremer.allegro.administration.programStrategy.BatchModelAppliedStrategy)

clusterBatchModelAppliedStrategyToEntityCollection

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

Specified by:
clusterBatchModelAppliedStrategyToEntityCollection in interface BatchModelAppliedStrategyDao
See Also:
BatchModelAppliedStrategyDao.clusterBatchModelAppliedStrategyToEntityCollection(java.util.Collection)

toClusterBatchModelAppliedStrategy

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

toClusterBatchModelAppliedStrategy

public ClusterBatchModelAppliedStrategy toClusterBatchModelAppliedStrategy(BatchModelAppliedStrategy entity)
Description copied from interface: BatchModelAppliedStrategyDao
Converts this DAO's entity to an object of type ClusterBatchModelAppliedStrategy.

Specified by:
toClusterBatchModelAppliedStrategy in interface BatchModelAppliedStrategyDao
See Also:
BatchModelAppliedStrategyDao.toClusterBatchModelAppliedStrategy(fr.ifremer.allegro.administration.programStrategy.BatchModelAppliedStrategy)

clusterBatchModelAppliedStrategyToEntity

public void clusterBatchModelAppliedStrategyToEntity(ClusterBatchModelAppliedStrategy source,
                                                     BatchModelAppliedStrategy target,
                                                     boolean copyIfNull)
Description copied from interface: BatchModelAppliedStrategyDao
Copies the fields of ClusterBatchModelAppliedStrategy to the specified entity.

Specified by:
clusterBatchModelAppliedStrategyToEntity in interface BatchModelAppliedStrategyDao
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.BatchModelAppliedStrategyDao#clusterBatchModelAppliedStrategyToEntity(fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterBatchModelAppliedStrategy, fr.ifremer.allegro.administration.programStrategy.BatchModelAppliedStrategy)

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

search

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

search

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

search

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

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


Copyright © 2008-2010 IFREMER. All Rights Reserved.