|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.orm.hibernate3.support.HibernateDaoSupport
fr.ifremer.allegro.administration.programStrategy.Program2PersonDaoBase
public abstract class Program2PersonDaoBase
Base Spring DAO Class: is able to create, update, remove, load, and find
objects of type fr.ifremer.allegro.administration.programStrategy.Program2Person
.
Program2Person
Field Summary |
---|
Fields inherited from interface fr.ifremer.allegro.administration.programStrategy.Program2PersonDao |
---|
TRANSFORM_CLUSTERPROGRAM2PERSON, TRANSFORM_NONE, TRANSFORM_REMOTEPROGRAM2PERSONFULLVO, TRANSFORM_REMOTEPROGRAM2PERSONNATURALID |
Constructor Summary | |
---|---|
Program2PersonDaoBase()
|
Method Summary | |
---|---|
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 Program2PersonDao.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 Program2PersonDao.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 Program2PersonDao.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 Program2PersonDao.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 Program2PersonDao.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 Program2PersonDao.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 Program2PersonDao.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 Program2PersonDao.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 Program2PersonDao.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 Program2PersonDao.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 Program2PersonDao.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 Program2PersonDao.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 Program2PersonDao.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 Program2PersonDao.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 Program2PersonDao.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 Program2PersonDao.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 Program2PersonDao.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 Program2PersonDao.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 Program2PersonDao.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 Program2PersonDao.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 Program2PersonDao.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 Program2PersonDao.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 Program2PersonDao.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 Program2PersonDao.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 Program2PersonDao.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 Program2PersonDao.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 Program2PersonDao.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 Program2PersonDao.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 Program2PersonDao.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 Program2PersonDao.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 Program2PersonDao.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 Program2PersonDao.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 Program2PersonDao.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 Program2PersonDao.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 Program2PersonDao.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 Program2PersonDao.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 Program2PersonDao.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 Program2PersonDao.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 Program2PersonDao.getAllProgram2Person() with an
additional flag called transform . |
java.util.Collection |
getAllProgram2Person(int pageNumber,
int pageSize)
Does the same thing as Program2PersonDao.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 Program2PersonDao.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 Program2PersonDao.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 Program2PersonDao.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 Program2PersonDao.getAllProgram2Person() with an
additional argument called queryString . |
java.util.Collection |
getAllProgram2Person(java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as Program2PersonDao.getAllProgram2Person(String) with an
additional two arguments called pageNumber and pageSize . |
protected LocationDao |
getLocationDao()
Gets the reference to locationDao . |
protected PersonDao |
getPersonDao()
Gets the reference to personDao . |
protected java.security.Principal |
getPrincipal()
Gets the current principal if one has been set,
otherwise returns null . |
protected ProgramDao |
getProgramDao()
Gets the reference to programDao . |
protected ProgramPrivilegeDao |
getProgramPrivilegeDao()
Gets the reference to programPrivilegeDao . |
protected abstract Program2Person |
handleCreateFromClusterProgram2Person(ClusterProgram2Person clusterProgram2Person)
Performs the core logic for createFromClusterProgram2Person(fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterProgram2Person) |
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 Program2PersonDao.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 Program2PersonDao.loadAll() with an
additional flag called transform . |
java.util.Collection |
loadAll(int pageNumber,
int pageSize)
Does the same thing as Program2PersonDao.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 Program2PersonDao.loadAll(int) with an
additional two arguments called pageNumber and pageSize . |
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. |
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 |
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 Program2PersonDao.search(fr.ifremer.allegro.Search) but with an
additional flag called transform . |
java.util.Set |
search(Search search)
Performs a search using the parameters specified in the given search object. |
void |
setLocationDao(LocationDao locationDao)
Sets the reference to locationDao . |
void |
setPersonDao(PersonDao personDao)
Sets the reference to personDao . |
void |
setProgramDao(ProgramDao programDao)
Sets the reference to programDao . |
void |
setProgramPrivilegeDao(ProgramPrivilegeDao programPrivilegeDao)
Sets the reference to programPrivilegeDao . |
protected ClusterProgram2Person |
toClusterProgram2Person(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value 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 . |
protected Program2Person |
toEntity(java.lang.Object[] row)
|
protected RemoteProgram2PersonFullVO |
toRemoteProgram2PersonFullVO(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteProgram2PersonFullVO |
toRemoteProgram2PersonFullVO(Program2Person entity)
Converts this DAO's entity to an object of type RemoteProgram2PersonFullVO . |
void |
toRemoteProgram2PersonFullVO(Program2Person source,
RemoteProgram2PersonFullVO target)
Copies the fields of the specified entity to the target value object. |
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 . |
protected RemoteProgram2PersonNaturalId |
toRemoteProgram2PersonNaturalId(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteProgram2PersonNaturalId |
toRemoteProgram2PersonNaturalId(Program2Person entity)
Converts this DAO's entity to an object of type RemoteProgram2PersonNaturalId . |
void |
toRemoteProgram2PersonNaturalId(Program2Person source,
RemoteProgram2PersonNaturalId target)
Copies the fields of the specified entity to the target value object. |
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 . |
protected void |
transformEntities(int transform,
java.util.Collection entities)
Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.administration.programStrategy.Program2Person)
method. |
protected java.lang.Object |
transformEntity(int transform,
Program2Person entity)
Allows transformation of entities into value objects (or something else for that matter), when the transform
flag is set to one of the constants defined in fr.ifremer.allegro.administration.programStrategy.Program2PersonDao , please note
that the Program2PersonDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself
will be returned. |
void |
update(java.util.Collection entities)
Updates all instances in the entities collection in the persistent store. |
void |
update(Program2Person program2Person)
Updates the program2Person instance in the persistent store. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface fr.ifremer.allegro.administration.programStrategy.Program2PersonDao |
---|
clusterProgram2PersonToEntity, remoteProgram2PersonFullVOToEntity, remoteProgram2PersonNaturalIdToEntity |
Constructor Detail |
---|
public Program2PersonDaoBase()
Method Detail |
---|
public void setProgramDao(ProgramDao programDao)
programDao
.
protected ProgramDao getProgramDao()
programDao
.
public void setLocationDao(LocationDao locationDao)
locationDao
.
protected LocationDao getLocationDao()
locationDao
.
public void setProgramPrivilegeDao(ProgramPrivilegeDao programPrivilegeDao)
programPrivilegeDao
.
protected ProgramPrivilegeDao getProgramPrivilegeDao()
programPrivilegeDao
.
public void setPersonDao(PersonDao personDao)
personDao
.
protected PersonDao getPersonDao()
personDao
.
public java.lang.Object load(int transform, java.lang.Integer id)
Program2PersonDao
Does the same thing as Program2PersonDao.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.
load
in interface Program2PersonDao
id
- identifier of the entity to load
Program2PersonDao.load(int, java.lang.Integer)
public Program2Person load(java.lang.Integer id)
Program2PersonDao
load
in interface Program2PersonDao
Program2PersonDao.load(java.lang.Integer)
public java.util.Collection loadAll()
Program2PersonDao
Program2Person
.
loadAll
in interface Program2PersonDao
Program2PersonDao.loadAll()
public java.util.Collection loadAll(int transform)
Program2PersonDao
Does the same thing as Program2PersonDao.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.
loadAll
in interface Program2PersonDao
transform
- the flag indicating what transformation to use.
Program2PersonDao.loadAll(int)
public java.util.Collection loadAll(int pageNumber, int pageSize)
Program2PersonDao
Does the same thing as Program2PersonDao.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.
loadAll
in interface Program2PersonDao
pageNumber
- the page number to retrieve when paging results.pageSize
- the size of the page to retrieve when paging results.
Program2PersonDao.loadAll(int, int)
public java.util.Collection loadAll(int transform, int pageNumber, int pageSize)
Program2PersonDao
Does the same thing as Program2PersonDao.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.
loadAll
in interface Program2PersonDao
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.
Program2PersonDao.loadAll(int, int, int)
public Program2Person create(Program2Person program2Person)
Program2PersonDao
create
in interface Program2PersonDao
Program2PersonDao.create(fr.ifremer.allegro.administration.programStrategy.Program2Person)
public java.lang.Object create(int transform, Program2Person program2Person)
Program2PersonDao
Does the same thing as Program2PersonDao.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
in interface Program2PersonDao
Program2PersonDao.create(int transform, fr.ifremer.allegro.administration.programStrategy.Program2Person)
public java.util.Collection create(java.util.Collection entities)
Program2PersonDao
entities
collection
create
in interface Program2PersonDao
entities
- the collection of fr.ifremer.allegro.administration.programStrategy.Program2Person
instances to create.
Program2PersonDao.create(java.util.Collection)
public java.util.Collection create(int transform, java.util.Collection entities)
Program2PersonDao
Does the same thing as Program2PersonDao.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
in interface Program2PersonDao
Program2PersonDao.create(int, java.util.Collection)
public Program2Person create(Program program, Location location, ProgramPrivilege programPrivilege, Person person)
Program2PersonDao
Creates a new fr.ifremer.allegro.administration.programStrategy.Program2Person
instance from all attributes and
properties and adds it to the persistent store.
create
in interface Program2PersonDao
Program2PersonDao.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)
public java.lang.Object create(int transform, Program program, Location location, ProgramPrivilege programPrivilege, Person person)
Program2PersonDao
Does the same thing as Program2PersonDao.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
in interface Program2PersonDao
Program2PersonDao.create(int, fr.ifremer.allegro.administration.programStrategy.Program,fr.ifremer.allegro.referential.location.Location,fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege,fr.ifremer.allegro.administration.user.Person)
public Program2Person create(Person person, Program program, ProgramPrivilege programPrivilege)
Program2PersonDao
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
in interface Program2PersonDao
Program2PersonDao.create(fr.ifremer.allegro.administration.user.Person,fr.ifremer.allegro.administration.programStrategy.Program,fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege)
public java.lang.Object create(int transform, Person person, Program program, ProgramPrivilege programPrivilege)
Program2PersonDao
Does the same thing as Program2PersonDao.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.
create
in interface Program2PersonDao
Program2PersonDao.create(int, fr.ifremer.allegro.administration.user.Person,fr.ifremer.allegro.administration.programStrategy.Program,fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege)
public void update(Program2Person program2Person)
Program2PersonDao
program2Person
instance in the persistent store.
update
in interface Program2PersonDao
Program2PersonDao.update(fr.ifremer.allegro.administration.programStrategy.Program2Person)
public void update(java.util.Collection entities)
Program2PersonDao
entities
collection in the persistent store.
update
in interface Program2PersonDao
Program2PersonDao.update(java.util.Collection)
public void remove(Program2Person program2Person)
Program2PersonDao
remove
in interface Program2PersonDao
Program2PersonDao.remove(fr.ifremer.allegro.administration.programStrategy.Program2Person)
public void remove(java.lang.Integer id)
Program2PersonDao
identifier
from the persistent store.
remove
in interface Program2PersonDao
Program2PersonDao.remove(java.lang.Integer)
public void remove(java.util.Collection entities)
Program2PersonDao
entities collection.
- Specified by:
remove
in interface Program2PersonDao
- See Also:
Program2PersonDao.remove(java.util.Collection)
public java.util.Collection getAllProgram2Person()
getAllProgram2Person
in interface Program2PersonDao
Program2PersonDao.getAllProgram2Person()
public java.util.Collection getAllProgram2Person(int transform)
Program2PersonDao
Does the same thing as Program2PersonDao.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
in interface Program2PersonDao
Program2PersonDao.getAllProgram2Person(int)
public java.util.Collection getAllProgram2Person(java.lang.String queryString)
Program2PersonDao
Does the same thing as Program2PersonDao.getAllProgram2Person()
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in Program2PersonDao.getAllProgram2Person()
.
getAllProgram2Person
in interface Program2PersonDao
Program2PersonDao.getAllProgram2Person(java.lang.String)
public java.util.Collection getAllProgram2Person(int pageNumber, int pageSize)
Program2PersonDao
Does the same thing as Program2PersonDao.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
in interface Program2PersonDao
Program2PersonDao.getAllProgram2Person(int, int)
public java.util.Collection getAllProgram2Person(java.lang.String queryString, int pageNumber, int pageSize)
Program2PersonDao
Does the same thing as Program2PersonDao.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
in interface Program2PersonDao
Program2PersonDao.getAllProgram2Person(String, int, int)
public java.util.Collection getAllProgram2Person(int transform, java.lang.String queryString)
Program2PersonDao
Does the same thing as Program2PersonDao.getAllProgram2Person(int)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in Program2PersonDao.getAllProgram2Person(int)
.
getAllProgram2Person
in interface Program2PersonDao
Program2PersonDao.getAllProgram2Person(int, String)
public java.util.Collection getAllProgram2Person(int transform, int pageNumber, int pageSize)
Program2PersonDao
Does the same thing as Program2PersonDao.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
in interface Program2PersonDao
Program2PersonDao.getAllProgram2Person(int, int, int)
public java.util.Collection getAllProgram2Person(int transform, java.lang.String queryString, int pageNumber, int pageSize)
Program2PersonDao
Does the same thing as Program2PersonDao.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.
getAllProgram2Person
in interface Program2PersonDao
Program2PersonDao.getAllProgram2Person(int, java.lang.String, int, int)
public Program2Person findProgram2PersonById(java.lang.Integer id)
findProgram2PersonById
in interface Program2PersonDao
Program2PersonDao.findProgram2PersonById(java.lang.Integer)
public java.lang.Object findProgram2PersonById(int transform, java.lang.Integer id)
Program2PersonDao
Does the same thing as Program2PersonDao.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
in interface Program2PersonDao
Program2PersonDao.findProgram2PersonById(int, java.lang.Integer)
public Program2Person findProgram2PersonById(java.lang.String queryString, java.lang.Integer id)
Program2PersonDao
Does the same thing as Program2PersonDao.findProgram2PersonById(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in Program2PersonDao.findProgram2PersonById(java.lang.Integer)
.
findProgram2PersonById
in interface Program2PersonDao
Program2PersonDao.findProgram2PersonById(java.lang.String, java.lang.Integer)
public java.lang.Object findProgram2PersonById(int transform, java.lang.String queryString, java.lang.Integer id)
Program2PersonDao
Does the same thing as Program2PersonDao.findProgram2PersonById(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in Program2PersonDao.findProgram2PersonById(int, java.lang.Integer id)
.
findProgram2PersonById
in interface Program2PersonDao
Program2PersonDao.findProgram2PersonById(int, java.lang.String, java.lang.Integer)
public java.util.Collection findProgram2PersonByProgram(Program program)
findProgram2PersonByProgram
in interface Program2PersonDao
Program2PersonDao.findProgram2PersonByProgram(fr.ifremer.allegro.administration.programStrategy.Program)
public java.util.Collection findProgram2PersonByProgram(int transform, Program program)
Program2PersonDao
Does the same thing as Program2PersonDao.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
in interface Program2PersonDao
Program2PersonDao.findProgram2PersonByProgram(int, fr.ifremer.allegro.administration.programStrategy.Program)
public java.util.Collection findProgram2PersonByProgram(java.lang.String queryString, Program program)
Program2PersonDao
Does the same thing as Program2PersonDao.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 Program2PersonDao.findProgram2PersonByProgram(fr.ifremer.allegro.administration.programStrategy.Program)
.
findProgram2PersonByProgram
in interface Program2PersonDao
Program2PersonDao.findProgram2PersonByProgram(java.lang.String, fr.ifremer.allegro.administration.programStrategy.Program)
public java.util.Collection findProgram2PersonByProgram(int pageNumber, int pageSize, Program program)
Program2PersonDao
Does the same thing as Program2PersonDao.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
in interface Program2PersonDao
Program2PersonDao.findProgram2PersonByProgram(int, int, fr.ifremer.allegro.administration.programStrategy.Program)
public java.util.Collection findProgram2PersonByProgram(java.lang.String queryString, int pageNumber, int pageSize, Program program)
Program2PersonDao
Does the same thing as Program2PersonDao.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
in interface Program2PersonDao
Program2PersonDao.findProgram2PersonByProgram(String, int, int, fr.ifremer.allegro.administration.programStrategy.Program)
public java.util.Collection findProgram2PersonByProgram(int transform, java.lang.String queryString, Program program)
Program2PersonDao
Does the same thing as Program2PersonDao.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 Program2PersonDao.findProgram2PersonByProgram(int, fr.ifremer.allegro.administration.programStrategy.Program program)
.
findProgram2PersonByProgram
in interface Program2PersonDao
Program2PersonDao.findProgram2PersonByProgram(int, String, fr.ifremer.allegro.administration.programStrategy.Program)
public java.util.Collection findProgram2PersonByProgram(int transform, int pageNumber, int pageSize, Program program)
Program2PersonDao
Does the same thing as Program2PersonDao.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
in interface Program2PersonDao
Program2PersonDao.findProgram2PersonByProgram(int, int, int, fr.ifremer.allegro.administration.programStrategy.Program)
public java.util.Collection findProgram2PersonByProgram(int transform, java.lang.String queryString, int pageNumber, int pageSize, Program program)
Program2PersonDao
Does the same thing as Program2PersonDao.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.
findProgram2PersonByProgram
in interface Program2PersonDao
Program2PersonDao.findProgram2PersonByProgram(int, java.lang.String, int, int, fr.ifremer.allegro.administration.programStrategy.Program)
public java.util.Collection findProgram2PersonByLocation(Location location)
findProgram2PersonByLocation
in interface Program2PersonDao
Program2PersonDao.findProgram2PersonByLocation(fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findProgram2PersonByLocation(int transform, Location location)
Program2PersonDao
Does the same thing as Program2PersonDao.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
in interface Program2PersonDao
Program2PersonDao.findProgram2PersonByLocation(int, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findProgram2PersonByLocation(java.lang.String queryString, Location location)
Program2PersonDao
Does the same thing as Program2PersonDao.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 Program2PersonDao.findProgram2PersonByLocation(fr.ifremer.allegro.referential.location.Location)
.
findProgram2PersonByLocation
in interface Program2PersonDao
Program2PersonDao.findProgram2PersonByLocation(java.lang.String, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findProgram2PersonByLocation(int pageNumber, int pageSize, Location location)
Program2PersonDao
Does the same thing as Program2PersonDao.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
in interface Program2PersonDao
Program2PersonDao.findProgram2PersonByLocation(int, int, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findProgram2PersonByLocation(java.lang.String queryString, int pageNumber, int pageSize, Location location)
Program2PersonDao
Does the same thing as Program2PersonDao.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
in interface Program2PersonDao
Program2PersonDao.findProgram2PersonByLocation(String, int, int, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findProgram2PersonByLocation(int transform, java.lang.String queryString, Location location)
Program2PersonDao
Does the same thing as Program2PersonDao.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 Program2PersonDao.findProgram2PersonByLocation(int, fr.ifremer.allegro.referential.location.Location location)
.
findProgram2PersonByLocation
in interface Program2PersonDao
Program2PersonDao.findProgram2PersonByLocation(int, String, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findProgram2PersonByLocation(int transform, int pageNumber, int pageSize, Location location)
Program2PersonDao
Does the same thing as Program2PersonDao.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
in interface Program2PersonDao
Program2PersonDao.findProgram2PersonByLocation(int, int, int, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findProgram2PersonByLocation(int transform, java.lang.String queryString, int pageNumber, int pageSize, Location location)
Program2PersonDao
Does the same thing as Program2PersonDao.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.
findProgram2PersonByLocation
in interface Program2PersonDao
Program2PersonDao.findProgram2PersonByLocation(int, java.lang.String, int, int, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findProgram2PersonByProgramPrivilege(ProgramPrivilege programPrivilege)
findProgram2PersonByProgramPrivilege
in interface Program2PersonDao
Program2PersonDao.findProgram2PersonByProgramPrivilege(fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege)
public java.util.Collection findProgram2PersonByProgramPrivilege(int transform, ProgramPrivilege programPrivilege)
Program2PersonDao
Does the same thing as Program2PersonDao.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
in interface Program2PersonDao
Program2PersonDao.findProgram2PersonByProgramPrivilege(int, fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege)
public java.util.Collection findProgram2PersonByProgramPrivilege(java.lang.String queryString, ProgramPrivilege programPrivilege)
Program2PersonDao
Does the same thing as Program2PersonDao.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 Program2PersonDao.findProgram2PersonByProgramPrivilege(fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege)
.
findProgram2PersonByProgramPrivilege
in interface Program2PersonDao
Program2PersonDao.findProgram2PersonByProgramPrivilege(java.lang.String, fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege)
public java.util.Collection findProgram2PersonByProgramPrivilege(int pageNumber, int pageSize, ProgramPrivilege programPrivilege)
Program2PersonDao
Does the same thing as Program2PersonDao.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
in interface Program2PersonDao
Program2PersonDao.findProgram2PersonByProgramPrivilege(int, int, fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege)
public java.util.Collection findProgram2PersonByProgramPrivilege(java.lang.String queryString, int pageNumber, int pageSize, ProgramPrivilege programPrivilege)
Program2PersonDao
Does the same thing as Program2PersonDao.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
in interface Program2PersonDao
Program2PersonDao.findProgram2PersonByProgramPrivilege(String, int, int, fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege)
public java.util.Collection findProgram2PersonByProgramPrivilege(int transform, java.lang.String queryString, ProgramPrivilege programPrivilege)
Program2PersonDao
Does the same thing as Program2PersonDao.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 Program2PersonDao.findProgram2PersonByProgramPrivilege(int, fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege programPrivilege)
.
findProgram2PersonByProgramPrivilege
in interface Program2PersonDao
Program2PersonDao.findProgram2PersonByProgramPrivilege(int, String, fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege)
public java.util.Collection findProgram2PersonByProgramPrivilege(int transform, int pageNumber, int pageSize, ProgramPrivilege programPrivilege)
Program2PersonDao
Does the same thing as Program2PersonDao.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
in interface Program2PersonDao
Program2PersonDao.findProgram2PersonByProgramPrivilege(int, int, int, fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege)
public java.util.Collection findProgram2PersonByProgramPrivilege(int transform, java.lang.String queryString, int pageNumber, int pageSize, ProgramPrivilege programPrivilege)
Program2PersonDao
Does the same thing as Program2PersonDao.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.
findProgram2PersonByProgramPrivilege
in interface Program2PersonDao
Program2PersonDao.findProgram2PersonByProgramPrivilege(int, java.lang.String, int, int, fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege)
public java.util.Collection findProgram2PersonByPerson(Person person)
findProgram2PersonByPerson
in interface Program2PersonDao
Program2PersonDao.findProgram2PersonByPerson(fr.ifremer.allegro.administration.user.Person)
public java.util.Collection findProgram2PersonByPerson(int transform, Person person)
Program2PersonDao
Does the same thing as Program2PersonDao.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
in interface Program2PersonDao
Program2PersonDao.findProgram2PersonByPerson(int, fr.ifremer.allegro.administration.user.Person)
public java.util.Collection findProgram2PersonByPerson(java.lang.String queryString, Person person)
Program2PersonDao
Does the same thing as Program2PersonDao.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 Program2PersonDao.findProgram2PersonByPerson(fr.ifremer.allegro.administration.user.Person)
.
findProgram2PersonByPerson
in interface Program2PersonDao
Program2PersonDao.findProgram2PersonByPerson(java.lang.String, fr.ifremer.allegro.administration.user.Person)
public java.util.Collection findProgram2PersonByPerson(int pageNumber, int pageSize, Person person)
Program2PersonDao
Does the same thing as Program2PersonDao.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
in interface Program2PersonDao
Program2PersonDao.findProgram2PersonByPerson(int, int, fr.ifremer.allegro.administration.user.Person)
public java.util.Collection findProgram2PersonByPerson(java.lang.String queryString, int pageNumber, int pageSize, Person person)
Program2PersonDao
Does the same thing as Program2PersonDao.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
in interface Program2PersonDao
Program2PersonDao.findProgram2PersonByPerson(String, int, int, fr.ifremer.allegro.administration.user.Person)
public java.util.Collection findProgram2PersonByPerson(int transform, java.lang.String queryString, Person person)
Program2PersonDao
Does the same thing as Program2PersonDao.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 Program2PersonDao.findProgram2PersonByPerson(int, fr.ifremer.allegro.administration.user.Person person)
.
findProgram2PersonByPerson
in interface Program2PersonDao
Program2PersonDao.findProgram2PersonByPerson(int, String, fr.ifremer.allegro.administration.user.Person)
public java.util.Collection findProgram2PersonByPerson(int transform, int pageNumber, int pageSize, Person person)
Program2PersonDao
Does the same thing as Program2PersonDao.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
in interface Program2PersonDao
Program2PersonDao.findProgram2PersonByPerson(int, int, int, fr.ifremer.allegro.administration.user.Person)
public java.util.Collection findProgram2PersonByPerson(int transform, java.lang.String queryString, int pageNumber, int pageSize, Person person)
Program2PersonDao
Does the same thing as Program2PersonDao.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.
findProgram2PersonByPerson
in interface Program2PersonDao
Program2PersonDao.findProgram2PersonByPerson(int, java.lang.String, int, int, fr.ifremer.allegro.administration.user.Person)
public Program2Person findProgram2PersonByNaturalId(java.lang.Integer id)
findProgram2PersonByNaturalId
in interface Program2PersonDao
Program2PersonDao.findProgram2PersonByNaturalId(java.lang.Integer)
public java.lang.Object findProgram2PersonByNaturalId(int transform, java.lang.Integer id)
Program2PersonDao
Does the same thing as Program2PersonDao.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
in interface Program2PersonDao
Program2PersonDao.findProgram2PersonByNaturalId(int, java.lang.Integer)
public Program2Person findProgram2PersonByNaturalId(java.lang.String queryString, java.lang.Integer id)
Program2PersonDao
Does the same thing as Program2PersonDao.findProgram2PersonByNaturalId(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in Program2PersonDao.findProgram2PersonByNaturalId(java.lang.Integer)
.
findProgram2PersonByNaturalId
in interface Program2PersonDao
Program2PersonDao.findProgram2PersonByNaturalId(java.lang.String, java.lang.Integer)
public java.lang.Object findProgram2PersonByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
Program2PersonDao
Does the same thing as Program2PersonDao.findProgram2PersonByNaturalId(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in Program2PersonDao.findProgram2PersonByNaturalId(int, java.lang.Integer id)
.
findProgram2PersonByNaturalId
in interface Program2PersonDao
Program2PersonDao.findProgram2PersonByNaturalId(int, java.lang.String, java.lang.Integer)
public Program2Person createFromClusterProgram2Person(ClusterProgram2Person clusterProgram2Person)
createFromClusterProgram2Person
in interface Program2PersonDao
Program2PersonDao.createFromClusterProgram2Person(fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterProgram2Person)
protected abstract Program2Person handleCreateFromClusterProgram2Person(ClusterProgram2Person clusterProgram2Person) throws java.lang.Exception
createFromClusterProgram2Person(fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterProgram2Person)
java.lang.Exception
protected java.lang.Object transformEntity(int transform, Program2Person entity)
transform
flag is set to one of the constants defined in fr.ifremer.allegro.administration.programStrategy.Program2PersonDao
, please note
that the Program2PersonDao.TRANSFORM_NONE
constant denotes no transformation, so the entity itself
will be returned.
This method will return instances of these types:
Program2Person
- Program2PersonDao.TRANSFORM_NONE
RemoteProgram2PersonFullVO
- TRANSFORM_REMOTEPROGRAM2PERSONFULLVO
RemoteProgram2PersonNaturalId
- TRANSFORM_REMOTEPROGRAM2PERSONNATURALID
ClusterProgram2Person
- TRANSFORM_CLUSTERPROGRAM2PERSON
Program2PersonDao.TRANSFORM_NONE
is assumed.
transform
- one of the constants declared in Program2PersonDao
entity
- an entity that was found
transformEntities(int,java.util.Collection)
protected void transformEntities(int transform, java.util.Collection entities)
transformEntity(int,fr.ifremer.allegro.administration.programStrategy.Program2Person)
method. This method does not instantiate a new collection.
This method is to be used internally only.
transform
- one of the constants declared in fr.ifremer.allegro.administration.programStrategy.Program2PersonDao
entities
- the collection of entities to transformtransformEntity(int,fr.ifremer.allegro.administration.programStrategy.Program2Person)
protected Program2Person toEntity(java.lang.Object[] row)
public final void toRemoteProgram2PersonFullVOCollection(java.util.Collection entities)
Program2PersonDao
RemoteProgram2PersonFullVO
.
toRemoteProgram2PersonFullVOCollection
in interface Program2PersonDao
Program2PersonDao.toRemoteProgram2PersonFullVOCollection(java.util.Collection)
public final RemoteProgram2PersonFullVO[] toRemoteProgram2PersonFullVOArray(java.util.Collection entities)
Program2PersonDao
RemoteProgram2PersonFullVO
.
toRemoteProgram2PersonFullVOArray
in interface Program2PersonDao
Program2PersonDao.toRemoteProgram2PersonFullVOArray(java.util.Collection)
protected RemoteProgram2PersonFullVO toRemoteProgram2PersonFullVO(java.lang.Object[] row)
Program2PersonDaoImpl
class if you intend to use reporting queries.
Program2PersonDao.toRemoteProgram2PersonFullVO(fr.ifremer.allegro.administration.programStrategy.Program2Person)
public final void remoteProgram2PersonFullVOToEntityCollection(java.util.Collection instances)
Program2PersonDao
RemoteProgram2PersonFullVO
to this
DAO's entity.
remoteProgram2PersonFullVOToEntityCollection
in interface Program2PersonDao
Program2PersonDao.remoteProgram2PersonFullVOToEntityCollection(java.util.Collection)
public void toRemoteProgram2PersonFullVO(Program2Person source, RemoteProgram2PersonFullVO target)
Program2PersonDao
toRemoteProgram2PersonFullVO
in interface Program2PersonDao
Program2PersonDao.toRemoteProgram2PersonFullVO(fr.ifremer.allegro.administration.programStrategy.Program2Person, fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgram2PersonFullVO)
public RemoteProgram2PersonFullVO toRemoteProgram2PersonFullVO(Program2Person entity)
Program2PersonDao
RemoteProgram2PersonFullVO
.
toRemoteProgram2PersonFullVO
in interface Program2PersonDao
Program2PersonDao.toRemoteProgram2PersonFullVO(fr.ifremer.allegro.administration.programStrategy.Program2Person)
public void remoteProgram2PersonFullVOToEntity(RemoteProgram2PersonFullVO source, Program2Person target, boolean copyIfNull)
Program2PersonDao
RemoteProgram2PersonFullVO
to the specified entity.
remoteProgram2PersonFullVOToEntity
in interface Program2PersonDao
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.fr.ifremer.allegro.administration.programStrategy.Program2PersonDao#remoteProgram2PersonFullVOToEntity(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgram2PersonFullVO, fr.ifremer.allegro.administration.programStrategy.Program2Person)
public final void toRemoteProgram2PersonNaturalIdCollection(java.util.Collection entities)
Program2PersonDao
RemoteProgram2PersonNaturalId
.
toRemoteProgram2PersonNaturalIdCollection
in interface Program2PersonDao
Program2PersonDao.toRemoteProgram2PersonNaturalIdCollection(java.util.Collection)
public final RemoteProgram2PersonNaturalId[] toRemoteProgram2PersonNaturalIdArray(java.util.Collection entities)
Program2PersonDao
RemoteProgram2PersonNaturalId
.
toRemoteProgram2PersonNaturalIdArray
in interface Program2PersonDao
Program2PersonDao.toRemoteProgram2PersonNaturalIdArray(java.util.Collection)
protected RemoteProgram2PersonNaturalId toRemoteProgram2PersonNaturalId(java.lang.Object[] row)
Program2PersonDaoImpl
class if you intend to use reporting queries.
Program2PersonDao.toRemoteProgram2PersonNaturalId(fr.ifremer.allegro.administration.programStrategy.Program2Person)
public final void remoteProgram2PersonNaturalIdToEntityCollection(java.util.Collection instances)
Program2PersonDao
RemoteProgram2PersonNaturalId
to this
DAO's entity.
remoteProgram2PersonNaturalIdToEntityCollection
in interface Program2PersonDao
Program2PersonDao.remoteProgram2PersonNaturalIdToEntityCollection(java.util.Collection)
public void toRemoteProgram2PersonNaturalId(Program2Person source, RemoteProgram2PersonNaturalId target)
Program2PersonDao
toRemoteProgram2PersonNaturalId
in interface Program2PersonDao
Program2PersonDao.toRemoteProgram2PersonNaturalId(fr.ifremer.allegro.administration.programStrategy.Program2Person, fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgram2PersonNaturalId)
public RemoteProgram2PersonNaturalId toRemoteProgram2PersonNaturalId(Program2Person entity)
Program2PersonDao
RemoteProgram2PersonNaturalId
.
toRemoteProgram2PersonNaturalId
in interface Program2PersonDao
Program2PersonDao.toRemoteProgram2PersonNaturalId(fr.ifremer.allegro.administration.programStrategy.Program2Person)
public void remoteProgram2PersonNaturalIdToEntity(RemoteProgram2PersonNaturalId source, Program2Person target, boolean copyIfNull)
Program2PersonDao
RemoteProgram2PersonNaturalId
to the specified entity.
remoteProgram2PersonNaturalIdToEntity
in interface Program2PersonDao
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.fr.ifremer.allegro.administration.programStrategy.Program2PersonDao#remoteProgram2PersonNaturalIdToEntity(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgram2PersonNaturalId, fr.ifremer.allegro.administration.programStrategy.Program2Person)
public final void toClusterProgram2PersonCollection(java.util.Collection entities)
Program2PersonDao
ClusterProgram2Person
.
toClusterProgram2PersonCollection
in interface Program2PersonDao
Program2PersonDao.toClusterProgram2PersonCollection(java.util.Collection)
public final ClusterProgram2Person[] toClusterProgram2PersonArray(java.util.Collection entities)
Program2PersonDao
ClusterProgram2Person
.
toClusterProgram2PersonArray
in interface Program2PersonDao
Program2PersonDao.toClusterProgram2PersonArray(java.util.Collection)
protected ClusterProgram2Person toClusterProgram2Person(java.lang.Object[] row)
Program2PersonDaoImpl
class if you intend to use reporting queries.
Program2PersonDao.toClusterProgram2Person(fr.ifremer.allegro.administration.programStrategy.Program2Person)
public final void clusterProgram2PersonToEntityCollection(java.util.Collection instances)
Program2PersonDao
ClusterProgram2Person
to this
DAO's entity.
clusterProgram2PersonToEntityCollection
in interface Program2PersonDao
Program2PersonDao.clusterProgram2PersonToEntityCollection(java.util.Collection)
public void toClusterProgram2Person(Program2Person source, ClusterProgram2Person target)
Program2PersonDao
toClusterProgram2Person
in interface Program2PersonDao
Program2PersonDao.toClusterProgram2Person(fr.ifremer.allegro.administration.programStrategy.Program2Person, fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterProgram2Person)
public ClusterProgram2Person toClusterProgram2Person(Program2Person entity)
Program2PersonDao
ClusterProgram2Person
.
toClusterProgram2Person
in interface Program2PersonDao
Program2PersonDao.toClusterProgram2Person(fr.ifremer.allegro.administration.programStrategy.Program2Person)
public void clusterProgram2PersonToEntity(ClusterProgram2Person source, Program2Person target, boolean copyIfNull)
Program2PersonDao
ClusterProgram2Person
to the specified entity.
clusterProgram2PersonToEntity
in interface Program2PersonDao
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.fr.ifremer.allegro.administration.programStrategy.Program2PersonDao#clusterProgram2PersonToEntity(fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterProgram2Person, fr.ifremer.allegro.administration.programStrategy.Program2Person)
protected java.security.Principal getPrincipal()
principal
if one has been set,
otherwise returns null
.
public PaginationResult search(int transform, int pageNumber, int pageSize, Search search)
Program2PersonDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface Program2PersonDao
transform
- the transformation flag.pageNumber
- the page number in the data to retrievepageSize
- the size of the page to retrieve.search
- the search object which provides the search parameters and pagination specification.
PaginationResult
instance.Program2PersonDao.search(int, int, int, fr.ifremer.allegro.Search)
public PaginationResult search(int pageNumber, int pageSize, Search search)
Program2PersonDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface Program2PersonDao
pageNumber
- the page number in the data to retrievepageSize
- the size of the page to retrieve.search
- the search object which provides the search parameters and pagination specification.
PaginationResult
instance.Program2PersonDao.search(int, int, fr.ifremer.allegro.Search)
public java.util.Set search(int transform, Search search)
Program2PersonDao
Program2PersonDao.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.
search
in interface Program2PersonDao
transform
- the transformation flag.search
- the search object which provides the search parameters and pagination specification.
Program2PersonDao.search(int, fr.ifremer.allegro.Search)
public java.util.Set search(Search search)
Program2PersonDao
search
object.
search
in interface Program2PersonDao
search
- the search object which provides the search parameters and pagination specification.
Program2PersonDao.search(fr.ifremer.allegro.Search)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |