fr.ifremer.allegro.administration.programStrategy
Class Program2DepartmentDaoBase

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

public abstract class Program2DepartmentDaoBase
extends org.springframework.orm.hibernate3.support.HibernateDaoSupport
implements Program2DepartmentDao

Base Spring DAO Class: is able to create, update, remove, load, and find objects of type fr.ifremer.allegro.administration.programStrategy.Program2Department.

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
Program2DepartmentDaoBase()
           
 
Method Summary
 void clusterProgram2DepartmentToEntity(ClusterProgram2Department source, Program2Department target, boolean copyIfNull)
          Copies the fields of ClusterProgram2Department to the specified entity.
 void clusterProgram2DepartmentToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type ClusterProgram2Department to this DAO's entity.
 java.util.Collection create(java.util.Collection entities)
          Creates a new instance of fr.ifremer.allegro.administration.programStrategy.Program2Department and adds from the passed in entities collection
 Program2Department create(Department department, Program program, ProgramPrivilege programPrivilege)
           Creates a new fr.ifremer.allegro.administration.programStrategy.Program2Department instance from only required properties (attributes and association ends) and adds it to the persistent store.
 java.util.Collection create(int transform, java.util.Collection entities)
           Does the same thing as Program2DepartmentDao.create(fr.ifremer.allegro.administration.programStrategy.Program2Department) with an additional flag called transform.
 java.lang.Object create(int transform, Department department, Program program, ProgramPrivilege programPrivilege)
           Does the same thing as Program2DepartmentDao.create(fr.ifremer.allegro.administration.user.Department,fr.ifremer.allegro.administration.programStrategy.Program,fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege) with an additional flag called transform.
 java.lang.Object create(int transform, Program2Department program2Department)
           Does the same thing as Program2DepartmentDao.create(fr.ifremer.allegro.administration.programStrategy.Program2Department) with an additional flag called transform.
 java.lang.Object create(int transform, Program program, Location location, ProgramPrivilege programPrivilege, Department department)
           Does the same thing as Program2DepartmentDao.create(fr.ifremer.allegro.administration.programStrategy.Program,fr.ifremer.allegro.referential.location.Location,fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege,fr.ifremer.allegro.administration.user.Department) with an additional flag called transform.
 Program2Department create(Program2Department program2Department)
          Creates an instance of fr.ifremer.allegro.administration.programStrategy.Program2Department and adds it to the persistent store.
 Program2Department create(Program program, Location location, ProgramPrivilege programPrivilege, Department department)
           Creates a new fr.ifremer.allegro.administration.programStrategy.Program2Department instance from all attributes and properties and adds it to the persistent store.
 Program2Department createFromClusterProgram2Department(ClusterProgram2Department clusterProgram2Department)
           
 java.util.Collection findProgram2DepartmentByDepartment(Department department)
           
 java.util.Collection findProgram2DepartmentByDepartment(int transform, Department department)
           Does the same thing as Program2DepartmentDao.findProgram2DepartmentByDepartment(fr.ifremer.allegro.administration.user.Department) with an additional flag called transform.
 java.util.Collection findProgram2DepartmentByDepartment(int pageNumber, int pageSize, Department department)
           Does the same thing as Program2DepartmentDao.findProgram2DepartmentByDepartment(fr.ifremer.allegro.administration.user.Department) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findProgram2DepartmentByDepartment(int transform, int pageNumber, int pageSize, Department department)
           Does the same thing as Program2DepartmentDao.findProgram2DepartmentByDepartment(int, fr.ifremer.allegro.administration.user.Department) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findProgram2DepartmentByDepartment(int transform, java.lang.String queryString, Department department)
           Does the same thing as Program2DepartmentDao.findProgram2DepartmentByDepartment(int, fr.ifremer.allegro.administration.user.Department) with an additional argument called queryString.
 java.util.Collection findProgram2DepartmentByDepartment(int transform, java.lang.String queryString, int pageNumber, int pageSize, Department department)
           Does the same thing as Program2DepartmentDao.findProgram2DepartmentByDepartment(int, String, fr.ifremer.allegro.administration.user.Department) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findProgram2DepartmentByDepartment(java.lang.String queryString, Department department)
           Does the same thing as Program2DepartmentDao.findProgram2DepartmentByDepartment(fr.ifremer.allegro.administration.user.Department) with an additional argument called queryString.
 java.util.Collection findProgram2DepartmentByDepartment(java.lang.String queryString, int pageNumber, int pageSize, Department department)
           Does the same thing as Program2DepartmentDao.findProgram2DepartmentByDepartment(String, fr.ifremer.allegro.administration.user.Department) with an additional two arguments called pageNumber and pageSize.
 Program2Department findProgram2DepartmentById(java.lang.Integer id)
           
 java.lang.Object findProgram2DepartmentById(int transform, java.lang.Integer id)
           Does the same thing as Program2DepartmentDao.findProgram2DepartmentById(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findProgram2DepartmentById(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as Program2DepartmentDao.findProgram2DepartmentById(int, java.lang.Integer) with an additional argument called queryString.
 Program2Department findProgram2DepartmentById(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as Program2DepartmentDao.findProgram2DepartmentById(java.lang.Integer) with an additional argument called queryString.
 java.util.Collection findProgram2DepartmentByLocation(int transform, int pageNumber, int pageSize, Location location)
           Does the same thing as Program2DepartmentDao.findProgram2DepartmentByLocation(int, fr.ifremer.allegro.referential.location.Location) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findProgram2DepartmentByLocation(int pageNumber, int pageSize, Location location)
           Does the same thing as Program2DepartmentDao.findProgram2DepartmentByLocation(fr.ifremer.allegro.referential.location.Location) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findProgram2DepartmentByLocation(int transform, Location location)
           Does the same thing as Program2DepartmentDao.findProgram2DepartmentByLocation(fr.ifremer.allegro.referential.location.Location) with an additional flag called transform.
 java.util.Collection findProgram2DepartmentByLocation(int transform, java.lang.String queryString, int pageNumber, int pageSize, Location location)
           Does the same thing as Program2DepartmentDao.findProgram2DepartmentByLocation(int, String, fr.ifremer.allegro.referential.location.Location) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findProgram2DepartmentByLocation(int transform, java.lang.String queryString, Location location)
           Does the same thing as Program2DepartmentDao.findProgram2DepartmentByLocation(int, fr.ifremer.allegro.referential.location.Location) with an additional argument called queryString.
 java.util.Collection findProgram2DepartmentByLocation(Location location)
           
 java.util.Collection findProgram2DepartmentByLocation(java.lang.String queryString, int pageNumber, int pageSize, Location location)
           Does the same thing as Program2DepartmentDao.findProgram2DepartmentByLocation(String, fr.ifremer.allegro.referential.location.Location) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findProgram2DepartmentByLocation(java.lang.String queryString, Location location)
           Does the same thing as Program2DepartmentDao.findProgram2DepartmentByLocation(fr.ifremer.allegro.referential.location.Location) with an additional argument called queryString.
 Program2Department findProgram2DepartmentByNaturalId(java.lang.Integer id)
           
 java.lang.Object findProgram2DepartmentByNaturalId(int transform, java.lang.Integer id)
           Does the same thing as Program2DepartmentDao.findProgram2DepartmentByNaturalId(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findProgram2DepartmentByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as Program2DepartmentDao.findProgram2DepartmentByNaturalId(int, java.lang.Integer) with an additional argument called queryString.
 Program2Department findProgram2DepartmentByNaturalId(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as Program2DepartmentDao.findProgram2DepartmentByNaturalId(java.lang.Integer) with an additional argument called queryString.
 java.util.Collection findProgram2DepartmentByProgram(int transform, int pageNumber, int pageSize, Program program)
           Does the same thing as Program2DepartmentDao.findProgram2DepartmentByProgram(int, fr.ifremer.allegro.administration.programStrategy.Program) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findProgram2DepartmentByProgram(int pageNumber, int pageSize, Program program)
           Does the same thing as Program2DepartmentDao.findProgram2DepartmentByProgram(fr.ifremer.allegro.administration.programStrategy.Program) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findProgram2DepartmentByProgram(int transform, Program program)
           Does the same thing as Program2DepartmentDao.findProgram2DepartmentByProgram(fr.ifremer.allegro.administration.programStrategy.Program) with an additional flag called transform.
 java.util.Collection findProgram2DepartmentByProgram(int transform, java.lang.String queryString, int pageNumber, int pageSize, Program program)
           Does the same thing as Program2DepartmentDao.findProgram2DepartmentByProgram(int, String, fr.ifremer.allegro.administration.programStrategy.Program) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findProgram2DepartmentByProgram(int transform, java.lang.String queryString, Program program)
           Does the same thing as Program2DepartmentDao.findProgram2DepartmentByProgram(int, fr.ifremer.allegro.administration.programStrategy.Program) with an additional argument called queryString.
 java.util.Collection findProgram2DepartmentByProgram(Program program)
           
 java.util.Collection findProgram2DepartmentByProgram(java.lang.String queryString, int pageNumber, int pageSize, Program program)
           Does the same thing as Program2DepartmentDao.findProgram2DepartmentByProgram(String, fr.ifremer.allegro.administration.programStrategy.Program) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findProgram2DepartmentByProgram(java.lang.String queryString, Program program)
           Does the same thing as Program2DepartmentDao.findProgram2DepartmentByProgram(fr.ifremer.allegro.administration.programStrategy.Program) with an additional argument called queryString.
 java.util.Collection findProgram2DepartmentByProgramPrivilege(int transform, int pageNumber, int pageSize, ProgramPrivilege programPrivilege)
           Does the same thing as Program2DepartmentDao.findProgram2DepartmentByProgramPrivilege(int, fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findProgram2DepartmentByProgramPrivilege(int pageNumber, int pageSize, ProgramPrivilege programPrivilege)
           Does the same thing as Program2DepartmentDao.findProgram2DepartmentByProgramPrivilege(fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findProgram2DepartmentByProgramPrivilege(int transform, ProgramPrivilege programPrivilege)
           Does the same thing as Program2DepartmentDao.findProgram2DepartmentByProgramPrivilege(fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege) with an additional flag called transform.
 java.util.Collection findProgram2DepartmentByProgramPrivilege(int transform, java.lang.String queryString, int pageNumber, int pageSize, ProgramPrivilege programPrivilege)
           Does the same thing as Program2DepartmentDao.findProgram2DepartmentByProgramPrivilege(int, String, fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findProgram2DepartmentByProgramPrivilege(int transform, java.lang.String queryString, ProgramPrivilege programPrivilege)
           Does the same thing as Program2DepartmentDao.findProgram2DepartmentByProgramPrivilege(int, fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege) with an additional argument called queryString.
 java.util.Collection findProgram2DepartmentByProgramPrivilege(ProgramPrivilege programPrivilege)
           
 java.util.Collection findProgram2DepartmentByProgramPrivilege(java.lang.String queryString, int pageNumber, int pageSize, ProgramPrivilege programPrivilege)
           Does the same thing as Program2DepartmentDao.findProgram2DepartmentByProgramPrivilege(String, fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findProgram2DepartmentByProgramPrivilege(java.lang.String queryString, ProgramPrivilege programPrivilege)
           Does the same thing as Program2DepartmentDao.findProgram2DepartmentByProgramPrivilege(fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege) with an additional argument called queryString.
 java.util.Collection getAllProgram2Department()
           
 java.util.Collection getAllProgram2Department(int transform)
           Does the same thing as Program2DepartmentDao.getAllProgram2Department() with an additional flag called transform.
 java.util.Collection getAllProgram2Department(int pageNumber, int pageSize)
           Does the same thing as Program2DepartmentDao.getAllProgram2Department() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllProgram2Department(int transform, int pageNumber, int pageSize)
           Does the same thing as Program2DepartmentDao.getAllProgram2Department(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllProgram2Department(int transform, java.lang.String queryString)
           Does the same thing as Program2DepartmentDao.getAllProgram2Department(int) with an additional argument called queryString.
 java.util.Collection getAllProgram2Department(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as Program2DepartmentDao.getAllProgram2Department(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllProgram2Department(java.lang.String queryString)
           Does the same thing as Program2DepartmentDao.getAllProgram2Department() with an additional argument called queryString.
 java.util.Collection getAllProgram2Department(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as Program2DepartmentDao.getAllProgram2Department(String) with an additional two arguments called pageNumber and pageSize.
protected  DepartmentDao getDepartmentDao()
          Gets the reference to departmentDao.
protected  LocationDao getLocationDao()
          Gets the reference to locationDao.
protected  java.security.Principal getPrincipal()
          Gets the current principal if one has been set, otherwise returns null.
protected  ProgramDao getProgramDao()
          Gets the reference to programDao.
protected  ProgramPrivilegeDao getProgramPrivilegeDao()
          Gets the reference to programPrivilegeDao.
protected abstract  Program2Department handleCreateFromClusterProgram2Department(ClusterProgram2Department clusterProgram2Department)
          Performs the core logic for createFromClusterProgram2Department(fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterProgram2Department)
 Program2Department load(java.lang.Integer id)
          Loads an instance of fr.ifremer.allegro.administration.programStrategy.Program2Department from the persistent store.
 java.lang.Object load(int transform, java.lang.Integer id)
           Does the same thing as Program2DepartmentDao.load(java.lang.Integer) with an additional flag called transform.
 java.util.Collection loadAll()
          Loads all entities of type Program2Department.
 java.util.Collection loadAll(int transform)
           Does the same thing as Program2DepartmentDao.loadAll() with an additional flag called transform.
 java.util.Collection loadAll(int pageNumber, int pageSize)
           Does the same thing as Program2DepartmentDao.loadAll() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection loadAll(int transform, int pageNumber, int pageSize)
           Does the same thing as Program2DepartmentDao.loadAll(int) with an additional two arguments called pageNumber and pageSize.
 void remoteProgram2DepartmentFullVOToEntity(RemoteProgram2DepartmentFullVO source, Program2Department target, boolean copyIfNull)
          Copies the fields of RemoteProgram2DepartmentFullVO to the specified entity.
 void remoteProgram2DepartmentFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteProgram2DepartmentFullVO to this DAO's entity.
 void remoteProgram2DepartmentNaturalIdToEntity(RemoteProgram2DepartmentNaturalId source, Program2Department target, boolean copyIfNull)
          Copies the fields of RemoteProgram2DepartmentNaturalId to the specified entity.
 void remoteProgram2DepartmentNaturalIdToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteProgram2DepartmentNaturalId to this DAO's entity.
 void remove(java.util.Collection entities)
          Removes all entities in the given entities collection.
 void remove(java.lang.Integer id)
          Removes the instance of fr.ifremer.allegro.administration.programStrategy.Program2Department having the given identifier from the persistent store.
 void remove(Program2Department program2Department)
          Removes the instance of fr.ifremer.allegro.administration.programStrategy.Program2Department from the persistent store.
 PaginationResult search(int transform, int pageNumber, int pageSize, Search search)
          Does the same thing as {@link #search(int, fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize.
 PaginationResult search(int pageNumber, int pageSize, Search search)
          Does the same thing as {@link #search(fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize.
 java.util.Set search(int transform, Search search)
          Does the same thing as Program2DepartmentDao.search(fr.ifremer.allegro.Search) but with an additional flag called transform.
 java.util.Set search(Search search)
          Performs a search using the parameters specified in the given search object.
 void setDepartmentDao(DepartmentDao departmentDao)
          Sets the reference to departmentDao.
 void setLocationDao(LocationDao locationDao)
          Sets the reference to locationDao.
 void setProgramDao(ProgramDao programDao)
          Sets the reference to programDao.
 void setProgramPrivilegeDao(ProgramPrivilegeDao programPrivilegeDao)
          Sets the reference to programPrivilegeDao.
protected  ClusterProgram2Department toClusterProgram2Department(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 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.
 ClusterProgram2Department[] toClusterProgram2DepartmentArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type ClusterProgram2Department.
 void toClusterProgram2DepartmentCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type ClusterProgram2Department.
protected  Program2Department toEntity(java.lang.Object[] row)
           
protected  RemoteProgram2DepartmentFullVO toRemoteProgram2DepartmentFullVO(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a 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.
 RemoteProgram2DepartmentFullVO[] toRemoteProgram2DepartmentFullVOArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteProgram2DepartmentFullVO.
 void toRemoteProgram2DepartmentFullVOCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteProgram2DepartmentFullVO.
protected  RemoteProgram2DepartmentNaturalId toRemoteProgram2DepartmentNaturalId(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a 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.
 RemoteProgram2DepartmentNaturalId[] toRemoteProgram2DepartmentNaturalIdArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteProgram2DepartmentNaturalId.
 void toRemoteProgram2DepartmentNaturalIdCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteProgram2DepartmentNaturalId.
protected  void transformEntities(int transform, java.util.Collection entities)
          Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.administration.programStrategy.Program2Department) method.
protected  java.lang.Object transformEntity(int transform, Program2Department entity)
          Allows transformation of entities into value objects (or something else for that matter), when the transform flag is set to one of the constants defined in fr.ifremer.allegro.administration.programStrategy.Program2DepartmentDao, please note that the Program2DepartmentDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself will be returned.
 void update(java.util.Collection entities)
          Updates all instances in the entities collection in the persistent store.
 void update(Program2Department program2Department)
          Updates the program2Department instance in the persistent store.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface fr.ifremer.allegro.administration.programStrategy.Program2DepartmentDao
clusterProgram2DepartmentToEntity, remoteProgram2DepartmentFullVOToEntity, remoteProgram2DepartmentNaturalIdToEntity
 

Constructor Detail

Program2DepartmentDaoBase

public Program2DepartmentDaoBase()
Method Detail

setLocationDao

public void setLocationDao(LocationDao locationDao)
Sets the reference to locationDao.


getLocationDao

protected LocationDao getLocationDao()
Gets the reference to locationDao.


setProgramDao

public void setProgramDao(ProgramDao programDao)
Sets the reference to programDao.


getProgramDao

protected ProgramDao getProgramDao()
Gets the reference to programDao.


setDepartmentDao

public void setDepartmentDao(DepartmentDao departmentDao)
Sets the reference to departmentDao.


getDepartmentDao

protected DepartmentDao getDepartmentDao()
Gets the reference to departmentDao.


setProgramPrivilegeDao

public void setProgramPrivilegeDao(ProgramPrivilegeDao programPrivilegeDao)
Sets the reference to programPrivilegeDao.


getProgramPrivilegeDao

protected ProgramPrivilegeDao getProgramPrivilegeDao()
Gets the reference to programPrivilegeDao.


load

public java.lang.Object load(int transform,
                             java.lang.Integer id)
Description copied from interface: Program2DepartmentDao

Does the same thing as Program2DepartmentDao.load(java.lang.Integer) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then the returned entity will NOT be transformed. If this flag is any of the other constants defined in this class then the result WILL BE passed through an operation which can optionally transform the entity (into a value object for example). By default, transformation does not occur.

Specified by:
load in interface Program2DepartmentDao
id - identifier of the entity to load
Returns:
either the entity or the object transformed from the entity.
See Also:
Program2DepartmentDao.load(int, java.lang.Integer)

load

public Program2Department load(java.lang.Integer id)
Description copied from interface: Program2DepartmentDao
Loads an instance of fr.ifremer.allegro.administration.programStrategy.Program2Department from the persistent store.

Specified by:
load in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.load(java.lang.Integer)

loadAll

public java.util.Collection loadAll()
Description copied from interface: Program2DepartmentDao
Loads all entities of type Program2Department.

Specified by:
loadAll in interface Program2DepartmentDao
Returns:
the loaded entities.
See Also:
Program2DepartmentDao.loadAll()

loadAll

public java.util.Collection loadAll(int transform)
Description copied from interface: Program2DepartmentDao

Does the same thing as Program2DepartmentDao.loadAll() with an additional flag called transform. If this flag is set to TRANSFORM_NONE then the returned entity will NOT be transformed. If this flag is any of the other constants defined here then the result WILL BE passed through an operation which can optionally transform the entity (into a value object for example). By default, transformation does not occur.

Specified by:
loadAll in interface Program2DepartmentDao
Parameters:
transform - the flag indicating what transformation to use.
Returns:
the loaded entities.
See Also:
Program2DepartmentDao.loadAll(int)

loadAll

public java.util.Collection loadAll(int pageNumber,
                                    int pageSize)
Description copied from interface: Program2DepartmentDao

Does the same thing as Program2DepartmentDao.loadAll() with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
loadAll in interface Program2DepartmentDao
Parameters:
pageNumber - the page number to retrieve when paging results.
pageSize - the size of the page to retrieve when paging results.
Returns:
the loaded entities.
See Also:
Program2DepartmentDao.loadAll(int, int)

loadAll

public java.util.Collection loadAll(int transform,
                                    int pageNumber,
                                    int pageSize)
Description copied from interface: Program2DepartmentDao

Does the same thing as Program2DepartmentDao.loadAll(int) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
loadAll in interface Program2DepartmentDao
Parameters:
transform - the flag indicating what transformation to use.
pageNumber - the page number to retrieve when paging results.
pageSize - the size of the page to retrieve when paging results.
Returns:
the loaded entities.
See Also:
Program2DepartmentDao.loadAll(int, int, int)

create

public Program2Department create(Program2Department program2Department)
Description copied from interface: Program2DepartmentDao
Creates an instance of fr.ifremer.allegro.administration.programStrategy.Program2Department and adds it to the persistent store.

Specified by:
create in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.create(fr.ifremer.allegro.administration.programStrategy.Program2Department)

create

public java.lang.Object create(int transform,
                               Program2Department program2Department)
Description copied from interface: Program2DepartmentDao

Does the same thing as Program2DepartmentDao.create(fr.ifremer.allegro.administration.programStrategy.Program2Department) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then the returned entity will NOT be transformed. If this flag is any of the other constants defined here then the result WILL BE passed through an operation which can optionally transform the entity (into a value object for example). By default, transformation does not occur.

Specified by:
create in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.create(int transform, fr.ifremer.allegro.administration.programStrategy.Program2Department)

create

public java.util.Collection create(java.util.Collection entities)
Description copied from interface: Program2DepartmentDao
Creates a new instance of fr.ifremer.allegro.administration.programStrategy.Program2Department and adds from the passed in entities collection

Specified by:
create in interface Program2DepartmentDao
Parameters:
entities - the collection of fr.ifremer.allegro.administration.programStrategy.Program2Department instances to create.
Returns:
the created instances.
See Also:
Program2DepartmentDao.create(java.util.Collection)

create

public java.util.Collection create(int transform,
                                   java.util.Collection entities)
Description copied from interface: Program2DepartmentDao

Does the same thing as Program2DepartmentDao.create(fr.ifremer.allegro.administration.programStrategy.Program2Department) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then the returned entity will NOT be transformed. If this flag is any of the other constants defined here then the result WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.

Specified by:
create in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.create(int, java.util.Collection)

create

public Program2Department create(Program program,
                                 Location location,
                                 ProgramPrivilege programPrivilege,
                                 Department department)
Description copied from interface: Program2DepartmentDao

Creates a new fr.ifremer.allegro.administration.programStrategy.Program2Department instance from all attributes and properties and adds it to the persistent store.

Specified by:
create in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.create(fr.ifremer.allegro.administration.programStrategy.Program,fr.ifremer.allegro.referential.location.Location,fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege,fr.ifremer.allegro.administration.user.Department)

create

public java.lang.Object create(int transform,
                               Program program,
                               Location location,
                               ProgramPrivilege programPrivilege,
                               Department department)
Description copied from interface: Program2DepartmentDao

Does the same thing as Program2DepartmentDao.create(fr.ifremer.allegro.administration.programStrategy.Program,fr.ifremer.allegro.referential.location.Location,fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege,fr.ifremer.allegro.administration.user.Department) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then the returned entity will NOT be transformed. If this flag is any of the other constants defined here then the result WILL BE passed through an operation which can optionally transform the entity (into a value object for example). By default, transformation does not occur.

Specified by:
create in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.create(int, fr.ifremer.allegro.administration.programStrategy.Program,fr.ifremer.allegro.referential.location.Location,fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege,fr.ifremer.allegro.administration.user.Department)

create

public Program2Department create(Department department,
                                 Program program,
                                 ProgramPrivilege programPrivilege)
Description copied from interface: Program2DepartmentDao

Creates a new fr.ifremer.allegro.administration.programStrategy.Program2Department instance from only required properties (attributes and association ends) and adds it to the persistent store.

Specified by:
create in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.create(fr.ifremer.allegro.administration.user.Department,fr.ifremer.allegro.administration.programStrategy.Program,fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege)

create

public java.lang.Object create(int transform,
                               Department department,
                               Program program,
                               ProgramPrivilege programPrivilege)
Description copied from interface: Program2DepartmentDao

Does the same thing as Program2DepartmentDao.create(fr.ifremer.allegro.administration.user.Department,fr.ifremer.allegro.administration.programStrategy.Program,fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then the returned entity will NOTWILL BE passed through an operation which can optionally transform the entity (into a value object for example). By default, transformation does not occur.

Specified by:
create in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.create(int, fr.ifremer.allegro.administration.user.Department,fr.ifremer.allegro.administration.programStrategy.Program,fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege)

update

public void update(Program2Department program2Department)
Description copied from interface: Program2DepartmentDao
Updates the program2Department instance in the persistent store.

Specified by:
update in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.update(fr.ifremer.allegro.administration.programStrategy.Program2Department)

update

public void update(java.util.Collection entities)
Description copied from interface: Program2DepartmentDao
Updates all instances in the entities collection in the persistent store.

Specified by:
update in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.update(java.util.Collection)

remove

public void remove(Program2Department program2Department)
Description copied from interface: Program2DepartmentDao
Removes the instance of fr.ifremer.allegro.administration.programStrategy.Program2Department from the persistent store.

Specified by:
remove in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.remove(fr.ifremer.allegro.administration.programStrategy.Program2Department)

remove

public void remove(java.lang.Integer id)
Description copied from interface: Program2DepartmentDao
Removes the instance of fr.ifremer.allegro.administration.programStrategy.Program2Department having the given identifier from the persistent store.

Specified by:
remove in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.remove(java.lang.Integer)

remove

public void remove(java.util.Collection entities)
Description copied from interface: Program2DepartmentDao
Removes all entities in the given entities collection.

Specified by:
remove in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.remove(java.util.Collection)

getAllProgram2Department

public java.util.Collection getAllProgram2Department()
Specified by:
getAllProgram2Department in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.getAllProgram2Department()

getAllProgram2Department

public java.util.Collection getAllProgram2Department(int transform)
Description copied from interface: Program2DepartmentDao

Does the same thing as Program2DepartmentDao.getAllProgram2Department() with an additional flag called transform. If this flag is set to TRANSFORM_NONE then finder results will NOT be transformed during retrieval. If this flag is any of the other constants defined here then finder results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.

Specified by:
getAllProgram2Department in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.getAllProgram2Department(int)

getAllProgram2Department

public java.util.Collection getAllProgram2Department(java.lang.String queryString)
Description copied from interface: Program2DepartmentDao

Does the same thing as Program2DepartmentDao.getAllProgram2Department() with an additional argument called queryString. This queryString argument allows you to override the query string defined in Program2DepartmentDao.getAllProgram2Department().

Specified by:
getAllProgram2Department in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.getAllProgram2Department(java.lang.String)

getAllProgram2Department

public java.util.Collection getAllProgram2Department(int pageNumber,
                                                     int pageSize)
Description copied from interface: Program2DepartmentDao

Does the same thing as Program2DepartmentDao.getAllProgram2Department() with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
getAllProgram2Department in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.getAllProgram2Department(int, int)

getAllProgram2Department

public java.util.Collection getAllProgram2Department(java.lang.String queryString,
                                                     int pageNumber,
                                                     int pageSize)
Description copied from interface: Program2DepartmentDao

Does the same thing as Program2DepartmentDao.getAllProgram2Department(String) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
getAllProgram2Department in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.getAllProgram2Department(String, int, int)

getAllProgram2Department

public java.util.Collection getAllProgram2Department(int transform,
                                                     java.lang.String queryString)
Description copied from interface: Program2DepartmentDao

Does the same thing as Program2DepartmentDao.getAllProgram2Department(int) with an additional argument called queryString. This queryString argument allows you to override the query string defined in Program2DepartmentDao.getAllProgram2Department(int).

Specified by:
getAllProgram2Department in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.getAllProgram2Department(int, String)

getAllProgram2Department

public java.util.Collection getAllProgram2Department(int transform,
                                                     int pageNumber,
                                                     int pageSize)
Description copied from interface: Program2DepartmentDao

Does the same thing as Program2DepartmentDao.getAllProgram2Department(int) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
getAllProgram2Department in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.getAllProgram2Department(int, int, int)

getAllProgram2Department

public java.util.Collection getAllProgram2Department(int transform,
                                                     java.lang.String queryString,
                                                     int pageNumber,
                                                     int pageSize)
Description copied from interface: Program2DepartmentDao

Does the same thing as Program2DepartmentDao.getAllProgram2Department(int, String) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
getAllProgram2Department in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.getAllProgram2Department(int, java.lang.String, int, int)

findProgram2DepartmentById

public Program2Department findProgram2DepartmentById(java.lang.Integer id)
Specified by:
findProgram2DepartmentById in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.findProgram2DepartmentById(java.lang.Integer)

findProgram2DepartmentById

public java.lang.Object findProgram2DepartmentById(int transform,
                                                   java.lang.Integer id)
Description copied from interface: Program2DepartmentDao

Does the same thing as Program2DepartmentDao.findProgram2DepartmentById(java.lang.Integer) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then finder results will NOT be transformed during retrieval. If this flag is any of the other constants defined here then finder results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.

Specified by:
findProgram2DepartmentById in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.findProgram2DepartmentById(int, java.lang.Integer)

findProgram2DepartmentById

public Program2Department findProgram2DepartmentById(java.lang.String queryString,
                                                     java.lang.Integer id)
Description copied from interface: Program2DepartmentDao

Does the same thing as Program2DepartmentDao.findProgram2DepartmentById(java.lang.Integer) with an additional argument called queryString. This queryString argument allows you to override the query string defined in Program2DepartmentDao.findProgram2DepartmentById(java.lang.Integer).

Specified by:
findProgram2DepartmentById in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.findProgram2DepartmentById(java.lang.String, java.lang.Integer)

findProgram2DepartmentById

public java.lang.Object findProgram2DepartmentById(int transform,
                                                   java.lang.String queryString,
                                                   java.lang.Integer id)
Description copied from interface: Program2DepartmentDao

Does the same thing as Program2DepartmentDao.findProgram2DepartmentById(int, java.lang.Integer) with an additional argument called queryString. This queryString argument allows you to override the query string defined in Program2DepartmentDao.findProgram2DepartmentById(int, java.lang.Integer id).

Specified by:
findProgram2DepartmentById in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.findProgram2DepartmentById(int, java.lang.String, java.lang.Integer)

findProgram2DepartmentByLocation

public java.util.Collection findProgram2DepartmentByLocation(Location location)
Specified by:
findProgram2DepartmentByLocation in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.findProgram2DepartmentByLocation(fr.ifremer.allegro.referential.location.Location)

findProgram2DepartmentByLocation

public java.util.Collection findProgram2DepartmentByLocation(int transform,
                                                             Location location)
Description copied from interface: Program2DepartmentDao

Does the same thing as Program2DepartmentDao.findProgram2DepartmentByLocation(fr.ifremer.allegro.referential.location.Location) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then finder results will NOT be transformed during retrieval. If this flag is any of the other constants defined here then finder results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.

Specified by:
findProgram2DepartmentByLocation in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.findProgram2DepartmentByLocation(int, fr.ifremer.allegro.referential.location.Location)

findProgram2DepartmentByLocation

public java.util.Collection findProgram2DepartmentByLocation(java.lang.String queryString,
                                                             Location location)
Description copied from interface: Program2DepartmentDao

Does the same thing as Program2DepartmentDao.findProgram2DepartmentByLocation(fr.ifremer.allegro.referential.location.Location) with an additional argument called queryString. This queryString argument allows you to override the query string defined in Program2DepartmentDao.findProgram2DepartmentByLocation(fr.ifremer.allegro.referential.location.Location).

Specified by:
findProgram2DepartmentByLocation in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.findProgram2DepartmentByLocation(java.lang.String, fr.ifremer.allegro.referential.location.Location)

findProgram2DepartmentByLocation

public java.util.Collection findProgram2DepartmentByLocation(int pageNumber,
                                                             int pageSize,
                                                             Location location)
Description copied from interface: Program2DepartmentDao

Does the same thing as Program2DepartmentDao.findProgram2DepartmentByLocation(fr.ifremer.allegro.referential.location.Location) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findProgram2DepartmentByLocation in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.findProgram2DepartmentByLocation(int, int, fr.ifremer.allegro.referential.location.Location)

findProgram2DepartmentByLocation

public java.util.Collection findProgram2DepartmentByLocation(java.lang.String queryString,
                                                             int pageNumber,
                                                             int pageSize,
                                                             Location location)
Description copied from interface: Program2DepartmentDao

Does the same thing as Program2DepartmentDao.findProgram2DepartmentByLocation(String, fr.ifremer.allegro.referential.location.Location) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findProgram2DepartmentByLocation in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.findProgram2DepartmentByLocation(String, int, int, fr.ifremer.allegro.referential.location.Location)

findProgram2DepartmentByLocation

public java.util.Collection findProgram2DepartmentByLocation(int transform,
                                                             java.lang.String queryString,
                                                             Location location)
Description copied from interface: Program2DepartmentDao

Does the same thing as Program2DepartmentDao.findProgram2DepartmentByLocation(int, fr.ifremer.allegro.referential.location.Location) with an additional argument called queryString. This queryString argument allows you to override the query string defined in Program2DepartmentDao.findProgram2DepartmentByLocation(int, fr.ifremer.allegro.referential.location.Location location).

Specified by:
findProgram2DepartmentByLocation in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.findProgram2DepartmentByLocation(int, String, fr.ifremer.allegro.referential.location.Location)

findProgram2DepartmentByLocation

public java.util.Collection findProgram2DepartmentByLocation(int transform,
                                                             int pageNumber,
                                                             int pageSize,
                                                             Location location)
Description copied from interface: Program2DepartmentDao

Does the same thing as Program2DepartmentDao.findProgram2DepartmentByLocation(int, fr.ifremer.allegro.referential.location.Location) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findProgram2DepartmentByLocation in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.findProgram2DepartmentByLocation(int, int, int, fr.ifremer.allegro.referential.location.Location)

findProgram2DepartmentByLocation

public java.util.Collection findProgram2DepartmentByLocation(int transform,
                                                             java.lang.String queryString,
                                                             int pageNumber,
                                                             int pageSize,
                                                             Location location)
Description copied from interface: Program2DepartmentDao

Does the same thing as Program2DepartmentDao.findProgram2DepartmentByLocation(int, String, fr.ifremer.allegro.referential.location.Location) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findProgram2DepartmentByLocation in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.findProgram2DepartmentByLocation(int, java.lang.String, int, int, fr.ifremer.allegro.referential.location.Location)

findProgram2DepartmentByProgram

public java.util.Collection findProgram2DepartmentByProgram(Program program)
Specified by:
findProgram2DepartmentByProgram in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.findProgram2DepartmentByProgram(fr.ifremer.allegro.administration.programStrategy.Program)

findProgram2DepartmentByProgram

public java.util.Collection findProgram2DepartmentByProgram(int transform,
                                                            Program program)
Description copied from interface: Program2DepartmentDao

Does the same thing as Program2DepartmentDao.findProgram2DepartmentByProgram(fr.ifremer.allegro.administration.programStrategy.Program) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then finder results will NOT be transformed during retrieval. If this flag is any of the other constants defined here then finder results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.

Specified by:
findProgram2DepartmentByProgram in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.findProgram2DepartmentByProgram(int, fr.ifremer.allegro.administration.programStrategy.Program)

findProgram2DepartmentByProgram

public java.util.Collection findProgram2DepartmentByProgram(java.lang.String queryString,
                                                            Program program)
Description copied from interface: Program2DepartmentDao

Does the same thing as Program2DepartmentDao.findProgram2DepartmentByProgram(fr.ifremer.allegro.administration.programStrategy.Program) with an additional argument called queryString. This queryString argument allows you to override the query string defined in Program2DepartmentDao.findProgram2DepartmentByProgram(fr.ifremer.allegro.administration.programStrategy.Program).

Specified by:
findProgram2DepartmentByProgram in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.findProgram2DepartmentByProgram(java.lang.String, fr.ifremer.allegro.administration.programStrategy.Program)

findProgram2DepartmentByProgram

public java.util.Collection findProgram2DepartmentByProgram(int pageNumber,
                                                            int pageSize,
                                                            Program program)
Description copied from interface: Program2DepartmentDao

Does the same thing as Program2DepartmentDao.findProgram2DepartmentByProgram(fr.ifremer.allegro.administration.programStrategy.Program) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findProgram2DepartmentByProgram in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.findProgram2DepartmentByProgram(int, int, fr.ifremer.allegro.administration.programStrategy.Program)

findProgram2DepartmentByProgram

public java.util.Collection findProgram2DepartmentByProgram(java.lang.String queryString,
                                                            int pageNumber,
                                                            int pageSize,
                                                            Program program)
Description copied from interface: Program2DepartmentDao

Does the same thing as Program2DepartmentDao.findProgram2DepartmentByProgram(String, fr.ifremer.allegro.administration.programStrategy.Program) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findProgram2DepartmentByProgram in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.findProgram2DepartmentByProgram(String, int, int, fr.ifremer.allegro.administration.programStrategy.Program)

findProgram2DepartmentByProgram

public java.util.Collection findProgram2DepartmentByProgram(int transform,
                                                            java.lang.String queryString,
                                                            Program program)
Description copied from interface: Program2DepartmentDao

Does the same thing as Program2DepartmentDao.findProgram2DepartmentByProgram(int, fr.ifremer.allegro.administration.programStrategy.Program) with an additional argument called queryString. This queryString argument allows you to override the query string defined in Program2DepartmentDao.findProgram2DepartmentByProgram(int, fr.ifremer.allegro.administration.programStrategy.Program program).

Specified by:
findProgram2DepartmentByProgram in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.findProgram2DepartmentByProgram(int, String, fr.ifremer.allegro.administration.programStrategy.Program)

findProgram2DepartmentByProgram

public java.util.Collection findProgram2DepartmentByProgram(int transform,
                                                            int pageNumber,
                                                            int pageSize,
                                                            Program program)
Description copied from interface: Program2DepartmentDao

Does the same thing as Program2DepartmentDao.findProgram2DepartmentByProgram(int, fr.ifremer.allegro.administration.programStrategy.Program) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findProgram2DepartmentByProgram in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.findProgram2DepartmentByProgram(int, int, int, fr.ifremer.allegro.administration.programStrategy.Program)

findProgram2DepartmentByProgram

public java.util.Collection findProgram2DepartmentByProgram(int transform,
                                                            java.lang.String queryString,
                                                            int pageNumber,
                                                            int pageSize,
                                                            Program program)
Description copied from interface: Program2DepartmentDao

Does the same thing as Program2DepartmentDao.findProgram2DepartmentByProgram(int, String, fr.ifremer.allegro.administration.programStrategy.Program) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findProgram2DepartmentByProgram in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.findProgram2DepartmentByProgram(int, java.lang.String, int, int, fr.ifremer.allegro.administration.programStrategy.Program)

findProgram2DepartmentByDepartment

public java.util.Collection findProgram2DepartmentByDepartment(Department department)
Specified by:
findProgram2DepartmentByDepartment in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.findProgram2DepartmentByDepartment(fr.ifremer.allegro.administration.user.Department)

findProgram2DepartmentByDepartment

public java.util.Collection findProgram2DepartmentByDepartment(int transform,
                                                               Department department)
Description copied from interface: Program2DepartmentDao

Does the same thing as Program2DepartmentDao.findProgram2DepartmentByDepartment(fr.ifremer.allegro.administration.user.Department) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then finder results will NOT be transformed during retrieval. If this flag is any of the other constants defined here then finder results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.

Specified by:
findProgram2DepartmentByDepartment in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.findProgram2DepartmentByDepartment(int, fr.ifremer.allegro.administration.user.Department)

findProgram2DepartmentByDepartment

public java.util.Collection findProgram2DepartmentByDepartment(java.lang.String queryString,
                                                               Department department)
Description copied from interface: Program2DepartmentDao

Does the same thing as Program2DepartmentDao.findProgram2DepartmentByDepartment(fr.ifremer.allegro.administration.user.Department) with an additional argument called queryString. This queryString argument allows you to override the query string defined in Program2DepartmentDao.findProgram2DepartmentByDepartment(fr.ifremer.allegro.administration.user.Department).

Specified by:
findProgram2DepartmentByDepartment in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.findProgram2DepartmentByDepartment(java.lang.String, fr.ifremer.allegro.administration.user.Department)

findProgram2DepartmentByDepartment

public java.util.Collection findProgram2DepartmentByDepartment(int pageNumber,
                                                               int pageSize,
                                                               Department department)
Description copied from interface: Program2DepartmentDao

Does the same thing as Program2DepartmentDao.findProgram2DepartmentByDepartment(fr.ifremer.allegro.administration.user.Department) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findProgram2DepartmentByDepartment in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.findProgram2DepartmentByDepartment(int, int, fr.ifremer.allegro.administration.user.Department)

findProgram2DepartmentByDepartment

public java.util.Collection findProgram2DepartmentByDepartment(java.lang.String queryString,
                                                               int pageNumber,
                                                               int pageSize,
                                                               Department department)
Description copied from interface: Program2DepartmentDao

Does the same thing as Program2DepartmentDao.findProgram2DepartmentByDepartment(String, fr.ifremer.allegro.administration.user.Department) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findProgram2DepartmentByDepartment in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.findProgram2DepartmentByDepartment(String, int, int, fr.ifremer.allegro.administration.user.Department)

findProgram2DepartmentByDepartment

public java.util.Collection findProgram2DepartmentByDepartment(int transform,
                                                               java.lang.String queryString,
                                                               Department department)
Description copied from interface: Program2DepartmentDao

Does the same thing as Program2DepartmentDao.findProgram2DepartmentByDepartment(int, fr.ifremer.allegro.administration.user.Department) with an additional argument called queryString. This queryString argument allows you to override the query string defined in Program2DepartmentDao.findProgram2DepartmentByDepartment(int, fr.ifremer.allegro.administration.user.Department department).

Specified by:
findProgram2DepartmentByDepartment in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.findProgram2DepartmentByDepartment(int, String, fr.ifremer.allegro.administration.user.Department)

findProgram2DepartmentByDepartment

public java.util.Collection findProgram2DepartmentByDepartment(int transform,
                                                               int pageNumber,
                                                               int pageSize,
                                                               Department department)
Description copied from interface: Program2DepartmentDao

Does the same thing as Program2DepartmentDao.findProgram2DepartmentByDepartment(int, fr.ifremer.allegro.administration.user.Department) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findProgram2DepartmentByDepartment in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.findProgram2DepartmentByDepartment(int, int, int, fr.ifremer.allegro.administration.user.Department)

findProgram2DepartmentByDepartment

public java.util.Collection findProgram2DepartmentByDepartment(int transform,
                                                               java.lang.String queryString,
                                                               int pageNumber,
                                                               int pageSize,
                                                               Department department)
Description copied from interface: Program2DepartmentDao

Does the same thing as Program2DepartmentDao.findProgram2DepartmentByDepartment(int, String, fr.ifremer.allegro.administration.user.Department) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findProgram2DepartmentByDepartment in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.findProgram2DepartmentByDepartment(int, java.lang.String, int, int, fr.ifremer.allegro.administration.user.Department)

findProgram2DepartmentByProgramPrivilege

public java.util.Collection findProgram2DepartmentByProgramPrivilege(ProgramPrivilege programPrivilege)
Specified by:
findProgram2DepartmentByProgramPrivilege in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.findProgram2DepartmentByProgramPrivilege(fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege)

findProgram2DepartmentByProgramPrivilege

public java.util.Collection findProgram2DepartmentByProgramPrivilege(int transform,
                                                                     ProgramPrivilege programPrivilege)
Description copied from interface: Program2DepartmentDao

Does the same thing as Program2DepartmentDao.findProgram2DepartmentByProgramPrivilege(fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then finder results will NOT be transformed during retrieval. If this flag is any of the other constants defined here then finder results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.

Specified by:
findProgram2DepartmentByProgramPrivilege in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.findProgram2DepartmentByProgramPrivilege(int, fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege)

findProgram2DepartmentByProgramPrivilege

public java.util.Collection findProgram2DepartmentByProgramPrivilege(java.lang.String queryString,
                                                                     ProgramPrivilege programPrivilege)
Description copied from interface: Program2DepartmentDao

Does the same thing as Program2DepartmentDao.findProgram2DepartmentByProgramPrivilege(fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege) with an additional argument called queryString. This queryString argument allows you to override the query string defined in Program2DepartmentDao.findProgram2DepartmentByProgramPrivilege(fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege).

Specified by:
findProgram2DepartmentByProgramPrivilege in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.findProgram2DepartmentByProgramPrivilege(java.lang.String, fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege)

findProgram2DepartmentByProgramPrivilege

public java.util.Collection findProgram2DepartmentByProgramPrivilege(int pageNumber,
                                                                     int pageSize,
                                                                     ProgramPrivilege programPrivilege)
Description copied from interface: Program2DepartmentDao

Does the same thing as Program2DepartmentDao.findProgram2DepartmentByProgramPrivilege(fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findProgram2DepartmentByProgramPrivilege in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.findProgram2DepartmentByProgramPrivilege(int, int, fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege)

findProgram2DepartmentByProgramPrivilege

public java.util.Collection findProgram2DepartmentByProgramPrivilege(java.lang.String queryString,
                                                                     int pageNumber,
                                                                     int pageSize,
                                                                     ProgramPrivilege programPrivilege)
Description copied from interface: Program2DepartmentDao

Does the same thing as Program2DepartmentDao.findProgram2DepartmentByProgramPrivilege(String, fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findProgram2DepartmentByProgramPrivilege in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.findProgram2DepartmentByProgramPrivilege(String, int, int, fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege)

findProgram2DepartmentByProgramPrivilege

public java.util.Collection findProgram2DepartmentByProgramPrivilege(int transform,
                                                                     java.lang.String queryString,
                                                                     ProgramPrivilege programPrivilege)
Description copied from interface: Program2DepartmentDao

Does the same thing as Program2DepartmentDao.findProgram2DepartmentByProgramPrivilege(int, fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege) with an additional argument called queryString. This queryString argument allows you to override the query string defined in Program2DepartmentDao.findProgram2DepartmentByProgramPrivilege(int, fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege programPrivilege).

Specified by:
findProgram2DepartmentByProgramPrivilege in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.findProgram2DepartmentByProgramPrivilege(int, String, fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege)

findProgram2DepartmentByProgramPrivilege

public java.util.Collection findProgram2DepartmentByProgramPrivilege(int transform,
                                                                     int pageNumber,
                                                                     int pageSize,
                                                                     ProgramPrivilege programPrivilege)
Description copied from interface: Program2DepartmentDao

Does the same thing as Program2DepartmentDao.findProgram2DepartmentByProgramPrivilege(int, fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findProgram2DepartmentByProgramPrivilege in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.findProgram2DepartmentByProgramPrivilege(int, int, int, fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege)

findProgram2DepartmentByProgramPrivilege

public java.util.Collection findProgram2DepartmentByProgramPrivilege(int transform,
                                                                     java.lang.String queryString,
                                                                     int pageNumber,
                                                                     int pageSize,
                                                                     ProgramPrivilege programPrivilege)
Description copied from interface: Program2DepartmentDao

Does the same thing as Program2DepartmentDao.findProgram2DepartmentByProgramPrivilege(int, String, fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findProgram2DepartmentByProgramPrivilege in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.findProgram2DepartmentByProgramPrivilege(int, java.lang.String, int, int, fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege)

findProgram2DepartmentByNaturalId

public Program2Department findProgram2DepartmentByNaturalId(java.lang.Integer id)
Specified by:
findProgram2DepartmentByNaturalId in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.findProgram2DepartmentByNaturalId(java.lang.Integer)

findProgram2DepartmentByNaturalId

public java.lang.Object findProgram2DepartmentByNaturalId(int transform,
                                                          java.lang.Integer id)
Description copied from interface: Program2DepartmentDao

Does the same thing as Program2DepartmentDao.findProgram2DepartmentByNaturalId(java.lang.Integer) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then finder results will NOT be transformed during retrieval. If this flag is any of the other constants defined here then finder results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.

Specified by:
findProgram2DepartmentByNaturalId in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.findProgram2DepartmentByNaturalId(int, java.lang.Integer)

findProgram2DepartmentByNaturalId

public Program2Department findProgram2DepartmentByNaturalId(java.lang.String queryString,
                                                            java.lang.Integer id)
Description copied from interface: Program2DepartmentDao

Does the same thing as Program2DepartmentDao.findProgram2DepartmentByNaturalId(java.lang.Integer) with an additional argument called queryString. This queryString argument allows you to override the query string defined in Program2DepartmentDao.findProgram2DepartmentByNaturalId(java.lang.Integer).

Specified by:
findProgram2DepartmentByNaturalId in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.findProgram2DepartmentByNaturalId(java.lang.String, java.lang.Integer)

findProgram2DepartmentByNaturalId

public java.lang.Object findProgram2DepartmentByNaturalId(int transform,
                                                          java.lang.String queryString,
                                                          java.lang.Integer id)
Description copied from interface: Program2DepartmentDao

Does the same thing as Program2DepartmentDao.findProgram2DepartmentByNaturalId(int, java.lang.Integer) with an additional argument called queryString. This queryString argument allows you to override the query string defined in Program2DepartmentDao.findProgram2DepartmentByNaturalId(int, java.lang.Integer id).

Specified by:
findProgram2DepartmentByNaturalId in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.findProgram2DepartmentByNaturalId(int, java.lang.String, java.lang.Integer)

createFromClusterProgram2Department

public Program2Department createFromClusterProgram2Department(ClusterProgram2Department clusterProgram2Department)
Specified by:
createFromClusterProgram2Department in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.createFromClusterProgram2Department(fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterProgram2Department)

handleCreateFromClusterProgram2Department

protected abstract Program2Department handleCreateFromClusterProgram2Department(ClusterProgram2Department clusterProgram2Department)
                                                                         throws java.lang.Exception
Performs the core logic for createFromClusterProgram2Department(fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterProgram2Department)

Throws:
java.lang.Exception

transformEntity

protected java.lang.Object transformEntity(int transform,
                                           Program2Department entity)
Allows transformation of entities into value objects (or something else for that matter), when the transform flag is set to one of the constants defined in fr.ifremer.allegro.administration.programStrategy.Program2DepartmentDao, please note that the Program2DepartmentDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself will be returned.

This method will return instances of these types:

If the integer argument value is unknown Program2DepartmentDao.TRANSFORM_NONE is assumed.

Parameters:
transform - one of the constants declared in Program2DepartmentDao
entity - an entity that was found
Returns:
the transformed entity (i.e. new value object, etc)
See Also:
transformEntities(int,java.util.Collection)

transformEntities

protected void transformEntities(int transform,
                                 java.util.Collection entities)
Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.administration.programStrategy.Program2Department) method. This method does not instantiate a new collection.

This method is to be used internally only.

Parameters:
transform - one of the constants declared in fr.ifremer.allegro.administration.programStrategy.Program2DepartmentDao
entities - the collection of entities to transform
See Also:
transformEntity(int,fr.ifremer.allegro.administration.programStrategy.Program2Department)

toEntity

protected Program2Department toEntity(java.lang.Object[] row)

toRemoteProgram2DepartmentFullVOCollection

public final void toRemoteProgram2DepartmentFullVOCollection(java.util.Collection entities)
Description copied from interface: Program2DepartmentDao
Converts this DAO's entity to a Collection of instances of type RemoteProgram2DepartmentFullVO.

Specified by:
toRemoteProgram2DepartmentFullVOCollection in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.toRemoteProgram2DepartmentFullVOCollection(java.util.Collection)

toRemoteProgram2DepartmentFullVOArray

public final RemoteProgram2DepartmentFullVO[] toRemoteProgram2DepartmentFullVOArray(java.util.Collection entities)
Description copied from interface: Program2DepartmentDao
Converts this DAO's entity to an array of instances of type RemoteProgram2DepartmentFullVO.

Specified by:
toRemoteProgram2DepartmentFullVOArray in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.toRemoteProgram2DepartmentFullVOArray(java.util.Collection)

toRemoteProgram2DepartmentFullVO

protected RemoteProgram2DepartmentFullVO toRemoteProgram2DepartmentFullVO(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. This implementation exists for convenience reasons only. It needs only be overridden in the Program2DepartmentDaoImpl class if you intend to use reporting queries.

See Also:
Program2DepartmentDao.toRemoteProgram2DepartmentFullVO(fr.ifremer.allegro.administration.programStrategy.Program2Department)

remoteProgram2DepartmentFullVOToEntityCollection

public final void remoteProgram2DepartmentFullVOToEntityCollection(java.util.Collection instances)
Description copied from interface: Program2DepartmentDao
Converts a Collection of instances of type RemoteProgram2DepartmentFullVO to this DAO's entity.

Specified by:
remoteProgram2DepartmentFullVOToEntityCollection in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.remoteProgram2DepartmentFullVOToEntityCollection(java.util.Collection)

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
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
See Also:
Program2DepartmentDao.toRemoteProgram2DepartmentFullVO(fr.ifremer.allegro.administration.programStrategy.Program2Department)

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
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)

toRemoteProgram2DepartmentNaturalIdCollection

public final void toRemoteProgram2DepartmentNaturalIdCollection(java.util.Collection entities)
Description copied from interface: Program2DepartmentDao
Converts this DAO's entity to a Collection of instances of type RemoteProgram2DepartmentNaturalId.

Specified by:
toRemoteProgram2DepartmentNaturalIdCollection in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.toRemoteProgram2DepartmentNaturalIdCollection(java.util.Collection)

toRemoteProgram2DepartmentNaturalIdArray

public final RemoteProgram2DepartmentNaturalId[] toRemoteProgram2DepartmentNaturalIdArray(java.util.Collection entities)
Description copied from interface: Program2DepartmentDao
Converts this DAO's entity to an array of instances of type RemoteProgram2DepartmentNaturalId.

Specified by:
toRemoteProgram2DepartmentNaturalIdArray in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.toRemoteProgram2DepartmentNaturalIdArray(java.util.Collection)

toRemoteProgram2DepartmentNaturalId

protected RemoteProgram2DepartmentNaturalId toRemoteProgram2DepartmentNaturalId(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. This implementation exists for convenience reasons only. It needs only be overridden in the Program2DepartmentDaoImpl class if you intend to use reporting queries.

See Also:
Program2DepartmentDao.toRemoteProgram2DepartmentNaturalId(fr.ifremer.allegro.administration.programStrategy.Program2Department)

remoteProgram2DepartmentNaturalIdToEntityCollection

public final void remoteProgram2DepartmentNaturalIdToEntityCollection(java.util.Collection instances)
Description copied from interface: Program2DepartmentDao
Converts a Collection of instances of type RemoteProgram2DepartmentNaturalId to this DAO's entity.

Specified by:
remoteProgram2DepartmentNaturalIdToEntityCollection in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.remoteProgram2DepartmentNaturalIdToEntityCollection(java.util.Collection)

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
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
See Also:
Program2DepartmentDao.toRemoteProgram2DepartmentNaturalId(fr.ifremer.allegro.administration.programStrategy.Program2Department)

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
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)

toClusterProgram2DepartmentCollection

public final void toClusterProgram2DepartmentCollection(java.util.Collection entities)
Description copied from interface: Program2DepartmentDao
Converts this DAO's entity to a Collection of instances of type ClusterProgram2Department.

Specified by:
toClusterProgram2DepartmentCollection in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.toClusterProgram2DepartmentCollection(java.util.Collection)

toClusterProgram2DepartmentArray

public final ClusterProgram2Department[] toClusterProgram2DepartmentArray(java.util.Collection entities)
Description copied from interface: Program2DepartmentDao
Converts this DAO's entity to an array of instances of type ClusterProgram2Department.

Specified by:
toClusterProgram2DepartmentArray in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.toClusterProgram2DepartmentArray(java.util.Collection)

toClusterProgram2Department

protected ClusterProgram2Department toClusterProgram2Department(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. This implementation exists for convenience reasons only. It needs only be overridden in the Program2DepartmentDaoImpl class if you intend to use reporting queries.

See Also:
Program2DepartmentDao.toClusterProgram2Department(fr.ifremer.allegro.administration.programStrategy.Program2Department)

clusterProgram2DepartmentToEntityCollection

public final void clusterProgram2DepartmentToEntityCollection(java.util.Collection instances)
Description copied from interface: Program2DepartmentDao
Converts a Collection of instances of type ClusterProgram2Department to this DAO's entity.

Specified by:
clusterProgram2DepartmentToEntityCollection in interface Program2DepartmentDao
See Also:
Program2DepartmentDao.clusterProgram2DepartmentToEntityCollection(java.util.Collection)

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
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
See Also:
Program2DepartmentDao.toClusterProgram2Department(fr.ifremer.allegro.administration.programStrategy.Program2Department)

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
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)

getPrincipal

protected java.security.Principal getPrincipal()
Gets the current principal if one has been set, otherwise returns null.

Returns:
the current principal

search

public PaginationResult search(int transform,
                               int pageNumber,
                               int pageSize,
                               Search search)
Description copied from interface: Program2DepartmentDao
Does the same thing as {@link #search(int, fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize. These flags allow you to limit your data to a specified page number and size.

Specified by:
search in interface Program2DepartmentDao
Parameters:
transform - the transformation flag.
pageNumber - the page number in the data to retrieve
pageSize - the size of the page to retrieve.
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search wrapped in a PaginationResult instance.
See Also:
Program2DepartmentDao.search(int, int, int, fr.ifremer.allegro.Search)

search

public PaginationResult search(int pageNumber,
                               int pageSize,
                               Search search)
Description copied from interface: Program2DepartmentDao
Does the same thing as {@link #search(fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize. These flags allow you to limit your data to a specified page number and size.

Specified by:
search in interface Program2DepartmentDao
Parameters:
pageNumber - the page number in the data to retrieve
pageSize - the size of the page to retrieve.
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search wrapped in a PaginationResult instance.
See Also:
Program2DepartmentDao.search(int, int, fr.ifremer.allegro.Search)

search

public java.util.Set search(int transform,
                            Search search)
Description copied from interface: Program2DepartmentDao
Does the same thing as Program2DepartmentDao.search(fr.ifremer.allegro.Search) but with an additional flag called transform. If this flag is set to TRANSFORM_NONE then finder results will NOT be transformed during retrieval. If this flag is any of the other constants defined here then results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.

Specified by:
search in interface Program2DepartmentDao
Parameters:
transform - the transformation flag.
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search.
See Also:
Program2DepartmentDao.search(int, fr.ifremer.allegro.Search)

search

public java.util.Set search(Search search)
Description copied from interface: Program2DepartmentDao
Performs a search using the parameters specified in the given search object.

Specified by:
search in interface Program2DepartmentDao
Parameters:
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search.
See Also:
Program2DepartmentDao.search(fr.ifremer.allegro.Search)


Copyright © 2008-2010 IFREMER. All Rights Reserved.