|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.orm.hibernate3.support.HibernateDaoSupport
fr.ifremer.allegro.administration.programStrategy.AppliedStrategyDaoBase
public abstract class AppliedStrategyDaoBase
Base Spring DAO Class: is able to create, update, remove, load, and find
objects of type fr.ifremer.allegro.administration.programStrategy.AppliedStrategy
.
AppliedStrategy
Field Summary |
---|
Fields inherited from interface fr.ifremer.allegro.administration.programStrategy.AppliedStrategyDao |
---|
TRANSFORM_CLUSTERAPPLIEDSTRATEGY, TRANSFORM_NONE, TRANSFORM_REMOTEAPPLIEDSTRATEGYFULLVO, TRANSFORM_REMOTEAPPLIEDSTRATEGYNATURALID |
Constructor Summary | |
---|---|
AppliedStrategyDaoBase()
|
Method Summary | |
---|---|
void |
clusterAppliedStrategyToEntity(ClusterAppliedStrategy source,
AppliedStrategy target,
boolean copyIfNull)
Copies the fields of ClusterAppliedStrategy to the specified entity. |
void |
clusterAppliedStrategyToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type ClusterAppliedStrategy to this
DAO's entity. |
AppliedStrategy |
create(AppliedStrategy appliedStrategy)
Creates an instance of fr.ifremer.allegro.administration.programStrategy.AppliedStrategy 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.AppliedStrategy and adds from the passed in entities collection |
AppliedStrategy |
create(java.util.Collection appliedPeriods,
java.util.Collection pmfmAppliedStrategies,
Strategy strategy,
Location location,
java.util.Collection batchModelAppliedStrategies)
Creates a new fr.ifremer.allegro.administration.programStrategy.AppliedStrategy
instance from all attributes and
properties and adds it to the persistent store. |
AppliedStrategy |
create(java.util.Collection appliedPeriods,
Location location,
Strategy strategy)
Creates a new fr.ifremer.allegro.administration.programStrategy.AppliedStrategy
instance from only required properties (attributes
and association ends) and adds it to the persistent store. |
java.lang.Object |
create(int transform,
AppliedStrategy appliedStrategy)
Does the same thing as AppliedStrategyDao.create(fr.ifremer.allegro.administration.programStrategy.AppliedStrategy) with an
additional flag called transform . |
java.util.Collection |
create(int transform,
java.util.Collection entities)
Does the same thing as AppliedStrategyDao.create(fr.ifremer.allegro.administration.programStrategy.AppliedStrategy) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
java.util.Collection appliedPeriods,
java.util.Collection pmfmAppliedStrategies,
Strategy strategy,
Location location,
java.util.Collection batchModelAppliedStrategies)
Does the same thing as AppliedStrategyDao.create(java.util.Collection,java.util.Collection,fr.ifremer.allegro.administration.programStrategy.Strategy,fr.ifremer.allegro.referential.location.Location,java.util.Collection) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
java.util.Collection appliedPeriods,
Location location,
Strategy strategy)
Does the same thing as AppliedStrategyDao.create(java.util.Collection,fr.ifremer.allegro.referential.location.Location,fr.ifremer.allegro.administration.programStrategy.Strategy) with an
additional flag called transform . |
AppliedStrategy |
createFromClusterAppliedStrategy(ClusterAppliedStrategy clusterAppliedStrategy)
|
AppliedStrategy |
findAppliedStrategyById(java.lang.Integer id)
|
java.lang.Object |
findAppliedStrategyById(int transform,
java.lang.Integer id)
Does the same thing as AppliedStrategyDao.findAppliedStrategyById(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findAppliedStrategyById(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as AppliedStrategyDao.findAppliedStrategyById(int, java.lang.Integer) with an
additional argument called queryString . |
AppliedStrategy |
findAppliedStrategyById(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as AppliedStrategyDao.findAppliedStrategyById(java.lang.Integer) with an
additional argument called queryString . |
java.util.Collection |
findAppliedStrategyByLocation(int transform,
int pageNumber,
int pageSize,
Location location)
Does the same thing as AppliedStrategyDao.findAppliedStrategyByLocation(int, fr.ifremer.allegro.referential.location.Location) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findAppliedStrategyByLocation(int pageNumber,
int pageSize,
Location location)
Does the same thing as AppliedStrategyDao.findAppliedStrategyByLocation(fr.ifremer.allegro.referential.location.Location) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findAppliedStrategyByLocation(int transform,
Location location)
Does the same thing as AppliedStrategyDao.findAppliedStrategyByLocation(fr.ifremer.allegro.referential.location.Location) with an
additional flag called transform . |
java.util.Collection |
findAppliedStrategyByLocation(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
Location location)
Does the same thing as AppliedStrategyDao.findAppliedStrategyByLocation(int, String, fr.ifremer.allegro.referential.location.Location) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findAppliedStrategyByLocation(int transform,
java.lang.String queryString,
Location location)
Does the same thing as AppliedStrategyDao.findAppliedStrategyByLocation(int, fr.ifremer.allegro.referential.location.Location) with an
additional argument called queryString . |
java.util.Collection |
findAppliedStrategyByLocation(Location location)
|
java.util.Collection |
findAppliedStrategyByLocation(java.lang.String queryString,
int pageNumber,
int pageSize,
Location location)
Does the same thing as AppliedStrategyDao.findAppliedStrategyByLocation(String, fr.ifremer.allegro.referential.location.Location) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findAppliedStrategyByLocation(java.lang.String queryString,
Location location)
Does the same thing as AppliedStrategyDao.findAppliedStrategyByLocation(fr.ifremer.allegro.referential.location.Location) with an
additional argument called queryString . |
AppliedStrategy |
findAppliedStrategyByNaturalId(java.lang.Integer id)
|
java.lang.Object |
findAppliedStrategyByNaturalId(int transform,
java.lang.Integer id)
Does the same thing as AppliedStrategyDao.findAppliedStrategyByNaturalId(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findAppliedStrategyByNaturalId(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as AppliedStrategyDao.findAppliedStrategyByNaturalId(int, java.lang.Integer) with an
additional argument called queryString . |
AppliedStrategy |
findAppliedStrategyByNaturalId(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as AppliedStrategyDao.findAppliedStrategyByNaturalId(java.lang.Integer) with an
additional argument called queryString . |
java.util.Collection |
findAppliedStrategyByStrategy(int transform,
int pageNumber,
int pageSize,
Strategy strategy)
Does the same thing as AppliedStrategyDao.findAppliedStrategyByStrategy(int, fr.ifremer.allegro.administration.programStrategy.Strategy) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findAppliedStrategyByStrategy(int pageNumber,
int pageSize,
Strategy strategy)
Does the same thing as AppliedStrategyDao.findAppliedStrategyByStrategy(fr.ifremer.allegro.administration.programStrategy.Strategy) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findAppliedStrategyByStrategy(int transform,
Strategy strategy)
Does the same thing as AppliedStrategyDao.findAppliedStrategyByStrategy(fr.ifremer.allegro.administration.programStrategy.Strategy) with an
additional flag called transform . |
java.util.Collection |
findAppliedStrategyByStrategy(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
Strategy strategy)
Does the same thing as AppliedStrategyDao.findAppliedStrategyByStrategy(int, String, fr.ifremer.allegro.administration.programStrategy.Strategy) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findAppliedStrategyByStrategy(int transform,
java.lang.String queryString,
Strategy strategy)
Does the same thing as AppliedStrategyDao.findAppliedStrategyByStrategy(int, fr.ifremer.allegro.administration.programStrategy.Strategy) with an
additional argument called queryString . |
java.util.Collection |
findAppliedStrategyByStrategy(Strategy strategy)
|
java.util.Collection |
findAppliedStrategyByStrategy(java.lang.String queryString,
int pageNumber,
int pageSize,
Strategy strategy)
Does the same thing as AppliedStrategyDao.findAppliedStrategyByStrategy(String, fr.ifremer.allegro.administration.programStrategy.Strategy) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findAppliedStrategyByStrategy(java.lang.String queryString,
Strategy strategy)
Does the same thing as AppliedStrategyDao.findAppliedStrategyByStrategy(fr.ifremer.allegro.administration.programStrategy.Strategy) with an
additional argument called queryString . |
java.util.Collection |
getAllAppliedStrategy()
|
java.util.Collection |
getAllAppliedStrategy(int transform)
Does the same thing as AppliedStrategyDao.getAllAppliedStrategy() with an
additional flag called transform . |
java.util.Collection |
getAllAppliedStrategy(int pageNumber,
int pageSize)
Does the same thing as AppliedStrategyDao.getAllAppliedStrategy() with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllAppliedStrategy(int transform,
int pageNumber,
int pageSize)
Does the same thing as AppliedStrategyDao.getAllAppliedStrategy(int) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllAppliedStrategy(int transform,
java.lang.String queryString)
Does the same thing as AppliedStrategyDao.getAllAppliedStrategy(int) with an
additional argument called queryString . |
java.util.Collection |
getAllAppliedStrategy(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as AppliedStrategyDao.getAllAppliedStrategy(int, String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllAppliedStrategy(java.lang.String queryString)
Does the same thing as AppliedStrategyDao.getAllAppliedStrategy() with an
additional argument called queryString . |
java.util.Collection |
getAllAppliedStrategy(java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as AppliedStrategyDao.getAllAppliedStrategy(String) with an
additional two arguments called pageNumber and pageSize . |
protected AppliedPeriodDao |
getAppliedPeriodDao()
Gets the reference to appliedPeriodDao . |
protected BatchModelAppliedStrategyDao |
getBatchModelAppliedStrategyDao()
Gets the reference to batchModelAppliedStrategyDao . |
protected LocationDao |
getLocationDao()
Gets the reference to locationDao . |
protected PmfmAppliedStrategyDao |
getPmfmAppliedStrategyDao()
Gets the reference to pmfmAppliedStrategyDao . |
protected java.security.Principal |
getPrincipal()
Gets the current principal if one has been set,
otherwise returns null . |
protected StrategyDao |
getStrategyDao()
Gets the reference to strategyDao . |
protected abstract AppliedStrategy |
handleCreateFromClusterAppliedStrategy(ClusterAppliedStrategy clusterAppliedStrategy)
Performs the core logic for createFromClusterAppliedStrategy(fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterAppliedStrategy) |
AppliedStrategy |
load(java.lang.Integer id)
Loads an instance of fr.ifremer.allegro.administration.programStrategy.AppliedStrategy from the persistent store. |
java.lang.Object |
load(int transform,
java.lang.Integer id)
Does the same thing as AppliedStrategyDao.load(java.lang.Integer) with an
additional flag called transform . |
java.util.Collection |
loadAll()
Loads all entities of type AppliedStrategy . |
java.util.Collection |
loadAll(int transform)
Does the same thing as AppliedStrategyDao.loadAll() with an
additional flag called transform . |
java.util.Collection |
loadAll(int pageNumber,
int pageSize)
Does the same thing as AppliedStrategyDao.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 AppliedStrategyDao.loadAll(int) with an
additional two arguments called pageNumber and pageSize . |
void |
remoteAppliedStrategyFullVOToEntity(RemoteAppliedStrategyFullVO source,
AppliedStrategy target,
boolean copyIfNull)
Copies the fields of RemoteAppliedStrategyFullVO to the specified entity. |
void |
remoteAppliedStrategyFullVOToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteAppliedStrategyFullVO to this
DAO's entity. |
void |
remoteAppliedStrategyNaturalIdToEntity(RemoteAppliedStrategyNaturalId source,
AppliedStrategy target,
boolean copyIfNull)
Copies the fields of RemoteAppliedStrategyNaturalId to the specified entity. |
void |
remoteAppliedStrategyNaturalIdToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteAppliedStrategyNaturalId to this
DAO's entity. |
void |
remove(AppliedStrategy appliedStrategy)
Removes the instance of fr.ifremer.allegro.administration.programStrategy.AppliedStrategy from the persistent store. |
void |
remove(java.util.Collection entities)
Removes all entities in the given entities |
void |
remove(java.lang.Integer id)
Removes the instance of fr.ifremer.allegro.administration.programStrategy.AppliedStrategy having the given identifier 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 AppliedStrategyDao.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 |
setAppliedPeriodDao(AppliedPeriodDao appliedPeriodDao)
Sets the reference to appliedPeriodDao . |
void |
setBatchModelAppliedStrategyDao(BatchModelAppliedStrategyDao batchModelAppliedStrategyDao)
Sets the reference to batchModelAppliedStrategyDao . |
void |
setLocationDao(LocationDao locationDao)
Sets the reference to locationDao . |
void |
setPmfmAppliedStrategyDao(PmfmAppliedStrategyDao pmfmAppliedStrategyDao)
Sets the reference to pmfmAppliedStrategyDao . |
void |
setStrategyDao(StrategyDao strategyDao)
Sets the reference to strategyDao . |
ClusterAppliedStrategy |
toClusterAppliedStrategy(AppliedStrategy entity)
Converts this DAO's entity to an object of type ClusterAppliedStrategy . |
void |
toClusterAppliedStrategy(AppliedStrategy source,
ClusterAppliedStrategy target)
Copies the fields of the specified entity to the target value object. |
protected ClusterAppliedStrategy |
toClusterAppliedStrategy(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
ClusterAppliedStrategy[] |
toClusterAppliedStrategyArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type ClusterAppliedStrategy . |
void |
toClusterAppliedStrategyCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type ClusterAppliedStrategy . |
protected AppliedStrategy |
toEntity(java.lang.Object[] row)
|
RemoteAppliedStrategyFullVO |
toRemoteAppliedStrategyFullVO(AppliedStrategy entity)
Converts this DAO's entity to an object of type RemoteAppliedStrategyFullVO . |
void |
toRemoteAppliedStrategyFullVO(AppliedStrategy source,
RemoteAppliedStrategyFullVO target)
Copies the fields of the specified entity to the target value object. |
protected RemoteAppliedStrategyFullVO |
toRemoteAppliedStrategyFullVO(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteAppliedStrategyFullVO[] |
toRemoteAppliedStrategyFullVOArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteAppliedStrategyFullVO . |
void |
toRemoteAppliedStrategyFullVOCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteAppliedStrategyFullVO . |
RemoteAppliedStrategyNaturalId |
toRemoteAppliedStrategyNaturalId(AppliedStrategy entity)
Converts this DAO's entity to an object of type RemoteAppliedStrategyNaturalId . |
void |
toRemoteAppliedStrategyNaturalId(AppliedStrategy source,
RemoteAppliedStrategyNaturalId target)
Copies the fields of the specified entity to the target value object. |
protected RemoteAppliedStrategyNaturalId |
toRemoteAppliedStrategyNaturalId(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteAppliedStrategyNaturalId[] |
toRemoteAppliedStrategyNaturalIdArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteAppliedStrategyNaturalId . |
void |
toRemoteAppliedStrategyNaturalIdCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteAppliedStrategyNaturalId . |
protected void |
transformEntities(int transform,
java.util.Collection entities)
Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.administration.programStrategy.AppliedStrategy)
method. |
protected java.lang.Object |
transformEntity(int transform,
AppliedStrategy 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.AppliedStrategyDao , please note
that the AppliedStrategyDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself
will be returned. |
void |
update(AppliedStrategy appliedStrategy)
Updates the appliedStrategy 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.AppliedStrategyDao |
---|
clusterAppliedStrategyToEntity, remoteAppliedStrategyFullVOToEntity, remoteAppliedStrategyNaturalIdToEntity |
Constructor Detail |
---|
public AppliedStrategyDaoBase()
Method Detail |
---|
public void setLocationDao(LocationDao locationDao)
locationDao
.
protected LocationDao getLocationDao()
locationDao
.
public void setStrategyDao(StrategyDao strategyDao)
strategyDao
.
protected StrategyDao getStrategyDao()
strategyDao
.
public void setAppliedPeriodDao(AppliedPeriodDao appliedPeriodDao)
appliedPeriodDao
.
protected AppliedPeriodDao getAppliedPeriodDao()
appliedPeriodDao
.
public void setPmfmAppliedStrategyDao(PmfmAppliedStrategyDao pmfmAppliedStrategyDao)
pmfmAppliedStrategyDao
.
protected PmfmAppliedStrategyDao getPmfmAppliedStrategyDao()
pmfmAppliedStrategyDao
.
public void setBatchModelAppliedStrategyDao(BatchModelAppliedStrategyDao batchModelAppliedStrategyDao)
batchModelAppliedStrategyDao
.
protected BatchModelAppliedStrategyDao getBatchModelAppliedStrategyDao()
batchModelAppliedStrategyDao
.
public java.lang.Object load(int transform, java.lang.Integer id)
AppliedStrategyDao
Does the same thing as AppliedStrategyDao.load(java.lang.Integer)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined in this class then the result WILL BE passed through an operation which can
optionally transform the entity (into a value object for example). By default, transformation does
not occur.
load
in interface AppliedStrategyDao
id
- identifier of the entity to load
AppliedStrategyDao.load(int, java.lang.Integer)
public AppliedStrategy load(java.lang.Integer id)
AppliedStrategyDao
load
in interface AppliedStrategyDao
AppliedStrategyDao.load(java.lang.Integer)
public java.util.Collection loadAll()
AppliedStrategyDao
AppliedStrategy
.
loadAll
in interface AppliedStrategyDao
AppliedStrategyDao.loadAll()
public java.util.Collection loadAll(int transform)
AppliedStrategyDao
Does the same thing as AppliedStrategyDao.loadAll()
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined here then the result WILL BE passed through an operation which can optionally
transform the entity (into a value object for example). By default, transformation does
not occur.
loadAll
in interface AppliedStrategyDao
transform
- the flag indicating what transformation to use.
AppliedStrategyDao.loadAll(int)
public java.util.Collection loadAll(int pageNumber, int pageSize)
AppliedStrategyDao
Does the same thing as AppliedStrategyDao.loadAll()
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
loadAll
in interface AppliedStrategyDao
pageNumber
- the page number to retrieve when paging results.pageSize
- the size of the page to retrieve when paging results.
AppliedStrategyDao.loadAll(int, int)
public java.util.Collection loadAll(int transform, int pageNumber, int pageSize)
AppliedStrategyDao
Does the same thing as AppliedStrategyDao.loadAll(int)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
loadAll
in interface AppliedStrategyDao
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.
AppliedStrategyDao.loadAll(int, int, int)
public AppliedStrategy create(AppliedStrategy appliedStrategy)
AppliedStrategyDao
create
in interface AppliedStrategyDao
AppliedStrategyDao.create(fr.ifremer.allegro.administration.programStrategy.AppliedStrategy)
public java.lang.Object create(int transform, AppliedStrategy appliedStrategy)
AppliedStrategyDao
Does the same thing as AppliedStrategyDao.create(fr.ifremer.allegro.administration.programStrategy.AppliedStrategy)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined here then the result WILL BE passed through an operation which can optionally
transform the entity (into a value object for example). By default, transformation does
not occur.
create
in interface AppliedStrategyDao
AppliedStrategyDao.create(int transform, fr.ifremer.allegro.administration.programStrategy.AppliedStrategy)
public java.util.Collection create(java.util.Collection entities)
AppliedStrategyDao
entities
collection
create
in interface AppliedStrategyDao
entities
- the collection of fr.ifremer.allegro.administration.programStrategy.AppliedStrategy
instances to create.
AppliedStrategyDao.create(java.util.Collection)
public java.util.Collection create(int transform, java.util.Collection entities)
AppliedStrategyDao
Does the same thing as AppliedStrategyDao.create(fr.ifremer.allegro.administration.programStrategy.AppliedStrategy)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined here then the result WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
create
in interface AppliedStrategyDao
AppliedStrategyDao.create(int, java.util.Collection)
public AppliedStrategy create(java.util.Collection appliedPeriods, java.util.Collection pmfmAppliedStrategies, Strategy strategy, Location location, java.util.Collection batchModelAppliedStrategies)
AppliedStrategyDao
Creates a new fr.ifremer.allegro.administration.programStrategy.AppliedStrategy
instance from all attributes and
properties and adds it to the persistent store.
create
in interface AppliedStrategyDao
AppliedStrategyDao.create(java.util.Collection,java.util.Collection,fr.ifremer.allegro.administration.programStrategy.Strategy,fr.ifremer.allegro.referential.location.Location,java.util.Collection)
public java.lang.Object create(int transform, java.util.Collection appliedPeriods, java.util.Collection pmfmAppliedStrategies, Strategy strategy, Location location, java.util.Collection batchModelAppliedStrategies)
AppliedStrategyDao
Does the same thing as AppliedStrategyDao.create(java.util.Collection,java.util.Collection,fr.ifremer.allegro.administration.programStrategy.Strategy,fr.ifremer.allegro.referential.location.Location,java.util.Collection)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined here then the result WILL BE passed through an operation which can optionally
transform the entity (into a value object for example). By default, transformation does
not occur.
create
in interface AppliedStrategyDao
AppliedStrategyDao.create(int, java.util.Collection,java.util.Collection,fr.ifremer.allegro.administration.programStrategy.Strategy,fr.ifremer.allegro.referential.location.Location,java.util.Collection)
public AppliedStrategy create(java.util.Collection appliedPeriods, Location location, Strategy strategy)
AppliedStrategyDao
Creates a new fr.ifremer.allegro.administration.programStrategy.AppliedStrategy
instance from only required properties (attributes
and association ends) and adds it to the persistent store.
create
in interface AppliedStrategyDao
AppliedStrategyDao.create(java.util.Collection,fr.ifremer.allegro.referential.location.Location,fr.ifremer.allegro.administration.programStrategy.Strategy)
public java.lang.Object create(int transform, java.util.Collection appliedPeriods, Location location, Strategy strategy)
AppliedStrategyDao
Does the same thing as AppliedStrategyDao.create(java.util.Collection,fr.ifremer.allegro.referential.location.Location,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.
create
in interface AppliedStrategyDao
AppliedStrategyDao.create(int, java.util.Collection,fr.ifremer.allegro.referential.location.Location,fr.ifremer.allegro.administration.programStrategy.Strategy)
public void update(AppliedStrategy appliedStrategy)
AppliedStrategyDao
appliedStrategy
instance in the persistent store.
update
in interface AppliedStrategyDao
AppliedStrategyDao.update(fr.ifremer.allegro.administration.programStrategy.AppliedStrategy)
public void update(java.util.Collection entities)
AppliedStrategyDao
entities
collection in the persistent store.
update
in interface AppliedStrategyDao
AppliedStrategyDao.update(java.util.Collection)
public void remove(AppliedStrategy appliedStrategy)
AppliedStrategyDao
remove
in interface AppliedStrategyDao
AppliedStrategyDao.remove(fr.ifremer.allegro.administration.programStrategy.AppliedStrategy)
public void remove(java.lang.Integer id)
AppliedStrategyDao
identifier
from the persistent store.
remove
in interface AppliedStrategyDao
AppliedStrategyDao.remove(java.lang.Integer)
public void remove(java.util.Collection entities)
AppliedStrategyDao
entities collection.
- Specified by:
remove
in interface AppliedStrategyDao
- See Also:
AppliedStrategyDao.remove(java.util.Collection)
public java.util.Collection getAllAppliedStrategy()
getAllAppliedStrategy
in interface AppliedStrategyDao
AppliedStrategyDao.getAllAppliedStrategy()
public java.util.Collection getAllAppliedStrategy(int transform)
AppliedStrategyDao
Does the same thing as AppliedStrategyDao.getAllAppliedStrategy()
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.
getAllAppliedStrategy
in interface AppliedStrategyDao
AppliedStrategyDao.getAllAppliedStrategy(int)
public java.util.Collection getAllAppliedStrategy(java.lang.String queryString)
AppliedStrategyDao
Does the same thing as AppliedStrategyDao.getAllAppliedStrategy()
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in AppliedStrategyDao.getAllAppliedStrategy()
.
getAllAppliedStrategy
in interface AppliedStrategyDao
AppliedStrategyDao.getAllAppliedStrategy(java.lang.String)
public java.util.Collection getAllAppliedStrategy(int pageNumber, int pageSize)
AppliedStrategyDao
Does the same thing as AppliedStrategyDao.getAllAppliedStrategy()
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.
getAllAppliedStrategy
in interface AppliedStrategyDao
AppliedStrategyDao.getAllAppliedStrategy(int, int)
public java.util.Collection getAllAppliedStrategy(java.lang.String queryString, int pageNumber, int pageSize)
AppliedStrategyDao
Does the same thing as AppliedStrategyDao.getAllAppliedStrategy(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.
getAllAppliedStrategy
in interface AppliedStrategyDao
AppliedStrategyDao.getAllAppliedStrategy(String, int, int)
public java.util.Collection getAllAppliedStrategy(int transform, java.lang.String queryString)
AppliedStrategyDao
Does the same thing as AppliedStrategyDao.getAllAppliedStrategy(int)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in AppliedStrategyDao.getAllAppliedStrategy(int)
.
getAllAppliedStrategy
in interface AppliedStrategyDao
AppliedStrategyDao.getAllAppliedStrategy(int, String)
public java.util.Collection getAllAppliedStrategy(int transform, int pageNumber, int pageSize)
AppliedStrategyDao
Does the same thing as AppliedStrategyDao.getAllAppliedStrategy(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.
getAllAppliedStrategy
in interface AppliedStrategyDao
AppliedStrategyDao.getAllAppliedStrategy(int, int, int)
public java.util.Collection getAllAppliedStrategy(int transform, java.lang.String queryString, int pageNumber, int pageSize)
AppliedStrategyDao
Does the same thing as AppliedStrategyDao.getAllAppliedStrategy(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.
getAllAppliedStrategy
in interface AppliedStrategyDao
AppliedStrategyDao.getAllAppliedStrategy(int, java.lang.String, int, int)
public AppliedStrategy findAppliedStrategyById(java.lang.Integer id)
findAppliedStrategyById
in interface AppliedStrategyDao
AppliedStrategyDao.findAppliedStrategyById(java.lang.Integer)
public java.lang.Object findAppliedStrategyById(int transform, java.lang.Integer id)
AppliedStrategyDao
Does the same thing as AppliedStrategyDao.findAppliedStrategyById(java.lang.Integer)
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.
findAppliedStrategyById
in interface AppliedStrategyDao
AppliedStrategyDao.findAppliedStrategyById(int, java.lang.Integer)
public AppliedStrategy findAppliedStrategyById(java.lang.String queryString, java.lang.Integer id)
AppliedStrategyDao
Does the same thing as AppliedStrategyDao.findAppliedStrategyById(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in AppliedStrategyDao.findAppliedStrategyById(java.lang.Integer)
.
findAppliedStrategyById
in interface AppliedStrategyDao
AppliedStrategyDao.findAppliedStrategyById(java.lang.String, java.lang.Integer)
public java.lang.Object findAppliedStrategyById(int transform, java.lang.String queryString, java.lang.Integer id)
AppliedStrategyDao
Does the same thing as AppliedStrategyDao.findAppliedStrategyById(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in AppliedStrategyDao.findAppliedStrategyById(int, java.lang.Integer id)
.
findAppliedStrategyById
in interface AppliedStrategyDao
AppliedStrategyDao.findAppliedStrategyById(int, java.lang.String, java.lang.Integer)
public java.util.Collection findAppliedStrategyByLocation(Location location)
findAppliedStrategyByLocation
in interface AppliedStrategyDao
AppliedStrategyDao.findAppliedStrategyByLocation(fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findAppliedStrategyByLocation(int transform, Location location)
AppliedStrategyDao
Does the same thing as AppliedStrategyDao.findAppliedStrategyByLocation(fr.ifremer.allegro.referential.location.Location)
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.
findAppliedStrategyByLocation
in interface AppliedStrategyDao
AppliedStrategyDao.findAppliedStrategyByLocation(int, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findAppliedStrategyByLocation(java.lang.String queryString, Location location)
AppliedStrategyDao
Does the same thing as AppliedStrategyDao.findAppliedStrategyByLocation(fr.ifremer.allegro.referential.location.Location)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in AppliedStrategyDao.findAppliedStrategyByLocation(fr.ifremer.allegro.referential.location.Location)
.
findAppliedStrategyByLocation
in interface AppliedStrategyDao
AppliedStrategyDao.findAppliedStrategyByLocation(java.lang.String, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findAppliedStrategyByLocation(int pageNumber, int pageSize, Location location)
AppliedStrategyDao
Does the same thing as AppliedStrategyDao.findAppliedStrategyByLocation(fr.ifremer.allegro.referential.location.Location)
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.
findAppliedStrategyByLocation
in interface AppliedStrategyDao
AppliedStrategyDao.findAppliedStrategyByLocation(int, int, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findAppliedStrategyByLocation(java.lang.String queryString, int pageNumber, int pageSize, Location location)
AppliedStrategyDao
Does the same thing as AppliedStrategyDao.findAppliedStrategyByLocation(String, fr.ifremer.allegro.referential.location.Location)
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.
findAppliedStrategyByLocation
in interface AppliedStrategyDao
AppliedStrategyDao.findAppliedStrategyByLocation(String, int, int, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findAppliedStrategyByLocation(int transform, java.lang.String queryString, Location location)
AppliedStrategyDao
Does the same thing as AppliedStrategyDao.findAppliedStrategyByLocation(int, fr.ifremer.allegro.referential.location.Location)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in AppliedStrategyDao.findAppliedStrategyByLocation(int, fr.ifremer.allegro.referential.location.Location location)
.
findAppliedStrategyByLocation
in interface AppliedStrategyDao
AppliedStrategyDao.findAppliedStrategyByLocation(int, String, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findAppliedStrategyByLocation(int transform, int pageNumber, int pageSize, Location location)
AppliedStrategyDao
Does the same thing as AppliedStrategyDao.findAppliedStrategyByLocation(int, fr.ifremer.allegro.referential.location.Location)
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.
findAppliedStrategyByLocation
in interface AppliedStrategyDao
AppliedStrategyDao.findAppliedStrategyByLocation(int, int, int, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findAppliedStrategyByLocation(int transform, java.lang.String queryString, int pageNumber, int pageSize, Location location)
AppliedStrategyDao
Does the same thing as AppliedStrategyDao.findAppliedStrategyByLocation(int, String, fr.ifremer.allegro.referential.location.Location)
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.
findAppliedStrategyByLocation
in interface AppliedStrategyDao
AppliedStrategyDao.findAppliedStrategyByLocation(int, java.lang.String, int, int, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findAppliedStrategyByStrategy(Strategy strategy)
findAppliedStrategyByStrategy
in interface AppliedStrategyDao
AppliedStrategyDao.findAppliedStrategyByStrategy(fr.ifremer.allegro.administration.programStrategy.Strategy)
public java.util.Collection findAppliedStrategyByStrategy(int transform, Strategy strategy)
AppliedStrategyDao
Does the same thing as AppliedStrategyDao.findAppliedStrategyByStrategy(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.
findAppliedStrategyByStrategy
in interface AppliedStrategyDao
AppliedStrategyDao.findAppliedStrategyByStrategy(int, fr.ifremer.allegro.administration.programStrategy.Strategy)
public java.util.Collection findAppliedStrategyByStrategy(java.lang.String queryString, Strategy strategy)
AppliedStrategyDao
Does the same thing as AppliedStrategyDao.findAppliedStrategyByStrategy(fr.ifremer.allegro.administration.programStrategy.Strategy)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in AppliedStrategyDao.findAppliedStrategyByStrategy(fr.ifremer.allegro.administration.programStrategy.Strategy)
.
findAppliedStrategyByStrategy
in interface AppliedStrategyDao
AppliedStrategyDao.findAppliedStrategyByStrategy(java.lang.String, fr.ifremer.allegro.administration.programStrategy.Strategy)
public java.util.Collection findAppliedStrategyByStrategy(int pageNumber, int pageSize, Strategy strategy)
AppliedStrategyDao
Does the same thing as AppliedStrategyDao.findAppliedStrategyByStrategy(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.
findAppliedStrategyByStrategy
in interface AppliedStrategyDao
AppliedStrategyDao.findAppliedStrategyByStrategy(int, int, fr.ifremer.allegro.administration.programStrategy.Strategy)
public java.util.Collection findAppliedStrategyByStrategy(java.lang.String queryString, int pageNumber, int pageSize, Strategy strategy)
AppliedStrategyDao
Does the same thing as AppliedStrategyDao.findAppliedStrategyByStrategy(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.
findAppliedStrategyByStrategy
in interface AppliedStrategyDao
AppliedStrategyDao.findAppliedStrategyByStrategy(String, int, int, fr.ifremer.allegro.administration.programStrategy.Strategy)
public java.util.Collection findAppliedStrategyByStrategy(int transform, java.lang.String queryString, Strategy strategy)
AppliedStrategyDao
Does the same thing as AppliedStrategyDao.findAppliedStrategyByStrategy(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 AppliedStrategyDao.findAppliedStrategyByStrategy(int, fr.ifremer.allegro.administration.programStrategy.Strategy strategy)
.
findAppliedStrategyByStrategy
in interface AppliedStrategyDao
AppliedStrategyDao.findAppliedStrategyByStrategy(int, String, fr.ifremer.allegro.administration.programStrategy.Strategy)
public java.util.Collection findAppliedStrategyByStrategy(int transform, int pageNumber, int pageSize, Strategy strategy)
AppliedStrategyDao
Does the same thing as AppliedStrategyDao.findAppliedStrategyByStrategy(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.
findAppliedStrategyByStrategy
in interface AppliedStrategyDao
AppliedStrategyDao.findAppliedStrategyByStrategy(int, int, int, fr.ifremer.allegro.administration.programStrategy.Strategy)
public java.util.Collection findAppliedStrategyByStrategy(int transform, java.lang.String queryString, int pageNumber, int pageSize, Strategy strategy)
AppliedStrategyDao
Does the same thing as AppliedStrategyDao.findAppliedStrategyByStrategy(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.
findAppliedStrategyByStrategy
in interface AppliedStrategyDao
AppliedStrategyDao.findAppliedStrategyByStrategy(int, java.lang.String, int, int, fr.ifremer.allegro.administration.programStrategy.Strategy)
public AppliedStrategy findAppliedStrategyByNaturalId(java.lang.Integer id)
findAppliedStrategyByNaturalId
in interface AppliedStrategyDao
AppliedStrategyDao.findAppliedStrategyByNaturalId(java.lang.Integer)
public java.lang.Object findAppliedStrategyByNaturalId(int transform, java.lang.Integer id)
AppliedStrategyDao
Does the same thing as AppliedStrategyDao.findAppliedStrategyByNaturalId(java.lang.Integer)
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.
findAppliedStrategyByNaturalId
in interface AppliedStrategyDao
AppliedStrategyDao.findAppliedStrategyByNaturalId(int, java.lang.Integer)
public AppliedStrategy findAppliedStrategyByNaturalId(java.lang.String queryString, java.lang.Integer id)
AppliedStrategyDao
Does the same thing as AppliedStrategyDao.findAppliedStrategyByNaturalId(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in AppliedStrategyDao.findAppliedStrategyByNaturalId(java.lang.Integer)
.
findAppliedStrategyByNaturalId
in interface AppliedStrategyDao
AppliedStrategyDao.findAppliedStrategyByNaturalId(java.lang.String, java.lang.Integer)
public java.lang.Object findAppliedStrategyByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
AppliedStrategyDao
Does the same thing as AppliedStrategyDao.findAppliedStrategyByNaturalId(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in AppliedStrategyDao.findAppliedStrategyByNaturalId(int, java.lang.Integer id)
.
findAppliedStrategyByNaturalId
in interface AppliedStrategyDao
AppliedStrategyDao.findAppliedStrategyByNaturalId(int, java.lang.String, java.lang.Integer)
public AppliedStrategy createFromClusterAppliedStrategy(ClusterAppliedStrategy clusterAppliedStrategy)
createFromClusterAppliedStrategy
in interface AppliedStrategyDao
AppliedStrategyDao.createFromClusterAppliedStrategy(fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterAppliedStrategy)
protected abstract AppliedStrategy handleCreateFromClusterAppliedStrategy(ClusterAppliedStrategy clusterAppliedStrategy) throws java.lang.Exception
createFromClusterAppliedStrategy(fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterAppliedStrategy)
java.lang.Exception
protected java.lang.Object transformEntity(int transform, AppliedStrategy entity)
transform
flag is set to one of the constants defined in fr.ifremer.allegro.administration.programStrategy.AppliedStrategyDao
, please note
that the AppliedStrategyDao.TRANSFORM_NONE
constant denotes no transformation, so the entity itself
will be returned.
This method will return instances of these types:
AppliedStrategy
- AppliedStrategyDao.TRANSFORM_NONE
RemoteAppliedStrategyFullVO
- TRANSFORM_REMOTEAPPLIEDSTRATEGYFULLVO
RemoteAppliedStrategyNaturalId
- TRANSFORM_REMOTEAPPLIEDSTRATEGYNATURALID
ClusterAppliedStrategy
- TRANSFORM_CLUSTERAPPLIEDSTRATEGY
AppliedStrategyDao.TRANSFORM_NONE
is assumed.
transform
- one of the constants declared in AppliedStrategyDao
entity
- an entity that was found
transformEntities(int,java.util.Collection)
protected void transformEntities(int transform, java.util.Collection entities)
transformEntity(int,fr.ifremer.allegro.administration.programStrategy.AppliedStrategy)
method. This method does not instantiate a new collection.
This method is to be used internally only.
transform
- one of the constants declared in fr.ifremer.allegro.administration.programStrategy.AppliedStrategyDao
entities
- the collection of entities to transformtransformEntity(int,fr.ifremer.allegro.administration.programStrategy.AppliedStrategy)
protected AppliedStrategy toEntity(java.lang.Object[] row)
public final void toRemoteAppliedStrategyFullVOCollection(java.util.Collection entities)
AppliedStrategyDao
RemoteAppliedStrategyFullVO
.
toRemoteAppliedStrategyFullVOCollection
in interface AppliedStrategyDao
AppliedStrategyDao.toRemoteAppliedStrategyFullVOCollection(java.util.Collection)
public final RemoteAppliedStrategyFullVO[] toRemoteAppliedStrategyFullVOArray(java.util.Collection entities)
AppliedStrategyDao
RemoteAppliedStrategyFullVO
.
toRemoteAppliedStrategyFullVOArray
in interface AppliedStrategyDao
AppliedStrategyDao.toRemoteAppliedStrategyFullVOArray(java.util.Collection)
protected RemoteAppliedStrategyFullVO toRemoteAppliedStrategyFullVO(java.lang.Object[] row)
AppliedStrategyDaoImpl
class if you intend to use reporting queries.
AppliedStrategyDao.toRemoteAppliedStrategyFullVO(fr.ifremer.allegro.administration.programStrategy.AppliedStrategy)
public final void remoteAppliedStrategyFullVOToEntityCollection(java.util.Collection instances)
AppliedStrategyDao
RemoteAppliedStrategyFullVO
to this
DAO's entity.
remoteAppliedStrategyFullVOToEntityCollection
in interface AppliedStrategyDao
AppliedStrategyDao.remoteAppliedStrategyFullVOToEntityCollection(java.util.Collection)
public void toRemoteAppliedStrategyFullVO(AppliedStrategy source, RemoteAppliedStrategyFullVO target)
AppliedStrategyDao
toRemoteAppliedStrategyFullVO
in interface AppliedStrategyDao
AppliedStrategyDao.toRemoteAppliedStrategyFullVO(fr.ifremer.allegro.administration.programStrategy.AppliedStrategy, fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteAppliedStrategyFullVO)
public RemoteAppliedStrategyFullVO toRemoteAppliedStrategyFullVO(AppliedStrategy entity)
AppliedStrategyDao
RemoteAppliedStrategyFullVO
.
toRemoteAppliedStrategyFullVO
in interface AppliedStrategyDao
AppliedStrategyDao.toRemoteAppliedStrategyFullVO(fr.ifremer.allegro.administration.programStrategy.AppliedStrategy)
public void remoteAppliedStrategyFullVOToEntity(RemoteAppliedStrategyFullVO source, AppliedStrategy target, boolean copyIfNull)
AppliedStrategyDao
RemoteAppliedStrategyFullVO
to the specified entity.
remoteAppliedStrategyFullVOToEntity
in interface AppliedStrategyDao
copyIfNull
- If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE,
it will be copied regardless of its value.fr.ifremer.allegro.administration.programStrategy.AppliedStrategyDao#remoteAppliedStrategyFullVOToEntity(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteAppliedStrategyFullVO, fr.ifremer.allegro.administration.programStrategy.AppliedStrategy)
public final void toRemoteAppliedStrategyNaturalIdCollection(java.util.Collection entities)
AppliedStrategyDao
RemoteAppliedStrategyNaturalId
.
toRemoteAppliedStrategyNaturalIdCollection
in interface AppliedStrategyDao
AppliedStrategyDao.toRemoteAppliedStrategyNaturalIdCollection(java.util.Collection)
public final RemoteAppliedStrategyNaturalId[] toRemoteAppliedStrategyNaturalIdArray(java.util.Collection entities)
AppliedStrategyDao
RemoteAppliedStrategyNaturalId
.
toRemoteAppliedStrategyNaturalIdArray
in interface AppliedStrategyDao
AppliedStrategyDao.toRemoteAppliedStrategyNaturalIdArray(java.util.Collection)
protected RemoteAppliedStrategyNaturalId toRemoteAppliedStrategyNaturalId(java.lang.Object[] row)
AppliedStrategyDaoImpl
class if you intend to use reporting queries.
AppliedStrategyDao.toRemoteAppliedStrategyNaturalId(fr.ifremer.allegro.administration.programStrategy.AppliedStrategy)
public final void remoteAppliedStrategyNaturalIdToEntityCollection(java.util.Collection instances)
AppliedStrategyDao
RemoteAppliedStrategyNaturalId
to this
DAO's entity.
remoteAppliedStrategyNaturalIdToEntityCollection
in interface AppliedStrategyDao
AppliedStrategyDao.remoteAppliedStrategyNaturalIdToEntityCollection(java.util.Collection)
public void toRemoteAppliedStrategyNaturalId(AppliedStrategy source, RemoteAppliedStrategyNaturalId target)
AppliedStrategyDao
toRemoteAppliedStrategyNaturalId
in interface AppliedStrategyDao
AppliedStrategyDao.toRemoteAppliedStrategyNaturalId(fr.ifremer.allegro.administration.programStrategy.AppliedStrategy, fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteAppliedStrategyNaturalId)
public RemoteAppliedStrategyNaturalId toRemoteAppliedStrategyNaturalId(AppliedStrategy entity)
AppliedStrategyDao
RemoteAppliedStrategyNaturalId
.
toRemoteAppliedStrategyNaturalId
in interface AppliedStrategyDao
AppliedStrategyDao.toRemoteAppliedStrategyNaturalId(fr.ifremer.allegro.administration.programStrategy.AppliedStrategy)
public void remoteAppliedStrategyNaturalIdToEntity(RemoteAppliedStrategyNaturalId source, AppliedStrategy target, boolean copyIfNull)
AppliedStrategyDao
RemoteAppliedStrategyNaturalId
to the specified entity.
remoteAppliedStrategyNaturalIdToEntity
in interface AppliedStrategyDao
copyIfNull
- If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE,
it will be copied regardless of its value.fr.ifremer.allegro.administration.programStrategy.AppliedStrategyDao#remoteAppliedStrategyNaturalIdToEntity(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteAppliedStrategyNaturalId, fr.ifremer.allegro.administration.programStrategy.AppliedStrategy)
public final void toClusterAppliedStrategyCollection(java.util.Collection entities)
AppliedStrategyDao
ClusterAppliedStrategy
.
toClusterAppliedStrategyCollection
in interface AppliedStrategyDao
AppliedStrategyDao.toClusterAppliedStrategyCollection(java.util.Collection)
public final ClusterAppliedStrategy[] toClusterAppliedStrategyArray(java.util.Collection entities)
AppliedStrategyDao
ClusterAppliedStrategy
.
toClusterAppliedStrategyArray
in interface AppliedStrategyDao
AppliedStrategyDao.toClusterAppliedStrategyArray(java.util.Collection)
protected ClusterAppliedStrategy toClusterAppliedStrategy(java.lang.Object[] row)
AppliedStrategyDaoImpl
class if you intend to use reporting queries.
AppliedStrategyDao.toClusterAppliedStrategy(fr.ifremer.allegro.administration.programStrategy.AppliedStrategy)
public final void clusterAppliedStrategyToEntityCollection(java.util.Collection instances)
AppliedStrategyDao
ClusterAppliedStrategy
to this
DAO's entity.
clusterAppliedStrategyToEntityCollection
in interface AppliedStrategyDao
AppliedStrategyDao.clusterAppliedStrategyToEntityCollection(java.util.Collection)
public void toClusterAppliedStrategy(AppliedStrategy source, ClusterAppliedStrategy target)
AppliedStrategyDao
toClusterAppliedStrategy
in interface AppliedStrategyDao
AppliedStrategyDao.toClusterAppliedStrategy(fr.ifremer.allegro.administration.programStrategy.AppliedStrategy, fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterAppliedStrategy)
public ClusterAppliedStrategy toClusterAppliedStrategy(AppliedStrategy entity)
AppliedStrategyDao
ClusterAppliedStrategy
.
toClusterAppliedStrategy
in interface AppliedStrategyDao
AppliedStrategyDao.toClusterAppliedStrategy(fr.ifremer.allegro.administration.programStrategy.AppliedStrategy)
public void clusterAppliedStrategyToEntity(ClusterAppliedStrategy source, AppliedStrategy target, boolean copyIfNull)
AppliedStrategyDao
ClusterAppliedStrategy
to the specified entity.
clusterAppliedStrategyToEntity
in interface AppliedStrategyDao
copyIfNull
- If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE,
it will be copied regardless of its value.fr.ifremer.allegro.administration.programStrategy.AppliedStrategyDao#clusterAppliedStrategyToEntity(fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterAppliedStrategy, fr.ifremer.allegro.administration.programStrategy.AppliedStrategy)
protected java.security.Principal getPrincipal()
principal
if one has been set,
otherwise returns null
.
public PaginationResult search(int transform, int pageNumber, int pageSize, Search search)
AppliedStrategyDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface AppliedStrategyDao
transform
- the transformation flag.pageNumber
- the page number in the data to retrievepageSize
- the size of the page to retrieve.search
- the search object which provides the search parameters and pagination specification.
PaginationResult
instance.AppliedStrategyDao.search(int, int, int, fr.ifremer.allegro.Search)
public PaginationResult search(int pageNumber, int pageSize, Search search)
AppliedStrategyDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface AppliedStrategyDao
pageNumber
- the page number in the data to retrievepageSize
- the size of the page to retrieve.search
- the search object which provides the search parameters and pagination specification.
PaginationResult
instance.AppliedStrategyDao.search(int, int, fr.ifremer.allegro.Search)
public java.util.Set search(int transform, Search search)
AppliedStrategyDao
AppliedStrategyDao.search(fr.ifremer.allegro.Search)
but with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
search
in interface AppliedStrategyDao
transform
- the transformation flag.search
- the search object which provides the search parameters and pagination specification.
AppliedStrategyDao.search(int, fr.ifremer.allegro.Search)
public java.util.Set search(Search search)
AppliedStrategyDao
search
object.
search
in interface AppliedStrategyDao
search
- the search object which provides the search parameters and pagination specification.
AppliedStrategyDao.search(fr.ifremer.allegro.Search)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |