|
||||||||||
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.referential.regulation.MinimumSizeAllowedDaoBase
public abstract class MinimumSizeAllowedDaoBase
Base Spring DAO Class: is able to create, update, remove, load, and find
objects of type fr.ifremer.allegro.referential.regulation.MinimumSizeAllowed
.
MinimumSizeAllowed
Field Summary |
---|
Fields inherited from interface fr.ifremer.allegro.referential.regulation.MinimumSizeAllowedDao |
---|
TRANSFORM_CLUSTERMINIMUMSIZEALLOWED, TRANSFORM_NONE, TRANSFORM_REMOTEMINIMUMSIZEALLOWEDFULLVO, TRANSFORM_REMOTEMINIMUMSIZEALLOWEDNATURALID |
Constructor Summary | |
---|---|
MinimumSizeAllowedDaoBase()
|
Method Summary | |
---|---|
void |
clusterMinimumSizeAllowedToEntity(ClusterMinimumSizeAllowed source,
MinimumSizeAllowed target,
boolean copyIfNull)
Copies the fields of ClusterMinimumSizeAllowed to the specified entity. |
void |
clusterMinimumSizeAllowedToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type ClusterMinimumSizeAllowed to this
DAO's entity. |
java.util.Collection |
create(java.util.Collection entities)
Creates a new instance of fr.ifremer.allegro.referential.regulation.MinimumSizeAllowed and adds from the passed in entities collection |
MinimumSizeAllowed |
create(Corpus corpus,
java.util.Collection locations,
java.lang.Float minimumSize,
Unit sizeUnit,
TaxonGroup taxonGroup)
Creates a new fr.ifremer.allegro.referential.regulation.MinimumSizeAllowed
instance from only required properties (attributes
and association ends) and adds it to the persistent store. |
MinimumSizeAllowed |
create(java.lang.Float minimumSize,
java.sql.Timestamp updateDate,
Corpus corpus,
TaxonGroup taxonGroup,
java.util.Collection locations,
Unit sizeUnit)
Creates a new fr.ifremer.allegro.referential.regulation.MinimumSizeAllowed
instance from all attributes and
properties and adds it to the persistent store. |
java.util.Collection |
create(int transform,
java.util.Collection entities)
Does the same thing as MinimumSizeAllowedDao.create(fr.ifremer.allegro.referential.regulation.MinimumSizeAllowed) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
Corpus corpus,
java.util.Collection locations,
java.lang.Float minimumSize,
Unit sizeUnit,
TaxonGroup taxonGroup)
Does the same thing as MinimumSizeAllowedDao.create(fr.ifremer.allegro.referential.regulation.Corpus,java.util.Collection,java.lang.Float,fr.ifremer.allegro.referential.pmfm.Unit,fr.ifremer.allegro.referential.taxon.TaxonGroup) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
java.lang.Float minimumSize,
java.sql.Timestamp updateDate,
Corpus corpus,
TaxonGroup taxonGroup,
java.util.Collection locations,
Unit sizeUnit)
Does the same thing as MinimumSizeAllowedDao.create(java.lang.Float,java.sql.Timestamp,fr.ifremer.allegro.referential.regulation.Corpus,fr.ifremer.allegro.referential.taxon.TaxonGroup,java.util.Collection,fr.ifremer.allegro.referential.pmfm.Unit) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
MinimumSizeAllowed minimumSizeAllowed)
Does the same thing as MinimumSizeAllowedDao.create(fr.ifremer.allegro.referential.regulation.MinimumSizeAllowed) with an
additional flag called transform . |
MinimumSizeAllowed |
create(MinimumSizeAllowed minimumSizeAllowed)
Creates an instance of fr.ifremer.allegro.referential.regulation.MinimumSizeAllowed and adds it to the persistent store. |
MinimumSizeAllowed |
createFromClusterMinimumSizeAllowed(ClusterMinimumSizeAllowed clusterMinimumSizeAllowed)
|
java.util.Collection |
findMinimumSizeAllowedByCorpus(Corpus corpus)
|
java.util.Collection |
findMinimumSizeAllowedByCorpus(int transform,
Corpus corpus)
Does the same thing as MinimumSizeAllowedDao.findMinimumSizeAllowedByCorpus(fr.ifremer.allegro.referential.regulation.Corpus) with an
additional flag called transform . |
java.util.Collection |
findMinimumSizeAllowedByCorpus(int pageNumber,
int pageSize,
Corpus corpus)
Does the same thing as MinimumSizeAllowedDao.findMinimumSizeAllowedByCorpus(fr.ifremer.allegro.referential.regulation.Corpus) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findMinimumSizeAllowedByCorpus(int transform,
int pageNumber,
int pageSize,
Corpus corpus)
Does the same thing as MinimumSizeAllowedDao.findMinimumSizeAllowedByCorpus(int, fr.ifremer.allegro.referential.regulation.Corpus) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findMinimumSizeAllowedByCorpus(int transform,
java.lang.String queryString,
Corpus corpus)
Does the same thing as MinimumSizeAllowedDao.findMinimumSizeAllowedByCorpus(int, fr.ifremer.allegro.referential.regulation.Corpus) with an
additional argument called queryString . |
java.util.Collection |
findMinimumSizeAllowedByCorpus(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
Corpus corpus)
Does the same thing as MinimumSizeAllowedDao.findMinimumSizeAllowedByCorpus(int, String, fr.ifremer.allegro.referential.regulation.Corpus) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findMinimumSizeAllowedByCorpus(java.lang.String queryString,
Corpus corpus)
Does the same thing as MinimumSizeAllowedDao.findMinimumSizeAllowedByCorpus(fr.ifremer.allegro.referential.regulation.Corpus) with an
additional argument called queryString . |
java.util.Collection |
findMinimumSizeAllowedByCorpus(java.lang.String queryString,
int pageNumber,
int pageSize,
Corpus corpus)
Does the same thing as MinimumSizeAllowedDao.findMinimumSizeAllowedByCorpus(String, fr.ifremer.allegro.referential.regulation.Corpus) with an
additional two arguments called pageNumber and pageSize . |
MinimumSizeAllowed |
findMinimumSizeAllowedById(java.lang.Integer id)
|
java.lang.Object |
findMinimumSizeAllowedById(int transform,
java.lang.Integer id)
Does the same thing as MinimumSizeAllowedDao.findMinimumSizeAllowedById(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findMinimumSizeAllowedById(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as MinimumSizeAllowedDao.findMinimumSizeAllowedById(int, java.lang.Integer) with an
additional argument called queryString . |
MinimumSizeAllowed |
findMinimumSizeAllowedById(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as MinimumSizeAllowedDao.findMinimumSizeAllowedById(java.lang.Integer) with an
additional argument called queryString . |
MinimumSizeAllowed |
findMinimumSizeAllowedByNaturalId(java.lang.Integer id)
|
java.lang.Object |
findMinimumSizeAllowedByNaturalId(int transform,
java.lang.Integer id)
Does the same thing as MinimumSizeAllowedDao.findMinimumSizeAllowedByNaturalId(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findMinimumSizeAllowedByNaturalId(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as MinimumSizeAllowedDao.findMinimumSizeAllowedByNaturalId(int, java.lang.Integer) with an
additional argument called queryString . |
MinimumSizeAllowed |
findMinimumSizeAllowedByNaturalId(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as MinimumSizeAllowedDao.findMinimumSizeAllowedByNaturalId(java.lang.Integer) with an
additional argument called queryString . |
java.util.Collection |
findMinimumSizeAllowedBySizeUnit(int transform,
int pageNumber,
int pageSize,
Unit sizeUnit)
Does the same thing as MinimumSizeAllowedDao.findMinimumSizeAllowedBySizeUnit(int, fr.ifremer.allegro.referential.pmfm.Unit) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findMinimumSizeAllowedBySizeUnit(int pageNumber,
int pageSize,
Unit sizeUnit)
Does the same thing as MinimumSizeAllowedDao.findMinimumSizeAllowedBySizeUnit(fr.ifremer.allegro.referential.pmfm.Unit) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findMinimumSizeAllowedBySizeUnit(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
Unit sizeUnit)
Does the same thing as MinimumSizeAllowedDao.findMinimumSizeAllowedBySizeUnit(int, String, fr.ifremer.allegro.referential.pmfm.Unit) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findMinimumSizeAllowedBySizeUnit(int transform,
java.lang.String queryString,
Unit sizeUnit)
Does the same thing as MinimumSizeAllowedDao.findMinimumSizeAllowedBySizeUnit(int, fr.ifremer.allegro.referential.pmfm.Unit) with an
additional argument called queryString . |
java.util.Collection |
findMinimumSizeAllowedBySizeUnit(int transform,
Unit sizeUnit)
Does the same thing as MinimumSizeAllowedDao.findMinimumSizeAllowedBySizeUnit(fr.ifremer.allegro.referential.pmfm.Unit) with an
additional flag called transform . |
java.util.Collection |
findMinimumSizeAllowedBySizeUnit(java.lang.String queryString,
int pageNumber,
int pageSize,
Unit sizeUnit)
Does the same thing as MinimumSizeAllowedDao.findMinimumSizeAllowedBySizeUnit(String, fr.ifremer.allegro.referential.pmfm.Unit) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findMinimumSizeAllowedBySizeUnit(java.lang.String queryString,
Unit sizeUnit)
Does the same thing as MinimumSizeAllowedDao.findMinimumSizeAllowedBySizeUnit(fr.ifremer.allegro.referential.pmfm.Unit) with an
additional argument called queryString . |
java.util.Collection |
findMinimumSizeAllowedBySizeUnit(Unit sizeUnit)
|
java.util.Collection |
findMinimumSizeAllowedByTaxonGroup(int transform,
int pageNumber,
int pageSize,
TaxonGroup taxonGroup)
Does the same thing as MinimumSizeAllowedDao.findMinimumSizeAllowedByTaxonGroup(int, fr.ifremer.allegro.referential.taxon.TaxonGroup) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findMinimumSizeAllowedByTaxonGroup(int pageNumber,
int pageSize,
TaxonGroup taxonGroup)
Does the same thing as MinimumSizeAllowedDao.findMinimumSizeAllowedByTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findMinimumSizeAllowedByTaxonGroup(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
TaxonGroup taxonGroup)
Does the same thing as MinimumSizeAllowedDao.findMinimumSizeAllowedByTaxonGroup(int, String, fr.ifremer.allegro.referential.taxon.TaxonGroup) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findMinimumSizeAllowedByTaxonGroup(int transform,
java.lang.String queryString,
TaxonGroup taxonGroup)
Does the same thing as MinimumSizeAllowedDao.findMinimumSizeAllowedByTaxonGroup(int, fr.ifremer.allegro.referential.taxon.TaxonGroup) with an
additional argument called queryString . |
java.util.Collection |
findMinimumSizeAllowedByTaxonGroup(int transform,
TaxonGroup taxonGroup)
Does the same thing as MinimumSizeAllowedDao.findMinimumSizeAllowedByTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup) with an
additional flag called transform . |
java.util.Collection |
findMinimumSizeAllowedByTaxonGroup(java.lang.String queryString,
int pageNumber,
int pageSize,
TaxonGroup taxonGroup)
Does the same thing as MinimumSizeAllowedDao.findMinimumSizeAllowedByTaxonGroup(String, fr.ifremer.allegro.referential.taxon.TaxonGroup) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findMinimumSizeAllowedByTaxonGroup(java.lang.String queryString,
TaxonGroup taxonGroup)
Does the same thing as MinimumSizeAllowedDao.findMinimumSizeAllowedByTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup) with an
additional argument called queryString . |
java.util.Collection |
findMinimumSizeAllowedByTaxonGroup(TaxonGroup taxonGroup)
|
java.util.Collection |
getAllMinimumSizeAllowed()
|
java.util.Collection |
getAllMinimumSizeAllowed(int transform)
Does the same thing as MinimumSizeAllowedDao.getAllMinimumSizeAllowed() with an
additional flag called transform . |
java.util.Collection |
getAllMinimumSizeAllowed(int pageNumber,
int pageSize)
Does the same thing as MinimumSizeAllowedDao.getAllMinimumSizeAllowed() with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllMinimumSizeAllowed(int transform,
int pageNumber,
int pageSize)
Does the same thing as MinimumSizeAllowedDao.getAllMinimumSizeAllowed(int) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllMinimumSizeAllowed(int transform,
java.lang.String queryString)
Does the same thing as MinimumSizeAllowedDao.getAllMinimumSizeAllowed(int) with an
additional argument called queryString . |
java.util.Collection |
getAllMinimumSizeAllowed(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as MinimumSizeAllowedDao.getAllMinimumSizeAllowed(int, String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllMinimumSizeAllowed(java.lang.String queryString)
Does the same thing as MinimumSizeAllowedDao.getAllMinimumSizeAllowed() with an
additional argument called queryString . |
java.util.Collection |
getAllMinimumSizeAllowed(java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as MinimumSizeAllowedDao.getAllMinimumSizeAllowed(String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllMinimumSizeAllowedSinceDateSynchro(int transform,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as MinimumSizeAllowedDao.getAllMinimumSizeAllowedSinceDateSynchro(int, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllMinimumSizeAllowedSinceDateSynchro(int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as MinimumSizeAllowedDao.getAllMinimumSizeAllowedSinceDateSynchro(java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllMinimumSizeAllowedSinceDateSynchro(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as MinimumSizeAllowedDao.getAllMinimumSizeAllowedSinceDateSynchro(int, String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllMinimumSizeAllowedSinceDateSynchro(int transform,
java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as MinimumSizeAllowedDao.getAllMinimumSizeAllowedSinceDateSynchro(int, java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllMinimumSizeAllowedSinceDateSynchro(int transform,
java.sql.Timestamp updateDate)
Does the same thing as MinimumSizeAllowedDao.getAllMinimumSizeAllowedSinceDateSynchro(java.sql.Timestamp) with an
additional flag called transform . |
java.util.Collection |
getAllMinimumSizeAllowedSinceDateSynchro(java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as MinimumSizeAllowedDao.getAllMinimumSizeAllowedSinceDateSynchro(String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllMinimumSizeAllowedSinceDateSynchro(java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as MinimumSizeAllowedDao.getAllMinimumSizeAllowedSinceDateSynchro(java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllMinimumSizeAllowedSinceDateSynchro(java.sql.Timestamp updateDate)
|
protected CorpusDao |
getCorpusDao()
Gets the reference to corpusDao . |
protected LocationDao |
getLocationDao()
Gets the reference to locationDao . |
protected java.security.Principal |
getPrincipal()
Gets the current principal if one has been set,
otherwise returns null . |
protected TaxonGroupDao |
getTaxonGroupDao()
Gets the reference to taxonGroupDao . |
protected UnitDao |
getUnitDao()
Gets the reference to unitDao . |
protected abstract MinimumSizeAllowed |
handleCreateFromClusterMinimumSizeAllowed(ClusterMinimumSizeAllowed clusterMinimumSizeAllowed)
Performs the core logic for createFromClusterMinimumSizeAllowed(fr.ifremer.allegro.referential.regulation.generic.cluster.ClusterMinimumSizeAllowed) |
MinimumSizeAllowed |
load(java.lang.Integer id)
Loads an instance of fr.ifremer.allegro.referential.regulation.MinimumSizeAllowed from the persistent store. |
java.lang.Object |
load(int transform,
java.lang.Integer id)
Does the same thing as MinimumSizeAllowedDao.load(java.lang.Integer) with an
additional flag called transform . |
java.util.Collection |
loadAll()
Loads all entities of type MinimumSizeAllowed . |
java.util.Collection |
loadAll(int transform)
Does the same thing as MinimumSizeAllowedDao.loadAll() with an
additional flag called transform . |
java.util.Collection |
loadAll(int pageNumber,
int pageSize)
Does the same thing as MinimumSizeAllowedDao.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 MinimumSizeAllowedDao.loadAll(int) with an
additional two arguments called pageNumber and pageSize . |
void |
remoteMinimumSizeAllowedFullVOToEntity(RemoteMinimumSizeAllowedFullVO source,
MinimumSizeAllowed target,
boolean copyIfNull)
Copies the fields of RemoteMinimumSizeAllowedFullVO to the specified entity. |
void |
remoteMinimumSizeAllowedFullVOToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteMinimumSizeAllowedFullVO to this
DAO's entity. |
void |
remoteMinimumSizeAllowedNaturalIdToEntity(RemoteMinimumSizeAllowedNaturalId source,
MinimumSizeAllowed target,
boolean copyIfNull)
Copies the fields of RemoteMinimumSizeAllowedNaturalId to the specified entity. |
void |
remoteMinimumSizeAllowedNaturalIdToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteMinimumSizeAllowedNaturalId to this
DAO's entity. |
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.referential.regulation.MinimumSizeAllowed having the given identifier from the persistent store. |
void |
remove(MinimumSizeAllowed minimumSizeAllowed)
Removes the instance of fr.ifremer.allegro.referential.regulation.MinimumSizeAllowed 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 MinimumSizeAllowedDao.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 |
setCorpusDao(CorpusDao corpusDao)
Sets the reference to corpusDao . |
void |
setLocationDao(LocationDao locationDao)
Sets the reference to locationDao . |
void |
setTaxonGroupDao(TaxonGroupDao taxonGroupDao)
Sets the reference to taxonGroupDao . |
void |
setUnitDao(UnitDao unitDao)
Sets the reference to unitDao . |
ClusterMinimumSizeAllowed |
toClusterMinimumSizeAllowed(MinimumSizeAllowed entity)
Converts this DAO's entity to an object of type ClusterMinimumSizeAllowed . |
void |
toClusterMinimumSizeAllowed(MinimumSizeAllowed source,
ClusterMinimumSizeAllowed target)
Copies the fields of the specified entity to the target value object. |
protected ClusterMinimumSizeAllowed |
toClusterMinimumSizeAllowed(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
ClusterMinimumSizeAllowed[] |
toClusterMinimumSizeAllowedArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type ClusterMinimumSizeAllowed . |
void |
toClusterMinimumSizeAllowedCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type ClusterMinimumSizeAllowed . |
protected MinimumSizeAllowed |
toEntity(java.lang.Object[] row)
|
RemoteMinimumSizeAllowedFullVO |
toRemoteMinimumSizeAllowedFullVO(MinimumSizeAllowed entity)
Converts this DAO's entity to an object of type RemoteMinimumSizeAllowedFullVO . |
void |
toRemoteMinimumSizeAllowedFullVO(MinimumSizeAllowed source,
RemoteMinimumSizeAllowedFullVO target)
Copies the fields of the specified entity to the target value object. |
protected RemoteMinimumSizeAllowedFullVO |
toRemoteMinimumSizeAllowedFullVO(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteMinimumSizeAllowedFullVO[] |
toRemoteMinimumSizeAllowedFullVOArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteMinimumSizeAllowedFullVO . |
void |
toRemoteMinimumSizeAllowedFullVOCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteMinimumSizeAllowedFullVO . |
RemoteMinimumSizeAllowedNaturalId |
toRemoteMinimumSizeAllowedNaturalId(MinimumSizeAllowed entity)
Converts this DAO's entity to an object of type RemoteMinimumSizeAllowedNaturalId . |
void |
toRemoteMinimumSizeAllowedNaturalId(MinimumSizeAllowed source,
RemoteMinimumSizeAllowedNaturalId target)
Copies the fields of the specified entity to the target value object. |
protected RemoteMinimumSizeAllowedNaturalId |
toRemoteMinimumSizeAllowedNaturalId(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteMinimumSizeAllowedNaturalId[] |
toRemoteMinimumSizeAllowedNaturalIdArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteMinimumSizeAllowedNaturalId . |
void |
toRemoteMinimumSizeAllowedNaturalIdCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteMinimumSizeAllowedNaturalId . |
protected void |
transformEntities(int transform,
java.util.Collection entities)
Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.regulation.MinimumSizeAllowed)
method. |
protected java.lang.Object |
transformEntity(int transform,
MinimumSizeAllowed entity)
Allows transformation of entities into value objects (or something else for that matter), when the transform
flag is set to one of the constants defined in fr.ifremer.allegro.referential.regulation.MinimumSizeAllowedDao , please note
that the MinimumSizeAllowedDao.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(MinimumSizeAllowed minimumSizeAllowed)
Updates the minimumSizeAllowed instance in the persistent store. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface fr.ifremer.allegro.referential.regulation.MinimumSizeAllowedDao |
---|
clusterMinimumSizeAllowedToEntity, remoteMinimumSizeAllowedFullVOToEntity, remoteMinimumSizeAllowedNaturalIdToEntity |
Constructor Detail |
---|
public MinimumSizeAllowedDaoBase()
Method Detail |
---|
public void setTaxonGroupDao(TaxonGroupDao taxonGroupDao)
taxonGroupDao
.
protected TaxonGroupDao getTaxonGroupDao()
taxonGroupDao
.
public void setLocationDao(LocationDao locationDao)
locationDao
.
protected LocationDao getLocationDao()
locationDao
.
public void setUnitDao(UnitDao unitDao)
unitDao
.
protected UnitDao getUnitDao()
unitDao
.
public void setCorpusDao(CorpusDao corpusDao)
corpusDao
.
protected CorpusDao getCorpusDao()
corpusDao
.
public java.lang.Object load(int transform, java.lang.Integer id)
MinimumSizeAllowedDao
Does the same thing as MinimumSizeAllowedDao.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 MinimumSizeAllowedDao
id
- identifier of the entity to load
MinimumSizeAllowedDao.load(int, java.lang.Integer)
public MinimumSizeAllowed load(java.lang.Integer id)
MinimumSizeAllowedDao
load
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.load(java.lang.Integer)
public java.util.Collection loadAll()
MinimumSizeAllowedDao
MinimumSizeAllowed
.
loadAll
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.loadAll()
public java.util.Collection loadAll(int transform)
MinimumSizeAllowedDao
Does the same thing as MinimumSizeAllowedDao.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 MinimumSizeAllowedDao
transform
- the flag indicating what transformation to use.
MinimumSizeAllowedDao.loadAll(int)
public java.util.Collection loadAll(int pageNumber, int pageSize)
MinimumSizeAllowedDao
Does the same thing as MinimumSizeAllowedDao.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 MinimumSizeAllowedDao
pageNumber
- the page number to retrieve when paging results.pageSize
- the size of the page to retrieve when paging results.
MinimumSizeAllowedDao.loadAll(int, int)
public java.util.Collection loadAll(int transform, int pageNumber, int pageSize)
MinimumSizeAllowedDao
Does the same thing as MinimumSizeAllowedDao.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 MinimumSizeAllowedDao
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.
MinimumSizeAllowedDao.loadAll(int, int, int)
public MinimumSizeAllowed create(MinimumSizeAllowed minimumSizeAllowed)
MinimumSizeAllowedDao
create
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.create(fr.ifremer.allegro.referential.regulation.MinimumSizeAllowed)
public java.lang.Object create(int transform, MinimumSizeAllowed minimumSizeAllowed)
MinimumSizeAllowedDao
Does the same thing as MinimumSizeAllowedDao.create(fr.ifremer.allegro.referential.regulation.MinimumSizeAllowed)
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 MinimumSizeAllowedDao
MinimumSizeAllowedDao.create(int transform, fr.ifremer.allegro.referential.regulation.MinimumSizeAllowed)
public java.util.Collection create(java.util.Collection entities)
MinimumSizeAllowedDao
entities
collection
create
in interface MinimumSizeAllowedDao
entities
- the collection of fr.ifremer.allegro.referential.regulation.MinimumSizeAllowed
instances to create.
MinimumSizeAllowedDao.create(java.util.Collection)
public java.util.Collection create(int transform, java.util.Collection entities)
MinimumSizeAllowedDao
Does the same thing as MinimumSizeAllowedDao.create(fr.ifremer.allegro.referential.regulation.MinimumSizeAllowed)
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 MinimumSizeAllowedDao
MinimumSizeAllowedDao.create(int, java.util.Collection)
public MinimumSizeAllowed create(java.lang.Float minimumSize, java.sql.Timestamp updateDate, Corpus corpus, TaxonGroup taxonGroup, java.util.Collection locations, Unit sizeUnit)
MinimumSizeAllowedDao
Creates a new fr.ifremer.allegro.referential.regulation.MinimumSizeAllowed
instance from all attributes and
properties and adds it to the persistent store.
create
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.create(java.lang.Float,java.sql.Timestamp,fr.ifremer.allegro.referential.regulation.Corpus,fr.ifremer.allegro.referential.taxon.TaxonGroup,java.util.Collection,fr.ifremer.allegro.referential.pmfm.Unit)
public java.lang.Object create(int transform, java.lang.Float minimumSize, java.sql.Timestamp updateDate, Corpus corpus, TaxonGroup taxonGroup, java.util.Collection locations, Unit sizeUnit)
MinimumSizeAllowedDao
Does the same thing as MinimumSizeAllowedDao.create(java.lang.Float,java.sql.Timestamp,fr.ifremer.allegro.referential.regulation.Corpus,fr.ifremer.allegro.referential.taxon.TaxonGroup,java.util.Collection,fr.ifremer.allegro.referential.pmfm.Unit)
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 MinimumSizeAllowedDao
MinimumSizeAllowedDao.create(int, java.lang.Float,java.sql.Timestamp,fr.ifremer.allegro.referential.regulation.Corpus,fr.ifremer.allegro.referential.taxon.TaxonGroup,java.util.Collection,fr.ifremer.allegro.referential.pmfm.Unit)
public MinimumSizeAllowed create(Corpus corpus, java.util.Collection locations, java.lang.Float minimumSize, Unit sizeUnit, TaxonGroup taxonGroup)
MinimumSizeAllowedDao
Creates a new fr.ifremer.allegro.referential.regulation.MinimumSizeAllowed
instance from only required properties (attributes
and association ends) and adds it to the persistent store.
create
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.create(fr.ifremer.allegro.referential.regulation.Corpus,java.util.Collection,java.lang.Float,fr.ifremer.allegro.referential.pmfm.Unit,fr.ifremer.allegro.referential.taxon.TaxonGroup)
public java.lang.Object create(int transform, Corpus corpus, java.util.Collection locations, java.lang.Float minimumSize, Unit sizeUnit, TaxonGroup taxonGroup)
MinimumSizeAllowedDao
Does the same thing as MinimumSizeAllowedDao.create(fr.ifremer.allegro.referential.regulation.Corpus,java.util.Collection,java.lang.Float,fr.ifremer.allegro.referential.pmfm.Unit,fr.ifremer.allegro.referential.taxon.TaxonGroup)
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 MinimumSizeAllowedDao
MinimumSizeAllowedDao.create(int, fr.ifremer.allegro.referential.regulation.Corpus,java.util.Collection,java.lang.Float,fr.ifremer.allegro.referential.pmfm.Unit,fr.ifremer.allegro.referential.taxon.TaxonGroup)
public void update(MinimumSizeAllowed minimumSizeAllowed)
MinimumSizeAllowedDao
minimumSizeAllowed
instance in the persistent store.
update
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.update(fr.ifremer.allegro.referential.regulation.MinimumSizeAllowed)
public void update(java.util.Collection entities)
MinimumSizeAllowedDao
entities
collection in the persistent store.
update
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.update(java.util.Collection)
public void remove(MinimumSizeAllowed minimumSizeAllowed)
MinimumSizeAllowedDao
remove
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.remove(fr.ifremer.allegro.referential.regulation.MinimumSizeAllowed)
public void remove(java.lang.Integer id)
MinimumSizeAllowedDao
identifier
from the persistent store.
remove
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.remove(java.lang.Integer)
public void remove(java.util.Collection entities)
MinimumSizeAllowedDao
entities collection.
- Specified by:
remove
in interface MinimumSizeAllowedDao
- See Also:
MinimumSizeAllowedDao.remove(java.util.Collection)
public java.util.Collection getAllMinimumSizeAllowed()
getAllMinimumSizeAllowed
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.getAllMinimumSizeAllowed()
public java.util.Collection getAllMinimumSizeAllowed(int transform)
MinimumSizeAllowedDao
Does the same thing as MinimumSizeAllowedDao.getAllMinimumSizeAllowed()
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.
getAllMinimumSizeAllowed
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.getAllMinimumSizeAllowed(int)
public java.util.Collection getAllMinimumSizeAllowed(java.lang.String queryString)
MinimumSizeAllowedDao
Does the same thing as MinimumSizeAllowedDao.getAllMinimumSizeAllowed()
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in MinimumSizeAllowedDao.getAllMinimumSizeAllowed()
.
getAllMinimumSizeAllowed
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.getAllMinimumSizeAllowed(java.lang.String)
public java.util.Collection getAllMinimumSizeAllowed(int pageNumber, int pageSize)
MinimumSizeAllowedDao
Does the same thing as MinimumSizeAllowedDao.getAllMinimumSizeAllowed()
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.
getAllMinimumSizeAllowed
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.getAllMinimumSizeAllowed(int, int)
public java.util.Collection getAllMinimumSizeAllowed(java.lang.String queryString, int pageNumber, int pageSize)
MinimumSizeAllowedDao
Does the same thing as MinimumSizeAllowedDao.getAllMinimumSizeAllowed(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.
getAllMinimumSizeAllowed
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.getAllMinimumSizeAllowed(String, int, int)
public java.util.Collection getAllMinimumSizeAllowed(int transform, java.lang.String queryString)
MinimumSizeAllowedDao
Does the same thing as MinimumSizeAllowedDao.getAllMinimumSizeAllowed(int)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in MinimumSizeAllowedDao.getAllMinimumSizeAllowed(int)
.
getAllMinimumSizeAllowed
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.getAllMinimumSizeAllowed(int, String)
public java.util.Collection getAllMinimumSizeAllowed(int transform, int pageNumber, int pageSize)
MinimumSizeAllowedDao
Does the same thing as MinimumSizeAllowedDao.getAllMinimumSizeAllowed(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.
getAllMinimumSizeAllowed
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.getAllMinimumSizeAllowed(int, int, int)
public java.util.Collection getAllMinimumSizeAllowed(int transform, java.lang.String queryString, int pageNumber, int pageSize)
MinimumSizeAllowedDao
Does the same thing as MinimumSizeAllowedDao.getAllMinimumSizeAllowed(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.
getAllMinimumSizeAllowed
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.getAllMinimumSizeAllowed(int, java.lang.String, int, int)
public MinimumSizeAllowed findMinimumSizeAllowedById(java.lang.Integer id)
findMinimumSizeAllowedById
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.findMinimumSizeAllowedById(java.lang.Integer)
public java.lang.Object findMinimumSizeAllowedById(int transform, java.lang.Integer id)
MinimumSizeAllowedDao
Does the same thing as MinimumSizeAllowedDao.findMinimumSizeAllowedById(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.
findMinimumSizeAllowedById
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.findMinimumSizeAllowedById(int, java.lang.Integer)
public MinimumSizeAllowed findMinimumSizeAllowedById(java.lang.String queryString, java.lang.Integer id)
MinimumSizeAllowedDao
Does the same thing as MinimumSizeAllowedDao.findMinimumSizeAllowedById(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in MinimumSizeAllowedDao.findMinimumSizeAllowedById(java.lang.Integer)
.
findMinimumSizeAllowedById
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.findMinimumSizeAllowedById(java.lang.String, java.lang.Integer)
public java.lang.Object findMinimumSizeAllowedById(int transform, java.lang.String queryString, java.lang.Integer id)
MinimumSizeAllowedDao
Does the same thing as MinimumSizeAllowedDao.findMinimumSizeAllowedById(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in MinimumSizeAllowedDao.findMinimumSizeAllowedById(int, java.lang.Integer id)
.
findMinimumSizeAllowedById
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.findMinimumSizeAllowedById(int, java.lang.String, java.lang.Integer)
public java.util.Collection findMinimumSizeAllowedByTaxonGroup(TaxonGroup taxonGroup)
findMinimumSizeAllowedByTaxonGroup
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.findMinimumSizeAllowedByTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup)
public java.util.Collection findMinimumSizeAllowedByTaxonGroup(int transform, TaxonGroup taxonGroup)
MinimumSizeAllowedDao
Does the same thing as MinimumSizeAllowedDao.findMinimumSizeAllowedByTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup)
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.
findMinimumSizeAllowedByTaxonGroup
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.findMinimumSizeAllowedByTaxonGroup(int, fr.ifremer.allegro.referential.taxon.TaxonGroup)
public java.util.Collection findMinimumSizeAllowedByTaxonGroup(java.lang.String queryString, TaxonGroup taxonGroup)
MinimumSizeAllowedDao
Does the same thing as MinimumSizeAllowedDao.findMinimumSizeAllowedByTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in MinimumSizeAllowedDao.findMinimumSizeAllowedByTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup)
.
findMinimumSizeAllowedByTaxonGroup
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.findMinimumSizeAllowedByTaxonGroup(java.lang.String, fr.ifremer.allegro.referential.taxon.TaxonGroup)
public java.util.Collection findMinimumSizeAllowedByTaxonGroup(int pageNumber, int pageSize, TaxonGroup taxonGroup)
MinimumSizeAllowedDao
Does the same thing as MinimumSizeAllowedDao.findMinimumSizeAllowedByTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup)
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.
findMinimumSizeAllowedByTaxonGroup
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.findMinimumSizeAllowedByTaxonGroup(int, int, fr.ifremer.allegro.referential.taxon.TaxonGroup)
public java.util.Collection findMinimumSizeAllowedByTaxonGroup(java.lang.String queryString, int pageNumber, int pageSize, TaxonGroup taxonGroup)
MinimumSizeAllowedDao
Does the same thing as MinimumSizeAllowedDao.findMinimumSizeAllowedByTaxonGroup(String, fr.ifremer.allegro.referential.taxon.TaxonGroup)
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.
findMinimumSizeAllowedByTaxonGroup
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.findMinimumSizeAllowedByTaxonGroup(String, int, int, fr.ifremer.allegro.referential.taxon.TaxonGroup)
public java.util.Collection findMinimumSizeAllowedByTaxonGroup(int transform, java.lang.String queryString, TaxonGroup taxonGroup)
MinimumSizeAllowedDao
Does the same thing as MinimumSizeAllowedDao.findMinimumSizeAllowedByTaxonGroup(int, fr.ifremer.allegro.referential.taxon.TaxonGroup)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in MinimumSizeAllowedDao.findMinimumSizeAllowedByTaxonGroup(int, fr.ifremer.allegro.referential.taxon.TaxonGroup taxonGroup)
.
findMinimumSizeAllowedByTaxonGroup
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.findMinimumSizeAllowedByTaxonGroup(int, String, fr.ifremer.allegro.referential.taxon.TaxonGroup)
public java.util.Collection findMinimumSizeAllowedByTaxonGroup(int transform, int pageNumber, int pageSize, TaxonGroup taxonGroup)
MinimumSizeAllowedDao
Does the same thing as MinimumSizeAllowedDao.findMinimumSizeAllowedByTaxonGroup(int, fr.ifremer.allegro.referential.taxon.TaxonGroup)
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.
findMinimumSizeAllowedByTaxonGroup
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.findMinimumSizeAllowedByTaxonGroup(int, int, int, fr.ifremer.allegro.referential.taxon.TaxonGroup)
public java.util.Collection findMinimumSizeAllowedByTaxonGroup(int transform, java.lang.String queryString, int pageNumber, int pageSize, TaxonGroup taxonGroup)
MinimumSizeAllowedDao
Does the same thing as MinimumSizeAllowedDao.findMinimumSizeAllowedByTaxonGroup(int, String, fr.ifremer.allegro.referential.taxon.TaxonGroup)
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.
findMinimumSizeAllowedByTaxonGroup
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.findMinimumSizeAllowedByTaxonGroup(int, java.lang.String, int, int, fr.ifremer.allegro.referential.taxon.TaxonGroup)
public java.util.Collection findMinimumSizeAllowedBySizeUnit(Unit sizeUnit)
findMinimumSizeAllowedBySizeUnit
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.findMinimumSizeAllowedBySizeUnit(fr.ifremer.allegro.referential.pmfm.Unit)
public java.util.Collection findMinimumSizeAllowedBySizeUnit(int transform, Unit sizeUnit)
MinimumSizeAllowedDao
Does the same thing as MinimumSizeAllowedDao.findMinimumSizeAllowedBySizeUnit(fr.ifremer.allegro.referential.pmfm.Unit)
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.
findMinimumSizeAllowedBySizeUnit
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.findMinimumSizeAllowedBySizeUnit(int, fr.ifremer.allegro.referential.pmfm.Unit)
public java.util.Collection findMinimumSizeAllowedBySizeUnit(java.lang.String queryString, Unit sizeUnit)
MinimumSizeAllowedDao
Does the same thing as MinimumSizeAllowedDao.findMinimumSizeAllowedBySizeUnit(fr.ifremer.allegro.referential.pmfm.Unit)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in MinimumSizeAllowedDao.findMinimumSizeAllowedBySizeUnit(fr.ifremer.allegro.referential.pmfm.Unit)
.
findMinimumSizeAllowedBySizeUnit
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.findMinimumSizeAllowedBySizeUnit(java.lang.String, fr.ifremer.allegro.referential.pmfm.Unit)
public java.util.Collection findMinimumSizeAllowedBySizeUnit(int pageNumber, int pageSize, Unit sizeUnit)
MinimumSizeAllowedDao
Does the same thing as MinimumSizeAllowedDao.findMinimumSizeAllowedBySizeUnit(fr.ifremer.allegro.referential.pmfm.Unit)
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.
findMinimumSizeAllowedBySizeUnit
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.findMinimumSizeAllowedBySizeUnit(int, int, fr.ifremer.allegro.referential.pmfm.Unit)
public java.util.Collection findMinimumSizeAllowedBySizeUnit(java.lang.String queryString, int pageNumber, int pageSize, Unit sizeUnit)
MinimumSizeAllowedDao
Does the same thing as MinimumSizeAllowedDao.findMinimumSizeAllowedBySizeUnit(String, fr.ifremer.allegro.referential.pmfm.Unit)
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.
findMinimumSizeAllowedBySizeUnit
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.findMinimumSizeAllowedBySizeUnit(String, int, int, fr.ifremer.allegro.referential.pmfm.Unit)
public java.util.Collection findMinimumSizeAllowedBySizeUnit(int transform, java.lang.String queryString, Unit sizeUnit)
MinimumSizeAllowedDao
Does the same thing as MinimumSizeAllowedDao.findMinimumSizeAllowedBySizeUnit(int, fr.ifremer.allegro.referential.pmfm.Unit)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in MinimumSizeAllowedDao.findMinimumSizeAllowedBySizeUnit(int, fr.ifremer.allegro.referential.pmfm.Unit sizeUnit)
.
findMinimumSizeAllowedBySizeUnit
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.findMinimumSizeAllowedBySizeUnit(int, String, fr.ifremer.allegro.referential.pmfm.Unit)
public java.util.Collection findMinimumSizeAllowedBySizeUnit(int transform, int pageNumber, int pageSize, Unit sizeUnit)
MinimumSizeAllowedDao
Does the same thing as MinimumSizeAllowedDao.findMinimumSizeAllowedBySizeUnit(int, fr.ifremer.allegro.referential.pmfm.Unit)
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.
findMinimumSizeAllowedBySizeUnit
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.findMinimumSizeAllowedBySizeUnit(int, int, int, fr.ifremer.allegro.referential.pmfm.Unit)
public java.util.Collection findMinimumSizeAllowedBySizeUnit(int transform, java.lang.String queryString, int pageNumber, int pageSize, Unit sizeUnit)
MinimumSizeAllowedDao
Does the same thing as MinimumSizeAllowedDao.findMinimumSizeAllowedBySizeUnit(int, String, fr.ifremer.allegro.referential.pmfm.Unit)
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.
findMinimumSizeAllowedBySizeUnit
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.findMinimumSizeAllowedBySizeUnit(int, java.lang.String, int, int, fr.ifremer.allegro.referential.pmfm.Unit)
public java.util.Collection findMinimumSizeAllowedByCorpus(Corpus corpus)
findMinimumSizeAllowedByCorpus
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.findMinimumSizeAllowedByCorpus(fr.ifremer.allegro.referential.regulation.Corpus)
public java.util.Collection findMinimumSizeAllowedByCorpus(int transform, Corpus corpus)
MinimumSizeAllowedDao
Does the same thing as MinimumSizeAllowedDao.findMinimumSizeAllowedByCorpus(fr.ifremer.allegro.referential.regulation.Corpus)
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.
findMinimumSizeAllowedByCorpus
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.findMinimumSizeAllowedByCorpus(int, fr.ifremer.allegro.referential.regulation.Corpus)
public java.util.Collection findMinimumSizeAllowedByCorpus(java.lang.String queryString, Corpus corpus)
MinimumSizeAllowedDao
Does the same thing as MinimumSizeAllowedDao.findMinimumSizeAllowedByCorpus(fr.ifremer.allegro.referential.regulation.Corpus)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in MinimumSizeAllowedDao.findMinimumSizeAllowedByCorpus(fr.ifremer.allegro.referential.regulation.Corpus)
.
findMinimumSizeAllowedByCorpus
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.findMinimumSizeAllowedByCorpus(java.lang.String, fr.ifremer.allegro.referential.regulation.Corpus)
public java.util.Collection findMinimumSizeAllowedByCorpus(int pageNumber, int pageSize, Corpus corpus)
MinimumSizeAllowedDao
Does the same thing as MinimumSizeAllowedDao.findMinimumSizeAllowedByCorpus(fr.ifremer.allegro.referential.regulation.Corpus)
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.
findMinimumSizeAllowedByCorpus
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.findMinimumSizeAllowedByCorpus(int, int, fr.ifremer.allegro.referential.regulation.Corpus)
public java.util.Collection findMinimumSizeAllowedByCorpus(java.lang.String queryString, int pageNumber, int pageSize, Corpus corpus)
MinimumSizeAllowedDao
Does the same thing as MinimumSizeAllowedDao.findMinimumSizeAllowedByCorpus(String, fr.ifremer.allegro.referential.regulation.Corpus)
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.
findMinimumSizeAllowedByCorpus
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.findMinimumSizeAllowedByCorpus(String, int, int, fr.ifremer.allegro.referential.regulation.Corpus)
public java.util.Collection findMinimumSizeAllowedByCorpus(int transform, java.lang.String queryString, Corpus corpus)
MinimumSizeAllowedDao
Does the same thing as MinimumSizeAllowedDao.findMinimumSizeAllowedByCorpus(int, fr.ifremer.allegro.referential.regulation.Corpus)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in MinimumSizeAllowedDao.findMinimumSizeAllowedByCorpus(int, fr.ifremer.allegro.referential.regulation.Corpus corpus)
.
findMinimumSizeAllowedByCorpus
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.findMinimumSizeAllowedByCorpus(int, String, fr.ifremer.allegro.referential.regulation.Corpus)
public java.util.Collection findMinimumSizeAllowedByCorpus(int transform, int pageNumber, int pageSize, Corpus corpus)
MinimumSizeAllowedDao
Does the same thing as MinimumSizeAllowedDao.findMinimumSizeAllowedByCorpus(int, fr.ifremer.allegro.referential.regulation.Corpus)
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.
findMinimumSizeAllowedByCorpus
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.findMinimumSizeAllowedByCorpus(int, int, int, fr.ifremer.allegro.referential.regulation.Corpus)
public java.util.Collection findMinimumSizeAllowedByCorpus(int transform, java.lang.String queryString, int pageNumber, int pageSize, Corpus corpus)
MinimumSizeAllowedDao
Does the same thing as MinimumSizeAllowedDao.findMinimumSizeAllowedByCorpus(int, String, fr.ifremer.allegro.referential.regulation.Corpus)
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.
findMinimumSizeAllowedByCorpus
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.findMinimumSizeAllowedByCorpus(int, java.lang.String, int, int, fr.ifremer.allegro.referential.regulation.Corpus)
public MinimumSizeAllowed findMinimumSizeAllowedByNaturalId(java.lang.Integer id)
findMinimumSizeAllowedByNaturalId
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.findMinimumSizeAllowedByNaturalId(java.lang.Integer)
public java.lang.Object findMinimumSizeAllowedByNaturalId(int transform, java.lang.Integer id)
MinimumSizeAllowedDao
Does the same thing as MinimumSizeAllowedDao.findMinimumSizeAllowedByNaturalId(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.
findMinimumSizeAllowedByNaturalId
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.findMinimumSizeAllowedByNaturalId(int, java.lang.Integer)
public MinimumSizeAllowed findMinimumSizeAllowedByNaturalId(java.lang.String queryString, java.lang.Integer id)
MinimumSizeAllowedDao
Does the same thing as MinimumSizeAllowedDao.findMinimumSizeAllowedByNaturalId(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in MinimumSizeAllowedDao.findMinimumSizeAllowedByNaturalId(java.lang.Integer)
.
findMinimumSizeAllowedByNaturalId
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.findMinimumSizeAllowedByNaturalId(java.lang.String, java.lang.Integer)
public java.lang.Object findMinimumSizeAllowedByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
MinimumSizeAllowedDao
Does the same thing as MinimumSizeAllowedDao.findMinimumSizeAllowedByNaturalId(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in MinimumSizeAllowedDao.findMinimumSizeAllowedByNaturalId(int, java.lang.Integer id)
.
findMinimumSizeAllowedByNaturalId
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.findMinimumSizeAllowedByNaturalId(int, java.lang.String, java.lang.Integer)
public java.util.Collection getAllMinimumSizeAllowedSinceDateSynchro(java.sql.Timestamp updateDate)
getAllMinimumSizeAllowedSinceDateSynchro
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.getAllMinimumSizeAllowedSinceDateSynchro(java.sql.Timestamp)
public java.util.Collection getAllMinimumSizeAllowedSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
MinimumSizeAllowedDao
Does the same thing as MinimumSizeAllowedDao.getAllMinimumSizeAllowedSinceDateSynchro(java.sql.Timestamp)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
getAllMinimumSizeAllowedSinceDateSynchro
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.getAllMinimumSizeAllowedSinceDateSynchro(int, java.sql.Timestamp)
public java.util.Collection getAllMinimumSizeAllowedSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
MinimumSizeAllowedDao
Does the same thing as MinimumSizeAllowedDao.getAllMinimumSizeAllowedSinceDateSynchro(java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in MinimumSizeAllowedDao.getAllMinimumSizeAllowedSinceDateSynchro(java.sql.Timestamp)
.
getAllMinimumSizeAllowedSinceDateSynchro
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.getAllMinimumSizeAllowedSinceDateSynchro(java.lang.String, java.sql.Timestamp)
public java.util.Collection getAllMinimumSizeAllowedSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
MinimumSizeAllowedDao
Does the same thing as MinimumSizeAllowedDao.getAllMinimumSizeAllowedSinceDateSynchro(java.sql.Timestamp)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllMinimumSizeAllowedSinceDateSynchro
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.getAllMinimumSizeAllowedSinceDateSynchro(int, int, java.sql.Timestamp)
public java.util.Collection getAllMinimumSizeAllowedSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
MinimumSizeAllowedDao
Does the same thing as MinimumSizeAllowedDao.getAllMinimumSizeAllowedSinceDateSynchro(String, java.sql.Timestamp)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllMinimumSizeAllowedSinceDateSynchro
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.getAllMinimumSizeAllowedSinceDateSynchro(String, int, int, java.sql.Timestamp)
public java.util.Collection getAllMinimumSizeAllowedSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
MinimumSizeAllowedDao
Does the same thing as MinimumSizeAllowedDao.getAllMinimumSizeAllowedSinceDateSynchro(int, java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in MinimumSizeAllowedDao.getAllMinimumSizeAllowedSinceDateSynchro(int, java.sql.Timestamp updateDate)
.
getAllMinimumSizeAllowedSinceDateSynchro
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.getAllMinimumSizeAllowedSinceDateSynchro(int, String, java.sql.Timestamp)
public java.util.Collection getAllMinimumSizeAllowedSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
MinimumSizeAllowedDao
Does the same thing as MinimumSizeAllowedDao.getAllMinimumSizeAllowedSinceDateSynchro(int, java.sql.Timestamp)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllMinimumSizeAllowedSinceDateSynchro
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.getAllMinimumSizeAllowedSinceDateSynchro(int, int, int, java.sql.Timestamp)
public java.util.Collection getAllMinimumSizeAllowedSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
MinimumSizeAllowedDao
Does the same thing as MinimumSizeAllowedDao.getAllMinimumSizeAllowedSinceDateSynchro(int, String, java.sql.Timestamp)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllMinimumSizeAllowedSinceDateSynchro
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.getAllMinimumSizeAllowedSinceDateSynchro(int, java.lang.String, int, int, java.sql.Timestamp)
public MinimumSizeAllowed createFromClusterMinimumSizeAllowed(ClusterMinimumSizeAllowed clusterMinimumSizeAllowed)
createFromClusterMinimumSizeAllowed
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.createFromClusterMinimumSizeAllowed(fr.ifremer.allegro.referential.regulation.generic.cluster.ClusterMinimumSizeAllowed)
protected abstract MinimumSizeAllowed handleCreateFromClusterMinimumSizeAllowed(ClusterMinimumSizeAllowed clusterMinimumSizeAllowed) throws java.lang.Exception
createFromClusterMinimumSizeAllowed(fr.ifremer.allegro.referential.regulation.generic.cluster.ClusterMinimumSizeAllowed)
java.lang.Exception
protected java.lang.Object transformEntity(int transform, MinimumSizeAllowed entity)
transform
flag is set to one of the constants defined in fr.ifremer.allegro.referential.regulation.MinimumSizeAllowedDao
, please note
that the MinimumSizeAllowedDao.TRANSFORM_NONE
constant denotes no transformation, so the entity itself
will be returned.
This method will return instances of these types:
MinimumSizeAllowed
- MinimumSizeAllowedDao.TRANSFORM_NONE
RemoteMinimumSizeAllowedFullVO
- TRANSFORM_REMOTEMINIMUMSIZEALLOWEDFULLVO
RemoteMinimumSizeAllowedNaturalId
- TRANSFORM_REMOTEMINIMUMSIZEALLOWEDNATURALID
ClusterMinimumSizeAllowed
- TRANSFORM_CLUSTERMINIMUMSIZEALLOWED
MinimumSizeAllowedDao.TRANSFORM_NONE
is assumed.
transform
- one of the constants declared in MinimumSizeAllowedDao
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.referential.regulation.MinimumSizeAllowed)
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.referential.regulation.MinimumSizeAllowedDao
entities
- the collection of entities to transformtransformEntity(int,fr.ifremer.allegro.referential.regulation.MinimumSizeAllowed)
protected MinimumSizeAllowed toEntity(java.lang.Object[] row)
public final void toRemoteMinimumSizeAllowedFullVOCollection(java.util.Collection entities)
MinimumSizeAllowedDao
RemoteMinimumSizeAllowedFullVO
.
toRemoteMinimumSizeAllowedFullVOCollection
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.toRemoteMinimumSizeAllowedFullVOCollection(java.util.Collection)
public final RemoteMinimumSizeAllowedFullVO[] toRemoteMinimumSizeAllowedFullVOArray(java.util.Collection entities)
MinimumSizeAllowedDao
RemoteMinimumSizeAllowedFullVO
.
toRemoteMinimumSizeAllowedFullVOArray
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.toRemoteMinimumSizeAllowedFullVOArray(java.util.Collection)
protected RemoteMinimumSizeAllowedFullVO toRemoteMinimumSizeAllowedFullVO(java.lang.Object[] row)
MinimumSizeAllowedDaoImpl
class if you intend to use reporting queries.
MinimumSizeAllowedDao.toRemoteMinimumSizeAllowedFullVO(fr.ifremer.allegro.referential.regulation.MinimumSizeAllowed)
public final void remoteMinimumSizeAllowedFullVOToEntityCollection(java.util.Collection instances)
MinimumSizeAllowedDao
RemoteMinimumSizeAllowedFullVO
to this
DAO's entity.
remoteMinimumSizeAllowedFullVOToEntityCollection
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.remoteMinimumSizeAllowedFullVOToEntityCollection(java.util.Collection)
public void toRemoteMinimumSizeAllowedFullVO(MinimumSizeAllowed source, RemoteMinimumSizeAllowedFullVO target)
MinimumSizeAllowedDao
toRemoteMinimumSizeAllowedFullVO
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.toRemoteMinimumSizeAllowedFullVO(fr.ifremer.allegro.referential.regulation.MinimumSizeAllowed, fr.ifremer.allegro.referential.regulation.generic.vo.RemoteMinimumSizeAllowedFullVO)
public RemoteMinimumSizeAllowedFullVO toRemoteMinimumSizeAllowedFullVO(MinimumSizeAllowed entity)
MinimumSizeAllowedDao
RemoteMinimumSizeAllowedFullVO
.
toRemoteMinimumSizeAllowedFullVO
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.toRemoteMinimumSizeAllowedFullVO(fr.ifremer.allegro.referential.regulation.MinimumSizeAllowed)
public void remoteMinimumSizeAllowedFullVOToEntity(RemoteMinimumSizeAllowedFullVO source, MinimumSizeAllowed target, boolean copyIfNull)
MinimumSizeAllowedDao
RemoteMinimumSizeAllowedFullVO
to the specified entity.
remoteMinimumSizeAllowedFullVOToEntity
in interface MinimumSizeAllowedDao
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.referential.regulation.MinimumSizeAllowedDao#remoteMinimumSizeAllowedFullVOToEntity(fr.ifremer.allegro.referential.regulation.generic.vo.RemoteMinimumSizeAllowedFullVO, fr.ifremer.allegro.referential.regulation.MinimumSizeAllowed)
public final void toRemoteMinimumSizeAllowedNaturalIdCollection(java.util.Collection entities)
MinimumSizeAllowedDao
RemoteMinimumSizeAllowedNaturalId
.
toRemoteMinimumSizeAllowedNaturalIdCollection
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.toRemoteMinimumSizeAllowedNaturalIdCollection(java.util.Collection)
public final RemoteMinimumSizeAllowedNaturalId[] toRemoteMinimumSizeAllowedNaturalIdArray(java.util.Collection entities)
MinimumSizeAllowedDao
RemoteMinimumSizeAllowedNaturalId
.
toRemoteMinimumSizeAllowedNaturalIdArray
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.toRemoteMinimumSizeAllowedNaturalIdArray(java.util.Collection)
protected RemoteMinimumSizeAllowedNaturalId toRemoteMinimumSizeAllowedNaturalId(java.lang.Object[] row)
MinimumSizeAllowedDaoImpl
class if you intend to use reporting queries.
MinimumSizeAllowedDao.toRemoteMinimumSizeAllowedNaturalId(fr.ifremer.allegro.referential.regulation.MinimumSizeAllowed)
public final void remoteMinimumSizeAllowedNaturalIdToEntityCollection(java.util.Collection instances)
MinimumSizeAllowedDao
RemoteMinimumSizeAllowedNaturalId
to this
DAO's entity.
remoteMinimumSizeAllowedNaturalIdToEntityCollection
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.remoteMinimumSizeAllowedNaturalIdToEntityCollection(java.util.Collection)
public void toRemoteMinimumSizeAllowedNaturalId(MinimumSizeAllowed source, RemoteMinimumSizeAllowedNaturalId target)
MinimumSizeAllowedDao
toRemoteMinimumSizeAllowedNaturalId
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.toRemoteMinimumSizeAllowedNaturalId(fr.ifremer.allegro.referential.regulation.MinimumSizeAllowed, fr.ifremer.allegro.referential.regulation.generic.vo.RemoteMinimumSizeAllowedNaturalId)
public RemoteMinimumSizeAllowedNaturalId toRemoteMinimumSizeAllowedNaturalId(MinimumSizeAllowed entity)
MinimumSizeAllowedDao
RemoteMinimumSizeAllowedNaturalId
.
toRemoteMinimumSizeAllowedNaturalId
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.toRemoteMinimumSizeAllowedNaturalId(fr.ifremer.allegro.referential.regulation.MinimumSizeAllowed)
public void remoteMinimumSizeAllowedNaturalIdToEntity(RemoteMinimumSizeAllowedNaturalId source, MinimumSizeAllowed target, boolean copyIfNull)
MinimumSizeAllowedDao
RemoteMinimumSizeAllowedNaturalId
to the specified entity.
remoteMinimumSizeAllowedNaturalIdToEntity
in interface MinimumSizeAllowedDao
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.referential.regulation.MinimumSizeAllowedDao#remoteMinimumSizeAllowedNaturalIdToEntity(fr.ifremer.allegro.referential.regulation.generic.vo.RemoteMinimumSizeAllowedNaturalId, fr.ifremer.allegro.referential.regulation.MinimumSizeAllowed)
public final void toClusterMinimumSizeAllowedCollection(java.util.Collection entities)
MinimumSizeAllowedDao
ClusterMinimumSizeAllowed
.
toClusterMinimumSizeAllowedCollection
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.toClusterMinimumSizeAllowedCollection(java.util.Collection)
public final ClusterMinimumSizeAllowed[] toClusterMinimumSizeAllowedArray(java.util.Collection entities)
MinimumSizeAllowedDao
ClusterMinimumSizeAllowed
.
toClusterMinimumSizeAllowedArray
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.toClusterMinimumSizeAllowedArray(java.util.Collection)
protected ClusterMinimumSizeAllowed toClusterMinimumSizeAllowed(java.lang.Object[] row)
MinimumSizeAllowedDaoImpl
class if you intend to use reporting queries.
MinimumSizeAllowedDao.toClusterMinimumSizeAllowed(fr.ifremer.allegro.referential.regulation.MinimumSizeAllowed)
public final void clusterMinimumSizeAllowedToEntityCollection(java.util.Collection instances)
MinimumSizeAllowedDao
ClusterMinimumSizeAllowed
to this
DAO's entity.
clusterMinimumSizeAllowedToEntityCollection
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.clusterMinimumSizeAllowedToEntityCollection(java.util.Collection)
public void toClusterMinimumSizeAllowed(MinimumSizeAllowed source, ClusterMinimumSizeAllowed target)
MinimumSizeAllowedDao
toClusterMinimumSizeAllowed
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.toClusterMinimumSizeAllowed(fr.ifremer.allegro.referential.regulation.MinimumSizeAllowed, fr.ifremer.allegro.referential.regulation.generic.cluster.ClusterMinimumSizeAllowed)
public ClusterMinimumSizeAllowed toClusterMinimumSizeAllowed(MinimumSizeAllowed entity)
MinimumSizeAllowedDao
ClusterMinimumSizeAllowed
.
toClusterMinimumSizeAllowed
in interface MinimumSizeAllowedDao
MinimumSizeAllowedDao.toClusterMinimumSizeAllowed(fr.ifremer.allegro.referential.regulation.MinimumSizeAllowed)
public void clusterMinimumSizeAllowedToEntity(ClusterMinimumSizeAllowed source, MinimumSizeAllowed target, boolean copyIfNull)
MinimumSizeAllowedDao
ClusterMinimumSizeAllowed
to the specified entity.
clusterMinimumSizeAllowedToEntity
in interface MinimumSizeAllowedDao
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.referential.regulation.MinimumSizeAllowedDao#clusterMinimumSizeAllowedToEntity(fr.ifremer.allegro.referential.regulation.generic.cluster.ClusterMinimumSizeAllowed, fr.ifremer.allegro.referential.regulation.MinimumSizeAllowed)
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)
MinimumSizeAllowedDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface MinimumSizeAllowedDao
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.MinimumSizeAllowedDao.search(int, int, int, fr.ifremer.allegro.Search)
public PaginationResult search(int pageNumber, int pageSize, Search search)
MinimumSizeAllowedDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface MinimumSizeAllowedDao
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.MinimumSizeAllowedDao.search(int, int, fr.ifremer.allegro.Search)
public java.util.Set search(int transform, Search search)
MinimumSizeAllowedDao
MinimumSizeAllowedDao.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 MinimumSizeAllowedDao
transform
- the transformation flag.search
- the search object which provides the search parameters and pagination specification.
MinimumSizeAllowedDao.search(int, fr.ifremer.allegro.Search)
public java.util.Set search(Search search)
MinimumSizeAllowedDao
search
object.
search
in interface MinimumSizeAllowedDao
search
- the search object which provides the search parameters and pagination specification.
MinimumSizeAllowedDao.search(fr.ifremer.allegro.Search)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |