|
||||||||||
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.pmfm.UnitDaoBase
fr.ifremer.allegro.referential.pmfm.UnitDaoImpl
public class UnitDaoImpl
Unit
Field Summary |
---|
Fields inherited from interface fr.ifremer.allegro.referential.pmfm.UnitDao |
---|
TRANSFORM_CLUSTERUNIT, TRANSFORM_NONE, TRANSFORM_REMOTEUNITFULLVO, TRANSFORM_REMOTEUNITNATURALID |
Constructor Summary | |
---|---|
UnitDaoImpl()
|
Method Summary | |
---|---|
Unit |
clusterUnitToEntity(ClusterUnit clusterUnit)
Converts an instance of type ClusterUnit to this DAO's entity. |
void |
clusterUnitToEntity(ClusterUnit source,
Unit target,
boolean copyIfNull)
Copies the fields of ClusterUnit to the specified entity. |
protected Unit |
handleCreateFromClusterUnit(ClusterUnit clusterUnit)
Performs the core logic for UnitDaoBase.createFromClusterUnit(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterUnit) |
protected ClusterUnit[] |
handleGetAllClusterUnitSinceDateSynchro(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 UnitDaoBase.getAllClusterUnitSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer) |
Unit |
remoteUnitFullVOToEntity(RemoteUnitFullVO remoteUnitFullVO)
Converts an instance of type RemoteUnitFullVO to this DAO's entity. |
void |
remoteUnitFullVOToEntity(RemoteUnitFullVO source,
Unit target,
boolean copyIfNull)
Copies the fields of RemoteUnitFullVO to the specified entity. |
Unit |
remoteUnitNaturalIdToEntity(RemoteUnitNaturalId remoteUnitNaturalId)
Converts an instance of type RemoteUnitNaturalId to this DAO's entity. |
void |
remoteUnitNaturalIdToEntity(RemoteUnitNaturalId source,
Unit target,
boolean copyIfNull)
Copies the fields of RemoteUnitNaturalId to the specified entity. |
ClusterUnit |
toClusterUnit(Unit entity)
Converts this DAO's entity to an object of type ClusterUnit . |
void |
toClusterUnit(Unit source,
ClusterUnit target)
Copies the fields of the specified entity to the target value object. |
RemoteUnitFullVO |
toRemoteUnitFullVO(Unit entity)
Converts this DAO's entity to an object of type RemoteUnitFullVO . |
void |
toRemoteUnitFullVO(Unit source,
RemoteUnitFullVO target)
Copies the fields of the specified entity to the target value object. |
RemoteUnitNaturalId |
toRemoteUnitNaturalId(Unit entity)
Converts this DAO's entity to an object of type RemoteUnitNaturalId . |
void |
toRemoteUnitNaturalId(Unit source,
RemoteUnitNaturalId 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 UnitDaoImpl()
Method Detail |
---|
protected Unit handleCreateFromClusterUnit(ClusterUnit clusterUnit)
UnitDaoBase
UnitDaoBase.createFromClusterUnit(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterUnit)
handleCreateFromClusterUnit
in class UnitDaoBase
UnitDao.createFromClusterUnit(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterUnit)
protected ClusterUnit[] handleGetAllClusterUnitSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
UnitDaoBase
UnitDaoBase.getAllClusterUnitSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
handleGetAllClusterUnitSinceDateSynchro
in class UnitDaoBase
UnitDao.getAllClusterUnitSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
public void toRemoteUnitFullVO(Unit source, RemoteUnitFullVO target)
UnitDao
toRemoteUnitFullVO
in interface UnitDao
toRemoteUnitFullVO
in class UnitDaoBase
UnitDao.toRemoteUnitFullVO(fr.ifremer.allegro.referential.pmfm.Unit, fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteUnitFullVO)
public RemoteUnitFullVO toRemoteUnitFullVO(Unit entity)
UnitDao
RemoteUnitFullVO
.
toRemoteUnitFullVO
in interface UnitDao
toRemoteUnitFullVO
in class UnitDaoBase
UnitDao.toRemoteUnitFullVO(fr.ifremer.allegro.referential.pmfm.Unit)
public Unit remoteUnitFullVOToEntity(RemoteUnitFullVO remoteUnitFullVO)
UnitDao
RemoteUnitFullVO
to this DAO's entity.
UnitDao.remoteUnitFullVOToEntity(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteUnitFullVO)
public void remoteUnitFullVOToEntity(RemoteUnitFullVO source, Unit target, boolean copyIfNull)
UnitDao
RemoteUnitFullVO
to the specified entity.
remoteUnitFullVOToEntity
in interface UnitDao
remoteUnitFullVOToEntity
in class UnitDaoBase
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.pmfm.UnitDao#remoteUnitFullVOToEntity(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteUnitFullVO, fr.ifremer.allegro.referential.pmfm.Unit)
public void toRemoteUnitNaturalId(Unit source, RemoteUnitNaturalId target)
UnitDao
toRemoteUnitNaturalId
in interface UnitDao
toRemoteUnitNaturalId
in class UnitDaoBase
UnitDao.toRemoteUnitNaturalId(fr.ifremer.allegro.referential.pmfm.Unit, fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteUnitNaturalId)
public RemoteUnitNaturalId toRemoteUnitNaturalId(Unit entity)
UnitDao
RemoteUnitNaturalId
.
toRemoteUnitNaturalId
in interface UnitDao
toRemoteUnitNaturalId
in class UnitDaoBase
UnitDao.toRemoteUnitNaturalId(fr.ifremer.allegro.referential.pmfm.Unit)
public Unit remoteUnitNaturalIdToEntity(RemoteUnitNaturalId remoteUnitNaturalId)
UnitDao
RemoteUnitNaturalId
to this DAO's entity.
UnitDao.remoteUnitNaturalIdToEntity(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteUnitNaturalId)
public void remoteUnitNaturalIdToEntity(RemoteUnitNaturalId source, Unit target, boolean copyIfNull)
UnitDao
RemoteUnitNaturalId
to the specified entity.
remoteUnitNaturalIdToEntity
in interface UnitDao
remoteUnitNaturalIdToEntity
in class UnitDaoBase
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.pmfm.UnitDao#remoteUnitNaturalIdToEntity(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteUnitNaturalId, fr.ifremer.allegro.referential.pmfm.Unit)
public void toClusterUnit(Unit source, ClusterUnit target)
UnitDao
toClusterUnit
in interface UnitDao
toClusterUnit
in class UnitDaoBase
UnitDao.toClusterUnit(fr.ifremer.allegro.referential.pmfm.Unit, fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterUnit)
public ClusterUnit toClusterUnit(Unit entity)
UnitDao
ClusterUnit
.
toClusterUnit
in interface UnitDao
toClusterUnit
in class UnitDaoBase
UnitDao.toClusterUnit(fr.ifremer.allegro.referential.pmfm.Unit)
public Unit clusterUnitToEntity(ClusterUnit clusterUnit)
UnitDao
ClusterUnit
to this DAO's entity.
UnitDao.clusterUnitToEntity(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterUnit)
public void clusterUnitToEntity(ClusterUnit source, Unit target, boolean copyIfNull)
UnitDao
ClusterUnit
to the specified entity.
clusterUnitToEntity
in interface UnitDao
clusterUnitToEntity
in class UnitDaoBase
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.pmfm.UnitDao#clusterUnitToEntity(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterUnit, fr.ifremer.allegro.referential.pmfm.Unit)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |