fr.ifremer.allegro.administration.programStrategy
Interface Program2PersonDao

All Known Implementing Classes:
Program2PersonDaoBase, Program2PersonDaoImpl

public interface Program2PersonDao

See Also:
Program2Person

Field Summary
static int TRANSFORM_CLUSTERPROGRAM2PERSON
          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_REMOTEPROGRAM2PERSONFULLVO
          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_REMOTEPROGRAM2PERSONNATURALID
          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
 Program2Person clusterProgram2PersonToEntity(ClusterProgram2Person clusterProgram2Person)
          Converts an instance of type ClusterProgram2Person to this DAO's entity.
 void clusterProgram2PersonToEntity(ClusterProgram2Person source, Program2Person target, boolean copyIfNull)
          Copies the fields of ClusterProgram2Person to the specified entity.
 void clusterProgram2PersonToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type ClusterProgram2Person to this DAO's entity.
 java.util.Collection create(java.util.Collection entities)
          Creates a new instance of fr.ifremer.allegro.administration.programStrategy.Program2Person and adds from the passed in entities collection
 java.util.Collection create(int transform, java.util.Collection entities)
           Does the same thing as create(fr.ifremer.allegro.administration.programStrategy.Program2Person) with an additional flag called transform.
 java.lang.Object create(int transform, Person person, Program program, ProgramPrivilege programPrivilege)
           Does the same thing as create(fr.ifremer.allegro.administration.user.Person,fr.ifremer.allegro.administration.programStrategy.Program,fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege) with an additional flag called transform.
 java.lang.Object create(int transform, Program2Person program2Person)
           Does the same thing as create(fr.ifremer.allegro.administration.programStrategy.Program2Person) with an additional flag called transform.
 java.lang.Object create(int transform, Program program, Location location, ProgramPrivilege programPrivilege, Person person)
           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.Person) with an additional flag called transform.
 Program2Person create(Person person, Program program, ProgramPrivilege programPrivilege)
           Creates a new fr.ifremer.allegro.administration.programStrategy.Program2Person instance from only required properties (attributes and association ends) and adds it to the persistent store.
 Program2Person create(Program2Person program2Person)
          Creates an instance of fr.ifremer.allegro.administration.programStrategy.Program2Person and adds it to the persistent store.
 Program2Person create(Program program, Location location, ProgramPrivilege programPrivilege, Person person)
           Creates a new fr.ifremer.allegro.administration.programStrategy.Program2Person instance from all attributes and properties and adds it to the persistent store.
 Program2Person createFromClusterProgram2Person(ClusterProgram2Person clusterProgram2Person)
           
 Program2Person findProgram2PersonById(java.lang.Integer id)
           
 java.lang.Object findProgram2PersonById(int transform, java.lang.Integer id)
           Does the same thing as findProgram2PersonById(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findProgram2PersonById(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as findProgram2PersonById(int, java.lang.Integer) with an additional argument called queryString.
 Program2Person findProgram2PersonById(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as findProgram2PersonById(java.lang.Integer) with an additional argument called queryString.
 java.util.Collection findProgram2PersonByLocation(int transform, int pageNumber, int pageSize, Location location)
           Does the same thing as findProgram2PersonByLocation(int, fr.ifremer.allegro.referential.location.Location) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findProgram2PersonByLocation(int pageNumber, int pageSize, Location location)
           Does the same thing as findProgram2PersonByLocation(fr.ifremer.allegro.referential.location.Location) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findProgram2PersonByLocation(int transform, Location location)
           Does the same thing as findProgram2PersonByLocation(fr.ifremer.allegro.referential.location.Location) with an additional flag called transform.
 java.util.Collection findProgram2PersonByLocation(int transform, java.lang.String queryString, int pageNumber, int pageSize, Location location)
           Does the same thing as findProgram2PersonByLocation(int, String, fr.ifremer.allegro.referential.location.Location) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findProgram2PersonByLocation(int transform, java.lang.String queryString, Location location)
           Does the same thing as findProgram2PersonByLocation(int, fr.ifremer.allegro.referential.location.Location) with an additional argument called queryString.
 java.util.Collection findProgram2PersonByLocation(Location location)
           
 java.util.Collection findProgram2PersonByLocation(java.lang.String queryString, int pageNumber, int pageSize, Location location)
           Does the same thing as findProgram2PersonByLocation(String, fr.ifremer.allegro.referential.location.Location) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findProgram2PersonByLocation(java.lang.String queryString, Location location)
           Does the same thing as findProgram2PersonByLocation(fr.ifremer.allegro.referential.location.Location) with an additional argument called queryString.
 Program2Person findProgram2PersonByNaturalId(java.lang.Integer id)
           
 java.lang.Object findProgram2PersonByNaturalId(int transform, java.lang.Integer id)
           Does the same thing as findProgram2PersonByNaturalId(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findProgram2PersonByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as findProgram2PersonByNaturalId(int, java.lang.Integer) with an additional argument called queryString.
 Program2Person findProgram2PersonByNaturalId(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as findProgram2PersonByNaturalId(java.lang.Integer) with an additional argument called queryString.
 java.util.Collection findProgram2PersonByPerson(int transform, int pageNumber, int pageSize, Person person)
           Does the same thing as findProgram2PersonByPerson(int, fr.ifremer.allegro.administration.user.Person) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findProgram2PersonByPerson(int pageNumber, int pageSize, Person person)
           Does the same thing as findProgram2PersonByPerson(fr.ifremer.allegro.administration.user.Person) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findProgram2PersonByPerson(int transform, Person person)
           Does the same thing as findProgram2PersonByPerson(fr.ifremer.allegro.administration.user.Person) with an additional flag called transform.
 java.util.Collection findProgram2PersonByPerson(int transform, java.lang.String queryString, int pageNumber, int pageSize, Person person)
           Does the same thing as findProgram2PersonByPerson(int, String, fr.ifremer.allegro.administration.user.Person) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findProgram2PersonByPerson(int transform, java.lang.String queryString, Person person)
           Does the same thing as findProgram2PersonByPerson(int, fr.ifremer.allegro.administration.user.Person) with an additional argument called queryString.
 java.util.Collection findProgram2PersonByPerson(Person person)
           
 java.util.Collection findProgram2PersonByPerson(java.lang.String queryString, int pageNumber, int pageSize, Person person)
           Does the same thing as findProgram2PersonByPerson(String, fr.ifremer.allegro.administration.user.Person) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findProgram2PersonByPerson(java.lang.String queryString, Person person)
           Does the same thing as findProgram2PersonByPerson(fr.ifremer.allegro.administration.user.Person) with an additional argument called queryString.
 java.util.Collection findProgram2PersonByProgram(int transform, int pageNumber, int pageSize, Program program)
           Does the same thing as findProgram2PersonByProgram(int, fr.ifremer.allegro.administration.programStrategy.Program) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findProgram2PersonByProgram(int pageNumber, int pageSize, Program program)
           Does the same thing as findProgram2PersonByProgram(fr.ifremer.allegro.administration.programStrategy.Program) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findProgram2PersonByProgram(int transform, Program program)
           Does the same thing as findProgram2PersonByProgram(fr.ifremer.allegro.administration.programStrategy.Program) with an additional flag called transform.
 java.util.Collection findProgram2PersonByProgram(int transform, java.lang.String queryString, int pageNumber, int pageSize, Program program)
           Does the same thing as findProgram2PersonByProgram(int, String, fr.ifremer.allegro.administration.programStrategy.Program) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findProgram2PersonByProgram(int transform, java.lang.String queryString, Program program)
           Does the same thing as findProgram2PersonByProgram(int, fr.ifremer.allegro.administration.programStrategy.Program) with an additional argument called queryString.
 java.util.Collection findProgram2PersonByProgram(Program program)
           
 java.util.Collection findProgram2PersonByProgram(java.lang.String queryString, int pageNumber, int pageSize, Program program)
           Does the same thing as findProgram2PersonByProgram(String, fr.ifremer.allegro.administration.programStrategy.Program) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findProgram2PersonByProgram(java.lang.String queryString, Program program)
           Does the same thing as findProgram2PersonByProgram(fr.ifremer.allegro.administration.programStrategy.Program) with an additional argument called queryString.
 java.util.Collection findProgram2PersonByProgramPrivilege(int transform, int pageNumber, int pageSize, ProgramPrivilege programPrivilege)
           Does the same thing as findProgram2PersonByProgramPrivilege(int, fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findProgram2PersonByProgramPrivilege(int pageNumber, int pageSize, ProgramPrivilege programPrivilege)
           Does the same thing as findProgram2PersonByProgramPrivilege(fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findProgram2PersonByProgramPrivilege(int transform, ProgramPrivilege programPrivilege)
           Does the same thing as findProgram2PersonByProgramPrivilege(fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege) with an additional flag called transform.
 java.util.Collection findProgram2PersonByProgramPrivilege(int transform, java.lang.String queryString, int pageNumber, int pageSize, ProgramPrivilege programPrivilege)
           Does the same thing as findProgram2PersonByProgramPrivilege(int, String, fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findProgram2PersonByProgramPrivilege(int transform, java.lang.String queryString, ProgramPrivilege programPrivilege)
           Does the same thing as findProgram2PersonByProgramPrivilege(int, fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege) with an additional argument called queryString.
 java.util.Collection findProgram2PersonByProgramPrivilege(ProgramPrivilege programPrivilege)
           
 java.util.Collection findProgram2PersonByProgramPrivilege(java.lang.String queryString, int pageNumber, int pageSize, ProgramPrivilege programPrivilege)
           Does the same thing as findProgram2PersonByProgramPrivilege(String, fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findProgram2PersonByProgramPrivilege(java.lang.String queryString, ProgramPrivilege programPrivilege)
           Does the same thing as findProgram2PersonByProgramPrivilege(fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege) with an additional argument called queryString.
 java.util.Collection getAllProgram2Person()
           
 java.util.Collection getAllProgram2Person(int transform)
           Does the same thing as getAllProgram2Person() with an additional flag called transform.
 java.util.Collection getAllProgram2Person(int pageNumber, int pageSize)
           Does the same thing as getAllProgram2Person() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllProgram2Person(int transform, int pageNumber, int pageSize)
           Does the same thing as getAllProgram2Person(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllProgram2Person(int transform, java.lang.String queryString)
           Does the same thing as getAllProgram2Person(int) with an additional argument called queryString.
 java.util.Collection getAllProgram2Person(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as getAllProgram2Person(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllProgram2Person(java.lang.String queryString)
           Does the same thing as getAllProgram2Person() with an additional argument called queryString.
 java.util.Collection getAllProgram2Person(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as getAllProgram2Person(String) with an additional two arguments called pageNumber and pageSize.
 Program2Person load(java.lang.Integer id)
          Loads an instance of fr.ifremer.allegro.administration.programStrategy.Program2Person 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 Program2Person.
 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.
 Program2Person remoteProgram2PersonFullVOToEntity(RemoteProgram2PersonFullVO remoteProgram2PersonFullVO)
          Converts an instance of type RemoteProgram2PersonFullVO to this DAO's entity.
 void remoteProgram2PersonFullVOToEntity(RemoteProgram2PersonFullVO source, Program2Person target, boolean copyIfNull)
          Copies the fields of RemoteProgram2PersonFullVO to the specified entity.
 void remoteProgram2PersonFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteProgram2PersonFullVO to this DAO's entity.
 Program2Person remoteProgram2PersonNaturalIdToEntity(RemoteProgram2PersonNaturalId remoteProgram2PersonNaturalId)
          Converts an instance of type RemoteProgram2PersonNaturalId to this DAO's entity.
 void remoteProgram2PersonNaturalIdToEntity(RemoteProgram2PersonNaturalId source, Program2Person target, boolean copyIfNull)
          Copies the fields of RemoteProgram2PersonNaturalId to the specified entity.
 void remoteProgram2PersonNaturalIdToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteProgram2PersonNaturalId 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.Program2Person having the given identifier from the persistent store.
 void remove(Program2Person program2Person)
          Removes the instance of fr.ifremer.allegro.administration.programStrategy.Program2Person 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.
 ClusterProgram2Person toClusterProgram2Person(Program2Person entity)
          Converts this DAO's entity to an object of type ClusterProgram2Person.
 void toClusterProgram2Person(Program2Person source, ClusterProgram2Person target)
          Copies the fields of the specified entity to the target value object.
 ClusterProgram2Person[] toClusterProgram2PersonArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type ClusterProgram2Person.
 void toClusterProgram2PersonCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type ClusterProgram2Person.
 RemoteProgram2PersonFullVO toRemoteProgram2PersonFullVO(Program2Person entity)
          Converts this DAO's entity to an object of type RemoteProgram2PersonFullVO.
 void toRemoteProgram2PersonFullVO(Program2Person source, RemoteProgram2PersonFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteProgram2PersonFullVO[] toRemoteProgram2PersonFullVOArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteProgram2PersonFullVO.
 void toRemoteProgram2PersonFullVOCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteProgram2PersonFullVO.
 RemoteProgram2PersonNaturalId toRemoteProgram2PersonNaturalId(Program2Person entity)
          Converts this DAO's entity to an object of type RemoteProgram2PersonNaturalId.
 void toRemoteProgram2PersonNaturalId(Program2Person source, RemoteProgram2PersonNaturalId target)
          Copies the fields of the specified entity to the target value object.
 RemoteProgram2PersonNaturalId[] toRemoteProgram2PersonNaturalIdArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteProgram2PersonNaturalId.
 void toRemoteProgram2PersonNaturalIdCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteProgram2PersonNaturalId.
 void update(java.util.Collection entities)
          Updates all instances in the entities collection in the persistent store.
 void update(Program2Person program2Person)
          Updates the program2Person 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_REMOTEPROGRAM2PERSONFULLVO

static final int TRANSFORM_REMOTEPROGRAM2PERSONFULLVO
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 RemoteProgram2PersonFullVO.

See Also:
Constant Field Values

TRANSFORM_REMOTEPROGRAM2PERSONNATURALID

static final int TRANSFORM_REMOTEPROGRAM2PERSONNATURALID
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 RemoteProgram2PersonNaturalId.

See Also:
Constant Field Values

TRANSFORM_CLUSTERPROGRAM2PERSON

static final int TRANSFORM_CLUSTERPROGRAM2PERSON
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 ClusterProgram2Person.

See Also:
Constant Field Values
Method Detail

toRemoteProgram2PersonFullVO

void toRemoteProgram2PersonFullVO(Program2Person source,
                                  RemoteProgram2PersonFullVO target)
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteProgram2PersonFullVO(), but it does not handle any attributes in the target value object that are "read-only" (as those do not have setter methods exposed).


toRemoteProgram2PersonFullVO

RemoteProgram2PersonFullVO toRemoteProgram2PersonFullVO(Program2Person entity)
Converts this DAO's entity to an object of type RemoteProgram2PersonFullVO.


toRemoteProgram2PersonFullVOCollection

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


toRemoteProgram2PersonFullVOArray

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


remoteProgram2PersonFullVOToEntity

void remoteProgram2PersonFullVOToEntity(RemoteProgram2PersonFullVO source,
                                        Program2Person target,
                                        boolean copyIfNull)
Copies the fields of RemoteProgram2PersonFullVO 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.

remoteProgram2PersonFullVOToEntity

Program2Person remoteProgram2PersonFullVOToEntity(RemoteProgram2PersonFullVO remoteProgram2PersonFullVO)
Converts an instance of type RemoteProgram2PersonFullVO to this DAO's entity.


remoteProgram2PersonFullVOToEntityCollection

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


toRemoteProgram2PersonNaturalId

void toRemoteProgram2PersonNaturalId(Program2Person source,
                                     RemoteProgram2PersonNaturalId target)
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteProgram2PersonNaturalId(), but it does not handle any attributes in the target value object that are "read-only" (as those do not have setter methods exposed).


toRemoteProgram2PersonNaturalId

RemoteProgram2PersonNaturalId toRemoteProgram2PersonNaturalId(Program2Person entity)
Converts this DAO's entity to an object of type RemoteProgram2PersonNaturalId.


toRemoteProgram2PersonNaturalIdCollection

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


toRemoteProgram2PersonNaturalIdArray

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


remoteProgram2PersonNaturalIdToEntity

void remoteProgram2PersonNaturalIdToEntity(RemoteProgram2PersonNaturalId source,
                                           Program2Person target,
                                           boolean copyIfNull)
Copies the fields of RemoteProgram2PersonNaturalId 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.

remoteProgram2PersonNaturalIdToEntity

Program2Person remoteProgram2PersonNaturalIdToEntity(RemoteProgram2PersonNaturalId remoteProgram2PersonNaturalId)
Converts an instance of type RemoteProgram2PersonNaturalId to this DAO's entity.


remoteProgram2PersonNaturalIdToEntityCollection

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


toClusterProgram2Person

void toClusterProgram2Person(Program2Person source,
                             ClusterProgram2Person target)
Copies the fields of the specified entity to the target value object. This method is similar to toClusterProgram2Person(), but it does not handle any attributes in the target value object that are "read-only" (as those do not have setter methods exposed).


toClusterProgram2Person

ClusterProgram2Person toClusterProgram2Person(Program2Person entity)
Converts this DAO's entity to an object of type ClusterProgram2Person.


toClusterProgram2PersonCollection

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


toClusterProgram2PersonArray

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


clusterProgram2PersonToEntity

void clusterProgram2PersonToEntity(ClusterProgram2Person source,
                                   Program2Person target,
                                   boolean copyIfNull)
Copies the fields of ClusterProgram2Person 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.

clusterProgram2PersonToEntity

Program2Person clusterProgram2PersonToEntity(ClusterProgram2Person clusterProgram2Person)
Converts an instance of type ClusterProgram2Person to this DAO's entity.


clusterProgram2PersonToEntityCollection

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


load

Program2Person load(java.lang.Integer id)
Loads an instance of fr.ifremer.allegro.administration.programStrategy.Program2Person 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 Program2Person.

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

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


create

java.lang.Object create(int transform,
                        Program2Person program2Person)

Does the same thing as create(fr.ifremer.allegro.administration.programStrategy.Program2Person) 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.Program2Person and adds from the passed in entities collection

Parameters:
entities - the collection of fr.ifremer.allegro.administration.programStrategy.Program2Person 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.Program2Person) 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

Program2Person create(Program program,
                      Location location,
                      ProgramPrivilege programPrivilege,
                      Person person)

Creates a new fr.ifremer.allegro.administration.programStrategy.Program2Person 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,
                        Person person)

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

Program2Person create(Person person,
                      Program program,
                      ProgramPrivilege programPrivilege)

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


create

java.lang.Object create(int transform,
                        Person person,
                        Program program,
                        ProgramPrivilege programPrivilege)

Does the same thing as create(fr.ifremer.allegro.administration.user.Person,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(Program2Person program2Person)
Updates the program2Person 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(Program2Person program2Person)
Removes the instance of fr.ifremer.allegro.administration.programStrategy.Program2Person from the persistent store.


remove

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


remove

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


getAllProgram2Person

java.util.Collection getAllProgram2Person()

getAllProgram2Person

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

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


getAllProgram2Person

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

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


getAllProgram2Person

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

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


getAllProgram2Person

java.util.Collection getAllProgram2Person(int transform)

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


getAllProgram2Person

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

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


getAllProgram2Person

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

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


getAllProgram2Person

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

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


findProgram2PersonById

Program2Person findProgram2PersonById(java.lang.Integer id)

findProgram2PersonById

Program2Person findProgram2PersonById(java.lang.String queryString,
                                      java.lang.Integer id)

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


findProgram2PersonById

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

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


findProgram2PersonById

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

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


findProgram2PersonByProgram

java.util.Collection findProgram2PersonByProgram(Program program)

findProgram2PersonByProgram

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

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


findProgram2PersonByProgram

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

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


findProgram2PersonByProgram

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

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


findProgram2PersonByProgram

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

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


findProgram2PersonByProgram

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

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


findProgram2PersonByProgram

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

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


findProgram2PersonByProgram

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

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


findProgram2PersonByLocation

java.util.Collection findProgram2PersonByLocation(Location location)

findProgram2PersonByLocation

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

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


findProgram2PersonByLocation

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

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


findProgram2PersonByLocation

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

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


findProgram2PersonByLocation

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

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


findProgram2PersonByLocation

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

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


findProgram2PersonByLocation

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

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


findProgram2PersonByLocation

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

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


findProgram2PersonByProgramPrivilege

java.util.Collection findProgram2PersonByProgramPrivilege(ProgramPrivilege programPrivilege)

findProgram2PersonByProgramPrivilege

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

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


findProgram2PersonByProgramPrivilege

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

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


findProgram2PersonByProgramPrivilege

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

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


findProgram2PersonByProgramPrivilege

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

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


findProgram2PersonByProgramPrivilege

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

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


findProgram2PersonByProgramPrivilege

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

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


findProgram2PersonByProgramPrivilege

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

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


findProgram2PersonByPerson

java.util.Collection findProgram2PersonByPerson(Person person)

findProgram2PersonByPerson

java.util.Collection findProgram2PersonByPerson(java.lang.String queryString,
                                                Person person)

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


findProgram2PersonByPerson

java.util.Collection findProgram2PersonByPerson(int pageNumber,
                                                int pageSize,
                                                Person person)

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


findProgram2PersonByPerson

java.util.Collection findProgram2PersonByPerson(java.lang.String queryString,
                                                int pageNumber,
                                                int pageSize,
                                                Person person)

Does the same thing as findProgram2PersonByPerson(String, fr.ifremer.allegro.administration.user.Person) 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.


findProgram2PersonByPerson

java.util.Collection findProgram2PersonByPerson(int transform,
                                                Person person)

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


findProgram2PersonByPerson

java.util.Collection findProgram2PersonByPerson(int transform,
                                                int pageNumber,
                                                int pageSize,
                                                Person person)

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


findProgram2PersonByPerson

java.util.Collection findProgram2PersonByPerson(int transform,
                                                java.lang.String queryString,
                                                Person person)

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


findProgram2PersonByPerson

java.util.Collection findProgram2PersonByPerson(int transform,
                                                java.lang.String queryString,
                                                int pageNumber,
                                                int pageSize,
                                                Person person)

Does the same thing as findProgram2PersonByPerson(int, String, fr.ifremer.allegro.administration.user.Person) 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.


findProgram2PersonByNaturalId

Program2Person findProgram2PersonByNaturalId(java.lang.Integer id)

findProgram2PersonByNaturalId

Program2Person findProgram2PersonByNaturalId(java.lang.String queryString,
                                             java.lang.Integer id)

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


findProgram2PersonByNaturalId

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

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


findProgram2PersonByNaturalId

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

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


createFromClusterProgram2Person

Program2Person createFromClusterProgram2Person(ClusterProgram2Person clusterProgram2Person)

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.