|
||||||||||
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.data.measure.photo.PhotoDaoBase
fr.ifremer.allegro.data.measure.photo.PhotoDaoImpl
public class PhotoDaoImpl
Photo
Field Summary |
---|
Fields inherited from interface fr.ifremer.allegro.data.measure.photo.PhotoDao |
---|
TRANSFORM_CLUSTERPHOTO, TRANSFORM_NONE, TRANSFORM_REMOTEPHOTOFULLVO, TRANSFORM_REMOTEPHOTONATURALID |
Constructor Summary | |
---|---|
PhotoDaoImpl()
|
Method Summary | |
---|---|
Photo |
clusterPhotoToEntity(ClusterPhoto clusterPhoto)
Converts an instance of type ClusterPhoto to this DAO's entity. |
void |
clusterPhotoToEntity(ClusterPhoto source,
Photo target,
boolean copyIfNull)
Copies the fields of ClusterPhoto to the specified entity. |
protected Photo |
handleCreateFromClusterPhoto(ClusterPhoto clusterPhoto)
Performs the core logic for PhotoDaoBase.createFromClusterPhoto(fr.ifremer.allegro.data.measure.photo.generic.cluster.ClusterPhoto) |
protected ClusterPhoto[] |
handleGetAllClusterPhotoSinceDateSynchro(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 PhotoDaoBase.getAllClusterPhotoSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer) |
Photo |
remotePhotoFullVOToEntity(RemotePhotoFullVO remotePhotoFullVO)
Converts an instance of type RemotePhotoFullVO to this DAO's entity. |
void |
remotePhotoFullVOToEntity(RemotePhotoFullVO source,
Photo target,
boolean copyIfNull)
Copies the fields of RemotePhotoFullVO to the specified entity. |
Photo |
remotePhotoNaturalIdToEntity(RemotePhotoNaturalId remotePhotoNaturalId)
Converts an instance of type RemotePhotoNaturalId to this DAO's entity. |
void |
remotePhotoNaturalIdToEntity(RemotePhotoNaturalId source,
Photo target,
boolean copyIfNull)
Copies the fields of RemotePhotoNaturalId to the specified entity. |
ClusterPhoto |
toClusterPhoto(Photo entity)
Converts this DAO's entity to an object of type ClusterPhoto . |
void |
toClusterPhoto(Photo source,
ClusterPhoto target)
Copies the fields of the specified entity to the target value object. |
RemotePhotoFullVO |
toRemotePhotoFullVO(Photo entity)
Converts this DAO's entity to an object of type RemotePhotoFullVO . |
void |
toRemotePhotoFullVO(Photo source,
RemotePhotoFullVO target)
Copies the fields of the specified entity to the target value object. |
RemotePhotoNaturalId |
toRemotePhotoNaturalId(Photo entity)
Converts this DAO's entity to an object of type RemotePhotoNaturalId . |
void |
toRemotePhotoNaturalId(Photo source,
RemotePhotoNaturalId 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 PhotoDaoImpl()
Method Detail |
---|
protected Photo handleCreateFromClusterPhoto(ClusterPhoto clusterPhoto)
PhotoDaoBase
PhotoDaoBase.createFromClusterPhoto(fr.ifremer.allegro.data.measure.photo.generic.cluster.ClusterPhoto)
handleCreateFromClusterPhoto
in class PhotoDaoBase
PhotoDao.createFromClusterPhoto(fr.ifremer.allegro.data.measure.photo.generic.cluster.ClusterPhoto)
protected ClusterPhoto[] handleGetAllClusterPhotoSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
PhotoDaoBase
PhotoDaoBase.getAllClusterPhotoSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
handleGetAllClusterPhotoSinceDateSynchro
in class PhotoDaoBase
PhotoDao.getAllClusterPhotoSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
public void toRemotePhotoFullVO(Photo source, RemotePhotoFullVO target)
PhotoDao
toRemotePhotoFullVO
in interface PhotoDao
toRemotePhotoFullVO
in class PhotoDaoBase
PhotoDao.toRemotePhotoFullVO(fr.ifremer.allegro.data.measure.photo.Photo, fr.ifremer.allegro.data.measure.photo.generic.vo.RemotePhotoFullVO)
public RemotePhotoFullVO toRemotePhotoFullVO(Photo entity)
PhotoDao
RemotePhotoFullVO
.
toRemotePhotoFullVO
in interface PhotoDao
toRemotePhotoFullVO
in class PhotoDaoBase
PhotoDao.toRemotePhotoFullVO(fr.ifremer.allegro.data.measure.photo.Photo)
public Photo remotePhotoFullVOToEntity(RemotePhotoFullVO remotePhotoFullVO)
PhotoDao
RemotePhotoFullVO
to this DAO's entity.
PhotoDao.remotePhotoFullVOToEntity(fr.ifremer.allegro.data.measure.photo.generic.vo.RemotePhotoFullVO)
public void remotePhotoFullVOToEntity(RemotePhotoFullVO source, Photo target, boolean copyIfNull)
PhotoDao
RemotePhotoFullVO
to the specified entity.
remotePhotoFullVOToEntity
in interface PhotoDao
remotePhotoFullVOToEntity
in class PhotoDaoBase
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.data.measure.photo.PhotoDao#remotePhotoFullVOToEntity(fr.ifremer.allegro.data.measure.photo.generic.vo.RemotePhotoFullVO, fr.ifremer.allegro.data.measure.photo.Photo)
public void toRemotePhotoNaturalId(Photo source, RemotePhotoNaturalId target)
PhotoDao
toRemotePhotoNaturalId
in interface PhotoDao
toRemotePhotoNaturalId
in class PhotoDaoBase
PhotoDao.toRemotePhotoNaturalId(fr.ifremer.allegro.data.measure.photo.Photo, fr.ifremer.allegro.data.measure.photo.generic.vo.RemotePhotoNaturalId)
public RemotePhotoNaturalId toRemotePhotoNaturalId(Photo entity)
PhotoDao
RemotePhotoNaturalId
.
toRemotePhotoNaturalId
in interface PhotoDao
toRemotePhotoNaturalId
in class PhotoDaoBase
PhotoDao.toRemotePhotoNaturalId(fr.ifremer.allegro.data.measure.photo.Photo)
public Photo remotePhotoNaturalIdToEntity(RemotePhotoNaturalId remotePhotoNaturalId)
PhotoDao
RemotePhotoNaturalId
to this DAO's entity.
PhotoDao.remotePhotoNaturalIdToEntity(fr.ifremer.allegro.data.measure.photo.generic.vo.RemotePhotoNaturalId)
public void remotePhotoNaturalIdToEntity(RemotePhotoNaturalId source, Photo target, boolean copyIfNull)
PhotoDao
RemotePhotoNaturalId
to the specified entity.
remotePhotoNaturalIdToEntity
in interface PhotoDao
remotePhotoNaturalIdToEntity
in class PhotoDaoBase
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.data.measure.photo.PhotoDao#remotePhotoNaturalIdToEntity(fr.ifremer.allegro.data.measure.photo.generic.vo.RemotePhotoNaturalId, fr.ifremer.allegro.data.measure.photo.Photo)
public void toClusterPhoto(Photo source, ClusterPhoto target)
PhotoDao
toClusterPhoto
in interface PhotoDao
toClusterPhoto
in class PhotoDaoBase
PhotoDao.toClusterPhoto(fr.ifremer.allegro.data.measure.photo.Photo, fr.ifremer.allegro.data.measure.photo.generic.cluster.ClusterPhoto)
public ClusterPhoto toClusterPhoto(Photo entity)
PhotoDao
ClusterPhoto
.
toClusterPhoto
in interface PhotoDao
toClusterPhoto
in class PhotoDaoBase
PhotoDao.toClusterPhoto(fr.ifremer.allegro.data.measure.photo.Photo)
public Photo clusterPhotoToEntity(ClusterPhoto clusterPhoto)
PhotoDao
ClusterPhoto
to this DAO's entity.
PhotoDao.clusterPhotoToEntity(fr.ifremer.allegro.data.measure.photo.generic.cluster.ClusterPhoto)
public void clusterPhotoToEntity(ClusterPhoto source, Photo target, boolean copyIfNull)
PhotoDao
ClusterPhoto
to the specified entity.
clusterPhotoToEntity
in interface PhotoDao
clusterPhotoToEntity
in class PhotoDaoBase
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.data.measure.photo.PhotoDao#clusterPhotoToEntity(fr.ifremer.allegro.data.measure.photo.generic.cluster.ClusterPhoto, fr.ifremer.allegro.data.measure.photo.Photo)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |