fr.ifremer.allegro.referential.spatial
Class SpatialItemDaoImpl

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.referential.spatial.SpatialItemDaoBase
          extended by fr.ifremer.allegro.referential.spatial.SpatialItemDaoImpl
All Implemented Interfaces:
SpatialItemDao

public class SpatialItemDaoImpl
extends SpatialItemDaoBase

See Also:
SpatialItem

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.spatial.SpatialItemDao
TRANSFORM_CLUSTERSPATIALITEM, TRANSFORM_NONE, TRANSFORM_REMOTESPATIALITEMFULLVO, TRANSFORM_REMOTESPATIALITEMNATURALID
 
Constructor Summary
SpatialItemDaoImpl()
           
 
Method Summary
 SpatialItem clusterSpatialItemToEntity(ClusterSpatialItem clusterSpatialItem)
          Converts an instance of type ClusterSpatialItem to this DAO's entity.
 void clusterSpatialItemToEntity(ClusterSpatialItem source, SpatialItem target, boolean copyIfNull)
          Copies the fields of ClusterSpatialItem to the specified entity.
protected  SpatialItem handleCreateFromClusterSpatialItem(ClusterSpatialItem clusterSpatialItem)
          Performs the core logic for SpatialItemDaoBase.createFromClusterSpatialItem(fr.ifremer.allegro.referential.spatial.generic.cluster.ClusterSpatialItem)
protected  ClusterSpatialItem[] handleGetAllClusterSpatialItemSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
          Performs the core logic for SpatialItemDaoBase.getAllClusterSpatialItemSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 SpatialItem remoteSpatialItemFullVOToEntity(RemoteSpatialItemFullVO remoteSpatialItemFullVO)
          Converts an instance of type RemoteSpatialItemFullVO to this DAO's entity.
 void remoteSpatialItemFullVOToEntity(RemoteSpatialItemFullVO source, SpatialItem target, boolean copyIfNull)
          Copies the fields of RemoteSpatialItemFullVO to the specified entity.
 SpatialItem remoteSpatialItemNaturalIdToEntity(RemoteSpatialItemNaturalId remoteSpatialItemNaturalId)
          Converts an instance of type RemoteSpatialItemNaturalId to this DAO's entity.
 void remoteSpatialItemNaturalIdToEntity(RemoteSpatialItemNaturalId source, SpatialItem target, boolean copyIfNull)
          Copies the fields of RemoteSpatialItemNaturalId to the specified entity.
 ClusterSpatialItem toClusterSpatialItem(SpatialItem entity)
          Converts this DAO's entity to an object of type ClusterSpatialItem.
 void toClusterSpatialItem(SpatialItem source, ClusterSpatialItem target)
          Copies the fields of the specified entity to the target value object.
 RemoteSpatialItemFullVO toRemoteSpatialItemFullVO(SpatialItem entity)
          Converts this DAO's entity to an object of type RemoteSpatialItemFullVO.
 void toRemoteSpatialItemFullVO(SpatialItem source, RemoteSpatialItemFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteSpatialItemNaturalId toRemoteSpatialItemNaturalId(SpatialItem entity)
          Converts this DAO's entity to an object of type RemoteSpatialItemNaturalId.
 void toRemoteSpatialItemNaturalId(SpatialItem source, RemoteSpatialItemNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.referential.spatial.SpatialItemDaoBase
clusterSpatialItemToEntityCollection, create, create, create, create, create, create, create, create, createFromClusterSpatialItem, findSpatialItemById, findSpatialItemById, findSpatialItemById, findSpatialItemById, findSpatialItemByNaturalId, findSpatialItemByNaturalId, findSpatialItemByNaturalId, findSpatialItemByNaturalId, findSpatialItemBySpatialItemType, findSpatialItemBySpatialItemType, findSpatialItemBySpatialItemType, findSpatialItemBySpatialItemType, findSpatialItemBySpatialItemType, findSpatialItemBySpatialItemType, findSpatialItemBySpatialItemType, findSpatialItemBySpatialItemType, getAllClusterSpatialItemSinceDateSynchro, getAllSpatialItem, getAllSpatialItem, getAllSpatialItem, getAllSpatialItem, getAllSpatialItem, getAllSpatialItem, getAllSpatialItem, getAllSpatialItem, getAllSpatialItemSinceDateSynchro, getAllSpatialItemSinceDateSynchro, getAllSpatialItemSinceDateSynchro, getAllSpatialItemSinceDateSynchro, getAllSpatialItemSinceDateSynchro, getAllSpatialItemSinceDateSynchro, getAllSpatialItemSinceDateSynchro, getAllSpatialItemSinceDateSynchro, getPrincipal, getSpatialItem2LocationDao, getSpatialItemAreaDao, getSpatialItemLineDao, getSpatialItemPointDao, getSpatialItemTypeDao, load, load, loadAll, loadAll, loadAll, loadAll, remoteSpatialItemFullVOToEntityCollection, remoteSpatialItemNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, setSpatialItem2LocationDao, setSpatialItemAreaDao, setSpatialItemLineDao, setSpatialItemPointDao, setSpatialItemTypeDao, toClusterSpatialItem, toClusterSpatialItemArray, toClusterSpatialItemCollection, toEntity, toRemoteSpatialItemFullVO, toRemoteSpatialItemFullVOArray, toRemoteSpatialItemFullVOCollection, toRemoteSpatialItemNaturalId, toRemoteSpatialItemNaturalIdArray, toRemoteSpatialItemNaturalIdCollection, transformEntities, transformEntity, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpatialItemDaoImpl

public SpatialItemDaoImpl()
Method Detail

handleCreateFromClusterSpatialItem

protected SpatialItem handleCreateFromClusterSpatialItem(ClusterSpatialItem clusterSpatialItem)
Description copied from class: SpatialItemDaoBase
Performs the core logic for SpatialItemDaoBase.createFromClusterSpatialItem(fr.ifremer.allegro.referential.spatial.generic.cluster.ClusterSpatialItem)

Specified by:
handleCreateFromClusterSpatialItem in class SpatialItemDaoBase
See Also:
SpatialItemDao.createFromClusterSpatialItem(fr.ifremer.allegro.referential.spatial.generic.cluster.ClusterSpatialItem)

handleGetAllClusterSpatialItemSinceDateSynchro

protected ClusterSpatialItem[] handleGetAllClusterSpatialItemSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
                                                                              java.lang.Integer userId,
                                                                              java.lang.Integer[] registrationLocationIds,
                                                                              java.lang.Integer pageNumber,
                                                                              java.lang.Integer pageSize)
Description copied from class: SpatialItemDaoBase
Performs the core logic for SpatialItemDaoBase.getAllClusterSpatialItemSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Specified by:
handleGetAllClusterSpatialItemSinceDateSynchro in class SpatialItemDaoBase
See Also:
SpatialItemDao.getAllClusterSpatialItemSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

toRemoteSpatialItemFullVO

public void toRemoteSpatialItemFullVO(SpatialItem source,
                                      RemoteSpatialItemFullVO target)
Description copied from interface: SpatialItemDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteSpatialItemFullVO(), 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:
toRemoteSpatialItemFullVO in interface SpatialItemDao
Overrides:
toRemoteSpatialItemFullVO in class SpatialItemDaoBase
See Also:
SpatialItemDao.toRemoteSpatialItemFullVO(fr.ifremer.allegro.referential.spatial.SpatialItem, fr.ifremer.allegro.referential.spatial.generic.vo.RemoteSpatialItemFullVO)

toRemoteSpatialItemFullVO

public RemoteSpatialItemFullVO toRemoteSpatialItemFullVO(SpatialItem entity)
Description copied from interface: SpatialItemDao
Converts this DAO's entity to an object of type RemoteSpatialItemFullVO.

Specified by:
toRemoteSpatialItemFullVO in interface SpatialItemDao
Overrides:
toRemoteSpatialItemFullVO in class SpatialItemDaoBase
See Also:
SpatialItemDao.toRemoteSpatialItemFullVO(fr.ifremer.allegro.referential.spatial.SpatialItem)

remoteSpatialItemFullVOToEntity

public SpatialItem remoteSpatialItemFullVOToEntity(RemoteSpatialItemFullVO remoteSpatialItemFullVO)
Description copied from interface: SpatialItemDao
Converts an instance of type RemoteSpatialItemFullVO to this DAO's entity.

See Also:
SpatialItemDao.remoteSpatialItemFullVOToEntity(fr.ifremer.allegro.referential.spatial.generic.vo.RemoteSpatialItemFullVO)

remoteSpatialItemFullVOToEntity

public void remoteSpatialItemFullVOToEntity(RemoteSpatialItemFullVO source,
                                            SpatialItem target,
                                            boolean copyIfNull)
Description copied from interface: SpatialItemDao
Copies the fields of RemoteSpatialItemFullVO to the specified entity.

Specified by:
remoteSpatialItemFullVOToEntity in interface SpatialItemDao
Overrides:
remoteSpatialItemFullVOToEntity in class SpatialItemDaoBase
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.SpatialItemDao#remoteSpatialItemFullVOToEntity(fr.ifremer.allegro.referential.spatial.generic.vo.RemoteSpatialItemFullVO, fr.ifremer.allegro.referential.spatial.SpatialItem)

toRemoteSpatialItemNaturalId

public void toRemoteSpatialItemNaturalId(SpatialItem source,
                                         RemoteSpatialItemNaturalId target)
Description copied from interface: SpatialItemDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteSpatialItemNaturalId(), 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:
toRemoteSpatialItemNaturalId in interface SpatialItemDao
Overrides:
toRemoteSpatialItemNaturalId in class SpatialItemDaoBase
See Also:
SpatialItemDao.toRemoteSpatialItemNaturalId(fr.ifremer.allegro.referential.spatial.SpatialItem, fr.ifremer.allegro.referential.spatial.generic.vo.RemoteSpatialItemNaturalId)

toRemoteSpatialItemNaturalId

public RemoteSpatialItemNaturalId toRemoteSpatialItemNaturalId(SpatialItem entity)
Description copied from interface: SpatialItemDao
Converts this DAO's entity to an object of type RemoteSpatialItemNaturalId.

Specified by:
toRemoteSpatialItemNaturalId in interface SpatialItemDao
Overrides:
toRemoteSpatialItemNaturalId in class SpatialItemDaoBase
See Also:
SpatialItemDao.toRemoteSpatialItemNaturalId(fr.ifremer.allegro.referential.spatial.SpatialItem)

remoteSpatialItemNaturalIdToEntity

public SpatialItem remoteSpatialItemNaturalIdToEntity(RemoteSpatialItemNaturalId remoteSpatialItemNaturalId)
Description copied from interface: SpatialItemDao
Converts an instance of type RemoteSpatialItemNaturalId to this DAO's entity.

See Also:
SpatialItemDao.remoteSpatialItemNaturalIdToEntity(fr.ifremer.allegro.referential.spatial.generic.vo.RemoteSpatialItemNaturalId)

remoteSpatialItemNaturalIdToEntity

public void remoteSpatialItemNaturalIdToEntity(RemoteSpatialItemNaturalId source,
                                               SpatialItem target,
                                               boolean copyIfNull)
Description copied from interface: SpatialItemDao
Copies the fields of RemoteSpatialItemNaturalId to the specified entity.

Specified by:
remoteSpatialItemNaturalIdToEntity in interface SpatialItemDao
Overrides:
remoteSpatialItemNaturalIdToEntity in class SpatialItemDaoBase
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.SpatialItemDao#remoteSpatialItemNaturalIdToEntity(fr.ifremer.allegro.referential.spatial.generic.vo.RemoteSpatialItemNaturalId, fr.ifremer.allegro.referential.spatial.SpatialItem)

toClusterSpatialItem

public void toClusterSpatialItem(SpatialItem source,
                                 ClusterSpatialItem target)
Description copied from interface: SpatialItemDao
Copies the fields of the specified entity to the target value object. This method is similar to toClusterSpatialItem(), 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:
toClusterSpatialItem in interface SpatialItemDao
Overrides:
toClusterSpatialItem in class SpatialItemDaoBase
See Also:
SpatialItemDao.toClusterSpatialItem(fr.ifremer.allegro.referential.spatial.SpatialItem, fr.ifremer.allegro.referential.spatial.generic.cluster.ClusterSpatialItem)

toClusterSpatialItem

public ClusterSpatialItem toClusterSpatialItem(SpatialItem entity)
Description copied from interface: SpatialItemDao
Converts this DAO's entity to an object of type ClusterSpatialItem.

Specified by:
toClusterSpatialItem in interface SpatialItemDao
Overrides:
toClusterSpatialItem in class SpatialItemDaoBase
See Also:
SpatialItemDao.toClusterSpatialItem(fr.ifremer.allegro.referential.spatial.SpatialItem)

clusterSpatialItemToEntity

public SpatialItem clusterSpatialItemToEntity(ClusterSpatialItem clusterSpatialItem)
Description copied from interface: SpatialItemDao
Converts an instance of type ClusterSpatialItem to this DAO's entity.

See Also:
SpatialItemDao.clusterSpatialItemToEntity(fr.ifremer.allegro.referential.spatial.generic.cluster.ClusterSpatialItem)

clusterSpatialItemToEntity

public void clusterSpatialItemToEntity(ClusterSpatialItem source,
                                       SpatialItem target,
                                       boolean copyIfNull)
Description copied from interface: SpatialItemDao
Copies the fields of ClusterSpatialItem to the specified entity.

Specified by:
clusterSpatialItemToEntity in interface SpatialItemDao
Overrides:
clusterSpatialItemToEntity in class SpatialItemDaoBase
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.SpatialItemDao#clusterSpatialItemToEntity(fr.ifremer.allegro.referential.spatial.generic.cluster.ClusterSpatialItem, fr.ifremer.allegro.referential.spatial.SpatialItem)


Copyright © 2008-2010 IFREMER. All Rights Reserved.