|
||||||||||
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.location.LocationLevelDaoBase
public abstract class LocationLevelDaoBase
Base Spring DAO Class: is able to create, update, remove, load, and find
objects of type fr.ifremer.allegro.referential.location.LocationLevel
.
LocationLevel
Field Summary |
---|
Fields inherited from interface fr.ifremer.allegro.referential.location.LocationLevelDao |
---|
TRANSFORM_CLUSTERLOCATIONLEVEL, TRANSFORM_NONE, TRANSFORM_REMOTELOCATIONLEVELFULLVO, TRANSFORM_REMOTELOCATIONLEVELNATURALID |
Constructor Summary | |
---|---|
LocationLevelDaoBase()
|
Method Summary | |
---|---|
void |
clusterLocationLevelToEntity(ClusterLocationLevel source,
LocationLevel target,
boolean copyIfNull)
Copies the fields of ClusterLocationLevel to the specified entity. |
void |
clusterLocationLevelToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type ClusterLocationLevel to this
DAO's entity. |
java.util.Collection |
create(java.util.Collection entities)
Creates a new instance of fr.ifremer.allegro.referential.location.LocationLevel and adds from the passed in entities collection |
java.util.Collection |
create(int transform,
java.util.Collection entities)
Does the same thing as LocationLevelDao.create(fr.ifremer.allegro.referential.location.LocationLevel) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
LocationClassification locationClassification,
java.lang.String name)
Does the same thing as LocationLevelDao.create(fr.ifremer.allegro.referential.location.LocationClassification,java.lang.String) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
LocationLevel locationLevel)
Does the same thing as LocationLevelDao.create(fr.ifremer.allegro.referential.location.LocationLevel) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
java.lang.String name,
java.sql.Timestamp updateDate,
java.util.Collection locationLevels,
LocationLevel parentLocationLevel,
LocationClassification locationClassification)
Does the same thing as LocationLevelDao.create(java.lang.String,java.sql.Timestamp,java.util.Collection,fr.ifremer.allegro.referential.location.LocationLevel,fr.ifremer.allegro.referential.location.LocationClassification) with an
additional flag called transform . |
LocationLevel |
create(LocationClassification locationClassification,
java.lang.String name)
Creates a new fr.ifremer.allegro.referential.location.LocationLevel
instance from only required properties (attributes
and association ends) and adds it to the persistent store. |
LocationLevel |
create(LocationLevel locationLevel)
Creates an instance of fr.ifremer.allegro.referential.location.LocationLevel and adds it to the persistent store. |
LocationLevel |
create(java.lang.String name,
java.sql.Timestamp updateDate,
java.util.Collection locationLevels,
LocationLevel parentLocationLevel,
LocationClassification locationClassification)
Creates a new fr.ifremer.allegro.referential.location.LocationLevel
instance from all attributes and
properties and adds it to the persistent store. |
LocationLevel |
createFromClusterLocationLevel(ClusterLocationLevel clusterLocationLevel)
|
LocationLevel |
findLocationLevelById(java.lang.Integer id)
|
java.lang.Object |
findLocationLevelById(int transform,
java.lang.Integer id)
Does the same thing as LocationLevelDao.findLocationLevelById(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findLocationLevelById(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as LocationLevelDao.findLocationLevelById(int, java.lang.Integer) with an
additional argument called queryString . |
LocationLevel |
findLocationLevelById(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as LocationLevelDao.findLocationLevelById(java.lang.Integer) with an
additional argument called queryString . |
java.util.Collection |
findLocationLevelByLocationClassification(int transform,
int pageNumber,
int pageSize,
LocationClassification locationClassification)
Does the same thing as LocationLevelDao.findLocationLevelByLocationClassification(int, fr.ifremer.allegro.referential.location.LocationClassification) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findLocationLevelByLocationClassification(int pageNumber,
int pageSize,
LocationClassification locationClassification)
Does the same thing as LocationLevelDao.findLocationLevelByLocationClassification(fr.ifremer.allegro.referential.location.LocationClassification) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findLocationLevelByLocationClassification(int transform,
LocationClassification locationClassification)
Does the same thing as LocationLevelDao.findLocationLevelByLocationClassification(fr.ifremer.allegro.referential.location.LocationClassification) with an
additional flag called transform . |
java.util.Collection |
findLocationLevelByLocationClassification(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
LocationClassification locationClassification)
Does the same thing as LocationLevelDao.findLocationLevelByLocationClassification(int, String, fr.ifremer.allegro.referential.location.LocationClassification) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findLocationLevelByLocationClassification(int transform,
java.lang.String queryString,
LocationClassification locationClassification)
Does the same thing as LocationLevelDao.findLocationLevelByLocationClassification(int, fr.ifremer.allegro.referential.location.LocationClassification) with an
additional argument called queryString . |
java.util.Collection |
findLocationLevelByLocationClassification(LocationClassification locationClassification)
|
java.util.Collection |
findLocationLevelByLocationClassification(java.lang.String queryString,
int pageNumber,
int pageSize,
LocationClassification locationClassification)
Does the same thing as LocationLevelDao.findLocationLevelByLocationClassification(String, fr.ifremer.allegro.referential.location.LocationClassification) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findLocationLevelByLocationClassification(java.lang.String queryString,
LocationClassification locationClassification)
Does the same thing as LocationLevelDao.findLocationLevelByLocationClassification(fr.ifremer.allegro.referential.location.LocationClassification) with an
additional argument called queryString . |
LocationLevel |
findLocationLevelByNaturalId(java.lang.Integer id)
|
java.lang.Object |
findLocationLevelByNaturalId(int transform,
java.lang.Integer id)
Does the same thing as LocationLevelDao.findLocationLevelByNaturalId(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findLocationLevelByNaturalId(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as LocationLevelDao.findLocationLevelByNaturalId(int, java.lang.Integer) with an
additional argument called queryString . |
LocationLevel |
findLocationLevelByNaturalId(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as LocationLevelDao.findLocationLevelByNaturalId(java.lang.Integer) with an
additional argument called queryString . |
java.util.Collection |
findLocationLevelByParentLocationLevel(int transform,
int pageNumber,
int pageSize,
LocationLevel parentLocationLevel)
Does the same thing as LocationLevelDao.findLocationLevelByParentLocationLevel(int, fr.ifremer.allegro.referential.location.LocationLevel) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findLocationLevelByParentLocationLevel(int pageNumber,
int pageSize,
LocationLevel parentLocationLevel)
Does the same thing as LocationLevelDao.findLocationLevelByParentLocationLevel(fr.ifremer.allegro.referential.location.LocationLevel) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findLocationLevelByParentLocationLevel(int transform,
LocationLevel parentLocationLevel)
Does the same thing as LocationLevelDao.findLocationLevelByParentLocationLevel(fr.ifremer.allegro.referential.location.LocationLevel) with an
additional flag called transform . |
java.util.Collection |
findLocationLevelByParentLocationLevel(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
LocationLevel parentLocationLevel)
Does the same thing as LocationLevelDao.findLocationLevelByParentLocationLevel(int, String, fr.ifremer.allegro.referential.location.LocationLevel) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findLocationLevelByParentLocationLevel(int transform,
java.lang.String queryString,
LocationLevel parentLocationLevel)
Does the same thing as LocationLevelDao.findLocationLevelByParentLocationLevel(int, fr.ifremer.allegro.referential.location.LocationLevel) with an
additional argument called queryString . |
java.util.Collection |
findLocationLevelByParentLocationLevel(LocationLevel parentLocationLevel)
|
java.util.Collection |
findLocationLevelByParentLocationLevel(java.lang.String queryString,
int pageNumber,
int pageSize,
LocationLevel parentLocationLevel)
Does the same thing as LocationLevelDao.findLocationLevelByParentLocationLevel(String, fr.ifremer.allegro.referential.location.LocationLevel) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findLocationLevelByParentLocationLevel(java.lang.String queryString,
LocationLevel parentLocationLevel)
Does the same thing as LocationLevelDao.findLocationLevelByParentLocationLevel(fr.ifremer.allegro.referential.location.LocationLevel) with an
additional argument called queryString . |
ClusterLocationLevel[] |
getAllClusterLocationLevelSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize)
|
java.util.Collection |
getAllLocationLevel()
|
java.util.Collection |
getAllLocationLevel(int transform)
Does the same thing as LocationLevelDao.getAllLocationLevel() with an
additional flag called transform . |
java.util.Collection |
getAllLocationLevel(int pageNumber,
int pageSize)
Does the same thing as LocationLevelDao.getAllLocationLevel() with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllLocationLevel(int transform,
int pageNumber,
int pageSize)
Does the same thing as LocationLevelDao.getAllLocationLevel(int) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllLocationLevel(int transform,
java.lang.String queryString)
Does the same thing as LocationLevelDao.getAllLocationLevel(int) with an
additional argument called queryString . |
java.util.Collection |
getAllLocationLevel(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as LocationLevelDao.getAllLocationLevel(int, String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllLocationLevel(java.lang.String queryString)
Does the same thing as LocationLevelDao.getAllLocationLevel() with an
additional argument called queryString . |
java.util.Collection |
getAllLocationLevel(java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as LocationLevelDao.getAllLocationLevel(String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllLocationLevelSinceDateSynchro(int transform,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as LocationLevelDao.getAllLocationLevelSinceDateSynchro(int, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllLocationLevelSinceDateSynchro(int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as LocationLevelDao.getAllLocationLevelSinceDateSynchro(java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllLocationLevelSinceDateSynchro(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as LocationLevelDao.getAllLocationLevelSinceDateSynchro(int, String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllLocationLevelSinceDateSynchro(int transform,
java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as LocationLevelDao.getAllLocationLevelSinceDateSynchro(int, java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllLocationLevelSinceDateSynchro(int transform,
java.sql.Timestamp updateDate)
Does the same thing as LocationLevelDao.getAllLocationLevelSinceDateSynchro(java.sql.Timestamp) with an
additional flag called transform . |
java.util.Collection |
getAllLocationLevelSinceDateSynchro(java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as LocationLevelDao.getAllLocationLevelSinceDateSynchro(String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllLocationLevelSinceDateSynchro(java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as LocationLevelDao.getAllLocationLevelSinceDateSynchro(java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllLocationLevelSinceDateSynchro(java.sql.Timestamp updateDate)
|
protected LocationClassificationDao |
getLocationClassificationDao()
Gets the reference to locationClassificationDao . |
protected LocationLevelDao |
getLocationLevelDao()
Gets the reference to locationLevelDao . |
protected java.security.Principal |
getPrincipal()
Gets the current principal if one has been set,
otherwise returns null . |
protected abstract LocationLevel |
handleCreateFromClusterLocationLevel(ClusterLocationLevel clusterLocationLevel)
Performs the core logic for createFromClusterLocationLevel(fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationLevel) |
protected abstract ClusterLocationLevel[] |
handleGetAllClusterLocationLevelSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize)
Performs the core logic for getAllClusterLocationLevelSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer) |
LocationLevel |
load(java.lang.Integer id)
Loads an instance of fr.ifremer.allegro.referential.location.LocationLevel from the persistent store. |
java.lang.Object |
load(int transform,
java.lang.Integer id)
Does the same thing as LocationLevelDao.load(java.lang.Integer) with an
additional flag called transform . |
java.util.Collection |
loadAll()
Loads all entities of type LocationLevel . |
java.util.Collection |
loadAll(int transform)
Does the same thing as LocationLevelDao.loadAll() with an
additional flag called transform . |
java.util.Collection |
loadAll(int pageNumber,
int pageSize)
Does the same thing as LocationLevelDao.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 LocationLevelDao.loadAll(int) with an
additional two arguments called pageNumber and pageSize . |
void |
remoteLocationLevelFullVOToEntity(RemoteLocationLevelFullVO source,
LocationLevel target,
boolean copyIfNull)
Copies the fields of RemoteLocationLevelFullVO to the specified entity. |
void |
remoteLocationLevelFullVOToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteLocationLevelFullVO to this
DAO's entity. |
void |
remoteLocationLevelNaturalIdToEntity(RemoteLocationLevelNaturalId source,
LocationLevel target,
boolean copyIfNull)
Copies the fields of RemoteLocationLevelNaturalId to the specified entity. |
void |
remoteLocationLevelNaturalIdToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteLocationLevelNaturalId 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.location.LocationLevel having the given identifier from the persistent store. |
void |
remove(LocationLevel locationLevel)
Removes the instance of fr.ifremer.allegro.referential.location.LocationLevel 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 LocationLevelDao.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 |
setLocationClassificationDao(LocationClassificationDao locationClassificationDao)
Sets the reference to locationClassificationDao . |
void |
setLocationLevelDao(LocationLevelDao locationLevelDao)
Sets the reference to locationLevelDao . |
ClusterLocationLevel |
toClusterLocationLevel(LocationLevel entity)
Converts this DAO's entity to an object of type ClusterLocationLevel . |
void |
toClusterLocationLevel(LocationLevel source,
ClusterLocationLevel target)
Copies the fields of the specified entity to the target value object. |
protected ClusterLocationLevel |
toClusterLocationLevel(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
ClusterLocationLevel[] |
toClusterLocationLevelArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type ClusterLocationLevel . |
void |
toClusterLocationLevelCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type ClusterLocationLevel . |
protected LocationLevel |
toEntity(java.lang.Object[] row)
|
RemoteLocationLevelFullVO |
toRemoteLocationLevelFullVO(LocationLevel entity)
Converts this DAO's entity to an object of type RemoteLocationLevelFullVO . |
void |
toRemoteLocationLevelFullVO(LocationLevel source,
RemoteLocationLevelFullVO target)
Copies the fields of the specified entity to the target value object. |
protected RemoteLocationLevelFullVO |
toRemoteLocationLevelFullVO(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteLocationLevelFullVO[] |
toRemoteLocationLevelFullVOArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteLocationLevelFullVO . |
void |
toRemoteLocationLevelFullVOCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteLocationLevelFullVO . |
RemoteLocationLevelNaturalId |
toRemoteLocationLevelNaturalId(LocationLevel entity)
Converts this DAO's entity to an object of type RemoteLocationLevelNaturalId . |
void |
toRemoteLocationLevelNaturalId(LocationLevel source,
RemoteLocationLevelNaturalId target)
Copies the fields of the specified entity to the target value object. |
protected RemoteLocationLevelNaturalId |
toRemoteLocationLevelNaturalId(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteLocationLevelNaturalId[] |
toRemoteLocationLevelNaturalIdArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteLocationLevelNaturalId . |
void |
toRemoteLocationLevelNaturalIdCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteLocationLevelNaturalId . |
protected void |
transformEntities(int transform,
java.util.Collection entities)
Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.location.LocationLevel)
method. |
protected java.lang.Object |
transformEntity(int transform,
LocationLevel 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.location.LocationLevelDao , please note
that the LocationLevelDao.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(LocationLevel locationLevel)
Updates the locationLevel 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.location.LocationLevelDao |
---|
clusterLocationLevelToEntity, remoteLocationLevelFullVOToEntity, remoteLocationLevelNaturalIdToEntity |
Constructor Detail |
---|
public LocationLevelDaoBase()
Method Detail |
---|
public void setLocationLevelDao(LocationLevelDao locationLevelDao)
locationLevelDao
.
protected LocationLevelDao getLocationLevelDao()
locationLevelDao
.
public void setLocationClassificationDao(LocationClassificationDao locationClassificationDao)
locationClassificationDao
.
protected LocationClassificationDao getLocationClassificationDao()
locationClassificationDao
.
public java.lang.Object load(int transform, java.lang.Integer id)
LocationLevelDao
Does the same thing as LocationLevelDao.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 LocationLevelDao
id
- identifier of the entity to load
LocationLevelDao.load(int, java.lang.Integer)
public LocationLevel load(java.lang.Integer id)
LocationLevelDao
load
in interface LocationLevelDao
LocationLevelDao.load(java.lang.Integer)
public java.util.Collection loadAll()
LocationLevelDao
LocationLevel
.
loadAll
in interface LocationLevelDao
LocationLevelDao.loadAll()
public java.util.Collection loadAll(int transform)
LocationLevelDao
Does the same thing as LocationLevelDao.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 LocationLevelDao
transform
- the flag indicating what transformation to use.
LocationLevelDao.loadAll(int)
public java.util.Collection loadAll(int pageNumber, int pageSize)
LocationLevelDao
Does the same thing as LocationLevelDao.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 LocationLevelDao
pageNumber
- the page number to retrieve when paging results.pageSize
- the size of the page to retrieve when paging results.
LocationLevelDao.loadAll(int, int)
public java.util.Collection loadAll(int transform, int pageNumber, int pageSize)
LocationLevelDao
Does the same thing as LocationLevelDao.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 LocationLevelDao
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.
LocationLevelDao.loadAll(int, int, int)
public LocationLevel create(LocationLevel locationLevel)
LocationLevelDao
create
in interface LocationLevelDao
LocationLevelDao.create(fr.ifremer.allegro.referential.location.LocationLevel)
public java.lang.Object create(int transform, LocationLevel locationLevel)
LocationLevelDao
Does the same thing as LocationLevelDao.create(fr.ifremer.allegro.referential.location.LocationLevel)
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 LocationLevelDao
LocationLevelDao.create(int transform, fr.ifremer.allegro.referential.location.LocationLevel)
public java.util.Collection create(java.util.Collection entities)
LocationLevelDao
entities
collection
create
in interface LocationLevelDao
entities
- the collection of fr.ifremer.allegro.referential.location.LocationLevel
instances to create.
LocationLevelDao.create(java.util.Collection)
public java.util.Collection create(int transform, java.util.Collection entities)
LocationLevelDao
Does the same thing as LocationLevelDao.create(fr.ifremer.allegro.referential.location.LocationLevel)
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 LocationLevelDao
LocationLevelDao.create(int, java.util.Collection)
public LocationLevel create(java.lang.String name, java.sql.Timestamp updateDate, java.util.Collection locationLevels, LocationLevel parentLocationLevel, LocationClassification locationClassification)
LocationLevelDao
Creates a new fr.ifremer.allegro.referential.location.LocationLevel
instance from all attributes and
properties and adds it to the persistent store.
create
in interface LocationLevelDao
LocationLevelDao.create(java.lang.String,java.sql.Timestamp,java.util.Collection,fr.ifremer.allegro.referential.location.LocationLevel,fr.ifremer.allegro.referential.location.LocationClassification)
public java.lang.Object create(int transform, java.lang.String name, java.sql.Timestamp updateDate, java.util.Collection locationLevels, LocationLevel parentLocationLevel, LocationClassification locationClassification)
LocationLevelDao
Does the same thing as LocationLevelDao.create(java.lang.String,java.sql.Timestamp,java.util.Collection,fr.ifremer.allegro.referential.location.LocationLevel,fr.ifremer.allegro.referential.location.LocationClassification)
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 LocationLevelDao
LocationLevelDao.create(int, java.lang.String,java.sql.Timestamp,java.util.Collection,fr.ifremer.allegro.referential.location.LocationLevel,fr.ifremer.allegro.referential.location.LocationClassification)
public LocationLevel create(LocationClassification locationClassification, java.lang.String name)
LocationLevelDao
Creates a new fr.ifremer.allegro.referential.location.LocationLevel
instance from only required properties (attributes
and association ends) and adds it to the persistent store.
create
in interface LocationLevelDao
LocationLevelDao.create(fr.ifremer.allegro.referential.location.LocationClassification,java.lang.String)
public java.lang.Object create(int transform, LocationClassification locationClassification, java.lang.String name)
LocationLevelDao
Does the same thing as LocationLevelDao.create(fr.ifremer.allegro.referential.location.LocationClassification,java.lang.String)
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 LocationLevelDao
LocationLevelDao.create(int, fr.ifremer.allegro.referential.location.LocationClassification,java.lang.String)
public void update(LocationLevel locationLevel)
LocationLevelDao
locationLevel
instance in the persistent store.
update
in interface LocationLevelDao
LocationLevelDao.update(fr.ifremer.allegro.referential.location.LocationLevel)
public void update(java.util.Collection entities)
LocationLevelDao
entities
collection in the persistent store.
update
in interface LocationLevelDao
LocationLevelDao.update(java.util.Collection)
public void remove(LocationLevel locationLevel)
LocationLevelDao
remove
in interface LocationLevelDao
LocationLevelDao.remove(fr.ifremer.allegro.referential.location.LocationLevel)
public void remove(java.lang.Integer id)
LocationLevelDao
identifier
from the persistent store.
remove
in interface LocationLevelDao
LocationLevelDao.remove(java.lang.Integer)
public void remove(java.util.Collection entities)
LocationLevelDao
entities collection.
- Specified by:
remove
in interface LocationLevelDao
- See Also:
LocationLevelDao.remove(java.util.Collection)
public java.util.Collection getAllLocationLevel()
getAllLocationLevel
in interface LocationLevelDao
LocationLevelDao.getAllLocationLevel()
public java.util.Collection getAllLocationLevel(int transform)
LocationLevelDao
Does the same thing as LocationLevelDao.getAllLocationLevel()
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.
getAllLocationLevel
in interface LocationLevelDao
LocationLevelDao.getAllLocationLevel(int)
public java.util.Collection getAllLocationLevel(java.lang.String queryString)
LocationLevelDao
Does the same thing as LocationLevelDao.getAllLocationLevel()
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in LocationLevelDao.getAllLocationLevel()
.
getAllLocationLevel
in interface LocationLevelDao
LocationLevelDao.getAllLocationLevel(java.lang.String)
public java.util.Collection getAllLocationLevel(int pageNumber, int pageSize)
LocationLevelDao
Does the same thing as LocationLevelDao.getAllLocationLevel()
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.
getAllLocationLevel
in interface LocationLevelDao
LocationLevelDao.getAllLocationLevel(int, int)
public java.util.Collection getAllLocationLevel(java.lang.String queryString, int pageNumber, int pageSize)
LocationLevelDao
Does the same thing as LocationLevelDao.getAllLocationLevel(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.
getAllLocationLevel
in interface LocationLevelDao
LocationLevelDao.getAllLocationLevel(String, int, int)
public java.util.Collection getAllLocationLevel(int transform, java.lang.String queryString)
LocationLevelDao
Does the same thing as LocationLevelDao.getAllLocationLevel(int)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in LocationLevelDao.getAllLocationLevel(int)
.
getAllLocationLevel
in interface LocationLevelDao
LocationLevelDao.getAllLocationLevel(int, String)
public java.util.Collection getAllLocationLevel(int transform, int pageNumber, int pageSize)
LocationLevelDao
Does the same thing as LocationLevelDao.getAllLocationLevel(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.
getAllLocationLevel
in interface LocationLevelDao
LocationLevelDao.getAllLocationLevel(int, int, int)
public java.util.Collection getAllLocationLevel(int transform, java.lang.String queryString, int pageNumber, int pageSize)
LocationLevelDao
Does the same thing as LocationLevelDao.getAllLocationLevel(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.
getAllLocationLevel
in interface LocationLevelDao
LocationLevelDao.getAllLocationLevel(int, java.lang.String, int, int)
public LocationLevel findLocationLevelById(java.lang.Integer id)
findLocationLevelById
in interface LocationLevelDao
LocationLevelDao.findLocationLevelById(java.lang.Integer)
public java.lang.Object findLocationLevelById(int transform, java.lang.Integer id)
LocationLevelDao
Does the same thing as LocationLevelDao.findLocationLevelById(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.
findLocationLevelById
in interface LocationLevelDao
LocationLevelDao.findLocationLevelById(int, java.lang.Integer)
public LocationLevel findLocationLevelById(java.lang.String queryString, java.lang.Integer id)
LocationLevelDao
Does the same thing as LocationLevelDao.findLocationLevelById(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in LocationLevelDao.findLocationLevelById(java.lang.Integer)
.
findLocationLevelById
in interface LocationLevelDao
LocationLevelDao.findLocationLevelById(java.lang.String, java.lang.Integer)
public java.lang.Object findLocationLevelById(int transform, java.lang.String queryString, java.lang.Integer id)
LocationLevelDao
Does the same thing as LocationLevelDao.findLocationLevelById(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in LocationLevelDao.findLocationLevelById(int, java.lang.Integer id)
.
findLocationLevelById
in interface LocationLevelDao
LocationLevelDao.findLocationLevelById(int, java.lang.String, java.lang.Integer)
public java.util.Collection findLocationLevelByParentLocationLevel(LocationLevel parentLocationLevel)
findLocationLevelByParentLocationLevel
in interface LocationLevelDao
LocationLevelDao.findLocationLevelByParentLocationLevel(fr.ifremer.allegro.referential.location.LocationLevel)
public java.util.Collection findLocationLevelByParentLocationLevel(int transform, LocationLevel parentLocationLevel)
LocationLevelDao
Does the same thing as LocationLevelDao.findLocationLevelByParentLocationLevel(fr.ifremer.allegro.referential.location.LocationLevel)
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.
findLocationLevelByParentLocationLevel
in interface LocationLevelDao
LocationLevelDao.findLocationLevelByParentLocationLevel(int, fr.ifremer.allegro.referential.location.LocationLevel)
public java.util.Collection findLocationLevelByParentLocationLevel(java.lang.String queryString, LocationLevel parentLocationLevel)
LocationLevelDao
Does the same thing as LocationLevelDao.findLocationLevelByParentLocationLevel(fr.ifremer.allegro.referential.location.LocationLevel)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in LocationLevelDao.findLocationLevelByParentLocationLevel(fr.ifremer.allegro.referential.location.LocationLevel)
.
findLocationLevelByParentLocationLevel
in interface LocationLevelDao
LocationLevelDao.findLocationLevelByParentLocationLevel(java.lang.String, fr.ifremer.allegro.referential.location.LocationLevel)
public java.util.Collection findLocationLevelByParentLocationLevel(int pageNumber, int pageSize, LocationLevel parentLocationLevel)
LocationLevelDao
Does the same thing as LocationLevelDao.findLocationLevelByParentLocationLevel(fr.ifremer.allegro.referential.location.LocationLevel)
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.
findLocationLevelByParentLocationLevel
in interface LocationLevelDao
LocationLevelDao.findLocationLevelByParentLocationLevel(int, int, fr.ifremer.allegro.referential.location.LocationLevel)
public java.util.Collection findLocationLevelByParentLocationLevel(java.lang.String queryString, int pageNumber, int pageSize, LocationLevel parentLocationLevel)
LocationLevelDao
Does the same thing as LocationLevelDao.findLocationLevelByParentLocationLevel(String, fr.ifremer.allegro.referential.location.LocationLevel)
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.
findLocationLevelByParentLocationLevel
in interface LocationLevelDao
LocationLevelDao.findLocationLevelByParentLocationLevel(String, int, int, fr.ifremer.allegro.referential.location.LocationLevel)
public java.util.Collection findLocationLevelByParentLocationLevel(int transform, java.lang.String queryString, LocationLevel parentLocationLevel)
LocationLevelDao
Does the same thing as LocationLevelDao.findLocationLevelByParentLocationLevel(int, fr.ifremer.allegro.referential.location.LocationLevel)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in LocationLevelDao.findLocationLevelByParentLocationLevel(int, fr.ifremer.allegro.referential.location.LocationLevel parentLocationLevel)
.
findLocationLevelByParentLocationLevel
in interface LocationLevelDao
LocationLevelDao.findLocationLevelByParentLocationLevel(int, String, fr.ifremer.allegro.referential.location.LocationLevel)
public java.util.Collection findLocationLevelByParentLocationLevel(int transform, int pageNumber, int pageSize, LocationLevel parentLocationLevel)
LocationLevelDao
Does the same thing as LocationLevelDao.findLocationLevelByParentLocationLevel(int, fr.ifremer.allegro.referential.location.LocationLevel)
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.
findLocationLevelByParentLocationLevel
in interface LocationLevelDao
LocationLevelDao.findLocationLevelByParentLocationLevel(int, int, int, fr.ifremer.allegro.referential.location.LocationLevel)
public java.util.Collection findLocationLevelByParentLocationLevel(int transform, java.lang.String queryString, int pageNumber, int pageSize, LocationLevel parentLocationLevel)
LocationLevelDao
Does the same thing as LocationLevelDao.findLocationLevelByParentLocationLevel(int, String, fr.ifremer.allegro.referential.location.LocationLevel)
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.
findLocationLevelByParentLocationLevel
in interface LocationLevelDao
LocationLevelDao.findLocationLevelByParentLocationLevel(int, java.lang.String, int, int, fr.ifremer.allegro.referential.location.LocationLevel)
public java.util.Collection findLocationLevelByLocationClassification(LocationClassification locationClassification)
findLocationLevelByLocationClassification
in interface LocationLevelDao
LocationLevelDao.findLocationLevelByLocationClassification(fr.ifremer.allegro.referential.location.LocationClassification)
public java.util.Collection findLocationLevelByLocationClassification(int transform, LocationClassification locationClassification)
LocationLevelDao
Does the same thing as LocationLevelDao.findLocationLevelByLocationClassification(fr.ifremer.allegro.referential.location.LocationClassification)
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.
findLocationLevelByLocationClassification
in interface LocationLevelDao
LocationLevelDao.findLocationLevelByLocationClassification(int, fr.ifremer.allegro.referential.location.LocationClassification)
public java.util.Collection findLocationLevelByLocationClassification(java.lang.String queryString, LocationClassification locationClassification)
LocationLevelDao
Does the same thing as LocationLevelDao.findLocationLevelByLocationClassification(fr.ifremer.allegro.referential.location.LocationClassification)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in LocationLevelDao.findLocationLevelByLocationClassification(fr.ifremer.allegro.referential.location.LocationClassification)
.
findLocationLevelByLocationClassification
in interface LocationLevelDao
LocationLevelDao.findLocationLevelByLocationClassification(java.lang.String, fr.ifremer.allegro.referential.location.LocationClassification)
public java.util.Collection findLocationLevelByLocationClassification(int pageNumber, int pageSize, LocationClassification locationClassification)
LocationLevelDao
Does the same thing as LocationLevelDao.findLocationLevelByLocationClassification(fr.ifremer.allegro.referential.location.LocationClassification)
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.
findLocationLevelByLocationClassification
in interface LocationLevelDao
LocationLevelDao.findLocationLevelByLocationClassification(int, int, fr.ifremer.allegro.referential.location.LocationClassification)
public java.util.Collection findLocationLevelByLocationClassification(java.lang.String queryString, int pageNumber, int pageSize, LocationClassification locationClassification)
LocationLevelDao
Does the same thing as LocationLevelDao.findLocationLevelByLocationClassification(String, fr.ifremer.allegro.referential.location.LocationClassification)
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.
findLocationLevelByLocationClassification
in interface LocationLevelDao
LocationLevelDao.findLocationLevelByLocationClassification(String, int, int, fr.ifremer.allegro.referential.location.LocationClassification)
public java.util.Collection findLocationLevelByLocationClassification(int transform, java.lang.String queryString, LocationClassification locationClassification)
LocationLevelDao
Does the same thing as LocationLevelDao.findLocationLevelByLocationClassification(int, fr.ifremer.allegro.referential.location.LocationClassification)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in LocationLevelDao.findLocationLevelByLocationClassification(int, fr.ifremer.allegro.referential.location.LocationClassification locationClassification)
.
findLocationLevelByLocationClassification
in interface LocationLevelDao
LocationLevelDao.findLocationLevelByLocationClassification(int, String, fr.ifremer.allegro.referential.location.LocationClassification)
public java.util.Collection findLocationLevelByLocationClassification(int transform, int pageNumber, int pageSize, LocationClassification locationClassification)
LocationLevelDao
Does the same thing as LocationLevelDao.findLocationLevelByLocationClassification(int, fr.ifremer.allegro.referential.location.LocationClassification)
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.
findLocationLevelByLocationClassification
in interface LocationLevelDao
LocationLevelDao.findLocationLevelByLocationClassification(int, int, int, fr.ifremer.allegro.referential.location.LocationClassification)
public java.util.Collection findLocationLevelByLocationClassification(int transform, java.lang.String queryString, int pageNumber, int pageSize, LocationClassification locationClassification)
LocationLevelDao
Does the same thing as LocationLevelDao.findLocationLevelByLocationClassification(int, String, fr.ifremer.allegro.referential.location.LocationClassification)
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.
findLocationLevelByLocationClassification
in interface LocationLevelDao
LocationLevelDao.findLocationLevelByLocationClassification(int, java.lang.String, int, int, fr.ifremer.allegro.referential.location.LocationClassification)
public LocationLevel findLocationLevelByNaturalId(java.lang.Integer id)
findLocationLevelByNaturalId
in interface LocationLevelDao
LocationLevelDao.findLocationLevelByNaturalId(java.lang.Integer)
public java.lang.Object findLocationLevelByNaturalId(int transform, java.lang.Integer id)
LocationLevelDao
Does the same thing as LocationLevelDao.findLocationLevelByNaturalId(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.
findLocationLevelByNaturalId
in interface LocationLevelDao
LocationLevelDao.findLocationLevelByNaturalId(int, java.lang.Integer)
public LocationLevel findLocationLevelByNaturalId(java.lang.String queryString, java.lang.Integer id)
LocationLevelDao
Does the same thing as LocationLevelDao.findLocationLevelByNaturalId(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in LocationLevelDao.findLocationLevelByNaturalId(java.lang.Integer)
.
findLocationLevelByNaturalId
in interface LocationLevelDao
LocationLevelDao.findLocationLevelByNaturalId(java.lang.String, java.lang.Integer)
public java.lang.Object findLocationLevelByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
LocationLevelDao
Does the same thing as LocationLevelDao.findLocationLevelByNaturalId(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in LocationLevelDao.findLocationLevelByNaturalId(int, java.lang.Integer id)
.
findLocationLevelByNaturalId
in interface LocationLevelDao
LocationLevelDao.findLocationLevelByNaturalId(int, java.lang.String, java.lang.Integer)
public java.util.Collection getAllLocationLevelSinceDateSynchro(java.sql.Timestamp updateDate)
getAllLocationLevelSinceDateSynchro
in interface LocationLevelDao
LocationLevelDao.getAllLocationLevelSinceDateSynchro(java.sql.Timestamp)
public java.util.Collection getAllLocationLevelSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
LocationLevelDao
Does the same thing as LocationLevelDao.getAllLocationLevelSinceDateSynchro(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.
getAllLocationLevelSinceDateSynchro
in interface LocationLevelDao
LocationLevelDao.getAllLocationLevelSinceDateSynchro(int, java.sql.Timestamp)
public java.util.Collection getAllLocationLevelSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
LocationLevelDao
Does the same thing as LocationLevelDao.getAllLocationLevelSinceDateSynchro(java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in LocationLevelDao.getAllLocationLevelSinceDateSynchro(java.sql.Timestamp)
.
getAllLocationLevelSinceDateSynchro
in interface LocationLevelDao
LocationLevelDao.getAllLocationLevelSinceDateSynchro(java.lang.String, java.sql.Timestamp)
public java.util.Collection getAllLocationLevelSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
LocationLevelDao
Does the same thing as LocationLevelDao.getAllLocationLevelSinceDateSynchro(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.
getAllLocationLevelSinceDateSynchro
in interface LocationLevelDao
LocationLevelDao.getAllLocationLevelSinceDateSynchro(int, int, java.sql.Timestamp)
public java.util.Collection getAllLocationLevelSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
LocationLevelDao
Does the same thing as LocationLevelDao.getAllLocationLevelSinceDateSynchro(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.
getAllLocationLevelSinceDateSynchro
in interface LocationLevelDao
LocationLevelDao.getAllLocationLevelSinceDateSynchro(String, int, int, java.sql.Timestamp)
public java.util.Collection getAllLocationLevelSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
LocationLevelDao
Does the same thing as LocationLevelDao.getAllLocationLevelSinceDateSynchro(int, java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in LocationLevelDao.getAllLocationLevelSinceDateSynchro(int, java.sql.Timestamp updateDate)
.
getAllLocationLevelSinceDateSynchro
in interface LocationLevelDao
LocationLevelDao.getAllLocationLevelSinceDateSynchro(int, String, java.sql.Timestamp)
public java.util.Collection getAllLocationLevelSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
LocationLevelDao
Does the same thing as LocationLevelDao.getAllLocationLevelSinceDateSynchro(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.
getAllLocationLevelSinceDateSynchro
in interface LocationLevelDao
LocationLevelDao.getAllLocationLevelSinceDateSynchro(int, int, int, java.sql.Timestamp)
public java.util.Collection getAllLocationLevelSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
LocationLevelDao
Does the same thing as LocationLevelDao.getAllLocationLevelSinceDateSynchro(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.
getAllLocationLevelSinceDateSynchro
in interface LocationLevelDao
LocationLevelDao.getAllLocationLevelSinceDateSynchro(int, java.lang.String, int, int, java.sql.Timestamp)
public LocationLevel createFromClusterLocationLevel(ClusterLocationLevel clusterLocationLevel)
createFromClusterLocationLevel
in interface LocationLevelDao
LocationLevelDao.createFromClusterLocationLevel(fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationLevel)
protected abstract LocationLevel handleCreateFromClusterLocationLevel(ClusterLocationLevel clusterLocationLevel) throws java.lang.Exception
createFromClusterLocationLevel(fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationLevel)
java.lang.Exception
public ClusterLocationLevel[] getAllClusterLocationLevelSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
getAllClusterLocationLevelSinceDateSynchro
in interface LocationLevelDao
LocationLevelDao.getAllClusterLocationLevelSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected abstract ClusterLocationLevel[] handleGetAllClusterLocationLevelSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize) throws java.lang.Exception
getAllClusterLocationLevelSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
java.lang.Exception
protected java.lang.Object transformEntity(int transform, LocationLevel entity)
transform
flag is set to one of the constants defined in fr.ifremer.allegro.referential.location.LocationLevelDao
, please note
that the LocationLevelDao.TRANSFORM_NONE
constant denotes no transformation, so the entity itself
will be returned.
This method will return instances of these types:
LocationLevel
- LocationLevelDao.TRANSFORM_NONE
RemoteLocationLevelFullVO
- TRANSFORM_REMOTELOCATIONLEVELFULLVO
RemoteLocationLevelNaturalId
- TRANSFORM_REMOTELOCATIONLEVELNATURALID
ClusterLocationLevel
- TRANSFORM_CLUSTERLOCATIONLEVEL
LocationLevelDao.TRANSFORM_NONE
is assumed.
transform
- one of the constants declared in LocationLevelDao
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.location.LocationLevel)
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.location.LocationLevelDao
entities
- the collection of entities to transformtransformEntity(int,fr.ifremer.allegro.referential.location.LocationLevel)
protected LocationLevel toEntity(java.lang.Object[] row)
public final void toRemoteLocationLevelFullVOCollection(java.util.Collection entities)
LocationLevelDao
RemoteLocationLevelFullVO
.
toRemoteLocationLevelFullVOCollection
in interface LocationLevelDao
LocationLevelDao.toRemoteLocationLevelFullVOCollection(java.util.Collection)
public final RemoteLocationLevelFullVO[] toRemoteLocationLevelFullVOArray(java.util.Collection entities)
LocationLevelDao
RemoteLocationLevelFullVO
.
toRemoteLocationLevelFullVOArray
in interface LocationLevelDao
LocationLevelDao.toRemoteLocationLevelFullVOArray(java.util.Collection)
protected RemoteLocationLevelFullVO toRemoteLocationLevelFullVO(java.lang.Object[] row)
LocationLevelDaoImpl
class if you intend to use reporting queries.
LocationLevelDao.toRemoteLocationLevelFullVO(fr.ifremer.allegro.referential.location.LocationLevel)
public final void remoteLocationLevelFullVOToEntityCollection(java.util.Collection instances)
LocationLevelDao
RemoteLocationLevelFullVO
to this
DAO's entity.
remoteLocationLevelFullVOToEntityCollection
in interface LocationLevelDao
LocationLevelDao.remoteLocationLevelFullVOToEntityCollection(java.util.Collection)
public void toRemoteLocationLevelFullVO(LocationLevel source, RemoteLocationLevelFullVO target)
LocationLevelDao
toRemoteLocationLevelFullVO
in interface LocationLevelDao
LocationLevelDao.toRemoteLocationLevelFullVO(fr.ifremer.allegro.referential.location.LocationLevel, fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationLevelFullVO)
public RemoteLocationLevelFullVO toRemoteLocationLevelFullVO(LocationLevel entity)
LocationLevelDao
RemoteLocationLevelFullVO
.
toRemoteLocationLevelFullVO
in interface LocationLevelDao
LocationLevelDao.toRemoteLocationLevelFullVO(fr.ifremer.allegro.referential.location.LocationLevel)
public void remoteLocationLevelFullVOToEntity(RemoteLocationLevelFullVO source, LocationLevel target, boolean copyIfNull)
LocationLevelDao
RemoteLocationLevelFullVO
to the specified entity.
remoteLocationLevelFullVOToEntity
in interface LocationLevelDao
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.location.LocationLevelDao#remoteLocationLevelFullVOToEntity(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationLevelFullVO, fr.ifremer.allegro.referential.location.LocationLevel)
public final void toRemoteLocationLevelNaturalIdCollection(java.util.Collection entities)
LocationLevelDao
RemoteLocationLevelNaturalId
.
toRemoteLocationLevelNaturalIdCollection
in interface LocationLevelDao
LocationLevelDao.toRemoteLocationLevelNaturalIdCollection(java.util.Collection)
public final RemoteLocationLevelNaturalId[] toRemoteLocationLevelNaturalIdArray(java.util.Collection entities)
LocationLevelDao
RemoteLocationLevelNaturalId
.
toRemoteLocationLevelNaturalIdArray
in interface LocationLevelDao
LocationLevelDao.toRemoteLocationLevelNaturalIdArray(java.util.Collection)
protected RemoteLocationLevelNaturalId toRemoteLocationLevelNaturalId(java.lang.Object[] row)
LocationLevelDaoImpl
class if you intend to use reporting queries.
LocationLevelDao.toRemoteLocationLevelNaturalId(fr.ifremer.allegro.referential.location.LocationLevel)
public final void remoteLocationLevelNaturalIdToEntityCollection(java.util.Collection instances)
LocationLevelDao
RemoteLocationLevelNaturalId
to this
DAO's entity.
remoteLocationLevelNaturalIdToEntityCollection
in interface LocationLevelDao
LocationLevelDao.remoteLocationLevelNaturalIdToEntityCollection(java.util.Collection)
public void toRemoteLocationLevelNaturalId(LocationLevel source, RemoteLocationLevelNaturalId target)
LocationLevelDao
toRemoteLocationLevelNaturalId
in interface LocationLevelDao
LocationLevelDao.toRemoteLocationLevelNaturalId(fr.ifremer.allegro.referential.location.LocationLevel, fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationLevelNaturalId)
public RemoteLocationLevelNaturalId toRemoteLocationLevelNaturalId(LocationLevel entity)
LocationLevelDao
RemoteLocationLevelNaturalId
.
toRemoteLocationLevelNaturalId
in interface LocationLevelDao
LocationLevelDao.toRemoteLocationLevelNaturalId(fr.ifremer.allegro.referential.location.LocationLevel)
public void remoteLocationLevelNaturalIdToEntity(RemoteLocationLevelNaturalId source, LocationLevel target, boolean copyIfNull)
LocationLevelDao
RemoteLocationLevelNaturalId
to the specified entity.
remoteLocationLevelNaturalIdToEntity
in interface LocationLevelDao
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.location.LocationLevelDao#remoteLocationLevelNaturalIdToEntity(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationLevelNaturalId, fr.ifremer.allegro.referential.location.LocationLevel)
public final void toClusterLocationLevelCollection(java.util.Collection entities)
LocationLevelDao
ClusterLocationLevel
.
toClusterLocationLevelCollection
in interface LocationLevelDao
LocationLevelDao.toClusterLocationLevelCollection(java.util.Collection)
public final ClusterLocationLevel[] toClusterLocationLevelArray(java.util.Collection entities)
LocationLevelDao
ClusterLocationLevel
.
toClusterLocationLevelArray
in interface LocationLevelDao
LocationLevelDao.toClusterLocationLevelArray(java.util.Collection)
protected ClusterLocationLevel toClusterLocationLevel(java.lang.Object[] row)
LocationLevelDaoImpl
class if you intend to use reporting queries.
LocationLevelDao.toClusterLocationLevel(fr.ifremer.allegro.referential.location.LocationLevel)
public final void clusterLocationLevelToEntityCollection(java.util.Collection instances)
LocationLevelDao
ClusterLocationLevel
to this
DAO's entity.
clusterLocationLevelToEntityCollection
in interface LocationLevelDao
LocationLevelDao.clusterLocationLevelToEntityCollection(java.util.Collection)
public void toClusterLocationLevel(LocationLevel source, ClusterLocationLevel target)
LocationLevelDao
toClusterLocationLevel
in interface LocationLevelDao
LocationLevelDao.toClusterLocationLevel(fr.ifremer.allegro.referential.location.LocationLevel, fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationLevel)
public ClusterLocationLevel toClusterLocationLevel(LocationLevel entity)
LocationLevelDao
ClusterLocationLevel
.
toClusterLocationLevel
in interface LocationLevelDao
LocationLevelDao.toClusterLocationLevel(fr.ifremer.allegro.referential.location.LocationLevel)
public void clusterLocationLevelToEntity(ClusterLocationLevel source, LocationLevel target, boolean copyIfNull)
LocationLevelDao
ClusterLocationLevel
to the specified entity.
clusterLocationLevelToEntity
in interface LocationLevelDao
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.location.LocationLevelDao#clusterLocationLevelToEntity(fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationLevel, fr.ifremer.allegro.referential.location.LocationLevel)
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)
LocationLevelDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface LocationLevelDao
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.LocationLevelDao.search(int, int, int, fr.ifremer.allegro.Search)
public PaginationResult search(int pageNumber, int pageSize, Search search)
LocationLevelDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface LocationLevelDao
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.LocationLevelDao.search(int, int, fr.ifremer.allegro.Search)
public java.util.Set search(int transform, Search search)
LocationLevelDao
LocationLevelDao.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 LocationLevelDao
transform
- the transformation flag.search
- the search object which provides the search parameters and pagination specification.
LocationLevelDao.search(int, fr.ifremer.allegro.Search)
public java.util.Set search(Search search)
LocationLevelDao
search
object.
search
in interface LocationLevelDao
search
- the search object which provides the search parameters and pagination specification.
LocationLevelDao.search(fr.ifremer.allegro.Search)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |