fr.ifremer.allegro.administration.programStrategy
Interface Program2DepartmentDao

All Known Implementing Classes:
Program2DepartmentDaoBase, Program2DepartmentDaoImpl

public interface Program2DepartmentDao

See Also:
Program2Department

Field Summary
static int TRANSFORM_CLUSTERPROGRAM2DEPARTMENT
          This constant is used as a transformation flag; entities can be converted automatically into value objects or other types, different methods in a class implementing this interface support this feature: look for an int parameter called transform.
static int TRANSFORM_NONE
          This constant is used as a transformation flag; entities can be converted automatically into value objects or other types, different methods in a class implementing this interface support this feature: look for an int parameter called transform.
static int TRANSFORM_REMOTEPROGRAM2DEPARTMENTFULLVO
          This constant is used as a transformation flag; entities can be converted automatically into value objects or other types, different methods in a class implementing this interface support this feature: look for an int parameter called transform.
static int TRANSFORM_REMOTEPROGRAM2DEPARTMENTNATURALID
          This constant is used as a transformation flag; entities can be converted automatically into value objects or other types, different methods in a class implementing this interface support this feature: look for an int parameter called transform.
 
Method Summary
 Program2Department clusterProgram2DepartmentToEntity(ClusterProgram2Department clusterProgram2Department)
          Converts an instance of type ClusterProgram2Department to this DAO's entity.
 void clusterProgram2DepartmentToEntity(ClusterProgram2Department source, Program2Department target, boolean copyIfNull)
          Copies the fields of ClusterProgram2Department to the specified entity.
 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 getAllProgram2Department() with an additional flag called transform.
 java.util.Collection getAllProgram2Department(int pageNumber, int pageSize)
           Does the same thing as 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 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 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 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 getAllProgram2Department() with an additional argument called queryString.
 java.util.Collection getAllProgram2Department(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as getAllProgram2Department(String) with an additional two arguments called pageNumber and pageSize.
 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 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 loadAll() with an additional flag called transform.
 java.util.Collection loadAll(int pageNumber, int pageSize)
           Does the same thing as 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 loadAll(int) with an additional two arguments called pageNumber and pageSize.
 Program2Department remoteProgram2DepartmentFullVOToEntity(RemoteProgram2DepartmentFullVO remoteProgram2DepartmentFullVO)
          Converts an instance of type RemoteProgram2DepartmentFullVO to this DAO's entity.
 void remoteProgram2DepartmentFullVOToEntity(RemoteProgram2DepartmentFullVO source, Program2Department target, boolean copyIfNull)
          Copies the fields of RemoteProgram2DepartmentFullVO to the specified entity.
 void remoteProgram2DepartmentFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteProgram2DepartmentFullVO to this DAO's entity.
 Program2Department remoteProgram2DepartmentNaturalIdToEntity(RemoteProgram2DepartmentNaturalId remoteProgram2DepartmentNaturalId)
          Converts an instance of type RemoteProgram2DepartmentNaturalId to this DAO's entity.
 void remoteProgram2DepartmentNaturalIdToEntity(RemoteProgram2DepartmentNaturalId source, Program2Department target, boolean copyIfNull)
          Copies the fields of RemoteProgram2DepartmentNaturalId to the specified entity.
 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 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.
 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.
 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.
 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.
 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.
 

Field Detail

TRANSFORM_NONE

static final int TRANSFORM_NONE
This constant is used as a transformation flag; entities can be converted automatically into value objects or other types, different methods in a class implementing this interface support this feature: look for an int parameter called transform.

This specific flag denotes no transformation will occur.

See Also:
Constant Field Values

TRANSFORM_REMOTEPROGRAM2DEPARTMENTFULLVO

static final int TRANSFORM_REMOTEPROGRAM2DEPARTMENTFULLVO
This constant is used as a transformation flag; entities can be converted automatically into value objects or other types, different methods in a class implementing this interface support this feature: look for an int parameter called transform.

This specific flag denotes entities must be transformed into objects of type RemoteProgram2DepartmentFullVO.

See Also:
Constant Field Values

TRANSFORM_REMOTEPROGRAM2DEPARTMENTNATURALID

static final int TRANSFORM_REMOTEPROGRAM2DEPARTMENTNATURALID
This constant is used as a transformation flag; entities can be converted automatically into value objects or other types, different methods in a class implementing this interface support this feature: look for an int parameter called transform.

This specific flag denotes entities must be transformed into objects of type RemoteProgram2DepartmentNaturalId.

See Also:
Constant Field Values

TRANSFORM_CLUSTERPROGRAM2DEPARTMENT

static final int TRANSFORM_CLUSTERPROGRAM2DEPARTMENT
This constant is used as a transformation flag; entities can be converted automatically into value objects or other types, different methods in a class implementing this interface support this feature: look for an int parameter called transform.

This specific flag denotes entities must be transformed into objects of type ClusterProgram2Department.

See Also:
Constant Field Values
Method Detail

toRemoteProgram2DepartmentFullVO

void toRemoteProgram2DepartmentFullVO(Program2Department source,
                                      RemoteProgram2DepartmentFullVO target)
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).


toRemoteProgram2DepartmentFullVO

RemoteProgram2DepartmentFullVO toRemoteProgram2DepartmentFullVO(Program2Department entity)
Converts this DAO's entity to an object of type RemoteProgram2DepartmentFullVO.


toRemoteProgram2DepartmentFullVOCollection

void toRemoteProgram2DepartmentFullVOCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteProgram2DepartmentFullVO.


toRemoteProgram2DepartmentFullVOArray

RemoteProgram2DepartmentFullVO[] toRemoteProgram2DepartmentFullVOArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteProgram2DepartmentFullVO.


remoteProgram2DepartmentFullVOToEntity

void remoteProgram2DepartmentFullVOToEntity(RemoteProgram2DepartmentFullVO source,
                                            Program2Department target,
                                            boolean copyIfNull)
Copies the fields of RemoteProgram2DepartmentFullVO to the specified entity.

Parameters:
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.

remoteProgram2DepartmentFullVOToEntity

Program2Department remoteProgram2DepartmentFullVOToEntity(RemoteProgram2DepartmentFullVO remoteProgram2DepartmentFullVO)
Converts an instance of type RemoteProgram2DepartmentFullVO to this DAO's entity.


remoteProgram2DepartmentFullVOToEntityCollection

void remoteProgram2DepartmentFullVOToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteProgram2DepartmentFullVO to this DAO's entity.


toRemoteProgram2DepartmentNaturalId

void toRemoteProgram2DepartmentNaturalId(Program2Department source,
                                         RemoteProgram2DepartmentNaturalId target)
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).


toRemoteProgram2DepartmentNaturalId

RemoteProgram2DepartmentNaturalId toRemoteProgram2DepartmentNaturalId(Program2Department entity)
Converts this DAO's entity to an object of type RemoteProgram2DepartmentNaturalId.


toRemoteProgram2DepartmentNaturalIdCollection

void toRemoteProgram2DepartmentNaturalIdCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteProgram2DepartmentNaturalId.


toRemoteProgram2DepartmentNaturalIdArray

RemoteProgram2DepartmentNaturalId[] toRemoteProgram2DepartmentNaturalIdArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteProgram2DepartmentNaturalId.


remoteProgram2DepartmentNaturalIdToEntity

void remoteProgram2DepartmentNaturalIdToEntity(RemoteProgram2DepartmentNaturalId source,
                                               Program2Department target,
                                               boolean copyIfNull)
Copies the fields of RemoteProgram2DepartmentNaturalId to the specified entity.

Parameters:
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.

remoteProgram2DepartmentNaturalIdToEntity

Program2Department remoteProgram2DepartmentNaturalIdToEntity(RemoteProgram2DepartmentNaturalId remoteProgram2DepartmentNaturalId)
Converts an instance of type RemoteProgram2DepartmentNaturalId to this DAO's entity.


remoteProgram2DepartmentNaturalIdToEntityCollection

void remoteProgram2DepartmentNaturalIdToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteProgram2DepartmentNaturalId to this DAO's entity.


toClusterProgram2Department

void toClusterProgram2Department(Program2Department source,
                                 ClusterProgram2Department target)
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).


toClusterProgram2Department

ClusterProgram2Department toClusterProgram2Department(Program2Department entity)
Converts this DAO's entity to an object of type ClusterProgram2Department.


toClusterProgram2DepartmentCollection

void toClusterProgram2DepartmentCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type ClusterProgram2Department.


toClusterProgram2DepartmentArray

ClusterProgram2Department[] toClusterProgram2DepartmentArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type ClusterProgram2Department.


clusterProgram2DepartmentToEntity

void clusterProgram2DepartmentToEntity(ClusterProgram2Department source,
                                       Program2Department target,
                                       boolean copyIfNull)
Copies the fields of ClusterProgram2Department to the specified entity.

Parameters:
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.

clusterProgram2DepartmentToEntity

Program2Department clusterProgram2DepartmentToEntity(ClusterProgram2Department clusterProgram2Department)
Converts an instance of type ClusterProgram2Department to this DAO's entity.


clusterProgram2DepartmentToEntityCollection

void clusterProgram2DepartmentToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type ClusterProgram2Department to this DAO's entity.


load

Program2Department load(java.lang.Integer id)
Loads an instance of fr.ifremer.allegro.administration.programStrategy.Program2Department from the persistent store.


load

java.lang.Object load(int transform,
                      java.lang.Integer id)

Does the same thing as 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.

Parameters:
id - identifier of the entity to load
Returns:
either the entity or the object transformed from the entity.

loadAll

java.util.Collection loadAll()
Loads all entities of type Program2Department.

Returns:
the loaded entities.

loadAll

java.util.Collection loadAll(int transform)

Does the same thing as 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.

Parameters:
transform - the flag indicating what transformation to use.
Returns:
the loaded entities.

loadAll

java.util.Collection loadAll(int pageNumber,
                             int pageSize)

Does the same thing as 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.

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.

loadAll

java.util.Collection loadAll(int transform,
                             int pageNumber,
                             int pageSize)

Does the same thing as 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.

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.

create

Program2Department create(Program2Department program2Department)
Creates an instance of fr.ifremer.allegro.administration.programStrategy.Program2Department and adds it to the persistent store.


create

java.lang.Object create(int transform,
                        Program2Department program2Department)

Does the same thing as 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.


create

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

Parameters:
entities - the collection of fr.ifremer.allegro.administration.programStrategy.Program2Department instances to create.
Returns:
the created instances.

create

java.util.Collection create(int transform,
                            java.util.Collection entities)

Does the same thing as 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.


create

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.


create

java.lang.Object create(int transform,
                        Program program,
                        Location location,
                        ProgramPrivilege programPrivilege,
                        Department department)

Does the same thing as 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.


create

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.


create

java.lang.Object create(int transform,
                        Department department,
                        Program program,
                        ProgramPrivilege programPrivilege)

Does the same thing as 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.


update

void update(Program2Department program2Department)
Updates the program2Department instance in the persistent store.


update

void update(java.util.Collection entities)
Updates all instances in the entities collection in the persistent store.


remove

void remove(Program2Department program2Department)
Removes the instance of fr.ifremer.allegro.administration.programStrategy.Program2Department from the persistent store.


remove

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


remove

void remove(java.util.Collection entities)
Removes all entities in the given entities collection.


getAllProgram2Department

java.util.Collection getAllProgram2Department()

getAllProgram2Department

java.util.Collection getAllProgram2Department(java.lang.String queryString)

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


getAllProgram2Department

java.util.Collection getAllProgram2Department(int pageNumber,
                                              int pageSize)

Does the same thing as 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.


getAllProgram2Department

java.util.Collection getAllProgram2Department(java.lang.String queryString,
                                              int pageNumber,
                                              int pageSize)

Does the same thing as 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.


getAllProgram2Department

java.util.Collection getAllProgram2Department(int transform)

Does the same thing as 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.


getAllProgram2Department

java.util.Collection getAllProgram2Department(int transform,
                                              int pageNumber,
                                              int pageSize)

Does the same thing as 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.


getAllProgram2Department

java.util.Collection getAllProgram2Department(int transform,
                                              java.lang.String queryString)

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


getAllProgram2Department

java.util.Collection getAllProgram2Department(int transform,
                                              java.lang.String queryString,
                                              int pageNumber,
                                              int pageSize)

Does the same thing as 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.


findProgram2DepartmentById

Program2Department findProgram2DepartmentById(java.lang.Integer id)

findProgram2DepartmentById

Program2Department findProgram2DepartmentById(java.lang.String queryString,
                                              java.lang.Integer id)

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


findProgram2DepartmentById

java.lang.Object findProgram2DepartmentById(int transform,
                                            java.lang.Integer id)

Does the same thing as 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.


findProgram2DepartmentById

java.lang.Object findProgram2DepartmentById(int transform,
                                            java.lang.String queryString,
                                            java.lang.Integer id)

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


findProgram2DepartmentByLocation

java.util.Collection findProgram2DepartmentByLocation(Location location)

findProgram2DepartmentByLocation

java.util.Collection findProgram2DepartmentByLocation(java.lang.String queryString,
                                                      Location location)

Does the same thing as 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 findProgram2DepartmentByLocation(fr.ifremer.allegro.referential.location.Location).


findProgram2DepartmentByLocation

java.util.Collection findProgram2DepartmentByLocation(int pageNumber,
                                                      int pageSize,
                                                      Location location)

Does the same thing as 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.


findProgram2DepartmentByLocation

java.util.Collection findProgram2DepartmentByLocation(java.lang.String queryString,
                                                      int pageNumber,
                                                      int pageSize,
                                                      Location location)

Does the same thing as 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.


findProgram2DepartmentByLocation

java.util.Collection findProgram2DepartmentByLocation(int transform,
                                                      Location location)

Does the same thing as 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.


findProgram2DepartmentByLocation

java.util.Collection findProgram2DepartmentByLocation(int transform,
                                                      int pageNumber,
                                                      int pageSize,
                                                      Location location)

Does the same thing as 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.


findProgram2DepartmentByLocation

java.util.Collection findProgram2DepartmentByLocation(int transform,
                                                      java.lang.String queryString,
                                                      Location location)

Does the same thing as 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 findProgram2DepartmentByLocation(int, fr.ifremer.allegro.referential.location.Location location).


findProgram2DepartmentByLocation

java.util.Collection findProgram2DepartmentByLocation(int transform,
                                                      java.lang.String queryString,
                                                      int pageNumber,
                                                      int pageSize,
                                                      Location location)

Does the same thing as 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.


findProgram2DepartmentByProgram

java.util.Collection findProgram2DepartmentByProgram(Program program)

findProgram2DepartmentByProgram

java.util.Collection findProgram2DepartmentByProgram(java.lang.String queryString,
                                                     Program program)

Does the same thing as 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 findProgram2DepartmentByProgram(fr.ifremer.allegro.administration.programStrategy.Program).


findProgram2DepartmentByProgram

java.util.Collection findProgram2DepartmentByProgram(int pageNumber,
                                                     int pageSize,
                                                     Program program)

Does the same thing as 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.


findProgram2DepartmentByProgram

java.util.Collection findProgram2DepartmentByProgram(java.lang.String queryString,
                                                     int pageNumber,
                                                     int pageSize,
                                                     Program program)

Does the same thing as 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.


findProgram2DepartmentByProgram

java.util.Collection findProgram2DepartmentByProgram(int transform,
                                                     Program program)

Does the same thing as 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.


findProgram2DepartmentByProgram

java.util.Collection findProgram2DepartmentByProgram(int transform,
                                                     int pageNumber,
                                                     int pageSize,
                                                     Program program)

Does the same thing as 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.


findProgram2DepartmentByProgram

java.util.Collection findProgram2DepartmentByProgram(int transform,
                                                     java.lang.String queryString,
                                                     Program program)

Does the same thing as 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 findProgram2DepartmentByProgram(int, fr.ifremer.allegro.administration.programStrategy.Program program).


findProgram2DepartmentByProgram

java.util.Collection findProgram2DepartmentByProgram(int transform,
                                                     java.lang.String queryString,
                                                     int pageNumber,
                                                     int pageSize,
                                                     Program program)

Does the same thing as 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.


findProgram2DepartmentByDepartment

java.util.Collection findProgram2DepartmentByDepartment(Department department)

findProgram2DepartmentByDepartment

java.util.Collection findProgram2DepartmentByDepartment(java.lang.String queryString,
                                                        Department department)

Does the same thing as 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 findProgram2DepartmentByDepartment(fr.ifremer.allegro.administration.user.Department).


findProgram2DepartmentByDepartment

java.util.Collection findProgram2DepartmentByDepartment(int pageNumber,
                                                        int pageSize,
                                                        Department department)

Does the same thing as 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.


findProgram2DepartmentByDepartment

java.util.Collection findProgram2DepartmentByDepartment(java.lang.String queryString,
                                                        int pageNumber,
                                                        int pageSize,
                                                        Department department)

Does the same thing as 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.


findProgram2DepartmentByDepartment

java.util.Collection findProgram2DepartmentByDepartment(int transform,
                                                        Department department)

Does the same thing as 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.


findProgram2DepartmentByDepartment

java.util.Collection findProgram2DepartmentByDepartment(int transform,
                                                        int pageNumber,
                                                        int pageSize,
                                                        Department department)

Does the same thing as 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.


findProgram2DepartmentByDepartment

java.util.Collection findProgram2DepartmentByDepartment(int transform,
                                                        java.lang.String queryString,
                                                        Department department)

Does the same thing as 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 findProgram2DepartmentByDepartment(int, fr.ifremer.allegro.administration.user.Department department).


findProgram2DepartmentByDepartment

java.util.Collection findProgram2DepartmentByDepartment(int transform,
                                                        java.lang.String queryString,
                                                        int pageNumber,
                                                        int pageSize,
                                                        Department department)

Does the same thing as 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.


findProgram2DepartmentByProgramPrivilege

java.util.Collection findProgram2DepartmentByProgramPrivilege(ProgramPrivilege programPrivilege)

findProgram2DepartmentByProgramPrivilege

java.util.Collection findProgram2DepartmentByProgramPrivilege(java.lang.String queryString,
                                                              ProgramPrivilege programPrivilege)

Does the same thing as 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 findProgram2DepartmentByProgramPrivilege(fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege).


findProgram2DepartmentByProgramPrivilege

java.util.Collection findProgram2DepartmentByProgramPrivilege(int pageNumber,
                                                              int pageSize,
                                                              ProgramPrivilege programPrivilege)

Does the same thing as 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.


findProgram2DepartmentByProgramPrivilege

java.util.Collection findProgram2DepartmentByProgramPrivilege(java.lang.String queryString,
                                                              int pageNumber,
                                                              int pageSize,
                                                              ProgramPrivilege programPrivilege)

Does the same thing as 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.


findProgram2DepartmentByProgramPrivilege

java.util.Collection findProgram2DepartmentByProgramPrivilege(int transform,
                                                              ProgramPrivilege programPrivilege)

Does the same thing as 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.


findProgram2DepartmentByProgramPrivilege

java.util.Collection findProgram2DepartmentByProgramPrivilege(int transform,
                                                              int pageNumber,
                                                              int pageSize,
                                                              ProgramPrivilege programPrivilege)

Does the same thing as 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.


findProgram2DepartmentByProgramPrivilege

java.util.Collection findProgram2DepartmentByProgramPrivilege(int transform,
                                                              java.lang.String queryString,
                                                              ProgramPrivilege programPrivilege)

Does the same thing as 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 findProgram2DepartmentByProgramPrivilege(int, fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege programPrivilege).


findProgram2DepartmentByProgramPrivilege

java.util.Collection findProgram2DepartmentByProgramPrivilege(int transform,
                                                              java.lang.String queryString,
                                                              int pageNumber,
                                                              int pageSize,
                                                              ProgramPrivilege programPrivilege)

Does the same thing as 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.


findProgram2DepartmentByNaturalId

Program2Department findProgram2DepartmentByNaturalId(java.lang.Integer id)

findProgram2DepartmentByNaturalId

Program2Department findProgram2DepartmentByNaturalId(java.lang.String queryString,
                                                     java.lang.Integer id)

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


findProgram2DepartmentByNaturalId

java.lang.Object findProgram2DepartmentByNaturalId(int transform,
                                                   java.lang.Integer id)

Does the same thing as 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.


findProgram2DepartmentByNaturalId

java.lang.Object findProgram2DepartmentByNaturalId(int transform,
                                                   java.lang.String queryString,
                                                   java.lang.Integer id)

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


createFromClusterProgram2Department

Program2Department createFromClusterProgram2Department(ClusterProgram2Department clusterProgram2Department)

search

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. These flags allow you to limit your data to a specified page number and size.

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.

search

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. These flags allow you to limit your data to a specified page number and size.

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.

search

java.util.Set search(int transform,
                     Search search)
Does the same thing as 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.

Parameters:
transform - the transformation flag.
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search.

search

java.util.Set search(Search search)
Performs a search using the parameters specified in the given search object.

Parameters:
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search.


Copyright © 2008-2010 IFREMER. All Rights Reserved.