|
||||||||||
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.spatial.SpatialItem2LocationDaoBase
public abstract class SpatialItem2LocationDaoBase
Base Spring DAO Class: is able to create, update, remove, load, and find
objects of type fr.ifremer.allegro.referential.spatial.SpatialItem2Location
.
SpatialItem2Location
Field Summary |
---|
Fields inherited from interface fr.ifremer.allegro.referential.spatial.SpatialItem2LocationDao |
---|
TRANSFORM_CLUSTERSPATIALITEM2LOCATION, TRANSFORM_NONE, TRANSFORM_REMOTESPATIALITEM2LOCATIONFULLVO, TRANSFORM_REMOTESPATIALITEM2LOCATIONNATURALID |
Constructor Summary | |
---|---|
SpatialItem2LocationDaoBase()
|
Method Summary | |
---|---|
void |
clusterSpatialItem2LocationToEntity(ClusterSpatialItem2Location source,
SpatialItem2Location target,
boolean copyIfNull)
Copies the fields of ClusterSpatialItem2Location to the specified entity. |
void |
clusterSpatialItem2LocationToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type ClusterSpatialItem2Location to this
DAO's entity. |
java.util.Collection |
create(java.util.Collection entities)
Creates a new instance of fr.ifremer.allegro.referential.spatial.SpatialItem2Location and adds from the passed in entities collection |
java.util.Collection |
create(int transform,
java.util.Collection entities)
Does the same thing as SpatialItem2LocationDao.create(fr.ifremer.allegro.referential.spatial.SpatialItem2Location) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
Location location,
SpatialItem spatialItem)
Does the same thing as SpatialItem2LocationDao.create(fr.ifremer.allegro.referential.location.Location,fr.ifremer.allegro.referential.spatial.SpatialItem) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
SpatialItem2Location spatialItem2Location)
Does the same thing as SpatialItem2LocationDao.create(fr.ifremer.allegro.referential.spatial.SpatialItem2Location) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
java.lang.String localizedName,
SpatialItem spatialItem,
Location location)
Does the same thing as SpatialItem2LocationDao.create(java.lang.String,fr.ifremer.allegro.referential.spatial.SpatialItem,fr.ifremer.allegro.referential.location.Location) with an
additional flag called transform . |
SpatialItem2Location |
create(Location location,
SpatialItem spatialItem)
Creates a new fr.ifremer.allegro.referential.spatial.SpatialItem2Location
instance from only required properties (attributes
and association ends) and adds it to the persistent store. |
SpatialItem2Location |
create(SpatialItem2Location spatialItem2Location)
Creates an instance of fr.ifremer.allegro.referential.spatial.SpatialItem2Location and adds it to the persistent store. |
SpatialItem2Location |
create(java.lang.String localizedName,
SpatialItem spatialItem,
Location location)
Creates a new fr.ifremer.allegro.referential.spatial.SpatialItem2Location
instance from all attributes and
properties and adds it to the persistent store. |
SpatialItem2Location |
createFromClusterSpatialItem2Location(ClusterSpatialItem2Location clusterSpatialItem2Location)
|
java.lang.Object |
findSpatialItem2LocationByIdentifiers(int transform,
SpatialItem spatialItem,
Location location)
Does the same thing as SpatialItem2LocationDao.findSpatialItem2LocationByIdentifiers(fr.ifremer.allegro.referential.spatial.SpatialItem, fr.ifremer.allegro.referential.location.Location) with an
additional flag called transform . |
java.lang.Object |
findSpatialItem2LocationByIdentifiers(int transform,
java.lang.String queryString,
SpatialItem spatialItem,
Location location)
Does the same thing as SpatialItem2LocationDao.findSpatialItem2LocationByIdentifiers(int, fr.ifremer.allegro.referential.spatial.SpatialItem, fr.ifremer.allegro.referential.location.Location) with an
additional argument called queryString . |
SpatialItem2Location |
findSpatialItem2LocationByIdentifiers(SpatialItem spatialItem,
Location location)
|
SpatialItem2Location |
findSpatialItem2LocationByIdentifiers(java.lang.String queryString,
SpatialItem spatialItem,
Location location)
Does the same thing as SpatialItem2LocationDao.findSpatialItem2LocationByIdentifiers(fr.ifremer.allegro.referential.spatial.SpatialItem, fr.ifremer.allegro.referential.location.Location) with an
additional argument called queryString . |
java.util.Collection |
findSpatialItem2LocationByLocation(int transform,
int pageNumber,
int pageSize,
Location location)
Does the same thing as SpatialItem2LocationDao.findSpatialItem2LocationByLocation(int, fr.ifremer.allegro.referential.location.Location) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findSpatialItem2LocationByLocation(int pageNumber,
int pageSize,
Location location)
Does the same thing as SpatialItem2LocationDao.findSpatialItem2LocationByLocation(fr.ifremer.allegro.referential.location.Location) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findSpatialItem2LocationByLocation(int transform,
Location location)
Does the same thing as SpatialItem2LocationDao.findSpatialItem2LocationByLocation(fr.ifremer.allegro.referential.location.Location) with an
additional flag called transform . |
java.util.Collection |
findSpatialItem2LocationByLocation(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
Location location)
Does the same thing as SpatialItem2LocationDao.findSpatialItem2LocationByLocation(int, String, fr.ifremer.allegro.referential.location.Location) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findSpatialItem2LocationByLocation(int transform,
java.lang.String queryString,
Location location)
Does the same thing as SpatialItem2LocationDao.findSpatialItem2LocationByLocation(int, fr.ifremer.allegro.referential.location.Location) with an
additional argument called queryString . |
java.util.Collection |
findSpatialItem2LocationByLocation(Location location)
|
java.util.Collection |
findSpatialItem2LocationByLocation(java.lang.String queryString,
int pageNumber,
int pageSize,
Location location)
Does the same thing as SpatialItem2LocationDao.findSpatialItem2LocationByLocation(String, fr.ifremer.allegro.referential.location.Location) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findSpatialItem2LocationByLocation(java.lang.String queryString,
Location location)
Does the same thing as SpatialItem2LocationDao.findSpatialItem2LocationByLocation(fr.ifremer.allegro.referential.location.Location) with an
additional argument called queryString . |
java.lang.Object |
findSpatialItem2LocationByNaturalId(int transform,
SpatialItem spatialItem,
Location location)
Does the same thing as SpatialItem2LocationDao.findSpatialItem2LocationByNaturalId(fr.ifremer.allegro.referential.spatial.SpatialItem, fr.ifremer.allegro.referential.location.Location) with an
additional flag called transform . |
java.lang.Object |
findSpatialItem2LocationByNaturalId(int transform,
java.lang.String queryString,
SpatialItem spatialItem,
Location location)
Does the same thing as SpatialItem2LocationDao.findSpatialItem2LocationByNaturalId(int, fr.ifremer.allegro.referential.spatial.SpatialItem, fr.ifremer.allegro.referential.location.Location) with an
additional argument called queryString . |
SpatialItem2Location |
findSpatialItem2LocationByNaturalId(SpatialItem spatialItem,
Location location)
|
SpatialItem2Location |
findSpatialItem2LocationByNaturalId(java.lang.String queryString,
SpatialItem spatialItem,
Location location)
Does the same thing as SpatialItem2LocationDao.findSpatialItem2LocationByNaturalId(fr.ifremer.allegro.referential.spatial.SpatialItem, fr.ifremer.allegro.referential.location.Location) with an
additional argument called queryString . |
java.util.Collection |
findSpatialItem2LocationBySpatialItem(int transform,
int pageNumber,
int pageSize,
SpatialItem spatialItem)
Does the same thing as SpatialItem2LocationDao.findSpatialItem2LocationBySpatialItem(int, fr.ifremer.allegro.referential.spatial.SpatialItem) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findSpatialItem2LocationBySpatialItem(int pageNumber,
int pageSize,
SpatialItem spatialItem)
Does the same thing as SpatialItem2LocationDao.findSpatialItem2LocationBySpatialItem(fr.ifremer.allegro.referential.spatial.SpatialItem) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findSpatialItem2LocationBySpatialItem(int transform,
SpatialItem spatialItem)
Does the same thing as SpatialItem2LocationDao.findSpatialItem2LocationBySpatialItem(fr.ifremer.allegro.referential.spatial.SpatialItem) with an
additional flag called transform . |
java.util.Collection |
findSpatialItem2LocationBySpatialItem(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
SpatialItem spatialItem)
Does the same thing as SpatialItem2LocationDao.findSpatialItem2LocationBySpatialItem(int, String, fr.ifremer.allegro.referential.spatial.SpatialItem) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findSpatialItem2LocationBySpatialItem(int transform,
java.lang.String queryString,
SpatialItem spatialItem)
Does the same thing as SpatialItem2LocationDao.findSpatialItem2LocationBySpatialItem(int, fr.ifremer.allegro.referential.spatial.SpatialItem) with an
additional argument called queryString . |
java.util.Collection |
findSpatialItem2LocationBySpatialItem(SpatialItem spatialItem)
|
java.util.Collection |
findSpatialItem2LocationBySpatialItem(java.lang.String queryString,
int pageNumber,
int pageSize,
SpatialItem spatialItem)
Does the same thing as SpatialItem2LocationDao.findSpatialItem2LocationBySpatialItem(String, fr.ifremer.allegro.referential.spatial.SpatialItem) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findSpatialItem2LocationBySpatialItem(java.lang.String queryString,
SpatialItem spatialItem)
Does the same thing as SpatialItem2LocationDao.findSpatialItem2LocationBySpatialItem(fr.ifremer.allegro.referential.spatial.SpatialItem) with an
additional argument called queryString . |
java.util.Collection |
getAllSpatialItem2Location()
|
java.util.Collection |
getAllSpatialItem2Location(int transform)
Does the same thing as SpatialItem2LocationDao.getAllSpatialItem2Location() with an
additional flag called transform . |
java.util.Collection |
getAllSpatialItem2Location(int pageNumber,
int pageSize)
Does the same thing as SpatialItem2LocationDao.getAllSpatialItem2Location() with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllSpatialItem2Location(int transform,
int pageNumber,
int pageSize)
Does the same thing as SpatialItem2LocationDao.getAllSpatialItem2Location(int) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllSpatialItem2Location(int transform,
java.lang.String queryString)
Does the same thing as SpatialItem2LocationDao.getAllSpatialItem2Location(int) with an
additional argument called queryString . |
java.util.Collection |
getAllSpatialItem2Location(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as SpatialItem2LocationDao.getAllSpatialItem2Location(int, String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllSpatialItem2Location(java.lang.String queryString)
Does the same thing as SpatialItem2LocationDao.getAllSpatialItem2Location() with an
additional argument called queryString . |
java.util.Collection |
getAllSpatialItem2Location(java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as SpatialItem2LocationDao.getAllSpatialItem2Location(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 SpatialItemDao |
getSpatialItemDao()
Gets the reference to spatialItemDao . |
protected abstract SpatialItem2Location |
handleCreateFromClusterSpatialItem2Location(ClusterSpatialItem2Location clusterSpatialItem2Location)
Performs the core logic for createFromClusterSpatialItem2Location(fr.ifremer.allegro.referential.spatial.generic.cluster.ClusterSpatialItem2Location) |
java.lang.Object |
load(int transform,
SpatialItem spatialItem,
Location location)
Does the same thing as SpatialItem2LocationDao.load(fr.ifremer.allegro.referential.spatial.SpatialItem,fr.ifremer.allegro.referential.location.Location) with an
additional flag called transform . |
SpatialItem2Location |
load(SpatialItem spatialItem,
Location location)
Loads an instance of fr.ifremer.allegro.referential.spatial.SpatialItem2Location from the persistent store. |
java.util.Collection |
loadAll()
Loads all entities of type SpatialItem2Location . |
java.util.Collection |
loadAll(int transform)
Does the same thing as SpatialItem2LocationDao.loadAll() with an
additional flag called transform . |
java.util.Collection |
loadAll(int pageNumber,
int pageSize)
Does the same thing as SpatialItem2LocationDao.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 SpatialItem2LocationDao.loadAll(int) with an
additional two arguments called pageNumber and pageSize . |
void |
remoteSpatialItem2LocationFullVOToEntity(RemoteSpatialItem2LocationFullVO source,
SpatialItem2Location target,
boolean copyIfNull)
Copies the fields of RemoteSpatialItem2LocationFullVO to the specified entity. |
void |
remoteSpatialItem2LocationFullVOToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteSpatialItem2LocationFullVO to this
DAO's entity. |
void |
remoteSpatialItem2LocationNaturalIdToEntity(RemoteSpatialItem2LocationNaturalId source,
SpatialItem2Location target,
boolean copyIfNull)
Copies the fields of RemoteSpatialItem2LocationNaturalId to the specified entity. |
void |
remoteSpatialItem2LocationNaturalIdToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteSpatialItem2LocationNaturalId to this
DAO's entity. |
void |
remove(java.util.Collection entities)
Removes all entities in the given entities |
void |
remove(SpatialItem2Location spatialItem2Location)
Removes the instance of fr.ifremer.allegro.referential.spatial.SpatialItem2Location from the persistent store. |
void |
remove(SpatialItem spatialItem,
Location location)
Removes the instance of fr.ifremer.allegro.referential.spatial.SpatialItem2Location having the given identifiers from the persistent store. |
PaginationResult |
search(int transform,
int pageNumber,
int pageSize,
Search search)
Does the same thing as {@link #search(int, fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize . |
PaginationResult |
search(int pageNumber,
int pageSize,
Search search)
Does the same thing as {@link #search(fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize . |
java.util.Set |
search(int transform,
Search search)
Does the same thing as SpatialItem2LocationDao.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 . |
void |
setSpatialItemDao(SpatialItemDao spatialItemDao)
Sets the reference to spatialItemDao . |
protected ClusterSpatialItem2Location |
toClusterSpatialItem2Location(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
ClusterSpatialItem2Location |
toClusterSpatialItem2Location(SpatialItem2Location entity)
Converts this DAO's entity to an object of type ClusterSpatialItem2Location . |
void |
toClusterSpatialItem2Location(SpatialItem2Location source,
ClusterSpatialItem2Location target)
Copies the fields of the specified entity to the target value object. |
ClusterSpatialItem2Location[] |
toClusterSpatialItem2LocationArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type ClusterSpatialItem2Location . |
void |
toClusterSpatialItem2LocationCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type ClusterSpatialItem2Location . |
protected SpatialItem2Location |
toEntity(java.lang.Object[] row)
|
protected RemoteSpatialItem2LocationFullVO |
toRemoteSpatialItem2LocationFullVO(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteSpatialItem2LocationFullVO |
toRemoteSpatialItem2LocationFullVO(SpatialItem2Location entity)
Converts this DAO's entity to an object of type RemoteSpatialItem2LocationFullVO . |
void |
toRemoteSpatialItem2LocationFullVO(SpatialItem2Location source,
RemoteSpatialItem2LocationFullVO target)
Copies the fields of the specified entity to the target value object. |
RemoteSpatialItem2LocationFullVO[] |
toRemoteSpatialItem2LocationFullVOArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteSpatialItem2LocationFullVO . |
void |
toRemoteSpatialItem2LocationFullVOCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteSpatialItem2LocationFullVO . |
protected RemoteSpatialItem2LocationNaturalId |
toRemoteSpatialItem2LocationNaturalId(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteSpatialItem2LocationNaturalId |
toRemoteSpatialItem2LocationNaturalId(SpatialItem2Location entity)
Converts this DAO's entity to an object of type RemoteSpatialItem2LocationNaturalId . |
void |
toRemoteSpatialItem2LocationNaturalId(SpatialItem2Location source,
RemoteSpatialItem2LocationNaturalId target)
Copies the fields of the specified entity to the target value object. |
RemoteSpatialItem2LocationNaturalId[] |
toRemoteSpatialItem2LocationNaturalIdArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteSpatialItem2LocationNaturalId . |
void |
toRemoteSpatialItem2LocationNaturalIdCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteSpatialItem2LocationNaturalId . |
protected void |
transformEntities(int transform,
java.util.Collection entities)
Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.spatial.SpatialItem2Location)
method. |
protected java.lang.Object |
transformEntity(int transform,
SpatialItem2Location 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.spatial.SpatialItem2LocationDao , please note
that the SpatialItem2LocationDao.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(SpatialItem2Location spatialItem2Location)
Updates the spatialItem2Location 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.spatial.SpatialItem2LocationDao |
---|
clusterSpatialItem2LocationToEntity, remoteSpatialItem2LocationFullVOToEntity, remoteSpatialItem2LocationNaturalIdToEntity |
Constructor Detail |
---|
public SpatialItem2LocationDaoBase()
Method Detail |
---|
public void setSpatialItemDao(SpatialItemDao spatialItemDao)
spatialItemDao
.
protected SpatialItemDao getSpatialItemDao()
spatialItemDao
.
public void setLocationDao(LocationDao locationDao)
locationDao
.
protected LocationDao getLocationDao()
locationDao
.
public java.lang.Object load(int transform, SpatialItem spatialItem, Location location)
SpatialItem2LocationDao
Does the same thing as SpatialItem2LocationDao.load(fr.ifremer.allegro.referential.spatial.SpatialItem,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 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 SpatialItem2LocationDao
spatialItem
- identifier of the entity to loadlocation
- identifier of the entity to load
SpatialItem2LocationDao.load(int, fr.ifremer.allegro.referential.spatial.SpatialItem,fr.ifremer.allegro.referential.location.Location)
public SpatialItem2Location load(SpatialItem spatialItem, Location location)
SpatialItem2LocationDao
load
in interface SpatialItem2LocationDao
SpatialItem2LocationDao.load(fr.ifremer.allegro.referential.spatial.SpatialItem,fr.ifremer.allegro.referential.location.Location)
public java.util.Collection loadAll()
SpatialItem2LocationDao
SpatialItem2Location
.
loadAll
in interface SpatialItem2LocationDao
SpatialItem2LocationDao.loadAll()
public java.util.Collection loadAll(int transform)
SpatialItem2LocationDao
Does the same thing as SpatialItem2LocationDao.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 SpatialItem2LocationDao
transform
- the flag indicating what transformation to use.
SpatialItem2LocationDao.loadAll(int)
public java.util.Collection loadAll(int pageNumber, int pageSize)
SpatialItem2LocationDao
Does the same thing as SpatialItem2LocationDao.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 SpatialItem2LocationDao
pageNumber
- the page number to retrieve when paging results.pageSize
- the size of the page to retrieve when paging results.
SpatialItem2LocationDao.loadAll(int, int)
public java.util.Collection loadAll(int transform, int pageNumber, int pageSize)
SpatialItem2LocationDao
Does the same thing as SpatialItem2LocationDao.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 SpatialItem2LocationDao
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.
SpatialItem2LocationDao.loadAll(int, int, int)
public SpatialItem2Location create(SpatialItem2Location spatialItem2Location)
SpatialItem2LocationDao
create
in interface SpatialItem2LocationDao
SpatialItem2LocationDao.create(fr.ifremer.allegro.referential.spatial.SpatialItem2Location)
public java.lang.Object create(int transform, SpatialItem2Location spatialItem2Location)
SpatialItem2LocationDao
Does the same thing as SpatialItem2LocationDao.create(fr.ifremer.allegro.referential.spatial.SpatialItem2Location)
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 SpatialItem2LocationDao
SpatialItem2LocationDao.create(int transform, fr.ifremer.allegro.referential.spatial.SpatialItem2Location)
public java.util.Collection create(java.util.Collection entities)
SpatialItem2LocationDao
entities
collection
create
in interface SpatialItem2LocationDao
entities
- the collection of fr.ifremer.allegro.referential.spatial.SpatialItem2Location
instances to create.
SpatialItem2LocationDao.create(java.util.Collection)
public java.util.Collection create(int transform, java.util.Collection entities)
SpatialItem2LocationDao
Does the same thing as SpatialItem2LocationDao.create(fr.ifremer.allegro.referential.spatial.SpatialItem2Location)
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 SpatialItem2LocationDao
SpatialItem2LocationDao.create(int, java.util.Collection)
public SpatialItem2Location create(java.lang.String localizedName, SpatialItem spatialItem, Location location)
SpatialItem2LocationDao
Creates a new fr.ifremer.allegro.referential.spatial.SpatialItem2Location
instance from all attributes and
properties and adds it to the persistent store.
create
in interface SpatialItem2LocationDao
SpatialItem2LocationDao.create(java.lang.String,fr.ifremer.allegro.referential.spatial.SpatialItem,fr.ifremer.allegro.referential.location.Location)
public java.lang.Object create(int transform, java.lang.String localizedName, SpatialItem spatialItem, Location location)
SpatialItem2LocationDao
Does the same thing as SpatialItem2LocationDao.create(java.lang.String,fr.ifremer.allegro.referential.spatial.SpatialItem,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 SpatialItem2LocationDao
SpatialItem2LocationDao.create(int, java.lang.String,fr.ifremer.allegro.referential.spatial.SpatialItem,fr.ifremer.allegro.referential.location.Location)
public SpatialItem2Location create(Location location, SpatialItem spatialItem)
SpatialItem2LocationDao
Creates a new fr.ifremer.allegro.referential.spatial.SpatialItem2Location
instance from only required properties (attributes
and association ends) and adds it to the persistent store.
create
in interface SpatialItem2LocationDao
SpatialItem2LocationDao.create(fr.ifremer.allegro.referential.location.Location,fr.ifremer.allegro.referential.spatial.SpatialItem)
public java.lang.Object create(int transform, Location location, SpatialItem spatialItem)
SpatialItem2LocationDao
Does the same thing as SpatialItem2LocationDao.create(fr.ifremer.allegro.referential.location.Location,fr.ifremer.allegro.referential.spatial.SpatialItem)
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 SpatialItem2LocationDao
SpatialItem2LocationDao.create(int, fr.ifremer.allegro.referential.location.Location,fr.ifremer.allegro.referential.spatial.SpatialItem)
public void update(SpatialItem2Location spatialItem2Location)
SpatialItem2LocationDao
spatialItem2Location
instance in the persistent store.
update
in interface SpatialItem2LocationDao
SpatialItem2LocationDao.update(fr.ifremer.allegro.referential.spatial.SpatialItem2Location)
public void update(java.util.Collection entities)
SpatialItem2LocationDao
entities
collection in the persistent store.
update
in interface SpatialItem2LocationDao
SpatialItem2LocationDao.update(java.util.Collection)
public void remove(SpatialItem2Location spatialItem2Location)
SpatialItem2LocationDao
remove
in interface SpatialItem2LocationDao
SpatialItem2LocationDao.remove(fr.ifremer.allegro.referential.spatial.SpatialItem2Location)
public void remove(SpatialItem spatialItem, Location location)
SpatialItem2LocationDao
identifiers
from the persistent store.
remove
in interface SpatialItem2LocationDao
SpatialItem2LocationDao.remove(fr.ifremer.allegro.referential.spatial.SpatialItem,fr.ifremer.allegro.referential.location.Location)
public void remove(java.util.Collection entities)
SpatialItem2LocationDao
entities collection.
- Specified by:
remove
in interface SpatialItem2LocationDao
- See Also:
SpatialItem2LocationDao.remove(java.util.Collection)
public java.util.Collection getAllSpatialItem2Location()
getAllSpatialItem2Location
in interface SpatialItem2LocationDao
SpatialItem2LocationDao.getAllSpatialItem2Location()
public java.util.Collection getAllSpatialItem2Location(int transform)
SpatialItem2LocationDao
Does the same thing as SpatialItem2LocationDao.getAllSpatialItem2Location()
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.
getAllSpatialItem2Location
in interface SpatialItem2LocationDao
SpatialItem2LocationDao.getAllSpatialItem2Location(int)
public java.util.Collection getAllSpatialItem2Location(java.lang.String queryString)
SpatialItem2LocationDao
Does the same thing as SpatialItem2LocationDao.getAllSpatialItem2Location()
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in SpatialItem2LocationDao.getAllSpatialItem2Location()
.
getAllSpatialItem2Location
in interface SpatialItem2LocationDao
SpatialItem2LocationDao.getAllSpatialItem2Location(java.lang.String)
public java.util.Collection getAllSpatialItem2Location(int pageNumber, int pageSize)
SpatialItem2LocationDao
Does the same thing as SpatialItem2LocationDao.getAllSpatialItem2Location()
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.
getAllSpatialItem2Location
in interface SpatialItem2LocationDao
SpatialItem2LocationDao.getAllSpatialItem2Location(int, int)
public java.util.Collection getAllSpatialItem2Location(java.lang.String queryString, int pageNumber, int pageSize)
SpatialItem2LocationDao
Does the same thing as SpatialItem2LocationDao.getAllSpatialItem2Location(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.
getAllSpatialItem2Location
in interface SpatialItem2LocationDao
SpatialItem2LocationDao.getAllSpatialItem2Location(String, int, int)
public java.util.Collection getAllSpatialItem2Location(int transform, java.lang.String queryString)
SpatialItem2LocationDao
Does the same thing as SpatialItem2LocationDao.getAllSpatialItem2Location(int)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in SpatialItem2LocationDao.getAllSpatialItem2Location(int)
.
getAllSpatialItem2Location
in interface SpatialItem2LocationDao
SpatialItem2LocationDao.getAllSpatialItem2Location(int, String)
public java.util.Collection getAllSpatialItem2Location(int transform, int pageNumber, int pageSize)
SpatialItem2LocationDao
Does the same thing as SpatialItem2LocationDao.getAllSpatialItem2Location(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.
getAllSpatialItem2Location
in interface SpatialItem2LocationDao
SpatialItem2LocationDao.getAllSpatialItem2Location(int, int, int)
public java.util.Collection getAllSpatialItem2Location(int transform, java.lang.String queryString, int pageNumber, int pageSize)
SpatialItem2LocationDao
Does the same thing as SpatialItem2LocationDao.getAllSpatialItem2Location(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.
getAllSpatialItem2Location
in interface SpatialItem2LocationDao
SpatialItem2LocationDao.getAllSpatialItem2Location(int, java.lang.String, int, int)
public java.util.Collection findSpatialItem2LocationBySpatialItem(SpatialItem spatialItem)
findSpatialItem2LocationBySpatialItem
in interface SpatialItem2LocationDao
SpatialItem2LocationDao.findSpatialItem2LocationBySpatialItem(fr.ifremer.allegro.referential.spatial.SpatialItem)
public java.util.Collection findSpatialItem2LocationBySpatialItem(int transform, SpatialItem spatialItem)
SpatialItem2LocationDao
Does the same thing as SpatialItem2LocationDao.findSpatialItem2LocationBySpatialItem(fr.ifremer.allegro.referential.spatial.SpatialItem)
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.
findSpatialItem2LocationBySpatialItem
in interface SpatialItem2LocationDao
SpatialItem2LocationDao.findSpatialItem2LocationBySpatialItem(int, fr.ifremer.allegro.referential.spatial.SpatialItem)
public java.util.Collection findSpatialItem2LocationBySpatialItem(java.lang.String queryString, SpatialItem spatialItem)
SpatialItem2LocationDao
Does the same thing as SpatialItem2LocationDao.findSpatialItem2LocationBySpatialItem(fr.ifremer.allegro.referential.spatial.SpatialItem)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in SpatialItem2LocationDao.findSpatialItem2LocationBySpatialItem(fr.ifremer.allegro.referential.spatial.SpatialItem)
.
findSpatialItem2LocationBySpatialItem
in interface SpatialItem2LocationDao
SpatialItem2LocationDao.findSpatialItem2LocationBySpatialItem(java.lang.String, fr.ifremer.allegro.referential.spatial.SpatialItem)
public java.util.Collection findSpatialItem2LocationBySpatialItem(int pageNumber, int pageSize, SpatialItem spatialItem)
SpatialItem2LocationDao
Does the same thing as SpatialItem2LocationDao.findSpatialItem2LocationBySpatialItem(fr.ifremer.allegro.referential.spatial.SpatialItem)
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.
findSpatialItem2LocationBySpatialItem
in interface SpatialItem2LocationDao
SpatialItem2LocationDao.findSpatialItem2LocationBySpatialItem(int, int, fr.ifremer.allegro.referential.spatial.SpatialItem)
public java.util.Collection findSpatialItem2LocationBySpatialItem(java.lang.String queryString, int pageNumber, int pageSize, SpatialItem spatialItem)
SpatialItem2LocationDao
Does the same thing as SpatialItem2LocationDao.findSpatialItem2LocationBySpatialItem(String, fr.ifremer.allegro.referential.spatial.SpatialItem)
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.
findSpatialItem2LocationBySpatialItem
in interface SpatialItem2LocationDao
SpatialItem2LocationDao.findSpatialItem2LocationBySpatialItem(String, int, int, fr.ifremer.allegro.referential.spatial.SpatialItem)
public java.util.Collection findSpatialItem2LocationBySpatialItem(int transform, java.lang.String queryString, SpatialItem spatialItem)
SpatialItem2LocationDao
Does the same thing as SpatialItem2LocationDao.findSpatialItem2LocationBySpatialItem(int, fr.ifremer.allegro.referential.spatial.SpatialItem)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in SpatialItem2LocationDao.findSpatialItem2LocationBySpatialItem(int, fr.ifremer.allegro.referential.spatial.SpatialItem spatialItem)
.
findSpatialItem2LocationBySpatialItem
in interface SpatialItem2LocationDao
SpatialItem2LocationDao.findSpatialItem2LocationBySpatialItem(int, String, fr.ifremer.allegro.referential.spatial.SpatialItem)
public java.util.Collection findSpatialItem2LocationBySpatialItem(int transform, int pageNumber, int pageSize, SpatialItem spatialItem)
SpatialItem2LocationDao
Does the same thing as SpatialItem2LocationDao.findSpatialItem2LocationBySpatialItem(int, fr.ifremer.allegro.referential.spatial.SpatialItem)
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.
findSpatialItem2LocationBySpatialItem
in interface SpatialItem2LocationDao
SpatialItem2LocationDao.findSpatialItem2LocationBySpatialItem(int, int, int, fr.ifremer.allegro.referential.spatial.SpatialItem)
public java.util.Collection findSpatialItem2LocationBySpatialItem(int transform, java.lang.String queryString, int pageNumber, int pageSize, SpatialItem spatialItem)
SpatialItem2LocationDao
Does the same thing as SpatialItem2LocationDao.findSpatialItem2LocationBySpatialItem(int, String, fr.ifremer.allegro.referential.spatial.SpatialItem)
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.
findSpatialItem2LocationBySpatialItem
in interface SpatialItem2LocationDao
SpatialItem2LocationDao.findSpatialItem2LocationBySpatialItem(int, java.lang.String, int, int, fr.ifremer.allegro.referential.spatial.SpatialItem)
public java.util.Collection findSpatialItem2LocationByLocation(Location location)
findSpatialItem2LocationByLocation
in interface SpatialItem2LocationDao
SpatialItem2LocationDao.findSpatialItem2LocationByLocation(fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findSpatialItem2LocationByLocation(int transform, Location location)
SpatialItem2LocationDao
Does the same thing as SpatialItem2LocationDao.findSpatialItem2LocationByLocation(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.
findSpatialItem2LocationByLocation
in interface SpatialItem2LocationDao
SpatialItem2LocationDao.findSpatialItem2LocationByLocation(int, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findSpatialItem2LocationByLocation(java.lang.String queryString, Location location)
SpatialItem2LocationDao
Does the same thing as SpatialItem2LocationDao.findSpatialItem2LocationByLocation(fr.ifremer.allegro.referential.location.Location)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in SpatialItem2LocationDao.findSpatialItem2LocationByLocation(fr.ifremer.allegro.referential.location.Location)
.
findSpatialItem2LocationByLocation
in interface SpatialItem2LocationDao
SpatialItem2LocationDao.findSpatialItem2LocationByLocation(java.lang.String, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findSpatialItem2LocationByLocation(int pageNumber, int pageSize, Location location)
SpatialItem2LocationDao
Does the same thing as SpatialItem2LocationDao.findSpatialItem2LocationByLocation(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.
findSpatialItem2LocationByLocation
in interface SpatialItem2LocationDao
SpatialItem2LocationDao.findSpatialItem2LocationByLocation(int, int, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findSpatialItem2LocationByLocation(java.lang.String queryString, int pageNumber, int pageSize, Location location)
SpatialItem2LocationDao
Does the same thing as SpatialItem2LocationDao.findSpatialItem2LocationByLocation(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.
findSpatialItem2LocationByLocation
in interface SpatialItem2LocationDao
SpatialItem2LocationDao.findSpatialItem2LocationByLocation(String, int, int, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findSpatialItem2LocationByLocation(int transform, java.lang.String queryString, Location location)
SpatialItem2LocationDao
Does the same thing as SpatialItem2LocationDao.findSpatialItem2LocationByLocation(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 SpatialItem2LocationDao.findSpatialItem2LocationByLocation(int, fr.ifremer.allegro.referential.location.Location location)
.
findSpatialItem2LocationByLocation
in interface SpatialItem2LocationDao
SpatialItem2LocationDao.findSpatialItem2LocationByLocation(int, String, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findSpatialItem2LocationByLocation(int transform, int pageNumber, int pageSize, Location location)
SpatialItem2LocationDao
Does the same thing as SpatialItem2LocationDao.findSpatialItem2LocationByLocation(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.
findSpatialItem2LocationByLocation
in interface SpatialItem2LocationDao
SpatialItem2LocationDao.findSpatialItem2LocationByLocation(int, int, int, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findSpatialItem2LocationByLocation(int transform, java.lang.String queryString, int pageNumber, int pageSize, Location location)
SpatialItem2LocationDao
Does the same thing as SpatialItem2LocationDao.findSpatialItem2LocationByLocation(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.
findSpatialItem2LocationByLocation
in interface SpatialItem2LocationDao
SpatialItem2LocationDao.findSpatialItem2LocationByLocation(int, java.lang.String, int, int, fr.ifremer.allegro.referential.location.Location)
public SpatialItem2Location findSpatialItem2LocationByIdentifiers(SpatialItem spatialItem, Location location)
findSpatialItem2LocationByIdentifiers
in interface SpatialItem2LocationDao
SpatialItem2LocationDao.findSpatialItem2LocationByIdentifiers(fr.ifremer.allegro.referential.spatial.SpatialItem, fr.ifremer.allegro.referential.location.Location)
public java.lang.Object findSpatialItem2LocationByIdentifiers(int transform, SpatialItem spatialItem, Location location)
SpatialItem2LocationDao
Does the same thing as SpatialItem2LocationDao.findSpatialItem2LocationByIdentifiers(fr.ifremer.allegro.referential.spatial.SpatialItem, 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.
findSpatialItem2LocationByIdentifiers
in interface SpatialItem2LocationDao
SpatialItem2LocationDao.findSpatialItem2LocationByIdentifiers(int, fr.ifremer.allegro.referential.spatial.SpatialItem, fr.ifremer.allegro.referential.location.Location)
public SpatialItem2Location findSpatialItem2LocationByIdentifiers(java.lang.String queryString, SpatialItem spatialItem, Location location)
SpatialItem2LocationDao
Does the same thing as SpatialItem2LocationDao.findSpatialItem2LocationByIdentifiers(fr.ifremer.allegro.referential.spatial.SpatialItem, fr.ifremer.allegro.referential.location.Location)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in SpatialItem2LocationDao.findSpatialItem2LocationByIdentifiers(fr.ifremer.allegro.referential.spatial.SpatialItem, fr.ifremer.allegro.referential.location.Location)
.
findSpatialItem2LocationByIdentifiers
in interface SpatialItem2LocationDao
SpatialItem2LocationDao.findSpatialItem2LocationByIdentifiers(java.lang.String, fr.ifremer.allegro.referential.spatial.SpatialItem, fr.ifremer.allegro.referential.location.Location)
public java.lang.Object findSpatialItem2LocationByIdentifiers(int transform, java.lang.String queryString, SpatialItem spatialItem, Location location)
SpatialItem2LocationDao
Does the same thing as SpatialItem2LocationDao.findSpatialItem2LocationByIdentifiers(int, fr.ifremer.allegro.referential.spatial.SpatialItem, fr.ifremer.allegro.referential.location.Location)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in SpatialItem2LocationDao.findSpatialItem2LocationByIdentifiers(int, fr.ifremer.allegro.referential.spatial.SpatialItem spatialItem, fr.ifremer.allegro.referential.location.Location location)
.
findSpatialItem2LocationByIdentifiers
in interface SpatialItem2LocationDao
SpatialItem2LocationDao.findSpatialItem2LocationByIdentifiers(int, java.lang.String, fr.ifremer.allegro.referential.spatial.SpatialItem, fr.ifremer.allegro.referential.location.Location)
public SpatialItem2Location findSpatialItem2LocationByNaturalId(SpatialItem spatialItem, Location location)
findSpatialItem2LocationByNaturalId
in interface SpatialItem2LocationDao
SpatialItem2LocationDao.findSpatialItem2LocationByNaturalId(fr.ifremer.allegro.referential.spatial.SpatialItem, fr.ifremer.allegro.referential.location.Location)
public java.lang.Object findSpatialItem2LocationByNaturalId(int transform, SpatialItem spatialItem, Location location)
SpatialItem2LocationDao
Does the same thing as SpatialItem2LocationDao.findSpatialItem2LocationByNaturalId(fr.ifremer.allegro.referential.spatial.SpatialItem, 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.
findSpatialItem2LocationByNaturalId
in interface SpatialItem2LocationDao
SpatialItem2LocationDao.findSpatialItem2LocationByNaturalId(int, fr.ifremer.allegro.referential.spatial.SpatialItem, fr.ifremer.allegro.referential.location.Location)
public SpatialItem2Location findSpatialItem2LocationByNaturalId(java.lang.String queryString, SpatialItem spatialItem, Location location)
SpatialItem2LocationDao
Does the same thing as SpatialItem2LocationDao.findSpatialItem2LocationByNaturalId(fr.ifremer.allegro.referential.spatial.SpatialItem, fr.ifremer.allegro.referential.location.Location)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in SpatialItem2LocationDao.findSpatialItem2LocationByNaturalId(fr.ifremer.allegro.referential.spatial.SpatialItem, fr.ifremer.allegro.referential.location.Location)
.
findSpatialItem2LocationByNaturalId
in interface SpatialItem2LocationDao
SpatialItem2LocationDao.findSpatialItem2LocationByNaturalId(java.lang.String, fr.ifremer.allegro.referential.spatial.SpatialItem, fr.ifremer.allegro.referential.location.Location)
public java.lang.Object findSpatialItem2LocationByNaturalId(int transform, java.lang.String queryString, SpatialItem spatialItem, Location location)
SpatialItem2LocationDao
Does the same thing as SpatialItem2LocationDao.findSpatialItem2LocationByNaturalId(int, fr.ifremer.allegro.referential.spatial.SpatialItem, fr.ifremer.allegro.referential.location.Location)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in SpatialItem2LocationDao.findSpatialItem2LocationByNaturalId(int, fr.ifremer.allegro.referential.spatial.SpatialItem spatialItem, fr.ifremer.allegro.referential.location.Location location)
.
findSpatialItem2LocationByNaturalId
in interface SpatialItem2LocationDao
SpatialItem2LocationDao.findSpatialItem2LocationByNaturalId(int, java.lang.String, fr.ifremer.allegro.referential.spatial.SpatialItem, fr.ifremer.allegro.referential.location.Location)
public SpatialItem2Location createFromClusterSpatialItem2Location(ClusterSpatialItem2Location clusterSpatialItem2Location)
createFromClusterSpatialItem2Location
in interface SpatialItem2LocationDao
SpatialItem2LocationDao.createFromClusterSpatialItem2Location(fr.ifremer.allegro.referential.spatial.generic.cluster.ClusterSpatialItem2Location)
protected abstract SpatialItem2Location handleCreateFromClusterSpatialItem2Location(ClusterSpatialItem2Location clusterSpatialItem2Location) throws java.lang.Exception
createFromClusterSpatialItem2Location(fr.ifremer.allegro.referential.spatial.generic.cluster.ClusterSpatialItem2Location)
java.lang.Exception
protected java.lang.Object transformEntity(int transform, SpatialItem2Location entity)
transform
flag is set to one of the constants defined in fr.ifremer.allegro.referential.spatial.SpatialItem2LocationDao
, please note
that the SpatialItem2LocationDao.TRANSFORM_NONE
constant denotes no transformation, so the entity itself
will be returned.
This method will return instances of these types:
SpatialItem2Location
- SpatialItem2LocationDao.TRANSFORM_NONE
RemoteSpatialItem2LocationFullVO
- TRANSFORM_REMOTESPATIALITEM2LOCATIONFULLVO
RemoteSpatialItem2LocationNaturalId
- TRANSFORM_REMOTESPATIALITEM2LOCATIONNATURALID
ClusterSpatialItem2Location
- TRANSFORM_CLUSTERSPATIALITEM2LOCATION
SpatialItem2LocationDao.TRANSFORM_NONE
is assumed.
transform
- one of the constants declared in SpatialItem2LocationDao
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.spatial.SpatialItem2Location)
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.spatial.SpatialItem2LocationDao
entities
- the collection of entities to transformtransformEntity(int,fr.ifremer.allegro.referential.spatial.SpatialItem2Location)
protected SpatialItem2Location toEntity(java.lang.Object[] row)
public final void toRemoteSpatialItem2LocationFullVOCollection(java.util.Collection entities)
SpatialItem2LocationDao
RemoteSpatialItem2LocationFullVO
.
toRemoteSpatialItem2LocationFullVOCollection
in interface SpatialItem2LocationDao
SpatialItem2LocationDao.toRemoteSpatialItem2LocationFullVOCollection(java.util.Collection)
public final RemoteSpatialItem2LocationFullVO[] toRemoteSpatialItem2LocationFullVOArray(java.util.Collection entities)
SpatialItem2LocationDao
RemoteSpatialItem2LocationFullVO
.
toRemoteSpatialItem2LocationFullVOArray
in interface SpatialItem2LocationDao
SpatialItem2LocationDao.toRemoteSpatialItem2LocationFullVOArray(java.util.Collection)
protected RemoteSpatialItem2LocationFullVO toRemoteSpatialItem2LocationFullVO(java.lang.Object[] row)
SpatialItem2LocationDaoImpl
class if you intend to use reporting queries.
SpatialItem2LocationDao.toRemoteSpatialItem2LocationFullVO(fr.ifremer.allegro.referential.spatial.SpatialItem2Location)
public final void remoteSpatialItem2LocationFullVOToEntityCollection(java.util.Collection instances)
SpatialItem2LocationDao
RemoteSpatialItem2LocationFullVO
to this
DAO's entity.
remoteSpatialItem2LocationFullVOToEntityCollection
in interface SpatialItem2LocationDao
SpatialItem2LocationDao.remoteSpatialItem2LocationFullVOToEntityCollection(java.util.Collection)
public void toRemoteSpatialItem2LocationFullVO(SpatialItem2Location source, RemoteSpatialItem2LocationFullVO target)
SpatialItem2LocationDao
toRemoteSpatialItem2LocationFullVO
in interface SpatialItem2LocationDao
SpatialItem2LocationDao.toRemoteSpatialItem2LocationFullVO(fr.ifremer.allegro.referential.spatial.SpatialItem2Location, fr.ifremer.allegro.referential.spatial.generic.vo.RemoteSpatialItem2LocationFullVO)
public RemoteSpatialItem2LocationFullVO toRemoteSpatialItem2LocationFullVO(SpatialItem2Location entity)
SpatialItem2LocationDao
RemoteSpatialItem2LocationFullVO
.
toRemoteSpatialItem2LocationFullVO
in interface SpatialItem2LocationDao
SpatialItem2LocationDao.toRemoteSpatialItem2LocationFullVO(fr.ifremer.allegro.referential.spatial.SpatialItem2Location)
public void remoteSpatialItem2LocationFullVOToEntity(RemoteSpatialItem2LocationFullVO source, SpatialItem2Location target, boolean copyIfNull)
SpatialItem2LocationDao
RemoteSpatialItem2LocationFullVO
to the specified entity.
remoteSpatialItem2LocationFullVOToEntity
in interface SpatialItem2LocationDao
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.spatial.SpatialItem2LocationDao#remoteSpatialItem2LocationFullVOToEntity(fr.ifremer.allegro.referential.spatial.generic.vo.RemoteSpatialItem2LocationFullVO, fr.ifremer.allegro.referential.spatial.SpatialItem2Location)
public final void toRemoteSpatialItem2LocationNaturalIdCollection(java.util.Collection entities)
SpatialItem2LocationDao
RemoteSpatialItem2LocationNaturalId
.
toRemoteSpatialItem2LocationNaturalIdCollection
in interface SpatialItem2LocationDao
SpatialItem2LocationDao.toRemoteSpatialItem2LocationNaturalIdCollection(java.util.Collection)
public final RemoteSpatialItem2LocationNaturalId[] toRemoteSpatialItem2LocationNaturalIdArray(java.util.Collection entities)
SpatialItem2LocationDao
RemoteSpatialItem2LocationNaturalId
.
toRemoteSpatialItem2LocationNaturalIdArray
in interface SpatialItem2LocationDao
SpatialItem2LocationDao.toRemoteSpatialItem2LocationNaturalIdArray(java.util.Collection)
protected RemoteSpatialItem2LocationNaturalId toRemoteSpatialItem2LocationNaturalId(java.lang.Object[] row)
SpatialItem2LocationDaoImpl
class if you intend to use reporting queries.
SpatialItem2LocationDao.toRemoteSpatialItem2LocationNaturalId(fr.ifremer.allegro.referential.spatial.SpatialItem2Location)
public final void remoteSpatialItem2LocationNaturalIdToEntityCollection(java.util.Collection instances)
SpatialItem2LocationDao
RemoteSpatialItem2LocationNaturalId
to this
DAO's entity.
remoteSpatialItem2LocationNaturalIdToEntityCollection
in interface SpatialItem2LocationDao
SpatialItem2LocationDao.remoteSpatialItem2LocationNaturalIdToEntityCollection(java.util.Collection)
public void toRemoteSpatialItem2LocationNaturalId(SpatialItem2Location source, RemoteSpatialItem2LocationNaturalId target)
SpatialItem2LocationDao
toRemoteSpatialItem2LocationNaturalId
in interface SpatialItem2LocationDao
SpatialItem2LocationDao.toRemoteSpatialItem2LocationNaturalId(fr.ifremer.allegro.referential.spatial.SpatialItem2Location, fr.ifremer.allegro.referential.spatial.generic.vo.RemoteSpatialItem2LocationNaturalId)
public RemoteSpatialItem2LocationNaturalId toRemoteSpatialItem2LocationNaturalId(SpatialItem2Location entity)
SpatialItem2LocationDao
RemoteSpatialItem2LocationNaturalId
.
toRemoteSpatialItem2LocationNaturalId
in interface SpatialItem2LocationDao
SpatialItem2LocationDao.toRemoteSpatialItem2LocationNaturalId(fr.ifremer.allegro.referential.spatial.SpatialItem2Location)
public void remoteSpatialItem2LocationNaturalIdToEntity(RemoteSpatialItem2LocationNaturalId source, SpatialItem2Location target, boolean copyIfNull)
SpatialItem2LocationDao
RemoteSpatialItem2LocationNaturalId
to the specified entity.
remoteSpatialItem2LocationNaturalIdToEntity
in interface SpatialItem2LocationDao
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.spatial.SpatialItem2LocationDao#remoteSpatialItem2LocationNaturalIdToEntity(fr.ifremer.allegro.referential.spatial.generic.vo.RemoteSpatialItem2LocationNaturalId, fr.ifremer.allegro.referential.spatial.SpatialItem2Location)
public final void toClusterSpatialItem2LocationCollection(java.util.Collection entities)
SpatialItem2LocationDao
ClusterSpatialItem2Location
.
toClusterSpatialItem2LocationCollection
in interface SpatialItem2LocationDao
SpatialItem2LocationDao.toClusterSpatialItem2LocationCollection(java.util.Collection)
public final ClusterSpatialItem2Location[] toClusterSpatialItem2LocationArray(java.util.Collection entities)
SpatialItem2LocationDao
ClusterSpatialItem2Location
.
toClusterSpatialItem2LocationArray
in interface SpatialItem2LocationDao
SpatialItem2LocationDao.toClusterSpatialItem2LocationArray(java.util.Collection)
protected ClusterSpatialItem2Location toClusterSpatialItem2Location(java.lang.Object[] row)
SpatialItem2LocationDaoImpl
class if you intend to use reporting queries.
SpatialItem2LocationDao.toClusterSpatialItem2Location(fr.ifremer.allegro.referential.spatial.SpatialItem2Location)
public final void clusterSpatialItem2LocationToEntityCollection(java.util.Collection instances)
SpatialItem2LocationDao
ClusterSpatialItem2Location
to this
DAO's entity.
clusterSpatialItem2LocationToEntityCollection
in interface SpatialItem2LocationDao
SpatialItem2LocationDao.clusterSpatialItem2LocationToEntityCollection(java.util.Collection)
public void toClusterSpatialItem2Location(SpatialItem2Location source, ClusterSpatialItem2Location target)
SpatialItem2LocationDao
toClusterSpatialItem2Location
in interface SpatialItem2LocationDao
SpatialItem2LocationDao.toClusterSpatialItem2Location(fr.ifremer.allegro.referential.spatial.SpatialItem2Location, fr.ifremer.allegro.referential.spatial.generic.cluster.ClusterSpatialItem2Location)
public ClusterSpatialItem2Location toClusterSpatialItem2Location(SpatialItem2Location entity)
SpatialItem2LocationDao
ClusterSpatialItem2Location
.
toClusterSpatialItem2Location
in interface SpatialItem2LocationDao
SpatialItem2LocationDao.toClusterSpatialItem2Location(fr.ifremer.allegro.referential.spatial.SpatialItem2Location)
public void clusterSpatialItem2LocationToEntity(ClusterSpatialItem2Location source, SpatialItem2Location target, boolean copyIfNull)
SpatialItem2LocationDao
ClusterSpatialItem2Location
to the specified entity.
clusterSpatialItem2LocationToEntity
in interface SpatialItem2LocationDao
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.spatial.SpatialItem2LocationDao#clusterSpatialItem2LocationToEntity(fr.ifremer.allegro.referential.spatial.generic.cluster.ClusterSpatialItem2Location, fr.ifremer.allegro.referential.spatial.SpatialItem2Location)
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)
SpatialItem2LocationDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface SpatialItem2LocationDao
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.SpatialItem2LocationDao.search(int, int, int, fr.ifremer.allegro.Search)
public PaginationResult search(int pageNumber, int pageSize, Search search)
SpatialItem2LocationDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface SpatialItem2LocationDao
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.SpatialItem2LocationDao.search(int, int, fr.ifremer.allegro.Search)
public java.util.Set search(int transform, Search search)
SpatialItem2LocationDao
SpatialItem2LocationDao.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 SpatialItem2LocationDao
transform
- the transformation flag.search
- the search object which provides the search parameters and pagination specification.
SpatialItem2LocationDao.search(int, fr.ifremer.allegro.Search)
public java.util.Set search(Search search)
SpatialItem2LocationDao
search
object.
search
in interface SpatialItem2LocationDao
search
- the search object which provides the search parameters and pagination specification.
SpatialItem2LocationDao.search(fr.ifremer.allegro.Search)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |