|
||||||||||
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.LocationLineDaoBase
public abstract class LocationLineDaoBase
Base Spring DAO Class: is able to create, update, remove, load, and find
objects of type fr.ifremer.allegro.referential.location.LocationLine
.
LocationLine
Field Summary |
---|
Fields inherited from interface fr.ifremer.allegro.referential.location.LocationLineDao |
---|
TRANSFORM_CLUSTERLOCATIONLINE, TRANSFORM_NONE, TRANSFORM_REMOTELOCATIONLINEFULLVO, TRANSFORM_REMOTELOCATIONLINENATURALID |
Constructor Summary | |
---|---|
LocationLineDaoBase()
|
Method Summary | |
---|---|
void |
clusterLocationLineToEntity(ClusterLocationLine source,
LocationLine target,
boolean copyIfNull)
Copies the fields of ClusterLocationLine to the specified entity. |
void |
clusterLocationLineToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type ClusterLocationLine to this
DAO's entity. |
java.util.Collection |
create(java.util.Collection entities)
Creates a new instance of fr.ifremer.allegro.referential.location.LocationLine and adds from the passed in entities collection |
java.util.Collection |
create(int transform,
java.util.Collection entities)
Does the same thing as LocationLineDao.create(fr.ifremer.allegro.referential.location.LocationLine) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
Location location)
Does the same thing as LocationLineDao.create(fr.ifremer.allegro.referential.location.Location) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
LocationLine locationLine)
Does the same thing as LocationLineDao.create(fr.ifremer.allegro.referential.location.LocationLine) with an
additional flag called transform . |
LocationLine |
create(Location location)
Creates a new fr.ifremer.allegro.referential.location.LocationLine
instance from all attributes and
properties and adds it to the persistent store. |
LocationLine |
create(LocationLine locationLine)
Creates an instance of fr.ifremer.allegro.referential.location.LocationLine and adds it to the persistent store. |
LocationLine |
createFromClusterLocationLine(ClusterLocationLine clusterLocationLine)
|
LocationLine |
findLocationLineById(java.lang.Integer id)
|
java.lang.Object |
findLocationLineById(int transform,
java.lang.Integer id)
Does the same thing as LocationLineDao.findLocationLineById(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findLocationLineById(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as LocationLineDao.findLocationLineById(int, java.lang.Integer) with an
additional argument called queryString . |
LocationLine |
findLocationLineById(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as LocationLineDao.findLocationLineById(java.lang.Integer) with an
additional argument called queryString . |
java.util.Collection |
findLocationLineByLocation(int transform,
int pageNumber,
int pageSize,
Location location)
Does the same thing as LocationLineDao.findLocationLineByLocation(int, fr.ifremer.allegro.referential.location.Location) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findLocationLineByLocation(int pageNumber,
int pageSize,
Location location)
Does the same thing as LocationLineDao.findLocationLineByLocation(fr.ifremer.allegro.referential.location.Location) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findLocationLineByLocation(int transform,
Location location)
Does the same thing as LocationLineDao.findLocationLineByLocation(fr.ifremer.allegro.referential.location.Location) with an
additional flag called transform . |
java.util.Collection |
findLocationLineByLocation(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
Location location)
Does the same thing as LocationLineDao.findLocationLineByLocation(int, String, fr.ifremer.allegro.referential.location.Location) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findLocationLineByLocation(int transform,
java.lang.String queryString,
Location location)
Does the same thing as LocationLineDao.findLocationLineByLocation(int, fr.ifremer.allegro.referential.location.Location) with an
additional argument called queryString . |
java.util.Collection |
findLocationLineByLocation(Location location)
|
java.util.Collection |
findLocationLineByLocation(java.lang.String queryString,
int pageNumber,
int pageSize,
Location location)
Does the same thing as LocationLineDao.findLocationLineByLocation(String, fr.ifremer.allegro.referential.location.Location) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findLocationLineByLocation(java.lang.String queryString,
Location location)
Does the same thing as LocationLineDao.findLocationLineByLocation(fr.ifremer.allegro.referential.location.Location) with an
additional argument called queryString . |
LocationLine |
findLocationLineByNaturalId(java.lang.Integer id)
|
java.lang.Object |
findLocationLineByNaturalId(int transform,
java.lang.Integer id)
Does the same thing as LocationLineDao.findLocationLineByNaturalId(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findLocationLineByNaturalId(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as LocationLineDao.findLocationLineByNaturalId(int, java.lang.Integer) with an
additional argument called queryString . |
LocationLine |
findLocationLineByNaturalId(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as LocationLineDao.findLocationLineByNaturalId(java.lang.Integer) with an
additional argument called queryString . |
java.util.Collection |
getAllLocationLine()
|
java.util.Collection |
getAllLocationLine(int transform)
Does the same thing as LocationLineDao.getAllLocationLine() with an
additional flag called transform . |
java.util.Collection |
getAllLocationLine(int pageNumber,
int pageSize)
Does the same thing as LocationLineDao.getAllLocationLine() with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllLocationLine(int transform,
int pageNumber,
int pageSize)
Does the same thing as LocationLineDao.getAllLocationLine(int) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllLocationLine(int transform,
java.lang.String queryString)
Does the same thing as LocationLineDao.getAllLocationLine(int) with an
additional argument called queryString . |
java.util.Collection |
getAllLocationLine(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as LocationLineDao.getAllLocationLine(int, String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllLocationLine(java.lang.String queryString)
Does the same thing as LocationLineDao.getAllLocationLine() with an
additional argument called queryString . |
java.util.Collection |
getAllLocationLine(java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as LocationLineDao.getAllLocationLine(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 LocationLine |
handleCreateFromClusterLocationLine(ClusterLocationLine clusterLocationLine)
Performs the core logic for createFromClusterLocationLine(fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationLine) |
LocationLine |
load(java.lang.Integer id)
Loads an instance of fr.ifremer.allegro.referential.location.LocationLine from the persistent store. |
java.lang.Object |
load(int transform,
java.lang.Integer id)
Does the same thing as LocationLineDao.load(java.lang.Integer) with an
additional flag called transform . |
java.util.Collection |
loadAll()
Loads all entities of type LocationLine . |
java.util.Collection |
loadAll(int transform)
Does the same thing as LocationLineDao.loadAll() with an
additional flag called transform . |
java.util.Collection |
loadAll(int pageNumber,
int pageSize)
Does the same thing as LocationLineDao.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 LocationLineDao.loadAll(int) with an
additional two arguments called pageNumber and pageSize . |
void |
remoteLocationLineFullVOToEntity(RemoteLocationLineFullVO source,
LocationLine target,
boolean copyIfNull)
Copies the fields of RemoteLocationLineFullVO to the specified entity. |
void |
remoteLocationLineFullVOToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteLocationLineFullVO to this
DAO's entity. |
void |
remoteLocationLineNaturalIdToEntity(RemoteLocationLineNaturalId source,
LocationLine target,
boolean copyIfNull)
Copies the fields of RemoteLocationLineNaturalId to the specified entity. |
void |
remoteLocationLineNaturalIdToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteLocationLineNaturalId 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.LocationLine having the given identifier from the persistent store. |
void |
remove(LocationLine locationLine)
Removes the instance of fr.ifremer.allegro.referential.location.LocationLine 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 LocationLineDao.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 . |
ClusterLocationLine |
toClusterLocationLine(LocationLine entity)
Converts this DAO's entity to an object of type ClusterLocationLine . |
void |
toClusterLocationLine(LocationLine source,
ClusterLocationLine target)
Copies the fields of the specified entity to the target value object. |
protected ClusterLocationLine |
toClusterLocationLine(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
ClusterLocationLine[] |
toClusterLocationLineArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type ClusterLocationLine . |
void |
toClusterLocationLineCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type ClusterLocationLine . |
protected LocationLine |
toEntity(java.lang.Object[] row)
|
RemoteLocationLineFullVO |
toRemoteLocationLineFullVO(LocationLine entity)
Converts this DAO's entity to an object of type RemoteLocationLineFullVO . |
void |
toRemoteLocationLineFullVO(LocationLine source,
RemoteLocationLineFullVO target)
Copies the fields of the specified entity to the target value object. |
protected RemoteLocationLineFullVO |
toRemoteLocationLineFullVO(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteLocationLineFullVO[] |
toRemoteLocationLineFullVOArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteLocationLineFullVO . |
void |
toRemoteLocationLineFullVOCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteLocationLineFullVO . |
RemoteLocationLineNaturalId |
toRemoteLocationLineNaturalId(LocationLine entity)
Converts this DAO's entity to an object of type RemoteLocationLineNaturalId . |
void |
toRemoteLocationLineNaturalId(LocationLine source,
RemoteLocationLineNaturalId target)
Copies the fields of the specified entity to the target value object. |
protected RemoteLocationLineNaturalId |
toRemoteLocationLineNaturalId(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteLocationLineNaturalId[] |
toRemoteLocationLineNaturalIdArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteLocationLineNaturalId . |
void |
toRemoteLocationLineNaturalIdCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteLocationLineNaturalId . |
protected void |
transformEntities(int transform,
java.util.Collection entities)
Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.location.LocationLine)
method. |
protected java.lang.Object |
transformEntity(int transform,
LocationLine 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.LocationLineDao , please note
that the LocationLineDao.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(LocationLine locationLine)
Updates the locationLine 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.LocationLineDao |
---|
clusterLocationLineToEntity, remoteLocationLineFullVOToEntity, remoteLocationLineNaturalIdToEntity |
Constructor Detail |
---|
public LocationLineDaoBase()
Method Detail |
---|
public void setLocationDao(LocationDao locationDao)
locationDao
.
protected LocationDao getLocationDao()
locationDao
.
public java.lang.Object load(int transform, java.lang.Integer id)
LocationLineDao
Does the same thing as LocationLineDao.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 LocationLineDao
id
- identifier of the entity to load
LocationLineDao.load(int, java.lang.Integer)
public LocationLine load(java.lang.Integer id)
LocationLineDao
load
in interface LocationLineDao
LocationLineDao.load(java.lang.Integer)
public java.util.Collection loadAll()
LocationLineDao
LocationLine
.
loadAll
in interface LocationLineDao
LocationLineDao.loadAll()
public java.util.Collection loadAll(int transform)
LocationLineDao
Does the same thing as LocationLineDao.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 LocationLineDao
transform
- the flag indicating what transformation to use.
LocationLineDao.loadAll(int)
public java.util.Collection loadAll(int pageNumber, int pageSize)
LocationLineDao
Does the same thing as LocationLineDao.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 LocationLineDao
pageNumber
- the page number to retrieve when paging results.pageSize
- the size of the page to retrieve when paging results.
LocationLineDao.loadAll(int, int)
public java.util.Collection loadAll(int transform, int pageNumber, int pageSize)
LocationLineDao
Does the same thing as LocationLineDao.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 LocationLineDao
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.
LocationLineDao.loadAll(int, int, int)
public LocationLine create(LocationLine locationLine)
LocationLineDao
create
in interface LocationLineDao
LocationLineDao.create(fr.ifremer.allegro.referential.location.LocationLine)
public java.lang.Object create(int transform, LocationLine locationLine)
LocationLineDao
Does the same thing as LocationLineDao.create(fr.ifremer.allegro.referential.location.LocationLine)
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 LocationLineDao
LocationLineDao.create(int transform, fr.ifremer.allegro.referential.location.LocationLine)
public java.util.Collection create(java.util.Collection entities)
LocationLineDao
entities
collection
create
in interface LocationLineDao
entities
- the collection of fr.ifremer.allegro.referential.location.LocationLine
instances to create.
LocationLineDao.create(java.util.Collection)
public java.util.Collection create(int transform, java.util.Collection entities)
LocationLineDao
Does the same thing as LocationLineDao.create(fr.ifremer.allegro.referential.location.LocationLine)
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 LocationLineDao
LocationLineDao.create(int, java.util.Collection)
public LocationLine create(Location location)
LocationLineDao
Creates a new fr.ifremer.allegro.referential.location.LocationLine
instance from all attributes and
properties and adds it to the persistent store.
create
in interface LocationLineDao
LocationLineDao.create(fr.ifremer.allegro.referential.location.Location)
public java.lang.Object create(int transform, Location location)
LocationLineDao
Does the same thing as LocationLineDao.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 LocationLineDao
LocationLineDao.create(int, fr.ifremer.allegro.referential.location.Location)
public void update(LocationLine locationLine)
LocationLineDao
locationLine
instance in the persistent store.
update
in interface LocationLineDao
LocationLineDao.update(fr.ifremer.allegro.referential.location.LocationLine)
public void update(java.util.Collection entities)
LocationLineDao
entities
collection in the persistent store.
update
in interface LocationLineDao
LocationLineDao.update(java.util.Collection)
public void remove(LocationLine locationLine)
LocationLineDao
remove
in interface LocationLineDao
LocationLineDao.remove(fr.ifremer.allegro.referential.location.LocationLine)
public void remove(java.lang.Integer id)
LocationLineDao
identifier
from the persistent store.
remove
in interface LocationLineDao
LocationLineDao.remove(java.lang.Integer)
public void remove(java.util.Collection entities)
LocationLineDao
entities collection.
- Specified by:
remove
in interface LocationLineDao
- See Also:
LocationLineDao.remove(java.util.Collection)
public java.util.Collection getAllLocationLine()
getAllLocationLine
in interface LocationLineDao
LocationLineDao.getAllLocationLine()
public java.util.Collection getAllLocationLine(int transform)
LocationLineDao
Does the same thing as LocationLineDao.getAllLocationLine()
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.
getAllLocationLine
in interface LocationLineDao
LocationLineDao.getAllLocationLine(int)
public java.util.Collection getAllLocationLine(java.lang.String queryString)
LocationLineDao
Does the same thing as LocationLineDao.getAllLocationLine()
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in LocationLineDao.getAllLocationLine()
.
getAllLocationLine
in interface LocationLineDao
LocationLineDao.getAllLocationLine(java.lang.String)
public java.util.Collection getAllLocationLine(int pageNumber, int pageSize)
LocationLineDao
Does the same thing as LocationLineDao.getAllLocationLine()
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.
getAllLocationLine
in interface LocationLineDao
LocationLineDao.getAllLocationLine(int, int)
public java.util.Collection getAllLocationLine(java.lang.String queryString, int pageNumber, int pageSize)
LocationLineDao
Does the same thing as LocationLineDao.getAllLocationLine(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.
getAllLocationLine
in interface LocationLineDao
LocationLineDao.getAllLocationLine(String, int, int)
public java.util.Collection getAllLocationLine(int transform, java.lang.String queryString)
LocationLineDao
Does the same thing as LocationLineDao.getAllLocationLine(int)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in LocationLineDao.getAllLocationLine(int)
.
getAllLocationLine
in interface LocationLineDao
LocationLineDao.getAllLocationLine(int, String)
public java.util.Collection getAllLocationLine(int transform, int pageNumber, int pageSize)
LocationLineDao
Does the same thing as LocationLineDao.getAllLocationLine(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.
getAllLocationLine
in interface LocationLineDao
LocationLineDao.getAllLocationLine(int, int, int)
public java.util.Collection getAllLocationLine(int transform, java.lang.String queryString, int pageNumber, int pageSize)
LocationLineDao
Does the same thing as LocationLineDao.getAllLocationLine(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.
getAllLocationLine
in interface LocationLineDao
LocationLineDao.getAllLocationLine(int, java.lang.String, int, int)
public LocationLine findLocationLineById(java.lang.Integer id)
findLocationLineById
in interface LocationLineDao
LocationLineDao.findLocationLineById(java.lang.Integer)
public java.lang.Object findLocationLineById(int transform, java.lang.Integer id)
LocationLineDao
Does the same thing as LocationLineDao.findLocationLineById(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.
findLocationLineById
in interface LocationLineDao
LocationLineDao.findLocationLineById(int, java.lang.Integer)
public LocationLine findLocationLineById(java.lang.String queryString, java.lang.Integer id)
LocationLineDao
Does the same thing as LocationLineDao.findLocationLineById(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in LocationLineDao.findLocationLineById(java.lang.Integer)
.
findLocationLineById
in interface LocationLineDao
LocationLineDao.findLocationLineById(java.lang.String, java.lang.Integer)
public java.lang.Object findLocationLineById(int transform, java.lang.String queryString, java.lang.Integer id)
LocationLineDao
Does the same thing as LocationLineDao.findLocationLineById(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in LocationLineDao.findLocationLineById(int, java.lang.Integer id)
.
findLocationLineById
in interface LocationLineDao
LocationLineDao.findLocationLineById(int, java.lang.String, java.lang.Integer)
public java.util.Collection findLocationLineByLocation(Location location)
findLocationLineByLocation
in interface LocationLineDao
LocationLineDao.findLocationLineByLocation(fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findLocationLineByLocation(int transform, Location location)
LocationLineDao
Does the same thing as LocationLineDao.findLocationLineByLocation(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.
findLocationLineByLocation
in interface LocationLineDao
LocationLineDao.findLocationLineByLocation(int, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findLocationLineByLocation(java.lang.String queryString, Location location)
LocationLineDao
Does the same thing as LocationLineDao.findLocationLineByLocation(fr.ifremer.allegro.referential.location.Location)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in LocationLineDao.findLocationLineByLocation(fr.ifremer.allegro.referential.location.Location)
.
findLocationLineByLocation
in interface LocationLineDao
LocationLineDao.findLocationLineByLocation(java.lang.String, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findLocationLineByLocation(int pageNumber, int pageSize, Location location)
LocationLineDao
Does the same thing as LocationLineDao.findLocationLineByLocation(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.
findLocationLineByLocation
in interface LocationLineDao
LocationLineDao.findLocationLineByLocation(int, int, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findLocationLineByLocation(java.lang.String queryString, int pageNumber, int pageSize, Location location)
LocationLineDao
Does the same thing as LocationLineDao.findLocationLineByLocation(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.
findLocationLineByLocation
in interface LocationLineDao
LocationLineDao.findLocationLineByLocation(String, int, int, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findLocationLineByLocation(int transform, java.lang.String queryString, Location location)
LocationLineDao
Does the same thing as LocationLineDao.findLocationLineByLocation(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 LocationLineDao.findLocationLineByLocation(int, fr.ifremer.allegro.referential.location.Location location)
.
findLocationLineByLocation
in interface LocationLineDao
LocationLineDao.findLocationLineByLocation(int, String, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findLocationLineByLocation(int transform, int pageNumber, int pageSize, Location location)
LocationLineDao
Does the same thing as LocationLineDao.findLocationLineByLocation(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.
findLocationLineByLocation
in interface LocationLineDao
LocationLineDao.findLocationLineByLocation(int, int, int, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findLocationLineByLocation(int transform, java.lang.String queryString, int pageNumber, int pageSize, Location location)
LocationLineDao
Does the same thing as LocationLineDao.findLocationLineByLocation(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.
findLocationLineByLocation
in interface LocationLineDao
LocationLineDao.findLocationLineByLocation(int, java.lang.String, int, int, fr.ifremer.allegro.referential.location.Location)
public LocationLine findLocationLineByNaturalId(java.lang.Integer id)
findLocationLineByNaturalId
in interface LocationLineDao
LocationLineDao.findLocationLineByNaturalId(java.lang.Integer)
public java.lang.Object findLocationLineByNaturalId(int transform, java.lang.Integer id)
LocationLineDao
Does the same thing as LocationLineDao.findLocationLineByNaturalId(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.
findLocationLineByNaturalId
in interface LocationLineDao
LocationLineDao.findLocationLineByNaturalId(int, java.lang.Integer)
public LocationLine findLocationLineByNaturalId(java.lang.String queryString, java.lang.Integer id)
LocationLineDao
Does the same thing as LocationLineDao.findLocationLineByNaturalId(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in LocationLineDao.findLocationLineByNaturalId(java.lang.Integer)
.
findLocationLineByNaturalId
in interface LocationLineDao
LocationLineDao.findLocationLineByNaturalId(java.lang.String, java.lang.Integer)
public java.lang.Object findLocationLineByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
LocationLineDao
Does the same thing as LocationLineDao.findLocationLineByNaturalId(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in LocationLineDao.findLocationLineByNaturalId(int, java.lang.Integer id)
.
findLocationLineByNaturalId
in interface LocationLineDao
LocationLineDao.findLocationLineByNaturalId(int, java.lang.String, java.lang.Integer)
public LocationLine createFromClusterLocationLine(ClusterLocationLine clusterLocationLine)
createFromClusterLocationLine
in interface LocationLineDao
LocationLineDao.createFromClusterLocationLine(fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationLine)
protected abstract LocationLine handleCreateFromClusterLocationLine(ClusterLocationLine clusterLocationLine) throws java.lang.Exception
createFromClusterLocationLine(fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationLine)
java.lang.Exception
protected java.lang.Object transformEntity(int transform, LocationLine entity)
transform
flag is set to one of the constants defined in fr.ifremer.allegro.referential.location.LocationLineDao
, please note
that the LocationLineDao.TRANSFORM_NONE
constant denotes no transformation, so the entity itself
will be returned.
This method will return instances of these types:
LocationLine
- LocationLineDao.TRANSFORM_NONE
RemoteLocationLineFullVO
- TRANSFORM_REMOTELOCATIONLINEFULLVO
RemoteLocationLineNaturalId
- TRANSFORM_REMOTELOCATIONLINENATURALID
ClusterLocationLine
- TRANSFORM_CLUSTERLOCATIONLINE
LocationLineDao.TRANSFORM_NONE
is assumed.
transform
- one of the constants declared in LocationLineDao
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.LocationLine)
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.LocationLineDao
entities
- the collection of entities to transformtransformEntity(int,fr.ifremer.allegro.referential.location.LocationLine)
protected LocationLine toEntity(java.lang.Object[] row)
public final void toRemoteLocationLineFullVOCollection(java.util.Collection entities)
LocationLineDao
RemoteLocationLineFullVO
.
toRemoteLocationLineFullVOCollection
in interface LocationLineDao
LocationLineDao.toRemoteLocationLineFullVOCollection(java.util.Collection)
public final RemoteLocationLineFullVO[] toRemoteLocationLineFullVOArray(java.util.Collection entities)
LocationLineDao
RemoteLocationLineFullVO
.
toRemoteLocationLineFullVOArray
in interface LocationLineDao
LocationLineDao.toRemoteLocationLineFullVOArray(java.util.Collection)
protected RemoteLocationLineFullVO toRemoteLocationLineFullVO(java.lang.Object[] row)
LocationLineDaoImpl
class if you intend to use reporting queries.
LocationLineDao.toRemoteLocationLineFullVO(fr.ifremer.allegro.referential.location.LocationLine)
public final void remoteLocationLineFullVOToEntityCollection(java.util.Collection instances)
LocationLineDao
RemoteLocationLineFullVO
to this
DAO's entity.
remoteLocationLineFullVOToEntityCollection
in interface LocationLineDao
LocationLineDao.remoteLocationLineFullVOToEntityCollection(java.util.Collection)
public void toRemoteLocationLineFullVO(LocationLine source, RemoteLocationLineFullVO target)
LocationLineDao
toRemoteLocationLineFullVO
in interface LocationLineDao
LocationLineDao.toRemoteLocationLineFullVO(fr.ifremer.allegro.referential.location.LocationLine, fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationLineFullVO)
public RemoteLocationLineFullVO toRemoteLocationLineFullVO(LocationLine entity)
LocationLineDao
RemoteLocationLineFullVO
.
toRemoteLocationLineFullVO
in interface LocationLineDao
LocationLineDao.toRemoteLocationLineFullVO(fr.ifremer.allegro.referential.location.LocationLine)
public void remoteLocationLineFullVOToEntity(RemoteLocationLineFullVO source, LocationLine target, boolean copyIfNull)
LocationLineDao
RemoteLocationLineFullVO
to the specified entity.
remoteLocationLineFullVOToEntity
in interface LocationLineDao
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.LocationLineDao#remoteLocationLineFullVOToEntity(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationLineFullVO, fr.ifremer.allegro.referential.location.LocationLine)
public final void toRemoteLocationLineNaturalIdCollection(java.util.Collection entities)
LocationLineDao
RemoteLocationLineNaturalId
.
toRemoteLocationLineNaturalIdCollection
in interface LocationLineDao
LocationLineDao.toRemoteLocationLineNaturalIdCollection(java.util.Collection)
public final RemoteLocationLineNaturalId[] toRemoteLocationLineNaturalIdArray(java.util.Collection entities)
LocationLineDao
RemoteLocationLineNaturalId
.
toRemoteLocationLineNaturalIdArray
in interface LocationLineDao
LocationLineDao.toRemoteLocationLineNaturalIdArray(java.util.Collection)
protected RemoteLocationLineNaturalId toRemoteLocationLineNaturalId(java.lang.Object[] row)
LocationLineDaoImpl
class if you intend to use reporting queries.
LocationLineDao.toRemoteLocationLineNaturalId(fr.ifremer.allegro.referential.location.LocationLine)
public final void remoteLocationLineNaturalIdToEntityCollection(java.util.Collection instances)
LocationLineDao
RemoteLocationLineNaturalId
to this
DAO's entity.
remoteLocationLineNaturalIdToEntityCollection
in interface LocationLineDao
LocationLineDao.remoteLocationLineNaturalIdToEntityCollection(java.util.Collection)
public void toRemoteLocationLineNaturalId(LocationLine source, RemoteLocationLineNaturalId target)
LocationLineDao
toRemoteLocationLineNaturalId
in interface LocationLineDao
LocationLineDao.toRemoteLocationLineNaturalId(fr.ifremer.allegro.referential.location.LocationLine, fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationLineNaturalId)
public RemoteLocationLineNaturalId toRemoteLocationLineNaturalId(LocationLine entity)
LocationLineDao
RemoteLocationLineNaturalId
.
toRemoteLocationLineNaturalId
in interface LocationLineDao
LocationLineDao.toRemoteLocationLineNaturalId(fr.ifremer.allegro.referential.location.LocationLine)
public void remoteLocationLineNaturalIdToEntity(RemoteLocationLineNaturalId source, LocationLine target, boolean copyIfNull)
LocationLineDao
RemoteLocationLineNaturalId
to the specified entity.
remoteLocationLineNaturalIdToEntity
in interface LocationLineDao
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.LocationLineDao#remoteLocationLineNaturalIdToEntity(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationLineNaturalId, fr.ifremer.allegro.referential.location.LocationLine)
public final void toClusterLocationLineCollection(java.util.Collection entities)
LocationLineDao
ClusterLocationLine
.
toClusterLocationLineCollection
in interface LocationLineDao
LocationLineDao.toClusterLocationLineCollection(java.util.Collection)
public final ClusterLocationLine[] toClusterLocationLineArray(java.util.Collection entities)
LocationLineDao
ClusterLocationLine
.
toClusterLocationLineArray
in interface LocationLineDao
LocationLineDao.toClusterLocationLineArray(java.util.Collection)
protected ClusterLocationLine toClusterLocationLine(java.lang.Object[] row)
LocationLineDaoImpl
class if you intend to use reporting queries.
LocationLineDao.toClusterLocationLine(fr.ifremer.allegro.referential.location.LocationLine)
public final void clusterLocationLineToEntityCollection(java.util.Collection instances)
LocationLineDao
ClusterLocationLine
to this
DAO's entity.
clusterLocationLineToEntityCollection
in interface LocationLineDao
LocationLineDao.clusterLocationLineToEntityCollection(java.util.Collection)
public void toClusterLocationLine(LocationLine source, ClusterLocationLine target)
LocationLineDao
toClusterLocationLine
in interface LocationLineDao
LocationLineDao.toClusterLocationLine(fr.ifremer.allegro.referential.location.LocationLine, fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationLine)
public ClusterLocationLine toClusterLocationLine(LocationLine entity)
LocationLineDao
ClusterLocationLine
.
toClusterLocationLine
in interface LocationLineDao
LocationLineDao.toClusterLocationLine(fr.ifremer.allegro.referential.location.LocationLine)
public void clusterLocationLineToEntity(ClusterLocationLine source, LocationLine target, boolean copyIfNull)
LocationLineDao
ClusterLocationLine
to the specified entity.
clusterLocationLineToEntity
in interface LocationLineDao
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.LocationLineDao#clusterLocationLineToEntity(fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationLine, fr.ifremer.allegro.referential.location.LocationLine)
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)
LocationLineDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface LocationLineDao
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.LocationLineDao.search(int, int, int, fr.ifremer.allegro.Search)
public PaginationResult search(int pageNumber, int pageSize, Search search)
LocationLineDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface LocationLineDao
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.LocationLineDao.search(int, int, fr.ifremer.allegro.Search)
public java.util.Set search(int transform, Search search)
LocationLineDao
LocationLineDao.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 LocationLineDao
transform
- the transformation flag.search
- the search object which provides the search parameters and pagination specification.
LocationLineDao.search(int, fr.ifremer.allegro.Search)
public java.util.Set search(Search search)
LocationLineDao
search
object.
search
in interface LocationLineDao
search
- the search object which provides the search parameters and pagination specification.
LocationLineDao.search(fr.ifremer.allegro.Search)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |