fr.ifremer.allegro.referential.spatial
Class SpatialItemPointDaoBase

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.referential.spatial.SpatialItemPointDaoBase
All Implemented Interfaces:
SpatialItemPointDao
Direct Known Subclasses:
SpatialItemPointDaoImpl

public abstract class SpatialItemPointDaoBase
extends org.springframework.orm.hibernate3.support.HibernateDaoSupport
implements SpatialItemPointDao

Base Spring DAO Class: is able to create, update, remove, load, and find objects of type fr.ifremer.allegro.referential.spatial.SpatialItemPoint.

See Also:
SpatialItemPoint

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.spatial.SpatialItemPointDao
TRANSFORM_CLUSTERSPATIALITEMPOINT, TRANSFORM_NONE, TRANSFORM_REMOTESPATIALITEMPOINTFULLVO, TRANSFORM_REMOTESPATIALITEMPOINTNATURALID
 
Constructor Summary
SpatialItemPointDaoBase()
           
 
Method Summary
 void clusterSpatialItemPointToEntity(ClusterSpatialItemPoint source, SpatialItemPoint target, boolean copyIfNull)
          Copies the fields of ClusterSpatialItemPoint to the specified entity.
 void clusterSpatialItemPointToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type ClusterSpatialItemPoint to this DAO's entity.
 java.util.Collection create(java.util.Collection entities)
          Creates a new instance of fr.ifremer.allegro.referential.spatial.SpatialItemPoint and adds from the passed in entities collection
 java.util.Collection create(int transform, java.util.Collection entities)
           Does the same thing as SpatialItemPointDao.create(fr.ifremer.allegro.referential.spatial.SpatialItemPoint) with an additional flag called transform.
 java.lang.Object create(int transform, SpatialItem spatialItem)
           Does the same thing as SpatialItemPointDao.create(fr.ifremer.allegro.referential.spatial.SpatialItem) with an additional flag called transform.
 java.lang.Object create(int transform, SpatialItemPoint spatialItemPoint)
           Does the same thing as SpatialItemPointDao.create(fr.ifremer.allegro.referential.spatial.SpatialItemPoint) with an additional flag called transform.
 java.lang.Object create(int transform, java.lang.String localizedName, SpatialItem spatialItem)
           Does the same thing as SpatialItemPointDao.create(java.lang.String,fr.ifremer.allegro.referential.spatial.SpatialItem) with an additional flag called transform.
 SpatialItemPoint create(SpatialItem spatialItem)
           Creates a new fr.ifremer.allegro.referential.spatial.SpatialItemPoint instance from only required properties (attributes and association ends) and adds it to the persistent store.
 SpatialItemPoint create(SpatialItemPoint spatialItemPoint)
          Creates an instance of fr.ifremer.allegro.referential.spatial.SpatialItemPoint and adds it to the persistent store.
 SpatialItemPoint create(java.lang.String localizedName, SpatialItem spatialItem)
           Creates a new fr.ifremer.allegro.referential.spatial.SpatialItemPoint instance from all attributes and properties and adds it to the persistent store.
 SpatialItemPoint createFromClusterSpatialItemPoint(ClusterSpatialItemPoint clusterSpatialItemPoint)
           
 SpatialItemPoint findSpatialItemPointById(java.lang.Integer id)
           
 java.lang.Object findSpatialItemPointById(int transform, java.lang.Integer id)
           Does the same thing as SpatialItemPointDao.findSpatialItemPointById(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findSpatialItemPointById(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as SpatialItemPointDao.findSpatialItemPointById(int, java.lang.Integer) with an additional argument called queryString.
 SpatialItemPoint findSpatialItemPointById(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as SpatialItemPointDao.findSpatialItemPointById(java.lang.Integer) with an additional argument called queryString.
 SpatialItemPoint findSpatialItemPointByNaturalId(java.lang.Integer id)
           
 java.lang.Object findSpatialItemPointByNaturalId(int transform, java.lang.Integer id)
           Does the same thing as SpatialItemPointDao.findSpatialItemPointByNaturalId(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findSpatialItemPointByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as SpatialItemPointDao.findSpatialItemPointByNaturalId(int, java.lang.Integer) with an additional argument called queryString.
 SpatialItemPoint findSpatialItemPointByNaturalId(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as SpatialItemPointDao.findSpatialItemPointByNaturalId(java.lang.Integer) with an additional argument called queryString.
 java.util.Collection findSpatialItemPointBySpatialItem(int transform, int pageNumber, int pageSize, SpatialItem spatialItem)
           Does the same thing as SpatialItemPointDao.findSpatialItemPointBySpatialItem(int, fr.ifremer.allegro.referential.spatial.SpatialItem) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSpatialItemPointBySpatialItem(int pageNumber, int pageSize, SpatialItem spatialItem)
           Does the same thing as SpatialItemPointDao.findSpatialItemPointBySpatialItem(fr.ifremer.allegro.referential.spatial.SpatialItem) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSpatialItemPointBySpatialItem(int transform, SpatialItem spatialItem)
           Does the same thing as SpatialItemPointDao.findSpatialItemPointBySpatialItem(fr.ifremer.allegro.referential.spatial.SpatialItem) with an additional flag called transform.
 java.util.Collection findSpatialItemPointBySpatialItem(int transform, java.lang.String queryString, int pageNumber, int pageSize, SpatialItem spatialItem)
           Does the same thing as SpatialItemPointDao.findSpatialItemPointBySpatialItem(int, String, fr.ifremer.allegro.referential.spatial.SpatialItem) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSpatialItemPointBySpatialItem(int transform, java.lang.String queryString, SpatialItem spatialItem)
           Does the same thing as SpatialItemPointDao.findSpatialItemPointBySpatialItem(int, fr.ifremer.allegro.referential.spatial.SpatialItem) with an additional argument called queryString.
 java.util.Collection findSpatialItemPointBySpatialItem(SpatialItem spatialItem)
           
 java.util.Collection findSpatialItemPointBySpatialItem(java.lang.String queryString, int pageNumber, int pageSize, SpatialItem spatialItem)
           Does the same thing as SpatialItemPointDao.findSpatialItemPointBySpatialItem(String, fr.ifremer.allegro.referential.spatial.SpatialItem) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSpatialItemPointBySpatialItem(java.lang.String queryString, SpatialItem spatialItem)
           Does the same thing as SpatialItemPointDao.findSpatialItemPointBySpatialItem(fr.ifremer.allegro.referential.spatial.SpatialItem) with an additional argument called queryString.
 java.util.Collection getAllSpatialItemPoint()
           
 java.util.Collection getAllSpatialItemPoint(int transform)
           Does the same thing as SpatialItemPointDao.getAllSpatialItemPoint() with an additional flag called transform.
 java.util.Collection getAllSpatialItemPoint(int pageNumber, int pageSize)
           Does the same thing as SpatialItemPointDao.getAllSpatialItemPoint() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllSpatialItemPoint(int transform, int pageNumber, int pageSize)
           Does the same thing as SpatialItemPointDao.getAllSpatialItemPoint(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllSpatialItemPoint(int transform, java.lang.String queryString)
           Does the same thing as SpatialItemPointDao.getAllSpatialItemPoint(int) with an additional argument called queryString.
 java.util.Collection getAllSpatialItemPoint(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as SpatialItemPointDao.getAllSpatialItemPoint(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllSpatialItemPoint(java.lang.String queryString)
           Does the same thing as SpatialItemPointDao.getAllSpatialItemPoint() with an additional argument called queryString.
 java.util.Collection getAllSpatialItemPoint(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as SpatialItemPointDao.getAllSpatialItemPoint(String) with an additional two arguments called pageNumber and pageSize.
protected  java.security.Principal getPrincipal()
          Gets the current principal if one has been set, otherwise returns null.
protected  SpatialItemDao getSpatialItemDao()
          Gets the reference to spatialItemDao.
protected abstract  SpatialItemPoint handleCreateFromClusterSpatialItemPoint(ClusterSpatialItemPoint clusterSpatialItemPoint)
          Performs the core logic for createFromClusterSpatialItemPoint(fr.ifremer.allegro.referential.spatial.generic.cluster.ClusterSpatialItemPoint)
 SpatialItemPoint load(java.lang.Integer id)
          Loads an instance of fr.ifremer.allegro.referential.spatial.SpatialItemPoint from the persistent store.
 java.lang.Object load(int transform, java.lang.Integer id)
           Does the same thing as SpatialItemPointDao.load(java.lang.Integer) with an additional flag called transform.
 java.util.Collection loadAll()
          Loads all entities of type SpatialItemPoint.
 java.util.Collection loadAll(int transform)
           Does the same thing as SpatialItemPointDao.loadAll() with an additional flag called transform.
 java.util.Collection loadAll(int pageNumber, int pageSize)
           Does the same thing as SpatialItemPointDao.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 SpatialItemPointDao.loadAll(int) with an additional two arguments called pageNumber and pageSize.
 void remoteSpatialItemPointFullVOToEntity(RemoteSpatialItemPointFullVO source, SpatialItemPoint target, boolean copyIfNull)
          Copies the fields of RemoteSpatialItemPointFullVO to the specified entity.
 void remoteSpatialItemPointFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteSpatialItemPointFullVO to this DAO's entity.
 void remoteSpatialItemPointNaturalIdToEntity(RemoteSpatialItemPointNaturalId source, SpatialItemPoint target, boolean copyIfNull)
          Copies the fields of RemoteSpatialItemPointNaturalId to the specified entity.
 void remoteSpatialItemPointNaturalIdToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteSpatialItemPointNaturalId to this DAO's entity.
 void remove(java.util.Collection entities)
          Removes all entities in the given entities collection.
 void remove(java.lang.Integer id)
          Removes the instance of fr.ifremer.allegro.referential.spatial.SpatialItemPoint having the given identifier from the persistent store.
 void remove(SpatialItemPoint spatialItemPoint)
          Removes the instance of fr.ifremer.allegro.referential.spatial.SpatialItemPoint 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 SpatialItemPointDao.search(fr.ifremer.allegro.Search) but with an additional flag called transform.
 java.util.Set search(Search search)
          Performs a search using the parameters specified in the given search object.
 void setSpatialItemDao(SpatialItemDao spatialItemDao)
          Sets the reference to spatialItemDao.
protected  ClusterSpatialItemPoint toClusterSpatialItemPoint(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 ClusterSpatialItemPoint toClusterSpatialItemPoint(SpatialItemPoint entity)
          Converts this DAO's entity to an object of type ClusterSpatialItemPoint.
 void toClusterSpatialItemPoint(SpatialItemPoint source, ClusterSpatialItemPoint target)
          Copies the fields of the specified entity to the target value object.
 ClusterSpatialItemPoint[] toClusterSpatialItemPointArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type ClusterSpatialItemPoint.
 void toClusterSpatialItemPointCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type ClusterSpatialItemPoint.
protected  SpatialItemPoint toEntity(java.lang.Object[] row)
           
protected  RemoteSpatialItemPointFullVO toRemoteSpatialItemPointFullVO(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteSpatialItemPointFullVO toRemoteSpatialItemPointFullVO(SpatialItemPoint entity)
          Converts this DAO's entity to an object of type RemoteSpatialItemPointFullVO.
 void toRemoteSpatialItemPointFullVO(SpatialItemPoint source, RemoteSpatialItemPointFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteSpatialItemPointFullVO[] toRemoteSpatialItemPointFullVOArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteSpatialItemPointFullVO.
 void toRemoteSpatialItemPointFullVOCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteSpatialItemPointFullVO.
protected  RemoteSpatialItemPointNaturalId toRemoteSpatialItemPointNaturalId(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteSpatialItemPointNaturalId toRemoteSpatialItemPointNaturalId(SpatialItemPoint entity)
          Converts this DAO's entity to an object of type RemoteSpatialItemPointNaturalId.
 void toRemoteSpatialItemPointNaturalId(SpatialItemPoint source, RemoteSpatialItemPointNaturalId target)
          Copies the fields of the specified entity to the target value object.
 RemoteSpatialItemPointNaturalId[] toRemoteSpatialItemPointNaturalIdArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteSpatialItemPointNaturalId.
 void toRemoteSpatialItemPointNaturalIdCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteSpatialItemPointNaturalId.
protected  void transformEntities(int transform, java.util.Collection entities)
          Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.spatial.SpatialItemPoint) method.
protected  java.lang.Object transformEntity(int transform, SpatialItemPoint entity)
          Allows transformation of entities into value objects (or something else for that matter), when the transform flag is set to one of the constants defined in fr.ifremer.allegro.referential.spatial.SpatialItemPointDao, please note that the SpatialItemPointDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself will be returned.
 void update(java.util.Collection entities)
          Updates all instances in the entities collection in the persistent store.
 void update(SpatialItemPoint spatialItemPoint)
          Updates the spatialItemPoint instance in the persistent store.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface fr.ifremer.allegro.referential.spatial.SpatialItemPointDao
clusterSpatialItemPointToEntity, remoteSpatialItemPointFullVOToEntity, remoteSpatialItemPointNaturalIdToEntity
 

Constructor Detail

SpatialItemPointDaoBase

public SpatialItemPointDaoBase()
Method Detail

setSpatialItemDao

public void setSpatialItemDao(SpatialItemDao spatialItemDao)
Sets the reference to spatialItemDao.


getSpatialItemDao

protected SpatialItemDao getSpatialItemDao()
Gets the reference to spatialItemDao.


load

public java.lang.Object load(int transform,
                             java.lang.Integer id)
Description copied from interface: SpatialItemPointDao

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

Specified by:
load in interface SpatialItemPointDao
id - identifier of the entity to load
Returns:
either the entity or the object transformed from the entity.
See Also:
SpatialItemPointDao.load(int, java.lang.Integer)

load

public SpatialItemPoint load(java.lang.Integer id)
Description copied from interface: SpatialItemPointDao
Loads an instance of fr.ifremer.allegro.referential.spatial.SpatialItemPoint from the persistent store.

Specified by:
load in interface SpatialItemPointDao
See Also:
SpatialItemPointDao.load(java.lang.Integer)

loadAll

public java.util.Collection loadAll()
Description copied from interface: SpatialItemPointDao
Loads all entities of type SpatialItemPoint.

Specified by:
loadAll in interface SpatialItemPointDao
Returns:
the loaded entities.
See Also:
SpatialItemPointDao.loadAll()

loadAll

public java.util.Collection loadAll(int transform)
Description copied from interface: SpatialItemPointDao

Does the same thing as SpatialItemPointDao.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.

Specified by:
loadAll in interface SpatialItemPointDao
Parameters:
transform - the flag indicating what transformation to use.
Returns:
the loaded entities.
See Also:
SpatialItemPointDao.loadAll(int)

loadAll

public java.util.Collection loadAll(int pageNumber,
                                    int pageSize)
Description copied from interface: SpatialItemPointDao

Does the same thing as SpatialItemPointDao.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.

Specified by:
loadAll in interface SpatialItemPointDao
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.
See Also:
SpatialItemPointDao.loadAll(int, int)

loadAll

public java.util.Collection loadAll(int transform,
                                    int pageNumber,
                                    int pageSize)
Description copied from interface: SpatialItemPointDao

Does the same thing as SpatialItemPointDao.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.

Specified by:
loadAll in interface SpatialItemPointDao
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.
See Also:
SpatialItemPointDao.loadAll(int, int, int)

create

public SpatialItemPoint create(SpatialItemPoint spatialItemPoint)
Description copied from interface: SpatialItemPointDao
Creates an instance of fr.ifremer.allegro.referential.spatial.SpatialItemPoint and adds it to the persistent store.

Specified by:
create in interface SpatialItemPointDao
See Also:
SpatialItemPointDao.create(fr.ifremer.allegro.referential.spatial.SpatialItemPoint)

create

public java.lang.Object create(int transform,
                               SpatialItemPoint spatialItemPoint)
Description copied from interface: SpatialItemPointDao

Does the same thing as SpatialItemPointDao.create(fr.ifremer.allegro.referential.spatial.SpatialItemPoint) 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.

Specified by:
create in interface SpatialItemPointDao
See Also:
SpatialItemPointDao.create(int transform, fr.ifremer.allegro.referential.spatial.SpatialItemPoint)

create

public java.util.Collection create(java.util.Collection entities)
Description copied from interface: SpatialItemPointDao
Creates a new instance of fr.ifremer.allegro.referential.spatial.SpatialItemPoint and adds from the passed in entities collection

Specified by:
create in interface SpatialItemPointDao
Parameters:
entities - the collection of fr.ifremer.allegro.referential.spatial.SpatialItemPoint instances to create.
Returns:
the created instances.
See Also:
SpatialItemPointDao.create(java.util.Collection)

create

public java.util.Collection create(int transform,
                                   java.util.Collection entities)
Description copied from interface: SpatialItemPointDao

Does the same thing as SpatialItemPointDao.create(fr.ifremer.allegro.referential.spatial.SpatialItemPoint) 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.

Specified by:
create in interface SpatialItemPointDao
See Also:
SpatialItemPointDao.create(int, java.util.Collection)

create

public SpatialItemPoint create(java.lang.String localizedName,
                               SpatialItem spatialItem)
Description copied from interface: SpatialItemPointDao

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

Specified by:
create in interface SpatialItemPointDao
See Also:
SpatialItemPointDao.create(java.lang.String,fr.ifremer.allegro.referential.spatial.SpatialItem)

create

public java.lang.Object create(int transform,
                               java.lang.String localizedName,
                               SpatialItem spatialItem)
Description copied from interface: SpatialItemPointDao

Does the same thing as SpatialItemPointDao.create(java.lang.String,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 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.

Specified by:
create in interface SpatialItemPointDao
See Also:
SpatialItemPointDao.create(int, java.lang.String,fr.ifremer.allegro.referential.spatial.SpatialItem)

create

public SpatialItemPoint create(SpatialItem spatialItem)
Description copied from interface: SpatialItemPointDao

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

Specified by:
create in interface SpatialItemPointDao
See Also:
SpatialItemPointDao.create(fr.ifremer.allegro.referential.spatial.SpatialItem)

create

public java.lang.Object create(int transform,
                               SpatialItem spatialItem)
Description copied from interface: SpatialItemPointDao

Does the same thing as SpatialItemPointDao.create(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.

Specified by:
create in interface SpatialItemPointDao
See Also:
SpatialItemPointDao.create(int, fr.ifremer.allegro.referential.spatial.SpatialItem)

update

public void update(SpatialItemPoint spatialItemPoint)
Description copied from interface: SpatialItemPointDao
Updates the spatialItemPoint instance in the persistent store.

Specified by:
update in interface SpatialItemPointDao
See Also:
SpatialItemPointDao.update(fr.ifremer.allegro.referential.spatial.SpatialItemPoint)

update

public void update(java.util.Collection entities)
Description copied from interface: SpatialItemPointDao
Updates all instances in the entities collection in the persistent store.

Specified by:
update in interface SpatialItemPointDao
See Also:
SpatialItemPointDao.update(java.util.Collection)

remove

public void remove(SpatialItemPoint spatialItemPoint)
Description copied from interface: SpatialItemPointDao
Removes the instance of fr.ifremer.allegro.referential.spatial.SpatialItemPoint from the persistent store.

Specified by:
remove in interface SpatialItemPointDao
See Also:
SpatialItemPointDao.remove(fr.ifremer.allegro.referential.spatial.SpatialItemPoint)

remove

public void remove(java.lang.Integer id)
Description copied from interface: SpatialItemPointDao
Removes the instance of fr.ifremer.allegro.referential.spatial.SpatialItemPoint having the given identifier from the persistent store.

Specified by:
remove in interface SpatialItemPointDao
See Also:
SpatialItemPointDao.remove(java.lang.Integer)

remove

public void remove(java.util.Collection entities)
Description copied from interface: SpatialItemPointDao
Removes all entities in the given entities collection.

Specified by:
remove in interface SpatialItemPointDao
See Also:
SpatialItemPointDao.remove(java.util.Collection)

getAllSpatialItemPoint

public java.util.Collection getAllSpatialItemPoint()
Specified by:
getAllSpatialItemPoint in interface SpatialItemPointDao
See Also:
SpatialItemPointDao.getAllSpatialItemPoint()

getAllSpatialItemPoint

public java.util.Collection getAllSpatialItemPoint(int transform)
Description copied from interface: SpatialItemPointDao

Does the same thing as SpatialItemPointDao.getAllSpatialItemPoint() 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.

Specified by:
getAllSpatialItemPoint in interface SpatialItemPointDao
See Also:
SpatialItemPointDao.getAllSpatialItemPoint(int)

getAllSpatialItemPoint

public java.util.Collection getAllSpatialItemPoint(java.lang.String queryString)
Description copied from interface: SpatialItemPointDao

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

Specified by:
getAllSpatialItemPoint in interface SpatialItemPointDao
See Also:
SpatialItemPointDao.getAllSpatialItemPoint(java.lang.String)

getAllSpatialItemPoint

public java.util.Collection getAllSpatialItemPoint(int pageNumber,
                                                   int pageSize)
Description copied from interface: SpatialItemPointDao

Does the same thing as SpatialItemPointDao.getAllSpatialItemPoint() 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.

Specified by:
getAllSpatialItemPoint in interface SpatialItemPointDao
See Also:
SpatialItemPointDao.getAllSpatialItemPoint(int, int)

getAllSpatialItemPoint

public java.util.Collection getAllSpatialItemPoint(java.lang.String queryString,
                                                   int pageNumber,
                                                   int pageSize)
Description copied from interface: SpatialItemPointDao

Does the same thing as SpatialItemPointDao.getAllSpatialItemPoint(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.

Specified by:
getAllSpatialItemPoint in interface SpatialItemPointDao
See Also:
SpatialItemPointDao.getAllSpatialItemPoint(String, int, int)

getAllSpatialItemPoint

public java.util.Collection getAllSpatialItemPoint(int transform,
                                                   java.lang.String queryString)
Description copied from interface: SpatialItemPointDao

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

Specified by:
getAllSpatialItemPoint in interface SpatialItemPointDao
See Also:
SpatialItemPointDao.getAllSpatialItemPoint(int, String)

getAllSpatialItemPoint

public java.util.Collection getAllSpatialItemPoint(int transform,
                                                   int pageNumber,
                                                   int pageSize)
Description copied from interface: SpatialItemPointDao

Does the same thing as SpatialItemPointDao.getAllSpatialItemPoint(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.

Specified by:
getAllSpatialItemPoint in interface SpatialItemPointDao
See Also:
SpatialItemPointDao.getAllSpatialItemPoint(int, int, int)

getAllSpatialItemPoint

public java.util.Collection getAllSpatialItemPoint(int transform,
                                                   java.lang.String queryString,
                                                   int pageNumber,
                                                   int pageSize)
Description copied from interface: SpatialItemPointDao

Does the same thing as SpatialItemPointDao.getAllSpatialItemPoint(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.

Specified by:
getAllSpatialItemPoint in interface SpatialItemPointDao
See Also:
SpatialItemPointDao.getAllSpatialItemPoint(int, java.lang.String, int, int)

findSpatialItemPointById

public SpatialItemPoint findSpatialItemPointById(java.lang.Integer id)
Specified by:
findSpatialItemPointById in interface SpatialItemPointDao
See Also:
SpatialItemPointDao.findSpatialItemPointById(java.lang.Integer)

findSpatialItemPointById

public java.lang.Object findSpatialItemPointById(int transform,
                                                 java.lang.Integer id)
Description copied from interface: SpatialItemPointDao

Does the same thing as SpatialItemPointDao.findSpatialItemPointById(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.

Specified by:
findSpatialItemPointById in interface SpatialItemPointDao
See Also:
SpatialItemPointDao.findSpatialItemPointById(int, java.lang.Integer)

findSpatialItemPointById

public SpatialItemPoint findSpatialItemPointById(java.lang.String queryString,
                                                 java.lang.Integer id)
Description copied from interface: SpatialItemPointDao

Does the same thing as SpatialItemPointDao.findSpatialItemPointById(java.lang.Integer) with an additional argument called queryString. This queryString argument allows you to override the query string defined in SpatialItemPointDao.findSpatialItemPointById(java.lang.Integer).

Specified by:
findSpatialItemPointById in interface SpatialItemPointDao
See Also:
SpatialItemPointDao.findSpatialItemPointById(java.lang.String, java.lang.Integer)

findSpatialItemPointById

public java.lang.Object findSpatialItemPointById(int transform,
                                                 java.lang.String queryString,
                                                 java.lang.Integer id)
Description copied from interface: SpatialItemPointDao

Does the same thing as SpatialItemPointDao.findSpatialItemPointById(int, java.lang.Integer) with an additional argument called queryString. This queryString argument allows you to override the query string defined in SpatialItemPointDao.findSpatialItemPointById(int, java.lang.Integer id).

Specified by:
findSpatialItemPointById in interface SpatialItemPointDao
See Also:
SpatialItemPointDao.findSpatialItemPointById(int, java.lang.String, java.lang.Integer)

findSpatialItemPointBySpatialItem

public java.util.Collection findSpatialItemPointBySpatialItem(SpatialItem spatialItem)
Specified by:
findSpatialItemPointBySpatialItem in interface SpatialItemPointDao
See Also:
SpatialItemPointDao.findSpatialItemPointBySpatialItem(fr.ifremer.allegro.referential.spatial.SpatialItem)

findSpatialItemPointBySpatialItem

public java.util.Collection findSpatialItemPointBySpatialItem(int transform,
                                                              SpatialItem spatialItem)
Description copied from interface: SpatialItemPointDao

Does the same thing as SpatialItemPointDao.findSpatialItemPointBySpatialItem(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.

Specified by:
findSpatialItemPointBySpatialItem in interface SpatialItemPointDao
See Also:
SpatialItemPointDao.findSpatialItemPointBySpatialItem(int, fr.ifremer.allegro.referential.spatial.SpatialItem)

findSpatialItemPointBySpatialItem

public java.util.Collection findSpatialItemPointBySpatialItem(java.lang.String queryString,
                                                              SpatialItem spatialItem)
Description copied from interface: SpatialItemPointDao

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

Specified by:
findSpatialItemPointBySpatialItem in interface SpatialItemPointDao
See Also:
SpatialItemPointDao.findSpatialItemPointBySpatialItem(java.lang.String, fr.ifremer.allegro.referential.spatial.SpatialItem)

findSpatialItemPointBySpatialItem

public java.util.Collection findSpatialItemPointBySpatialItem(int pageNumber,
                                                              int pageSize,
                                                              SpatialItem spatialItem)
Description copied from interface: SpatialItemPointDao

Does the same thing as SpatialItemPointDao.findSpatialItemPointBySpatialItem(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.

Specified by:
findSpatialItemPointBySpatialItem in interface SpatialItemPointDao
See Also:
SpatialItemPointDao.findSpatialItemPointBySpatialItem(int, int, fr.ifremer.allegro.referential.spatial.SpatialItem)

findSpatialItemPointBySpatialItem

public java.util.Collection findSpatialItemPointBySpatialItem(java.lang.String queryString,
                                                              int pageNumber,
                                                              int pageSize,
                                                              SpatialItem spatialItem)
Description copied from interface: SpatialItemPointDao

Does the same thing as SpatialItemPointDao.findSpatialItemPointBySpatialItem(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.

Specified by:
findSpatialItemPointBySpatialItem in interface SpatialItemPointDao
See Also:
SpatialItemPointDao.findSpatialItemPointBySpatialItem(String, int, int, fr.ifremer.allegro.referential.spatial.SpatialItem)

findSpatialItemPointBySpatialItem

public java.util.Collection findSpatialItemPointBySpatialItem(int transform,
                                                              java.lang.String queryString,
                                                              SpatialItem spatialItem)
Description copied from interface: SpatialItemPointDao

Does the same thing as SpatialItemPointDao.findSpatialItemPointBySpatialItem(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 SpatialItemPointDao.findSpatialItemPointBySpatialItem(int, fr.ifremer.allegro.referential.spatial.SpatialItem spatialItem).

Specified by:
findSpatialItemPointBySpatialItem in interface SpatialItemPointDao
See Also:
SpatialItemPointDao.findSpatialItemPointBySpatialItem(int, String, fr.ifremer.allegro.referential.spatial.SpatialItem)

findSpatialItemPointBySpatialItem

public java.util.Collection findSpatialItemPointBySpatialItem(int transform,
                                                              int pageNumber,
                                                              int pageSize,
                                                              SpatialItem spatialItem)
Description copied from interface: SpatialItemPointDao

Does the same thing as SpatialItemPointDao.findSpatialItemPointBySpatialItem(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.

Specified by:
findSpatialItemPointBySpatialItem in interface SpatialItemPointDao
See Also:
SpatialItemPointDao.findSpatialItemPointBySpatialItem(int, int, int, fr.ifremer.allegro.referential.spatial.SpatialItem)

findSpatialItemPointBySpatialItem

public java.util.Collection findSpatialItemPointBySpatialItem(int transform,
                                                              java.lang.String queryString,
                                                              int pageNumber,
                                                              int pageSize,
                                                              SpatialItem spatialItem)
Description copied from interface: SpatialItemPointDao

Does the same thing as SpatialItemPointDao.findSpatialItemPointBySpatialItem(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.

Specified by:
findSpatialItemPointBySpatialItem in interface SpatialItemPointDao
See Also:
SpatialItemPointDao.findSpatialItemPointBySpatialItem(int, java.lang.String, int, int, fr.ifremer.allegro.referential.spatial.SpatialItem)

findSpatialItemPointByNaturalId

public SpatialItemPoint findSpatialItemPointByNaturalId(java.lang.Integer id)
Specified by:
findSpatialItemPointByNaturalId in interface SpatialItemPointDao
See Also:
SpatialItemPointDao.findSpatialItemPointByNaturalId(java.lang.Integer)

findSpatialItemPointByNaturalId

public java.lang.Object findSpatialItemPointByNaturalId(int transform,
                                                        java.lang.Integer id)
Description copied from interface: SpatialItemPointDao

Does the same thing as SpatialItemPointDao.findSpatialItemPointByNaturalId(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.

Specified by:
findSpatialItemPointByNaturalId in interface SpatialItemPointDao
See Also:
SpatialItemPointDao.findSpatialItemPointByNaturalId(int, java.lang.Integer)

findSpatialItemPointByNaturalId

public SpatialItemPoint findSpatialItemPointByNaturalId(java.lang.String queryString,
                                                        java.lang.Integer id)
Description copied from interface: SpatialItemPointDao

Does the same thing as SpatialItemPointDao.findSpatialItemPointByNaturalId(java.lang.Integer) with an additional argument called queryString. This queryString argument allows you to override the query string defined in SpatialItemPointDao.findSpatialItemPointByNaturalId(java.lang.Integer).

Specified by:
findSpatialItemPointByNaturalId in interface SpatialItemPointDao
See Also:
SpatialItemPointDao.findSpatialItemPointByNaturalId(java.lang.String, java.lang.Integer)

findSpatialItemPointByNaturalId

public java.lang.Object findSpatialItemPointByNaturalId(int transform,
                                                        java.lang.String queryString,
                                                        java.lang.Integer id)
Description copied from interface: SpatialItemPointDao

Does the same thing as SpatialItemPointDao.findSpatialItemPointByNaturalId(int, java.lang.Integer) with an additional argument called queryString. This queryString argument allows you to override the query string defined in SpatialItemPointDao.findSpatialItemPointByNaturalId(int, java.lang.Integer id).

Specified by:
findSpatialItemPointByNaturalId in interface SpatialItemPointDao
See Also:
SpatialItemPointDao.findSpatialItemPointByNaturalId(int, java.lang.String, java.lang.Integer)

createFromClusterSpatialItemPoint

public SpatialItemPoint createFromClusterSpatialItemPoint(ClusterSpatialItemPoint clusterSpatialItemPoint)
Specified by:
createFromClusterSpatialItemPoint in interface SpatialItemPointDao
See Also:
SpatialItemPointDao.createFromClusterSpatialItemPoint(fr.ifremer.allegro.referential.spatial.generic.cluster.ClusterSpatialItemPoint)

handleCreateFromClusterSpatialItemPoint

protected abstract SpatialItemPoint handleCreateFromClusterSpatialItemPoint(ClusterSpatialItemPoint clusterSpatialItemPoint)
                                                                     throws java.lang.Exception
Performs the core logic for createFromClusterSpatialItemPoint(fr.ifremer.allegro.referential.spatial.generic.cluster.ClusterSpatialItemPoint)

Throws:
java.lang.Exception

transformEntity

protected java.lang.Object transformEntity(int transform,
                                           SpatialItemPoint entity)
Allows transformation of entities into value objects (or something else for that matter), when the transform flag is set to one of the constants defined in fr.ifremer.allegro.referential.spatial.SpatialItemPointDao, please note that the SpatialItemPointDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself will be returned.

This method will return instances of these types:

If the integer argument value is unknown SpatialItemPointDao.TRANSFORM_NONE is assumed.

Parameters:
transform - one of the constants declared in SpatialItemPointDao
entity - an entity that was found
Returns:
the transformed entity (i.e. new value object, etc)
See Also:
transformEntities(int,java.util.Collection)

transformEntities

protected void transformEntities(int transform,
                                 java.util.Collection entities)
Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.spatial.SpatialItemPoint) method. This method does not instantiate a new collection.

This method is to be used internally only.

Parameters:
transform - one of the constants declared in fr.ifremer.allegro.referential.spatial.SpatialItemPointDao
entities - the collection of entities to transform
See Also:
transformEntity(int,fr.ifremer.allegro.referential.spatial.SpatialItemPoint)

toEntity

protected SpatialItemPoint toEntity(java.lang.Object[] row)

toRemoteSpatialItemPointFullVOCollection

public final void toRemoteSpatialItemPointFullVOCollection(java.util.Collection entities)
Description copied from interface: SpatialItemPointDao
Converts this DAO's entity to a Collection of instances of type RemoteSpatialItemPointFullVO.

Specified by:
toRemoteSpatialItemPointFullVOCollection in interface SpatialItemPointDao
See Also:
SpatialItemPointDao.toRemoteSpatialItemPointFullVOCollection(java.util.Collection)

toRemoteSpatialItemPointFullVOArray

public final RemoteSpatialItemPointFullVO[] toRemoteSpatialItemPointFullVOArray(java.util.Collection entities)
Description copied from interface: SpatialItemPointDao
Converts this DAO's entity to an array of instances of type RemoteSpatialItemPointFullVO.

Specified by:
toRemoteSpatialItemPointFullVOArray in interface SpatialItemPointDao
See Also:
SpatialItemPointDao.toRemoteSpatialItemPointFullVOArray(java.util.Collection)

toRemoteSpatialItemPointFullVO

protected RemoteSpatialItemPointFullVO toRemoteSpatialItemPointFullVO(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. This implementation exists for convenience reasons only. It needs only be overridden in the SpatialItemPointDaoImpl class if you intend to use reporting queries.

See Also:
SpatialItemPointDao.toRemoteSpatialItemPointFullVO(fr.ifremer.allegro.referential.spatial.SpatialItemPoint)

remoteSpatialItemPointFullVOToEntityCollection

public final void remoteSpatialItemPointFullVOToEntityCollection(java.util.Collection instances)
Description copied from interface: SpatialItemPointDao
Converts a Collection of instances of type RemoteSpatialItemPointFullVO to this DAO's entity.

Specified by:
remoteSpatialItemPointFullVOToEntityCollection in interface SpatialItemPointDao
See Also:
SpatialItemPointDao.remoteSpatialItemPointFullVOToEntityCollection(java.util.Collection)

toRemoteSpatialItemPointFullVO

public void toRemoteSpatialItemPointFullVO(SpatialItemPoint source,
                                           RemoteSpatialItemPointFullVO target)
Description copied from interface: SpatialItemPointDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteSpatialItemPointFullVO(), but it does not handle any attributes in the target value object that are "read-only" (as those do not have setter methods exposed).

Specified by:
toRemoteSpatialItemPointFullVO in interface SpatialItemPointDao
See Also:
SpatialItemPointDao.toRemoteSpatialItemPointFullVO(fr.ifremer.allegro.referential.spatial.SpatialItemPoint, fr.ifremer.allegro.referential.spatial.generic.vo.RemoteSpatialItemPointFullVO)

toRemoteSpatialItemPointFullVO

public RemoteSpatialItemPointFullVO toRemoteSpatialItemPointFullVO(SpatialItemPoint entity)
Description copied from interface: SpatialItemPointDao
Converts this DAO's entity to an object of type RemoteSpatialItemPointFullVO.

Specified by:
toRemoteSpatialItemPointFullVO in interface SpatialItemPointDao
See Also:
SpatialItemPointDao.toRemoteSpatialItemPointFullVO(fr.ifremer.allegro.referential.spatial.SpatialItemPoint)

remoteSpatialItemPointFullVOToEntity

public void remoteSpatialItemPointFullVOToEntity(RemoteSpatialItemPointFullVO source,
                                                 SpatialItemPoint target,
                                                 boolean copyIfNull)
Description copied from interface: SpatialItemPointDao
Copies the fields of RemoteSpatialItemPointFullVO to the specified entity.

Specified by:
remoteSpatialItemPointFullVOToEntity in interface SpatialItemPointDao
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.
See Also:
fr.ifremer.allegro.referential.spatial.SpatialItemPointDao#remoteSpatialItemPointFullVOToEntity(fr.ifremer.allegro.referential.spatial.generic.vo.RemoteSpatialItemPointFullVO, fr.ifremer.allegro.referential.spatial.SpatialItemPoint)

toRemoteSpatialItemPointNaturalIdCollection

public final void toRemoteSpatialItemPointNaturalIdCollection(java.util.Collection entities)
Description copied from interface: SpatialItemPointDao
Converts this DAO's entity to a Collection of instances of type RemoteSpatialItemPointNaturalId.

Specified by:
toRemoteSpatialItemPointNaturalIdCollection in interface SpatialItemPointDao
See Also:
SpatialItemPointDao.toRemoteSpatialItemPointNaturalIdCollection(java.util.Collection)

toRemoteSpatialItemPointNaturalIdArray

public final RemoteSpatialItemPointNaturalId[] toRemoteSpatialItemPointNaturalIdArray(java.util.Collection entities)
Description copied from interface: SpatialItemPointDao
Converts this DAO's entity to an array of instances of type RemoteSpatialItemPointNaturalId.

Specified by:
toRemoteSpatialItemPointNaturalIdArray in interface SpatialItemPointDao
See Also:
SpatialItemPointDao.toRemoteSpatialItemPointNaturalIdArray(java.util.Collection)

toRemoteSpatialItemPointNaturalId

protected RemoteSpatialItemPointNaturalId toRemoteSpatialItemPointNaturalId(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. This implementation exists for convenience reasons only. It needs only be overridden in the SpatialItemPointDaoImpl class if you intend to use reporting queries.

See Also:
SpatialItemPointDao.toRemoteSpatialItemPointNaturalId(fr.ifremer.allegro.referential.spatial.SpatialItemPoint)

remoteSpatialItemPointNaturalIdToEntityCollection

public final void remoteSpatialItemPointNaturalIdToEntityCollection(java.util.Collection instances)
Description copied from interface: SpatialItemPointDao
Converts a Collection of instances of type RemoteSpatialItemPointNaturalId to this DAO's entity.

Specified by:
remoteSpatialItemPointNaturalIdToEntityCollection in interface SpatialItemPointDao
See Also:
SpatialItemPointDao.remoteSpatialItemPointNaturalIdToEntityCollection(java.util.Collection)

toRemoteSpatialItemPointNaturalId

public void toRemoteSpatialItemPointNaturalId(SpatialItemPoint source,
                                              RemoteSpatialItemPointNaturalId target)
Description copied from interface: SpatialItemPointDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteSpatialItemPointNaturalId(), but it does not handle any attributes in the target value object that are "read-only" (as those do not have setter methods exposed).

Specified by:
toRemoteSpatialItemPointNaturalId in interface SpatialItemPointDao
See Also:
SpatialItemPointDao.toRemoteSpatialItemPointNaturalId(fr.ifremer.allegro.referential.spatial.SpatialItemPoint, fr.ifremer.allegro.referential.spatial.generic.vo.RemoteSpatialItemPointNaturalId)

toRemoteSpatialItemPointNaturalId

public RemoteSpatialItemPointNaturalId toRemoteSpatialItemPointNaturalId(SpatialItemPoint entity)
Description copied from interface: SpatialItemPointDao
Converts this DAO's entity to an object of type RemoteSpatialItemPointNaturalId.

Specified by:
toRemoteSpatialItemPointNaturalId in interface SpatialItemPointDao
See Also:
SpatialItemPointDao.toRemoteSpatialItemPointNaturalId(fr.ifremer.allegro.referential.spatial.SpatialItemPoint)

remoteSpatialItemPointNaturalIdToEntity

public void remoteSpatialItemPointNaturalIdToEntity(RemoteSpatialItemPointNaturalId source,
                                                    SpatialItemPoint target,
                                                    boolean copyIfNull)
Description copied from interface: SpatialItemPointDao
Copies the fields of RemoteSpatialItemPointNaturalId to the specified entity.

Specified by:
remoteSpatialItemPointNaturalIdToEntity in interface SpatialItemPointDao
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.
See Also:
fr.ifremer.allegro.referential.spatial.SpatialItemPointDao#remoteSpatialItemPointNaturalIdToEntity(fr.ifremer.allegro.referential.spatial.generic.vo.RemoteSpatialItemPointNaturalId, fr.ifremer.allegro.referential.spatial.SpatialItemPoint)

toClusterSpatialItemPointCollection

public final void toClusterSpatialItemPointCollection(java.util.Collection entities)
Description copied from interface: SpatialItemPointDao
Converts this DAO's entity to a Collection of instances of type ClusterSpatialItemPoint.

Specified by:
toClusterSpatialItemPointCollection in interface SpatialItemPointDao
See Also:
SpatialItemPointDao.toClusterSpatialItemPointCollection(java.util.Collection)

toClusterSpatialItemPointArray

public final ClusterSpatialItemPoint[] toClusterSpatialItemPointArray(java.util.Collection entities)
Description copied from interface: SpatialItemPointDao
Converts this DAO's entity to an array of instances of type ClusterSpatialItemPoint.

Specified by:
toClusterSpatialItemPointArray in interface SpatialItemPointDao
See Also:
SpatialItemPointDao.toClusterSpatialItemPointArray(java.util.Collection)

toClusterSpatialItemPoint

protected ClusterSpatialItemPoint toClusterSpatialItemPoint(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. This implementation exists for convenience reasons only. It needs only be overridden in the SpatialItemPointDaoImpl class if you intend to use reporting queries.

See Also:
SpatialItemPointDao.toClusterSpatialItemPoint(fr.ifremer.allegro.referential.spatial.SpatialItemPoint)

clusterSpatialItemPointToEntityCollection

public final void clusterSpatialItemPointToEntityCollection(java.util.Collection instances)
Description copied from interface: SpatialItemPointDao
Converts a Collection of instances of type ClusterSpatialItemPoint to this DAO's entity.

Specified by:
clusterSpatialItemPointToEntityCollection in interface SpatialItemPointDao
See Also:
SpatialItemPointDao.clusterSpatialItemPointToEntityCollection(java.util.Collection)

toClusterSpatialItemPoint

public void toClusterSpatialItemPoint(SpatialItemPoint source,
                                      ClusterSpatialItemPoint target)
Description copied from interface: SpatialItemPointDao
Copies the fields of the specified entity to the target value object. This method is similar to toClusterSpatialItemPoint(), but it does not handle any attributes in the target value object that are "read-only" (as those do not have setter methods exposed).

Specified by:
toClusterSpatialItemPoint in interface SpatialItemPointDao
See Also:
SpatialItemPointDao.toClusterSpatialItemPoint(fr.ifremer.allegro.referential.spatial.SpatialItemPoint, fr.ifremer.allegro.referential.spatial.generic.cluster.ClusterSpatialItemPoint)

toClusterSpatialItemPoint

public ClusterSpatialItemPoint toClusterSpatialItemPoint(SpatialItemPoint entity)
Description copied from interface: SpatialItemPointDao
Converts this DAO's entity to an object of type ClusterSpatialItemPoint.

Specified by:
toClusterSpatialItemPoint in interface SpatialItemPointDao
See Also:
SpatialItemPointDao.toClusterSpatialItemPoint(fr.ifremer.allegro.referential.spatial.SpatialItemPoint)

clusterSpatialItemPointToEntity

public void clusterSpatialItemPointToEntity(ClusterSpatialItemPoint source,
                                            SpatialItemPoint target,
                                            boolean copyIfNull)
Description copied from interface: SpatialItemPointDao
Copies the fields of ClusterSpatialItemPoint to the specified entity.

Specified by:
clusterSpatialItemPointToEntity in interface SpatialItemPointDao
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.
See Also:
fr.ifremer.allegro.referential.spatial.SpatialItemPointDao#clusterSpatialItemPointToEntity(fr.ifremer.allegro.referential.spatial.generic.cluster.ClusterSpatialItemPoint, fr.ifremer.allegro.referential.spatial.SpatialItemPoint)

getPrincipal

protected java.security.Principal getPrincipal()
Gets the current principal if one has been set, otherwise returns null.

Returns:
the current principal

search

public PaginationResult search(int transform,
                               int pageNumber,
                               int pageSize,
                               Search search)
Description copied from interface: SpatialItemPointDao
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.

Specified by:
search in interface SpatialItemPointDao
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.
See Also:
SpatialItemPointDao.search(int, int, int, fr.ifremer.allegro.Search)

search

public PaginationResult search(int pageNumber,
                               int pageSize,
                               Search search)
Description copied from interface: SpatialItemPointDao
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.

Specified by:
search in interface SpatialItemPointDao
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.
See Also:
SpatialItemPointDao.search(int, int, fr.ifremer.allegro.Search)

search

public java.util.Set search(int transform,
                            Search search)
Description copied from interface: SpatialItemPointDao
Does the same thing as SpatialItemPointDao.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.

Specified by:
search in interface SpatialItemPointDao
Parameters:
transform - the transformation flag.
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search.
See Also:
SpatialItemPointDao.search(int, fr.ifremer.allegro.Search)

search

public java.util.Set search(Search search)
Description copied from interface: SpatialItemPointDao
Performs a search using the parameters specified in the given search object.

Specified by:
search in interface SpatialItemPointDao
Parameters:
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search.
See Also:
SpatialItemPointDao.search(fr.ifremer.allegro.Search)


Copyright © 2008-2010 IFREMER. All Rights Reserved.