|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LocationHierarchyDao
LocationHierarchy
Field Summary | |
---|---|
static int |
TRANSFORM_CLUSTERLOCATIONHIERARCHY
This constant is used as a transformation flag; entities can be converted automatically into value objects or other types, different methods in a class implementing this interface support this feature: look for an int parameter called transform . |
static int |
TRANSFORM_NONE
This constant is used as a transformation flag; entities can be converted automatically into value objects or other types, different methods in a class implementing this interface support this feature: look for an int parameter called transform . |
static int |
TRANSFORM_REMOTELOCATIONHIERARCHYFULLVO
This constant is used as a transformation flag; entities can be converted automatically into value objects or other types, different methods in a class implementing this interface support this feature: look for an int parameter called transform . |
static int |
TRANSFORM_REMOTELOCATIONHIERARCHYNATURALID
This constant is used as a transformation flag; entities can be converted automatically into value objects or other types, different methods in a class implementing this interface support this feature: look for an int parameter called transform . |
Method Summary | |
---|---|
LocationHierarchy |
clusterLocationHierarchyToEntity(ClusterLocationHierarchy clusterLocationHierarchy)
Converts an instance of type ClusterLocationHierarchy to this DAO's entity. |
void |
clusterLocationHierarchyToEntity(ClusterLocationHierarchy source,
LocationHierarchy target,
boolean copyIfNull)
Copies the fields of ClusterLocationHierarchy to the specified entity. |
void |
clusterLocationHierarchyToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type ClusterLocationHierarchy to this
DAO's entity. |
java.util.Collection |
create(java.util.Collection entities)
Creates a new instance of fr.ifremer.allegro.technical.optimization.location.LocationHierarchy and adds from the passed in entities collection |
LocationHierarchy |
create(java.lang.Float childSurfaceRatio,
Location location,
Location parent)
Creates a new fr.ifremer.allegro.technical.optimization.location.LocationHierarchy
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 create(fr.ifremer.allegro.technical.optimization.location.LocationHierarchy) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
java.lang.Float childSurfaceRatio,
Location location,
Location parent)
Does the same thing as create(java.lang.Float,fr.ifremer.allegro.referential.location.Location,fr.ifremer.allegro.referential.location.Location) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
LocationHierarchy locationHierarchy)
Does the same thing as create(fr.ifremer.allegro.technical.optimization.location.LocationHierarchy) with an
additional flag called transform . |
LocationHierarchy |
create(LocationHierarchy locationHierarchy)
Creates an instance of fr.ifremer.allegro.technical.optimization.location.LocationHierarchy and adds it to the persistent store. |
LocationHierarchy |
createFromClusterLocationHierarchy(ClusterLocationHierarchy clusterLocationHierarchy)
|
java.util.Collection |
findLocationHierarchiesByFatherId(java.lang.Integer fatherId)
|
java.util.Collection |
findLocationHierarchiesByFatherId(int transform,
java.lang.Integer fatherId)
Does the same thing as findLocationHierarchiesByFatherId(java.lang.Integer) with an
additional flag called transform . |
java.util.Collection |
findLocationHierarchiesByFatherId(int pageNumber,
int pageSize,
java.lang.Integer fatherId)
Does the same thing as findLocationHierarchiesByFatherId(java.lang.Integer) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findLocationHierarchiesByFatherId(int transform,
int pageNumber,
int pageSize,
java.lang.Integer fatherId)
Does the same thing as findLocationHierarchiesByFatherId(int, java.lang.Integer) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findLocationHierarchiesByFatherId(int transform,
java.lang.String queryString,
java.lang.Integer fatherId)
Does the same thing as findLocationHierarchiesByFatherId(int, java.lang.Integer) with an
additional argument called queryString . |
java.util.Collection |
findLocationHierarchiesByFatherId(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
java.lang.Integer fatherId)
Does the same thing as findLocationHierarchiesByFatherId(int, String, java.lang.Integer) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findLocationHierarchiesByFatherId(java.lang.String queryString,
java.lang.Integer fatherId)
Does the same thing as findLocationHierarchiesByFatherId(java.lang.Integer) with an
additional argument called queryString . |
java.util.Collection |
findLocationHierarchiesByFatherId(java.lang.String queryString,
int pageNumber,
int pageSize,
java.lang.Integer fatherId)
Does the same thing as findLocationHierarchiesByFatherId(String, java.lang.Integer) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findLocationHierarchiesById(java.lang.Integer id)
|
java.util.Collection |
findLocationHierarchiesById(int transform,
java.lang.Integer id)
Does the same thing as findLocationHierarchiesById(java.lang.Integer) with an
additional flag called transform . |
java.util.Collection |
findLocationHierarchiesById(int pageNumber,
int pageSize,
java.lang.Integer id)
Does the same thing as findLocationHierarchiesById(java.lang.Integer) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findLocationHierarchiesById(int transform,
int pageNumber,
int pageSize,
java.lang.Integer id)
Does the same thing as findLocationHierarchiesById(int, java.lang.Integer) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findLocationHierarchiesById(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as findLocationHierarchiesById(int, java.lang.Integer) with an
additional argument called queryString . |
java.util.Collection |
findLocationHierarchiesById(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
java.lang.Integer id)
Does the same thing as findLocationHierarchiesById(int, String, java.lang.Integer) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findLocationHierarchiesById(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as findLocationHierarchiesById(java.lang.Integer) with an
additional argument called queryString . |
java.util.Collection |
findLocationHierarchiesById(java.lang.String queryString,
int pageNumber,
int pageSize,
java.lang.Integer id)
Does the same thing as findLocationHierarchiesById(String, java.lang.Integer) with an
additional two arguments called pageNumber and pageSize . |
LocationHierarchy |
findLocationHierarchyByIdentifiers(java.lang.Integer id,
java.lang.Integer fatherId)
|
java.lang.Object |
findLocationHierarchyByIdentifiers(int transform,
java.lang.Integer id,
java.lang.Integer fatherId)
Does the same thing as findLocationHierarchyByIdentifiers(java.lang.Integer, java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findLocationHierarchyByIdentifiers(int transform,
Location location,
Location parent)
Does the same thing as findLocationHierarchyByIdentifiers(fr.ifremer.allegro.referential.location.Location, fr.ifremer.allegro.referential.location.Location) with an
additional flag called transform . |
java.lang.Object |
findLocationHierarchyByIdentifiers(int transform,
java.lang.String queryString,
java.lang.Integer id,
java.lang.Integer fatherId)
Does the same thing as findLocationHierarchyByIdentifiers(int, java.lang.Integer, java.lang.Integer) with an
additional argument called queryString . |
java.lang.Object |
findLocationHierarchyByIdentifiers(int transform,
java.lang.String queryString,
Location location,
Location parent)
Does the same thing as findLocationHierarchyByIdentifiers(int, fr.ifremer.allegro.referential.location.Location, fr.ifremer.allegro.referential.location.Location) with an
additional argument called queryString . |
LocationHierarchy |
findLocationHierarchyByIdentifiers(Location location,
Location parent)
|
LocationHierarchy |
findLocationHierarchyByIdentifiers(java.lang.String queryString,
java.lang.Integer id,
java.lang.Integer fatherId)
Does the same thing as findLocationHierarchyByIdentifiers(java.lang.Integer, java.lang.Integer) with an
additional argument called queryString . |
LocationHierarchy |
findLocationHierarchyByIdentifiers(java.lang.String queryString,
Location location,
Location parent)
Does the same thing as findLocationHierarchyByIdentifiers(fr.ifremer.allegro.referential.location.Location, fr.ifremer.allegro.referential.location.Location) with an
additional argument called queryString . |
java.util.Collection |
findLocationHierarchyByLocation(int transform,
int pageNumber,
int pageSize,
Location location)
Does the same thing as findLocationHierarchyByLocation(int, fr.ifremer.allegro.referential.location.Location) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findLocationHierarchyByLocation(int pageNumber,
int pageSize,
Location location)
Does the same thing as findLocationHierarchyByLocation(fr.ifremer.allegro.referential.location.Location) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findLocationHierarchyByLocation(int transform,
Location location)
Does the same thing as findLocationHierarchyByLocation(fr.ifremer.allegro.referential.location.Location) with an
additional flag called transform . |
java.util.Collection |
findLocationHierarchyByLocation(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
Location location)
Does the same thing as findLocationHierarchyByLocation(int, String, fr.ifremer.allegro.referential.location.Location) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findLocationHierarchyByLocation(int transform,
java.lang.String queryString,
Location location)
Does the same thing as findLocationHierarchyByLocation(int, fr.ifremer.allegro.referential.location.Location) with an
additional argument called queryString . |
java.util.Collection |
findLocationHierarchyByLocation(Location location)
|
java.util.Collection |
findLocationHierarchyByLocation(java.lang.String queryString,
int pageNumber,
int pageSize,
Location location)
Does the same thing as findLocationHierarchyByLocation(String, fr.ifremer.allegro.referential.location.Location) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findLocationHierarchyByLocation(java.lang.String queryString,
Location location)
Does the same thing as findLocationHierarchyByLocation(fr.ifremer.allegro.referential.location.Location) with an
additional argument called queryString . |
java.lang.Object |
findLocationHierarchyByNaturalId(int transform,
Location location,
Location parent)
Does the same thing as findLocationHierarchyByNaturalId(fr.ifremer.allegro.referential.location.Location, fr.ifremer.allegro.referential.location.Location) with an
additional flag called transform . |
java.lang.Object |
findLocationHierarchyByNaturalId(int transform,
java.lang.String queryString,
Location location,
Location parent)
Does the same thing as findLocationHierarchyByNaturalId(int, fr.ifremer.allegro.referential.location.Location, fr.ifremer.allegro.referential.location.Location) with an
additional argument called queryString . |
LocationHierarchy |
findLocationHierarchyByNaturalId(Location location,
Location parent)
|
LocationHierarchy |
findLocationHierarchyByNaturalId(java.lang.String queryString,
Location location,
Location parent)
Does the same thing as findLocationHierarchyByNaturalId(fr.ifremer.allegro.referential.location.Location, fr.ifremer.allegro.referential.location.Location) with an
additional argument called queryString . |
java.util.Collection |
getAllLocationHierarchy()
|
java.util.Collection |
getAllLocationHierarchy(int transform)
Does the same thing as getAllLocationHierarchy() with an
additional flag called transform . |
java.util.Collection |
getAllLocationHierarchy(int pageNumber,
int pageSize)
Does the same thing as getAllLocationHierarchy() with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllLocationHierarchy(int transform,
int pageNumber,
int pageSize)
Does the same thing as getAllLocationHierarchy(int) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllLocationHierarchy(int transform,
java.lang.String queryString)
Does the same thing as getAllLocationHierarchy(int) with an
additional argument called queryString . |
java.util.Collection |
getAllLocationHierarchy(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as getAllLocationHierarchy(int, String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllLocationHierarchy(java.lang.String queryString)
Does the same thing as getAllLocationHierarchy() with an
additional argument called queryString . |
java.util.Collection |
getAllLocationHierarchy(java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as getAllLocationHierarchy(String) with an
additional two arguments called pageNumber and pageSize . |
java.lang.Object |
load(int transform,
Location location,
Location parent)
Does the same thing as load(fr.ifremer.allegro.referential.location.Location,fr.ifremer.allegro.referential.location.Location) with an
additional flag called transform . |
LocationHierarchy |
load(Location location,
Location parent)
Loads an instance of fr.ifremer.allegro.technical.optimization.location.LocationHierarchy from the persistent store. |
java.util.Collection |
loadAll()
Loads all entities of type LocationHierarchy . |
java.util.Collection |
loadAll(int transform)
Does the same thing as loadAll() with an
additional flag called transform . |
java.util.Collection |
loadAll(int pageNumber,
int pageSize)
Does the same thing as 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 loadAll(int) with an
additional two arguments called pageNumber and pageSize . |
LocationHierarchy |
remoteLocationHierarchyFullVOToEntity(RemoteLocationHierarchyFullVO remoteLocationHierarchyFullVO)
Converts an instance of type RemoteLocationHierarchyFullVO to this DAO's entity. |
void |
remoteLocationHierarchyFullVOToEntity(RemoteLocationHierarchyFullVO source,
LocationHierarchy target,
boolean copyIfNull)
Copies the fields of RemoteLocationHierarchyFullVO to the specified entity. |
void |
remoteLocationHierarchyFullVOToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteLocationHierarchyFullVO to this
DAO's entity. |
LocationHierarchy |
remoteLocationHierarchyNaturalIdToEntity(RemoteLocationHierarchyNaturalId remoteLocationHierarchyNaturalId)
Converts an instance of type RemoteLocationHierarchyNaturalId to this DAO's entity. |
void |
remoteLocationHierarchyNaturalIdToEntity(RemoteLocationHierarchyNaturalId source,
LocationHierarchy target,
boolean copyIfNull)
Copies the fields of RemoteLocationHierarchyNaturalId to the specified entity. |
void |
remoteLocationHierarchyNaturalIdToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteLocationHierarchyNaturalId to this
DAO's entity. |
void |
remove(java.util.Collection entities)
Removes all entities in the given entities |
void |
remove(LocationHierarchy locationHierarchy)
Removes the instance of fr.ifremer.allegro.technical.optimization.location.LocationHierarchy from the persistent store. |
void |
remove(Location location,
Location parent)
Removes the instance of fr.ifremer.allegro.technical.optimization.location.LocationHierarchy 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 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. |
ClusterLocationHierarchy |
toClusterLocationHierarchy(LocationHierarchy entity)
Converts this DAO's entity to an object of type ClusterLocationHierarchy . |
void |
toClusterLocationHierarchy(LocationHierarchy source,
ClusterLocationHierarchy target)
Copies the fields of the specified entity to the target value object. |
ClusterLocationHierarchy[] |
toClusterLocationHierarchyArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type ClusterLocationHierarchy . |
void |
toClusterLocationHierarchyCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type ClusterLocationHierarchy . |
RemoteLocationHierarchyFullVO |
toRemoteLocationHierarchyFullVO(LocationHierarchy entity)
Converts this DAO's entity to an object of type RemoteLocationHierarchyFullVO . |
void |
toRemoteLocationHierarchyFullVO(LocationHierarchy source,
RemoteLocationHierarchyFullVO target)
Copies the fields of the specified entity to the target value object. |
RemoteLocationHierarchyFullVO[] |
toRemoteLocationHierarchyFullVOArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteLocationHierarchyFullVO . |
void |
toRemoteLocationHierarchyFullVOCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteLocationHierarchyFullVO . |
RemoteLocationHierarchyNaturalId |
toRemoteLocationHierarchyNaturalId(LocationHierarchy entity)
Converts this DAO's entity to an object of type RemoteLocationHierarchyNaturalId . |
void |
toRemoteLocationHierarchyNaturalId(LocationHierarchy source,
RemoteLocationHierarchyNaturalId target)
Copies the fields of the specified entity to the target value object. |
RemoteLocationHierarchyNaturalId[] |
toRemoteLocationHierarchyNaturalIdArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteLocationHierarchyNaturalId . |
void |
toRemoteLocationHierarchyNaturalIdCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteLocationHierarchyNaturalId . |
void |
update(java.util.Collection entities)
Updates all instances in the entities collection in the persistent store. |
void |
update(LocationHierarchy locationHierarchy)
Updates the locationHierarchy instance in the persistent store. |
Field Detail |
---|
static final int TRANSFORM_NONE
int
parameter called transform
.
This specific flag denotes no transformation will occur.
static final int TRANSFORM_REMOTELOCATIONHIERARCHYFULLVO
int
parameter called transform
.
This specific flag denotes entities must be transformed into objects of type
RemoteLocationHierarchyFullVO
.
static final int TRANSFORM_REMOTELOCATIONHIERARCHYNATURALID
int
parameter called transform
.
This specific flag denotes entities must be transformed into objects of type
RemoteLocationHierarchyNaturalId
.
static final int TRANSFORM_CLUSTERLOCATIONHIERARCHY
int
parameter called transform
.
This specific flag denotes entities must be transformed into objects of type
ClusterLocationHierarchy
.
Method Detail |
---|
void toRemoteLocationHierarchyFullVO(LocationHierarchy source, RemoteLocationHierarchyFullVO target)
RemoteLocationHierarchyFullVO toRemoteLocationHierarchyFullVO(LocationHierarchy entity)
RemoteLocationHierarchyFullVO
.
void toRemoteLocationHierarchyFullVOCollection(java.util.Collection entities)
RemoteLocationHierarchyFullVO
.
RemoteLocationHierarchyFullVO[] toRemoteLocationHierarchyFullVOArray(java.util.Collection entities)
RemoteLocationHierarchyFullVO
.
void remoteLocationHierarchyFullVOToEntity(RemoteLocationHierarchyFullVO source, LocationHierarchy target, boolean copyIfNull)
RemoteLocationHierarchyFullVO
to the specified entity.
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.LocationHierarchy remoteLocationHierarchyFullVOToEntity(RemoteLocationHierarchyFullVO remoteLocationHierarchyFullVO)
RemoteLocationHierarchyFullVO
to this DAO's entity.
void remoteLocationHierarchyFullVOToEntityCollection(java.util.Collection instances)
RemoteLocationHierarchyFullVO
to this
DAO's entity.
void toRemoteLocationHierarchyNaturalId(LocationHierarchy source, RemoteLocationHierarchyNaturalId target)
RemoteLocationHierarchyNaturalId toRemoteLocationHierarchyNaturalId(LocationHierarchy entity)
RemoteLocationHierarchyNaturalId
.
void toRemoteLocationHierarchyNaturalIdCollection(java.util.Collection entities)
RemoteLocationHierarchyNaturalId
.
RemoteLocationHierarchyNaturalId[] toRemoteLocationHierarchyNaturalIdArray(java.util.Collection entities)
RemoteLocationHierarchyNaturalId
.
void remoteLocationHierarchyNaturalIdToEntity(RemoteLocationHierarchyNaturalId source, LocationHierarchy target, boolean copyIfNull)
RemoteLocationHierarchyNaturalId
to the specified entity.
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.LocationHierarchy remoteLocationHierarchyNaturalIdToEntity(RemoteLocationHierarchyNaturalId remoteLocationHierarchyNaturalId)
RemoteLocationHierarchyNaturalId
to this DAO's entity.
void remoteLocationHierarchyNaturalIdToEntityCollection(java.util.Collection instances)
RemoteLocationHierarchyNaturalId
to this
DAO's entity.
void toClusterLocationHierarchy(LocationHierarchy source, ClusterLocationHierarchy target)
ClusterLocationHierarchy toClusterLocationHierarchy(LocationHierarchy entity)
ClusterLocationHierarchy
.
void toClusterLocationHierarchyCollection(java.util.Collection entities)
ClusterLocationHierarchy
.
ClusterLocationHierarchy[] toClusterLocationHierarchyArray(java.util.Collection entities)
ClusterLocationHierarchy
.
void clusterLocationHierarchyToEntity(ClusterLocationHierarchy source, LocationHierarchy target, boolean copyIfNull)
ClusterLocationHierarchy
to the specified entity.
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.LocationHierarchy clusterLocationHierarchyToEntity(ClusterLocationHierarchy clusterLocationHierarchy)
ClusterLocationHierarchy
to this DAO's entity.
void clusterLocationHierarchyToEntityCollection(java.util.Collection instances)
ClusterLocationHierarchy
to this
DAO's entity.
LocationHierarchy load(Location location, Location parent)
java.lang.Object load(int transform, Location location, Location parent)
Does the same thing as 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.
location
- identifier of the entity to loadparent
- identifier of the entity to load
java.util.Collection loadAll()
LocationHierarchy
.
java.util.Collection loadAll(int transform)
Does the same thing as 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.
transform
- the flag indicating what transformation to use.
java.util.Collection loadAll(int pageNumber, int pageSize)
Does the same thing as 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.
pageNumber
- the page number to retrieve when paging results.pageSize
- the size of the page to retrieve when paging results.
java.util.Collection loadAll(int transform, int pageNumber, int pageSize)
Does the same thing as 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.
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.
LocationHierarchy create(LocationHierarchy locationHierarchy)
java.lang.Object create(int transform, LocationHierarchy locationHierarchy)
Does the same thing as create(fr.ifremer.allegro.technical.optimization.location.LocationHierarchy)
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.
java.util.Collection create(java.util.Collection entities)
entities
collection
entities
- the collection of fr.ifremer.allegro.technical.optimization.location.LocationHierarchy
instances to create.
java.util.Collection create(int transform, java.util.Collection entities)
Does the same thing as create(fr.ifremer.allegro.technical.optimization.location.LocationHierarchy)
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.
LocationHierarchy create(java.lang.Float childSurfaceRatio, Location location, Location parent)
Creates a new fr.ifremer.allegro.technical.optimization.location.LocationHierarchy
instance from all attributes and
properties and adds it to the persistent store.
java.lang.Object create(int transform, java.lang.Float childSurfaceRatio, Location location, Location parent)
Does the same thing as create(java.lang.Float,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.
void update(LocationHierarchy locationHierarchy)
locationHierarchy
instance in the persistent store.
void update(java.util.Collection entities)
entities
collection in the persistent store.
void remove(LocationHierarchy locationHierarchy)
void remove(Location location, Location parent)
identifiers
from the persistent store.
void remove(java.util.Collection entities)
entities collection.
LocationHierarchy findLocationHierarchyByIdentifiers(java.lang.Integer id, java.lang.Integer fatherId)
LocationHierarchy findLocationHierarchyByIdentifiers(java.lang.String queryString, java.lang.Integer id, java.lang.Integer fatherId)
Does the same thing as findLocationHierarchyByIdentifiers(java.lang.Integer, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findLocationHierarchyByIdentifiers(java.lang.Integer, java.lang.Integer)
.
java.lang.Object findLocationHierarchyByIdentifiers(int transform, java.lang.Integer id, java.lang.Integer fatherId)
Does the same thing as findLocationHierarchyByIdentifiers(java.lang.Integer, java.lang.Integer)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
java.lang.Object findLocationHierarchyByIdentifiers(int transform, java.lang.String queryString, java.lang.Integer id, java.lang.Integer fatherId)
Does the same thing as findLocationHierarchyByIdentifiers(int, java.lang.Integer, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findLocationHierarchyByIdentifiers(int, java.lang.Integer id, java.lang.Integer fatherId)
.
java.util.Collection findLocationHierarchiesById(java.lang.Integer id)
java.util.Collection findLocationHierarchiesById(java.lang.String queryString, java.lang.Integer id)
Does the same thing as findLocationHierarchiesById(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findLocationHierarchiesById(java.lang.Integer)
.
java.util.Collection findLocationHierarchiesById(int pageNumber, int pageSize, java.lang.Integer id)
Does the same thing as findLocationHierarchiesById(java.lang.Integer)
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.
java.util.Collection findLocationHierarchiesById(java.lang.String queryString, int pageNumber, int pageSize, java.lang.Integer id)
Does the same thing as findLocationHierarchiesById(String, java.lang.Integer)
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.
java.util.Collection findLocationHierarchiesById(int transform, java.lang.Integer id)
Does the same thing as findLocationHierarchiesById(java.lang.Integer)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
java.util.Collection findLocationHierarchiesById(int transform, int pageNumber, int pageSize, java.lang.Integer id)
Does the same thing as findLocationHierarchiesById(int, java.lang.Integer)
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.
java.util.Collection findLocationHierarchiesById(int transform, java.lang.String queryString, java.lang.Integer id)
Does the same thing as findLocationHierarchiesById(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findLocationHierarchiesById(int, java.lang.Integer id)
.
java.util.Collection findLocationHierarchiesById(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.lang.Integer id)
Does the same thing as findLocationHierarchiesById(int, String, java.lang.Integer)
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.
java.util.Collection findLocationHierarchiesByFatherId(java.lang.Integer fatherId)
java.util.Collection findLocationHierarchiesByFatherId(java.lang.String queryString, java.lang.Integer fatherId)
Does the same thing as findLocationHierarchiesByFatherId(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findLocationHierarchiesByFatherId(java.lang.Integer)
.
java.util.Collection findLocationHierarchiesByFatherId(int pageNumber, int pageSize, java.lang.Integer fatherId)
Does the same thing as findLocationHierarchiesByFatherId(java.lang.Integer)
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.
java.util.Collection findLocationHierarchiesByFatherId(java.lang.String queryString, int pageNumber, int pageSize, java.lang.Integer fatherId)
Does the same thing as findLocationHierarchiesByFatherId(String, java.lang.Integer)
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.
java.util.Collection findLocationHierarchiesByFatherId(int transform, java.lang.Integer fatherId)
Does the same thing as findLocationHierarchiesByFatherId(java.lang.Integer)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
java.util.Collection findLocationHierarchiesByFatherId(int transform, int pageNumber, int pageSize, java.lang.Integer fatherId)
Does the same thing as findLocationHierarchiesByFatherId(int, java.lang.Integer)
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.
java.util.Collection findLocationHierarchiesByFatherId(int transform, java.lang.String queryString, java.lang.Integer fatherId)
Does the same thing as findLocationHierarchiesByFatherId(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findLocationHierarchiesByFatherId(int, java.lang.Integer fatherId)
.
java.util.Collection findLocationHierarchiesByFatherId(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.lang.Integer fatherId)
Does the same thing as findLocationHierarchiesByFatherId(int, String, java.lang.Integer)
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.
java.util.Collection getAllLocationHierarchy()
java.util.Collection getAllLocationHierarchy(java.lang.String queryString)
Does the same thing as getAllLocationHierarchy()
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in getAllLocationHierarchy()
.
java.util.Collection getAllLocationHierarchy(int pageNumber, int pageSize)
Does the same thing as getAllLocationHierarchy()
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.
java.util.Collection getAllLocationHierarchy(java.lang.String queryString, int pageNumber, int pageSize)
Does the same thing as getAllLocationHierarchy(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.
java.util.Collection getAllLocationHierarchy(int transform)
Does the same thing as getAllLocationHierarchy()
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.
java.util.Collection getAllLocationHierarchy(int transform, int pageNumber, int pageSize)
Does the same thing as getAllLocationHierarchy(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.
java.util.Collection getAllLocationHierarchy(int transform, java.lang.String queryString)
Does the same thing as getAllLocationHierarchy(int)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in getAllLocationHierarchy(int)
.
java.util.Collection getAllLocationHierarchy(int transform, java.lang.String queryString, int pageNumber, int pageSize)
Does the same thing as getAllLocationHierarchy(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.
java.util.Collection findLocationHierarchyByLocation(Location location)
java.util.Collection findLocationHierarchyByLocation(java.lang.String queryString, Location location)
Does the same thing as findLocationHierarchyByLocation(fr.ifremer.allegro.referential.location.Location)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findLocationHierarchyByLocation(fr.ifremer.allegro.referential.location.Location)
.
java.util.Collection findLocationHierarchyByLocation(int pageNumber, int pageSize, Location location)
Does the same thing as findLocationHierarchyByLocation(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.
java.util.Collection findLocationHierarchyByLocation(java.lang.String queryString, int pageNumber, int pageSize, Location location)
Does the same thing as findLocationHierarchyByLocation(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.
java.util.Collection findLocationHierarchyByLocation(int transform, Location location)
Does the same thing as findLocationHierarchyByLocation(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.
java.util.Collection findLocationHierarchyByLocation(int transform, int pageNumber, int pageSize, Location location)
Does the same thing as findLocationHierarchyByLocation(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.
java.util.Collection findLocationHierarchyByLocation(int transform, java.lang.String queryString, Location location)
Does the same thing as findLocationHierarchyByLocation(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 findLocationHierarchyByLocation(int, fr.ifremer.allegro.referential.location.Location location)
.
java.util.Collection findLocationHierarchyByLocation(int transform, java.lang.String queryString, int pageNumber, int pageSize, Location location)
Does the same thing as findLocationHierarchyByLocation(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.
LocationHierarchy findLocationHierarchyByIdentifiers(Location location, Location parent)
LocationHierarchy findLocationHierarchyByIdentifiers(java.lang.String queryString, Location location, Location parent)
Does the same thing as findLocationHierarchyByIdentifiers(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 findLocationHierarchyByIdentifiers(fr.ifremer.allegro.referential.location.Location, fr.ifremer.allegro.referential.location.Location)
.
java.lang.Object findLocationHierarchyByIdentifiers(int transform, Location location, Location parent)
Does the same thing as findLocationHierarchyByIdentifiers(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.
java.lang.Object findLocationHierarchyByIdentifiers(int transform, java.lang.String queryString, Location location, Location parent)
Does the same thing as findLocationHierarchyByIdentifiers(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 findLocationHierarchyByIdentifiers(int, fr.ifremer.allegro.referential.location.Location location, fr.ifremer.allegro.referential.location.Location parent)
.
LocationHierarchy findLocationHierarchyByNaturalId(Location location, Location parent)
LocationHierarchy findLocationHierarchyByNaturalId(java.lang.String queryString, Location location, Location parent)
Does the same thing as findLocationHierarchyByNaturalId(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 findLocationHierarchyByNaturalId(fr.ifremer.allegro.referential.location.Location, fr.ifremer.allegro.referential.location.Location)
.
java.lang.Object findLocationHierarchyByNaturalId(int transform, Location location, Location parent)
Does the same thing as findLocationHierarchyByNaturalId(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.
java.lang.Object findLocationHierarchyByNaturalId(int transform, java.lang.String queryString, Location location, Location parent)
Does the same thing as findLocationHierarchyByNaturalId(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 findLocationHierarchyByNaturalId(int, fr.ifremer.allegro.referential.location.Location location, fr.ifremer.allegro.referential.location.Location parent)
.
LocationHierarchy createFromClusterLocationHierarchy(ClusterLocationHierarchy clusterLocationHierarchy)
PaginationResult search(int transform, int pageNumber, int pageSize, Search search)
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
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.PaginationResult search(int pageNumber, int pageSize, Search search)
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
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.java.util.Set search(int transform, Search search)
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.
transform
- the transformation flag.search
- the search object which provides the search parameters and pagination specification.
java.util.Set search(Search search)
search
object.
search
- the search object which provides the search parameters and pagination specification.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |