|
||||||||||
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.ReferenceTaxonStrategyDaoBase
public abstract class ReferenceTaxonStrategyDaoBase
Base Spring DAO Class: is able to create, update, remove, load, and find
objects of type fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy
.
ReferenceTaxonStrategy
Field Summary |
---|
Fields inherited from interface fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategyDao |
---|
TRANSFORM_CLUSTERREFERENCETAXONSTRATEGY, TRANSFORM_NONE, TRANSFORM_REMOTEREFERENCETAXONSTRATEGYFULLVO, TRANSFORM_REMOTEREFERENCETAXONSTRATEGYNATURALID |
Constructor Summary | |
---|---|
ReferenceTaxonStrategyDaoBase()
|
Method Summary | |
---|---|
void |
clusterReferenceTaxonStrategyToEntity(ClusterReferenceTaxonStrategy source,
ReferenceTaxonStrategy target,
boolean copyIfNull)
Copies the fields of ClusterReferenceTaxonStrategy to the specified entity. |
void |
clusterReferenceTaxonStrategyToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type ClusterReferenceTaxonStrategy to this
DAO's entity. |
java.util.Collection |
create(java.util.Collection entities)
Creates a new instance of fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy and adds from the passed in entities collection |
java.util.Collection |
create(int transform,
java.util.Collection entities)
Does the same thing as ReferenceTaxonStrategyDao.create(fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
ReferenceTaxonStrategy referenceTaxonStrategy)
Does the same thing as ReferenceTaxonStrategyDao.create(fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
ReferenceTaxon referenceTaxon,
Strategy strategy)
Does the same thing as ReferenceTaxonStrategyDao.create(fr.ifremer.allegro.referential.taxon.ReferenceTaxon,fr.ifremer.allegro.administration.programStrategy.Strategy) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
java.lang.Short priorityLevel,
ReferenceTaxon referenceTaxon,
Strategy strategy)
Does the same thing as ReferenceTaxonStrategyDao.create(java.lang.Short,fr.ifremer.allegro.referential.taxon.ReferenceTaxon,fr.ifremer.allegro.administration.programStrategy.Strategy) with an
additional flag called transform . |
ReferenceTaxonStrategy |
create(ReferenceTaxonStrategy referenceTaxonStrategy)
Creates an instance of fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy and adds it to the persistent store. |
ReferenceTaxonStrategy |
create(ReferenceTaxon referenceTaxon,
Strategy strategy)
Creates a new fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy
instance from only required properties (attributes
and association ends) and adds it to the persistent store. |
ReferenceTaxonStrategy |
create(java.lang.Short priorityLevel,
ReferenceTaxon referenceTaxon,
Strategy strategy)
Creates a new fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy
instance from all attributes and
properties and adds it to the persistent store. |
ReferenceTaxonStrategy |
createFromClusterReferenceTaxonStrategy(ClusterReferenceTaxonStrategy clusterReferenceTaxonStrategy)
|
java.lang.Object |
findReferenceTaxonStrategyByIdentifiers(int transform,
ReferenceTaxon referenceTaxon,
Strategy strategy)
Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByIdentifiers(fr.ifremer.allegro.referential.taxon.ReferenceTaxon, fr.ifremer.allegro.administration.programStrategy.Strategy) with an
additional flag called transform . |
java.lang.Object |
findReferenceTaxonStrategyByIdentifiers(int transform,
java.lang.String queryString,
ReferenceTaxon referenceTaxon,
Strategy strategy)
Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByIdentifiers(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon, fr.ifremer.allegro.administration.programStrategy.Strategy) with an
additional argument called queryString . |
ReferenceTaxonStrategy |
findReferenceTaxonStrategyByIdentifiers(ReferenceTaxon referenceTaxon,
Strategy strategy)
|
ReferenceTaxonStrategy |
findReferenceTaxonStrategyByIdentifiers(java.lang.String queryString,
ReferenceTaxon referenceTaxon,
Strategy strategy)
Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByIdentifiers(fr.ifremer.allegro.referential.taxon.ReferenceTaxon, fr.ifremer.allegro.administration.programStrategy.Strategy) with an
additional argument called queryString . |
java.lang.Object |
findReferenceTaxonStrategyByNaturalId(int transform,
ReferenceTaxon referenceTaxon,
Strategy strategy)
Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByNaturalId(fr.ifremer.allegro.referential.taxon.ReferenceTaxon, fr.ifremer.allegro.administration.programStrategy.Strategy) with an
additional flag called transform . |
java.lang.Object |
findReferenceTaxonStrategyByNaturalId(int transform,
java.lang.String queryString,
ReferenceTaxon referenceTaxon,
Strategy strategy)
Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByNaturalId(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon, fr.ifremer.allegro.administration.programStrategy.Strategy) with an
additional argument called queryString . |
ReferenceTaxonStrategy |
findReferenceTaxonStrategyByNaturalId(ReferenceTaxon referenceTaxon,
Strategy strategy)
|
ReferenceTaxonStrategy |
findReferenceTaxonStrategyByNaturalId(java.lang.String queryString,
ReferenceTaxon referenceTaxon,
Strategy strategy)
Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByNaturalId(fr.ifremer.allegro.referential.taxon.ReferenceTaxon, fr.ifremer.allegro.administration.programStrategy.Strategy) with an
additional argument called queryString . |
java.util.Collection |
findReferenceTaxonStrategyByReferenceTaxon(int transform,
int pageNumber,
int pageSize,
ReferenceTaxon referenceTaxon)
Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByReferenceTaxon(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findReferenceTaxonStrategyByReferenceTaxon(int pageNumber,
int pageSize,
ReferenceTaxon referenceTaxon)
Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByReferenceTaxon(fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findReferenceTaxonStrategyByReferenceTaxon(int transform,
ReferenceTaxon referenceTaxon)
Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByReferenceTaxon(fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an
additional flag called transform . |
java.util.Collection |
findReferenceTaxonStrategyByReferenceTaxon(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
ReferenceTaxon referenceTaxon)
Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByReferenceTaxon(int, String, fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findReferenceTaxonStrategyByReferenceTaxon(int transform,
java.lang.String queryString,
ReferenceTaxon referenceTaxon)
Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByReferenceTaxon(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an
additional argument called queryString . |
java.util.Collection |
findReferenceTaxonStrategyByReferenceTaxon(ReferenceTaxon referenceTaxon)
|
java.util.Collection |
findReferenceTaxonStrategyByReferenceTaxon(java.lang.String queryString,
int pageNumber,
int pageSize,
ReferenceTaxon referenceTaxon)
Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByReferenceTaxon(String, fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findReferenceTaxonStrategyByReferenceTaxon(java.lang.String queryString,
ReferenceTaxon referenceTaxon)
Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByReferenceTaxon(fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an
additional argument called queryString . |
java.util.Collection |
findReferenceTaxonStrategyByStrategy(int transform,
int pageNumber,
int pageSize,
Strategy strategy)
Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByStrategy(int, fr.ifremer.allegro.administration.programStrategy.Strategy) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findReferenceTaxonStrategyByStrategy(int pageNumber,
int pageSize,
Strategy strategy)
Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByStrategy(fr.ifremer.allegro.administration.programStrategy.Strategy) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findReferenceTaxonStrategyByStrategy(int transform,
Strategy strategy)
Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByStrategy(fr.ifremer.allegro.administration.programStrategy.Strategy) with an
additional flag called transform . |
java.util.Collection |
findReferenceTaxonStrategyByStrategy(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
Strategy strategy)
Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByStrategy(int, String, fr.ifremer.allegro.administration.programStrategy.Strategy) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findReferenceTaxonStrategyByStrategy(int transform,
java.lang.String queryString,
Strategy strategy)
Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByStrategy(int, fr.ifremer.allegro.administration.programStrategy.Strategy) with an
additional argument called queryString . |
java.util.Collection |
findReferenceTaxonStrategyByStrategy(Strategy strategy)
|
java.util.Collection |
findReferenceTaxonStrategyByStrategy(java.lang.String queryString,
int pageNumber,
int pageSize,
Strategy strategy)
Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByStrategy(String, fr.ifremer.allegro.administration.programStrategy.Strategy) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findReferenceTaxonStrategyByStrategy(java.lang.String queryString,
Strategy strategy)
Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByStrategy(fr.ifremer.allegro.administration.programStrategy.Strategy) with an
additional argument called queryString . |
java.util.Collection |
getAllReferenceTaxonStrategy()
|
java.util.Collection |
getAllReferenceTaxonStrategy(int transform)
Does the same thing as ReferenceTaxonStrategyDao.getAllReferenceTaxonStrategy() with an
additional flag called transform . |
java.util.Collection |
getAllReferenceTaxonStrategy(int pageNumber,
int pageSize)
Does the same thing as ReferenceTaxonStrategyDao.getAllReferenceTaxonStrategy() with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllReferenceTaxonStrategy(int transform,
int pageNumber,
int pageSize)
Does the same thing as ReferenceTaxonStrategyDao.getAllReferenceTaxonStrategy(int) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllReferenceTaxonStrategy(int transform,
java.lang.String queryString)
Does the same thing as ReferenceTaxonStrategyDao.getAllReferenceTaxonStrategy(int) with an
additional argument called queryString . |
java.util.Collection |
getAllReferenceTaxonStrategy(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as ReferenceTaxonStrategyDao.getAllReferenceTaxonStrategy(int, String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllReferenceTaxonStrategy(java.lang.String queryString)
Does the same thing as ReferenceTaxonStrategyDao.getAllReferenceTaxonStrategy() with an
additional argument called queryString . |
java.util.Collection |
getAllReferenceTaxonStrategy(java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as ReferenceTaxonStrategyDao.getAllReferenceTaxonStrategy(String) with an
additional two arguments called pageNumber and pageSize . |
protected java.security.Principal |
getPrincipal()
Gets the current principal if one has been set,
otherwise returns null . |
protected ReferenceTaxonDao |
getReferenceTaxonDao()
Gets the reference to referenceTaxonDao . |
protected StrategyDao |
getStrategyDao()
Gets the reference to strategyDao . |
protected abstract ReferenceTaxonStrategy |
handleCreateFromClusterReferenceTaxonStrategy(ClusterReferenceTaxonStrategy clusterReferenceTaxonStrategy)
Performs the core logic for createFromClusterReferenceTaxonStrategy(fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterReferenceTaxonStrategy) |
java.lang.Object |
load(int transform,
ReferenceTaxon referenceTaxon,
Strategy strategy)
Does the same thing as ReferenceTaxonStrategyDao.load(fr.ifremer.allegro.referential.taxon.ReferenceTaxon,fr.ifremer.allegro.administration.programStrategy.Strategy) with an
additional flag called transform . |
ReferenceTaxonStrategy |
load(ReferenceTaxon referenceTaxon,
Strategy strategy)
Loads an instance of fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy from the persistent store. |
java.util.Collection |
loadAll()
Loads all entities of type ReferenceTaxonStrategy . |
java.util.Collection |
loadAll(int transform)
Does the same thing as ReferenceTaxonStrategyDao.loadAll() with an
additional flag called transform . |
java.util.Collection |
loadAll(int pageNumber,
int pageSize)
Does the same thing as ReferenceTaxonStrategyDao.loadAll() with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
loadAll(int transform,
int pageNumber,
int pageSize)
Does the same thing as ReferenceTaxonStrategyDao.loadAll(int) with an
additional two arguments called pageNumber and pageSize . |
void |
remoteReferenceTaxonStrategyFullVOToEntity(RemoteReferenceTaxonStrategyFullVO source,
ReferenceTaxonStrategy target,
boolean copyIfNull)
Copies the fields of RemoteReferenceTaxonStrategyFullVO to the specified entity. |
void |
remoteReferenceTaxonStrategyFullVOToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteReferenceTaxonStrategyFullVO to this
DAO's entity. |
void |
remoteReferenceTaxonStrategyNaturalIdToEntity(RemoteReferenceTaxonStrategyNaturalId source,
ReferenceTaxonStrategy target,
boolean copyIfNull)
Copies the fields of RemoteReferenceTaxonStrategyNaturalId to the specified entity. |
void |
remoteReferenceTaxonStrategyNaturalIdToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteReferenceTaxonStrategyNaturalId to this
DAO's entity. |
void |
remove(java.util.Collection entities)
Removes all entities in the given entities |
void |
remove(ReferenceTaxonStrategy referenceTaxonStrategy)
Removes the instance of fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy from the persistent store. |
void |
remove(ReferenceTaxon referenceTaxon,
Strategy strategy)
Removes the instance of fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy having the given identifiers from the persistent store. |
PaginationResult |
search(int transform,
int pageNumber,
int pageSize,
Search search)
Does the same thing as {@link #search(int, fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize . |
PaginationResult |
search(int pageNumber,
int pageSize,
Search search)
Does the same thing as {@link #search(fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize . |
java.util.Set |
search(int transform,
Search search)
Does the same thing as ReferenceTaxonStrategyDao.search(fr.ifremer.allegro.Search) but with an
additional flag called transform . |
java.util.Set |
search(Search search)
Performs a search using the parameters specified in the given search object. |
void |
setReferenceTaxonDao(ReferenceTaxonDao referenceTaxonDao)
Sets the reference to referenceTaxonDao . |
void |
setStrategyDao(StrategyDao strategyDao)
Sets the reference to strategyDao . |
protected ClusterReferenceTaxonStrategy |
toClusterReferenceTaxonStrategy(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
ClusterReferenceTaxonStrategy |
toClusterReferenceTaxonStrategy(ReferenceTaxonStrategy entity)
Converts this DAO's entity to an object of type ClusterReferenceTaxonStrategy . |
void |
toClusterReferenceTaxonStrategy(ReferenceTaxonStrategy source,
ClusterReferenceTaxonStrategy target)
Copies the fields of the specified entity to the target value object. |
ClusterReferenceTaxonStrategy[] |
toClusterReferenceTaxonStrategyArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type ClusterReferenceTaxonStrategy . |
void |
toClusterReferenceTaxonStrategyCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type ClusterReferenceTaxonStrategy . |
protected ReferenceTaxonStrategy |
toEntity(java.lang.Object[] row)
|
protected RemoteReferenceTaxonStrategyFullVO |
toRemoteReferenceTaxonStrategyFullVO(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteReferenceTaxonStrategyFullVO |
toRemoteReferenceTaxonStrategyFullVO(ReferenceTaxonStrategy entity)
Converts this DAO's entity to an object of type RemoteReferenceTaxonStrategyFullVO . |
void |
toRemoteReferenceTaxonStrategyFullVO(ReferenceTaxonStrategy source,
RemoteReferenceTaxonStrategyFullVO target)
Copies the fields of the specified entity to the target value object. |
RemoteReferenceTaxonStrategyFullVO[] |
toRemoteReferenceTaxonStrategyFullVOArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteReferenceTaxonStrategyFullVO . |
void |
toRemoteReferenceTaxonStrategyFullVOCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteReferenceTaxonStrategyFullVO . |
protected RemoteReferenceTaxonStrategyNaturalId |
toRemoteReferenceTaxonStrategyNaturalId(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteReferenceTaxonStrategyNaturalId |
toRemoteReferenceTaxonStrategyNaturalId(ReferenceTaxonStrategy entity)
Converts this DAO's entity to an object of type RemoteReferenceTaxonStrategyNaturalId . |
void |
toRemoteReferenceTaxonStrategyNaturalId(ReferenceTaxonStrategy source,
RemoteReferenceTaxonStrategyNaturalId target)
Copies the fields of the specified entity to the target value object. |
RemoteReferenceTaxonStrategyNaturalId[] |
toRemoteReferenceTaxonStrategyNaturalIdArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteReferenceTaxonStrategyNaturalId . |
void |
toRemoteReferenceTaxonStrategyNaturalIdCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteReferenceTaxonStrategyNaturalId . |
protected void |
transformEntities(int transform,
java.util.Collection entities)
Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy)
method. |
protected java.lang.Object |
transformEntity(int transform,
ReferenceTaxonStrategy entity)
Allows transformation of entities into value objects (or something else for that matter), when the transform
flag is set to one of the constants defined in fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategyDao , please note
that the ReferenceTaxonStrategyDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself
will be returned. |
void |
update(java.util.Collection entities)
Updates all instances in the entities collection in the persistent store. |
void |
update(ReferenceTaxonStrategy referenceTaxonStrategy)
Updates the referenceTaxonStrategy instance in the persistent store. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategyDao |
---|
clusterReferenceTaxonStrategyToEntity, remoteReferenceTaxonStrategyFullVOToEntity, remoteReferenceTaxonStrategyNaturalIdToEntity |
Constructor Detail |
---|
public ReferenceTaxonStrategyDaoBase()
Method Detail |
---|
public void setReferenceTaxonDao(ReferenceTaxonDao referenceTaxonDao)
referenceTaxonDao
.
protected ReferenceTaxonDao getReferenceTaxonDao()
referenceTaxonDao
.
public void setStrategyDao(StrategyDao strategyDao)
strategyDao
.
protected StrategyDao getStrategyDao()
strategyDao
.
public java.lang.Object load(int transform, ReferenceTaxon referenceTaxon, Strategy strategy)
ReferenceTaxonStrategyDao
Does the same thing as ReferenceTaxonStrategyDao.load(fr.ifremer.allegro.referential.taxon.ReferenceTaxon,fr.ifremer.allegro.administration.programStrategy.Strategy)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined in this class then the result WILL BE passed through an operation which can
optionally transform the entity (into a value object for example). By default, transformation does
not occur.
load
in interface ReferenceTaxonStrategyDao
referenceTaxon
- identifier of the entity to loadstrategy
- identifier of the entity to load
ReferenceTaxonStrategyDao.load(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon,fr.ifremer.allegro.administration.programStrategy.Strategy)
public ReferenceTaxonStrategy load(ReferenceTaxon referenceTaxon, Strategy strategy)
ReferenceTaxonStrategyDao
load
in interface ReferenceTaxonStrategyDao
ReferenceTaxonStrategyDao.load(fr.ifremer.allegro.referential.taxon.ReferenceTaxon,fr.ifremer.allegro.administration.programStrategy.Strategy)
public java.util.Collection loadAll()
ReferenceTaxonStrategyDao
ReferenceTaxonStrategy
.
loadAll
in interface ReferenceTaxonStrategyDao
ReferenceTaxonStrategyDao.loadAll()
public java.util.Collection loadAll(int transform)
ReferenceTaxonStrategyDao
Does the same thing as ReferenceTaxonStrategyDao.loadAll()
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined here then the result WILL BE passed through an operation which can optionally
transform the entity (into a value object for example). By default, transformation does
not occur.
loadAll
in interface ReferenceTaxonStrategyDao
transform
- the flag indicating what transformation to use.
ReferenceTaxonStrategyDao.loadAll(int)
public java.util.Collection loadAll(int pageNumber, int pageSize)
ReferenceTaxonStrategyDao
Does the same thing as ReferenceTaxonStrategyDao.loadAll()
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
loadAll
in interface ReferenceTaxonStrategyDao
pageNumber
- the page number to retrieve when paging results.pageSize
- the size of the page to retrieve when paging results.
ReferenceTaxonStrategyDao.loadAll(int, int)
public java.util.Collection loadAll(int transform, int pageNumber, int pageSize)
ReferenceTaxonStrategyDao
Does the same thing as ReferenceTaxonStrategyDao.loadAll(int)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
loadAll
in interface ReferenceTaxonStrategyDao
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.
ReferenceTaxonStrategyDao.loadAll(int, int, int)
public ReferenceTaxonStrategy create(ReferenceTaxonStrategy referenceTaxonStrategy)
ReferenceTaxonStrategyDao
create
in interface ReferenceTaxonStrategyDao
ReferenceTaxonStrategyDao.create(fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy)
public java.lang.Object create(int transform, ReferenceTaxonStrategy referenceTaxonStrategy)
ReferenceTaxonStrategyDao
Does the same thing as ReferenceTaxonStrategyDao.create(fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined here then the result WILL BE passed through an operation which can optionally
transform the entity (into a value object for example). By default, transformation does
not occur.
create
in interface ReferenceTaxonStrategyDao
ReferenceTaxonStrategyDao.create(int transform, fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy)
public java.util.Collection create(java.util.Collection entities)
ReferenceTaxonStrategyDao
entities
collection
create
in interface ReferenceTaxonStrategyDao
entities
- the collection of fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy
instances to create.
ReferenceTaxonStrategyDao.create(java.util.Collection)
public java.util.Collection create(int transform, java.util.Collection entities)
ReferenceTaxonStrategyDao
Does the same thing as ReferenceTaxonStrategyDao.create(fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined here then the result WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
create
in interface ReferenceTaxonStrategyDao
ReferenceTaxonStrategyDao.create(int, java.util.Collection)
public ReferenceTaxonStrategy create(java.lang.Short priorityLevel, ReferenceTaxon referenceTaxon, Strategy strategy)
ReferenceTaxonStrategyDao
Creates a new fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy
instance from all attributes and
properties and adds it to the persistent store.
create
in interface ReferenceTaxonStrategyDao
ReferenceTaxonStrategyDao.create(java.lang.Short,fr.ifremer.allegro.referential.taxon.ReferenceTaxon,fr.ifremer.allegro.administration.programStrategy.Strategy)
public java.lang.Object create(int transform, java.lang.Short priorityLevel, ReferenceTaxon referenceTaxon, Strategy strategy)
ReferenceTaxonStrategyDao
Does the same thing as ReferenceTaxonStrategyDao.create(java.lang.Short,fr.ifremer.allegro.referential.taxon.ReferenceTaxon,fr.ifremer.allegro.administration.programStrategy.Strategy)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined here then the result WILL BE passed through an operation which can optionally
transform the entity (into a value object for example). By default, transformation does
not occur.
create
in interface ReferenceTaxonStrategyDao
ReferenceTaxonStrategyDao.create(int, java.lang.Short,fr.ifremer.allegro.referential.taxon.ReferenceTaxon,fr.ifremer.allegro.administration.programStrategy.Strategy)
public ReferenceTaxonStrategy create(ReferenceTaxon referenceTaxon, Strategy strategy)
ReferenceTaxonStrategyDao
Creates a new fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy
instance from only required properties (attributes
and association ends) and adds it to the persistent store.
create
in interface ReferenceTaxonStrategyDao
ReferenceTaxonStrategyDao.create(fr.ifremer.allegro.referential.taxon.ReferenceTaxon,fr.ifremer.allegro.administration.programStrategy.Strategy)
public java.lang.Object create(int transform, ReferenceTaxon referenceTaxon, Strategy strategy)
ReferenceTaxonStrategyDao
Does the same thing as ReferenceTaxonStrategyDao.create(fr.ifremer.allegro.referential.taxon.ReferenceTaxon,fr.ifremer.allegro.administration.programStrategy.Strategy)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOTWILL BE passed through an operation which can optionally
transform the entity (into a value object for example). By default, transformation does
not occur.
create
in interface ReferenceTaxonStrategyDao
ReferenceTaxonStrategyDao.create(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon,fr.ifremer.allegro.administration.programStrategy.Strategy)
public void update(ReferenceTaxonStrategy referenceTaxonStrategy)
ReferenceTaxonStrategyDao
referenceTaxonStrategy
instance in the persistent store.
update
in interface ReferenceTaxonStrategyDao
ReferenceTaxonStrategyDao.update(fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy)
public void update(java.util.Collection entities)
ReferenceTaxonStrategyDao
entities
collection in the persistent store.
update
in interface ReferenceTaxonStrategyDao
ReferenceTaxonStrategyDao.update(java.util.Collection)
public void remove(ReferenceTaxonStrategy referenceTaxonStrategy)
ReferenceTaxonStrategyDao
remove
in interface ReferenceTaxonStrategyDao
ReferenceTaxonStrategyDao.remove(fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy)
public void remove(ReferenceTaxon referenceTaxon, Strategy strategy)
ReferenceTaxonStrategyDao
identifiers
from the persistent store.
remove
in interface ReferenceTaxonStrategyDao
ReferenceTaxonStrategyDao.remove(fr.ifremer.allegro.referential.taxon.ReferenceTaxon,fr.ifremer.allegro.administration.programStrategy.Strategy)
public void remove(java.util.Collection entities)
ReferenceTaxonStrategyDao
entities collection.
- Specified by:
remove
in interface ReferenceTaxonStrategyDao
- See Also:
ReferenceTaxonStrategyDao.remove(java.util.Collection)
public java.util.Collection getAllReferenceTaxonStrategy()
getAllReferenceTaxonStrategy
in interface ReferenceTaxonStrategyDao
ReferenceTaxonStrategyDao.getAllReferenceTaxonStrategy()
public java.util.Collection getAllReferenceTaxonStrategy(int transform)
ReferenceTaxonStrategyDao
Does the same thing as ReferenceTaxonStrategyDao.getAllReferenceTaxonStrategy()
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
getAllReferenceTaxonStrategy
in interface ReferenceTaxonStrategyDao
ReferenceTaxonStrategyDao.getAllReferenceTaxonStrategy(int)
public java.util.Collection getAllReferenceTaxonStrategy(java.lang.String queryString)
ReferenceTaxonStrategyDao
Does the same thing as ReferenceTaxonStrategyDao.getAllReferenceTaxonStrategy()
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ReferenceTaxonStrategyDao.getAllReferenceTaxonStrategy()
.
getAllReferenceTaxonStrategy
in interface ReferenceTaxonStrategyDao
ReferenceTaxonStrategyDao.getAllReferenceTaxonStrategy(java.lang.String)
public java.util.Collection getAllReferenceTaxonStrategy(int pageNumber, int pageSize)
ReferenceTaxonStrategyDao
Does the same thing as ReferenceTaxonStrategyDao.getAllReferenceTaxonStrategy()
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllReferenceTaxonStrategy
in interface ReferenceTaxonStrategyDao
ReferenceTaxonStrategyDao.getAllReferenceTaxonStrategy(int, int)
public java.util.Collection getAllReferenceTaxonStrategy(java.lang.String queryString, int pageNumber, int pageSize)
ReferenceTaxonStrategyDao
Does the same thing as ReferenceTaxonStrategyDao.getAllReferenceTaxonStrategy(String)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllReferenceTaxonStrategy
in interface ReferenceTaxonStrategyDao
ReferenceTaxonStrategyDao.getAllReferenceTaxonStrategy(String, int, int)
public java.util.Collection getAllReferenceTaxonStrategy(int transform, java.lang.String queryString)
ReferenceTaxonStrategyDao
Does the same thing as ReferenceTaxonStrategyDao.getAllReferenceTaxonStrategy(int)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ReferenceTaxonStrategyDao.getAllReferenceTaxonStrategy(int)
.
getAllReferenceTaxonStrategy
in interface ReferenceTaxonStrategyDao
ReferenceTaxonStrategyDao.getAllReferenceTaxonStrategy(int, String)
public java.util.Collection getAllReferenceTaxonStrategy(int transform, int pageNumber, int pageSize)
ReferenceTaxonStrategyDao
Does the same thing as ReferenceTaxonStrategyDao.getAllReferenceTaxonStrategy(int)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllReferenceTaxonStrategy
in interface ReferenceTaxonStrategyDao
ReferenceTaxonStrategyDao.getAllReferenceTaxonStrategy(int, int, int)
public java.util.Collection getAllReferenceTaxonStrategy(int transform, java.lang.String queryString, int pageNumber, int pageSize)
ReferenceTaxonStrategyDao
Does the same thing as ReferenceTaxonStrategyDao.getAllReferenceTaxonStrategy(int, String)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllReferenceTaxonStrategy
in interface ReferenceTaxonStrategyDao
ReferenceTaxonStrategyDao.getAllReferenceTaxonStrategy(int, java.lang.String, int, int)
public java.util.Collection findReferenceTaxonStrategyByReferenceTaxon(ReferenceTaxon referenceTaxon)
findReferenceTaxonStrategyByReferenceTaxon
in interface ReferenceTaxonStrategyDao
ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByReferenceTaxon(fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
public java.util.Collection findReferenceTaxonStrategyByReferenceTaxon(int transform, ReferenceTaxon referenceTaxon)
ReferenceTaxonStrategyDao
Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByReferenceTaxon(fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
findReferenceTaxonStrategyByReferenceTaxon
in interface ReferenceTaxonStrategyDao
ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByReferenceTaxon(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
public java.util.Collection findReferenceTaxonStrategyByReferenceTaxon(java.lang.String queryString, ReferenceTaxon referenceTaxon)
ReferenceTaxonStrategyDao
Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByReferenceTaxon(fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByReferenceTaxon(fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
.
findReferenceTaxonStrategyByReferenceTaxon
in interface ReferenceTaxonStrategyDao
ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByReferenceTaxon(java.lang.String, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
public java.util.Collection findReferenceTaxonStrategyByReferenceTaxon(int pageNumber, int pageSize, ReferenceTaxon referenceTaxon)
ReferenceTaxonStrategyDao
Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByReferenceTaxon(fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findReferenceTaxonStrategyByReferenceTaxon
in interface ReferenceTaxonStrategyDao
ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByReferenceTaxon(int, int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
public java.util.Collection findReferenceTaxonStrategyByReferenceTaxon(java.lang.String queryString, int pageNumber, int pageSize, ReferenceTaxon referenceTaxon)
ReferenceTaxonStrategyDao
Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByReferenceTaxon(String, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findReferenceTaxonStrategyByReferenceTaxon
in interface ReferenceTaxonStrategyDao
ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByReferenceTaxon(String, int, int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
public java.util.Collection findReferenceTaxonStrategyByReferenceTaxon(int transform, java.lang.String queryString, ReferenceTaxon referenceTaxon)
ReferenceTaxonStrategyDao
Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByReferenceTaxon(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByReferenceTaxon(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon referenceTaxon)
.
findReferenceTaxonStrategyByReferenceTaxon
in interface ReferenceTaxonStrategyDao
ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByReferenceTaxon(int, String, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
public java.util.Collection findReferenceTaxonStrategyByReferenceTaxon(int transform, int pageNumber, int pageSize, ReferenceTaxon referenceTaxon)
ReferenceTaxonStrategyDao
Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByReferenceTaxon(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findReferenceTaxonStrategyByReferenceTaxon
in interface ReferenceTaxonStrategyDao
ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByReferenceTaxon(int, int, int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
public java.util.Collection findReferenceTaxonStrategyByReferenceTaxon(int transform, java.lang.String queryString, int pageNumber, int pageSize, ReferenceTaxon referenceTaxon)
ReferenceTaxonStrategyDao
Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByReferenceTaxon(int, String, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findReferenceTaxonStrategyByReferenceTaxon
in interface ReferenceTaxonStrategyDao
ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByReferenceTaxon(int, java.lang.String, int, int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
public java.util.Collection findReferenceTaxonStrategyByStrategy(Strategy strategy)
findReferenceTaxonStrategyByStrategy
in interface ReferenceTaxonStrategyDao
ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByStrategy(fr.ifremer.allegro.administration.programStrategy.Strategy)
public java.util.Collection findReferenceTaxonStrategyByStrategy(int transform, Strategy strategy)
ReferenceTaxonStrategyDao
Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByStrategy(fr.ifremer.allegro.administration.programStrategy.Strategy)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
findReferenceTaxonStrategyByStrategy
in interface ReferenceTaxonStrategyDao
ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByStrategy(int, fr.ifremer.allegro.administration.programStrategy.Strategy)
public java.util.Collection findReferenceTaxonStrategyByStrategy(java.lang.String queryString, Strategy strategy)
ReferenceTaxonStrategyDao
Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByStrategy(fr.ifremer.allegro.administration.programStrategy.Strategy)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByStrategy(fr.ifremer.allegro.administration.programStrategy.Strategy)
.
findReferenceTaxonStrategyByStrategy
in interface ReferenceTaxonStrategyDao
ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByStrategy(java.lang.String, fr.ifremer.allegro.administration.programStrategy.Strategy)
public java.util.Collection findReferenceTaxonStrategyByStrategy(int pageNumber, int pageSize, Strategy strategy)
ReferenceTaxonStrategyDao
Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByStrategy(fr.ifremer.allegro.administration.programStrategy.Strategy)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findReferenceTaxonStrategyByStrategy
in interface ReferenceTaxonStrategyDao
ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByStrategy(int, int, fr.ifremer.allegro.administration.programStrategy.Strategy)
public java.util.Collection findReferenceTaxonStrategyByStrategy(java.lang.String queryString, int pageNumber, int pageSize, Strategy strategy)
ReferenceTaxonStrategyDao
Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByStrategy(String, fr.ifremer.allegro.administration.programStrategy.Strategy)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findReferenceTaxonStrategyByStrategy
in interface ReferenceTaxonStrategyDao
ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByStrategy(String, int, int, fr.ifremer.allegro.administration.programStrategy.Strategy)
public java.util.Collection findReferenceTaxonStrategyByStrategy(int transform, java.lang.String queryString, Strategy strategy)
ReferenceTaxonStrategyDao
Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByStrategy(int, fr.ifremer.allegro.administration.programStrategy.Strategy)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByStrategy(int, fr.ifremer.allegro.administration.programStrategy.Strategy strategy)
.
findReferenceTaxonStrategyByStrategy
in interface ReferenceTaxonStrategyDao
ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByStrategy(int, String, fr.ifremer.allegro.administration.programStrategy.Strategy)
public java.util.Collection findReferenceTaxonStrategyByStrategy(int transform, int pageNumber, int pageSize, Strategy strategy)
ReferenceTaxonStrategyDao
Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByStrategy(int, fr.ifremer.allegro.administration.programStrategy.Strategy)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findReferenceTaxonStrategyByStrategy
in interface ReferenceTaxonStrategyDao
ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByStrategy(int, int, int, fr.ifremer.allegro.administration.programStrategy.Strategy)
public java.util.Collection findReferenceTaxonStrategyByStrategy(int transform, java.lang.String queryString, int pageNumber, int pageSize, Strategy strategy)
ReferenceTaxonStrategyDao
Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByStrategy(int, String, fr.ifremer.allegro.administration.programStrategy.Strategy)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findReferenceTaxonStrategyByStrategy
in interface ReferenceTaxonStrategyDao
ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByStrategy(int, java.lang.String, int, int, fr.ifremer.allegro.administration.programStrategy.Strategy)
public ReferenceTaxonStrategy findReferenceTaxonStrategyByIdentifiers(ReferenceTaxon referenceTaxon, Strategy strategy)
findReferenceTaxonStrategyByIdentifiers
in interface ReferenceTaxonStrategyDao
ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByIdentifiers(fr.ifremer.allegro.referential.taxon.ReferenceTaxon, fr.ifremer.allegro.administration.programStrategy.Strategy)
public java.lang.Object findReferenceTaxonStrategyByIdentifiers(int transform, ReferenceTaxon referenceTaxon, Strategy strategy)
ReferenceTaxonStrategyDao
Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByIdentifiers(fr.ifremer.allegro.referential.taxon.ReferenceTaxon, fr.ifremer.allegro.administration.programStrategy.Strategy)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
findReferenceTaxonStrategyByIdentifiers
in interface ReferenceTaxonStrategyDao
ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByIdentifiers(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon, fr.ifremer.allegro.administration.programStrategy.Strategy)
public ReferenceTaxonStrategy findReferenceTaxonStrategyByIdentifiers(java.lang.String queryString, ReferenceTaxon referenceTaxon, Strategy strategy)
ReferenceTaxonStrategyDao
Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByIdentifiers(fr.ifremer.allegro.referential.taxon.ReferenceTaxon, fr.ifremer.allegro.administration.programStrategy.Strategy)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByIdentifiers(fr.ifremer.allegro.referential.taxon.ReferenceTaxon, fr.ifremer.allegro.administration.programStrategy.Strategy)
.
findReferenceTaxonStrategyByIdentifiers
in interface ReferenceTaxonStrategyDao
ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByIdentifiers(java.lang.String, fr.ifremer.allegro.referential.taxon.ReferenceTaxon, fr.ifremer.allegro.administration.programStrategy.Strategy)
public java.lang.Object findReferenceTaxonStrategyByIdentifiers(int transform, java.lang.String queryString, ReferenceTaxon referenceTaxon, Strategy strategy)
ReferenceTaxonStrategyDao
Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByIdentifiers(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon, fr.ifremer.allegro.administration.programStrategy.Strategy)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByIdentifiers(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon referenceTaxon, fr.ifremer.allegro.administration.programStrategy.Strategy strategy)
.
findReferenceTaxonStrategyByIdentifiers
in interface ReferenceTaxonStrategyDao
ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByIdentifiers(int, java.lang.String, fr.ifremer.allegro.referential.taxon.ReferenceTaxon, fr.ifremer.allegro.administration.programStrategy.Strategy)
public ReferenceTaxonStrategy findReferenceTaxonStrategyByNaturalId(ReferenceTaxon referenceTaxon, Strategy strategy)
findReferenceTaxonStrategyByNaturalId
in interface ReferenceTaxonStrategyDao
ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByNaturalId(fr.ifremer.allegro.referential.taxon.ReferenceTaxon, fr.ifremer.allegro.administration.programStrategy.Strategy)
public java.lang.Object findReferenceTaxonStrategyByNaturalId(int transform, ReferenceTaxon referenceTaxon, Strategy strategy)
ReferenceTaxonStrategyDao
Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByNaturalId(fr.ifremer.allegro.referential.taxon.ReferenceTaxon, fr.ifremer.allegro.administration.programStrategy.Strategy)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
findReferenceTaxonStrategyByNaturalId
in interface ReferenceTaxonStrategyDao
ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByNaturalId(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon, fr.ifremer.allegro.administration.programStrategy.Strategy)
public ReferenceTaxonStrategy findReferenceTaxonStrategyByNaturalId(java.lang.String queryString, ReferenceTaxon referenceTaxon, Strategy strategy)
ReferenceTaxonStrategyDao
Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByNaturalId(fr.ifremer.allegro.referential.taxon.ReferenceTaxon, fr.ifremer.allegro.administration.programStrategy.Strategy)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByNaturalId(fr.ifremer.allegro.referential.taxon.ReferenceTaxon, fr.ifremer.allegro.administration.programStrategy.Strategy)
.
findReferenceTaxonStrategyByNaturalId
in interface ReferenceTaxonStrategyDao
ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByNaturalId(java.lang.String, fr.ifremer.allegro.referential.taxon.ReferenceTaxon, fr.ifremer.allegro.administration.programStrategy.Strategy)
public java.lang.Object findReferenceTaxonStrategyByNaturalId(int transform, java.lang.String queryString, ReferenceTaxon referenceTaxon, Strategy strategy)
ReferenceTaxonStrategyDao
Does the same thing as ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByNaturalId(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon, fr.ifremer.allegro.administration.programStrategy.Strategy)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByNaturalId(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon referenceTaxon, fr.ifremer.allegro.administration.programStrategy.Strategy strategy)
.
findReferenceTaxonStrategyByNaturalId
in interface ReferenceTaxonStrategyDao
ReferenceTaxonStrategyDao.findReferenceTaxonStrategyByNaturalId(int, java.lang.String, fr.ifremer.allegro.referential.taxon.ReferenceTaxon, fr.ifremer.allegro.administration.programStrategy.Strategy)
public ReferenceTaxonStrategy createFromClusterReferenceTaxonStrategy(ClusterReferenceTaxonStrategy clusterReferenceTaxonStrategy)
createFromClusterReferenceTaxonStrategy
in interface ReferenceTaxonStrategyDao
ReferenceTaxonStrategyDao.createFromClusterReferenceTaxonStrategy(fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterReferenceTaxonStrategy)
protected abstract ReferenceTaxonStrategy handleCreateFromClusterReferenceTaxonStrategy(ClusterReferenceTaxonStrategy clusterReferenceTaxonStrategy) throws java.lang.Exception
createFromClusterReferenceTaxonStrategy(fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterReferenceTaxonStrategy)
java.lang.Exception
protected java.lang.Object transformEntity(int transform, ReferenceTaxonStrategy entity)
transform
flag is set to one of the constants defined in fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategyDao
, please note
that the ReferenceTaxonStrategyDao.TRANSFORM_NONE
constant denotes no transformation, so the entity itself
will be returned.
This method will return instances of these types:
ReferenceTaxonStrategy
- ReferenceTaxonStrategyDao.TRANSFORM_NONE
RemoteReferenceTaxonStrategyFullVO
- TRANSFORM_REMOTEREFERENCETAXONSTRATEGYFULLVO
RemoteReferenceTaxonStrategyNaturalId
- TRANSFORM_REMOTEREFERENCETAXONSTRATEGYNATURALID
ClusterReferenceTaxonStrategy
- TRANSFORM_CLUSTERREFERENCETAXONSTRATEGY
ReferenceTaxonStrategyDao.TRANSFORM_NONE
is assumed.
transform
- one of the constants declared in ReferenceTaxonStrategyDao
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.ReferenceTaxonStrategy)
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.ReferenceTaxonStrategyDao
entities
- the collection of entities to transformtransformEntity(int,fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy)
protected ReferenceTaxonStrategy toEntity(java.lang.Object[] row)
public final void toRemoteReferenceTaxonStrategyFullVOCollection(java.util.Collection entities)
ReferenceTaxonStrategyDao
RemoteReferenceTaxonStrategyFullVO
.
toRemoteReferenceTaxonStrategyFullVOCollection
in interface ReferenceTaxonStrategyDao
ReferenceTaxonStrategyDao.toRemoteReferenceTaxonStrategyFullVOCollection(java.util.Collection)
public final RemoteReferenceTaxonStrategyFullVO[] toRemoteReferenceTaxonStrategyFullVOArray(java.util.Collection entities)
ReferenceTaxonStrategyDao
RemoteReferenceTaxonStrategyFullVO
.
toRemoteReferenceTaxonStrategyFullVOArray
in interface ReferenceTaxonStrategyDao
ReferenceTaxonStrategyDao.toRemoteReferenceTaxonStrategyFullVOArray(java.util.Collection)
protected RemoteReferenceTaxonStrategyFullVO toRemoteReferenceTaxonStrategyFullVO(java.lang.Object[] row)
ReferenceTaxonStrategyDaoImpl
class if you intend to use reporting queries.
ReferenceTaxonStrategyDao.toRemoteReferenceTaxonStrategyFullVO(fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy)
public final void remoteReferenceTaxonStrategyFullVOToEntityCollection(java.util.Collection instances)
ReferenceTaxonStrategyDao
RemoteReferenceTaxonStrategyFullVO
to this
DAO's entity.
remoteReferenceTaxonStrategyFullVOToEntityCollection
in interface ReferenceTaxonStrategyDao
ReferenceTaxonStrategyDao.remoteReferenceTaxonStrategyFullVOToEntityCollection(java.util.Collection)
public void toRemoteReferenceTaxonStrategyFullVO(ReferenceTaxonStrategy source, RemoteReferenceTaxonStrategyFullVO target)
ReferenceTaxonStrategyDao
toRemoteReferenceTaxonStrategyFullVO
in interface ReferenceTaxonStrategyDao
ReferenceTaxonStrategyDao.toRemoteReferenceTaxonStrategyFullVO(fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy, fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteReferenceTaxonStrategyFullVO)
public RemoteReferenceTaxonStrategyFullVO toRemoteReferenceTaxonStrategyFullVO(ReferenceTaxonStrategy entity)
ReferenceTaxonStrategyDao
RemoteReferenceTaxonStrategyFullVO
.
toRemoteReferenceTaxonStrategyFullVO
in interface ReferenceTaxonStrategyDao
ReferenceTaxonStrategyDao.toRemoteReferenceTaxonStrategyFullVO(fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy)
public void remoteReferenceTaxonStrategyFullVOToEntity(RemoteReferenceTaxonStrategyFullVO source, ReferenceTaxonStrategy target, boolean copyIfNull)
ReferenceTaxonStrategyDao
RemoteReferenceTaxonStrategyFullVO
to the specified entity.
remoteReferenceTaxonStrategyFullVOToEntity
in interface ReferenceTaxonStrategyDao
copyIfNull
- If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE,
it will be copied regardless of its value.fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategyDao#remoteReferenceTaxonStrategyFullVOToEntity(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteReferenceTaxonStrategyFullVO, fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy)
public final void toRemoteReferenceTaxonStrategyNaturalIdCollection(java.util.Collection entities)
ReferenceTaxonStrategyDao
RemoteReferenceTaxonStrategyNaturalId
.
toRemoteReferenceTaxonStrategyNaturalIdCollection
in interface ReferenceTaxonStrategyDao
ReferenceTaxonStrategyDao.toRemoteReferenceTaxonStrategyNaturalIdCollection(java.util.Collection)
public final RemoteReferenceTaxonStrategyNaturalId[] toRemoteReferenceTaxonStrategyNaturalIdArray(java.util.Collection entities)
ReferenceTaxonStrategyDao
RemoteReferenceTaxonStrategyNaturalId
.
toRemoteReferenceTaxonStrategyNaturalIdArray
in interface ReferenceTaxonStrategyDao
ReferenceTaxonStrategyDao.toRemoteReferenceTaxonStrategyNaturalIdArray(java.util.Collection)
protected RemoteReferenceTaxonStrategyNaturalId toRemoteReferenceTaxonStrategyNaturalId(java.lang.Object[] row)
ReferenceTaxonStrategyDaoImpl
class if you intend to use reporting queries.
ReferenceTaxonStrategyDao.toRemoteReferenceTaxonStrategyNaturalId(fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy)
public final void remoteReferenceTaxonStrategyNaturalIdToEntityCollection(java.util.Collection instances)
ReferenceTaxonStrategyDao
RemoteReferenceTaxonStrategyNaturalId
to this
DAO's entity.
remoteReferenceTaxonStrategyNaturalIdToEntityCollection
in interface ReferenceTaxonStrategyDao
ReferenceTaxonStrategyDao.remoteReferenceTaxonStrategyNaturalIdToEntityCollection(java.util.Collection)
public void toRemoteReferenceTaxonStrategyNaturalId(ReferenceTaxonStrategy source, RemoteReferenceTaxonStrategyNaturalId target)
ReferenceTaxonStrategyDao
toRemoteReferenceTaxonStrategyNaturalId
in interface ReferenceTaxonStrategyDao
ReferenceTaxonStrategyDao.toRemoteReferenceTaxonStrategyNaturalId(fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy, fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteReferenceTaxonStrategyNaturalId)
public RemoteReferenceTaxonStrategyNaturalId toRemoteReferenceTaxonStrategyNaturalId(ReferenceTaxonStrategy entity)
ReferenceTaxonStrategyDao
RemoteReferenceTaxonStrategyNaturalId
.
toRemoteReferenceTaxonStrategyNaturalId
in interface ReferenceTaxonStrategyDao
ReferenceTaxonStrategyDao.toRemoteReferenceTaxonStrategyNaturalId(fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy)
public void remoteReferenceTaxonStrategyNaturalIdToEntity(RemoteReferenceTaxonStrategyNaturalId source, ReferenceTaxonStrategy target, boolean copyIfNull)
ReferenceTaxonStrategyDao
RemoteReferenceTaxonStrategyNaturalId
to the specified entity.
remoteReferenceTaxonStrategyNaturalIdToEntity
in interface ReferenceTaxonStrategyDao
copyIfNull
- If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE,
it will be copied regardless of its value.fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategyDao#remoteReferenceTaxonStrategyNaturalIdToEntity(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteReferenceTaxonStrategyNaturalId, fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy)
public final void toClusterReferenceTaxonStrategyCollection(java.util.Collection entities)
ReferenceTaxonStrategyDao
ClusterReferenceTaxonStrategy
.
toClusterReferenceTaxonStrategyCollection
in interface ReferenceTaxonStrategyDao
ReferenceTaxonStrategyDao.toClusterReferenceTaxonStrategyCollection(java.util.Collection)
public final ClusterReferenceTaxonStrategy[] toClusterReferenceTaxonStrategyArray(java.util.Collection entities)
ReferenceTaxonStrategyDao
ClusterReferenceTaxonStrategy
.
toClusterReferenceTaxonStrategyArray
in interface ReferenceTaxonStrategyDao
ReferenceTaxonStrategyDao.toClusterReferenceTaxonStrategyArray(java.util.Collection)
protected ClusterReferenceTaxonStrategy toClusterReferenceTaxonStrategy(java.lang.Object[] row)
ReferenceTaxonStrategyDaoImpl
class if you intend to use reporting queries.
ReferenceTaxonStrategyDao.toClusterReferenceTaxonStrategy(fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy)
public final void clusterReferenceTaxonStrategyToEntityCollection(java.util.Collection instances)
ReferenceTaxonStrategyDao
ClusterReferenceTaxonStrategy
to this
DAO's entity.
clusterReferenceTaxonStrategyToEntityCollection
in interface ReferenceTaxonStrategyDao
ReferenceTaxonStrategyDao.clusterReferenceTaxonStrategyToEntityCollection(java.util.Collection)
public void toClusterReferenceTaxonStrategy(ReferenceTaxonStrategy source, ClusterReferenceTaxonStrategy target)
ReferenceTaxonStrategyDao
toClusterReferenceTaxonStrategy
in interface ReferenceTaxonStrategyDao
ReferenceTaxonStrategyDao.toClusterReferenceTaxonStrategy(fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy, fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterReferenceTaxonStrategy)
public ClusterReferenceTaxonStrategy toClusterReferenceTaxonStrategy(ReferenceTaxonStrategy entity)
ReferenceTaxonStrategyDao
ClusterReferenceTaxonStrategy
.
toClusterReferenceTaxonStrategy
in interface ReferenceTaxonStrategyDao
ReferenceTaxonStrategyDao.toClusterReferenceTaxonStrategy(fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy)
public void clusterReferenceTaxonStrategyToEntity(ClusterReferenceTaxonStrategy source, ReferenceTaxonStrategy target, boolean copyIfNull)
ReferenceTaxonStrategyDao
ClusterReferenceTaxonStrategy
to the specified entity.
clusterReferenceTaxonStrategyToEntity
in interface ReferenceTaxonStrategyDao
copyIfNull
- If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE,
it will be copied regardless of its value.fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategyDao#clusterReferenceTaxonStrategyToEntity(fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterReferenceTaxonStrategy, fr.ifremer.allegro.administration.programStrategy.ReferenceTaxonStrategy)
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)
ReferenceTaxonStrategyDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface ReferenceTaxonStrategyDao
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.ReferenceTaxonStrategyDao.search(int, int, int, fr.ifremer.allegro.Search)
public PaginationResult search(int pageNumber, int pageSize, Search search)
ReferenceTaxonStrategyDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface ReferenceTaxonStrategyDao
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.ReferenceTaxonStrategyDao.search(int, int, fr.ifremer.allegro.Search)
public java.util.Set search(int transform, Search search)
ReferenceTaxonStrategyDao
ReferenceTaxonStrategyDao.search(fr.ifremer.allegro.Search)
but with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
search
in interface ReferenceTaxonStrategyDao
transform
- the transformation flag.search
- the search object which provides the search parameters and pagination specification.
ReferenceTaxonStrategyDao.search(int, fr.ifremer.allegro.Search)
public java.util.Set search(Search search)
ReferenceTaxonStrategyDao
search
object.
search
in interface ReferenceTaxonStrategyDao
search
- the search object which provides the search parameters and pagination specification.
ReferenceTaxonStrategyDao.search(fr.ifremer.allegro.Search)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |