fr.ifremer.allegro.administration.programStrategy
Class Program2PersonDaoImpl

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.administration.programStrategy.Program2PersonDaoBase
          extended by fr.ifremer.allegro.administration.programStrategy.Program2PersonDaoImpl
All Implemented Interfaces:
Program2PersonDao

public class Program2PersonDaoImpl
extends Program2PersonDaoBase

See Also:
Program2Person

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.administration.programStrategy.Program2PersonDao
TRANSFORM_CLUSTERPROGRAM2PERSON, TRANSFORM_NONE, TRANSFORM_REMOTEPROGRAM2PERSONFULLVO, TRANSFORM_REMOTEPROGRAM2PERSONNATURALID
 
Constructor Summary
Program2PersonDaoImpl()
           
 
Method Summary
 Program2Person clusterProgram2PersonToEntity(ClusterProgram2Person clusterProgram2Person)
          Converts an instance of type ClusterProgram2Person to this DAO's entity.
 void clusterProgram2PersonToEntity(ClusterProgram2Person source, Program2Person target, boolean copyIfNull)
          Copies the fields of ClusterProgram2Person to the specified entity.
protected  Program2Person handleCreateFromClusterProgram2Person(ClusterProgram2Person clusterProgram2Person)
          Performs the core logic for Program2PersonDaoBase.createFromClusterProgram2Person(fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterProgram2Person)
 Program2Person remoteProgram2PersonFullVOToEntity(RemoteProgram2PersonFullVO remoteProgram2PersonFullVO)
          Converts an instance of type RemoteProgram2PersonFullVO to this DAO's entity.
 void remoteProgram2PersonFullVOToEntity(RemoteProgram2PersonFullVO source, Program2Person target, boolean copyIfNull)
          Copies the fields of RemoteProgram2PersonFullVO to the specified entity.
 Program2Person remoteProgram2PersonNaturalIdToEntity(RemoteProgram2PersonNaturalId remoteProgram2PersonNaturalId)
          Converts an instance of type RemoteProgram2PersonNaturalId to this DAO's entity.
 void remoteProgram2PersonNaturalIdToEntity(RemoteProgram2PersonNaturalId source, Program2Person target, boolean copyIfNull)
          Copies the fields of RemoteProgram2PersonNaturalId to the specified entity.
 ClusterProgram2Person toClusterProgram2Person(Program2Person entity)
          Converts this DAO's entity to an object of type ClusterProgram2Person.
 void toClusterProgram2Person(Program2Person source, ClusterProgram2Person target)
          Copies the fields of the specified entity to the target value object.
 RemoteProgram2PersonFullVO toRemoteProgram2PersonFullVO(Program2Person entity)
          Converts this DAO's entity to an object of type RemoteProgram2PersonFullVO.
 void toRemoteProgram2PersonFullVO(Program2Person source, RemoteProgram2PersonFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteProgram2PersonNaturalId toRemoteProgram2PersonNaturalId(Program2Person entity)
          Converts this DAO's entity to an object of type RemoteProgram2PersonNaturalId.
 void toRemoteProgram2PersonNaturalId(Program2Person source, RemoteProgram2PersonNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.administration.programStrategy.Program2PersonDaoBase
clusterProgram2PersonToEntityCollection, create, create, create, create, create, create, create, create, createFromClusterProgram2Person, findProgram2PersonById, findProgram2PersonById, findProgram2PersonById, findProgram2PersonById, findProgram2PersonByLocation, findProgram2PersonByLocation, findProgram2PersonByLocation, findProgram2PersonByLocation, findProgram2PersonByLocation, findProgram2PersonByLocation, findProgram2PersonByLocation, findProgram2PersonByLocation, findProgram2PersonByNaturalId, findProgram2PersonByNaturalId, findProgram2PersonByNaturalId, findProgram2PersonByNaturalId, findProgram2PersonByPerson, findProgram2PersonByPerson, findProgram2PersonByPerson, findProgram2PersonByPerson, findProgram2PersonByPerson, findProgram2PersonByPerson, findProgram2PersonByPerson, findProgram2PersonByPerson, findProgram2PersonByProgram, findProgram2PersonByProgram, findProgram2PersonByProgram, findProgram2PersonByProgram, findProgram2PersonByProgram, findProgram2PersonByProgram, findProgram2PersonByProgram, findProgram2PersonByProgram, findProgram2PersonByProgramPrivilege, findProgram2PersonByProgramPrivilege, findProgram2PersonByProgramPrivilege, findProgram2PersonByProgramPrivilege, findProgram2PersonByProgramPrivilege, findProgram2PersonByProgramPrivilege, findProgram2PersonByProgramPrivilege, findProgram2PersonByProgramPrivilege, getAllProgram2Person, getAllProgram2Person, getAllProgram2Person, getAllProgram2Person, getAllProgram2Person, getAllProgram2Person, getAllProgram2Person, getAllProgram2Person, getLocationDao, getPersonDao, getPrincipal, getProgramDao, getProgramPrivilegeDao, load, load, loadAll, loadAll, loadAll, loadAll, remoteProgram2PersonFullVOToEntityCollection, remoteProgram2PersonNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, setLocationDao, setPersonDao, setProgramDao, setProgramPrivilegeDao, toClusterProgram2Person, toClusterProgram2PersonArray, toClusterProgram2PersonCollection, toEntity, toRemoteProgram2PersonFullVO, toRemoteProgram2PersonFullVOArray, toRemoteProgram2PersonFullVOCollection, toRemoteProgram2PersonNaturalId, toRemoteProgram2PersonNaturalIdArray, toRemoteProgram2PersonNaturalIdCollection, transformEntities, transformEntity, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Program2PersonDaoImpl

public Program2PersonDaoImpl()
Method Detail

handleCreateFromClusterProgram2Person

protected Program2Person handleCreateFromClusterProgram2Person(ClusterProgram2Person clusterProgram2Person)
Description copied from class: Program2PersonDaoBase
Performs the core logic for Program2PersonDaoBase.createFromClusterProgram2Person(fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterProgram2Person)

Specified by:
handleCreateFromClusterProgram2Person in class Program2PersonDaoBase
See Also:
Program2PersonDao.createFromClusterProgram2Person(fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterProgram2Person)

toRemoteProgram2PersonFullVO

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

toRemoteProgram2PersonFullVO

public RemoteProgram2PersonFullVO toRemoteProgram2PersonFullVO(Program2Person entity)
Description copied from interface: Program2PersonDao
Converts this DAO's entity to an object of type RemoteProgram2PersonFullVO.

Specified by:
toRemoteProgram2PersonFullVO in interface Program2PersonDao
Overrides:
toRemoteProgram2PersonFullVO in class Program2PersonDaoBase
See Also:
Program2PersonDao.toRemoteProgram2PersonFullVO(fr.ifremer.allegro.administration.programStrategy.Program2Person)

remoteProgram2PersonFullVOToEntity

public Program2Person remoteProgram2PersonFullVOToEntity(RemoteProgram2PersonFullVO remoteProgram2PersonFullVO)
Description copied from interface: Program2PersonDao
Converts an instance of type RemoteProgram2PersonFullVO to this DAO's entity.

See Also:
Program2PersonDao.remoteProgram2PersonFullVOToEntity(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgram2PersonFullVO)

remoteProgram2PersonFullVOToEntity

public void remoteProgram2PersonFullVOToEntity(RemoteProgram2PersonFullVO source,
                                               Program2Person target,
                                               boolean copyIfNull)
Description copied from interface: Program2PersonDao
Copies the fields of RemoteProgram2PersonFullVO to the specified entity.

Specified by:
remoteProgram2PersonFullVOToEntity in interface Program2PersonDao
Overrides:
remoteProgram2PersonFullVOToEntity in class Program2PersonDaoBase
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.Program2PersonDao#remoteProgram2PersonFullVOToEntity(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgram2PersonFullVO, fr.ifremer.allegro.administration.programStrategy.Program2Person)

toRemoteProgram2PersonNaturalId

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

toRemoteProgram2PersonNaturalId

public RemoteProgram2PersonNaturalId toRemoteProgram2PersonNaturalId(Program2Person entity)
Description copied from interface: Program2PersonDao
Converts this DAO's entity to an object of type RemoteProgram2PersonNaturalId.

Specified by:
toRemoteProgram2PersonNaturalId in interface Program2PersonDao
Overrides:
toRemoteProgram2PersonNaturalId in class Program2PersonDaoBase
See Also:
Program2PersonDao.toRemoteProgram2PersonNaturalId(fr.ifremer.allegro.administration.programStrategy.Program2Person)

remoteProgram2PersonNaturalIdToEntity

public Program2Person remoteProgram2PersonNaturalIdToEntity(RemoteProgram2PersonNaturalId remoteProgram2PersonNaturalId)
Description copied from interface: Program2PersonDao
Converts an instance of type RemoteProgram2PersonNaturalId to this DAO's entity.

See Also:
Program2PersonDao.remoteProgram2PersonNaturalIdToEntity(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgram2PersonNaturalId)

remoteProgram2PersonNaturalIdToEntity

public void remoteProgram2PersonNaturalIdToEntity(RemoteProgram2PersonNaturalId source,
                                                  Program2Person target,
                                                  boolean copyIfNull)
Description copied from interface: Program2PersonDao
Copies the fields of RemoteProgram2PersonNaturalId to the specified entity.

Specified by:
remoteProgram2PersonNaturalIdToEntity in interface Program2PersonDao
Overrides:
remoteProgram2PersonNaturalIdToEntity in class Program2PersonDaoBase
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.Program2PersonDao#remoteProgram2PersonNaturalIdToEntity(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgram2PersonNaturalId, fr.ifremer.allegro.administration.programStrategy.Program2Person)

toClusterProgram2Person

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

toClusterProgram2Person

public ClusterProgram2Person toClusterProgram2Person(Program2Person entity)
Description copied from interface: Program2PersonDao
Converts this DAO's entity to an object of type ClusterProgram2Person.

Specified by:
toClusterProgram2Person in interface Program2PersonDao
Overrides:
toClusterProgram2Person in class Program2PersonDaoBase
See Also:
Program2PersonDao.toClusterProgram2Person(fr.ifremer.allegro.administration.programStrategy.Program2Person)

clusterProgram2PersonToEntity

public Program2Person clusterProgram2PersonToEntity(ClusterProgram2Person clusterProgram2Person)
Description copied from interface: Program2PersonDao
Converts an instance of type ClusterProgram2Person to this DAO's entity.

See Also:
Program2PersonDao.clusterProgram2PersonToEntity(fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterProgram2Person)

clusterProgram2PersonToEntity

public void clusterProgram2PersonToEntity(ClusterProgram2Person source,
                                          Program2Person target,
                                          boolean copyIfNull)
Description copied from interface: Program2PersonDao
Copies the fields of ClusterProgram2Person to the specified entity.

Specified by:
clusterProgram2PersonToEntity in interface Program2PersonDao
Overrides:
clusterProgram2PersonToEntity in class Program2PersonDaoBase
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.Program2PersonDao#clusterProgram2PersonToEntity(fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterProgram2Person, fr.ifremer.allegro.administration.programStrategy.Program2Person)


Copyright © 2008-2010 IFREMER. All Rights Reserved.