|
||||||||||
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.Program2DepartmentDaoBase
public abstract class Program2DepartmentDaoBase
Base Spring DAO Class: is able to create, update, remove, load, and find
objects of type fr.ifremer.allegro.administration.programStrategy.Program2Department
.
Program2Department
Field Summary |
---|
Fields inherited from interface fr.ifremer.allegro.administration.programStrategy.Program2DepartmentDao |
---|
TRANSFORM_CLUSTERPROGRAM2DEPARTMENT, TRANSFORM_NONE, TRANSFORM_REMOTEPROGRAM2DEPARTMENTFULLVO, TRANSFORM_REMOTEPROGRAM2DEPARTMENTNATURALID |
Constructor Summary | |
---|---|
Program2DepartmentDaoBase()
|
Method Summary | |
---|---|
void |
clusterProgram2DepartmentToEntity(ClusterProgram2Department source,
Program2Department target,
boolean copyIfNull)
Copies the fields of ClusterProgram2Department to the specified entity. |
void |
clusterProgram2DepartmentToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type ClusterProgram2Department to this
DAO's entity. |
java.util.Collection |
create(java.util.Collection entities)
Creates a new instance of fr.ifremer.allegro.administration.programStrategy.Program2Department and adds from the passed in entities collection |
Program2Department |
create(Department department,
Program program,
ProgramPrivilege programPrivilege)
Creates a new fr.ifremer.allegro.administration.programStrategy.Program2Department
instance from only required properties (attributes
and association ends) and adds it to the persistent store. |
java.util.Collection |
create(int transform,
java.util.Collection entities)
Does the same thing as Program2DepartmentDao.create(fr.ifremer.allegro.administration.programStrategy.Program2Department) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
Department department,
Program program,
ProgramPrivilege programPrivilege)
Does the same thing as Program2DepartmentDao.create(fr.ifremer.allegro.administration.user.Department,fr.ifremer.allegro.administration.programStrategy.Program,fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
Program2Department program2Department)
Does the same thing as Program2DepartmentDao.create(fr.ifremer.allegro.administration.programStrategy.Program2Department) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
Program program,
Location location,
ProgramPrivilege programPrivilege,
Department department)
Does the same thing as Program2DepartmentDao.create(fr.ifremer.allegro.administration.programStrategy.Program,fr.ifremer.allegro.referential.location.Location,fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege,fr.ifremer.allegro.administration.user.Department) with an
additional flag called transform . |
Program2Department |
create(Program2Department program2Department)
Creates an instance of fr.ifremer.allegro.administration.programStrategy.Program2Department and adds it to the persistent store. |
Program2Department |
create(Program program,
Location location,
ProgramPrivilege programPrivilege,
Department department)
Creates a new fr.ifremer.allegro.administration.programStrategy.Program2Department
instance from all attributes and
properties and adds it to the persistent store. |
Program2Department |
createFromClusterProgram2Department(ClusterProgram2Department clusterProgram2Department)
|
java.util.Collection |
findProgram2DepartmentByDepartment(Department department)
|
java.util.Collection |
findProgram2DepartmentByDepartment(int transform,
Department department)
Does the same thing as Program2DepartmentDao.findProgram2DepartmentByDepartment(fr.ifremer.allegro.administration.user.Department) with an
additional flag called transform . |
java.util.Collection |
findProgram2DepartmentByDepartment(int pageNumber,
int pageSize,
Department department)
Does the same thing as Program2DepartmentDao.findProgram2DepartmentByDepartment(fr.ifremer.allegro.administration.user.Department) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findProgram2DepartmentByDepartment(int transform,
int pageNumber,
int pageSize,
Department department)
Does the same thing as Program2DepartmentDao.findProgram2DepartmentByDepartment(int, fr.ifremer.allegro.administration.user.Department) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findProgram2DepartmentByDepartment(int transform,
java.lang.String queryString,
Department department)
Does the same thing as Program2DepartmentDao.findProgram2DepartmentByDepartment(int, fr.ifremer.allegro.administration.user.Department) with an
additional argument called queryString . |
java.util.Collection |
findProgram2DepartmentByDepartment(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
Department department)
Does the same thing as Program2DepartmentDao.findProgram2DepartmentByDepartment(int, String, fr.ifremer.allegro.administration.user.Department) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findProgram2DepartmentByDepartment(java.lang.String queryString,
Department department)
Does the same thing as Program2DepartmentDao.findProgram2DepartmentByDepartment(fr.ifremer.allegro.administration.user.Department) with an
additional argument called queryString . |
java.util.Collection |
findProgram2DepartmentByDepartment(java.lang.String queryString,
int pageNumber,
int pageSize,
Department department)
Does the same thing as Program2DepartmentDao.findProgram2DepartmentByDepartment(String, fr.ifremer.allegro.administration.user.Department) with an
additional two arguments called pageNumber and pageSize . |
Program2Department |
findProgram2DepartmentById(java.lang.Integer id)
|
java.lang.Object |
findProgram2DepartmentById(int transform,
java.lang.Integer id)
Does the same thing as Program2DepartmentDao.findProgram2DepartmentById(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findProgram2DepartmentById(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as Program2DepartmentDao.findProgram2DepartmentById(int, java.lang.Integer) with an
additional argument called queryString . |
Program2Department |
findProgram2DepartmentById(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as Program2DepartmentDao.findProgram2DepartmentById(java.lang.Integer) with an
additional argument called queryString . |
java.util.Collection |
findProgram2DepartmentByLocation(int transform,
int pageNumber,
int pageSize,
Location location)
Does the same thing as Program2DepartmentDao.findProgram2DepartmentByLocation(int, fr.ifremer.allegro.referential.location.Location) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findProgram2DepartmentByLocation(int pageNumber,
int pageSize,
Location location)
Does the same thing as Program2DepartmentDao.findProgram2DepartmentByLocation(fr.ifremer.allegro.referential.location.Location) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findProgram2DepartmentByLocation(int transform,
Location location)
Does the same thing as Program2DepartmentDao.findProgram2DepartmentByLocation(fr.ifremer.allegro.referential.location.Location) with an
additional flag called transform . |
java.util.Collection |
findProgram2DepartmentByLocation(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
Location location)
Does the same thing as Program2DepartmentDao.findProgram2DepartmentByLocation(int, String, fr.ifremer.allegro.referential.location.Location) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findProgram2DepartmentByLocation(int transform,
java.lang.String queryString,
Location location)
Does the same thing as Program2DepartmentDao.findProgram2DepartmentByLocation(int, fr.ifremer.allegro.referential.location.Location) with an
additional argument called queryString . |
java.util.Collection |
findProgram2DepartmentByLocation(Location location)
|
java.util.Collection |
findProgram2DepartmentByLocation(java.lang.String queryString,
int pageNumber,
int pageSize,
Location location)
Does the same thing as Program2DepartmentDao.findProgram2DepartmentByLocation(String, fr.ifremer.allegro.referential.location.Location) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findProgram2DepartmentByLocation(java.lang.String queryString,
Location location)
Does the same thing as Program2DepartmentDao.findProgram2DepartmentByLocation(fr.ifremer.allegro.referential.location.Location) with an
additional argument called queryString . |
Program2Department |
findProgram2DepartmentByNaturalId(java.lang.Integer id)
|
java.lang.Object |
findProgram2DepartmentByNaturalId(int transform,
java.lang.Integer id)
Does the same thing as Program2DepartmentDao.findProgram2DepartmentByNaturalId(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findProgram2DepartmentByNaturalId(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as Program2DepartmentDao.findProgram2DepartmentByNaturalId(int, java.lang.Integer) with an
additional argument called queryString . |
Program2Department |
findProgram2DepartmentByNaturalId(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as Program2DepartmentDao.findProgram2DepartmentByNaturalId(java.lang.Integer) with an
additional argument called queryString . |
java.util.Collection |
findProgram2DepartmentByProgram(int transform,
int pageNumber,
int pageSize,
Program program)
Does the same thing as Program2DepartmentDao.findProgram2DepartmentByProgram(int, fr.ifremer.allegro.administration.programStrategy.Program) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findProgram2DepartmentByProgram(int pageNumber,
int pageSize,
Program program)
Does the same thing as Program2DepartmentDao.findProgram2DepartmentByProgram(fr.ifremer.allegro.administration.programStrategy.Program) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findProgram2DepartmentByProgram(int transform,
Program program)
Does the same thing as Program2DepartmentDao.findProgram2DepartmentByProgram(fr.ifremer.allegro.administration.programStrategy.Program) with an
additional flag called transform . |
java.util.Collection |
findProgram2DepartmentByProgram(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
Program program)
Does the same thing as Program2DepartmentDao.findProgram2DepartmentByProgram(int, String, fr.ifremer.allegro.administration.programStrategy.Program) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findProgram2DepartmentByProgram(int transform,
java.lang.String queryString,
Program program)
Does the same thing as Program2DepartmentDao.findProgram2DepartmentByProgram(int, fr.ifremer.allegro.administration.programStrategy.Program) with an
additional argument called queryString . |
java.util.Collection |
findProgram2DepartmentByProgram(Program program)
|
java.util.Collection |
findProgram2DepartmentByProgram(java.lang.String queryString,
int pageNumber,
int pageSize,
Program program)
Does the same thing as Program2DepartmentDao.findProgram2DepartmentByProgram(String, fr.ifremer.allegro.administration.programStrategy.Program) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findProgram2DepartmentByProgram(java.lang.String queryString,
Program program)
Does the same thing as Program2DepartmentDao.findProgram2DepartmentByProgram(fr.ifremer.allegro.administration.programStrategy.Program) with an
additional argument called queryString . |
java.util.Collection |
findProgram2DepartmentByProgramPrivilege(int transform,
int pageNumber,
int pageSize,
ProgramPrivilege programPrivilege)
Does the same thing as Program2DepartmentDao.findProgram2DepartmentByProgramPrivilege(int, fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findProgram2DepartmentByProgramPrivilege(int pageNumber,
int pageSize,
ProgramPrivilege programPrivilege)
Does the same thing as Program2DepartmentDao.findProgram2DepartmentByProgramPrivilege(fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findProgram2DepartmentByProgramPrivilege(int transform,
ProgramPrivilege programPrivilege)
Does the same thing as Program2DepartmentDao.findProgram2DepartmentByProgramPrivilege(fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege) with an
additional flag called transform . |
java.util.Collection |
findProgram2DepartmentByProgramPrivilege(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
ProgramPrivilege programPrivilege)
Does the same thing as Program2DepartmentDao.findProgram2DepartmentByProgramPrivilege(int, String, fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findProgram2DepartmentByProgramPrivilege(int transform,
java.lang.String queryString,
ProgramPrivilege programPrivilege)
Does the same thing as Program2DepartmentDao.findProgram2DepartmentByProgramPrivilege(int, fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege) with an
additional argument called queryString . |
java.util.Collection |
findProgram2DepartmentByProgramPrivilege(ProgramPrivilege programPrivilege)
|
java.util.Collection |
findProgram2DepartmentByProgramPrivilege(java.lang.String queryString,
int pageNumber,
int pageSize,
ProgramPrivilege programPrivilege)
Does the same thing as Program2DepartmentDao.findProgram2DepartmentByProgramPrivilege(String, fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findProgram2DepartmentByProgramPrivilege(java.lang.String queryString,
ProgramPrivilege programPrivilege)
Does the same thing as Program2DepartmentDao.findProgram2DepartmentByProgramPrivilege(fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege) with an
additional argument called queryString . |
java.util.Collection |
getAllProgram2Department()
|
java.util.Collection |
getAllProgram2Department(int transform)
Does the same thing as Program2DepartmentDao.getAllProgram2Department() with an
additional flag called transform . |
java.util.Collection |
getAllProgram2Department(int pageNumber,
int pageSize)
Does the same thing as Program2DepartmentDao.getAllProgram2Department() with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllProgram2Department(int transform,
int pageNumber,
int pageSize)
Does the same thing as Program2DepartmentDao.getAllProgram2Department(int) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllProgram2Department(int transform,
java.lang.String queryString)
Does the same thing as Program2DepartmentDao.getAllProgram2Department(int) with an
additional argument called queryString . |
java.util.Collection |
getAllProgram2Department(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as Program2DepartmentDao.getAllProgram2Department(int, String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllProgram2Department(java.lang.String queryString)
Does the same thing as Program2DepartmentDao.getAllProgram2Department() with an
additional argument called queryString . |
java.util.Collection |
getAllProgram2Department(java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as Program2DepartmentDao.getAllProgram2Department(String) with an
additional two arguments called pageNumber and pageSize . |
protected DepartmentDao |
getDepartmentDao()
Gets the reference to departmentDao . |
protected LocationDao |
getLocationDao()
Gets the reference to locationDao . |
protected java.security.Principal |
getPrincipal()
Gets the current principal if one has been set,
otherwise returns null . |
protected ProgramDao |
getProgramDao()
Gets the reference to programDao . |
protected ProgramPrivilegeDao |
getProgramPrivilegeDao()
Gets the reference to programPrivilegeDao . |
protected abstract Program2Department |
handleCreateFromClusterProgram2Department(ClusterProgram2Department clusterProgram2Department)
Performs the core logic for createFromClusterProgram2Department(fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterProgram2Department) |
Program2Department |
load(java.lang.Integer id)
Loads an instance of fr.ifremer.allegro.administration.programStrategy.Program2Department from the persistent store. |
java.lang.Object |
load(int transform,
java.lang.Integer id)
Does the same thing as Program2DepartmentDao.load(java.lang.Integer) with an
additional flag called transform . |
java.util.Collection |
loadAll()
Loads all entities of type Program2Department . |
java.util.Collection |
loadAll(int transform)
Does the same thing as Program2DepartmentDao.loadAll() with an
additional flag called transform . |
java.util.Collection |
loadAll(int pageNumber,
int pageSize)
Does the same thing as Program2DepartmentDao.loadAll() with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
loadAll(int transform,
int pageNumber,
int pageSize)
Does the same thing as Program2DepartmentDao.loadAll(int) with an
additional two arguments called pageNumber and pageSize . |
void |
remoteProgram2DepartmentFullVOToEntity(RemoteProgram2DepartmentFullVO source,
Program2Department target,
boolean copyIfNull)
Copies the fields of RemoteProgram2DepartmentFullVO to the specified entity. |
void |
remoteProgram2DepartmentFullVOToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteProgram2DepartmentFullVO to this
DAO's entity. |
void |
remoteProgram2DepartmentNaturalIdToEntity(RemoteProgram2DepartmentNaturalId source,
Program2Department target,
boolean copyIfNull)
Copies the fields of RemoteProgram2DepartmentNaturalId to the specified entity. |
void |
remoteProgram2DepartmentNaturalIdToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteProgram2DepartmentNaturalId to this
DAO's entity. |
void |
remove(java.util.Collection entities)
Removes all entities in the given entities |
void |
remove(java.lang.Integer id)
Removes the instance of fr.ifremer.allegro.administration.programStrategy.Program2Department having the given identifier from the persistent store. |
void |
remove(Program2Department program2Department)
Removes the instance of fr.ifremer.allegro.administration.programStrategy.Program2Department from the persistent store. |
PaginationResult |
search(int transform,
int pageNumber,
int pageSize,
Search search)
Does the same thing as {@link #search(int, fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize . |
PaginationResult |
search(int pageNumber,
int pageSize,
Search search)
Does the same thing as {@link #search(fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize . |
java.util.Set |
search(int transform,
Search search)
Does the same thing as Program2DepartmentDao.search(fr.ifremer.allegro.Search) but with an
additional flag called transform . |
java.util.Set |
search(Search search)
Performs a search using the parameters specified in the given search object. |
void |
setDepartmentDao(DepartmentDao departmentDao)
Sets the reference to departmentDao . |
void |
setLocationDao(LocationDao locationDao)
Sets the reference to locationDao . |
void |
setProgramDao(ProgramDao programDao)
Sets the reference to programDao . |
void |
setProgramPrivilegeDao(ProgramPrivilegeDao programPrivilegeDao)
Sets the reference to programPrivilegeDao . |
protected ClusterProgram2Department |
toClusterProgram2Department(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
ClusterProgram2Department |
toClusterProgram2Department(Program2Department entity)
Converts this DAO's entity to an object of type ClusterProgram2Department . |
void |
toClusterProgram2Department(Program2Department source,
ClusterProgram2Department target)
Copies the fields of the specified entity to the target value object. |
ClusterProgram2Department[] |
toClusterProgram2DepartmentArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type ClusterProgram2Department . |
void |
toClusterProgram2DepartmentCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type ClusterProgram2Department . |
protected Program2Department |
toEntity(java.lang.Object[] row)
|
protected RemoteProgram2DepartmentFullVO |
toRemoteProgram2DepartmentFullVO(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteProgram2DepartmentFullVO |
toRemoteProgram2DepartmentFullVO(Program2Department entity)
Converts this DAO's entity to an object of type RemoteProgram2DepartmentFullVO . |
void |
toRemoteProgram2DepartmentFullVO(Program2Department source,
RemoteProgram2DepartmentFullVO target)
Copies the fields of the specified entity to the target value object. |
RemoteProgram2DepartmentFullVO[] |
toRemoteProgram2DepartmentFullVOArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteProgram2DepartmentFullVO . |
void |
toRemoteProgram2DepartmentFullVOCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteProgram2DepartmentFullVO . |
protected RemoteProgram2DepartmentNaturalId |
toRemoteProgram2DepartmentNaturalId(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteProgram2DepartmentNaturalId |
toRemoteProgram2DepartmentNaturalId(Program2Department entity)
Converts this DAO's entity to an object of type RemoteProgram2DepartmentNaturalId . |
void |
toRemoteProgram2DepartmentNaturalId(Program2Department source,
RemoteProgram2DepartmentNaturalId target)
Copies the fields of the specified entity to the target value object. |
RemoteProgram2DepartmentNaturalId[] |
toRemoteProgram2DepartmentNaturalIdArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteProgram2DepartmentNaturalId . |
void |
toRemoteProgram2DepartmentNaturalIdCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteProgram2DepartmentNaturalId . |
protected void |
transformEntities(int transform,
java.util.Collection entities)
Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.administration.programStrategy.Program2Department)
method. |
protected java.lang.Object |
transformEntity(int transform,
Program2Department entity)
Allows transformation of entities into value objects (or something else for that matter), when the transform
flag is set to one of the constants defined in fr.ifremer.allegro.administration.programStrategy.Program2DepartmentDao , please note
that the Program2DepartmentDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself
will be returned. |
void |
update(java.util.Collection entities)
Updates all instances in the entities collection in the persistent store. |
void |
update(Program2Department program2Department)
Updates the program2Department instance in the persistent store. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface fr.ifremer.allegro.administration.programStrategy.Program2DepartmentDao |
---|
clusterProgram2DepartmentToEntity, remoteProgram2DepartmentFullVOToEntity, remoteProgram2DepartmentNaturalIdToEntity |
Constructor Detail |
---|
public Program2DepartmentDaoBase()
Method Detail |
---|
public void setLocationDao(LocationDao locationDao)
locationDao
.
protected LocationDao getLocationDao()
locationDao
.
public void setProgramDao(ProgramDao programDao)
programDao
.
protected ProgramDao getProgramDao()
programDao
.
public void setDepartmentDao(DepartmentDao departmentDao)
departmentDao
.
protected DepartmentDao getDepartmentDao()
departmentDao
.
public void setProgramPrivilegeDao(ProgramPrivilegeDao programPrivilegeDao)
programPrivilegeDao
.
protected ProgramPrivilegeDao getProgramPrivilegeDao()
programPrivilegeDao
.
public java.lang.Object load(int transform, java.lang.Integer id)
Program2DepartmentDao
Does the same thing as Program2DepartmentDao.load(java.lang.Integer)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined in this class then the result WILL BE passed through an operation which can
optionally transform the entity (into a value object for example). By default, transformation does
not occur.
load
in interface Program2DepartmentDao
id
- identifier of the entity to load
Program2DepartmentDao.load(int, java.lang.Integer)
public Program2Department load(java.lang.Integer id)
Program2DepartmentDao
load
in interface Program2DepartmentDao
Program2DepartmentDao.load(java.lang.Integer)
public java.util.Collection loadAll()
Program2DepartmentDao
Program2Department
.
loadAll
in interface Program2DepartmentDao
Program2DepartmentDao.loadAll()
public java.util.Collection loadAll(int transform)
Program2DepartmentDao
Does the same thing as Program2DepartmentDao.loadAll()
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined here then the result WILL BE passed through an operation which can optionally
transform the entity (into a value object for example). By default, transformation does
not occur.
loadAll
in interface Program2DepartmentDao
transform
- the flag indicating what transformation to use.
Program2DepartmentDao.loadAll(int)
public java.util.Collection loadAll(int pageNumber, int pageSize)
Program2DepartmentDao
Does the same thing as Program2DepartmentDao.loadAll()
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
loadAll
in interface Program2DepartmentDao
pageNumber
- the page number to retrieve when paging results.pageSize
- the size of the page to retrieve when paging results.
Program2DepartmentDao.loadAll(int, int)
public java.util.Collection loadAll(int transform, int pageNumber, int pageSize)
Program2DepartmentDao
Does the same thing as Program2DepartmentDao.loadAll(int)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
loadAll
in interface Program2DepartmentDao
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.
Program2DepartmentDao.loadAll(int, int, int)
public Program2Department create(Program2Department program2Department)
Program2DepartmentDao
create
in interface Program2DepartmentDao
Program2DepartmentDao.create(fr.ifremer.allegro.administration.programStrategy.Program2Department)
public java.lang.Object create(int transform, Program2Department program2Department)
Program2DepartmentDao
Does the same thing as Program2DepartmentDao.create(fr.ifremer.allegro.administration.programStrategy.Program2Department)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined here then the result WILL BE passed through an operation which can optionally
transform the entity (into a value object for example). By default, transformation does
not occur.
create
in interface Program2DepartmentDao
Program2DepartmentDao.create(int transform, fr.ifremer.allegro.administration.programStrategy.Program2Department)
public java.util.Collection create(java.util.Collection entities)
Program2DepartmentDao
entities
collection
create
in interface Program2DepartmentDao
entities
- the collection of fr.ifremer.allegro.administration.programStrategy.Program2Department
instances to create.
Program2DepartmentDao.create(java.util.Collection)
public java.util.Collection create(int transform, java.util.Collection entities)
Program2DepartmentDao
Does the same thing as Program2DepartmentDao.create(fr.ifremer.allegro.administration.programStrategy.Program2Department)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined here then the result WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
create
in interface Program2DepartmentDao
Program2DepartmentDao.create(int, java.util.Collection)
public Program2Department create(Program program, Location location, ProgramPrivilege programPrivilege, Department department)
Program2DepartmentDao
Creates a new fr.ifremer.allegro.administration.programStrategy.Program2Department
instance from all attributes and
properties and adds it to the persistent store.
create
in interface Program2DepartmentDao
Program2DepartmentDao.create(fr.ifremer.allegro.administration.programStrategy.Program,fr.ifremer.allegro.referential.location.Location,fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege,fr.ifremer.allegro.administration.user.Department)
public java.lang.Object create(int transform, Program program, Location location, ProgramPrivilege programPrivilege, Department department)
Program2DepartmentDao
Does the same thing as Program2DepartmentDao.create(fr.ifremer.allegro.administration.programStrategy.Program,fr.ifremer.allegro.referential.location.Location,fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege,fr.ifremer.allegro.administration.user.Department)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined here then the result WILL BE passed through an operation which can optionally
transform the entity (into a value object for example). By default, transformation does
not occur.
create
in interface Program2DepartmentDao
Program2DepartmentDao.create(int, fr.ifremer.allegro.administration.programStrategy.Program,fr.ifremer.allegro.referential.location.Location,fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege,fr.ifremer.allegro.administration.user.Department)
public Program2Department create(Department department, Program program, ProgramPrivilege programPrivilege)
Program2DepartmentDao
Creates a new fr.ifremer.allegro.administration.programStrategy.Program2Department
instance from only required properties (attributes
and association ends) and adds it to the persistent store.
create
in interface Program2DepartmentDao
Program2DepartmentDao.create(fr.ifremer.allegro.administration.user.Department,fr.ifremer.allegro.administration.programStrategy.Program,fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege)
public java.lang.Object create(int transform, Department department, Program program, ProgramPrivilege programPrivilege)
Program2DepartmentDao
Does the same thing as Program2DepartmentDao.create(fr.ifremer.allegro.administration.user.Department,fr.ifremer.allegro.administration.programStrategy.Program,fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOTWILL BE passed through an operation which can optionally
transform the entity (into a value object for example). By default, transformation does
not occur.
create
in interface Program2DepartmentDao
Program2DepartmentDao.create(int, fr.ifremer.allegro.administration.user.Department,fr.ifremer.allegro.administration.programStrategy.Program,fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege)
public void update(Program2Department program2Department)
Program2DepartmentDao
program2Department
instance in the persistent store.
update
in interface Program2DepartmentDao
Program2DepartmentDao.update(fr.ifremer.allegro.administration.programStrategy.Program2Department)
public void update(java.util.Collection entities)
Program2DepartmentDao
entities
collection in the persistent store.
update
in interface Program2DepartmentDao
Program2DepartmentDao.update(java.util.Collection)
public void remove(Program2Department program2Department)
Program2DepartmentDao
remove
in interface Program2DepartmentDao
Program2DepartmentDao.remove(fr.ifremer.allegro.administration.programStrategy.Program2Department)
public void remove(java.lang.Integer id)
Program2DepartmentDao
identifier
from the persistent store.
remove
in interface Program2DepartmentDao
Program2DepartmentDao.remove(java.lang.Integer)
public void remove(java.util.Collection entities)
Program2DepartmentDao
entities collection.
- Specified by:
remove
in interface Program2DepartmentDao
- See Also:
Program2DepartmentDao.remove(java.util.Collection)
public java.util.Collection getAllProgram2Department()
getAllProgram2Department
in interface Program2DepartmentDao
Program2DepartmentDao.getAllProgram2Department()
public java.util.Collection getAllProgram2Department(int transform)
Program2DepartmentDao
Does the same thing as Program2DepartmentDao.getAllProgram2Department()
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
getAllProgram2Department
in interface Program2DepartmentDao
Program2DepartmentDao.getAllProgram2Department(int)
public java.util.Collection getAllProgram2Department(java.lang.String queryString)
Program2DepartmentDao
Does the same thing as Program2DepartmentDao.getAllProgram2Department()
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in Program2DepartmentDao.getAllProgram2Department()
.
getAllProgram2Department
in interface Program2DepartmentDao
Program2DepartmentDao.getAllProgram2Department(java.lang.String)
public java.util.Collection getAllProgram2Department(int pageNumber, int pageSize)
Program2DepartmentDao
Does the same thing as Program2DepartmentDao.getAllProgram2Department()
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllProgram2Department
in interface Program2DepartmentDao
Program2DepartmentDao.getAllProgram2Department(int, int)
public java.util.Collection getAllProgram2Department(java.lang.String queryString, int pageNumber, int pageSize)
Program2DepartmentDao
Does the same thing as Program2DepartmentDao.getAllProgram2Department(String)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllProgram2Department
in interface Program2DepartmentDao
Program2DepartmentDao.getAllProgram2Department(String, int, int)
public java.util.Collection getAllProgram2Department(int transform, java.lang.String queryString)
Program2DepartmentDao
Does the same thing as Program2DepartmentDao.getAllProgram2Department(int)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in Program2DepartmentDao.getAllProgram2Department(int)
.
getAllProgram2Department
in interface Program2DepartmentDao
Program2DepartmentDao.getAllProgram2Department(int, String)
public java.util.Collection getAllProgram2Department(int transform, int pageNumber, int pageSize)
Program2DepartmentDao
Does the same thing as Program2DepartmentDao.getAllProgram2Department(int)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllProgram2Department
in interface Program2DepartmentDao
Program2DepartmentDao.getAllProgram2Department(int, int, int)
public java.util.Collection getAllProgram2Department(int transform, java.lang.String queryString, int pageNumber, int pageSize)
Program2DepartmentDao
Does the same thing as Program2DepartmentDao.getAllProgram2Department(int, String)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllProgram2Department
in interface Program2DepartmentDao
Program2DepartmentDao.getAllProgram2Department(int, java.lang.String, int, int)
public Program2Department findProgram2DepartmentById(java.lang.Integer id)
findProgram2DepartmentById
in interface Program2DepartmentDao
Program2DepartmentDao.findProgram2DepartmentById(java.lang.Integer)
public java.lang.Object findProgram2DepartmentById(int transform, java.lang.Integer id)
Program2DepartmentDao
Does the same thing as Program2DepartmentDao.findProgram2DepartmentById(java.lang.Integer)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
findProgram2DepartmentById
in interface Program2DepartmentDao
Program2DepartmentDao.findProgram2DepartmentById(int, java.lang.Integer)
public Program2Department findProgram2DepartmentById(java.lang.String queryString, java.lang.Integer id)
Program2DepartmentDao
Does the same thing as Program2DepartmentDao.findProgram2DepartmentById(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in Program2DepartmentDao.findProgram2DepartmentById(java.lang.Integer)
.
findProgram2DepartmentById
in interface Program2DepartmentDao
Program2DepartmentDao.findProgram2DepartmentById(java.lang.String, java.lang.Integer)
public java.lang.Object findProgram2DepartmentById(int transform, java.lang.String queryString, java.lang.Integer id)
Program2DepartmentDao
Does the same thing as Program2DepartmentDao.findProgram2DepartmentById(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in Program2DepartmentDao.findProgram2DepartmentById(int, java.lang.Integer id)
.
findProgram2DepartmentById
in interface Program2DepartmentDao
Program2DepartmentDao.findProgram2DepartmentById(int, java.lang.String, java.lang.Integer)
public java.util.Collection findProgram2DepartmentByLocation(Location location)
findProgram2DepartmentByLocation
in interface Program2DepartmentDao
Program2DepartmentDao.findProgram2DepartmentByLocation(fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findProgram2DepartmentByLocation(int transform, Location location)
Program2DepartmentDao
Does the same thing as Program2DepartmentDao.findProgram2DepartmentByLocation(fr.ifremer.allegro.referential.location.Location)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
findProgram2DepartmentByLocation
in interface Program2DepartmentDao
Program2DepartmentDao.findProgram2DepartmentByLocation(int, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findProgram2DepartmentByLocation(java.lang.String queryString, Location location)
Program2DepartmentDao
Does the same thing as Program2DepartmentDao.findProgram2DepartmentByLocation(fr.ifremer.allegro.referential.location.Location)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in Program2DepartmentDao.findProgram2DepartmentByLocation(fr.ifremer.allegro.referential.location.Location)
.
findProgram2DepartmentByLocation
in interface Program2DepartmentDao
Program2DepartmentDao.findProgram2DepartmentByLocation(java.lang.String, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findProgram2DepartmentByLocation(int pageNumber, int pageSize, Location location)
Program2DepartmentDao
Does the same thing as Program2DepartmentDao.findProgram2DepartmentByLocation(fr.ifremer.allegro.referential.location.Location)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findProgram2DepartmentByLocation
in interface Program2DepartmentDao
Program2DepartmentDao.findProgram2DepartmentByLocation(int, int, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findProgram2DepartmentByLocation(java.lang.String queryString, int pageNumber, int pageSize, Location location)
Program2DepartmentDao
Does the same thing as Program2DepartmentDao.findProgram2DepartmentByLocation(String, fr.ifremer.allegro.referential.location.Location)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findProgram2DepartmentByLocation
in interface Program2DepartmentDao
Program2DepartmentDao.findProgram2DepartmentByLocation(String, int, int, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findProgram2DepartmentByLocation(int transform, java.lang.String queryString, Location location)
Program2DepartmentDao
Does the same thing as Program2DepartmentDao.findProgram2DepartmentByLocation(int, fr.ifremer.allegro.referential.location.Location)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in Program2DepartmentDao.findProgram2DepartmentByLocation(int, fr.ifremer.allegro.referential.location.Location location)
.
findProgram2DepartmentByLocation
in interface Program2DepartmentDao
Program2DepartmentDao.findProgram2DepartmentByLocation(int, String, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findProgram2DepartmentByLocation(int transform, int pageNumber, int pageSize, Location location)
Program2DepartmentDao
Does the same thing as Program2DepartmentDao.findProgram2DepartmentByLocation(int, fr.ifremer.allegro.referential.location.Location)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findProgram2DepartmentByLocation
in interface Program2DepartmentDao
Program2DepartmentDao.findProgram2DepartmentByLocation(int, int, int, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findProgram2DepartmentByLocation(int transform, java.lang.String queryString, int pageNumber, int pageSize, Location location)
Program2DepartmentDao
Does the same thing as Program2DepartmentDao.findProgram2DepartmentByLocation(int, String, fr.ifremer.allegro.referential.location.Location)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findProgram2DepartmentByLocation
in interface Program2DepartmentDao
Program2DepartmentDao.findProgram2DepartmentByLocation(int, java.lang.String, int, int, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findProgram2DepartmentByProgram(Program program)
findProgram2DepartmentByProgram
in interface Program2DepartmentDao
Program2DepartmentDao.findProgram2DepartmentByProgram(fr.ifremer.allegro.administration.programStrategy.Program)
public java.util.Collection findProgram2DepartmentByProgram(int transform, Program program)
Program2DepartmentDao
Does the same thing as Program2DepartmentDao.findProgram2DepartmentByProgram(fr.ifremer.allegro.administration.programStrategy.Program)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
findProgram2DepartmentByProgram
in interface Program2DepartmentDao
Program2DepartmentDao.findProgram2DepartmentByProgram(int, fr.ifremer.allegro.administration.programStrategy.Program)
public java.util.Collection findProgram2DepartmentByProgram(java.lang.String queryString, Program program)
Program2DepartmentDao
Does the same thing as Program2DepartmentDao.findProgram2DepartmentByProgram(fr.ifremer.allegro.administration.programStrategy.Program)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in Program2DepartmentDao.findProgram2DepartmentByProgram(fr.ifremer.allegro.administration.programStrategy.Program)
.
findProgram2DepartmentByProgram
in interface Program2DepartmentDao
Program2DepartmentDao.findProgram2DepartmentByProgram(java.lang.String, fr.ifremer.allegro.administration.programStrategy.Program)
public java.util.Collection findProgram2DepartmentByProgram(int pageNumber, int pageSize, Program program)
Program2DepartmentDao
Does the same thing as Program2DepartmentDao.findProgram2DepartmentByProgram(fr.ifremer.allegro.administration.programStrategy.Program)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findProgram2DepartmentByProgram
in interface Program2DepartmentDao
Program2DepartmentDao.findProgram2DepartmentByProgram(int, int, fr.ifremer.allegro.administration.programStrategy.Program)
public java.util.Collection findProgram2DepartmentByProgram(java.lang.String queryString, int pageNumber, int pageSize, Program program)
Program2DepartmentDao
Does the same thing as Program2DepartmentDao.findProgram2DepartmentByProgram(String, fr.ifremer.allegro.administration.programStrategy.Program)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findProgram2DepartmentByProgram
in interface Program2DepartmentDao
Program2DepartmentDao.findProgram2DepartmentByProgram(String, int, int, fr.ifremer.allegro.administration.programStrategy.Program)
public java.util.Collection findProgram2DepartmentByProgram(int transform, java.lang.String queryString, Program program)
Program2DepartmentDao
Does the same thing as Program2DepartmentDao.findProgram2DepartmentByProgram(int, fr.ifremer.allegro.administration.programStrategy.Program)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in Program2DepartmentDao.findProgram2DepartmentByProgram(int, fr.ifremer.allegro.administration.programStrategy.Program program)
.
findProgram2DepartmentByProgram
in interface Program2DepartmentDao
Program2DepartmentDao.findProgram2DepartmentByProgram(int, String, fr.ifremer.allegro.administration.programStrategy.Program)
public java.util.Collection findProgram2DepartmentByProgram(int transform, int pageNumber, int pageSize, Program program)
Program2DepartmentDao
Does the same thing as Program2DepartmentDao.findProgram2DepartmentByProgram(int, fr.ifremer.allegro.administration.programStrategy.Program)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findProgram2DepartmentByProgram
in interface Program2DepartmentDao
Program2DepartmentDao.findProgram2DepartmentByProgram(int, int, int, fr.ifremer.allegro.administration.programStrategy.Program)
public java.util.Collection findProgram2DepartmentByProgram(int transform, java.lang.String queryString, int pageNumber, int pageSize, Program program)
Program2DepartmentDao
Does the same thing as Program2DepartmentDao.findProgram2DepartmentByProgram(int, String, fr.ifremer.allegro.administration.programStrategy.Program)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findProgram2DepartmentByProgram
in interface Program2DepartmentDao
Program2DepartmentDao.findProgram2DepartmentByProgram(int, java.lang.String, int, int, fr.ifremer.allegro.administration.programStrategy.Program)
public java.util.Collection findProgram2DepartmentByDepartment(Department department)
findProgram2DepartmentByDepartment
in interface Program2DepartmentDao
Program2DepartmentDao.findProgram2DepartmentByDepartment(fr.ifremer.allegro.administration.user.Department)
public java.util.Collection findProgram2DepartmentByDepartment(int transform, Department department)
Program2DepartmentDao
Does the same thing as Program2DepartmentDao.findProgram2DepartmentByDepartment(fr.ifremer.allegro.administration.user.Department)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
findProgram2DepartmentByDepartment
in interface Program2DepartmentDao
Program2DepartmentDao.findProgram2DepartmentByDepartment(int, fr.ifremer.allegro.administration.user.Department)
public java.util.Collection findProgram2DepartmentByDepartment(java.lang.String queryString, Department department)
Program2DepartmentDao
Does the same thing as Program2DepartmentDao.findProgram2DepartmentByDepartment(fr.ifremer.allegro.administration.user.Department)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in Program2DepartmentDao.findProgram2DepartmentByDepartment(fr.ifremer.allegro.administration.user.Department)
.
findProgram2DepartmentByDepartment
in interface Program2DepartmentDao
Program2DepartmentDao.findProgram2DepartmentByDepartment(java.lang.String, fr.ifremer.allegro.administration.user.Department)
public java.util.Collection findProgram2DepartmentByDepartment(int pageNumber, int pageSize, Department department)
Program2DepartmentDao
Does the same thing as Program2DepartmentDao.findProgram2DepartmentByDepartment(fr.ifremer.allegro.administration.user.Department)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findProgram2DepartmentByDepartment
in interface Program2DepartmentDao
Program2DepartmentDao.findProgram2DepartmentByDepartment(int, int, fr.ifremer.allegro.administration.user.Department)
public java.util.Collection findProgram2DepartmentByDepartment(java.lang.String queryString, int pageNumber, int pageSize, Department department)
Program2DepartmentDao
Does the same thing as Program2DepartmentDao.findProgram2DepartmentByDepartment(String, fr.ifremer.allegro.administration.user.Department)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findProgram2DepartmentByDepartment
in interface Program2DepartmentDao
Program2DepartmentDao.findProgram2DepartmentByDepartment(String, int, int, fr.ifremer.allegro.administration.user.Department)
public java.util.Collection findProgram2DepartmentByDepartment(int transform, java.lang.String queryString, Department department)
Program2DepartmentDao
Does the same thing as Program2DepartmentDao.findProgram2DepartmentByDepartment(int, fr.ifremer.allegro.administration.user.Department)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in Program2DepartmentDao.findProgram2DepartmentByDepartment(int, fr.ifremer.allegro.administration.user.Department department)
.
findProgram2DepartmentByDepartment
in interface Program2DepartmentDao
Program2DepartmentDao.findProgram2DepartmentByDepartment(int, String, fr.ifremer.allegro.administration.user.Department)
public java.util.Collection findProgram2DepartmentByDepartment(int transform, int pageNumber, int pageSize, Department department)
Program2DepartmentDao
Does the same thing as Program2DepartmentDao.findProgram2DepartmentByDepartment(int, fr.ifremer.allegro.administration.user.Department)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findProgram2DepartmentByDepartment
in interface Program2DepartmentDao
Program2DepartmentDao.findProgram2DepartmentByDepartment(int, int, int, fr.ifremer.allegro.administration.user.Department)
public java.util.Collection findProgram2DepartmentByDepartment(int transform, java.lang.String queryString, int pageNumber, int pageSize, Department department)
Program2DepartmentDao
Does the same thing as Program2DepartmentDao.findProgram2DepartmentByDepartment(int, String, fr.ifremer.allegro.administration.user.Department)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findProgram2DepartmentByDepartment
in interface Program2DepartmentDao
Program2DepartmentDao.findProgram2DepartmentByDepartment(int, java.lang.String, int, int, fr.ifremer.allegro.administration.user.Department)
public java.util.Collection findProgram2DepartmentByProgramPrivilege(ProgramPrivilege programPrivilege)
findProgram2DepartmentByProgramPrivilege
in interface Program2DepartmentDao
Program2DepartmentDao.findProgram2DepartmentByProgramPrivilege(fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege)
public java.util.Collection findProgram2DepartmentByProgramPrivilege(int transform, ProgramPrivilege programPrivilege)
Program2DepartmentDao
Does the same thing as Program2DepartmentDao.findProgram2DepartmentByProgramPrivilege(fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
findProgram2DepartmentByProgramPrivilege
in interface Program2DepartmentDao
Program2DepartmentDao.findProgram2DepartmentByProgramPrivilege(int, fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege)
public java.util.Collection findProgram2DepartmentByProgramPrivilege(java.lang.String queryString, ProgramPrivilege programPrivilege)
Program2DepartmentDao
Does the same thing as Program2DepartmentDao.findProgram2DepartmentByProgramPrivilege(fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in Program2DepartmentDao.findProgram2DepartmentByProgramPrivilege(fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege)
.
findProgram2DepartmentByProgramPrivilege
in interface Program2DepartmentDao
Program2DepartmentDao.findProgram2DepartmentByProgramPrivilege(java.lang.String, fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege)
public java.util.Collection findProgram2DepartmentByProgramPrivilege(int pageNumber, int pageSize, ProgramPrivilege programPrivilege)
Program2DepartmentDao
Does the same thing as Program2DepartmentDao.findProgram2DepartmentByProgramPrivilege(fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findProgram2DepartmentByProgramPrivilege
in interface Program2DepartmentDao
Program2DepartmentDao.findProgram2DepartmentByProgramPrivilege(int, int, fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege)
public java.util.Collection findProgram2DepartmentByProgramPrivilege(java.lang.String queryString, int pageNumber, int pageSize, ProgramPrivilege programPrivilege)
Program2DepartmentDao
Does the same thing as Program2DepartmentDao.findProgram2DepartmentByProgramPrivilege(String, fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findProgram2DepartmentByProgramPrivilege
in interface Program2DepartmentDao
Program2DepartmentDao.findProgram2DepartmentByProgramPrivilege(String, int, int, fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege)
public java.util.Collection findProgram2DepartmentByProgramPrivilege(int transform, java.lang.String queryString, ProgramPrivilege programPrivilege)
Program2DepartmentDao
Does the same thing as Program2DepartmentDao.findProgram2DepartmentByProgramPrivilege(int, fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in Program2DepartmentDao.findProgram2DepartmentByProgramPrivilege(int, fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege programPrivilege)
.
findProgram2DepartmentByProgramPrivilege
in interface Program2DepartmentDao
Program2DepartmentDao.findProgram2DepartmentByProgramPrivilege(int, String, fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege)
public java.util.Collection findProgram2DepartmentByProgramPrivilege(int transform, int pageNumber, int pageSize, ProgramPrivilege programPrivilege)
Program2DepartmentDao
Does the same thing as Program2DepartmentDao.findProgram2DepartmentByProgramPrivilege(int, fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findProgram2DepartmentByProgramPrivilege
in interface Program2DepartmentDao
Program2DepartmentDao.findProgram2DepartmentByProgramPrivilege(int, int, int, fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege)
public java.util.Collection findProgram2DepartmentByProgramPrivilege(int transform, java.lang.String queryString, int pageNumber, int pageSize, ProgramPrivilege programPrivilege)
Program2DepartmentDao
Does the same thing as Program2DepartmentDao.findProgram2DepartmentByProgramPrivilege(int, String, fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findProgram2DepartmentByProgramPrivilege
in interface Program2DepartmentDao
Program2DepartmentDao.findProgram2DepartmentByProgramPrivilege(int, java.lang.String, int, int, fr.ifremer.allegro.administration.programStrategy.ProgramPrivilege)
public Program2Department findProgram2DepartmentByNaturalId(java.lang.Integer id)
findProgram2DepartmentByNaturalId
in interface Program2DepartmentDao
Program2DepartmentDao.findProgram2DepartmentByNaturalId(java.lang.Integer)
public java.lang.Object findProgram2DepartmentByNaturalId(int transform, java.lang.Integer id)
Program2DepartmentDao
Does the same thing as Program2DepartmentDao.findProgram2DepartmentByNaturalId(java.lang.Integer)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
findProgram2DepartmentByNaturalId
in interface Program2DepartmentDao
Program2DepartmentDao.findProgram2DepartmentByNaturalId(int, java.lang.Integer)
public Program2Department findProgram2DepartmentByNaturalId(java.lang.String queryString, java.lang.Integer id)
Program2DepartmentDao
Does the same thing as Program2DepartmentDao.findProgram2DepartmentByNaturalId(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in Program2DepartmentDao.findProgram2DepartmentByNaturalId(java.lang.Integer)
.
findProgram2DepartmentByNaturalId
in interface Program2DepartmentDao
Program2DepartmentDao.findProgram2DepartmentByNaturalId(java.lang.String, java.lang.Integer)
public java.lang.Object findProgram2DepartmentByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
Program2DepartmentDao
Does the same thing as Program2DepartmentDao.findProgram2DepartmentByNaturalId(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in Program2DepartmentDao.findProgram2DepartmentByNaturalId(int, java.lang.Integer id)
.
findProgram2DepartmentByNaturalId
in interface Program2DepartmentDao
Program2DepartmentDao.findProgram2DepartmentByNaturalId(int, java.lang.String, java.lang.Integer)
public Program2Department createFromClusterProgram2Department(ClusterProgram2Department clusterProgram2Department)
createFromClusterProgram2Department
in interface Program2DepartmentDao
Program2DepartmentDao.createFromClusterProgram2Department(fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterProgram2Department)
protected abstract Program2Department handleCreateFromClusterProgram2Department(ClusterProgram2Department clusterProgram2Department) throws java.lang.Exception
createFromClusterProgram2Department(fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterProgram2Department)
java.lang.Exception
protected java.lang.Object transformEntity(int transform, Program2Department entity)
transform
flag is set to one of the constants defined in fr.ifremer.allegro.administration.programStrategy.Program2DepartmentDao
, please note
that the Program2DepartmentDao.TRANSFORM_NONE
constant denotes no transformation, so the entity itself
will be returned.
This method will return instances of these types:
Program2Department
- Program2DepartmentDao.TRANSFORM_NONE
RemoteProgram2DepartmentFullVO
- TRANSFORM_REMOTEPROGRAM2DEPARTMENTFULLVO
RemoteProgram2DepartmentNaturalId
- TRANSFORM_REMOTEPROGRAM2DEPARTMENTNATURALID
ClusterProgram2Department
- TRANSFORM_CLUSTERPROGRAM2DEPARTMENT
Program2DepartmentDao.TRANSFORM_NONE
is assumed.
transform
- one of the constants declared in Program2DepartmentDao
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.Program2Department)
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.Program2DepartmentDao
entities
- the collection of entities to transformtransformEntity(int,fr.ifremer.allegro.administration.programStrategy.Program2Department)
protected Program2Department toEntity(java.lang.Object[] row)
public final void toRemoteProgram2DepartmentFullVOCollection(java.util.Collection entities)
Program2DepartmentDao
RemoteProgram2DepartmentFullVO
.
toRemoteProgram2DepartmentFullVOCollection
in interface Program2DepartmentDao
Program2DepartmentDao.toRemoteProgram2DepartmentFullVOCollection(java.util.Collection)
public final RemoteProgram2DepartmentFullVO[] toRemoteProgram2DepartmentFullVOArray(java.util.Collection entities)
Program2DepartmentDao
RemoteProgram2DepartmentFullVO
.
toRemoteProgram2DepartmentFullVOArray
in interface Program2DepartmentDao
Program2DepartmentDao.toRemoteProgram2DepartmentFullVOArray(java.util.Collection)
protected RemoteProgram2DepartmentFullVO toRemoteProgram2DepartmentFullVO(java.lang.Object[] row)
Program2DepartmentDaoImpl
class if you intend to use reporting queries.
Program2DepartmentDao.toRemoteProgram2DepartmentFullVO(fr.ifremer.allegro.administration.programStrategy.Program2Department)
public final void remoteProgram2DepartmentFullVOToEntityCollection(java.util.Collection instances)
Program2DepartmentDao
RemoteProgram2DepartmentFullVO
to this
DAO's entity.
remoteProgram2DepartmentFullVOToEntityCollection
in interface Program2DepartmentDao
Program2DepartmentDao.remoteProgram2DepartmentFullVOToEntityCollection(java.util.Collection)
public void toRemoteProgram2DepartmentFullVO(Program2Department source, RemoteProgram2DepartmentFullVO target)
Program2DepartmentDao
toRemoteProgram2DepartmentFullVO
in interface Program2DepartmentDao
Program2DepartmentDao.toRemoteProgram2DepartmentFullVO(fr.ifremer.allegro.administration.programStrategy.Program2Department, fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgram2DepartmentFullVO)
public RemoteProgram2DepartmentFullVO toRemoteProgram2DepartmentFullVO(Program2Department entity)
Program2DepartmentDao
RemoteProgram2DepartmentFullVO
.
toRemoteProgram2DepartmentFullVO
in interface Program2DepartmentDao
Program2DepartmentDao.toRemoteProgram2DepartmentFullVO(fr.ifremer.allegro.administration.programStrategy.Program2Department)
public void remoteProgram2DepartmentFullVOToEntity(RemoteProgram2DepartmentFullVO source, Program2Department target, boolean copyIfNull)
Program2DepartmentDao
RemoteProgram2DepartmentFullVO
to the specified entity.
remoteProgram2DepartmentFullVOToEntity
in interface Program2DepartmentDao
copyIfNull
- If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE,
it will be copied regardless of its value.fr.ifremer.allegro.administration.programStrategy.Program2DepartmentDao#remoteProgram2DepartmentFullVOToEntity(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgram2DepartmentFullVO, fr.ifremer.allegro.administration.programStrategy.Program2Department)
public final void toRemoteProgram2DepartmentNaturalIdCollection(java.util.Collection entities)
Program2DepartmentDao
RemoteProgram2DepartmentNaturalId
.
toRemoteProgram2DepartmentNaturalIdCollection
in interface Program2DepartmentDao
Program2DepartmentDao.toRemoteProgram2DepartmentNaturalIdCollection(java.util.Collection)
public final RemoteProgram2DepartmentNaturalId[] toRemoteProgram2DepartmentNaturalIdArray(java.util.Collection entities)
Program2DepartmentDao
RemoteProgram2DepartmentNaturalId
.
toRemoteProgram2DepartmentNaturalIdArray
in interface Program2DepartmentDao
Program2DepartmentDao.toRemoteProgram2DepartmentNaturalIdArray(java.util.Collection)
protected RemoteProgram2DepartmentNaturalId toRemoteProgram2DepartmentNaturalId(java.lang.Object[] row)
Program2DepartmentDaoImpl
class if you intend to use reporting queries.
Program2DepartmentDao.toRemoteProgram2DepartmentNaturalId(fr.ifremer.allegro.administration.programStrategy.Program2Department)
public final void remoteProgram2DepartmentNaturalIdToEntityCollection(java.util.Collection instances)
Program2DepartmentDao
RemoteProgram2DepartmentNaturalId
to this
DAO's entity.
remoteProgram2DepartmentNaturalIdToEntityCollection
in interface Program2DepartmentDao
Program2DepartmentDao.remoteProgram2DepartmentNaturalIdToEntityCollection(java.util.Collection)
public void toRemoteProgram2DepartmentNaturalId(Program2Department source, RemoteProgram2DepartmentNaturalId target)
Program2DepartmentDao
toRemoteProgram2DepartmentNaturalId
in interface Program2DepartmentDao
Program2DepartmentDao.toRemoteProgram2DepartmentNaturalId(fr.ifremer.allegro.administration.programStrategy.Program2Department, fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgram2DepartmentNaturalId)
public RemoteProgram2DepartmentNaturalId toRemoteProgram2DepartmentNaturalId(Program2Department entity)
Program2DepartmentDao
RemoteProgram2DepartmentNaturalId
.
toRemoteProgram2DepartmentNaturalId
in interface Program2DepartmentDao
Program2DepartmentDao.toRemoteProgram2DepartmentNaturalId(fr.ifremer.allegro.administration.programStrategy.Program2Department)
public void remoteProgram2DepartmentNaturalIdToEntity(RemoteProgram2DepartmentNaturalId source, Program2Department target, boolean copyIfNull)
Program2DepartmentDao
RemoteProgram2DepartmentNaturalId
to the specified entity.
remoteProgram2DepartmentNaturalIdToEntity
in interface Program2DepartmentDao
copyIfNull
- If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE,
it will be copied regardless of its value.fr.ifremer.allegro.administration.programStrategy.Program2DepartmentDao#remoteProgram2DepartmentNaturalIdToEntity(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgram2DepartmentNaturalId, fr.ifremer.allegro.administration.programStrategy.Program2Department)
public final void toClusterProgram2DepartmentCollection(java.util.Collection entities)
Program2DepartmentDao
ClusterProgram2Department
.
toClusterProgram2DepartmentCollection
in interface Program2DepartmentDao
Program2DepartmentDao.toClusterProgram2DepartmentCollection(java.util.Collection)
public final ClusterProgram2Department[] toClusterProgram2DepartmentArray(java.util.Collection entities)
Program2DepartmentDao
ClusterProgram2Department
.
toClusterProgram2DepartmentArray
in interface Program2DepartmentDao
Program2DepartmentDao.toClusterProgram2DepartmentArray(java.util.Collection)
protected ClusterProgram2Department toClusterProgram2Department(java.lang.Object[] row)
Program2DepartmentDaoImpl
class if you intend to use reporting queries.
Program2DepartmentDao.toClusterProgram2Department(fr.ifremer.allegro.administration.programStrategy.Program2Department)
public final void clusterProgram2DepartmentToEntityCollection(java.util.Collection instances)
Program2DepartmentDao
ClusterProgram2Department
to this
DAO's entity.
clusterProgram2DepartmentToEntityCollection
in interface Program2DepartmentDao
Program2DepartmentDao.clusterProgram2DepartmentToEntityCollection(java.util.Collection)
public void toClusterProgram2Department(Program2Department source, ClusterProgram2Department target)
Program2DepartmentDao
toClusterProgram2Department
in interface Program2DepartmentDao
Program2DepartmentDao.toClusterProgram2Department(fr.ifremer.allegro.administration.programStrategy.Program2Department, fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterProgram2Department)
public ClusterProgram2Department toClusterProgram2Department(Program2Department entity)
Program2DepartmentDao
ClusterProgram2Department
.
toClusterProgram2Department
in interface Program2DepartmentDao
Program2DepartmentDao.toClusterProgram2Department(fr.ifremer.allegro.administration.programStrategy.Program2Department)
public void clusterProgram2DepartmentToEntity(ClusterProgram2Department source, Program2Department target, boolean copyIfNull)
Program2DepartmentDao
ClusterProgram2Department
to the specified entity.
clusterProgram2DepartmentToEntity
in interface Program2DepartmentDao
copyIfNull
- If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE,
it will be copied regardless of its value.fr.ifremer.allegro.administration.programStrategy.Program2DepartmentDao#clusterProgram2DepartmentToEntity(fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterProgram2Department, fr.ifremer.allegro.administration.programStrategy.Program2Department)
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)
Program2DepartmentDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface Program2DepartmentDao
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.Program2DepartmentDao.search(int, int, int, fr.ifremer.allegro.Search)
public PaginationResult search(int pageNumber, int pageSize, Search search)
Program2DepartmentDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface Program2DepartmentDao
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.Program2DepartmentDao.search(int, int, fr.ifremer.allegro.Search)
public java.util.Set search(int transform, Search search)
Program2DepartmentDao
Program2DepartmentDao.search(fr.ifremer.allegro.Search)
but with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
search
in interface Program2DepartmentDao
transform
- the transformation flag.search
- the search object which provides the search parameters and pagination specification.
Program2DepartmentDao.search(int, fr.ifremer.allegro.Search)
public java.util.Set search(Search search)
Program2DepartmentDao
search
object.
search
in interface Program2DepartmentDao
search
- the search object which provides the search parameters and pagination specification.
Program2DepartmentDao.search(fr.ifremer.allegro.Search)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |