|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.orm.hibernate3.support.HibernateDaoSupport
fr.ifremer.allegro.referential.location.LocationDaoBase
fr.ifremer.allegro.referential.location.LocationDaoImpl
public class LocationDaoImpl
Location
Field Summary |
---|
Fields inherited from interface fr.ifremer.allegro.referential.location.LocationDao |
---|
TRANSFORM_CLUSTERLOCATION, TRANSFORM_NONE, TRANSFORM_REMOTELOCATIONFULLVO, TRANSFORM_REMOTELOCATIONNATURALID |
Constructor Summary | |
---|---|
LocationDaoImpl()
|
Method Summary | |
---|---|
Location |
clusterLocationToEntity(ClusterLocation clusterLocation)
Converts an instance of type ClusterLocation to this DAO's entity. |
void |
clusterLocationToEntity(ClusterLocation source,
Location target,
boolean copyIfNull)
Copies the fields of ClusterLocation to the specified entity. |
protected Location |
handleCreateFromClusterLocation(ClusterLocation clusterLocation)
Performs the core logic for LocationDaoBase.createFromClusterLocation(fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocation) |
protected ClusterLocation[] |
handleGetAllClusterLocationSinceDateSynchro(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 LocationDaoBase.getAllClusterLocationSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer) |
Location |
remoteLocationFullVOToEntity(RemoteLocationFullVO remoteLocationFullVO)
Converts an instance of type RemoteLocationFullVO to this DAO's entity. |
void |
remoteLocationFullVOToEntity(RemoteLocationFullVO source,
Location target,
boolean copyIfNull)
Copies the fields of RemoteLocationFullVO to the specified entity. |
Location |
remoteLocationNaturalIdToEntity(RemoteLocationNaturalId remoteLocationNaturalId)
Converts an instance of type RemoteLocationNaturalId to this DAO's entity. |
void |
remoteLocationNaturalIdToEntity(RemoteLocationNaturalId source,
Location target,
boolean copyIfNull)
Copies the fields of RemoteLocationNaturalId to the specified entity. |
ClusterLocation |
toClusterLocation(Location entity)
Converts this DAO's entity to an object of type ClusterLocation . |
void |
toClusterLocation(Location source,
ClusterLocation target)
Copies the fields of the specified entity to the target value object. |
RemoteLocationFullVO |
toRemoteLocationFullVO(Location entity)
Converts this DAO's entity to an object of type RemoteLocationFullVO . |
void |
toRemoteLocationFullVO(Location source,
RemoteLocationFullVO target)
Copies the fields of the specified entity to the target value object. |
RemoteLocationNaturalId |
toRemoteLocationNaturalId(Location entity)
Converts this DAO's entity to an object of type RemoteLocationNaturalId . |
void |
toRemoteLocationNaturalId(Location source,
RemoteLocationNaturalId target)
Copies the fields of the specified entity to the target value object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LocationDaoImpl()
Method Detail |
---|
protected Location handleCreateFromClusterLocation(ClusterLocation clusterLocation)
LocationDaoBase
LocationDaoBase.createFromClusterLocation(fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocation)
handleCreateFromClusterLocation
in class LocationDaoBase
LocationDao.createFromClusterLocation(fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocation)
protected ClusterLocation[] handleGetAllClusterLocationSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
LocationDaoBase
LocationDaoBase.getAllClusterLocationSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
handleGetAllClusterLocationSinceDateSynchro
in class LocationDaoBase
LocationDao.getAllClusterLocationSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
public void toRemoteLocationFullVO(Location source, RemoteLocationFullVO target)
LocationDao
toRemoteLocationFullVO
in interface LocationDao
toRemoteLocationFullVO
in class LocationDaoBase
LocationDao.toRemoteLocationFullVO(fr.ifremer.allegro.referential.location.Location, fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationFullVO)
public RemoteLocationFullVO toRemoteLocationFullVO(Location entity)
LocationDao
RemoteLocationFullVO
.
toRemoteLocationFullVO
in interface LocationDao
toRemoteLocationFullVO
in class LocationDaoBase
LocationDao.toRemoteLocationFullVO(fr.ifremer.allegro.referential.location.Location)
public Location remoteLocationFullVOToEntity(RemoteLocationFullVO remoteLocationFullVO)
LocationDao
RemoteLocationFullVO
to this DAO's entity.
LocationDao.remoteLocationFullVOToEntity(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationFullVO)
public void remoteLocationFullVOToEntity(RemoteLocationFullVO source, Location target, boolean copyIfNull)
LocationDao
RemoteLocationFullVO
to the specified entity.
remoteLocationFullVOToEntity
in interface LocationDao
remoteLocationFullVOToEntity
in class LocationDaoBase
copyIfNull
- If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE,
it will be copied regardless of its value.fr.ifremer.allegro.referential.location.LocationDao#remoteLocationFullVOToEntity(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationFullVO, fr.ifremer.allegro.referential.location.Location)
public void toRemoteLocationNaturalId(Location source, RemoteLocationNaturalId target)
LocationDao
toRemoteLocationNaturalId
in interface LocationDao
toRemoteLocationNaturalId
in class LocationDaoBase
LocationDao.toRemoteLocationNaturalId(fr.ifremer.allegro.referential.location.Location, fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationNaturalId)
public RemoteLocationNaturalId toRemoteLocationNaturalId(Location entity)
LocationDao
RemoteLocationNaturalId
.
toRemoteLocationNaturalId
in interface LocationDao
toRemoteLocationNaturalId
in class LocationDaoBase
LocationDao.toRemoteLocationNaturalId(fr.ifremer.allegro.referential.location.Location)
public Location remoteLocationNaturalIdToEntity(RemoteLocationNaturalId remoteLocationNaturalId)
LocationDao
RemoteLocationNaturalId
to this DAO's entity.
LocationDao.remoteLocationNaturalIdToEntity(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationNaturalId)
public void remoteLocationNaturalIdToEntity(RemoteLocationNaturalId source, Location target, boolean copyIfNull)
LocationDao
RemoteLocationNaturalId
to the specified entity.
remoteLocationNaturalIdToEntity
in interface LocationDao
remoteLocationNaturalIdToEntity
in class LocationDaoBase
copyIfNull
- If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE,
it will be copied regardless of its value.fr.ifremer.allegro.referential.location.LocationDao#remoteLocationNaturalIdToEntity(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationNaturalId, fr.ifremer.allegro.referential.location.Location)
public void toClusterLocation(Location source, ClusterLocation target)
LocationDao
toClusterLocation
in interface LocationDao
toClusterLocation
in class LocationDaoBase
LocationDao.toClusterLocation(fr.ifremer.allegro.referential.location.Location, fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocation)
public ClusterLocation toClusterLocation(Location entity)
LocationDao
ClusterLocation
.
toClusterLocation
in interface LocationDao
toClusterLocation
in class LocationDaoBase
LocationDao.toClusterLocation(fr.ifremer.allegro.referential.location.Location)
public Location clusterLocationToEntity(ClusterLocation clusterLocation)
LocationDao
ClusterLocation
to this DAO's entity.
LocationDao.clusterLocationToEntity(fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocation)
public void clusterLocationToEntity(ClusterLocation source, Location target, boolean copyIfNull)
LocationDao
ClusterLocation
to the specified entity.
clusterLocationToEntity
in interface LocationDao
clusterLocationToEntity
in class LocationDaoBase
copyIfNull
- If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE,
it will be copied regardless of its value.fr.ifremer.allegro.referential.location.LocationDao#clusterLocationToEntity(fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocation, fr.ifremer.allegro.referential.location.Location)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |