|
||||||||||
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.LocationAssociationDaoBase
public abstract class LocationAssociationDaoBase
Base Spring DAO Class: is able to create, update, remove, load, and find
objects of type fr.ifremer.allegro.referential.location.LocationAssociation
.
LocationAssociation
Field Summary |
---|
Fields inherited from interface fr.ifremer.allegro.referential.location.LocationAssociationDao |
---|
TRANSFORM_CLUSTERLOCATIONASSOCIATION, TRANSFORM_NONE, TRANSFORM_REMOTELOCATIONASSOCIATIONFULLVO, TRANSFORM_REMOTELOCATIONASSOCIATIONNATURALID |
Constructor Summary | |
---|---|
LocationAssociationDaoBase()
|
Method Summary | |
---|---|
void |
clusterLocationAssociationToEntity(ClusterLocationAssociation source,
LocationAssociation target,
boolean copyIfNull)
Copies the fields of ClusterLocationAssociation to the specified entity. |
void |
clusterLocationAssociationToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type ClusterLocationAssociation to this
DAO's entity. |
java.util.Collection |
create(java.util.Collection entities)
Creates a new instance of fr.ifremer.allegro.referential.location.LocationAssociation and adds from the passed in entities collection |
LocationAssociation |
create(java.lang.Float childSurfaceRatio,
java.sql.Timestamp updateDate,
Location childLocation,
Location parentLocation)
Creates a new fr.ifremer.allegro.referential.location.LocationAssociation
instance from all attributes and
properties and adds it to the persistent store. |
java.util.Collection |
create(int transform,
java.util.Collection entities)
Does the same thing as LocationAssociationDao.create(fr.ifremer.allegro.referential.location.LocationAssociation) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
java.lang.Float childSurfaceRatio,
java.sql.Timestamp updateDate,
Location childLocation,
Location parentLocation)
Does the same thing as LocationAssociationDao.create(java.lang.Float,java.sql.Timestamp,fr.ifremer.allegro.referential.location.Location,fr.ifremer.allegro.referential.location.Location) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
LocationAssociation locationAssociation)
Does the same thing as LocationAssociationDao.create(fr.ifremer.allegro.referential.location.LocationAssociation) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
Location childLocation,
java.lang.Float childSurfaceRatio,
Location parentLocation)
Does the same thing as LocationAssociationDao.create(fr.ifremer.allegro.referential.location.Location,java.lang.Float,fr.ifremer.allegro.referential.location.Location) with an
additional flag called transform . |
LocationAssociation |
create(LocationAssociation locationAssociation)
Creates an instance of fr.ifremer.allegro.referential.location.LocationAssociation and adds it to the persistent store. |
LocationAssociation |
create(Location childLocation,
java.lang.Float childSurfaceRatio,
Location parentLocation)
Creates a new fr.ifremer.allegro.referential.location.LocationAssociation
instance from only required properties (attributes
and association ends) and adds it to the persistent store. |
LocationAssociation |
createFromClusterLocationAssociation(ClusterLocationAssociation clusterLocationAssociation)
|
java.util.Collection |
findLocationAssociationByChildLocation(int transform,
int pageNumber,
int pageSize,
Location childLocation)
Does the same thing as LocationAssociationDao.findLocationAssociationByChildLocation(int, fr.ifremer.allegro.referential.location.Location) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findLocationAssociationByChildLocation(int pageNumber,
int pageSize,
Location childLocation)
Does the same thing as LocationAssociationDao.findLocationAssociationByChildLocation(fr.ifremer.allegro.referential.location.Location) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findLocationAssociationByChildLocation(int transform,
Location childLocation)
Does the same thing as LocationAssociationDao.findLocationAssociationByChildLocation(fr.ifremer.allegro.referential.location.Location) with an
additional flag called transform . |
java.util.Collection |
findLocationAssociationByChildLocation(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
Location childLocation)
Does the same thing as LocationAssociationDao.findLocationAssociationByChildLocation(int, String, fr.ifremer.allegro.referential.location.Location) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findLocationAssociationByChildLocation(int transform,
java.lang.String queryString,
Location childLocation)
Does the same thing as LocationAssociationDao.findLocationAssociationByChildLocation(int, fr.ifremer.allegro.referential.location.Location) with an
additional argument called queryString . |
java.util.Collection |
findLocationAssociationByChildLocation(Location childLocation)
|
java.util.Collection |
findLocationAssociationByChildLocation(java.lang.String queryString,
int pageNumber,
int pageSize,
Location childLocation)
Does the same thing as LocationAssociationDao.findLocationAssociationByChildLocation(String, fr.ifremer.allegro.referential.location.Location) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findLocationAssociationByChildLocation(java.lang.String queryString,
Location childLocation)
Does the same thing as LocationAssociationDao.findLocationAssociationByChildLocation(fr.ifremer.allegro.referential.location.Location) with an
additional argument called queryString . |
java.lang.Object |
findLocationAssociationByIdentifiers(int transform,
Location parentLocation,
Location childLocation)
Does the same thing as LocationAssociationDao.findLocationAssociationByIdentifiers(fr.ifremer.allegro.referential.location.Location, fr.ifremer.allegro.referential.location.Location) with an
additional flag called transform . |
java.lang.Object |
findLocationAssociationByIdentifiers(int transform,
java.lang.String queryString,
Location parentLocation,
Location childLocation)
Does the same thing as LocationAssociationDao.findLocationAssociationByIdentifiers(int, fr.ifremer.allegro.referential.location.Location, fr.ifremer.allegro.referential.location.Location) with an
additional argument called queryString . |
LocationAssociation |
findLocationAssociationByIdentifiers(Location parentLocation,
Location childLocation)
|
LocationAssociation |
findLocationAssociationByIdentifiers(java.lang.String queryString,
Location parentLocation,
Location childLocation)
Does the same thing as LocationAssociationDao.findLocationAssociationByIdentifiers(fr.ifremer.allegro.referential.location.Location, fr.ifremer.allegro.referential.location.Location) with an
additional argument called queryString . |
java.lang.Object |
findLocationAssociationByNaturalId(int transform,
Location parentLocation,
Location childLocation)
Does the same thing as LocationAssociationDao.findLocationAssociationByNaturalId(fr.ifremer.allegro.referential.location.Location, fr.ifremer.allegro.referential.location.Location) with an
additional flag called transform . |
java.lang.Object |
findLocationAssociationByNaturalId(int transform,
java.lang.String queryString,
Location parentLocation,
Location childLocation)
Does the same thing as LocationAssociationDao.findLocationAssociationByNaturalId(int, fr.ifremer.allegro.referential.location.Location, fr.ifremer.allegro.referential.location.Location) with an
additional argument called queryString . |
LocationAssociation |
findLocationAssociationByNaturalId(Location parentLocation,
Location childLocation)
|
LocationAssociation |
findLocationAssociationByNaturalId(java.lang.String queryString,
Location parentLocation,
Location childLocation)
Does the same thing as LocationAssociationDao.findLocationAssociationByNaturalId(fr.ifremer.allegro.referential.location.Location, fr.ifremer.allegro.referential.location.Location) with an
additional argument called queryString . |
java.util.Collection |
findLocationAssociationByParentLocation(int transform,
int pageNumber,
int pageSize,
Location parentLocation)
Does the same thing as LocationAssociationDao.findLocationAssociationByParentLocation(int, fr.ifremer.allegro.referential.location.Location) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findLocationAssociationByParentLocation(int pageNumber,
int pageSize,
Location parentLocation)
Does the same thing as LocationAssociationDao.findLocationAssociationByParentLocation(fr.ifremer.allegro.referential.location.Location) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findLocationAssociationByParentLocation(int transform,
Location parentLocation)
Does the same thing as LocationAssociationDao.findLocationAssociationByParentLocation(fr.ifremer.allegro.referential.location.Location) with an
additional flag called transform . |
java.util.Collection |
findLocationAssociationByParentLocation(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
Location parentLocation)
Does the same thing as LocationAssociationDao.findLocationAssociationByParentLocation(int, String, fr.ifremer.allegro.referential.location.Location) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findLocationAssociationByParentLocation(int transform,
java.lang.String queryString,
Location parentLocation)
Does the same thing as LocationAssociationDao.findLocationAssociationByParentLocation(int, fr.ifremer.allegro.referential.location.Location) with an
additional argument called queryString . |
java.util.Collection |
findLocationAssociationByParentLocation(Location parentLocation)
|
java.util.Collection |
findLocationAssociationByParentLocation(java.lang.String queryString,
int pageNumber,
int pageSize,
Location parentLocation)
Does the same thing as LocationAssociationDao.findLocationAssociationByParentLocation(String, fr.ifremer.allegro.referential.location.Location) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findLocationAssociationByParentLocation(java.lang.String queryString,
Location parentLocation)
Does the same thing as LocationAssociationDao.findLocationAssociationByParentLocation(fr.ifremer.allegro.referential.location.Location) with an
additional argument called queryString . |
ClusterLocationAssociation[] |
getAllClusterLocationAssociationSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize)
|
java.util.Collection |
getAllLocationAssociation()
|
java.util.Collection |
getAllLocationAssociation(int transform)
Does the same thing as LocationAssociationDao.getAllLocationAssociation() with an
additional flag called transform . |
java.util.Collection |
getAllLocationAssociation(int pageNumber,
int pageSize)
Does the same thing as LocationAssociationDao.getAllLocationAssociation() with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllLocationAssociation(int transform,
int pageNumber,
int pageSize)
Does the same thing as LocationAssociationDao.getAllLocationAssociation(int) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllLocationAssociation(int transform,
java.lang.String queryString)
Does the same thing as LocationAssociationDao.getAllLocationAssociation(int) with an
additional argument called queryString . |
java.util.Collection |
getAllLocationAssociation(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as LocationAssociationDao.getAllLocationAssociation(int, String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllLocationAssociation(java.lang.String queryString)
Does the same thing as LocationAssociationDao.getAllLocationAssociation() with an
additional argument called queryString . |
java.util.Collection |
getAllLocationAssociation(java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as LocationAssociationDao.getAllLocationAssociation(String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllLocationAssociationSinceDateSynchro(int transform,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as LocationAssociationDao.getAllLocationAssociationSinceDateSynchro(int, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllLocationAssociationSinceDateSynchro(int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as LocationAssociationDao.getAllLocationAssociationSinceDateSynchro(java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllLocationAssociationSinceDateSynchro(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as LocationAssociationDao.getAllLocationAssociationSinceDateSynchro(int, String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllLocationAssociationSinceDateSynchro(int transform,
java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as LocationAssociationDao.getAllLocationAssociationSinceDateSynchro(int, java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllLocationAssociationSinceDateSynchro(int transform,
java.sql.Timestamp updateDate)
Does the same thing as LocationAssociationDao.getAllLocationAssociationSinceDateSynchro(java.sql.Timestamp) with an
additional flag called transform . |
java.util.Collection |
getAllLocationAssociationSinceDateSynchro(java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as LocationAssociationDao.getAllLocationAssociationSinceDateSynchro(String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllLocationAssociationSinceDateSynchro(java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as LocationAssociationDao.getAllLocationAssociationSinceDateSynchro(java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllLocationAssociationSinceDateSynchro(java.sql.Timestamp updateDate)
|
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 LocationAssociation |
handleCreateFromClusterLocationAssociation(ClusterLocationAssociation clusterLocationAssociation)
Performs the core logic for createFromClusterLocationAssociation(fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationAssociation) |
protected abstract ClusterLocationAssociation[] |
handleGetAllClusterLocationAssociationSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize)
Performs the core logic for getAllClusterLocationAssociationSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer) |
java.lang.Object |
load(int transform,
Location childLocation,
Location parentLocation)
Does the same thing as LocationAssociationDao.load(fr.ifremer.allegro.referential.location.Location,fr.ifremer.allegro.referential.location.Location) with an
additional flag called transform . |
LocationAssociation |
load(Location childLocation,
Location parentLocation)
Loads an instance of fr.ifremer.allegro.referential.location.LocationAssociation from the persistent store. |
java.util.Collection |
loadAll()
Loads all entities of type LocationAssociation . |
java.util.Collection |
loadAll(int transform)
Does the same thing as LocationAssociationDao.loadAll() with an
additional flag called transform . |
java.util.Collection |
loadAll(int pageNumber,
int pageSize)
Does the same thing as LocationAssociationDao.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 LocationAssociationDao.loadAll(int) with an
additional two arguments called pageNumber and pageSize . |
void |
remoteLocationAssociationFullVOToEntity(RemoteLocationAssociationFullVO source,
LocationAssociation target,
boolean copyIfNull)
Copies the fields of RemoteLocationAssociationFullVO to the specified entity. |
void |
remoteLocationAssociationFullVOToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteLocationAssociationFullVO to this
DAO's entity. |
void |
remoteLocationAssociationNaturalIdToEntity(RemoteLocationAssociationNaturalId source,
LocationAssociation target,
boolean copyIfNull)
Copies the fields of RemoteLocationAssociationNaturalId to the specified entity. |
void |
remoteLocationAssociationNaturalIdToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteLocationAssociationNaturalId to this
DAO's entity. |
void |
remove(java.util.Collection entities)
Removes all entities in the given entities |
void |
remove(LocationAssociation locationAssociation)
Removes the instance of fr.ifremer.allegro.referential.location.LocationAssociation from the persistent store. |
void |
remove(Location childLocation,
Location parentLocation)
Removes the instance of fr.ifremer.allegro.referential.location.LocationAssociation 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 LocationAssociationDao.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 . |
ClusterLocationAssociation |
toClusterLocationAssociation(LocationAssociation entity)
Converts this DAO's entity to an object of type ClusterLocationAssociation . |
void |
toClusterLocationAssociation(LocationAssociation source,
ClusterLocationAssociation target)
Copies the fields of the specified entity to the target value object. |
protected ClusterLocationAssociation |
toClusterLocationAssociation(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
ClusterLocationAssociation[] |
toClusterLocationAssociationArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type ClusterLocationAssociation . |
void |
toClusterLocationAssociationCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type ClusterLocationAssociation . |
protected LocationAssociation |
toEntity(java.lang.Object[] row)
|
RemoteLocationAssociationFullVO |
toRemoteLocationAssociationFullVO(LocationAssociation entity)
Converts this DAO's entity to an object of type RemoteLocationAssociationFullVO . |
void |
toRemoteLocationAssociationFullVO(LocationAssociation source,
RemoteLocationAssociationFullVO target)
Copies the fields of the specified entity to the target value object. |
protected RemoteLocationAssociationFullVO |
toRemoteLocationAssociationFullVO(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteLocationAssociationFullVO[] |
toRemoteLocationAssociationFullVOArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteLocationAssociationFullVO . |
void |
toRemoteLocationAssociationFullVOCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteLocationAssociationFullVO . |
RemoteLocationAssociationNaturalId |
toRemoteLocationAssociationNaturalId(LocationAssociation entity)
Converts this DAO's entity to an object of type RemoteLocationAssociationNaturalId . |
void |
toRemoteLocationAssociationNaturalId(LocationAssociation source,
RemoteLocationAssociationNaturalId target)
Copies the fields of the specified entity to the target value object. |
protected RemoteLocationAssociationNaturalId |
toRemoteLocationAssociationNaturalId(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteLocationAssociationNaturalId[] |
toRemoteLocationAssociationNaturalIdArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteLocationAssociationNaturalId . |
void |
toRemoteLocationAssociationNaturalIdCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteLocationAssociationNaturalId . |
protected void |
transformEntities(int transform,
java.util.Collection entities)
Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.location.LocationAssociation)
method. |
protected java.lang.Object |
transformEntity(int transform,
LocationAssociation 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.LocationAssociationDao , please note
that the LocationAssociationDao.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(LocationAssociation locationAssociation)
Updates the locationAssociation 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.LocationAssociationDao |
---|
clusterLocationAssociationToEntity, remoteLocationAssociationFullVOToEntity, remoteLocationAssociationNaturalIdToEntity |
Constructor Detail |
---|
public LocationAssociationDaoBase()
Method Detail |
---|
public void setLocationDao(LocationDao locationDao)
locationDao
.
protected LocationDao getLocationDao()
locationDao
.
public java.lang.Object load(int transform, Location childLocation, Location parentLocation)
LocationAssociationDao
Does the same thing as LocationAssociationDao.load(fr.ifremer.allegro.referential.location.Location,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 LocationAssociationDao
childLocation
- identifier of the entity to loadparentLocation
- identifier of the entity to load
LocationAssociationDao.load(int, fr.ifremer.allegro.referential.location.Location,fr.ifremer.allegro.referential.location.Location)
public LocationAssociation load(Location childLocation, Location parentLocation)
LocationAssociationDao
load
in interface LocationAssociationDao
LocationAssociationDao.load(fr.ifremer.allegro.referential.location.Location,fr.ifremer.allegro.referential.location.Location)
public java.util.Collection loadAll()
LocationAssociationDao
LocationAssociation
.
loadAll
in interface LocationAssociationDao
LocationAssociationDao.loadAll()
public java.util.Collection loadAll(int transform)
LocationAssociationDao
Does the same thing as LocationAssociationDao.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 LocationAssociationDao
transform
- the flag indicating what transformation to use.
LocationAssociationDao.loadAll(int)
public java.util.Collection loadAll(int pageNumber, int pageSize)
LocationAssociationDao
Does the same thing as LocationAssociationDao.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 LocationAssociationDao
pageNumber
- the page number to retrieve when paging results.pageSize
- the size of the page to retrieve when paging results.
LocationAssociationDao.loadAll(int, int)
public java.util.Collection loadAll(int transform, int pageNumber, int pageSize)
LocationAssociationDao
Does the same thing as LocationAssociationDao.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 LocationAssociationDao
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.
LocationAssociationDao.loadAll(int, int, int)
public LocationAssociation create(LocationAssociation locationAssociation)
LocationAssociationDao
create
in interface LocationAssociationDao
LocationAssociationDao.create(fr.ifremer.allegro.referential.location.LocationAssociation)
public java.lang.Object create(int transform, LocationAssociation locationAssociation)
LocationAssociationDao
Does the same thing as LocationAssociationDao.create(fr.ifremer.allegro.referential.location.LocationAssociation)
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 LocationAssociationDao
LocationAssociationDao.create(int transform, fr.ifremer.allegro.referential.location.LocationAssociation)
public java.util.Collection create(java.util.Collection entities)
LocationAssociationDao
entities
collection
create
in interface LocationAssociationDao
entities
- the collection of fr.ifremer.allegro.referential.location.LocationAssociation
instances to create.
LocationAssociationDao.create(java.util.Collection)
public java.util.Collection create(int transform, java.util.Collection entities)
LocationAssociationDao
Does the same thing as LocationAssociationDao.create(fr.ifremer.allegro.referential.location.LocationAssociation)
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 LocationAssociationDao
LocationAssociationDao.create(int, java.util.Collection)
public LocationAssociation create(java.lang.Float childSurfaceRatio, java.sql.Timestamp updateDate, Location childLocation, Location parentLocation)
LocationAssociationDao
Creates a new fr.ifremer.allegro.referential.location.LocationAssociation
instance from all attributes and
properties and adds it to the persistent store.
create
in interface LocationAssociationDao
LocationAssociationDao.create(java.lang.Float,java.sql.Timestamp,fr.ifremer.allegro.referential.location.Location,fr.ifremer.allegro.referential.location.Location)
public java.lang.Object create(int transform, java.lang.Float childSurfaceRatio, java.sql.Timestamp updateDate, Location childLocation, Location parentLocation)
LocationAssociationDao
Does the same thing as LocationAssociationDao.create(java.lang.Float,java.sql.Timestamp,fr.ifremer.allegro.referential.location.Location,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 LocationAssociationDao
LocationAssociationDao.create(int, java.lang.Float,java.sql.Timestamp,fr.ifremer.allegro.referential.location.Location,fr.ifremer.allegro.referential.location.Location)
public LocationAssociation create(Location childLocation, java.lang.Float childSurfaceRatio, Location parentLocation)
LocationAssociationDao
Creates a new fr.ifremer.allegro.referential.location.LocationAssociation
instance from only required properties (attributes
and association ends) and adds it to the persistent store.
create
in interface LocationAssociationDao
LocationAssociationDao.create(fr.ifremer.allegro.referential.location.Location,java.lang.Float,fr.ifremer.allegro.referential.location.Location)
public java.lang.Object create(int transform, Location childLocation, java.lang.Float childSurfaceRatio, Location parentLocation)
LocationAssociationDao
Does the same thing as LocationAssociationDao.create(fr.ifremer.allegro.referential.location.Location,java.lang.Float,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 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 LocationAssociationDao
LocationAssociationDao.create(int, fr.ifremer.allegro.referential.location.Location,java.lang.Float,fr.ifremer.allegro.referential.location.Location)
public void update(LocationAssociation locationAssociation)
LocationAssociationDao
locationAssociation
instance in the persistent store.
update
in interface LocationAssociationDao
LocationAssociationDao.update(fr.ifremer.allegro.referential.location.LocationAssociation)
public void update(java.util.Collection entities)
LocationAssociationDao
entities
collection in the persistent store.
update
in interface LocationAssociationDao
LocationAssociationDao.update(java.util.Collection)
public void remove(LocationAssociation locationAssociation)
LocationAssociationDao
remove
in interface LocationAssociationDao
LocationAssociationDao.remove(fr.ifremer.allegro.referential.location.LocationAssociation)
public void remove(Location childLocation, Location parentLocation)
LocationAssociationDao
identifiers
from the persistent store.
remove
in interface LocationAssociationDao
LocationAssociationDao.remove(fr.ifremer.allegro.referential.location.Location,fr.ifremer.allegro.referential.location.Location)
public void remove(java.util.Collection entities)
LocationAssociationDao
entities collection.
- Specified by:
remove
in interface LocationAssociationDao
- See Also:
LocationAssociationDao.remove(java.util.Collection)
public java.util.Collection getAllLocationAssociation()
getAllLocationAssociation
in interface LocationAssociationDao
LocationAssociationDao.getAllLocationAssociation()
public java.util.Collection getAllLocationAssociation(int transform)
LocationAssociationDao
Does the same thing as LocationAssociationDao.getAllLocationAssociation()
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.
getAllLocationAssociation
in interface LocationAssociationDao
LocationAssociationDao.getAllLocationAssociation(int)
public java.util.Collection getAllLocationAssociation(java.lang.String queryString)
LocationAssociationDao
Does the same thing as LocationAssociationDao.getAllLocationAssociation()
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in LocationAssociationDao.getAllLocationAssociation()
.
getAllLocationAssociation
in interface LocationAssociationDao
LocationAssociationDao.getAllLocationAssociation(java.lang.String)
public java.util.Collection getAllLocationAssociation(int pageNumber, int pageSize)
LocationAssociationDao
Does the same thing as LocationAssociationDao.getAllLocationAssociation()
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.
getAllLocationAssociation
in interface LocationAssociationDao
LocationAssociationDao.getAllLocationAssociation(int, int)
public java.util.Collection getAllLocationAssociation(java.lang.String queryString, int pageNumber, int pageSize)
LocationAssociationDao
Does the same thing as LocationAssociationDao.getAllLocationAssociation(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.
getAllLocationAssociation
in interface LocationAssociationDao
LocationAssociationDao.getAllLocationAssociation(String, int, int)
public java.util.Collection getAllLocationAssociation(int transform, java.lang.String queryString)
LocationAssociationDao
Does the same thing as LocationAssociationDao.getAllLocationAssociation(int)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in LocationAssociationDao.getAllLocationAssociation(int)
.
getAllLocationAssociation
in interface LocationAssociationDao
LocationAssociationDao.getAllLocationAssociation(int, String)
public java.util.Collection getAllLocationAssociation(int transform, int pageNumber, int pageSize)
LocationAssociationDao
Does the same thing as LocationAssociationDao.getAllLocationAssociation(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.
getAllLocationAssociation
in interface LocationAssociationDao
LocationAssociationDao.getAllLocationAssociation(int, int, int)
public java.util.Collection getAllLocationAssociation(int transform, java.lang.String queryString, int pageNumber, int pageSize)
LocationAssociationDao
Does the same thing as LocationAssociationDao.getAllLocationAssociation(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.
getAllLocationAssociation
in interface LocationAssociationDao
LocationAssociationDao.getAllLocationAssociation(int, java.lang.String, int, int)
public java.util.Collection findLocationAssociationByParentLocation(Location parentLocation)
findLocationAssociationByParentLocation
in interface LocationAssociationDao
LocationAssociationDao.findLocationAssociationByParentLocation(fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findLocationAssociationByParentLocation(int transform, Location parentLocation)
LocationAssociationDao
Does the same thing as LocationAssociationDao.findLocationAssociationByParentLocation(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.
findLocationAssociationByParentLocation
in interface LocationAssociationDao
LocationAssociationDao.findLocationAssociationByParentLocation(int, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findLocationAssociationByParentLocation(java.lang.String queryString, Location parentLocation)
LocationAssociationDao
Does the same thing as LocationAssociationDao.findLocationAssociationByParentLocation(fr.ifremer.allegro.referential.location.Location)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in LocationAssociationDao.findLocationAssociationByParentLocation(fr.ifremer.allegro.referential.location.Location)
.
findLocationAssociationByParentLocation
in interface LocationAssociationDao
LocationAssociationDao.findLocationAssociationByParentLocation(java.lang.String, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findLocationAssociationByParentLocation(int pageNumber, int pageSize, Location parentLocation)
LocationAssociationDao
Does the same thing as LocationAssociationDao.findLocationAssociationByParentLocation(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.
findLocationAssociationByParentLocation
in interface LocationAssociationDao
LocationAssociationDao.findLocationAssociationByParentLocation(int, int, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findLocationAssociationByParentLocation(java.lang.String queryString, int pageNumber, int pageSize, Location parentLocation)
LocationAssociationDao
Does the same thing as LocationAssociationDao.findLocationAssociationByParentLocation(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.
findLocationAssociationByParentLocation
in interface LocationAssociationDao
LocationAssociationDao.findLocationAssociationByParentLocation(String, int, int, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findLocationAssociationByParentLocation(int transform, java.lang.String queryString, Location parentLocation)
LocationAssociationDao
Does the same thing as LocationAssociationDao.findLocationAssociationByParentLocation(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 LocationAssociationDao.findLocationAssociationByParentLocation(int, fr.ifremer.allegro.referential.location.Location parentLocation)
.
findLocationAssociationByParentLocation
in interface LocationAssociationDao
LocationAssociationDao.findLocationAssociationByParentLocation(int, String, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findLocationAssociationByParentLocation(int transform, int pageNumber, int pageSize, Location parentLocation)
LocationAssociationDao
Does the same thing as LocationAssociationDao.findLocationAssociationByParentLocation(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.
findLocationAssociationByParentLocation
in interface LocationAssociationDao
LocationAssociationDao.findLocationAssociationByParentLocation(int, int, int, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findLocationAssociationByParentLocation(int transform, java.lang.String queryString, int pageNumber, int pageSize, Location parentLocation)
LocationAssociationDao
Does the same thing as LocationAssociationDao.findLocationAssociationByParentLocation(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.
findLocationAssociationByParentLocation
in interface LocationAssociationDao
LocationAssociationDao.findLocationAssociationByParentLocation(int, java.lang.String, int, int, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findLocationAssociationByChildLocation(Location childLocation)
findLocationAssociationByChildLocation
in interface LocationAssociationDao
LocationAssociationDao.findLocationAssociationByChildLocation(fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findLocationAssociationByChildLocation(int transform, Location childLocation)
LocationAssociationDao
Does the same thing as LocationAssociationDao.findLocationAssociationByChildLocation(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.
findLocationAssociationByChildLocation
in interface LocationAssociationDao
LocationAssociationDao.findLocationAssociationByChildLocation(int, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findLocationAssociationByChildLocation(java.lang.String queryString, Location childLocation)
LocationAssociationDao
Does the same thing as LocationAssociationDao.findLocationAssociationByChildLocation(fr.ifremer.allegro.referential.location.Location)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in LocationAssociationDao.findLocationAssociationByChildLocation(fr.ifremer.allegro.referential.location.Location)
.
findLocationAssociationByChildLocation
in interface LocationAssociationDao
LocationAssociationDao.findLocationAssociationByChildLocation(java.lang.String, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findLocationAssociationByChildLocation(int pageNumber, int pageSize, Location childLocation)
LocationAssociationDao
Does the same thing as LocationAssociationDao.findLocationAssociationByChildLocation(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.
findLocationAssociationByChildLocation
in interface LocationAssociationDao
LocationAssociationDao.findLocationAssociationByChildLocation(int, int, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findLocationAssociationByChildLocation(java.lang.String queryString, int pageNumber, int pageSize, Location childLocation)
LocationAssociationDao
Does the same thing as LocationAssociationDao.findLocationAssociationByChildLocation(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.
findLocationAssociationByChildLocation
in interface LocationAssociationDao
LocationAssociationDao.findLocationAssociationByChildLocation(String, int, int, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findLocationAssociationByChildLocation(int transform, java.lang.String queryString, Location childLocation)
LocationAssociationDao
Does the same thing as LocationAssociationDao.findLocationAssociationByChildLocation(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 LocationAssociationDao.findLocationAssociationByChildLocation(int, fr.ifremer.allegro.referential.location.Location childLocation)
.
findLocationAssociationByChildLocation
in interface LocationAssociationDao
LocationAssociationDao.findLocationAssociationByChildLocation(int, String, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findLocationAssociationByChildLocation(int transform, int pageNumber, int pageSize, Location childLocation)
LocationAssociationDao
Does the same thing as LocationAssociationDao.findLocationAssociationByChildLocation(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.
findLocationAssociationByChildLocation
in interface LocationAssociationDao
LocationAssociationDao.findLocationAssociationByChildLocation(int, int, int, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findLocationAssociationByChildLocation(int transform, java.lang.String queryString, int pageNumber, int pageSize, Location childLocation)
LocationAssociationDao
Does the same thing as LocationAssociationDao.findLocationAssociationByChildLocation(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.
findLocationAssociationByChildLocation
in interface LocationAssociationDao
LocationAssociationDao.findLocationAssociationByChildLocation(int, java.lang.String, int, int, fr.ifremer.allegro.referential.location.Location)
public LocationAssociation findLocationAssociationByIdentifiers(Location parentLocation, Location childLocation)
findLocationAssociationByIdentifiers
in interface LocationAssociationDao
LocationAssociationDao.findLocationAssociationByIdentifiers(fr.ifremer.allegro.referential.location.Location, fr.ifremer.allegro.referential.location.Location)
public java.lang.Object findLocationAssociationByIdentifiers(int transform, Location parentLocation, Location childLocation)
LocationAssociationDao
Does the same thing as LocationAssociationDao.findLocationAssociationByIdentifiers(fr.ifremer.allegro.referential.location.Location, 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.
findLocationAssociationByIdentifiers
in interface LocationAssociationDao
LocationAssociationDao.findLocationAssociationByIdentifiers(int, fr.ifremer.allegro.referential.location.Location, fr.ifremer.allegro.referential.location.Location)
public LocationAssociation findLocationAssociationByIdentifiers(java.lang.String queryString, Location parentLocation, Location childLocation)
LocationAssociationDao
Does the same thing as LocationAssociationDao.findLocationAssociationByIdentifiers(fr.ifremer.allegro.referential.location.Location, fr.ifremer.allegro.referential.location.Location)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in LocationAssociationDao.findLocationAssociationByIdentifiers(fr.ifremer.allegro.referential.location.Location, fr.ifremer.allegro.referential.location.Location)
.
findLocationAssociationByIdentifiers
in interface LocationAssociationDao
LocationAssociationDao.findLocationAssociationByIdentifiers(java.lang.String, fr.ifremer.allegro.referential.location.Location, fr.ifremer.allegro.referential.location.Location)
public java.lang.Object findLocationAssociationByIdentifiers(int transform, java.lang.String queryString, Location parentLocation, Location childLocation)
LocationAssociationDao
Does the same thing as LocationAssociationDao.findLocationAssociationByIdentifiers(int, fr.ifremer.allegro.referential.location.Location, fr.ifremer.allegro.referential.location.Location)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in LocationAssociationDao.findLocationAssociationByIdentifiers(int, fr.ifremer.allegro.referential.location.Location parentLocation, fr.ifremer.allegro.referential.location.Location childLocation)
.
findLocationAssociationByIdentifiers
in interface LocationAssociationDao
LocationAssociationDao.findLocationAssociationByIdentifiers(int, java.lang.String, fr.ifremer.allegro.referential.location.Location, fr.ifremer.allegro.referential.location.Location)
public LocationAssociation findLocationAssociationByNaturalId(Location parentLocation, Location childLocation)
findLocationAssociationByNaturalId
in interface LocationAssociationDao
LocationAssociationDao.findLocationAssociationByNaturalId(fr.ifremer.allegro.referential.location.Location, fr.ifremer.allegro.referential.location.Location)
public java.lang.Object findLocationAssociationByNaturalId(int transform, Location parentLocation, Location childLocation)
LocationAssociationDao
Does the same thing as LocationAssociationDao.findLocationAssociationByNaturalId(fr.ifremer.allegro.referential.location.Location, 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.
findLocationAssociationByNaturalId
in interface LocationAssociationDao
LocationAssociationDao.findLocationAssociationByNaturalId(int, fr.ifremer.allegro.referential.location.Location, fr.ifremer.allegro.referential.location.Location)
public LocationAssociation findLocationAssociationByNaturalId(java.lang.String queryString, Location parentLocation, Location childLocation)
LocationAssociationDao
Does the same thing as LocationAssociationDao.findLocationAssociationByNaturalId(fr.ifremer.allegro.referential.location.Location, fr.ifremer.allegro.referential.location.Location)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in LocationAssociationDao.findLocationAssociationByNaturalId(fr.ifremer.allegro.referential.location.Location, fr.ifremer.allegro.referential.location.Location)
.
findLocationAssociationByNaturalId
in interface LocationAssociationDao
LocationAssociationDao.findLocationAssociationByNaturalId(java.lang.String, fr.ifremer.allegro.referential.location.Location, fr.ifremer.allegro.referential.location.Location)
public java.lang.Object findLocationAssociationByNaturalId(int transform, java.lang.String queryString, Location parentLocation, Location childLocation)
LocationAssociationDao
Does the same thing as LocationAssociationDao.findLocationAssociationByNaturalId(int, fr.ifremer.allegro.referential.location.Location, fr.ifremer.allegro.referential.location.Location)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in LocationAssociationDao.findLocationAssociationByNaturalId(int, fr.ifremer.allegro.referential.location.Location parentLocation, fr.ifremer.allegro.referential.location.Location childLocation)
.
findLocationAssociationByNaturalId
in interface LocationAssociationDao
LocationAssociationDao.findLocationAssociationByNaturalId(int, java.lang.String, fr.ifremer.allegro.referential.location.Location, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection getAllLocationAssociationSinceDateSynchro(java.sql.Timestamp updateDate)
getAllLocationAssociationSinceDateSynchro
in interface LocationAssociationDao
LocationAssociationDao.getAllLocationAssociationSinceDateSynchro(java.sql.Timestamp)
public java.util.Collection getAllLocationAssociationSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
LocationAssociationDao
Does the same thing as LocationAssociationDao.getAllLocationAssociationSinceDateSynchro(java.sql.Timestamp)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
getAllLocationAssociationSinceDateSynchro
in interface LocationAssociationDao
LocationAssociationDao.getAllLocationAssociationSinceDateSynchro(int, java.sql.Timestamp)
public java.util.Collection getAllLocationAssociationSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
LocationAssociationDao
Does the same thing as LocationAssociationDao.getAllLocationAssociationSinceDateSynchro(java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in LocationAssociationDao.getAllLocationAssociationSinceDateSynchro(java.sql.Timestamp)
.
getAllLocationAssociationSinceDateSynchro
in interface LocationAssociationDao
LocationAssociationDao.getAllLocationAssociationSinceDateSynchro(java.lang.String, java.sql.Timestamp)
public java.util.Collection getAllLocationAssociationSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
LocationAssociationDao
Does the same thing as LocationAssociationDao.getAllLocationAssociationSinceDateSynchro(java.sql.Timestamp)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllLocationAssociationSinceDateSynchro
in interface LocationAssociationDao
LocationAssociationDao.getAllLocationAssociationSinceDateSynchro(int, int, java.sql.Timestamp)
public java.util.Collection getAllLocationAssociationSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
LocationAssociationDao
Does the same thing as LocationAssociationDao.getAllLocationAssociationSinceDateSynchro(String, java.sql.Timestamp)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllLocationAssociationSinceDateSynchro
in interface LocationAssociationDao
LocationAssociationDao.getAllLocationAssociationSinceDateSynchro(String, int, int, java.sql.Timestamp)
public java.util.Collection getAllLocationAssociationSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
LocationAssociationDao
Does the same thing as LocationAssociationDao.getAllLocationAssociationSinceDateSynchro(int, java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in LocationAssociationDao.getAllLocationAssociationSinceDateSynchro(int, java.sql.Timestamp updateDate)
.
getAllLocationAssociationSinceDateSynchro
in interface LocationAssociationDao
LocationAssociationDao.getAllLocationAssociationSinceDateSynchro(int, String, java.sql.Timestamp)
public java.util.Collection getAllLocationAssociationSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
LocationAssociationDao
Does the same thing as LocationAssociationDao.getAllLocationAssociationSinceDateSynchro(int, java.sql.Timestamp)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllLocationAssociationSinceDateSynchro
in interface LocationAssociationDao
LocationAssociationDao.getAllLocationAssociationSinceDateSynchro(int, int, int, java.sql.Timestamp)
public java.util.Collection getAllLocationAssociationSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
LocationAssociationDao
Does the same thing as LocationAssociationDao.getAllLocationAssociationSinceDateSynchro(int, String, java.sql.Timestamp)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllLocationAssociationSinceDateSynchro
in interface LocationAssociationDao
LocationAssociationDao.getAllLocationAssociationSinceDateSynchro(int, java.lang.String, int, int, java.sql.Timestamp)
public LocationAssociation createFromClusterLocationAssociation(ClusterLocationAssociation clusterLocationAssociation)
createFromClusterLocationAssociation
in interface LocationAssociationDao
LocationAssociationDao.createFromClusterLocationAssociation(fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationAssociation)
protected abstract LocationAssociation handleCreateFromClusterLocationAssociation(ClusterLocationAssociation clusterLocationAssociation) throws java.lang.Exception
createFromClusterLocationAssociation(fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationAssociation)
java.lang.Exception
public ClusterLocationAssociation[] getAllClusterLocationAssociationSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
getAllClusterLocationAssociationSinceDateSynchro
in interface LocationAssociationDao
LocationAssociationDao.getAllClusterLocationAssociationSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected abstract ClusterLocationAssociation[] handleGetAllClusterLocationAssociationSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize) throws java.lang.Exception
getAllClusterLocationAssociationSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
java.lang.Exception
protected java.lang.Object transformEntity(int transform, LocationAssociation entity)
transform
flag is set to one of the constants defined in fr.ifremer.allegro.referential.location.LocationAssociationDao
, please note
that the LocationAssociationDao.TRANSFORM_NONE
constant denotes no transformation, so the entity itself
will be returned.
This method will return instances of these types:
LocationAssociation
- LocationAssociationDao.TRANSFORM_NONE
RemoteLocationAssociationFullVO
- TRANSFORM_REMOTELOCATIONASSOCIATIONFULLVO
RemoteLocationAssociationNaturalId
- TRANSFORM_REMOTELOCATIONASSOCIATIONNATURALID
ClusterLocationAssociation
- TRANSFORM_CLUSTERLOCATIONASSOCIATION
LocationAssociationDao.TRANSFORM_NONE
is assumed.
transform
- one of the constants declared in LocationAssociationDao
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.LocationAssociation)
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.LocationAssociationDao
entities
- the collection of entities to transformtransformEntity(int,fr.ifremer.allegro.referential.location.LocationAssociation)
protected LocationAssociation toEntity(java.lang.Object[] row)
public final void toRemoteLocationAssociationFullVOCollection(java.util.Collection entities)
LocationAssociationDao
RemoteLocationAssociationFullVO
.
toRemoteLocationAssociationFullVOCollection
in interface LocationAssociationDao
LocationAssociationDao.toRemoteLocationAssociationFullVOCollection(java.util.Collection)
public final RemoteLocationAssociationFullVO[] toRemoteLocationAssociationFullVOArray(java.util.Collection entities)
LocationAssociationDao
RemoteLocationAssociationFullVO
.
toRemoteLocationAssociationFullVOArray
in interface LocationAssociationDao
LocationAssociationDao.toRemoteLocationAssociationFullVOArray(java.util.Collection)
protected RemoteLocationAssociationFullVO toRemoteLocationAssociationFullVO(java.lang.Object[] row)
LocationAssociationDaoImpl
class if you intend to use reporting queries.
LocationAssociationDao.toRemoteLocationAssociationFullVO(fr.ifremer.allegro.referential.location.LocationAssociation)
public final void remoteLocationAssociationFullVOToEntityCollection(java.util.Collection instances)
LocationAssociationDao
RemoteLocationAssociationFullVO
to this
DAO's entity.
remoteLocationAssociationFullVOToEntityCollection
in interface LocationAssociationDao
LocationAssociationDao.remoteLocationAssociationFullVOToEntityCollection(java.util.Collection)
public void toRemoteLocationAssociationFullVO(LocationAssociation source, RemoteLocationAssociationFullVO target)
LocationAssociationDao
toRemoteLocationAssociationFullVO
in interface LocationAssociationDao
LocationAssociationDao.toRemoteLocationAssociationFullVO(fr.ifremer.allegro.referential.location.LocationAssociation, fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationAssociationFullVO)
public RemoteLocationAssociationFullVO toRemoteLocationAssociationFullVO(LocationAssociation entity)
LocationAssociationDao
RemoteLocationAssociationFullVO
.
toRemoteLocationAssociationFullVO
in interface LocationAssociationDao
LocationAssociationDao.toRemoteLocationAssociationFullVO(fr.ifremer.allegro.referential.location.LocationAssociation)
public void remoteLocationAssociationFullVOToEntity(RemoteLocationAssociationFullVO source, LocationAssociation target, boolean copyIfNull)
LocationAssociationDao
RemoteLocationAssociationFullVO
to the specified entity.
remoteLocationAssociationFullVOToEntity
in interface LocationAssociationDao
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.LocationAssociationDao#remoteLocationAssociationFullVOToEntity(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationAssociationFullVO, fr.ifremer.allegro.referential.location.LocationAssociation)
public final void toRemoteLocationAssociationNaturalIdCollection(java.util.Collection entities)
LocationAssociationDao
RemoteLocationAssociationNaturalId
.
toRemoteLocationAssociationNaturalIdCollection
in interface LocationAssociationDao
LocationAssociationDao.toRemoteLocationAssociationNaturalIdCollection(java.util.Collection)
public final RemoteLocationAssociationNaturalId[] toRemoteLocationAssociationNaturalIdArray(java.util.Collection entities)
LocationAssociationDao
RemoteLocationAssociationNaturalId
.
toRemoteLocationAssociationNaturalIdArray
in interface LocationAssociationDao
LocationAssociationDao.toRemoteLocationAssociationNaturalIdArray(java.util.Collection)
protected RemoteLocationAssociationNaturalId toRemoteLocationAssociationNaturalId(java.lang.Object[] row)
LocationAssociationDaoImpl
class if you intend to use reporting queries.
LocationAssociationDao.toRemoteLocationAssociationNaturalId(fr.ifremer.allegro.referential.location.LocationAssociation)
public final void remoteLocationAssociationNaturalIdToEntityCollection(java.util.Collection instances)
LocationAssociationDao
RemoteLocationAssociationNaturalId
to this
DAO's entity.
remoteLocationAssociationNaturalIdToEntityCollection
in interface LocationAssociationDao
LocationAssociationDao.remoteLocationAssociationNaturalIdToEntityCollection(java.util.Collection)
public void toRemoteLocationAssociationNaturalId(LocationAssociation source, RemoteLocationAssociationNaturalId target)
LocationAssociationDao
toRemoteLocationAssociationNaturalId
in interface LocationAssociationDao
LocationAssociationDao.toRemoteLocationAssociationNaturalId(fr.ifremer.allegro.referential.location.LocationAssociation, fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationAssociationNaturalId)
public RemoteLocationAssociationNaturalId toRemoteLocationAssociationNaturalId(LocationAssociation entity)
LocationAssociationDao
RemoteLocationAssociationNaturalId
.
toRemoteLocationAssociationNaturalId
in interface LocationAssociationDao
LocationAssociationDao.toRemoteLocationAssociationNaturalId(fr.ifremer.allegro.referential.location.LocationAssociation)
public void remoteLocationAssociationNaturalIdToEntity(RemoteLocationAssociationNaturalId source, LocationAssociation target, boolean copyIfNull)
LocationAssociationDao
RemoteLocationAssociationNaturalId
to the specified entity.
remoteLocationAssociationNaturalIdToEntity
in interface LocationAssociationDao
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.LocationAssociationDao#remoteLocationAssociationNaturalIdToEntity(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationAssociationNaturalId, fr.ifremer.allegro.referential.location.LocationAssociation)
public final void toClusterLocationAssociationCollection(java.util.Collection entities)
LocationAssociationDao
ClusterLocationAssociation
.
toClusterLocationAssociationCollection
in interface LocationAssociationDao
LocationAssociationDao.toClusterLocationAssociationCollection(java.util.Collection)
public final ClusterLocationAssociation[] toClusterLocationAssociationArray(java.util.Collection entities)
LocationAssociationDao
ClusterLocationAssociation
.
toClusterLocationAssociationArray
in interface LocationAssociationDao
LocationAssociationDao.toClusterLocationAssociationArray(java.util.Collection)
protected ClusterLocationAssociation toClusterLocationAssociation(java.lang.Object[] row)
LocationAssociationDaoImpl
class if you intend to use reporting queries.
LocationAssociationDao.toClusterLocationAssociation(fr.ifremer.allegro.referential.location.LocationAssociation)
public final void clusterLocationAssociationToEntityCollection(java.util.Collection instances)
LocationAssociationDao
ClusterLocationAssociation
to this
DAO's entity.
clusterLocationAssociationToEntityCollection
in interface LocationAssociationDao
LocationAssociationDao.clusterLocationAssociationToEntityCollection(java.util.Collection)
public void toClusterLocationAssociation(LocationAssociation source, ClusterLocationAssociation target)
LocationAssociationDao
toClusterLocationAssociation
in interface LocationAssociationDao
LocationAssociationDao.toClusterLocationAssociation(fr.ifremer.allegro.referential.location.LocationAssociation, fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationAssociation)
public ClusterLocationAssociation toClusterLocationAssociation(LocationAssociation entity)
LocationAssociationDao
ClusterLocationAssociation
.
toClusterLocationAssociation
in interface LocationAssociationDao
LocationAssociationDao.toClusterLocationAssociation(fr.ifremer.allegro.referential.location.LocationAssociation)
public void clusterLocationAssociationToEntity(ClusterLocationAssociation source, LocationAssociation target, boolean copyIfNull)
LocationAssociationDao
ClusterLocationAssociation
to the specified entity.
clusterLocationAssociationToEntity
in interface LocationAssociationDao
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.LocationAssociationDao#clusterLocationAssociationToEntity(fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationAssociation, fr.ifremer.allegro.referential.location.LocationAssociation)
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)
LocationAssociationDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface LocationAssociationDao
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.LocationAssociationDao.search(int, int, int, fr.ifremer.allegro.Search)
public PaginationResult search(int pageNumber, int pageSize, Search search)
LocationAssociationDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface LocationAssociationDao
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.LocationAssociationDao.search(int, int, fr.ifremer.allegro.Search)
public java.util.Set search(int transform, Search search)
LocationAssociationDao
LocationAssociationDao.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 LocationAssociationDao
transform
- the transformation flag.search
- the search object which provides the search parameters and pagination specification.
LocationAssociationDao.search(int, fr.ifremer.allegro.Search)
public java.util.Set search(Search search)
LocationAssociationDao
search
object.
search
in interface LocationAssociationDao
search
- the search object which provides the search parameters and pagination specification.
LocationAssociationDao.search(fr.ifremer.allegro.Search)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |