fr.ifremer.allegro.referential.taxon
Class AuthorDaoImpl

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.referential.taxon.AuthorDaoBase
          extended by fr.ifremer.allegro.referential.taxon.AuthorDaoImpl
All Implemented Interfaces:
AuthorDao

public class AuthorDaoImpl
extends AuthorDaoBase

See Also:
Author

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.taxon.AuthorDao
TRANSFORM_CLUSTERAUTHOR, TRANSFORM_NONE, TRANSFORM_REMOTEAUTHORFULLVO, TRANSFORM_REMOTEAUTHORNATURALID
 
Constructor Summary
AuthorDaoImpl()
           
 
Method Summary
 Author clusterAuthorToEntity(ClusterAuthor clusterAuthor)
          Converts an instance of type ClusterAuthor to this DAO's entity.
 void clusterAuthorToEntity(ClusterAuthor source, Author target, boolean copyIfNull)
          Copies the fields of ClusterAuthor to the specified entity.
protected  Author handleCreateFromClusterAuthor(ClusterAuthor clusterAuthor)
          Performs the core logic for AuthorDaoBase.createFromClusterAuthor(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterAuthor)
protected  ClusterAuthor[] handleGetAllClusterAuthorSinceDateSynchro(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 AuthorDaoBase.getAllClusterAuthorSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 Author remoteAuthorFullVOToEntity(RemoteAuthorFullVO remoteAuthorFullVO)
          Converts an instance of type RemoteAuthorFullVO to this DAO's entity.
 void remoteAuthorFullVOToEntity(RemoteAuthorFullVO source, Author target, boolean copyIfNull)
          Copies the fields of RemoteAuthorFullVO to the specified entity.
 Author remoteAuthorNaturalIdToEntity(RemoteAuthorNaturalId remoteAuthorNaturalId)
          Converts an instance of type RemoteAuthorNaturalId to this DAO's entity.
 void remoteAuthorNaturalIdToEntity(RemoteAuthorNaturalId source, Author target, boolean copyIfNull)
          Copies the fields of RemoteAuthorNaturalId to the specified entity.
 ClusterAuthor toClusterAuthor(Author entity)
          Converts this DAO's entity to an object of type ClusterAuthor.
 void toClusterAuthor(Author source, ClusterAuthor target)
          Copies the fields of the specified entity to the target value object.
 RemoteAuthorFullVO toRemoteAuthorFullVO(Author entity)
          Converts this DAO's entity to an object of type RemoteAuthorFullVO.
 void toRemoteAuthorFullVO(Author source, RemoteAuthorFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteAuthorNaturalId toRemoteAuthorNaturalId(Author entity)
          Converts this DAO's entity to an object of type RemoteAuthorNaturalId.
 void toRemoteAuthorNaturalId(Author source, RemoteAuthorNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.referential.taxon.AuthorDaoBase
clusterAuthorToEntityCollection, create, create, create, create, create, create, create, create, createFromClusterAuthor, findAuthorById, findAuthorById, findAuthorById, findAuthorById, findAuthorByNaturalId, findAuthorByNaturalId, findAuthorByNaturalId, findAuthorByNaturalId, findAuthorByStatus, findAuthorByStatus, findAuthorByStatus, findAuthorByStatus, findAuthorByStatus, findAuthorByStatus, findAuthorByStatus, findAuthorByStatus, getAllAuthor, getAllAuthor, getAllAuthor, getAllAuthor, getAllAuthor, getAllAuthor, getAllAuthor, getAllAuthor, getAllAuthorSinceDateSynchro, getAllAuthorSinceDateSynchro, getAllAuthorSinceDateSynchro, getAllAuthorSinceDateSynchro, getAllAuthorSinceDateSynchro, getAllAuthorSinceDateSynchro, getAllAuthorSinceDateSynchro, getAllAuthorSinceDateSynchro, getAllClusterAuthorSinceDateSynchro, getPrincipal, getReferenceDocumentDao, getStatusDao, load, load, loadAll, loadAll, loadAll, loadAll, remoteAuthorFullVOToEntityCollection, remoteAuthorNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, setReferenceDocumentDao, setStatusDao, toClusterAuthor, toClusterAuthorArray, toClusterAuthorCollection, toEntity, toRemoteAuthorFullVO, toRemoteAuthorFullVOArray, toRemoteAuthorFullVOCollection, toRemoteAuthorNaturalId, toRemoteAuthorNaturalIdArray, toRemoteAuthorNaturalIdCollection, transformEntities, transformEntity, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthorDaoImpl

public AuthorDaoImpl()
Method Detail

handleCreateFromClusterAuthor

protected Author handleCreateFromClusterAuthor(ClusterAuthor clusterAuthor)
Description copied from class: AuthorDaoBase
Performs the core logic for AuthorDaoBase.createFromClusterAuthor(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterAuthor)

Specified by:
handleCreateFromClusterAuthor in class AuthorDaoBase
See Also:
AuthorDao.createFromClusterAuthor(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterAuthor)

handleGetAllClusterAuthorSinceDateSynchro

protected ClusterAuthor[] handleGetAllClusterAuthorSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
                                                                    java.lang.Integer userId,
                                                                    java.lang.Integer[] registrationLocationIds,
                                                                    java.lang.Integer pageNumber,
                                                                    java.lang.Integer pageSize)
Description copied from class: AuthorDaoBase
Performs the core logic for AuthorDaoBase.getAllClusterAuthorSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Specified by:
handleGetAllClusterAuthorSinceDateSynchro in class AuthorDaoBase
See Also:
AuthorDao.getAllClusterAuthorSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

toRemoteAuthorFullVO

public void toRemoteAuthorFullVO(Author source,
                                 RemoteAuthorFullVO target)
Description copied from interface: AuthorDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteAuthorFullVO(), 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:
toRemoteAuthorFullVO in interface AuthorDao
Overrides:
toRemoteAuthorFullVO in class AuthorDaoBase
See Also:
AuthorDao.toRemoteAuthorFullVO(fr.ifremer.allegro.referential.taxon.Author, fr.ifremer.allegro.referential.taxon.generic.vo.RemoteAuthorFullVO)

toRemoteAuthorFullVO

public RemoteAuthorFullVO toRemoteAuthorFullVO(Author entity)
Description copied from interface: AuthorDao
Converts this DAO's entity to an object of type RemoteAuthorFullVO.

Specified by:
toRemoteAuthorFullVO in interface AuthorDao
Overrides:
toRemoteAuthorFullVO in class AuthorDaoBase
See Also:
AuthorDao.toRemoteAuthorFullVO(fr.ifremer.allegro.referential.taxon.Author)

remoteAuthorFullVOToEntity

public Author remoteAuthorFullVOToEntity(RemoteAuthorFullVO remoteAuthorFullVO)
Description copied from interface: AuthorDao
Converts an instance of type RemoteAuthorFullVO to this DAO's entity.

See Also:
AuthorDao.remoteAuthorFullVOToEntity(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteAuthorFullVO)

remoteAuthorFullVOToEntity

public void remoteAuthorFullVOToEntity(RemoteAuthorFullVO source,
                                       Author target,
                                       boolean copyIfNull)
Description copied from interface: AuthorDao
Copies the fields of RemoteAuthorFullVO to the specified entity.

Specified by:
remoteAuthorFullVOToEntity in interface AuthorDao
Overrides:
remoteAuthorFullVOToEntity in class AuthorDaoBase
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.taxon.AuthorDao#remoteAuthorFullVOToEntity(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteAuthorFullVO, fr.ifremer.allegro.referential.taxon.Author)

toRemoteAuthorNaturalId

public void toRemoteAuthorNaturalId(Author source,
                                    RemoteAuthorNaturalId target)
Description copied from interface: AuthorDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteAuthorNaturalId(), 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:
toRemoteAuthorNaturalId in interface AuthorDao
Overrides:
toRemoteAuthorNaturalId in class AuthorDaoBase
See Also:
AuthorDao.toRemoteAuthorNaturalId(fr.ifremer.allegro.referential.taxon.Author, fr.ifremer.allegro.referential.taxon.generic.vo.RemoteAuthorNaturalId)

toRemoteAuthorNaturalId

public RemoteAuthorNaturalId toRemoteAuthorNaturalId(Author entity)
Description copied from interface: AuthorDao
Converts this DAO's entity to an object of type RemoteAuthorNaturalId.

Specified by:
toRemoteAuthorNaturalId in interface AuthorDao
Overrides:
toRemoteAuthorNaturalId in class AuthorDaoBase
See Also:
AuthorDao.toRemoteAuthorNaturalId(fr.ifremer.allegro.referential.taxon.Author)

remoteAuthorNaturalIdToEntity

public Author remoteAuthorNaturalIdToEntity(RemoteAuthorNaturalId remoteAuthorNaturalId)
Description copied from interface: AuthorDao
Converts an instance of type RemoteAuthorNaturalId to this DAO's entity.

See Also:
AuthorDao.remoteAuthorNaturalIdToEntity(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteAuthorNaturalId)

remoteAuthorNaturalIdToEntity

public void remoteAuthorNaturalIdToEntity(RemoteAuthorNaturalId source,
                                          Author target,
                                          boolean copyIfNull)
Description copied from interface: AuthorDao
Copies the fields of RemoteAuthorNaturalId to the specified entity.

Specified by:
remoteAuthorNaturalIdToEntity in interface AuthorDao
Overrides:
remoteAuthorNaturalIdToEntity in class AuthorDaoBase
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.taxon.AuthorDao#remoteAuthorNaturalIdToEntity(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteAuthorNaturalId, fr.ifremer.allegro.referential.taxon.Author)

toClusterAuthor

public void toClusterAuthor(Author source,
                            ClusterAuthor target)
Description copied from interface: AuthorDao
Copies the fields of the specified entity to the target value object. This method is similar to toClusterAuthor(), 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:
toClusterAuthor in interface AuthorDao
Overrides:
toClusterAuthor in class AuthorDaoBase
See Also:
AuthorDao.toClusterAuthor(fr.ifremer.allegro.referential.taxon.Author, fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterAuthor)

toClusterAuthor

public ClusterAuthor toClusterAuthor(Author entity)
Description copied from interface: AuthorDao
Converts this DAO's entity to an object of type ClusterAuthor.

Specified by:
toClusterAuthor in interface AuthorDao
Overrides:
toClusterAuthor in class AuthorDaoBase
See Also:
AuthorDao.toClusterAuthor(fr.ifremer.allegro.referential.taxon.Author)

clusterAuthorToEntity

public Author clusterAuthorToEntity(ClusterAuthor clusterAuthor)
Description copied from interface: AuthorDao
Converts an instance of type ClusterAuthor to this DAO's entity.

See Also:
AuthorDao.clusterAuthorToEntity(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterAuthor)

clusterAuthorToEntity

public void clusterAuthorToEntity(ClusterAuthor source,
                                  Author target,
                                  boolean copyIfNull)
Description copied from interface: AuthorDao
Copies the fields of ClusterAuthor to the specified entity.

Specified by:
clusterAuthorToEntity in interface AuthorDao
Overrides:
clusterAuthorToEntity in class AuthorDaoBase
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.taxon.AuthorDao#clusterAuthorToEntity(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterAuthor, fr.ifremer.allegro.referential.taxon.Author)


Copyright © 2008-2010 IFREMER. All Rights Reserved.