|
||||||||||
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.conversion.UnitConversionDaoBase
public abstract class UnitConversionDaoBase
Base Spring DAO Class: is able to create, update, remove, load, and find
objects of type fr.ifremer.allegro.referential.conversion.UnitConversion
.
UnitConversion
Field Summary |
---|
Fields inherited from interface fr.ifremer.allegro.referential.conversion.UnitConversionDao |
---|
TRANSFORM_CLUSTERUNITCONVERSION, TRANSFORM_NONE, TRANSFORM_REMOTEUNITCONVERSIONFULLVO, TRANSFORM_REMOTEUNITCONVERSIONNATURALID |
Constructor Summary | |
---|---|
UnitConversionDaoBase()
|
Method Summary | |
---|---|
void |
clusterUnitConversionToEntity(ClusterUnitConversion source,
UnitConversion target,
boolean copyIfNull)
Copies the fields of ClusterUnitConversion to the specified entity. |
void |
clusterUnitConversionToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type ClusterUnitConversion to this
DAO's entity. |
java.util.Collection |
create(java.util.Collection entities)
Creates a new instance of fr.ifremer.allegro.referential.conversion.UnitConversion and adds from the passed in entities collection |
UnitConversion |
create(java.lang.Float conversionCoefficient,
Unit fromUnit,
Unit toUnit)
Creates a new fr.ifremer.allegro.referential.conversion.UnitConversion
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 UnitConversionDao.create(fr.ifremer.allegro.referential.conversion.UnitConversion) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
java.lang.Float conversionCoefficient,
Unit fromUnit,
Unit toUnit)
Does the same thing as UnitConversionDao.create(java.lang.Float,fr.ifremer.allegro.referential.pmfm.Unit,fr.ifremer.allegro.referential.pmfm.Unit) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
UnitConversion unitConversion)
Does the same thing as UnitConversionDao.create(fr.ifremer.allegro.referential.conversion.UnitConversion) with an
additional flag called transform . |
UnitConversion |
create(UnitConversion unitConversion)
Creates an instance of fr.ifremer.allegro.referential.conversion.UnitConversion and adds it to the persistent store. |
UnitConversion |
createFromClusterUnitConversion(ClusterUnitConversion clusterUnitConversion)
|
java.util.Collection |
findUnitConversionByFromUnit(int transform,
int pageNumber,
int pageSize,
Unit fromUnit)
Does the same thing as UnitConversionDao.findUnitConversionByFromUnit(int, fr.ifremer.allegro.referential.pmfm.Unit) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findUnitConversionByFromUnit(int pageNumber,
int pageSize,
Unit fromUnit)
Does the same thing as UnitConversionDao.findUnitConversionByFromUnit(fr.ifremer.allegro.referential.pmfm.Unit) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findUnitConversionByFromUnit(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
Unit fromUnit)
Does the same thing as UnitConversionDao.findUnitConversionByFromUnit(int, String, fr.ifremer.allegro.referential.pmfm.Unit) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findUnitConversionByFromUnit(int transform,
java.lang.String queryString,
Unit fromUnit)
Does the same thing as UnitConversionDao.findUnitConversionByFromUnit(int, fr.ifremer.allegro.referential.pmfm.Unit) with an
additional argument called queryString . |
java.util.Collection |
findUnitConversionByFromUnit(int transform,
Unit fromUnit)
Does the same thing as UnitConversionDao.findUnitConversionByFromUnit(fr.ifremer.allegro.referential.pmfm.Unit) with an
additional flag called transform . |
java.util.Collection |
findUnitConversionByFromUnit(java.lang.String queryString,
int pageNumber,
int pageSize,
Unit fromUnit)
Does the same thing as UnitConversionDao.findUnitConversionByFromUnit(String, fr.ifremer.allegro.referential.pmfm.Unit) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findUnitConversionByFromUnit(java.lang.String queryString,
Unit fromUnit)
Does the same thing as UnitConversionDao.findUnitConversionByFromUnit(fr.ifremer.allegro.referential.pmfm.Unit) with an
additional argument called queryString . |
java.util.Collection |
findUnitConversionByFromUnit(Unit fromUnit)
|
java.lang.Object |
findUnitConversionByIdentifiers(int transform,
java.lang.String queryString,
Unit fromUnit,
Unit toUnit)
Does the same thing as UnitConversionDao.findUnitConversionByIdentifiers(int, fr.ifremer.allegro.referential.pmfm.Unit, fr.ifremer.allegro.referential.pmfm.Unit) with an
additional argument called queryString . |
java.lang.Object |
findUnitConversionByIdentifiers(int transform,
Unit fromUnit,
Unit toUnit)
Does the same thing as UnitConversionDao.findUnitConversionByIdentifiers(fr.ifremer.allegro.referential.pmfm.Unit, fr.ifremer.allegro.referential.pmfm.Unit) with an
additional flag called transform . |
UnitConversion |
findUnitConversionByIdentifiers(java.lang.String queryString,
Unit fromUnit,
Unit toUnit)
Does the same thing as UnitConversionDao.findUnitConversionByIdentifiers(fr.ifremer.allegro.referential.pmfm.Unit, fr.ifremer.allegro.referential.pmfm.Unit) with an
additional argument called queryString . |
UnitConversion |
findUnitConversionByIdentifiers(Unit fromUnit,
Unit toUnit)
|
java.lang.Object |
findUnitConversionByNaturalId(int transform,
java.lang.String queryString,
Unit fromUnit,
Unit toUnit)
Does the same thing as UnitConversionDao.findUnitConversionByNaturalId(int, fr.ifremer.allegro.referential.pmfm.Unit, fr.ifremer.allegro.referential.pmfm.Unit) with an
additional argument called queryString . |
java.lang.Object |
findUnitConversionByNaturalId(int transform,
Unit fromUnit,
Unit toUnit)
Does the same thing as UnitConversionDao.findUnitConversionByNaturalId(fr.ifremer.allegro.referential.pmfm.Unit, fr.ifremer.allegro.referential.pmfm.Unit) with an
additional flag called transform . |
UnitConversion |
findUnitConversionByNaturalId(java.lang.String queryString,
Unit fromUnit,
Unit toUnit)
Does the same thing as UnitConversionDao.findUnitConversionByNaturalId(fr.ifremer.allegro.referential.pmfm.Unit, fr.ifremer.allegro.referential.pmfm.Unit) with an
additional argument called queryString . |
UnitConversion |
findUnitConversionByNaturalId(Unit fromUnit,
Unit toUnit)
|
java.util.Collection |
findUnitConversionByToUnit(int transform,
int pageNumber,
int pageSize,
Unit toUnit)
Does the same thing as UnitConversionDao.findUnitConversionByToUnit(int, fr.ifremer.allegro.referential.pmfm.Unit) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findUnitConversionByToUnit(int pageNumber,
int pageSize,
Unit toUnit)
Does the same thing as UnitConversionDao.findUnitConversionByToUnit(fr.ifremer.allegro.referential.pmfm.Unit) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findUnitConversionByToUnit(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
Unit toUnit)
Does the same thing as UnitConversionDao.findUnitConversionByToUnit(int, String, fr.ifremer.allegro.referential.pmfm.Unit) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findUnitConversionByToUnit(int transform,
java.lang.String queryString,
Unit toUnit)
Does the same thing as UnitConversionDao.findUnitConversionByToUnit(int, fr.ifremer.allegro.referential.pmfm.Unit) with an
additional argument called queryString . |
java.util.Collection |
findUnitConversionByToUnit(int transform,
Unit toUnit)
Does the same thing as UnitConversionDao.findUnitConversionByToUnit(fr.ifremer.allegro.referential.pmfm.Unit) with an
additional flag called transform . |
java.util.Collection |
findUnitConversionByToUnit(java.lang.String queryString,
int pageNumber,
int pageSize,
Unit toUnit)
Does the same thing as UnitConversionDao.findUnitConversionByToUnit(String, fr.ifremer.allegro.referential.pmfm.Unit) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findUnitConversionByToUnit(java.lang.String queryString,
Unit toUnit)
Does the same thing as UnitConversionDao.findUnitConversionByToUnit(fr.ifremer.allegro.referential.pmfm.Unit) with an
additional argument called queryString . |
java.util.Collection |
findUnitConversionByToUnit(Unit toUnit)
|
ClusterUnitConversion[] |
getAllClusterUnitConversion(java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize)
|
java.util.Collection |
getAllUnitConversion()
|
java.util.Collection |
getAllUnitConversion(int transform)
Does the same thing as UnitConversionDao.getAllUnitConversion() with an
additional flag called transform . |
java.util.Collection |
getAllUnitConversion(int pageNumber,
int pageSize)
Does the same thing as UnitConversionDao.getAllUnitConversion() with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllUnitConversion(int transform,
int pageNumber,
int pageSize)
Does the same thing as UnitConversionDao.getAllUnitConversion(int) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllUnitConversion(int transform,
java.lang.String queryString)
Does the same thing as UnitConversionDao.getAllUnitConversion(int) with an
additional argument called queryString . |
java.util.Collection |
getAllUnitConversion(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as UnitConversionDao.getAllUnitConversion(int, String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllUnitConversion(java.lang.String queryString)
Does the same thing as UnitConversionDao.getAllUnitConversion() with an
additional argument called queryString . |
java.util.Collection |
getAllUnitConversion(java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as UnitConversionDao.getAllUnitConversion(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 UnitDao |
getUnitDao()
Gets the reference to unitDao . |
protected abstract UnitConversion |
handleCreateFromClusterUnitConversion(ClusterUnitConversion clusterUnitConversion)
Performs the core logic for createFromClusterUnitConversion(fr.ifremer.allegro.referential.conversion.generic.cluster.ClusterUnitConversion) |
protected abstract ClusterUnitConversion[] |
handleGetAllClusterUnitConversion(java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize)
Performs the core logic for getAllClusterUnitConversion(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer) |
java.lang.Object |
load(int transform,
Unit fromUnit,
Unit toUnit)
Does the same thing as UnitConversionDao.load(fr.ifremer.allegro.referential.pmfm.Unit,fr.ifremer.allegro.referential.pmfm.Unit) with an
additional flag called transform . |
UnitConversion |
load(Unit fromUnit,
Unit toUnit)
Loads an instance of fr.ifremer.allegro.referential.conversion.UnitConversion from the persistent store. |
java.util.Collection |
loadAll()
Loads all entities of type UnitConversion . |
java.util.Collection |
loadAll(int transform)
Does the same thing as UnitConversionDao.loadAll() with an
additional flag called transform . |
java.util.Collection |
loadAll(int pageNumber,
int pageSize)
Does the same thing as UnitConversionDao.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 UnitConversionDao.loadAll(int) with an
additional two arguments called pageNumber and pageSize . |
void |
remoteUnitConversionFullVOToEntity(RemoteUnitConversionFullVO source,
UnitConversion target,
boolean copyIfNull)
Copies the fields of RemoteUnitConversionFullVO to the specified entity. |
void |
remoteUnitConversionFullVOToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteUnitConversionFullVO to this
DAO's entity. |
void |
remoteUnitConversionNaturalIdToEntity(RemoteUnitConversionNaturalId source,
UnitConversion target,
boolean copyIfNull)
Copies the fields of RemoteUnitConversionNaturalId to the specified entity. |
void |
remoteUnitConversionNaturalIdToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteUnitConversionNaturalId to this
DAO's entity. |
void |
remove(java.util.Collection entities)
Removes all entities in the given entities |
void |
remove(UnitConversion unitConversion)
Removes the instance of fr.ifremer.allegro.referential.conversion.UnitConversion from the persistent store. |
void |
remove(Unit fromUnit,
Unit toUnit)
Removes the instance of fr.ifremer.allegro.referential.conversion.UnitConversion 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 UnitConversionDao.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 |
setUnitDao(UnitDao unitDao)
Sets the reference to unitDao . |
protected ClusterUnitConversion |
toClusterUnitConversion(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
ClusterUnitConversion |
toClusterUnitConversion(UnitConversion entity)
Converts this DAO's entity to an object of type ClusterUnitConversion . |
void |
toClusterUnitConversion(UnitConversion source,
ClusterUnitConversion target)
Copies the fields of the specified entity to the target value object. |
ClusterUnitConversion[] |
toClusterUnitConversionArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type ClusterUnitConversion . |
void |
toClusterUnitConversionCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type ClusterUnitConversion . |
protected UnitConversion |
toEntity(java.lang.Object[] row)
|
protected RemoteUnitConversionFullVO |
toRemoteUnitConversionFullVO(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteUnitConversionFullVO |
toRemoteUnitConversionFullVO(UnitConversion entity)
Converts this DAO's entity to an object of type RemoteUnitConversionFullVO . |
void |
toRemoteUnitConversionFullVO(UnitConversion source,
RemoteUnitConversionFullVO target)
Copies the fields of the specified entity to the target value object. |
RemoteUnitConversionFullVO[] |
toRemoteUnitConversionFullVOArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteUnitConversionFullVO . |
void |
toRemoteUnitConversionFullVOCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteUnitConversionFullVO . |
protected RemoteUnitConversionNaturalId |
toRemoteUnitConversionNaturalId(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteUnitConversionNaturalId |
toRemoteUnitConversionNaturalId(UnitConversion entity)
Converts this DAO's entity to an object of type RemoteUnitConversionNaturalId . |
void |
toRemoteUnitConversionNaturalId(UnitConversion source,
RemoteUnitConversionNaturalId target)
Copies the fields of the specified entity to the target value object. |
RemoteUnitConversionNaturalId[] |
toRemoteUnitConversionNaturalIdArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteUnitConversionNaturalId . |
void |
toRemoteUnitConversionNaturalIdCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteUnitConversionNaturalId . |
protected void |
transformEntities(int transform,
java.util.Collection entities)
Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.conversion.UnitConversion)
method. |
protected java.lang.Object |
transformEntity(int transform,
UnitConversion 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.conversion.UnitConversionDao , please note
that the UnitConversionDao.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(UnitConversion unitConversion)
Updates the unitConversion 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.conversion.UnitConversionDao |
---|
clusterUnitConversionToEntity, remoteUnitConversionFullVOToEntity, remoteUnitConversionNaturalIdToEntity |
Constructor Detail |
---|
public UnitConversionDaoBase()
Method Detail |
---|
public void setUnitDao(UnitDao unitDao)
unitDao
.
protected UnitDao getUnitDao()
unitDao
.
public java.lang.Object load(int transform, Unit fromUnit, Unit toUnit)
UnitConversionDao
Does the same thing as UnitConversionDao.load(fr.ifremer.allegro.referential.pmfm.Unit,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 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 UnitConversionDao
fromUnit
- identifier of the entity to loadtoUnit
- identifier of the entity to load
UnitConversionDao.load(int, fr.ifremer.allegro.referential.pmfm.Unit,fr.ifremer.allegro.referential.pmfm.Unit)
public UnitConversion load(Unit fromUnit, Unit toUnit)
UnitConversionDao
load
in interface UnitConversionDao
UnitConversionDao.load(fr.ifremer.allegro.referential.pmfm.Unit,fr.ifremer.allegro.referential.pmfm.Unit)
public java.util.Collection loadAll()
UnitConversionDao
UnitConversion
.
loadAll
in interface UnitConversionDao
UnitConversionDao.loadAll()
public java.util.Collection loadAll(int transform)
UnitConversionDao
Does the same thing as UnitConversionDao.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 UnitConversionDao
transform
- the flag indicating what transformation to use.
UnitConversionDao.loadAll(int)
public java.util.Collection loadAll(int pageNumber, int pageSize)
UnitConversionDao
Does the same thing as UnitConversionDao.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 UnitConversionDao
pageNumber
- the page number to retrieve when paging results.pageSize
- the size of the page to retrieve when paging results.
UnitConversionDao.loadAll(int, int)
public java.util.Collection loadAll(int transform, int pageNumber, int pageSize)
UnitConversionDao
Does the same thing as UnitConversionDao.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 UnitConversionDao
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.
UnitConversionDao.loadAll(int, int, int)
public UnitConversion create(UnitConversion unitConversion)
UnitConversionDao
create
in interface UnitConversionDao
UnitConversionDao.create(fr.ifremer.allegro.referential.conversion.UnitConversion)
public java.lang.Object create(int transform, UnitConversion unitConversion)
UnitConversionDao
Does the same thing as UnitConversionDao.create(fr.ifremer.allegro.referential.conversion.UnitConversion)
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 UnitConversionDao
UnitConversionDao.create(int transform, fr.ifremer.allegro.referential.conversion.UnitConversion)
public java.util.Collection create(java.util.Collection entities)
UnitConversionDao
entities
collection
create
in interface UnitConversionDao
entities
- the collection of fr.ifremer.allegro.referential.conversion.UnitConversion
instances to create.
UnitConversionDao.create(java.util.Collection)
public java.util.Collection create(int transform, java.util.Collection entities)
UnitConversionDao
Does the same thing as UnitConversionDao.create(fr.ifremer.allegro.referential.conversion.UnitConversion)
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 UnitConversionDao
UnitConversionDao.create(int, java.util.Collection)
public UnitConversion create(java.lang.Float conversionCoefficient, Unit fromUnit, Unit toUnit)
UnitConversionDao
Creates a new fr.ifremer.allegro.referential.conversion.UnitConversion
instance from all attributes and
properties and adds it to the persistent store.
create
in interface UnitConversionDao
UnitConversionDao.create(java.lang.Float,fr.ifremer.allegro.referential.pmfm.Unit,fr.ifremer.allegro.referential.pmfm.Unit)
public java.lang.Object create(int transform, java.lang.Float conversionCoefficient, Unit fromUnit, Unit toUnit)
UnitConversionDao
Does the same thing as UnitConversionDao.create(java.lang.Float,fr.ifremer.allegro.referential.pmfm.Unit,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 UnitConversionDao
UnitConversionDao.create(int, java.lang.Float,fr.ifremer.allegro.referential.pmfm.Unit,fr.ifremer.allegro.referential.pmfm.Unit)
public void update(UnitConversion unitConversion)
UnitConversionDao
unitConversion
instance in the persistent store.
update
in interface UnitConversionDao
UnitConversionDao.update(fr.ifremer.allegro.referential.conversion.UnitConversion)
public void update(java.util.Collection entities)
UnitConversionDao
entities
collection in the persistent store.
update
in interface UnitConversionDao
UnitConversionDao.update(java.util.Collection)
public void remove(UnitConversion unitConversion)
UnitConversionDao
remove
in interface UnitConversionDao
UnitConversionDao.remove(fr.ifremer.allegro.referential.conversion.UnitConversion)
public void remove(Unit fromUnit, Unit toUnit)
UnitConversionDao
identifiers
from the persistent store.
remove
in interface UnitConversionDao
UnitConversionDao.remove(fr.ifremer.allegro.referential.pmfm.Unit,fr.ifremer.allegro.referential.pmfm.Unit)
public void remove(java.util.Collection entities)
UnitConversionDao
entities collection.
- Specified by:
remove
in interface UnitConversionDao
- See Also:
UnitConversionDao.remove(java.util.Collection)
public java.util.Collection getAllUnitConversion()
getAllUnitConversion
in interface UnitConversionDao
UnitConversionDao.getAllUnitConversion()
public java.util.Collection getAllUnitConversion(int transform)
UnitConversionDao
Does the same thing as UnitConversionDao.getAllUnitConversion()
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.
getAllUnitConversion
in interface UnitConversionDao
UnitConversionDao.getAllUnitConversion(int)
public java.util.Collection getAllUnitConversion(java.lang.String queryString)
UnitConversionDao
Does the same thing as UnitConversionDao.getAllUnitConversion()
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in UnitConversionDao.getAllUnitConversion()
.
getAllUnitConversion
in interface UnitConversionDao
UnitConversionDao.getAllUnitConversion(java.lang.String)
public java.util.Collection getAllUnitConversion(int pageNumber, int pageSize)
UnitConversionDao
Does the same thing as UnitConversionDao.getAllUnitConversion()
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.
getAllUnitConversion
in interface UnitConversionDao
UnitConversionDao.getAllUnitConversion(int, int)
public java.util.Collection getAllUnitConversion(java.lang.String queryString, int pageNumber, int pageSize)
UnitConversionDao
Does the same thing as UnitConversionDao.getAllUnitConversion(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.
getAllUnitConversion
in interface UnitConversionDao
UnitConversionDao.getAllUnitConversion(String, int, int)
public java.util.Collection getAllUnitConversion(int transform, java.lang.String queryString)
UnitConversionDao
Does the same thing as UnitConversionDao.getAllUnitConversion(int)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in UnitConversionDao.getAllUnitConversion(int)
.
getAllUnitConversion
in interface UnitConversionDao
UnitConversionDao.getAllUnitConversion(int, String)
public java.util.Collection getAllUnitConversion(int transform, int pageNumber, int pageSize)
UnitConversionDao
Does the same thing as UnitConversionDao.getAllUnitConversion(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.
getAllUnitConversion
in interface UnitConversionDao
UnitConversionDao.getAllUnitConversion(int, int, int)
public java.util.Collection getAllUnitConversion(int transform, java.lang.String queryString, int pageNumber, int pageSize)
UnitConversionDao
Does the same thing as UnitConversionDao.getAllUnitConversion(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.
getAllUnitConversion
in interface UnitConversionDao
UnitConversionDao.getAllUnitConversion(int, java.lang.String, int, int)
public java.util.Collection findUnitConversionByFromUnit(Unit fromUnit)
findUnitConversionByFromUnit
in interface UnitConversionDao
UnitConversionDao.findUnitConversionByFromUnit(fr.ifremer.allegro.referential.pmfm.Unit)
public java.util.Collection findUnitConversionByFromUnit(int transform, Unit fromUnit)
UnitConversionDao
Does the same thing as UnitConversionDao.findUnitConversionByFromUnit(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.
findUnitConversionByFromUnit
in interface UnitConversionDao
UnitConversionDao.findUnitConversionByFromUnit(int, fr.ifremer.allegro.referential.pmfm.Unit)
public java.util.Collection findUnitConversionByFromUnit(java.lang.String queryString, Unit fromUnit)
UnitConversionDao
Does the same thing as UnitConversionDao.findUnitConversionByFromUnit(fr.ifremer.allegro.referential.pmfm.Unit)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in UnitConversionDao.findUnitConversionByFromUnit(fr.ifremer.allegro.referential.pmfm.Unit)
.
findUnitConversionByFromUnit
in interface UnitConversionDao
UnitConversionDao.findUnitConversionByFromUnit(java.lang.String, fr.ifremer.allegro.referential.pmfm.Unit)
public java.util.Collection findUnitConversionByFromUnit(int pageNumber, int pageSize, Unit fromUnit)
UnitConversionDao
Does the same thing as UnitConversionDao.findUnitConversionByFromUnit(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.
findUnitConversionByFromUnit
in interface UnitConversionDao
UnitConversionDao.findUnitConversionByFromUnit(int, int, fr.ifremer.allegro.referential.pmfm.Unit)
public java.util.Collection findUnitConversionByFromUnit(java.lang.String queryString, int pageNumber, int pageSize, Unit fromUnit)
UnitConversionDao
Does the same thing as UnitConversionDao.findUnitConversionByFromUnit(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.
findUnitConversionByFromUnit
in interface UnitConversionDao
UnitConversionDao.findUnitConversionByFromUnit(String, int, int, fr.ifremer.allegro.referential.pmfm.Unit)
public java.util.Collection findUnitConversionByFromUnit(int transform, java.lang.String queryString, Unit fromUnit)
UnitConversionDao
Does the same thing as UnitConversionDao.findUnitConversionByFromUnit(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 UnitConversionDao.findUnitConversionByFromUnit(int, fr.ifremer.allegro.referential.pmfm.Unit fromUnit)
.
findUnitConversionByFromUnit
in interface UnitConversionDao
UnitConversionDao.findUnitConversionByFromUnit(int, String, fr.ifremer.allegro.referential.pmfm.Unit)
public java.util.Collection findUnitConversionByFromUnit(int transform, int pageNumber, int pageSize, Unit fromUnit)
UnitConversionDao
Does the same thing as UnitConversionDao.findUnitConversionByFromUnit(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.
findUnitConversionByFromUnit
in interface UnitConversionDao
UnitConversionDao.findUnitConversionByFromUnit(int, int, int, fr.ifremer.allegro.referential.pmfm.Unit)
public java.util.Collection findUnitConversionByFromUnit(int transform, java.lang.String queryString, int pageNumber, int pageSize, Unit fromUnit)
UnitConversionDao
Does the same thing as UnitConversionDao.findUnitConversionByFromUnit(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.
findUnitConversionByFromUnit
in interface UnitConversionDao
UnitConversionDao.findUnitConversionByFromUnit(int, java.lang.String, int, int, fr.ifremer.allegro.referential.pmfm.Unit)
public java.util.Collection findUnitConversionByToUnit(Unit toUnit)
findUnitConversionByToUnit
in interface UnitConversionDao
UnitConversionDao.findUnitConversionByToUnit(fr.ifremer.allegro.referential.pmfm.Unit)
public java.util.Collection findUnitConversionByToUnit(int transform, Unit toUnit)
UnitConversionDao
Does the same thing as UnitConversionDao.findUnitConversionByToUnit(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.
findUnitConversionByToUnit
in interface UnitConversionDao
UnitConversionDao.findUnitConversionByToUnit(int, fr.ifremer.allegro.referential.pmfm.Unit)
public java.util.Collection findUnitConversionByToUnit(java.lang.String queryString, Unit toUnit)
UnitConversionDao
Does the same thing as UnitConversionDao.findUnitConversionByToUnit(fr.ifremer.allegro.referential.pmfm.Unit)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in UnitConversionDao.findUnitConversionByToUnit(fr.ifremer.allegro.referential.pmfm.Unit)
.
findUnitConversionByToUnit
in interface UnitConversionDao
UnitConversionDao.findUnitConversionByToUnit(java.lang.String, fr.ifremer.allegro.referential.pmfm.Unit)
public java.util.Collection findUnitConversionByToUnit(int pageNumber, int pageSize, Unit toUnit)
UnitConversionDao
Does the same thing as UnitConversionDao.findUnitConversionByToUnit(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.
findUnitConversionByToUnit
in interface UnitConversionDao
UnitConversionDao.findUnitConversionByToUnit(int, int, fr.ifremer.allegro.referential.pmfm.Unit)
public java.util.Collection findUnitConversionByToUnit(java.lang.String queryString, int pageNumber, int pageSize, Unit toUnit)
UnitConversionDao
Does the same thing as UnitConversionDao.findUnitConversionByToUnit(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.
findUnitConversionByToUnit
in interface UnitConversionDao
UnitConversionDao.findUnitConversionByToUnit(String, int, int, fr.ifremer.allegro.referential.pmfm.Unit)
public java.util.Collection findUnitConversionByToUnit(int transform, java.lang.String queryString, Unit toUnit)
UnitConversionDao
Does the same thing as UnitConversionDao.findUnitConversionByToUnit(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 UnitConversionDao.findUnitConversionByToUnit(int, fr.ifremer.allegro.referential.pmfm.Unit toUnit)
.
findUnitConversionByToUnit
in interface UnitConversionDao
UnitConversionDao.findUnitConversionByToUnit(int, String, fr.ifremer.allegro.referential.pmfm.Unit)
public java.util.Collection findUnitConversionByToUnit(int transform, int pageNumber, int pageSize, Unit toUnit)
UnitConversionDao
Does the same thing as UnitConversionDao.findUnitConversionByToUnit(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.
findUnitConversionByToUnit
in interface UnitConversionDao
UnitConversionDao.findUnitConversionByToUnit(int, int, int, fr.ifremer.allegro.referential.pmfm.Unit)
public java.util.Collection findUnitConversionByToUnit(int transform, java.lang.String queryString, int pageNumber, int pageSize, Unit toUnit)
UnitConversionDao
Does the same thing as UnitConversionDao.findUnitConversionByToUnit(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.
findUnitConversionByToUnit
in interface UnitConversionDao
UnitConversionDao.findUnitConversionByToUnit(int, java.lang.String, int, int, fr.ifremer.allegro.referential.pmfm.Unit)
public UnitConversion findUnitConversionByIdentifiers(Unit fromUnit, Unit toUnit)
findUnitConversionByIdentifiers
in interface UnitConversionDao
UnitConversionDao.findUnitConversionByIdentifiers(fr.ifremer.allegro.referential.pmfm.Unit, fr.ifremer.allegro.referential.pmfm.Unit)
public java.lang.Object findUnitConversionByIdentifiers(int transform, Unit fromUnit, Unit toUnit)
UnitConversionDao
Does the same thing as UnitConversionDao.findUnitConversionByIdentifiers(fr.ifremer.allegro.referential.pmfm.Unit, 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.
findUnitConversionByIdentifiers
in interface UnitConversionDao
UnitConversionDao.findUnitConversionByIdentifiers(int, fr.ifremer.allegro.referential.pmfm.Unit, fr.ifremer.allegro.referential.pmfm.Unit)
public UnitConversion findUnitConversionByIdentifiers(java.lang.String queryString, Unit fromUnit, Unit toUnit)
UnitConversionDao
Does the same thing as UnitConversionDao.findUnitConversionByIdentifiers(fr.ifremer.allegro.referential.pmfm.Unit, fr.ifremer.allegro.referential.pmfm.Unit)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in UnitConversionDao.findUnitConversionByIdentifiers(fr.ifremer.allegro.referential.pmfm.Unit, fr.ifremer.allegro.referential.pmfm.Unit)
.
findUnitConversionByIdentifiers
in interface UnitConversionDao
UnitConversionDao.findUnitConversionByIdentifiers(java.lang.String, fr.ifremer.allegro.referential.pmfm.Unit, fr.ifremer.allegro.referential.pmfm.Unit)
public java.lang.Object findUnitConversionByIdentifiers(int transform, java.lang.String queryString, Unit fromUnit, Unit toUnit)
UnitConversionDao
Does the same thing as UnitConversionDao.findUnitConversionByIdentifiers(int, fr.ifremer.allegro.referential.pmfm.Unit, fr.ifremer.allegro.referential.pmfm.Unit)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in UnitConversionDao.findUnitConversionByIdentifiers(int, fr.ifremer.allegro.referential.pmfm.Unit fromUnit, fr.ifremer.allegro.referential.pmfm.Unit toUnit)
.
findUnitConversionByIdentifiers
in interface UnitConversionDao
UnitConversionDao.findUnitConversionByIdentifiers(int, java.lang.String, fr.ifremer.allegro.referential.pmfm.Unit, fr.ifremer.allegro.referential.pmfm.Unit)
public UnitConversion findUnitConversionByNaturalId(Unit fromUnit, Unit toUnit)
findUnitConversionByNaturalId
in interface UnitConversionDao
UnitConversionDao.findUnitConversionByNaturalId(fr.ifremer.allegro.referential.pmfm.Unit, fr.ifremer.allegro.referential.pmfm.Unit)
public java.lang.Object findUnitConversionByNaturalId(int transform, Unit fromUnit, Unit toUnit)
UnitConversionDao
Does the same thing as UnitConversionDao.findUnitConversionByNaturalId(fr.ifremer.allegro.referential.pmfm.Unit, 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.
findUnitConversionByNaturalId
in interface UnitConversionDao
UnitConversionDao.findUnitConversionByNaturalId(int, fr.ifremer.allegro.referential.pmfm.Unit, fr.ifremer.allegro.referential.pmfm.Unit)
public UnitConversion findUnitConversionByNaturalId(java.lang.String queryString, Unit fromUnit, Unit toUnit)
UnitConversionDao
Does the same thing as UnitConversionDao.findUnitConversionByNaturalId(fr.ifremer.allegro.referential.pmfm.Unit, fr.ifremer.allegro.referential.pmfm.Unit)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in UnitConversionDao.findUnitConversionByNaturalId(fr.ifremer.allegro.referential.pmfm.Unit, fr.ifremer.allegro.referential.pmfm.Unit)
.
findUnitConversionByNaturalId
in interface UnitConversionDao
UnitConversionDao.findUnitConversionByNaturalId(java.lang.String, fr.ifremer.allegro.referential.pmfm.Unit, fr.ifremer.allegro.referential.pmfm.Unit)
public java.lang.Object findUnitConversionByNaturalId(int transform, java.lang.String queryString, Unit fromUnit, Unit toUnit)
UnitConversionDao
Does the same thing as UnitConversionDao.findUnitConversionByNaturalId(int, fr.ifremer.allegro.referential.pmfm.Unit, fr.ifremer.allegro.referential.pmfm.Unit)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in UnitConversionDao.findUnitConversionByNaturalId(int, fr.ifremer.allegro.referential.pmfm.Unit fromUnit, fr.ifremer.allegro.referential.pmfm.Unit toUnit)
.
findUnitConversionByNaturalId
in interface UnitConversionDao
UnitConversionDao.findUnitConversionByNaturalId(int, java.lang.String, fr.ifremer.allegro.referential.pmfm.Unit, fr.ifremer.allegro.referential.pmfm.Unit)
public UnitConversion createFromClusterUnitConversion(ClusterUnitConversion clusterUnitConversion)
createFromClusterUnitConversion
in interface UnitConversionDao
UnitConversionDao.createFromClusterUnitConversion(fr.ifremer.allegro.referential.conversion.generic.cluster.ClusterUnitConversion)
protected abstract UnitConversion handleCreateFromClusterUnitConversion(ClusterUnitConversion clusterUnitConversion) throws java.lang.Exception
createFromClusterUnitConversion(fr.ifremer.allegro.referential.conversion.generic.cluster.ClusterUnitConversion)
java.lang.Exception
public ClusterUnitConversion[] getAllClusterUnitConversion(java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
getAllClusterUnitConversion
in interface UnitConversionDao
UnitConversionDao.getAllClusterUnitConversion(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected abstract ClusterUnitConversion[] handleGetAllClusterUnitConversion(java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize) throws java.lang.Exception
getAllClusterUnitConversion(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
java.lang.Exception
protected java.lang.Object transformEntity(int transform, UnitConversion entity)
transform
flag is set to one of the constants defined in fr.ifremer.allegro.referential.conversion.UnitConversionDao
, please note
that the UnitConversionDao.TRANSFORM_NONE
constant denotes no transformation, so the entity itself
will be returned.
This method will return instances of these types:
UnitConversion
- UnitConversionDao.TRANSFORM_NONE
RemoteUnitConversionFullVO
- TRANSFORM_REMOTEUNITCONVERSIONFULLVO
RemoteUnitConversionNaturalId
- TRANSFORM_REMOTEUNITCONVERSIONNATURALID
ClusterUnitConversion
- TRANSFORM_CLUSTERUNITCONVERSION
UnitConversionDao.TRANSFORM_NONE
is assumed.
transform
- one of the constants declared in UnitConversionDao
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.conversion.UnitConversion)
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.conversion.UnitConversionDao
entities
- the collection of entities to transformtransformEntity(int,fr.ifremer.allegro.referential.conversion.UnitConversion)
protected UnitConversion toEntity(java.lang.Object[] row)
public final void toRemoteUnitConversionFullVOCollection(java.util.Collection entities)
UnitConversionDao
RemoteUnitConversionFullVO
.
toRemoteUnitConversionFullVOCollection
in interface UnitConversionDao
UnitConversionDao.toRemoteUnitConversionFullVOCollection(java.util.Collection)
public final RemoteUnitConversionFullVO[] toRemoteUnitConversionFullVOArray(java.util.Collection entities)
UnitConversionDao
RemoteUnitConversionFullVO
.
toRemoteUnitConversionFullVOArray
in interface UnitConversionDao
UnitConversionDao.toRemoteUnitConversionFullVOArray(java.util.Collection)
protected RemoteUnitConversionFullVO toRemoteUnitConversionFullVO(java.lang.Object[] row)
UnitConversionDaoImpl
class if you intend to use reporting queries.
UnitConversionDao.toRemoteUnitConversionFullVO(fr.ifremer.allegro.referential.conversion.UnitConversion)
public final void remoteUnitConversionFullVOToEntityCollection(java.util.Collection instances)
UnitConversionDao
RemoteUnitConversionFullVO
to this
DAO's entity.
remoteUnitConversionFullVOToEntityCollection
in interface UnitConversionDao
UnitConversionDao.remoteUnitConversionFullVOToEntityCollection(java.util.Collection)
public void toRemoteUnitConversionFullVO(UnitConversion source, RemoteUnitConversionFullVO target)
UnitConversionDao
toRemoteUnitConversionFullVO
in interface UnitConversionDao
UnitConversionDao.toRemoteUnitConversionFullVO(fr.ifremer.allegro.referential.conversion.UnitConversion, fr.ifremer.allegro.referential.conversion.generic.vo.RemoteUnitConversionFullVO)
public RemoteUnitConversionFullVO toRemoteUnitConversionFullVO(UnitConversion entity)
UnitConversionDao
RemoteUnitConversionFullVO
.
toRemoteUnitConversionFullVO
in interface UnitConversionDao
UnitConversionDao.toRemoteUnitConversionFullVO(fr.ifremer.allegro.referential.conversion.UnitConversion)
public void remoteUnitConversionFullVOToEntity(RemoteUnitConversionFullVO source, UnitConversion target, boolean copyIfNull)
UnitConversionDao
RemoteUnitConversionFullVO
to the specified entity.
remoteUnitConversionFullVOToEntity
in interface UnitConversionDao
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.conversion.UnitConversionDao#remoteUnitConversionFullVOToEntity(fr.ifremer.allegro.referential.conversion.generic.vo.RemoteUnitConversionFullVO, fr.ifremer.allegro.referential.conversion.UnitConversion)
public final void toRemoteUnitConversionNaturalIdCollection(java.util.Collection entities)
UnitConversionDao
RemoteUnitConversionNaturalId
.
toRemoteUnitConversionNaturalIdCollection
in interface UnitConversionDao
UnitConversionDao.toRemoteUnitConversionNaturalIdCollection(java.util.Collection)
public final RemoteUnitConversionNaturalId[] toRemoteUnitConversionNaturalIdArray(java.util.Collection entities)
UnitConversionDao
RemoteUnitConversionNaturalId
.
toRemoteUnitConversionNaturalIdArray
in interface UnitConversionDao
UnitConversionDao.toRemoteUnitConversionNaturalIdArray(java.util.Collection)
protected RemoteUnitConversionNaturalId toRemoteUnitConversionNaturalId(java.lang.Object[] row)
UnitConversionDaoImpl
class if you intend to use reporting queries.
UnitConversionDao.toRemoteUnitConversionNaturalId(fr.ifremer.allegro.referential.conversion.UnitConversion)
public final void remoteUnitConversionNaturalIdToEntityCollection(java.util.Collection instances)
UnitConversionDao
RemoteUnitConversionNaturalId
to this
DAO's entity.
remoteUnitConversionNaturalIdToEntityCollection
in interface UnitConversionDao
UnitConversionDao.remoteUnitConversionNaturalIdToEntityCollection(java.util.Collection)
public void toRemoteUnitConversionNaturalId(UnitConversion source, RemoteUnitConversionNaturalId target)
UnitConversionDao
toRemoteUnitConversionNaturalId
in interface UnitConversionDao
UnitConversionDao.toRemoteUnitConversionNaturalId(fr.ifremer.allegro.referential.conversion.UnitConversion, fr.ifremer.allegro.referential.conversion.generic.vo.RemoteUnitConversionNaturalId)
public RemoteUnitConversionNaturalId toRemoteUnitConversionNaturalId(UnitConversion entity)
UnitConversionDao
RemoteUnitConversionNaturalId
.
toRemoteUnitConversionNaturalId
in interface UnitConversionDao
UnitConversionDao.toRemoteUnitConversionNaturalId(fr.ifremer.allegro.referential.conversion.UnitConversion)
public void remoteUnitConversionNaturalIdToEntity(RemoteUnitConversionNaturalId source, UnitConversion target, boolean copyIfNull)
UnitConversionDao
RemoteUnitConversionNaturalId
to the specified entity.
remoteUnitConversionNaturalIdToEntity
in interface UnitConversionDao
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.conversion.UnitConversionDao#remoteUnitConversionNaturalIdToEntity(fr.ifremer.allegro.referential.conversion.generic.vo.RemoteUnitConversionNaturalId, fr.ifremer.allegro.referential.conversion.UnitConversion)
public final void toClusterUnitConversionCollection(java.util.Collection entities)
UnitConversionDao
ClusterUnitConversion
.
toClusterUnitConversionCollection
in interface UnitConversionDao
UnitConversionDao.toClusterUnitConversionCollection(java.util.Collection)
public final ClusterUnitConversion[] toClusterUnitConversionArray(java.util.Collection entities)
UnitConversionDao
ClusterUnitConversion
.
toClusterUnitConversionArray
in interface UnitConversionDao
UnitConversionDao.toClusterUnitConversionArray(java.util.Collection)
protected ClusterUnitConversion toClusterUnitConversion(java.lang.Object[] row)
UnitConversionDaoImpl
class if you intend to use reporting queries.
UnitConversionDao.toClusterUnitConversion(fr.ifremer.allegro.referential.conversion.UnitConversion)
public final void clusterUnitConversionToEntityCollection(java.util.Collection instances)
UnitConversionDao
ClusterUnitConversion
to this
DAO's entity.
clusterUnitConversionToEntityCollection
in interface UnitConversionDao
UnitConversionDao.clusterUnitConversionToEntityCollection(java.util.Collection)
public void toClusterUnitConversion(UnitConversion source, ClusterUnitConversion target)
UnitConversionDao
toClusterUnitConversion
in interface UnitConversionDao
UnitConversionDao.toClusterUnitConversion(fr.ifremer.allegro.referential.conversion.UnitConversion, fr.ifremer.allegro.referential.conversion.generic.cluster.ClusterUnitConversion)
public ClusterUnitConversion toClusterUnitConversion(UnitConversion entity)
UnitConversionDao
ClusterUnitConversion
.
toClusterUnitConversion
in interface UnitConversionDao
UnitConversionDao.toClusterUnitConversion(fr.ifremer.allegro.referential.conversion.UnitConversion)
public void clusterUnitConversionToEntity(ClusterUnitConversion source, UnitConversion target, boolean copyIfNull)
UnitConversionDao
ClusterUnitConversion
to the specified entity.
clusterUnitConversionToEntity
in interface UnitConversionDao
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.conversion.UnitConversionDao#clusterUnitConversionToEntity(fr.ifremer.allegro.referential.conversion.generic.cluster.ClusterUnitConversion, fr.ifremer.allegro.referential.conversion.UnitConversion)
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)
UnitConversionDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface UnitConversionDao
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.UnitConversionDao.search(int, int, int, fr.ifremer.allegro.Search)
public PaginationResult search(int pageNumber, int pageSize, Search search)
UnitConversionDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface UnitConversionDao
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.UnitConversionDao.search(int, int, fr.ifremer.allegro.Search)
public java.util.Set search(int transform, Search search)
UnitConversionDao
UnitConversionDao.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 UnitConversionDao
transform
- the transformation flag.search
- the search object which provides the search parameters and pagination specification.
UnitConversionDao.search(int, fr.ifremer.allegro.Search)
public java.util.Set search(Search search)
UnitConversionDao
search
object.
search
in interface UnitConversionDao
search
- the search object which provides the search parameters and pagination specification.
UnitConversionDao.search(fr.ifremer.allegro.Search)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |