fr.ifremer.allegro.referential.spatial
Interface SpatialItem2LocationDao

All Known Implementing Classes:
SpatialItem2LocationDaoBase, SpatialItem2LocationDaoImpl

public interface SpatialItem2LocationDao

See Also:
SpatialItem2Location

Field Summary
static int TRANSFORM_CLUSTERSPATIALITEM2LOCATION
          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_REMOTESPATIALITEM2LOCATIONFULLVO
          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_REMOTESPATIALITEM2LOCATIONNATURALID
          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
 SpatialItem2Location clusterSpatialItem2LocationToEntity(ClusterSpatialItem2Location clusterSpatialItem2Location)
          Converts an instance of type ClusterSpatialItem2Location to this DAO's entity.
 void clusterSpatialItem2LocationToEntity(ClusterSpatialItem2Location source, SpatialItem2Location target, boolean copyIfNull)
          Copies the fields of ClusterSpatialItem2Location to the specified entity.
 void clusterSpatialItem2LocationToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type ClusterSpatialItem2Location to this DAO's entity.
 java.util.Collection create(java.util.Collection entities)
          Creates a new instance of fr.ifremer.allegro.referential.spatial.SpatialItem2Location and adds from the passed in entities collection
 java.util.Collection create(int transform, java.util.Collection entities)
           Does the same thing as create(fr.ifremer.allegro.referential.spatial.SpatialItem2Location) with an additional flag called transform.
 java.lang.Object create(int transform, Location location, SpatialItem spatialItem)
           Does the same thing as create(fr.ifremer.allegro.referential.location.Location,fr.ifremer.allegro.referential.spatial.SpatialItem) with an additional flag called transform.
 java.lang.Object create(int transform, SpatialItem2Location spatialItem2Location)
           Does the same thing as create(fr.ifremer.allegro.referential.spatial.SpatialItem2Location) with an additional flag called transform.
 java.lang.Object create(int transform, java.lang.String localizedName, SpatialItem spatialItem, Location location)
           Does the same thing as create(java.lang.String,fr.ifremer.allegro.referential.spatial.SpatialItem,fr.ifremer.allegro.referential.location.Location) with an additional flag called transform.
 SpatialItem2Location create(Location location, SpatialItem spatialItem)
           Creates a new fr.ifremer.allegro.referential.spatial.SpatialItem2Location instance from only required properties (attributes and association ends) and adds it to the persistent store.
 SpatialItem2Location create(SpatialItem2Location spatialItem2Location)
          Creates an instance of fr.ifremer.allegro.referential.spatial.SpatialItem2Location and adds it to the persistent store.
 SpatialItem2Location create(java.lang.String localizedName, SpatialItem spatialItem, Location location)
           Creates a new fr.ifremer.allegro.referential.spatial.SpatialItem2Location instance from all attributes and properties and adds it to the persistent store.
 SpatialItem2Location createFromClusterSpatialItem2Location(ClusterSpatialItem2Location clusterSpatialItem2Location)
           
 java.lang.Object findSpatialItem2LocationByIdentifiers(int transform, SpatialItem spatialItem, Location location)
           Does the same thing as findSpatialItem2LocationByIdentifiers(fr.ifremer.allegro.referential.spatial.SpatialItem, fr.ifremer.allegro.referential.location.Location) with an additional flag called transform.
 java.lang.Object findSpatialItem2LocationByIdentifiers(int transform, java.lang.String queryString, SpatialItem spatialItem, Location location)
           Does the same thing as findSpatialItem2LocationByIdentifiers(int, fr.ifremer.allegro.referential.spatial.SpatialItem, fr.ifremer.allegro.referential.location.Location) with an additional argument called queryString.
 SpatialItem2Location findSpatialItem2LocationByIdentifiers(SpatialItem spatialItem, Location location)
           
 SpatialItem2Location findSpatialItem2LocationByIdentifiers(java.lang.String queryString, SpatialItem spatialItem, Location location)
           Does the same thing as findSpatialItem2LocationByIdentifiers(fr.ifremer.allegro.referential.spatial.SpatialItem, fr.ifremer.allegro.referential.location.Location) with an additional argument called queryString.
 java.util.Collection findSpatialItem2LocationByLocation(int transform, int pageNumber, int pageSize, Location location)
           Does the same thing as findSpatialItem2LocationByLocation(int, fr.ifremer.allegro.referential.location.Location) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSpatialItem2LocationByLocation(int pageNumber, int pageSize, Location location)
           Does the same thing as findSpatialItem2LocationByLocation(fr.ifremer.allegro.referential.location.Location) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSpatialItem2LocationByLocation(int transform, Location location)
           Does the same thing as findSpatialItem2LocationByLocation(fr.ifremer.allegro.referential.location.Location) with an additional flag called transform.
 java.util.Collection findSpatialItem2LocationByLocation(int transform, java.lang.String queryString, int pageNumber, int pageSize, Location location)
           Does the same thing as findSpatialItem2LocationByLocation(int, String, fr.ifremer.allegro.referential.location.Location) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSpatialItem2LocationByLocation(int transform, java.lang.String queryString, Location location)
           Does the same thing as findSpatialItem2LocationByLocation(int, fr.ifremer.allegro.referential.location.Location) with an additional argument called queryString.
 java.util.Collection findSpatialItem2LocationByLocation(Location location)
           
 java.util.Collection findSpatialItem2LocationByLocation(java.lang.String queryString, int pageNumber, int pageSize, Location location)
           Does the same thing as findSpatialItem2LocationByLocation(String, fr.ifremer.allegro.referential.location.Location) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSpatialItem2LocationByLocation(java.lang.String queryString, Location location)
           Does the same thing as findSpatialItem2LocationByLocation(fr.ifremer.allegro.referential.location.Location) with an additional argument called queryString.
 java.lang.Object findSpatialItem2LocationByNaturalId(int transform, SpatialItem spatialItem, Location location)
           Does the same thing as findSpatialItem2LocationByNaturalId(fr.ifremer.allegro.referential.spatial.SpatialItem, fr.ifremer.allegro.referential.location.Location) with an additional flag called transform.
 java.lang.Object findSpatialItem2LocationByNaturalId(int transform, java.lang.String queryString, SpatialItem spatialItem, Location location)
           Does the same thing as findSpatialItem2LocationByNaturalId(int, fr.ifremer.allegro.referential.spatial.SpatialItem, fr.ifremer.allegro.referential.location.Location) with an additional argument called queryString.
 SpatialItem2Location findSpatialItem2LocationByNaturalId(SpatialItem spatialItem, Location location)
           
 SpatialItem2Location findSpatialItem2LocationByNaturalId(java.lang.String queryString, SpatialItem spatialItem, Location location)
           Does the same thing as findSpatialItem2LocationByNaturalId(fr.ifremer.allegro.referential.spatial.SpatialItem, fr.ifremer.allegro.referential.location.Location) with an additional argument called queryString.
 java.util.Collection findSpatialItem2LocationBySpatialItem(int transform, int pageNumber, int pageSize, SpatialItem spatialItem)
           Does the same thing as findSpatialItem2LocationBySpatialItem(int, fr.ifremer.allegro.referential.spatial.SpatialItem) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSpatialItem2LocationBySpatialItem(int pageNumber, int pageSize, SpatialItem spatialItem)
           Does the same thing as findSpatialItem2LocationBySpatialItem(fr.ifremer.allegro.referential.spatial.SpatialItem) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSpatialItem2LocationBySpatialItem(int transform, SpatialItem spatialItem)
           Does the same thing as findSpatialItem2LocationBySpatialItem(fr.ifremer.allegro.referential.spatial.SpatialItem) with an additional flag called transform.
 java.util.Collection findSpatialItem2LocationBySpatialItem(int transform, java.lang.String queryString, int pageNumber, int pageSize, SpatialItem spatialItem)
           Does the same thing as findSpatialItem2LocationBySpatialItem(int, String, fr.ifremer.allegro.referential.spatial.SpatialItem) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSpatialItem2LocationBySpatialItem(int transform, java.lang.String queryString, SpatialItem spatialItem)
           Does the same thing as findSpatialItem2LocationBySpatialItem(int, fr.ifremer.allegro.referential.spatial.SpatialItem) with an additional argument called queryString.
 java.util.Collection findSpatialItem2LocationBySpatialItem(SpatialItem spatialItem)
           
 java.util.Collection findSpatialItem2LocationBySpatialItem(java.lang.String queryString, int pageNumber, int pageSize, SpatialItem spatialItem)
           Does the same thing as findSpatialItem2LocationBySpatialItem(String, fr.ifremer.allegro.referential.spatial.SpatialItem) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSpatialItem2LocationBySpatialItem(java.lang.String queryString, SpatialItem spatialItem)
           Does the same thing as findSpatialItem2LocationBySpatialItem(fr.ifremer.allegro.referential.spatial.SpatialItem) with an additional argument called queryString.
 java.util.Collection getAllSpatialItem2Location()
           
 java.util.Collection getAllSpatialItem2Location(int transform)
           Does the same thing as getAllSpatialItem2Location() with an additional flag called transform.
 java.util.Collection getAllSpatialItem2Location(int pageNumber, int pageSize)
           Does the same thing as getAllSpatialItem2Location() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllSpatialItem2Location(int transform, int pageNumber, int pageSize)
           Does the same thing as getAllSpatialItem2Location(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllSpatialItem2Location(int transform, java.lang.String queryString)
           Does the same thing as getAllSpatialItem2Location(int) with an additional argument called queryString.
 java.util.Collection getAllSpatialItem2Location(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as getAllSpatialItem2Location(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllSpatialItem2Location(java.lang.String queryString)
           Does the same thing as getAllSpatialItem2Location() with an additional argument called queryString.
 java.util.Collection getAllSpatialItem2Location(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as getAllSpatialItem2Location(String) with an additional two arguments called pageNumber and pageSize.
 java.lang.Object load(int transform, SpatialItem spatialItem, Location location)
           Does the same thing as load(fr.ifremer.allegro.referential.spatial.SpatialItem,fr.ifremer.allegro.referential.location.Location) with an additional flag called transform.
 SpatialItem2Location load(SpatialItem spatialItem, Location location)
          Loads an instance of fr.ifremer.allegro.referential.spatial.SpatialItem2Location from the persistent store.
 java.util.Collection loadAll()
          Loads all entities of type SpatialItem2Location.
 java.util.Collection loadAll(int transform)
           Does the same thing as 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.
 SpatialItem2Location remoteSpatialItem2LocationFullVOToEntity(RemoteSpatialItem2LocationFullVO remoteSpatialItem2LocationFullVO)
          Converts an instance of type RemoteSpatialItem2LocationFullVO to this DAO's entity.
 void remoteSpatialItem2LocationFullVOToEntity(RemoteSpatialItem2LocationFullVO source, SpatialItem2Location target, boolean copyIfNull)
          Copies the fields of RemoteSpatialItem2LocationFullVO to the specified entity.
 void remoteSpatialItem2LocationFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteSpatialItem2LocationFullVO to this DAO's entity.
 SpatialItem2Location remoteSpatialItem2LocationNaturalIdToEntity(RemoteSpatialItem2LocationNaturalId remoteSpatialItem2LocationNaturalId)
          Converts an instance of type RemoteSpatialItem2LocationNaturalId to this DAO's entity.
 void remoteSpatialItem2LocationNaturalIdToEntity(RemoteSpatialItem2LocationNaturalId source, SpatialItem2Location target, boolean copyIfNull)
          Copies the fields of RemoteSpatialItem2LocationNaturalId to the specified entity.
 void remoteSpatialItem2LocationNaturalIdToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteSpatialItem2LocationNaturalId to this DAO's entity.
 void remove(java.util.Collection entities)
          Removes all entities in the given entities collection.
 void remove(SpatialItem2Location spatialItem2Location)
          Removes the instance of fr.ifremer.allegro.referential.spatial.SpatialItem2Location from the persistent store.
 void remove(SpatialItem spatialItem, Location location)
          Removes the instance of fr.ifremer.allegro.referential.spatial.SpatialItem2Location having the given identifiers from the persistent store.
 PaginationResult search(int transform, int pageNumber, int pageSize, Search search)
          Does the same thing as {@link #search(int, fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize.
 PaginationResult search(int pageNumber, int pageSize, Search search)
          Does the same thing as {@link #search(fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize.
 java.util.Set search(int transform, Search search)
          Does the same thing as 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.
 ClusterSpatialItem2Location toClusterSpatialItem2Location(SpatialItem2Location entity)
          Converts this DAO's entity to an object of type ClusterSpatialItem2Location.
 void toClusterSpatialItem2Location(SpatialItem2Location source, ClusterSpatialItem2Location target)
          Copies the fields of the specified entity to the target value object.
 ClusterSpatialItem2Location[] toClusterSpatialItem2LocationArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type ClusterSpatialItem2Location.
 void toClusterSpatialItem2LocationCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type ClusterSpatialItem2Location.
 RemoteSpatialItem2LocationFullVO toRemoteSpatialItem2LocationFullVO(SpatialItem2Location entity)
          Converts this DAO's entity to an object of type RemoteSpatialItem2LocationFullVO.
 void toRemoteSpatialItem2LocationFullVO(SpatialItem2Location source, RemoteSpatialItem2LocationFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteSpatialItem2LocationFullVO[] toRemoteSpatialItem2LocationFullVOArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteSpatialItem2LocationFullVO.
 void toRemoteSpatialItem2LocationFullVOCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteSpatialItem2LocationFullVO.
 RemoteSpatialItem2LocationNaturalId toRemoteSpatialItem2LocationNaturalId(SpatialItem2Location entity)
          Converts this DAO's entity to an object of type RemoteSpatialItem2LocationNaturalId.
 void toRemoteSpatialItem2LocationNaturalId(SpatialItem2Location source, RemoteSpatialItem2LocationNaturalId target)
          Copies the fields of the specified entity to the target value object.
 RemoteSpatialItem2LocationNaturalId[] toRemoteSpatialItem2LocationNaturalIdArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteSpatialItem2LocationNaturalId.
 void toRemoteSpatialItem2LocationNaturalIdCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteSpatialItem2LocationNaturalId.
 void update(java.util.Collection entities)
          Updates all instances in the entities collection in the persistent store.
 void update(SpatialItem2Location spatialItem2Location)
          Updates the spatialItem2Location instance in the persistent store.
 

Field Detail

TRANSFORM_NONE

static final 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.

This specific flag denotes no transformation will occur.

See Also:
Constant Field Values

TRANSFORM_REMOTESPATIALITEM2LOCATIONFULLVO

static final int TRANSFORM_REMOTESPATIALITEM2LOCATIONFULLVO
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.

This specific flag denotes entities must be transformed into objects of type RemoteSpatialItem2LocationFullVO.

See Also:
Constant Field Values

TRANSFORM_REMOTESPATIALITEM2LOCATIONNATURALID

static final int TRANSFORM_REMOTESPATIALITEM2LOCATIONNATURALID
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.

This specific flag denotes entities must be transformed into objects of type RemoteSpatialItem2LocationNaturalId.

See Also:
Constant Field Values

TRANSFORM_CLUSTERSPATIALITEM2LOCATION

static final int TRANSFORM_CLUSTERSPATIALITEM2LOCATION
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.

This specific flag denotes entities must be transformed into objects of type ClusterSpatialItem2Location.

See Also:
Constant Field Values
Method Detail

toRemoteSpatialItem2LocationFullVO

void toRemoteSpatialItem2LocationFullVO(SpatialItem2Location source,
                                        RemoteSpatialItem2LocationFullVO target)
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteSpatialItem2LocationFullVO(), but it does not handle any attributes in the target value object that are "read-only" (as those do not have setter methods exposed).


toRemoteSpatialItem2LocationFullVO

RemoteSpatialItem2LocationFullVO toRemoteSpatialItem2LocationFullVO(SpatialItem2Location entity)
Converts this DAO's entity to an object of type RemoteSpatialItem2LocationFullVO.


toRemoteSpatialItem2LocationFullVOCollection

void toRemoteSpatialItem2LocationFullVOCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteSpatialItem2LocationFullVO.


toRemoteSpatialItem2LocationFullVOArray

RemoteSpatialItem2LocationFullVO[] toRemoteSpatialItem2LocationFullVOArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteSpatialItem2LocationFullVO.


remoteSpatialItem2LocationFullVOToEntity

void remoteSpatialItem2LocationFullVOToEntity(RemoteSpatialItem2LocationFullVO source,
                                              SpatialItem2Location target,
                                              boolean copyIfNull)
Copies the fields of RemoteSpatialItem2LocationFullVO to the specified entity.

Parameters:
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.

remoteSpatialItem2LocationFullVOToEntity

SpatialItem2Location remoteSpatialItem2LocationFullVOToEntity(RemoteSpatialItem2LocationFullVO remoteSpatialItem2LocationFullVO)
Converts an instance of type RemoteSpatialItem2LocationFullVO to this DAO's entity.


remoteSpatialItem2LocationFullVOToEntityCollection

void remoteSpatialItem2LocationFullVOToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteSpatialItem2LocationFullVO to this DAO's entity.


toRemoteSpatialItem2LocationNaturalId

void toRemoteSpatialItem2LocationNaturalId(SpatialItem2Location source,
                                           RemoteSpatialItem2LocationNaturalId target)
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteSpatialItem2LocationNaturalId(), but it does not handle any attributes in the target value object that are "read-only" (as those do not have setter methods exposed).


toRemoteSpatialItem2LocationNaturalId

RemoteSpatialItem2LocationNaturalId toRemoteSpatialItem2LocationNaturalId(SpatialItem2Location entity)
Converts this DAO's entity to an object of type RemoteSpatialItem2LocationNaturalId.


toRemoteSpatialItem2LocationNaturalIdCollection

void toRemoteSpatialItem2LocationNaturalIdCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteSpatialItem2LocationNaturalId.


toRemoteSpatialItem2LocationNaturalIdArray

RemoteSpatialItem2LocationNaturalId[] toRemoteSpatialItem2LocationNaturalIdArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteSpatialItem2LocationNaturalId.


remoteSpatialItem2LocationNaturalIdToEntity

void remoteSpatialItem2LocationNaturalIdToEntity(RemoteSpatialItem2LocationNaturalId source,
                                                 SpatialItem2Location target,
                                                 boolean copyIfNull)
Copies the fields of RemoteSpatialItem2LocationNaturalId to the specified entity.

Parameters:
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.

remoteSpatialItem2LocationNaturalIdToEntity

SpatialItem2Location remoteSpatialItem2LocationNaturalIdToEntity(RemoteSpatialItem2LocationNaturalId remoteSpatialItem2LocationNaturalId)
Converts an instance of type RemoteSpatialItem2LocationNaturalId to this DAO's entity.


remoteSpatialItem2LocationNaturalIdToEntityCollection

void remoteSpatialItem2LocationNaturalIdToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteSpatialItem2LocationNaturalId to this DAO's entity.


toClusterSpatialItem2Location

void toClusterSpatialItem2Location(SpatialItem2Location source,
                                   ClusterSpatialItem2Location target)
Copies the fields of the specified entity to the target value object. This method is similar to toClusterSpatialItem2Location(), but it does not handle any attributes in the target value object that are "read-only" (as those do not have setter methods exposed).


toClusterSpatialItem2Location

ClusterSpatialItem2Location toClusterSpatialItem2Location(SpatialItem2Location entity)
Converts this DAO's entity to an object of type ClusterSpatialItem2Location.


toClusterSpatialItem2LocationCollection

void toClusterSpatialItem2LocationCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type ClusterSpatialItem2Location.


toClusterSpatialItem2LocationArray

ClusterSpatialItem2Location[] toClusterSpatialItem2LocationArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type ClusterSpatialItem2Location.


clusterSpatialItem2LocationToEntity

void clusterSpatialItem2LocationToEntity(ClusterSpatialItem2Location source,
                                         SpatialItem2Location target,
                                         boolean copyIfNull)
Copies the fields of ClusterSpatialItem2Location to the specified entity.

Parameters:
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.

clusterSpatialItem2LocationToEntity

SpatialItem2Location clusterSpatialItem2LocationToEntity(ClusterSpatialItem2Location clusterSpatialItem2Location)
Converts an instance of type ClusterSpatialItem2Location to this DAO's entity.


clusterSpatialItem2LocationToEntityCollection

void clusterSpatialItem2LocationToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type ClusterSpatialItem2Location to this DAO's entity.


load

SpatialItem2Location load(SpatialItem spatialItem,
                          Location location)
Loads an instance of fr.ifremer.allegro.referential.spatial.SpatialItem2Location from the persistent store.


load

java.lang.Object load(int transform,
                      SpatialItem spatialItem,
                      Location location)

Does the same thing as load(fr.ifremer.allegro.referential.spatial.SpatialItem,fr.ifremer.allegro.referential.location.Location) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then the returned entity will NOT be transformed. If this flag is any of the other constants defined in this class then the result WILL BE passed through an operation which can optionally transform the entity (into a value object for example). By default, transformation does not occur.

Parameters:
spatialItem - identifier of the entity to load
location - identifier of the entity to load
Returns:
either the entity or the object transformed from the entity.

loadAll

java.util.Collection loadAll()
Loads all entities of type SpatialItem2Location.

Returns:
the loaded entities.

loadAll

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.

Parameters:
transform - the flag indicating what transformation to use.
Returns:
the loaded entities.

loadAll

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.

Parameters:
pageNumber - the page number to retrieve when paging results.
pageSize - the size of the page to retrieve when paging results.
Returns:
the loaded entities.

loadAll

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.

Parameters:
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.
Returns:
the loaded entities.

create

SpatialItem2Location create(SpatialItem2Location spatialItem2Location)
Creates an instance of fr.ifremer.allegro.referential.spatial.SpatialItem2Location and adds it to the persistent store.


create

java.lang.Object create(int transform,
                        SpatialItem2Location spatialItem2Location)

Does the same thing as create(fr.ifremer.allegro.referential.spatial.SpatialItem2Location) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then the returned entity will NOT be transformed. If this flag is any of the other constants defined here then the result WILL BE passed through an operation which can optionally transform the entity (into a value object for example). By default, transformation does not occur.


create

java.util.Collection create(java.util.Collection entities)
Creates a new instance of fr.ifremer.allegro.referential.spatial.SpatialItem2Location and adds from the passed in entities collection

Parameters:
entities - the collection of fr.ifremer.allegro.referential.spatial.SpatialItem2Location instances to create.
Returns:
the created instances.

create

java.util.Collection create(int transform,
                            java.util.Collection entities)

Does the same thing as create(fr.ifremer.allegro.referential.spatial.SpatialItem2Location) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then the returned entity will NOT be transformed. If this flag is any of the other constants defined here then the result WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.


create

SpatialItem2Location create(java.lang.String localizedName,
                            SpatialItem spatialItem,
                            Location location)

Creates a new fr.ifremer.allegro.referential.spatial.SpatialItem2Location instance from all attributes and properties and adds it to the persistent store.


create

java.lang.Object create(int transform,
                        java.lang.String localizedName,
                        SpatialItem spatialItem,
                        Location location)

Does the same thing as create(java.lang.String,fr.ifremer.allegro.referential.spatial.SpatialItem,fr.ifremer.allegro.referential.location.Location) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then the returned entity will NOT be transformed. If this flag is any of the other constants defined here then the result WILL BE passed through an operation which can optionally transform the entity (into a value object for example). By default, transformation does not occur.


create

SpatialItem2Location create(Location location,
                            SpatialItem spatialItem)

Creates a new fr.ifremer.allegro.referential.spatial.SpatialItem2Location instance from only required properties (attributes and association ends) and adds it to the persistent store.


create

java.lang.Object create(int transform,
                        Location location,
                        SpatialItem spatialItem)

Does the same thing as create(fr.ifremer.allegro.referential.location.Location,fr.ifremer.allegro.referential.spatial.SpatialItem) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then the returned entity will NOTWILL BE passed through an operation which can optionally transform the entity (into a value object for example). By default, transformation does not occur.


update

void update(SpatialItem2Location spatialItem2Location)
Updates the spatialItem2Location instance in the persistent store.


update

void update(java.util.Collection entities)
Updates all instances in the entities collection in the persistent store.


remove

void remove(SpatialItem2Location spatialItem2Location)
Removes the instance of fr.ifremer.allegro.referential.spatial.SpatialItem2Location from the persistent store.


remove

void remove(SpatialItem spatialItem,
            Location location)
Removes the instance of fr.ifremer.allegro.referential.spatial.SpatialItem2Location having the given identifiers from the persistent store.


remove

void remove(java.util.Collection entities)
Removes all entities in the given entities collection.


getAllSpatialItem2Location

java.util.Collection getAllSpatialItem2Location()

getAllSpatialItem2Location

java.util.Collection getAllSpatialItem2Location(java.lang.String queryString)

Does the same thing as getAllSpatialItem2Location() with an additional argument called queryString. This queryString argument allows you to override the query string defined in getAllSpatialItem2Location().


getAllSpatialItem2Location

java.util.Collection getAllSpatialItem2Location(int pageNumber,
                                                int pageSize)

Does the same thing as getAllSpatialItem2Location() with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.


getAllSpatialItem2Location

java.util.Collection getAllSpatialItem2Location(java.lang.String queryString,
                                                int pageNumber,
                                                int pageSize)

Does the same thing as getAllSpatialItem2Location(String) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.


getAllSpatialItem2Location

java.util.Collection getAllSpatialItem2Location(int transform)

Does the same thing as getAllSpatialItem2Location() with an additional flag called transform. If this flag is set to TRANSFORM_NONE then finder results will NOT be transformed during retrieval. If this flag is any of the other constants defined here then finder results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.


getAllSpatialItem2Location

java.util.Collection getAllSpatialItem2Location(int transform,
                                                int pageNumber,
                                                int pageSize)

Does the same thing as getAllSpatialItem2Location(int) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.


getAllSpatialItem2Location

java.util.Collection getAllSpatialItem2Location(int transform,
                                                java.lang.String queryString)

Does the same thing as getAllSpatialItem2Location(int) with an additional argument called queryString. This queryString argument allows you to override the query string defined in getAllSpatialItem2Location(int).


getAllSpatialItem2Location

java.util.Collection getAllSpatialItem2Location(int transform,
                                                java.lang.String queryString,
                                                int pageNumber,
                                                int pageSize)

Does the same thing as getAllSpatialItem2Location(int, String) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.


findSpatialItem2LocationBySpatialItem

java.util.Collection findSpatialItem2LocationBySpatialItem(SpatialItem spatialItem)

findSpatialItem2LocationBySpatialItem

java.util.Collection findSpatialItem2LocationBySpatialItem(java.lang.String queryString,
                                                           SpatialItem spatialItem)

Does the same thing as findSpatialItem2LocationBySpatialItem(fr.ifremer.allegro.referential.spatial.SpatialItem) with an additional argument called queryString. This queryString argument allows you to override the query string defined in findSpatialItem2LocationBySpatialItem(fr.ifremer.allegro.referential.spatial.SpatialItem).


findSpatialItem2LocationBySpatialItem

java.util.Collection findSpatialItem2LocationBySpatialItem(int pageNumber,
                                                           int pageSize,
                                                           SpatialItem spatialItem)

Does the same thing as findSpatialItem2LocationBySpatialItem(fr.ifremer.allegro.referential.spatial.SpatialItem) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.


findSpatialItem2LocationBySpatialItem

java.util.Collection findSpatialItem2LocationBySpatialItem(java.lang.String queryString,
                                                           int pageNumber,
                                                           int pageSize,
                                                           SpatialItem spatialItem)

Does the same thing as findSpatialItem2LocationBySpatialItem(String, fr.ifremer.allegro.referential.spatial.SpatialItem) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.


findSpatialItem2LocationBySpatialItem

java.util.Collection findSpatialItem2LocationBySpatialItem(int transform,
                                                           SpatialItem spatialItem)

Does the same thing as findSpatialItem2LocationBySpatialItem(fr.ifremer.allegro.referential.spatial.SpatialItem) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then finder results will NOT be transformed during retrieval. If this flag is any of the other constants defined here then finder results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.


findSpatialItem2LocationBySpatialItem

java.util.Collection findSpatialItem2LocationBySpatialItem(int transform,
                                                           int pageNumber,
                                                           int pageSize,
                                                           SpatialItem spatialItem)

Does the same thing as findSpatialItem2LocationBySpatialItem(int, fr.ifremer.allegro.referential.spatial.SpatialItem) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.


findSpatialItem2LocationBySpatialItem

java.util.Collection findSpatialItem2LocationBySpatialItem(int transform,
                                                           java.lang.String queryString,
                                                           SpatialItem spatialItem)

Does the same thing as findSpatialItem2LocationBySpatialItem(int, fr.ifremer.allegro.referential.spatial.SpatialItem) with an additional argument called queryString. This queryString argument allows you to override the query string defined in findSpatialItem2LocationBySpatialItem(int, fr.ifremer.allegro.referential.spatial.SpatialItem spatialItem).


findSpatialItem2LocationBySpatialItem

java.util.Collection findSpatialItem2LocationBySpatialItem(int transform,
                                                           java.lang.String queryString,
                                                           int pageNumber,
                                                           int pageSize,
                                                           SpatialItem spatialItem)

Does the same thing as findSpatialItem2LocationBySpatialItem(int, String, fr.ifremer.allegro.referential.spatial.SpatialItem) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.


findSpatialItem2LocationByLocation

java.util.Collection findSpatialItem2LocationByLocation(Location location)

findSpatialItem2LocationByLocation

java.util.Collection findSpatialItem2LocationByLocation(java.lang.String queryString,
                                                        Location location)

Does the same thing as findSpatialItem2LocationByLocation(fr.ifremer.allegro.referential.location.Location) with an additional argument called queryString. This queryString argument allows you to override the query string defined in findSpatialItem2LocationByLocation(fr.ifremer.allegro.referential.location.Location).


findSpatialItem2LocationByLocation

java.util.Collection findSpatialItem2LocationByLocation(int pageNumber,
                                                        int pageSize,
                                                        Location location)

Does the same thing as findSpatialItem2LocationByLocation(fr.ifremer.allegro.referential.location.Location) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.


findSpatialItem2LocationByLocation

java.util.Collection findSpatialItem2LocationByLocation(java.lang.String queryString,
                                                        int pageNumber,
                                                        int pageSize,
                                                        Location location)

Does the same thing as findSpatialItem2LocationByLocation(String, fr.ifremer.allegro.referential.location.Location) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.


findSpatialItem2LocationByLocation

java.util.Collection findSpatialItem2LocationByLocation(int transform,
                                                        Location location)

Does the same thing as findSpatialItem2LocationByLocation(fr.ifremer.allegro.referential.location.Location) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then finder results will NOT be transformed during retrieval. If this flag is any of the other constants defined here then finder results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.


findSpatialItem2LocationByLocation

java.util.Collection findSpatialItem2LocationByLocation(int transform,
                                                        int pageNumber,
                                                        int pageSize,
                                                        Location location)

Does the same thing as findSpatialItem2LocationByLocation(int, fr.ifremer.allegro.referential.location.Location) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.


findSpatialItem2LocationByLocation

java.util.Collection findSpatialItem2LocationByLocation(int transform,
                                                        java.lang.String queryString,
                                                        Location location)

Does the same thing as findSpatialItem2LocationByLocation(int, fr.ifremer.allegro.referential.location.Location) with an additional argument called queryString. This queryString argument allows you to override the query string defined in findSpatialItem2LocationByLocation(int, fr.ifremer.allegro.referential.location.Location location).


findSpatialItem2LocationByLocation

java.util.Collection findSpatialItem2LocationByLocation(int transform,
                                                        java.lang.String queryString,
                                                        int pageNumber,
                                                        int pageSize,
                                                        Location location)

Does the same thing as findSpatialItem2LocationByLocation(int, String, fr.ifremer.allegro.referential.location.Location) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.


findSpatialItem2LocationByIdentifiers

SpatialItem2Location findSpatialItem2LocationByIdentifiers(SpatialItem spatialItem,
                                                           Location location)

findSpatialItem2LocationByIdentifiers

SpatialItem2Location findSpatialItem2LocationByIdentifiers(java.lang.String queryString,
                                                           SpatialItem spatialItem,
                                                           Location location)

Does the same thing as findSpatialItem2LocationByIdentifiers(fr.ifremer.allegro.referential.spatial.SpatialItem, fr.ifremer.allegro.referential.location.Location) with an additional argument called queryString. This queryString argument allows you to override the query string defined in findSpatialItem2LocationByIdentifiers(fr.ifremer.allegro.referential.spatial.SpatialItem, fr.ifremer.allegro.referential.location.Location).


findSpatialItem2LocationByIdentifiers

java.lang.Object findSpatialItem2LocationByIdentifiers(int transform,
                                                       SpatialItem spatialItem,
                                                       Location location)

Does the same thing as findSpatialItem2LocationByIdentifiers(fr.ifremer.allegro.referential.spatial.SpatialItem, fr.ifremer.allegro.referential.location.Location) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then finder results will NOT be transformed during retrieval. If this flag is any of the other constants defined here then finder results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.


findSpatialItem2LocationByIdentifiers

java.lang.Object findSpatialItem2LocationByIdentifiers(int transform,
                                                       java.lang.String queryString,
                                                       SpatialItem spatialItem,
                                                       Location location)

Does the same thing as findSpatialItem2LocationByIdentifiers(int, fr.ifremer.allegro.referential.spatial.SpatialItem, fr.ifremer.allegro.referential.location.Location) with an additional argument called queryString. This queryString argument allows you to override the query string defined in findSpatialItem2LocationByIdentifiers(int, fr.ifremer.allegro.referential.spatial.SpatialItem spatialItem, fr.ifremer.allegro.referential.location.Location location).


findSpatialItem2LocationByNaturalId

SpatialItem2Location findSpatialItem2LocationByNaturalId(SpatialItem spatialItem,
                                                         Location location)

findSpatialItem2LocationByNaturalId

SpatialItem2Location findSpatialItem2LocationByNaturalId(java.lang.String queryString,
                                                         SpatialItem spatialItem,
                                                         Location location)

Does the same thing as findSpatialItem2LocationByNaturalId(fr.ifremer.allegro.referential.spatial.SpatialItem, fr.ifremer.allegro.referential.location.Location) with an additional argument called queryString. This queryString argument allows you to override the query string defined in findSpatialItem2LocationByNaturalId(fr.ifremer.allegro.referential.spatial.SpatialItem, fr.ifremer.allegro.referential.location.Location).


findSpatialItem2LocationByNaturalId

java.lang.Object findSpatialItem2LocationByNaturalId(int transform,
                                                     SpatialItem spatialItem,
                                                     Location location)

Does the same thing as findSpatialItem2LocationByNaturalId(fr.ifremer.allegro.referential.spatial.SpatialItem, fr.ifremer.allegro.referential.location.Location) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then finder results will NOT be transformed during retrieval. If this flag is any of the other constants defined here then finder results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.


findSpatialItem2LocationByNaturalId

java.lang.Object findSpatialItem2LocationByNaturalId(int transform,
                                                     java.lang.String queryString,
                                                     SpatialItem spatialItem,
                                                     Location location)

Does the same thing as findSpatialItem2LocationByNaturalId(int, fr.ifremer.allegro.referential.spatial.SpatialItem, fr.ifremer.allegro.referential.location.Location) with an additional argument called queryString. This queryString argument allows you to override the query string defined in findSpatialItem2LocationByNaturalId(int, fr.ifremer.allegro.referential.spatial.SpatialItem spatialItem, fr.ifremer.allegro.referential.location.Location location).


createFromClusterSpatialItem2Location

SpatialItem2Location createFromClusterSpatialItem2Location(ClusterSpatialItem2Location clusterSpatialItem2Location)

search

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. These flags allow you to limit your data to a specified page number and size.

Parameters:
transform - the transformation flag.
pageNumber - the page number in the data to retrieve
pageSize - the size of the page to retrieve.
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search wrapped in a PaginationResult instance.

search

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. These flags allow you to limit your data to a specified page number and size.

Parameters:
pageNumber - the page number in the data to retrieve
pageSize - the size of the page to retrieve.
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search wrapped in a PaginationResult instance.

search

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. 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.

Parameters:
transform - the transformation flag.
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search.

search

java.util.Set search(Search search)
Performs a search using the parameters specified in the given search object.

Parameters:
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search.


Copyright © 2008-2010 IFREMER. All Rights Reserved.