fr.ifremer.allegro.administration.programStrategy
Class Program2DepartmentDaoImpl

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.administration.programStrategy.Program2DepartmentDaoBase
          extended by fr.ifremer.allegro.administration.programStrategy.Program2DepartmentDaoImpl
All Implemented Interfaces:
Program2DepartmentDao

public class Program2DepartmentDaoImpl
extends Program2DepartmentDaoBase

See Also:
Program2Department

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.administration.programStrategy.Program2DepartmentDao
TRANSFORM_CLUSTERPROGRAM2DEPARTMENT, TRANSFORM_NONE, TRANSFORM_REMOTEPROGRAM2DEPARTMENTFULLVO, TRANSFORM_REMOTEPROGRAM2DEPARTMENTNATURALID
 
Constructor Summary
Program2DepartmentDaoImpl()
           
 
Method Summary
 Program2Department clusterProgram2DepartmentToEntity(ClusterProgram2Department clusterProgram2Department)
          Converts an instance of type ClusterProgram2Department to this DAO's entity.
 void clusterProgram2DepartmentToEntity(ClusterProgram2Department source, Program2Department target, boolean copyIfNull)
          Copies the fields of ClusterProgram2Department to the specified entity.
protected  Program2Department handleCreateFromClusterProgram2Department(ClusterProgram2Department clusterProgram2Department)
          Performs the core logic for Program2DepartmentDaoBase.createFromClusterProgram2Department(fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterProgram2Department)
 Program2Department remoteProgram2DepartmentFullVOToEntity(RemoteProgram2DepartmentFullVO remoteProgram2DepartmentFullVO)
          Converts an instance of type RemoteProgram2DepartmentFullVO to this DAO's entity.
 void remoteProgram2DepartmentFullVOToEntity(RemoteProgram2DepartmentFullVO source, Program2Department target, boolean copyIfNull)
          Copies the fields of RemoteProgram2DepartmentFullVO to the specified entity.
 Program2Department remoteProgram2DepartmentNaturalIdToEntity(RemoteProgram2DepartmentNaturalId remoteProgram2DepartmentNaturalId)
          Converts an instance of type RemoteProgram2DepartmentNaturalId to this DAO's entity.
 void remoteProgram2DepartmentNaturalIdToEntity(RemoteProgram2DepartmentNaturalId source, Program2Department target, boolean copyIfNull)
          Copies the fields of RemoteProgram2DepartmentNaturalId to the specified entity.
 ClusterProgram2Department toClusterProgram2Department(Program2Department entity)
          Converts this DAO's entity to an object of type ClusterProgram2Department.
 void toClusterProgram2Department(Program2Department source, ClusterProgram2Department target)
          Copies the fields of the specified entity to the target value object.
 RemoteProgram2DepartmentFullVO toRemoteProgram2DepartmentFullVO(Program2Department entity)
          Converts this DAO's entity to an object of type RemoteProgram2DepartmentFullVO.
 void toRemoteProgram2DepartmentFullVO(Program2Department source, RemoteProgram2DepartmentFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteProgram2DepartmentNaturalId toRemoteProgram2DepartmentNaturalId(Program2Department entity)
          Converts this DAO's entity to an object of type RemoteProgram2DepartmentNaturalId.
 void toRemoteProgram2DepartmentNaturalId(Program2Department source, RemoteProgram2DepartmentNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.administration.programStrategy.Program2DepartmentDaoBase
clusterProgram2DepartmentToEntityCollection, create, create, create, create, create, create, create, create, createFromClusterProgram2Department, findProgram2DepartmentByDepartment, findProgram2DepartmentByDepartment, findProgram2DepartmentByDepartment, findProgram2DepartmentByDepartment, findProgram2DepartmentByDepartment, findProgram2DepartmentByDepartment, findProgram2DepartmentByDepartment, findProgram2DepartmentByDepartment, findProgram2DepartmentById, findProgram2DepartmentById, findProgram2DepartmentById, findProgram2DepartmentById, findProgram2DepartmentByLocation, findProgram2DepartmentByLocation, findProgram2DepartmentByLocation, findProgram2DepartmentByLocation, findProgram2DepartmentByLocation, findProgram2DepartmentByLocation, findProgram2DepartmentByLocation, findProgram2DepartmentByLocation, findProgram2DepartmentByNaturalId, findProgram2DepartmentByNaturalId, findProgram2DepartmentByNaturalId, findProgram2DepartmentByNaturalId, findProgram2DepartmentByProgram, findProgram2DepartmentByProgram, findProgram2DepartmentByProgram, findProgram2DepartmentByProgram, findProgram2DepartmentByProgram, findProgram2DepartmentByProgram, findProgram2DepartmentByProgram, findProgram2DepartmentByProgram, findProgram2DepartmentByProgramPrivilege, findProgram2DepartmentByProgramPrivilege, findProgram2DepartmentByProgramPrivilege, findProgram2DepartmentByProgramPrivilege, findProgram2DepartmentByProgramPrivilege, findProgram2DepartmentByProgramPrivilege, findProgram2DepartmentByProgramPrivilege, findProgram2DepartmentByProgramPrivilege, getAllProgram2Department, getAllProgram2Department, getAllProgram2Department, getAllProgram2Department, getAllProgram2Department, getAllProgram2Department, getAllProgram2Department, getAllProgram2Department, getDepartmentDao, getLocationDao, getPrincipal, getProgramDao, getProgramPrivilegeDao, load, load, loadAll, loadAll, loadAll, loadAll, remoteProgram2DepartmentFullVOToEntityCollection, remoteProgram2DepartmentNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, setDepartmentDao, setLocationDao, setProgramDao, setProgramPrivilegeDao, toClusterProgram2Department, toClusterProgram2DepartmentArray, toClusterProgram2DepartmentCollection, toEntity, toRemoteProgram2DepartmentFullVO, toRemoteProgram2DepartmentFullVOArray, toRemoteProgram2DepartmentFullVOCollection, toRemoteProgram2DepartmentNaturalId, toRemoteProgram2DepartmentNaturalIdArray, toRemoteProgram2DepartmentNaturalIdCollection, transformEntities, transformEntity, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Program2DepartmentDaoImpl

public Program2DepartmentDaoImpl()
Method Detail

handleCreateFromClusterProgram2Department

protected Program2Department handleCreateFromClusterProgram2Department(ClusterProgram2Department clusterProgram2Department)
Description copied from class: Program2DepartmentDaoBase
Performs the core logic for Program2DepartmentDaoBase.createFromClusterProgram2Department(fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterProgram2Department)

Specified by:
handleCreateFromClusterProgram2Department in class Program2DepartmentDaoBase
See Also:
Program2DepartmentDao.createFromClusterProgram2Department(fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterProgram2Department)

toRemoteProgram2DepartmentFullVO

public void toRemoteProgram2DepartmentFullVO(Program2Department source,
                                             RemoteProgram2DepartmentFullVO target)
Description copied from interface: Program2DepartmentDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteProgram2DepartmentFullVO(), 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:
toRemoteProgram2DepartmentFullVO in interface Program2DepartmentDao
Overrides:
toRemoteProgram2DepartmentFullVO in class Program2DepartmentDaoBase
See Also:
Program2DepartmentDao.toRemoteProgram2DepartmentFullVO(fr.ifremer.allegro.administration.programStrategy.Program2Department, fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgram2DepartmentFullVO)

toRemoteProgram2DepartmentFullVO

public RemoteProgram2DepartmentFullVO toRemoteProgram2DepartmentFullVO(Program2Department entity)
Description copied from interface: Program2DepartmentDao
Converts this DAO's entity to an object of type RemoteProgram2DepartmentFullVO.

Specified by:
toRemoteProgram2DepartmentFullVO in interface Program2DepartmentDao
Overrides:
toRemoteProgram2DepartmentFullVO in class Program2DepartmentDaoBase
See Also:
Program2DepartmentDao.toRemoteProgram2DepartmentFullVO(fr.ifremer.allegro.administration.programStrategy.Program2Department)

remoteProgram2DepartmentFullVOToEntity

public Program2Department remoteProgram2DepartmentFullVOToEntity(RemoteProgram2DepartmentFullVO remoteProgram2DepartmentFullVO)
Description copied from interface: Program2DepartmentDao
Converts an instance of type RemoteProgram2DepartmentFullVO to this DAO's entity.

See Also:
Program2DepartmentDao.remoteProgram2DepartmentFullVOToEntity(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgram2DepartmentFullVO)

remoteProgram2DepartmentFullVOToEntity

public void remoteProgram2DepartmentFullVOToEntity(RemoteProgram2DepartmentFullVO source,
                                                   Program2Department target,
                                                   boolean copyIfNull)
Description copied from interface: Program2DepartmentDao
Copies the fields of RemoteProgram2DepartmentFullVO to the specified entity.

Specified by:
remoteProgram2DepartmentFullVOToEntity in interface Program2DepartmentDao
Overrides:
remoteProgram2DepartmentFullVOToEntity in class Program2DepartmentDaoBase
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.administration.programStrategy.Program2DepartmentDao#remoteProgram2DepartmentFullVOToEntity(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgram2DepartmentFullVO, fr.ifremer.allegro.administration.programStrategy.Program2Department)

toRemoteProgram2DepartmentNaturalId

public void toRemoteProgram2DepartmentNaturalId(Program2Department source,
                                                RemoteProgram2DepartmentNaturalId target)
Description copied from interface: Program2DepartmentDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteProgram2DepartmentNaturalId(), 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:
toRemoteProgram2DepartmentNaturalId in interface Program2DepartmentDao
Overrides:
toRemoteProgram2DepartmentNaturalId in class Program2DepartmentDaoBase
See Also:
Program2DepartmentDao.toRemoteProgram2DepartmentNaturalId(fr.ifremer.allegro.administration.programStrategy.Program2Department, fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgram2DepartmentNaturalId)

toRemoteProgram2DepartmentNaturalId

public RemoteProgram2DepartmentNaturalId toRemoteProgram2DepartmentNaturalId(Program2Department entity)
Description copied from interface: Program2DepartmentDao
Converts this DAO's entity to an object of type RemoteProgram2DepartmentNaturalId.

Specified by:
toRemoteProgram2DepartmentNaturalId in interface Program2DepartmentDao
Overrides:
toRemoteProgram2DepartmentNaturalId in class Program2DepartmentDaoBase
See Also:
Program2DepartmentDao.toRemoteProgram2DepartmentNaturalId(fr.ifremer.allegro.administration.programStrategy.Program2Department)

remoteProgram2DepartmentNaturalIdToEntity

public Program2Department remoteProgram2DepartmentNaturalIdToEntity(RemoteProgram2DepartmentNaturalId remoteProgram2DepartmentNaturalId)
Description copied from interface: Program2DepartmentDao
Converts an instance of type RemoteProgram2DepartmentNaturalId to this DAO's entity.

See Also:
Program2DepartmentDao.remoteProgram2DepartmentNaturalIdToEntity(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgram2DepartmentNaturalId)

remoteProgram2DepartmentNaturalIdToEntity

public void remoteProgram2DepartmentNaturalIdToEntity(RemoteProgram2DepartmentNaturalId source,
                                                      Program2Department target,
                                                      boolean copyIfNull)
Description copied from interface: Program2DepartmentDao
Copies the fields of RemoteProgram2DepartmentNaturalId to the specified entity.

Specified by:
remoteProgram2DepartmentNaturalIdToEntity in interface Program2DepartmentDao
Overrides:
remoteProgram2DepartmentNaturalIdToEntity in class Program2DepartmentDaoBase
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.administration.programStrategy.Program2DepartmentDao#remoteProgram2DepartmentNaturalIdToEntity(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgram2DepartmentNaturalId, fr.ifremer.allegro.administration.programStrategy.Program2Department)

toClusterProgram2Department

public void toClusterProgram2Department(Program2Department source,
                                        ClusterProgram2Department target)
Description copied from interface: Program2DepartmentDao
Copies the fields of the specified entity to the target value object. This method is similar to toClusterProgram2Department(), 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:
toClusterProgram2Department in interface Program2DepartmentDao
Overrides:
toClusterProgram2Department in class Program2DepartmentDaoBase
See Also:
Program2DepartmentDao.toClusterProgram2Department(fr.ifremer.allegro.administration.programStrategy.Program2Department, fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterProgram2Department)

toClusterProgram2Department

public ClusterProgram2Department toClusterProgram2Department(Program2Department entity)
Description copied from interface: Program2DepartmentDao
Converts this DAO's entity to an object of type ClusterProgram2Department.

Specified by:
toClusterProgram2Department in interface Program2DepartmentDao
Overrides:
toClusterProgram2Department in class Program2DepartmentDaoBase
See Also:
Program2DepartmentDao.toClusterProgram2Department(fr.ifremer.allegro.administration.programStrategy.Program2Department)

clusterProgram2DepartmentToEntity

public Program2Department clusterProgram2DepartmentToEntity(ClusterProgram2Department clusterProgram2Department)
Description copied from interface: Program2DepartmentDao
Converts an instance of type ClusterProgram2Department to this DAO's entity.

See Also:
Program2DepartmentDao.clusterProgram2DepartmentToEntity(fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterProgram2Department)

clusterProgram2DepartmentToEntity

public void clusterProgram2DepartmentToEntity(ClusterProgram2Department source,
                                              Program2Department target,
                                              boolean copyIfNull)
Description copied from interface: Program2DepartmentDao
Copies the fields of ClusterProgram2Department to the specified entity.

Specified by:
clusterProgram2DepartmentToEntity in interface Program2DepartmentDao
Overrides:
clusterProgram2DepartmentToEntity in class Program2DepartmentDaoBase
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.administration.programStrategy.Program2DepartmentDao#clusterProgram2DepartmentToEntity(fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterProgram2Department, fr.ifremer.allegro.administration.programStrategy.Program2Department)


Copyright © 2008-2010 IFREMER. All Rights Reserved.