fr.ifremer.allegro.referential
Class ObjectTypeDaoImpl

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.referential.ObjectTypeDaoBase
          extended by fr.ifremer.allegro.referential.ObjectTypeDaoImpl
All Implemented Interfaces:
ObjectTypeDao

public class ObjectTypeDaoImpl
extends ObjectTypeDaoBase

See Also:
ObjectType

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.ObjectTypeDao
TRANSFORM_CLUSTEROBJECTTYPE, TRANSFORM_NONE, TRANSFORM_REMOTEOBJECTTYPEFULLVO, TRANSFORM_REMOTEOBJECTTYPENATURALID
 
Constructor Summary
ObjectTypeDaoImpl()
           
 
Method Summary
 ObjectType clusterObjectTypeToEntity(ClusterObjectType clusterObjectType)
          Converts an instance of type ClusterObjectType to this DAO's entity.
 void clusterObjectTypeToEntity(ClusterObjectType source, ObjectType target, boolean copyIfNull)
          Copies the fields of ClusterObjectType to the specified entity.
protected  ObjectType handleCreateFromClusterObjectType(ClusterObjectType clusterObjectType)
          Performs the core logic for ObjectTypeDaoBase.createFromClusterObjectType(fr.ifremer.allegro.referential.generic.cluster.ClusterObjectType)
protected  ClusterObjectType[] handleGetAllClusterObjectTypeSinceDateSynchro(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 ObjectTypeDaoBase.getAllClusterObjectTypeSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 ObjectType remoteObjectTypeFullVOToEntity(RemoteObjectTypeFullVO remoteObjectTypeFullVO)
          Converts an instance of type RemoteObjectTypeFullVO to this DAO's entity.
 void remoteObjectTypeFullVOToEntity(RemoteObjectTypeFullVO source, ObjectType target, boolean copyIfNull)
          Copies the fields of RemoteObjectTypeFullVO to the specified entity.
 ObjectType remoteObjectTypeNaturalIdToEntity(RemoteObjectTypeNaturalId remoteObjectTypeNaturalId)
          Converts an instance of type RemoteObjectTypeNaturalId to this DAO's entity.
 void remoteObjectTypeNaturalIdToEntity(RemoteObjectTypeNaturalId source, ObjectType target, boolean copyIfNull)
          Copies the fields of RemoteObjectTypeNaturalId to the specified entity.
 ClusterObjectType toClusterObjectType(ObjectType entity)
          Converts this DAO's entity to an object of type ClusterObjectType.
 void toClusterObjectType(ObjectType source, ClusterObjectType target)
          Copies the fields of the specified entity to the target value object.
 RemoteObjectTypeFullVO toRemoteObjectTypeFullVO(ObjectType entity)
          Converts this DAO's entity to an object of type RemoteObjectTypeFullVO.
 void toRemoteObjectTypeFullVO(ObjectType source, RemoteObjectTypeFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteObjectTypeNaturalId toRemoteObjectTypeNaturalId(ObjectType entity)
          Converts this DAO's entity to an object of type RemoteObjectTypeNaturalId.
 void toRemoteObjectTypeNaturalId(ObjectType source, RemoteObjectTypeNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.referential.ObjectTypeDaoBase
clusterObjectTypeToEntityCollection, create, create, create, create, create, create, create, create, createFromClusterObjectType, findObjectTypeByCode, findObjectTypeByCode, findObjectTypeByCode, findObjectTypeByCode, findObjectTypeByNaturalId, findObjectTypeByNaturalId, findObjectTypeByNaturalId, findObjectTypeByNaturalId, getAllClusterObjectTypeSinceDateSynchro, getAllObjectType, getAllObjectType, getAllObjectType, getAllObjectType, getAllObjectType, getAllObjectType, getAllObjectType, getAllObjectType, getAllObjectTypeSinceDateSynchro, getAllObjectTypeSinceDateSynchro, getAllObjectTypeSinceDateSynchro, getAllObjectTypeSinceDateSynchro, getAllObjectTypeSinceDateSynchro, getAllObjectTypeSinceDateSynchro, getAllObjectTypeSinceDateSynchro, getAllObjectTypeSinceDateSynchro, getPrincipal, load, load, loadAll, loadAll, loadAll, loadAll, remoteObjectTypeFullVOToEntityCollection, remoteObjectTypeNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, toClusterObjectType, toClusterObjectTypeArray, toClusterObjectTypeCollection, toEntity, toRemoteObjectTypeFullVO, toRemoteObjectTypeFullVOArray, toRemoteObjectTypeFullVOCollection, toRemoteObjectTypeNaturalId, toRemoteObjectTypeNaturalIdArray, toRemoteObjectTypeNaturalIdCollection, transformEntities, transformEntity, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectTypeDaoImpl

public ObjectTypeDaoImpl()
Method Detail

handleCreateFromClusterObjectType

protected ObjectType handleCreateFromClusterObjectType(ClusterObjectType clusterObjectType)
Description copied from class: ObjectTypeDaoBase
Performs the core logic for ObjectTypeDaoBase.createFromClusterObjectType(fr.ifremer.allegro.referential.generic.cluster.ClusterObjectType)

Specified by:
handleCreateFromClusterObjectType in class ObjectTypeDaoBase
See Also:
ObjectTypeDao.createFromClusterObjectType(fr.ifremer.allegro.referential.generic.cluster.ClusterObjectType)

handleGetAllClusterObjectTypeSinceDateSynchro

protected ClusterObjectType[] handleGetAllClusterObjectTypeSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
                                                                            java.lang.Integer userId,
                                                                            java.lang.Integer[] registrationLocationIds,
                                                                            java.lang.Integer pageNumber,
                                                                            java.lang.Integer pageSize)
Description copied from class: ObjectTypeDaoBase
Performs the core logic for ObjectTypeDaoBase.getAllClusterObjectTypeSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Specified by:
handleGetAllClusterObjectTypeSinceDateSynchro in class ObjectTypeDaoBase
See Also:
ObjectTypeDao.getAllClusterObjectTypeSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

toRemoteObjectTypeFullVO

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

toRemoteObjectTypeFullVO

public RemoteObjectTypeFullVO toRemoteObjectTypeFullVO(ObjectType entity)
Description copied from interface: ObjectTypeDao
Converts this DAO's entity to an object of type RemoteObjectTypeFullVO.

Specified by:
toRemoteObjectTypeFullVO in interface ObjectTypeDao
Overrides:
toRemoteObjectTypeFullVO in class ObjectTypeDaoBase
See Also:
ObjectTypeDao.toRemoteObjectTypeFullVO(fr.ifremer.allegro.referential.ObjectType)

remoteObjectTypeFullVOToEntity

public ObjectType remoteObjectTypeFullVOToEntity(RemoteObjectTypeFullVO remoteObjectTypeFullVO)
Description copied from interface: ObjectTypeDao
Converts an instance of type RemoteObjectTypeFullVO to this DAO's entity.

See Also:
ObjectTypeDao.remoteObjectTypeFullVOToEntity(fr.ifremer.allegro.referential.generic.vo.RemoteObjectTypeFullVO)

remoteObjectTypeFullVOToEntity

public void remoteObjectTypeFullVOToEntity(RemoteObjectTypeFullVO source,
                                           ObjectType target,
                                           boolean copyIfNull)
Description copied from interface: ObjectTypeDao
Copies the fields of RemoteObjectTypeFullVO to the specified entity.

Specified by:
remoteObjectTypeFullVOToEntity in interface ObjectTypeDao
Overrides:
remoteObjectTypeFullVOToEntity in class ObjectTypeDaoBase
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.ObjectTypeDao#remoteObjectTypeFullVOToEntity(fr.ifremer.allegro.referential.generic.vo.RemoteObjectTypeFullVO, fr.ifremer.allegro.referential.ObjectType)

toRemoteObjectTypeNaturalId

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

toRemoteObjectTypeNaturalId

public RemoteObjectTypeNaturalId toRemoteObjectTypeNaturalId(ObjectType entity)
Description copied from interface: ObjectTypeDao
Converts this DAO's entity to an object of type RemoteObjectTypeNaturalId.

Specified by:
toRemoteObjectTypeNaturalId in interface ObjectTypeDao
Overrides:
toRemoteObjectTypeNaturalId in class ObjectTypeDaoBase
See Also:
ObjectTypeDao.toRemoteObjectTypeNaturalId(fr.ifremer.allegro.referential.ObjectType)

remoteObjectTypeNaturalIdToEntity

public ObjectType remoteObjectTypeNaturalIdToEntity(RemoteObjectTypeNaturalId remoteObjectTypeNaturalId)
Description copied from interface: ObjectTypeDao
Converts an instance of type RemoteObjectTypeNaturalId to this DAO's entity.

See Also:
ObjectTypeDao.remoteObjectTypeNaturalIdToEntity(fr.ifremer.allegro.referential.generic.vo.RemoteObjectTypeNaturalId)

remoteObjectTypeNaturalIdToEntity

public void remoteObjectTypeNaturalIdToEntity(RemoteObjectTypeNaturalId source,
                                              ObjectType target,
                                              boolean copyIfNull)
Description copied from interface: ObjectTypeDao
Copies the fields of RemoteObjectTypeNaturalId to the specified entity.

Specified by:
remoteObjectTypeNaturalIdToEntity in interface ObjectTypeDao
Overrides:
remoteObjectTypeNaturalIdToEntity in class ObjectTypeDaoBase
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.ObjectTypeDao#remoteObjectTypeNaturalIdToEntity(fr.ifremer.allegro.referential.generic.vo.RemoteObjectTypeNaturalId, fr.ifremer.allegro.referential.ObjectType)

toClusterObjectType

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

toClusterObjectType

public ClusterObjectType toClusterObjectType(ObjectType entity)
Description copied from interface: ObjectTypeDao
Converts this DAO's entity to an object of type ClusterObjectType.

Specified by:
toClusterObjectType in interface ObjectTypeDao
Overrides:
toClusterObjectType in class ObjectTypeDaoBase
See Also:
ObjectTypeDao.toClusterObjectType(fr.ifremer.allegro.referential.ObjectType)

clusterObjectTypeToEntity

public ObjectType clusterObjectTypeToEntity(ClusterObjectType clusterObjectType)
Description copied from interface: ObjectTypeDao
Converts an instance of type ClusterObjectType to this DAO's entity.

See Also:
ObjectTypeDao.clusterObjectTypeToEntity(fr.ifremer.allegro.referential.generic.cluster.ClusterObjectType)

clusterObjectTypeToEntity

public void clusterObjectTypeToEntity(ClusterObjectType source,
                                      ObjectType target,
                                      boolean copyIfNull)
Description copied from interface: ObjectTypeDao
Copies the fields of ClusterObjectType to the specified entity.

Specified by:
clusterObjectTypeToEntity in interface ObjectTypeDao
Overrides:
clusterObjectTypeToEntity in class ObjectTypeDaoBase
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.ObjectTypeDao#clusterObjectTypeToEntity(fr.ifremer.allegro.referential.generic.cluster.ClusterObjectType, fr.ifremer.allegro.referential.ObjectType)


Copyright © 2008-2010 IFREMER. All Rights Reserved.