fr.ifremer.allegro.referential.pmfm
Class MatrixDaoImpl

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.referential.pmfm.MatrixDaoBase
          extended by fr.ifremer.allegro.referential.pmfm.MatrixDaoImpl
All Implemented Interfaces:
MatrixDao

public class MatrixDaoImpl
extends MatrixDaoBase

See Also:
Matrix

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.pmfm.MatrixDao
TRANSFORM_CLUSTERMATRIX, TRANSFORM_NONE, TRANSFORM_REMOTEMATRIXFULLVO, TRANSFORM_REMOTEMATRIXNATURALID
 
Constructor Summary
MatrixDaoImpl()
           
 
Method Summary
 Matrix clusterMatrixToEntity(ClusterMatrix clusterMatrix)
          Converts an instance of type ClusterMatrix to this DAO's entity.
 void clusterMatrixToEntity(ClusterMatrix source, Matrix target, boolean copyIfNull)
          Copies the fields of ClusterMatrix to the specified entity.
protected  Matrix handleCreateFromClusterMatrix(ClusterMatrix clusterMatrix)
          Performs the core logic for MatrixDaoBase.createFromClusterMatrix(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterMatrix)
protected  ClusterMatrix[] handleGetAllClusterMatrixSinceDateSynchro(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 MatrixDaoBase.getAllClusterMatrixSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 Matrix remoteMatrixFullVOToEntity(RemoteMatrixFullVO remoteMatrixFullVO)
          Converts an instance of type RemoteMatrixFullVO to this DAO's entity.
 void remoteMatrixFullVOToEntity(RemoteMatrixFullVO source, Matrix target, boolean copyIfNull)
          Copies the fields of RemoteMatrixFullVO to the specified entity.
 Matrix remoteMatrixNaturalIdToEntity(RemoteMatrixNaturalId remoteMatrixNaturalId)
          Converts an instance of type RemoteMatrixNaturalId to this DAO's entity.
 void remoteMatrixNaturalIdToEntity(RemoteMatrixNaturalId source, Matrix target, boolean copyIfNull)
          Copies the fields of RemoteMatrixNaturalId to the specified entity.
 ClusterMatrix toClusterMatrix(Matrix entity)
          Converts this DAO's entity to an object of type ClusterMatrix.
 void toClusterMatrix(Matrix source, ClusterMatrix target)
          Copies the fields of the specified entity to the target value object.
 RemoteMatrixFullVO toRemoteMatrixFullVO(Matrix entity)
          Converts this DAO's entity to an object of type RemoteMatrixFullVO.
 void toRemoteMatrixFullVO(Matrix source, RemoteMatrixFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteMatrixNaturalId toRemoteMatrixNaturalId(Matrix entity)
          Converts this DAO's entity to an object of type RemoteMatrixNaturalId.
 void toRemoteMatrixNaturalId(Matrix source, RemoteMatrixNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.referential.pmfm.MatrixDaoBase
clusterMatrixToEntityCollection, create, create, create, create, create, create, create, create, createFromClusterMatrix, findMatrixById, findMatrixById, findMatrixById, findMatrixById, findMatrixByNaturalId, findMatrixByNaturalId, findMatrixByNaturalId, findMatrixByNaturalId, findMatrixByStatus, findMatrixByStatus, findMatrixByStatus, findMatrixByStatus, findMatrixByStatus, findMatrixByStatus, findMatrixByStatus, findMatrixByStatus, getAllClusterMatrixSinceDateSynchro, getAllMatrix, getAllMatrix, getAllMatrix, getAllMatrix, getAllMatrix, getAllMatrix, getAllMatrix, getAllMatrix, getAllMatrixSinceDateSynchro, getAllMatrixSinceDateSynchro, getAllMatrixSinceDateSynchro, getAllMatrixSinceDateSynchro, getAllMatrixSinceDateSynchro, getAllMatrixSinceDateSynchro, getAllMatrixSinceDateSynchro, getAllMatrixSinceDateSynchro, getFractionDao, getPrincipal, getStatusDao, load, load, loadAll, loadAll, loadAll, loadAll, remoteMatrixFullVOToEntityCollection, remoteMatrixNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, setFractionDao, setStatusDao, toClusterMatrix, toClusterMatrixArray, toClusterMatrixCollection, toEntity, toRemoteMatrixFullVO, toRemoteMatrixFullVOArray, toRemoteMatrixFullVOCollection, toRemoteMatrixNaturalId, toRemoteMatrixNaturalIdArray, toRemoteMatrixNaturalIdCollection, transformEntities, transformEntity, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MatrixDaoImpl

public MatrixDaoImpl()
Method Detail

handleCreateFromClusterMatrix

protected Matrix handleCreateFromClusterMatrix(ClusterMatrix clusterMatrix)
Description copied from class: MatrixDaoBase
Performs the core logic for MatrixDaoBase.createFromClusterMatrix(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterMatrix)

Specified by:
handleCreateFromClusterMatrix in class MatrixDaoBase
See Also:
MatrixDao.createFromClusterMatrix(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterMatrix)

handleGetAllClusterMatrixSinceDateSynchro

protected ClusterMatrix[] handleGetAllClusterMatrixSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
                                                                    java.lang.Integer userId,
                                                                    java.lang.Integer[] registrationLocationIds,
                                                                    java.lang.Integer pageNumber,
                                                                    java.lang.Integer pageSize)
Description copied from class: MatrixDaoBase
Performs the core logic for MatrixDaoBase.getAllClusterMatrixSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Specified by:
handleGetAllClusterMatrixSinceDateSynchro in class MatrixDaoBase
See Also:
MatrixDao.getAllClusterMatrixSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

toRemoteMatrixFullVO

public void toRemoteMatrixFullVO(Matrix source,
                                 RemoteMatrixFullVO target)
Description copied from interface: MatrixDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteMatrixFullVO(), 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:
toRemoteMatrixFullVO in interface MatrixDao
Overrides:
toRemoteMatrixFullVO in class MatrixDaoBase
See Also:
MatrixDao.toRemoteMatrixFullVO(fr.ifremer.allegro.referential.pmfm.Matrix, fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteMatrixFullVO)

toRemoteMatrixFullVO

public RemoteMatrixFullVO toRemoteMatrixFullVO(Matrix entity)
Description copied from interface: MatrixDao
Converts this DAO's entity to an object of type RemoteMatrixFullVO.

Specified by:
toRemoteMatrixFullVO in interface MatrixDao
Overrides:
toRemoteMatrixFullVO in class MatrixDaoBase
See Also:
MatrixDao.toRemoteMatrixFullVO(fr.ifremer.allegro.referential.pmfm.Matrix)

remoteMatrixFullVOToEntity

public Matrix remoteMatrixFullVOToEntity(RemoteMatrixFullVO remoteMatrixFullVO)
Description copied from interface: MatrixDao
Converts an instance of type RemoteMatrixFullVO to this DAO's entity.

See Also:
MatrixDao.remoteMatrixFullVOToEntity(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteMatrixFullVO)

remoteMatrixFullVOToEntity

public void remoteMatrixFullVOToEntity(RemoteMatrixFullVO source,
                                       Matrix target,
                                       boolean copyIfNull)
Description copied from interface: MatrixDao
Copies the fields of RemoteMatrixFullVO to the specified entity.

Specified by:
remoteMatrixFullVOToEntity in interface MatrixDao
Overrides:
remoteMatrixFullVOToEntity in class MatrixDaoBase
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.pmfm.MatrixDao#remoteMatrixFullVOToEntity(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteMatrixFullVO, fr.ifremer.allegro.referential.pmfm.Matrix)

toRemoteMatrixNaturalId

public void toRemoteMatrixNaturalId(Matrix source,
                                    RemoteMatrixNaturalId target)
Description copied from interface: MatrixDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteMatrixNaturalId(), 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:
toRemoteMatrixNaturalId in interface MatrixDao
Overrides:
toRemoteMatrixNaturalId in class MatrixDaoBase
See Also:
MatrixDao.toRemoteMatrixNaturalId(fr.ifremer.allegro.referential.pmfm.Matrix, fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteMatrixNaturalId)

toRemoteMatrixNaturalId

public RemoteMatrixNaturalId toRemoteMatrixNaturalId(Matrix entity)
Description copied from interface: MatrixDao
Converts this DAO's entity to an object of type RemoteMatrixNaturalId.

Specified by:
toRemoteMatrixNaturalId in interface MatrixDao
Overrides:
toRemoteMatrixNaturalId in class MatrixDaoBase
See Also:
MatrixDao.toRemoteMatrixNaturalId(fr.ifremer.allegro.referential.pmfm.Matrix)

remoteMatrixNaturalIdToEntity

public Matrix remoteMatrixNaturalIdToEntity(RemoteMatrixNaturalId remoteMatrixNaturalId)
Description copied from interface: MatrixDao
Converts an instance of type RemoteMatrixNaturalId to this DAO's entity.

See Also:
MatrixDao.remoteMatrixNaturalIdToEntity(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteMatrixNaturalId)

remoteMatrixNaturalIdToEntity

public void remoteMatrixNaturalIdToEntity(RemoteMatrixNaturalId source,
                                          Matrix target,
                                          boolean copyIfNull)
Description copied from interface: MatrixDao
Copies the fields of RemoteMatrixNaturalId to the specified entity.

Specified by:
remoteMatrixNaturalIdToEntity in interface MatrixDao
Overrides:
remoteMatrixNaturalIdToEntity in class MatrixDaoBase
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.pmfm.MatrixDao#remoteMatrixNaturalIdToEntity(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteMatrixNaturalId, fr.ifremer.allegro.referential.pmfm.Matrix)

toClusterMatrix

public void toClusterMatrix(Matrix source,
                            ClusterMatrix target)
Description copied from interface: MatrixDao
Copies the fields of the specified entity to the target value object. This method is similar to toClusterMatrix(), 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:
toClusterMatrix in interface MatrixDao
Overrides:
toClusterMatrix in class MatrixDaoBase
See Also:
MatrixDao.toClusterMatrix(fr.ifremer.allegro.referential.pmfm.Matrix, fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterMatrix)

toClusterMatrix

public ClusterMatrix toClusterMatrix(Matrix entity)
Description copied from interface: MatrixDao
Converts this DAO's entity to an object of type ClusterMatrix.

Specified by:
toClusterMatrix in interface MatrixDao
Overrides:
toClusterMatrix in class MatrixDaoBase
See Also:
MatrixDao.toClusterMatrix(fr.ifremer.allegro.referential.pmfm.Matrix)

clusterMatrixToEntity

public Matrix clusterMatrixToEntity(ClusterMatrix clusterMatrix)
Description copied from interface: MatrixDao
Converts an instance of type ClusterMatrix to this DAO's entity.

See Also:
MatrixDao.clusterMatrixToEntity(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterMatrix)

clusterMatrixToEntity

public void clusterMatrixToEntity(ClusterMatrix source,
                                  Matrix target,
                                  boolean copyIfNull)
Description copied from interface: MatrixDao
Copies the fields of ClusterMatrix to the specified entity.

Specified by:
clusterMatrixToEntity in interface MatrixDao
Overrides:
clusterMatrixToEntity in class MatrixDaoBase
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.pmfm.MatrixDao#clusterMatrixToEntity(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterMatrix, fr.ifremer.allegro.referential.pmfm.Matrix)


Copyright © 2008-2010 IFREMER. All Rights Reserved.