|
||||||||||
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.LocationPointDaoBase
public abstract class LocationPointDaoBase
Base Spring DAO Class: is able to create, update, remove, load, and find
objects of type fr.ifremer.allegro.referential.location.LocationPoint
.
LocationPoint
Field Summary |
---|
Fields inherited from interface fr.ifremer.allegro.referential.location.LocationPointDao |
---|
TRANSFORM_CLUSTERLOCATIONPOINT, TRANSFORM_NONE, TRANSFORM_REMOTELOCATIONPOINTFULLVO, TRANSFORM_REMOTELOCATIONPOINTNATURALID |
Constructor Summary | |
---|---|
LocationPointDaoBase()
|
Method Summary | |
---|---|
void |
clusterLocationPointToEntity(ClusterLocationPoint source,
LocationPoint target,
boolean copyIfNull)
Copies the fields of ClusterLocationPoint to the specified entity. |
void |
clusterLocationPointToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type ClusterLocationPoint to this
DAO's entity. |
java.util.Collection |
create(java.util.Collection entities)
Creates a new instance of fr.ifremer.allegro.referential.location.LocationPoint and adds from the passed in entities collection |
java.util.Collection |
create(int transform,
java.util.Collection entities)
Does the same thing as LocationPointDao.create(fr.ifremer.allegro.referential.location.LocationPoint) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
Location location)
Does the same thing as LocationPointDao.create(fr.ifremer.allegro.referential.location.Location) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
LocationPoint locationPoint)
Does the same thing as LocationPointDao.create(fr.ifremer.allegro.referential.location.LocationPoint) with an
additional flag called transform . |
LocationPoint |
create(Location location)
Creates a new fr.ifremer.allegro.referential.location.LocationPoint
instance from all attributes and
properties and adds it to the persistent store. |
LocationPoint |
create(LocationPoint locationPoint)
Creates an instance of fr.ifremer.allegro.referential.location.LocationPoint and adds it to the persistent store. |
LocationPoint |
createFromClusterLocationPoint(ClusterLocationPoint clusterLocationPoint)
|
LocationPoint |
findLocationPointById(java.lang.Integer id)
|
java.lang.Object |
findLocationPointById(int transform,
java.lang.Integer id)
Does the same thing as LocationPointDao.findLocationPointById(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findLocationPointById(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as LocationPointDao.findLocationPointById(int, java.lang.Integer) with an
additional argument called queryString . |
LocationPoint |
findLocationPointById(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as LocationPointDao.findLocationPointById(java.lang.Integer) with an
additional argument called queryString . |
java.util.Collection |
findLocationPointByLocation(int transform,
int pageNumber,
int pageSize,
Location location)
Does the same thing as LocationPointDao.findLocationPointByLocation(int, fr.ifremer.allegro.referential.location.Location) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findLocationPointByLocation(int pageNumber,
int pageSize,
Location location)
Does the same thing as LocationPointDao.findLocationPointByLocation(fr.ifremer.allegro.referential.location.Location) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findLocationPointByLocation(int transform,
Location location)
Does the same thing as LocationPointDao.findLocationPointByLocation(fr.ifremer.allegro.referential.location.Location) with an
additional flag called transform . |
java.util.Collection |
findLocationPointByLocation(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
Location location)
Does the same thing as LocationPointDao.findLocationPointByLocation(int, String, fr.ifremer.allegro.referential.location.Location) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findLocationPointByLocation(int transform,
java.lang.String queryString,
Location location)
Does the same thing as LocationPointDao.findLocationPointByLocation(int, fr.ifremer.allegro.referential.location.Location) with an
additional argument called queryString . |
java.util.Collection |
findLocationPointByLocation(Location location)
|
java.util.Collection |
findLocationPointByLocation(java.lang.String queryString,
int pageNumber,
int pageSize,
Location location)
Does the same thing as LocationPointDao.findLocationPointByLocation(String, fr.ifremer.allegro.referential.location.Location) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findLocationPointByLocation(java.lang.String queryString,
Location location)
Does the same thing as LocationPointDao.findLocationPointByLocation(fr.ifremer.allegro.referential.location.Location) with an
additional argument called queryString . |
LocationPoint |
findLocationPointByNaturalId(java.lang.Integer id)
|
java.lang.Object |
findLocationPointByNaturalId(int transform,
java.lang.Integer id)
Does the same thing as LocationPointDao.findLocationPointByNaturalId(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findLocationPointByNaturalId(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as LocationPointDao.findLocationPointByNaturalId(int, java.lang.Integer) with an
additional argument called queryString . |
LocationPoint |
findLocationPointByNaturalId(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as LocationPointDao.findLocationPointByNaturalId(java.lang.Integer) with an
additional argument called queryString . |
java.util.Collection |
getAllLocationPoint()
|
java.util.Collection |
getAllLocationPoint(int transform)
Does the same thing as LocationPointDao.getAllLocationPoint() with an
additional flag called transform . |
java.util.Collection |
getAllLocationPoint(int pageNumber,
int pageSize)
Does the same thing as LocationPointDao.getAllLocationPoint() with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllLocationPoint(int transform,
int pageNumber,
int pageSize)
Does the same thing as LocationPointDao.getAllLocationPoint(int) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllLocationPoint(int transform,
java.lang.String queryString)
Does the same thing as LocationPointDao.getAllLocationPoint(int) with an
additional argument called queryString . |
java.util.Collection |
getAllLocationPoint(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as LocationPointDao.getAllLocationPoint(int, String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllLocationPoint(java.lang.String queryString)
Does the same thing as LocationPointDao.getAllLocationPoint() with an
additional argument called queryString . |
java.util.Collection |
getAllLocationPoint(java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as LocationPointDao.getAllLocationPoint(String) with an
additional two arguments called pageNumber and pageSize . |
protected LocationDao |
getLocationDao()
Gets the reference to locationDao . |
protected java.security.Principal |
getPrincipal()
Gets the current principal if one has been set,
otherwise returns null . |
protected abstract LocationPoint |
handleCreateFromClusterLocationPoint(ClusterLocationPoint clusterLocationPoint)
Performs the core logic for createFromClusterLocationPoint(fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationPoint) |
LocationPoint |
load(java.lang.Integer id)
Loads an instance of fr.ifremer.allegro.referential.location.LocationPoint from the persistent store. |
java.lang.Object |
load(int transform,
java.lang.Integer id)
Does the same thing as LocationPointDao.load(java.lang.Integer) with an
additional flag called transform . |
java.util.Collection |
loadAll()
Loads all entities of type LocationPoint . |
java.util.Collection |
loadAll(int transform)
Does the same thing as LocationPointDao.loadAll() with an
additional flag called transform . |
java.util.Collection |
loadAll(int pageNumber,
int pageSize)
Does the same thing as LocationPointDao.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 LocationPointDao.loadAll(int) with an
additional two arguments called pageNumber and pageSize . |
void |
remoteLocationPointFullVOToEntity(RemoteLocationPointFullVO source,
LocationPoint target,
boolean copyIfNull)
Copies the fields of RemoteLocationPointFullVO to the specified entity. |
void |
remoteLocationPointFullVOToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteLocationPointFullVO to this
DAO's entity. |
void |
remoteLocationPointNaturalIdToEntity(RemoteLocationPointNaturalId source,
LocationPoint target,
boolean copyIfNull)
Copies the fields of RemoteLocationPointNaturalId to the specified entity. |
void |
remoteLocationPointNaturalIdToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteLocationPointNaturalId 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.LocationPoint having the given identifier from the persistent store. |
void |
remove(LocationPoint locationPoint)
Removes the instance of fr.ifremer.allegro.referential.location.LocationPoint 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 LocationPointDao.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 |
setLocationDao(LocationDao locationDao)
Sets the reference to locationDao . |
ClusterLocationPoint |
toClusterLocationPoint(LocationPoint entity)
Converts this DAO's entity to an object of type ClusterLocationPoint . |
void |
toClusterLocationPoint(LocationPoint source,
ClusterLocationPoint target)
Copies the fields of the specified entity to the target value object. |
protected ClusterLocationPoint |
toClusterLocationPoint(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
ClusterLocationPoint[] |
toClusterLocationPointArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type ClusterLocationPoint . |
void |
toClusterLocationPointCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type ClusterLocationPoint . |
protected LocationPoint |
toEntity(java.lang.Object[] row)
|
RemoteLocationPointFullVO |
toRemoteLocationPointFullVO(LocationPoint entity)
Converts this DAO's entity to an object of type RemoteLocationPointFullVO . |
void |
toRemoteLocationPointFullVO(LocationPoint source,
RemoteLocationPointFullVO target)
Copies the fields of the specified entity to the target value object. |
protected RemoteLocationPointFullVO |
toRemoteLocationPointFullVO(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteLocationPointFullVO[] |
toRemoteLocationPointFullVOArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteLocationPointFullVO . |
void |
toRemoteLocationPointFullVOCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteLocationPointFullVO . |
RemoteLocationPointNaturalId |
toRemoteLocationPointNaturalId(LocationPoint entity)
Converts this DAO's entity to an object of type RemoteLocationPointNaturalId . |
void |
toRemoteLocationPointNaturalId(LocationPoint source,
RemoteLocationPointNaturalId target)
Copies the fields of the specified entity to the target value object. |
protected RemoteLocationPointNaturalId |
toRemoteLocationPointNaturalId(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteLocationPointNaturalId[] |
toRemoteLocationPointNaturalIdArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteLocationPointNaturalId . |
void |
toRemoteLocationPointNaturalIdCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteLocationPointNaturalId . |
protected void |
transformEntities(int transform,
java.util.Collection entities)
Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.location.LocationPoint)
method. |
protected java.lang.Object |
transformEntity(int transform,
LocationPoint 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.LocationPointDao , please note
that the LocationPointDao.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(LocationPoint locationPoint)
Updates the locationPoint 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.LocationPointDao |
---|
clusterLocationPointToEntity, remoteLocationPointFullVOToEntity, remoteLocationPointNaturalIdToEntity |
Constructor Detail |
---|
public LocationPointDaoBase()
Method Detail |
---|
public void setLocationDao(LocationDao locationDao)
locationDao
.
protected LocationDao getLocationDao()
locationDao
.
public java.lang.Object load(int transform, java.lang.Integer id)
LocationPointDao
Does the same thing as LocationPointDao.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 LocationPointDao
id
- identifier of the entity to load
LocationPointDao.load(int, java.lang.Integer)
public LocationPoint load(java.lang.Integer id)
LocationPointDao
load
in interface LocationPointDao
LocationPointDao.load(java.lang.Integer)
public java.util.Collection loadAll()
LocationPointDao
LocationPoint
.
loadAll
in interface LocationPointDao
LocationPointDao.loadAll()
public java.util.Collection loadAll(int transform)
LocationPointDao
Does the same thing as LocationPointDao.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 LocationPointDao
transform
- the flag indicating what transformation to use.
LocationPointDao.loadAll(int)
public java.util.Collection loadAll(int pageNumber, int pageSize)
LocationPointDao
Does the same thing as LocationPointDao.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 LocationPointDao
pageNumber
- the page number to retrieve when paging results.pageSize
- the size of the page to retrieve when paging results.
LocationPointDao.loadAll(int, int)
public java.util.Collection loadAll(int transform, int pageNumber, int pageSize)
LocationPointDao
Does the same thing as LocationPointDao.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 LocationPointDao
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.
LocationPointDao.loadAll(int, int, int)
public LocationPoint create(LocationPoint locationPoint)
LocationPointDao
create
in interface LocationPointDao
LocationPointDao.create(fr.ifremer.allegro.referential.location.LocationPoint)
public java.lang.Object create(int transform, LocationPoint locationPoint)
LocationPointDao
Does the same thing as LocationPointDao.create(fr.ifremer.allegro.referential.location.LocationPoint)
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 LocationPointDao
LocationPointDao.create(int transform, fr.ifremer.allegro.referential.location.LocationPoint)
public java.util.Collection create(java.util.Collection entities)
LocationPointDao
entities
collection
create
in interface LocationPointDao
entities
- the collection of fr.ifremer.allegro.referential.location.LocationPoint
instances to create.
LocationPointDao.create(java.util.Collection)
public java.util.Collection create(int transform, java.util.Collection entities)
LocationPointDao
Does the same thing as LocationPointDao.create(fr.ifremer.allegro.referential.location.LocationPoint)
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 LocationPointDao
LocationPointDao.create(int, java.util.Collection)
public LocationPoint create(Location location)
LocationPointDao
Creates a new fr.ifremer.allegro.referential.location.LocationPoint
instance from all attributes and
properties and adds it to the persistent store.
create
in interface LocationPointDao
LocationPointDao.create(fr.ifremer.allegro.referential.location.Location)
public java.lang.Object create(int transform, Location location)
LocationPointDao
Does the same thing as LocationPointDao.create(fr.ifremer.allegro.referential.location.Location)
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 LocationPointDao
LocationPointDao.create(int, fr.ifremer.allegro.referential.location.Location)
public void update(LocationPoint locationPoint)
LocationPointDao
locationPoint
instance in the persistent store.
update
in interface LocationPointDao
LocationPointDao.update(fr.ifremer.allegro.referential.location.LocationPoint)
public void update(java.util.Collection entities)
LocationPointDao
entities
collection in the persistent store.
update
in interface LocationPointDao
LocationPointDao.update(java.util.Collection)
public void remove(LocationPoint locationPoint)
LocationPointDao
remove
in interface LocationPointDao
LocationPointDao.remove(fr.ifremer.allegro.referential.location.LocationPoint)
public void remove(java.lang.Integer id)
LocationPointDao
identifier
from the persistent store.
remove
in interface LocationPointDao
LocationPointDao.remove(java.lang.Integer)
public void remove(java.util.Collection entities)
LocationPointDao
entities collection.
- Specified by:
remove
in interface LocationPointDao
- See Also:
LocationPointDao.remove(java.util.Collection)
public java.util.Collection getAllLocationPoint()
getAllLocationPoint
in interface LocationPointDao
LocationPointDao.getAllLocationPoint()
public java.util.Collection getAllLocationPoint(int transform)
LocationPointDao
Does the same thing as LocationPointDao.getAllLocationPoint()
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.
getAllLocationPoint
in interface LocationPointDao
LocationPointDao.getAllLocationPoint(int)
public java.util.Collection getAllLocationPoint(java.lang.String queryString)
LocationPointDao
Does the same thing as LocationPointDao.getAllLocationPoint()
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in LocationPointDao.getAllLocationPoint()
.
getAllLocationPoint
in interface LocationPointDao
LocationPointDao.getAllLocationPoint(java.lang.String)
public java.util.Collection getAllLocationPoint(int pageNumber, int pageSize)
LocationPointDao
Does the same thing as LocationPointDao.getAllLocationPoint()
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.
getAllLocationPoint
in interface LocationPointDao
LocationPointDao.getAllLocationPoint(int, int)
public java.util.Collection getAllLocationPoint(java.lang.String queryString, int pageNumber, int pageSize)
LocationPointDao
Does the same thing as LocationPointDao.getAllLocationPoint(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.
getAllLocationPoint
in interface LocationPointDao
LocationPointDao.getAllLocationPoint(String, int, int)
public java.util.Collection getAllLocationPoint(int transform, java.lang.String queryString)
LocationPointDao
Does the same thing as LocationPointDao.getAllLocationPoint(int)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in LocationPointDao.getAllLocationPoint(int)
.
getAllLocationPoint
in interface LocationPointDao
LocationPointDao.getAllLocationPoint(int, String)
public java.util.Collection getAllLocationPoint(int transform, int pageNumber, int pageSize)
LocationPointDao
Does the same thing as LocationPointDao.getAllLocationPoint(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.
getAllLocationPoint
in interface LocationPointDao
LocationPointDao.getAllLocationPoint(int, int, int)
public java.util.Collection getAllLocationPoint(int transform, java.lang.String queryString, int pageNumber, int pageSize)
LocationPointDao
Does the same thing as LocationPointDao.getAllLocationPoint(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.
getAllLocationPoint
in interface LocationPointDao
LocationPointDao.getAllLocationPoint(int, java.lang.String, int, int)
public LocationPoint findLocationPointById(java.lang.Integer id)
findLocationPointById
in interface LocationPointDao
LocationPointDao.findLocationPointById(java.lang.Integer)
public java.lang.Object findLocationPointById(int transform, java.lang.Integer id)
LocationPointDao
Does the same thing as LocationPointDao.findLocationPointById(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.
findLocationPointById
in interface LocationPointDao
LocationPointDao.findLocationPointById(int, java.lang.Integer)
public LocationPoint findLocationPointById(java.lang.String queryString, java.lang.Integer id)
LocationPointDao
Does the same thing as LocationPointDao.findLocationPointById(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in LocationPointDao.findLocationPointById(java.lang.Integer)
.
findLocationPointById
in interface LocationPointDao
LocationPointDao.findLocationPointById(java.lang.String, java.lang.Integer)
public java.lang.Object findLocationPointById(int transform, java.lang.String queryString, java.lang.Integer id)
LocationPointDao
Does the same thing as LocationPointDao.findLocationPointById(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in LocationPointDao.findLocationPointById(int, java.lang.Integer id)
.
findLocationPointById
in interface LocationPointDao
LocationPointDao.findLocationPointById(int, java.lang.String, java.lang.Integer)
public java.util.Collection findLocationPointByLocation(Location location)
findLocationPointByLocation
in interface LocationPointDao
LocationPointDao.findLocationPointByLocation(fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findLocationPointByLocation(int transform, Location location)
LocationPointDao
Does the same thing as LocationPointDao.findLocationPointByLocation(fr.ifremer.allegro.referential.location.Location)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
findLocationPointByLocation
in interface LocationPointDao
LocationPointDao.findLocationPointByLocation(int, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findLocationPointByLocation(java.lang.String queryString, Location location)
LocationPointDao
Does the same thing as LocationPointDao.findLocationPointByLocation(fr.ifremer.allegro.referential.location.Location)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in LocationPointDao.findLocationPointByLocation(fr.ifremer.allegro.referential.location.Location)
.
findLocationPointByLocation
in interface LocationPointDao
LocationPointDao.findLocationPointByLocation(java.lang.String, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findLocationPointByLocation(int pageNumber, int pageSize, Location location)
LocationPointDao
Does the same thing as LocationPointDao.findLocationPointByLocation(fr.ifremer.allegro.referential.location.Location)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findLocationPointByLocation
in interface LocationPointDao
LocationPointDao.findLocationPointByLocation(int, int, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findLocationPointByLocation(java.lang.String queryString, int pageNumber, int pageSize, Location location)
LocationPointDao
Does the same thing as LocationPointDao.findLocationPointByLocation(String, fr.ifremer.allegro.referential.location.Location)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findLocationPointByLocation
in interface LocationPointDao
LocationPointDao.findLocationPointByLocation(String, int, int, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findLocationPointByLocation(int transform, java.lang.String queryString, Location location)
LocationPointDao
Does the same thing as LocationPointDao.findLocationPointByLocation(int, fr.ifremer.allegro.referential.location.Location)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in LocationPointDao.findLocationPointByLocation(int, fr.ifremer.allegro.referential.location.Location location)
.
findLocationPointByLocation
in interface LocationPointDao
LocationPointDao.findLocationPointByLocation(int, String, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findLocationPointByLocation(int transform, int pageNumber, int pageSize, Location location)
LocationPointDao
Does the same thing as LocationPointDao.findLocationPointByLocation(int, fr.ifremer.allegro.referential.location.Location)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findLocationPointByLocation
in interface LocationPointDao
LocationPointDao.findLocationPointByLocation(int, int, int, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findLocationPointByLocation(int transform, java.lang.String queryString, int pageNumber, int pageSize, Location location)
LocationPointDao
Does the same thing as LocationPointDao.findLocationPointByLocation(int, String, fr.ifremer.allegro.referential.location.Location)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findLocationPointByLocation
in interface LocationPointDao
LocationPointDao.findLocationPointByLocation(int, java.lang.String, int, int, fr.ifremer.allegro.referential.location.Location)
public LocationPoint findLocationPointByNaturalId(java.lang.Integer id)
findLocationPointByNaturalId
in interface LocationPointDao
LocationPointDao.findLocationPointByNaturalId(java.lang.Integer)
public java.lang.Object findLocationPointByNaturalId(int transform, java.lang.Integer id)
LocationPointDao
Does the same thing as LocationPointDao.findLocationPointByNaturalId(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.
findLocationPointByNaturalId
in interface LocationPointDao
LocationPointDao.findLocationPointByNaturalId(int, java.lang.Integer)
public LocationPoint findLocationPointByNaturalId(java.lang.String queryString, java.lang.Integer id)
LocationPointDao
Does the same thing as LocationPointDao.findLocationPointByNaturalId(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in LocationPointDao.findLocationPointByNaturalId(java.lang.Integer)
.
findLocationPointByNaturalId
in interface LocationPointDao
LocationPointDao.findLocationPointByNaturalId(java.lang.String, java.lang.Integer)
public java.lang.Object findLocationPointByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
LocationPointDao
Does the same thing as LocationPointDao.findLocationPointByNaturalId(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in LocationPointDao.findLocationPointByNaturalId(int, java.lang.Integer id)
.
findLocationPointByNaturalId
in interface LocationPointDao
LocationPointDao.findLocationPointByNaturalId(int, java.lang.String, java.lang.Integer)
public LocationPoint createFromClusterLocationPoint(ClusterLocationPoint clusterLocationPoint)
createFromClusterLocationPoint
in interface LocationPointDao
LocationPointDao.createFromClusterLocationPoint(fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationPoint)
protected abstract LocationPoint handleCreateFromClusterLocationPoint(ClusterLocationPoint clusterLocationPoint) throws java.lang.Exception
createFromClusterLocationPoint(fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationPoint)
java.lang.Exception
protected java.lang.Object transformEntity(int transform, LocationPoint entity)
transform
flag is set to one of the constants defined in fr.ifremer.allegro.referential.location.LocationPointDao
, please note
that the LocationPointDao.TRANSFORM_NONE
constant denotes no transformation, so the entity itself
will be returned.
This method will return instances of these types:
LocationPoint
- LocationPointDao.TRANSFORM_NONE
RemoteLocationPointFullVO
- TRANSFORM_REMOTELOCATIONPOINTFULLVO
RemoteLocationPointNaturalId
- TRANSFORM_REMOTELOCATIONPOINTNATURALID
ClusterLocationPoint
- TRANSFORM_CLUSTERLOCATIONPOINT
LocationPointDao.TRANSFORM_NONE
is assumed.
transform
- one of the constants declared in LocationPointDao
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.LocationPoint)
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.LocationPointDao
entities
- the collection of entities to transformtransformEntity(int,fr.ifremer.allegro.referential.location.LocationPoint)
protected LocationPoint toEntity(java.lang.Object[] row)
public final void toRemoteLocationPointFullVOCollection(java.util.Collection entities)
LocationPointDao
RemoteLocationPointFullVO
.
toRemoteLocationPointFullVOCollection
in interface LocationPointDao
LocationPointDao.toRemoteLocationPointFullVOCollection(java.util.Collection)
public final RemoteLocationPointFullVO[] toRemoteLocationPointFullVOArray(java.util.Collection entities)
LocationPointDao
RemoteLocationPointFullVO
.
toRemoteLocationPointFullVOArray
in interface LocationPointDao
LocationPointDao.toRemoteLocationPointFullVOArray(java.util.Collection)
protected RemoteLocationPointFullVO toRemoteLocationPointFullVO(java.lang.Object[] row)
LocationPointDaoImpl
class if you intend to use reporting queries.
LocationPointDao.toRemoteLocationPointFullVO(fr.ifremer.allegro.referential.location.LocationPoint)
public final void remoteLocationPointFullVOToEntityCollection(java.util.Collection instances)
LocationPointDao
RemoteLocationPointFullVO
to this
DAO's entity.
remoteLocationPointFullVOToEntityCollection
in interface LocationPointDao
LocationPointDao.remoteLocationPointFullVOToEntityCollection(java.util.Collection)
public void toRemoteLocationPointFullVO(LocationPoint source, RemoteLocationPointFullVO target)
LocationPointDao
toRemoteLocationPointFullVO
in interface LocationPointDao
LocationPointDao.toRemoteLocationPointFullVO(fr.ifremer.allegro.referential.location.LocationPoint, fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationPointFullVO)
public RemoteLocationPointFullVO toRemoteLocationPointFullVO(LocationPoint entity)
LocationPointDao
RemoteLocationPointFullVO
.
toRemoteLocationPointFullVO
in interface LocationPointDao
LocationPointDao.toRemoteLocationPointFullVO(fr.ifremer.allegro.referential.location.LocationPoint)
public void remoteLocationPointFullVOToEntity(RemoteLocationPointFullVO source, LocationPoint target, boolean copyIfNull)
LocationPointDao
RemoteLocationPointFullVO
to the specified entity.
remoteLocationPointFullVOToEntity
in interface LocationPointDao
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.LocationPointDao#remoteLocationPointFullVOToEntity(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationPointFullVO, fr.ifremer.allegro.referential.location.LocationPoint)
public final void toRemoteLocationPointNaturalIdCollection(java.util.Collection entities)
LocationPointDao
RemoteLocationPointNaturalId
.
toRemoteLocationPointNaturalIdCollection
in interface LocationPointDao
LocationPointDao.toRemoteLocationPointNaturalIdCollection(java.util.Collection)
public final RemoteLocationPointNaturalId[] toRemoteLocationPointNaturalIdArray(java.util.Collection entities)
LocationPointDao
RemoteLocationPointNaturalId
.
toRemoteLocationPointNaturalIdArray
in interface LocationPointDao
LocationPointDao.toRemoteLocationPointNaturalIdArray(java.util.Collection)
protected RemoteLocationPointNaturalId toRemoteLocationPointNaturalId(java.lang.Object[] row)
LocationPointDaoImpl
class if you intend to use reporting queries.
LocationPointDao.toRemoteLocationPointNaturalId(fr.ifremer.allegro.referential.location.LocationPoint)
public final void remoteLocationPointNaturalIdToEntityCollection(java.util.Collection instances)
LocationPointDao
RemoteLocationPointNaturalId
to this
DAO's entity.
remoteLocationPointNaturalIdToEntityCollection
in interface LocationPointDao
LocationPointDao.remoteLocationPointNaturalIdToEntityCollection(java.util.Collection)
public void toRemoteLocationPointNaturalId(LocationPoint source, RemoteLocationPointNaturalId target)
LocationPointDao
toRemoteLocationPointNaturalId
in interface LocationPointDao
LocationPointDao.toRemoteLocationPointNaturalId(fr.ifremer.allegro.referential.location.LocationPoint, fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationPointNaturalId)
public RemoteLocationPointNaturalId toRemoteLocationPointNaturalId(LocationPoint entity)
LocationPointDao
RemoteLocationPointNaturalId
.
toRemoteLocationPointNaturalId
in interface LocationPointDao
LocationPointDao.toRemoteLocationPointNaturalId(fr.ifremer.allegro.referential.location.LocationPoint)
public void remoteLocationPointNaturalIdToEntity(RemoteLocationPointNaturalId source, LocationPoint target, boolean copyIfNull)
LocationPointDao
RemoteLocationPointNaturalId
to the specified entity.
remoteLocationPointNaturalIdToEntity
in interface LocationPointDao
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.LocationPointDao#remoteLocationPointNaturalIdToEntity(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationPointNaturalId, fr.ifremer.allegro.referential.location.LocationPoint)
public final void toClusterLocationPointCollection(java.util.Collection entities)
LocationPointDao
ClusterLocationPoint
.
toClusterLocationPointCollection
in interface LocationPointDao
LocationPointDao.toClusterLocationPointCollection(java.util.Collection)
public final ClusterLocationPoint[] toClusterLocationPointArray(java.util.Collection entities)
LocationPointDao
ClusterLocationPoint
.
toClusterLocationPointArray
in interface LocationPointDao
LocationPointDao.toClusterLocationPointArray(java.util.Collection)
protected ClusterLocationPoint toClusterLocationPoint(java.lang.Object[] row)
LocationPointDaoImpl
class if you intend to use reporting queries.
LocationPointDao.toClusterLocationPoint(fr.ifremer.allegro.referential.location.LocationPoint)
public final void clusterLocationPointToEntityCollection(java.util.Collection instances)
LocationPointDao
ClusterLocationPoint
to this
DAO's entity.
clusterLocationPointToEntityCollection
in interface LocationPointDao
LocationPointDao.clusterLocationPointToEntityCollection(java.util.Collection)
public void toClusterLocationPoint(LocationPoint source, ClusterLocationPoint target)
LocationPointDao
toClusterLocationPoint
in interface LocationPointDao
LocationPointDao.toClusterLocationPoint(fr.ifremer.allegro.referential.location.LocationPoint, fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationPoint)
public ClusterLocationPoint toClusterLocationPoint(LocationPoint entity)
LocationPointDao
ClusterLocationPoint
.
toClusterLocationPoint
in interface LocationPointDao
LocationPointDao.toClusterLocationPoint(fr.ifremer.allegro.referential.location.LocationPoint)
public void clusterLocationPointToEntity(ClusterLocationPoint source, LocationPoint target, boolean copyIfNull)
LocationPointDao
ClusterLocationPoint
to the specified entity.
clusterLocationPointToEntity
in interface LocationPointDao
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.LocationPointDao#clusterLocationPointToEntity(fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationPoint, fr.ifremer.allegro.referential.location.LocationPoint)
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)
LocationPointDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface LocationPointDao
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.LocationPointDao.search(int, int, int, fr.ifremer.allegro.Search)
public PaginationResult search(int pageNumber, int pageSize, Search search)
LocationPointDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface LocationPointDao
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.LocationPointDao.search(int, int, fr.ifremer.allegro.Search)
public java.util.Set search(int transform, Search search)
LocationPointDao
LocationPointDao.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 LocationPointDao
transform
- the transformation flag.search
- the search object which provides the search parameters and pagination specification.
LocationPointDao.search(int, fr.ifremer.allegro.Search)
public java.util.Set search(Search search)
LocationPointDao
search
object.
search
in interface LocationPointDao
search
- the search object which provides the search parameters and pagination specification.
LocationPointDao.search(fr.ifremer.allegro.Search)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |