fr.ifremer.allegro.administration.programStrategy
Class ProgramPrivilegeDaoImpl

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.administration.programStrategy.ProgramPrivilegeDaoBase
          extended by fr.ifremer.allegro.administration.programStrategy.ProgramPrivilegeDaoImpl
All Implemented Interfaces:
ProgramPrivilegeDao

public class ProgramPrivilegeDaoImpl
extends ProgramPrivilegeDaoBase

See Also:
ProgramPrivilege

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.administration.programStrategy.ProgramPrivilegeDao
TRANSFORM_CLUSTERPROGRAMPRIVILEGE, TRANSFORM_NONE, TRANSFORM_REMOTEPROGRAMPRIVILEGEFULLVO, TRANSFORM_REMOTEPROGRAMPRIVILEGENATURALID
 
Constructor Summary
ProgramPrivilegeDaoImpl()
           
 
Method Summary
 ProgramPrivilege clusterProgramPrivilegeToEntity(ClusterProgramPrivilege clusterProgramPrivilege)
          Converts an instance of type ClusterProgramPrivilege to this DAO's entity.
 void clusterProgramPrivilegeToEntity(ClusterProgramPrivilege source, ProgramPrivilege target, boolean copyIfNull)
          Copies the fields of ClusterProgramPrivilege to the specified entity.
protected  ProgramPrivilege handleCreateFromClusterProgramPrivilege(ClusterProgramPrivilege clusterProgramPrivilege)
          Performs the core logic for ProgramPrivilegeDaoBase.createFromClusterProgramPrivilege(fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterProgramPrivilege)
protected  ClusterProgramPrivilege[] handleGetAllClusterProgramPrivilegeSinceDateSynchro(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 ProgramPrivilegeDaoBase.getAllClusterProgramPrivilegeSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 ProgramPrivilege remoteProgramPrivilegeFullVOToEntity(RemoteProgramPrivilegeFullVO remoteProgramPrivilegeFullVO)
          Converts an instance of type RemoteProgramPrivilegeFullVO to this DAO's entity.
 void remoteProgramPrivilegeFullVOToEntity(RemoteProgramPrivilegeFullVO source, ProgramPrivilege target, boolean copyIfNull)
          Copies the fields of RemoteProgramPrivilegeFullVO to the specified entity.
 ProgramPrivilege remoteProgramPrivilegeNaturalIdToEntity(RemoteProgramPrivilegeNaturalId remoteProgramPrivilegeNaturalId)
          Converts an instance of type RemoteProgramPrivilegeNaturalId to this DAO's entity.
 void remoteProgramPrivilegeNaturalIdToEntity(RemoteProgramPrivilegeNaturalId source, ProgramPrivilege target, boolean copyIfNull)
          Copies the fields of RemoteProgramPrivilegeNaturalId to the specified entity.
 ClusterProgramPrivilege toClusterProgramPrivilege(ProgramPrivilege entity)
          Converts this DAO's entity to an object of type ClusterProgramPrivilege.
 void toClusterProgramPrivilege(ProgramPrivilege source, ClusterProgramPrivilege target)
          Copies the fields of the specified entity to the target value object.
 RemoteProgramPrivilegeFullVO toRemoteProgramPrivilegeFullVO(ProgramPrivilege entity)
          Converts this DAO's entity to an object of type RemoteProgramPrivilegeFullVO.
 void toRemoteProgramPrivilegeFullVO(ProgramPrivilege source, RemoteProgramPrivilegeFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteProgramPrivilegeNaturalId toRemoteProgramPrivilegeNaturalId(ProgramPrivilege entity)
          Converts this DAO's entity to an object of type RemoteProgramPrivilegeNaturalId.
 void toRemoteProgramPrivilegeNaturalId(ProgramPrivilege source, RemoteProgramPrivilegeNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.administration.programStrategy.ProgramPrivilegeDaoBase
clusterProgramPrivilegeToEntityCollection, create, create, create, create, create, create, create, create, createFromClusterProgramPrivilege, findProgramPrivilegeById, findProgramPrivilegeById, findProgramPrivilegeById, findProgramPrivilegeById, findProgramPrivilegeByNaturalId, findProgramPrivilegeByNaturalId, findProgramPrivilegeByNaturalId, findProgramPrivilegeByNaturalId, getAllClusterProgramPrivilegeSinceDateSynchro, getAllProgramPrivilege, getAllProgramPrivilege, getAllProgramPrivilege, getAllProgramPrivilege, getAllProgramPrivilege, getAllProgramPrivilege, getAllProgramPrivilege, getAllProgramPrivilege, getAllProgramPrivilegeSinceDateSynchro, getAllProgramPrivilegeSinceDateSynchro, getAllProgramPrivilegeSinceDateSynchro, getAllProgramPrivilegeSinceDateSynchro, getAllProgramPrivilegeSinceDateSynchro, getAllProgramPrivilegeSinceDateSynchro, getAllProgramPrivilegeSinceDateSynchro, getAllProgramPrivilegeSinceDateSynchro, getPrincipal, getProgram2DepartmentDao, getProgram2PersonDao, load, load, loadAll, loadAll, loadAll, loadAll, remoteProgramPrivilegeFullVOToEntityCollection, remoteProgramPrivilegeNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, setProgram2DepartmentDao, setProgram2PersonDao, toClusterProgramPrivilege, toClusterProgramPrivilegeArray, toClusterProgramPrivilegeCollection, toEntity, toRemoteProgramPrivilegeFullVO, toRemoteProgramPrivilegeFullVOArray, toRemoteProgramPrivilegeFullVOCollection, toRemoteProgramPrivilegeNaturalId, toRemoteProgramPrivilegeNaturalIdArray, toRemoteProgramPrivilegeNaturalIdCollection, transformEntities, transformEntity, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProgramPrivilegeDaoImpl

public ProgramPrivilegeDaoImpl()
Method Detail

handleCreateFromClusterProgramPrivilege

protected ProgramPrivilege handleCreateFromClusterProgramPrivilege(ClusterProgramPrivilege clusterProgramPrivilege)
Description copied from class: ProgramPrivilegeDaoBase
Performs the core logic for ProgramPrivilegeDaoBase.createFromClusterProgramPrivilege(fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterProgramPrivilege)

Specified by:
handleCreateFromClusterProgramPrivilege in class ProgramPrivilegeDaoBase
See Also:
ProgramPrivilegeDao.createFromClusterProgramPrivilege(fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterProgramPrivilege)

handleGetAllClusterProgramPrivilegeSinceDateSynchro

protected ClusterProgramPrivilege[] handleGetAllClusterProgramPrivilegeSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
                                                                                        java.lang.Integer userId,
                                                                                        java.lang.Integer[] registrationLocationIds,
                                                                                        java.lang.Integer pageNumber,
                                                                                        java.lang.Integer pageSize)
Description copied from class: ProgramPrivilegeDaoBase
Performs the core logic for ProgramPrivilegeDaoBase.getAllClusterProgramPrivilegeSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Specified by:
handleGetAllClusterProgramPrivilegeSinceDateSynchro in class ProgramPrivilegeDaoBase
See Also:
ProgramPrivilegeDao.getAllClusterProgramPrivilegeSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

toRemoteProgramPrivilegeFullVO

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

toRemoteProgramPrivilegeFullVO

public RemoteProgramPrivilegeFullVO toRemoteProgramPrivilegeFullVO(ProgramPrivilege entity)
Description copied from interface: ProgramPrivilegeDao
Converts this DAO's entity to an object of type RemoteProgramPrivilegeFullVO.

Specified by:
toRemoteProgramPrivilegeFullVO in interface ProgramPrivilegeDao
Overrides:
toRemoteProgramPrivilegeFullVO in class ProgramPrivilegeDaoBase
See Also:
ProgramPrivilegeDao.toRemoteProgramPrivilegeFullVO(fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege)

remoteProgramPrivilegeFullVOToEntity

public ProgramPrivilege remoteProgramPrivilegeFullVOToEntity(RemoteProgramPrivilegeFullVO remoteProgramPrivilegeFullVO)
Description copied from interface: ProgramPrivilegeDao
Converts an instance of type RemoteProgramPrivilegeFullVO to this DAO's entity.

See Also:
ProgramPrivilegeDao.remoteProgramPrivilegeFullVOToEntity(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgramPrivilegeFullVO)

remoteProgramPrivilegeFullVOToEntity

public void remoteProgramPrivilegeFullVOToEntity(RemoteProgramPrivilegeFullVO source,
                                                 ProgramPrivilege target,
                                                 boolean copyIfNull)
Description copied from interface: ProgramPrivilegeDao
Copies the fields of RemoteProgramPrivilegeFullVO to the specified entity.

Specified by:
remoteProgramPrivilegeFullVOToEntity in interface ProgramPrivilegeDao
Overrides:
remoteProgramPrivilegeFullVOToEntity in class ProgramPrivilegeDaoBase
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.ProgramPrivilegeDao#remoteProgramPrivilegeFullVOToEntity(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgramPrivilegeFullVO, fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege)

toRemoteProgramPrivilegeNaturalId

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

toRemoteProgramPrivilegeNaturalId

public RemoteProgramPrivilegeNaturalId toRemoteProgramPrivilegeNaturalId(ProgramPrivilege entity)
Description copied from interface: ProgramPrivilegeDao
Converts this DAO's entity to an object of type RemoteProgramPrivilegeNaturalId.

Specified by:
toRemoteProgramPrivilegeNaturalId in interface ProgramPrivilegeDao
Overrides:
toRemoteProgramPrivilegeNaturalId in class ProgramPrivilegeDaoBase
See Also:
ProgramPrivilegeDao.toRemoteProgramPrivilegeNaturalId(fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege)

remoteProgramPrivilegeNaturalIdToEntity

public ProgramPrivilege remoteProgramPrivilegeNaturalIdToEntity(RemoteProgramPrivilegeNaturalId remoteProgramPrivilegeNaturalId)
Description copied from interface: ProgramPrivilegeDao
Converts an instance of type RemoteProgramPrivilegeNaturalId to this DAO's entity.

See Also:
ProgramPrivilegeDao.remoteProgramPrivilegeNaturalIdToEntity(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgramPrivilegeNaturalId)

remoteProgramPrivilegeNaturalIdToEntity

public void remoteProgramPrivilegeNaturalIdToEntity(RemoteProgramPrivilegeNaturalId source,
                                                    ProgramPrivilege target,
                                                    boolean copyIfNull)
Description copied from interface: ProgramPrivilegeDao
Copies the fields of RemoteProgramPrivilegeNaturalId to the specified entity.

Specified by:
remoteProgramPrivilegeNaturalIdToEntity in interface ProgramPrivilegeDao
Overrides:
remoteProgramPrivilegeNaturalIdToEntity in class ProgramPrivilegeDaoBase
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.ProgramPrivilegeDao#remoteProgramPrivilegeNaturalIdToEntity(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgramPrivilegeNaturalId, fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege)

toClusterProgramPrivilege

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

toClusterProgramPrivilege

public ClusterProgramPrivilege toClusterProgramPrivilege(ProgramPrivilege entity)
Description copied from interface: ProgramPrivilegeDao
Converts this DAO's entity to an object of type ClusterProgramPrivilege.

Specified by:
toClusterProgramPrivilege in interface ProgramPrivilegeDao
Overrides:
toClusterProgramPrivilege in class ProgramPrivilegeDaoBase
See Also:
ProgramPrivilegeDao.toClusterProgramPrivilege(fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege)

clusterProgramPrivilegeToEntity

public ProgramPrivilege clusterProgramPrivilegeToEntity(ClusterProgramPrivilege clusterProgramPrivilege)
Description copied from interface: ProgramPrivilegeDao
Converts an instance of type ClusterProgramPrivilege to this DAO's entity.

See Also:
ProgramPrivilegeDao.clusterProgramPrivilegeToEntity(fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterProgramPrivilege)

clusterProgramPrivilegeToEntity

public void clusterProgramPrivilegeToEntity(ClusterProgramPrivilege source,
                                            ProgramPrivilege target,
                                            boolean copyIfNull)
Description copied from interface: ProgramPrivilegeDao
Copies the fields of ClusterProgramPrivilege to the specified entity.

Specified by:
clusterProgramPrivilegeToEntity in interface ProgramPrivilegeDao
Overrides:
clusterProgramPrivilegeToEntity in class ProgramPrivilegeDaoBase
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.ProgramPrivilegeDao#clusterProgramPrivilegeToEntity(fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterProgramPrivilege, fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege)


Copyright © 2008-2010 IFREMER. All Rights Reserved.