|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DepartmentDao
Department
Field Summary | |
---|---|
static int |
TRANSFORM_CLUSTERDEPARTMENT
This constant is used as a transformation flag; entities can be converted automatically into value objects or other types, different methods in a class implementing this interface support this feature: look for an int parameter called transform . |
static int |
TRANSFORM_NONE
This constant is used as a transformation flag; entities can be converted automatically into value objects or other types, different methods in a class implementing this interface support this feature: look for an int parameter called transform . |
static int |
TRANSFORM_REMOTEDEPARTMENTFULLVO
This constant is used as a transformation flag; entities can be converted automatically into value objects or other types, different methods in a class implementing this interface support this feature: look for an int parameter called transform . |
static int |
TRANSFORM_REMOTEDEPARTMENTNATURALID
This constant is used as a transformation flag; entities can be converted automatically into value objects or other types, different methods in a class implementing this interface support this feature: look for an int parameter called transform . |
Method Summary | |
---|---|
Department |
clusterDepartmentToEntity(ClusterDepartment clusterDepartment)
Converts an instance of type ClusterDepartment to this DAO's entity. |
void |
clusterDepartmentToEntity(ClusterDepartment source,
Department target,
boolean copyIfNull)
Copies the fields of ClusterDepartment to the specified entity. |
void |
clusterDepartmentToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type ClusterDepartment to this
DAO's entity. |
java.util.Collection |
create(java.util.Collection entities)
Creates a new instance of fr.ifremer.allegro.administration.user.Department and adds from the passed in entities collection |
Department |
create(Department department)
Creates an instance of fr.ifremer.allegro.administration.user.Department and adds it to the persistent store. |
java.util.Collection |
create(int transform,
java.util.Collection entities)
Does the same thing as create(fr.ifremer.allegro.administration.user.Department) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
Department department)
Does the same thing as create(fr.ifremer.allegro.administration.user.Department) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
java.lang.String code,
java.util.Date creationDate,
java.lang.Boolean isLdap,
java.lang.String name,
Status status)
Does the same thing as create(java.lang.String,java.util.Date,java.lang.Boolean,java.lang.String,fr.ifremer.allegro.referential.Status) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
java.lang.String code,
java.lang.String name,
java.lang.String email,
java.lang.String address,
java.lang.String phone,
java.lang.Boolean isLdap,
java.util.Date creationDate,
java.sql.Timestamp updateDate,
java.util.Collection program2Departments,
java.util.Collection departments,
Department parentDepartment,
Status status,
java.util.Collection outputTransferts,
java.util.Collection inputTransferts)
Does the same thing as create(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.Boolean,java.util.Date,java.sql.Timestamp,java.util.Collection,java.util.Collection,fr.ifremer.allegro.administration.user.Department,fr.ifremer.allegro.referential.Status,java.util.Collection,java.util.Collection) with an
additional flag called transform . |
Department |
create(java.lang.String code,
java.util.Date creationDate,
java.lang.Boolean isLdap,
java.lang.String name,
Status status)
Creates a new fr.ifremer.allegro.administration.user.Department
instance from only required properties (attributes
and association ends) and adds it to the persistent store. |
Department |
create(java.lang.String code,
java.lang.String name,
java.lang.String email,
java.lang.String address,
java.lang.String phone,
java.lang.Boolean isLdap,
java.util.Date creationDate,
java.sql.Timestamp updateDate,
java.util.Collection program2Departments,
java.util.Collection departments,
Department parentDepartment,
Status status,
java.util.Collection outputTransferts,
java.util.Collection inputTransferts)
Creates a new fr.ifremer.allegro.administration.user.Department
instance from all attributes and
properties and adds it to the persistent store. |
Department |
createFromClusterDepartment(ClusterDepartment clusterDepartment)
|
Department |
findDepartmentById(java.lang.Integer id)
|
java.lang.Object |
findDepartmentById(int transform,
java.lang.Integer id)
Does the same thing as findDepartmentById(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findDepartmentById(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as findDepartmentById(int, java.lang.Integer) with an
additional argument called queryString . |
Department |
findDepartmentById(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as findDepartmentById(java.lang.Integer) with an
additional argument called queryString . |
java.lang.Object |
findDepartmentByNaturalId(int transform,
java.lang.String code)
Does the same thing as findDepartmentByNaturalId(java.lang.String) with an
additional flag called transform . |
java.lang.Object |
findDepartmentByNaturalId(int transform,
java.lang.String queryString,
java.lang.String code)
Does the same thing as findDepartmentByNaturalId(int, java.lang.String) with an
additional argument called queryString . |
Department |
findDepartmentByNaturalId(java.lang.String code)
|
Department |
findDepartmentByNaturalId(java.lang.String queryString,
java.lang.String code)
Does the same thing as findDepartmentByNaturalId(java.lang.String) with an
additional argument called queryString . |
java.util.Collection |
findDepartmentByParentDepartment(Department parentDepartment)
|
java.util.Collection |
findDepartmentByParentDepartment(int transform,
Department parentDepartment)
Does the same thing as findDepartmentByParentDepartment(fr.ifremer.allegro.administration.user.Department) with an
additional flag called transform . |
java.util.Collection |
findDepartmentByParentDepartment(int pageNumber,
int pageSize,
Department parentDepartment)
Does the same thing as findDepartmentByParentDepartment(fr.ifremer.allegro.administration.user.Department) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findDepartmentByParentDepartment(int transform,
int pageNumber,
int pageSize,
Department parentDepartment)
Does the same thing as findDepartmentByParentDepartment(int, fr.ifremer.allegro.administration.user.Department) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findDepartmentByParentDepartment(int transform,
java.lang.String queryString,
Department parentDepartment)
Does the same thing as findDepartmentByParentDepartment(int, fr.ifremer.allegro.administration.user.Department) with an
additional argument called queryString . |
java.util.Collection |
findDepartmentByParentDepartment(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
Department parentDepartment)
Does the same thing as findDepartmentByParentDepartment(int, String, fr.ifremer.allegro.administration.user.Department) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findDepartmentByParentDepartment(java.lang.String queryString,
Department parentDepartment)
Does the same thing as findDepartmentByParentDepartment(fr.ifremer.allegro.administration.user.Department) with an
additional argument called queryString . |
java.util.Collection |
findDepartmentByParentDepartment(java.lang.String queryString,
int pageNumber,
int pageSize,
Department parentDepartment)
Does the same thing as findDepartmentByParentDepartment(String, fr.ifremer.allegro.administration.user.Department) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findDepartmentByStatus(int transform,
int pageNumber,
int pageSize,
Status status)
Does the same thing as findDepartmentByStatus(int, fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findDepartmentByStatus(int pageNumber,
int pageSize,
Status status)
Does the same thing as findDepartmentByStatus(fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findDepartmentByStatus(int transform,
Status status)
Does the same thing as findDepartmentByStatus(fr.ifremer.allegro.referential.Status) with an
additional flag called transform . |
java.util.Collection |
findDepartmentByStatus(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
Status status)
Does the same thing as findDepartmentByStatus(int, String, fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findDepartmentByStatus(int transform,
java.lang.String queryString,
Status status)
Does the same thing as findDepartmentByStatus(int, fr.ifremer.allegro.referential.Status) with an
additional argument called queryString . |
java.util.Collection |
findDepartmentByStatus(Status status)
|
java.util.Collection |
findDepartmentByStatus(java.lang.String queryString,
int pageNumber,
int pageSize,
Status status)
Does the same thing as findDepartmentByStatus(String, fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findDepartmentByStatus(java.lang.String queryString,
Status status)
Does the same thing as findDepartmentByStatus(fr.ifremer.allegro.referential.Status) with an
additional argument called queryString . |
ClusterDepartment[] |
getAllClusterDepartmentSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize)
|
java.util.Collection |
getAllDepartment()
|
java.util.Collection |
getAllDepartment(int transform)
Does the same thing as getAllDepartment() with an
additional flag called transform . |
java.util.Collection |
getAllDepartment(int pageNumber,
int pageSize)
Does the same thing as getAllDepartment() with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllDepartment(int transform,
int pageNumber,
int pageSize)
Does the same thing as getAllDepartment(int) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllDepartment(int transform,
java.lang.String queryString)
Does the same thing as getAllDepartment(int) with an
additional argument called queryString . |
java.util.Collection |
getAllDepartment(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as getAllDepartment(int, String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllDepartment(java.lang.String queryString)
Does the same thing as getAllDepartment() with an
additional argument called queryString . |
java.util.Collection |
getAllDepartment(java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as getAllDepartment(String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllDepartmentSinceDateSynchro(int transform,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as getAllDepartmentSinceDateSynchro(int, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllDepartmentSinceDateSynchro(int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as getAllDepartmentSinceDateSynchro(java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllDepartmentSinceDateSynchro(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as getAllDepartmentSinceDateSynchro(int, String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllDepartmentSinceDateSynchro(int transform,
java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as getAllDepartmentSinceDateSynchro(int, java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllDepartmentSinceDateSynchro(int transform,
java.sql.Timestamp updateDate)
Does the same thing as getAllDepartmentSinceDateSynchro(java.sql.Timestamp) with an
additional flag called transform . |
java.util.Collection |
getAllDepartmentSinceDateSynchro(java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as getAllDepartmentSinceDateSynchro(String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllDepartmentSinceDateSynchro(java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as getAllDepartmentSinceDateSynchro(java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllDepartmentSinceDateSynchro(java.sql.Timestamp updateDate)
|
Department |
load(java.lang.Integer id)
Loads an instance of fr.ifremer.allegro.administration.user.Department from the persistent store. |
java.lang.Object |
load(int transform,
java.lang.Integer id)
Does the same thing as load(java.lang.Integer) with an
additional flag called transform . |
java.util.Collection |
loadAll()
Loads all entities of type Department . |
java.util.Collection |
loadAll(int transform)
Does the same thing as loadAll() with an
additional flag called transform . |
java.util.Collection |
loadAll(int pageNumber,
int pageSize)
Does the same thing as loadAll() with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
loadAll(int transform,
int pageNumber,
int pageSize)
Does the same thing as loadAll(int) with an
additional two arguments called pageNumber and pageSize . |
Department |
remoteDepartmentFullVOToEntity(RemoteDepartmentFullVO remoteDepartmentFullVO)
Converts an instance of type RemoteDepartmentFullVO to this DAO's entity. |
void |
remoteDepartmentFullVOToEntity(RemoteDepartmentFullVO source,
Department target,
boolean copyIfNull)
Copies the fields of RemoteDepartmentFullVO to the specified entity. |
void |
remoteDepartmentFullVOToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteDepartmentFullVO to this
DAO's entity. |
Department |
remoteDepartmentNaturalIdToEntity(RemoteDepartmentNaturalId remoteDepartmentNaturalId)
Converts an instance of type RemoteDepartmentNaturalId to this DAO's entity. |
void |
remoteDepartmentNaturalIdToEntity(RemoteDepartmentNaturalId source,
Department target,
boolean copyIfNull)
Copies the fields of RemoteDepartmentNaturalId to the specified entity. |
void |
remoteDepartmentNaturalIdToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteDepartmentNaturalId to this
DAO's entity. |
void |
remove(java.util.Collection entities)
Removes all entities in the given entities |
void |
remove(Department department)
Removes the instance of fr.ifremer.allegro.administration.user.Department from the persistent store. |
void |
remove(java.lang.Integer id)
Removes the instance of fr.ifremer.allegro.administration.user.Department having the given identifier from the persistent store. |
PaginationResult |
search(int transform,
int pageNumber,
int pageSize,
Search search)
Does the same thing as {@link #search(int, fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize . |
PaginationResult |
search(int pageNumber,
int pageSize,
Search search)
Does the same thing as {@link #search(fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize . |
java.util.Set |
search(int transform,
Search search)
Does the same thing as search(fr.ifremer.allegro.Search) but with an
additional flag called transform . |
java.util.Set |
search(Search search)
Performs a search using the parameters specified in the given search object. |
ClusterDepartment |
toClusterDepartment(Department entity)
Converts this DAO's entity to an object of type ClusterDepartment . |
void |
toClusterDepartment(Department source,
ClusterDepartment target)
Copies the fields of the specified entity to the target value object. |
ClusterDepartment[] |
toClusterDepartmentArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type ClusterDepartment . |
void |
toClusterDepartmentCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type ClusterDepartment . |
RemoteDepartmentFullVO |
toRemoteDepartmentFullVO(Department entity)
Converts this DAO's entity to an object of type RemoteDepartmentFullVO . |
void |
toRemoteDepartmentFullVO(Department source,
RemoteDepartmentFullVO target)
Copies the fields of the specified entity to the target value object. |
RemoteDepartmentFullVO[] |
toRemoteDepartmentFullVOArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteDepartmentFullVO . |
void |
toRemoteDepartmentFullVOCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteDepartmentFullVO . |
RemoteDepartmentNaturalId |
toRemoteDepartmentNaturalId(Department entity)
Converts this DAO's entity to an object of type RemoteDepartmentNaturalId . |
void |
toRemoteDepartmentNaturalId(Department source,
RemoteDepartmentNaturalId target)
Copies the fields of the specified entity to the target value object. |
RemoteDepartmentNaturalId[] |
toRemoteDepartmentNaturalIdArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteDepartmentNaturalId . |
void |
toRemoteDepartmentNaturalIdCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteDepartmentNaturalId . |
void |
update(java.util.Collection entities)
Updates all instances in the entities collection in the persistent store. |
void |
update(Department department)
Updates the department instance in the persistent store. |
Field Detail |
---|
static final int TRANSFORM_NONE
int
parameter called transform
.
This specific flag denotes no transformation will occur.
static final int TRANSFORM_REMOTEDEPARTMENTFULLVO
int
parameter called transform
.
This specific flag denotes entities must be transformed into objects of type
RemoteDepartmentFullVO
.
static final int TRANSFORM_REMOTEDEPARTMENTNATURALID
int
parameter called transform
.
This specific flag denotes entities must be transformed into objects of type
RemoteDepartmentNaturalId
.
static final int TRANSFORM_CLUSTERDEPARTMENT
int
parameter called transform
.
This specific flag denotes entities must be transformed into objects of type
ClusterDepartment
.
Method Detail |
---|
void toRemoteDepartmentFullVO(Department source, RemoteDepartmentFullVO target)
RemoteDepartmentFullVO toRemoteDepartmentFullVO(Department entity)
RemoteDepartmentFullVO
.
void toRemoteDepartmentFullVOCollection(java.util.Collection entities)
RemoteDepartmentFullVO
.
RemoteDepartmentFullVO[] toRemoteDepartmentFullVOArray(java.util.Collection entities)
RemoteDepartmentFullVO
.
void remoteDepartmentFullVOToEntity(RemoteDepartmentFullVO source, Department target, boolean copyIfNull)
RemoteDepartmentFullVO
to the specified entity.
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.Department remoteDepartmentFullVOToEntity(RemoteDepartmentFullVO remoteDepartmentFullVO)
RemoteDepartmentFullVO
to this DAO's entity.
void remoteDepartmentFullVOToEntityCollection(java.util.Collection instances)
RemoteDepartmentFullVO
to this
DAO's entity.
void toRemoteDepartmentNaturalId(Department source, RemoteDepartmentNaturalId target)
RemoteDepartmentNaturalId toRemoteDepartmentNaturalId(Department entity)
RemoteDepartmentNaturalId
.
void toRemoteDepartmentNaturalIdCollection(java.util.Collection entities)
RemoteDepartmentNaturalId
.
RemoteDepartmentNaturalId[] toRemoteDepartmentNaturalIdArray(java.util.Collection entities)
RemoteDepartmentNaturalId
.
void remoteDepartmentNaturalIdToEntity(RemoteDepartmentNaturalId source, Department target, boolean copyIfNull)
RemoteDepartmentNaturalId
to the specified entity.
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.Department remoteDepartmentNaturalIdToEntity(RemoteDepartmentNaturalId remoteDepartmentNaturalId)
RemoteDepartmentNaturalId
to this DAO's entity.
void remoteDepartmentNaturalIdToEntityCollection(java.util.Collection instances)
RemoteDepartmentNaturalId
to this
DAO's entity.
void toClusterDepartment(Department source, ClusterDepartment target)
ClusterDepartment toClusterDepartment(Department entity)
ClusterDepartment
.
void toClusterDepartmentCollection(java.util.Collection entities)
ClusterDepartment
.
ClusterDepartment[] toClusterDepartmentArray(java.util.Collection entities)
ClusterDepartment
.
void clusterDepartmentToEntity(ClusterDepartment source, Department target, boolean copyIfNull)
ClusterDepartment
to the specified entity.
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.Department clusterDepartmentToEntity(ClusterDepartment clusterDepartment)
ClusterDepartment
to this DAO's entity.
void clusterDepartmentToEntityCollection(java.util.Collection instances)
ClusterDepartment
to this
DAO's entity.
Department load(java.lang.Integer id)
java.lang.Object load(int transform, java.lang.Integer id)
Does the same thing as load(java.lang.Integer)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined in this class then the result WILL BE passed through an operation which can
optionally transform the entity (into a value object for example). By default, transformation does
not occur.
id
- identifier of the entity to load
java.util.Collection loadAll()
Department
.
java.util.Collection loadAll(int transform)
Does the same thing as loadAll()
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined here then the result WILL BE passed through an operation which can optionally
transform the entity (into a value object for example). By default, transformation does
not occur.
transform
- the flag indicating what transformation to use.
java.util.Collection loadAll(int pageNumber, int pageSize)
Does the same thing as loadAll()
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
pageNumber
- the page number to retrieve when paging results.pageSize
- the size of the page to retrieve when paging results.
java.util.Collection loadAll(int transform, int pageNumber, int pageSize)
Does the same thing as loadAll(int)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
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.
Department create(Department department)
java.lang.Object create(int transform, Department department)
Does the same thing as create(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.
java.util.Collection create(java.util.Collection entities)
entities
collection
entities
- the collection of fr.ifremer.allegro.administration.user.Department
instances to create.
java.util.Collection create(int transform, java.util.Collection entities)
Does the same thing as create(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 entities (into value objects for example). By default, transformation does
not occur.
Department create(java.lang.String code, java.lang.String name, java.lang.String email, java.lang.String address, java.lang.String phone, java.lang.Boolean isLdap, java.util.Date creationDate, java.sql.Timestamp updateDate, java.util.Collection program2Departments, java.util.Collection departments, Department parentDepartment, Status status, java.util.Collection outputTransferts, java.util.Collection inputTransferts)
Creates a new fr.ifremer.allegro.administration.user.Department
instance from all attributes and
properties and adds it to the persistent store.
java.lang.Object create(int transform, java.lang.String code, java.lang.String name, java.lang.String email, java.lang.String address, java.lang.String phone, java.lang.Boolean isLdap, java.util.Date creationDate, java.sql.Timestamp updateDate, java.util.Collection program2Departments, java.util.Collection departments, Department parentDepartment, Status status, java.util.Collection outputTransferts, java.util.Collection inputTransferts)
Does the same thing as create(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.Boolean,java.util.Date,java.sql.Timestamp,java.util.Collection,java.util.Collection,fr.ifremer.allegro.administration.user.Department,fr.ifremer.allegro.referential.Status,java.util.Collection,java.util.Collection)
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.
Department create(java.lang.String code, java.util.Date creationDate, java.lang.Boolean isLdap, java.lang.String name, Status status)
Creates a new fr.ifremer.allegro.administration.user.Department
instance from only required properties (attributes
and association ends) and adds it to the persistent store.
java.lang.Object create(int transform, java.lang.String code, java.util.Date creationDate, java.lang.Boolean isLdap, java.lang.String name, Status status)
Does the same thing as create(java.lang.String,java.util.Date,java.lang.Boolean,java.lang.String,fr.ifremer.allegro.referential.Status)
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.
void update(Department department)
department
instance in the persistent store.
void update(java.util.Collection entities)
entities
collection in the persistent store.
void remove(Department department)
void remove(java.lang.Integer id)
identifier
from the persistent store.
void remove(java.util.Collection entities)
entities collection.
java.util.Collection getAllDepartment()
java.util.Collection getAllDepartment(java.lang.String queryString)
Does the same thing as getAllDepartment()
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in getAllDepartment()
.
java.util.Collection getAllDepartment(int pageNumber, int pageSize)
Does the same thing as getAllDepartment()
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.
java.util.Collection getAllDepartment(java.lang.String queryString, int pageNumber, int pageSize)
Does the same thing as getAllDepartment(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.
java.util.Collection getAllDepartment(int transform)
Does the same thing as getAllDepartment()
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.
java.util.Collection getAllDepartment(int transform, int pageNumber, int pageSize)
Does the same thing as getAllDepartment(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.
java.util.Collection getAllDepartment(int transform, java.lang.String queryString)
Does the same thing as getAllDepartment(int)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in getAllDepartment(int)
.
java.util.Collection getAllDepartment(int transform, java.lang.String queryString, int pageNumber, int pageSize)
Does the same thing as getAllDepartment(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.
Department findDepartmentById(java.lang.Integer id)
Department findDepartmentById(java.lang.String queryString, java.lang.Integer id)
Does the same thing as findDepartmentById(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findDepartmentById(java.lang.Integer)
.
java.lang.Object findDepartmentById(int transform, java.lang.Integer id)
Does the same thing as findDepartmentById(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.
java.lang.Object findDepartmentById(int transform, java.lang.String queryString, java.lang.Integer id)
Does the same thing as findDepartmentById(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findDepartmentById(int, java.lang.Integer id)
.
java.util.Collection findDepartmentByParentDepartment(Department parentDepartment)
java.util.Collection findDepartmentByParentDepartment(java.lang.String queryString, Department parentDepartment)
Does the same thing as findDepartmentByParentDepartment(fr.ifremer.allegro.administration.user.Department)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findDepartmentByParentDepartment(fr.ifremer.allegro.administration.user.Department)
.
java.util.Collection findDepartmentByParentDepartment(int pageNumber, int pageSize, Department parentDepartment)
Does the same thing as findDepartmentByParentDepartment(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.
java.util.Collection findDepartmentByParentDepartment(java.lang.String queryString, int pageNumber, int pageSize, Department parentDepartment)
Does the same thing as findDepartmentByParentDepartment(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.
java.util.Collection findDepartmentByParentDepartment(int transform, Department parentDepartment)
Does the same thing as findDepartmentByParentDepartment(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.
java.util.Collection findDepartmentByParentDepartment(int transform, int pageNumber, int pageSize, Department parentDepartment)
Does the same thing as findDepartmentByParentDepartment(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.
java.util.Collection findDepartmentByParentDepartment(int transform, java.lang.String queryString, Department parentDepartment)
Does the same thing as findDepartmentByParentDepartment(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 findDepartmentByParentDepartment(int, fr.ifremer.allegro.administration.user.Department parentDepartment)
.
java.util.Collection findDepartmentByParentDepartment(int transform, java.lang.String queryString, int pageNumber, int pageSize, Department parentDepartment)
Does the same thing as findDepartmentByParentDepartment(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.
java.util.Collection findDepartmentByStatus(Status status)
java.util.Collection findDepartmentByStatus(java.lang.String queryString, Status status)
Does the same thing as findDepartmentByStatus(fr.ifremer.allegro.referential.Status)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findDepartmentByStatus(fr.ifremer.allegro.referential.Status)
.
java.util.Collection findDepartmentByStatus(int pageNumber, int pageSize, Status status)
Does the same thing as findDepartmentByStatus(fr.ifremer.allegro.referential.Status)
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.
java.util.Collection findDepartmentByStatus(java.lang.String queryString, int pageNumber, int pageSize, Status status)
Does the same thing as findDepartmentByStatus(String, fr.ifremer.allegro.referential.Status)
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.
java.util.Collection findDepartmentByStatus(int transform, Status status)
Does the same thing as findDepartmentByStatus(fr.ifremer.allegro.referential.Status)
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.
java.util.Collection findDepartmentByStatus(int transform, int pageNumber, int pageSize, Status status)
Does the same thing as findDepartmentByStatus(int, fr.ifremer.allegro.referential.Status)
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.
java.util.Collection findDepartmentByStatus(int transform, java.lang.String queryString, Status status)
Does the same thing as findDepartmentByStatus(int, fr.ifremer.allegro.referential.Status)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findDepartmentByStatus(int, fr.ifremer.allegro.referential.Status status)
.
java.util.Collection findDepartmentByStatus(int transform, java.lang.String queryString, int pageNumber, int pageSize, Status status)
Does the same thing as findDepartmentByStatus(int, String, fr.ifremer.allegro.referential.Status)
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.
Department findDepartmentByNaturalId(java.lang.String code)
Department findDepartmentByNaturalId(java.lang.String queryString, java.lang.String code)
Does the same thing as findDepartmentByNaturalId(java.lang.String)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findDepartmentByNaturalId(java.lang.String)
.
java.lang.Object findDepartmentByNaturalId(int transform, java.lang.String code)
Does the same thing as findDepartmentByNaturalId(java.lang.String)
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.
java.lang.Object findDepartmentByNaturalId(int transform, java.lang.String queryString, java.lang.String code)
Does the same thing as findDepartmentByNaturalId(int, java.lang.String)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findDepartmentByNaturalId(int, java.lang.String code)
.
java.util.Collection getAllDepartmentSinceDateSynchro(java.sql.Timestamp updateDate)
java.util.Collection getAllDepartmentSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
Does the same thing as getAllDepartmentSinceDateSynchro(java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in getAllDepartmentSinceDateSynchro(java.sql.Timestamp)
.
java.util.Collection getAllDepartmentSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
Does the same thing as getAllDepartmentSinceDateSynchro(java.sql.Timestamp)
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.
java.util.Collection getAllDepartmentSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
Does the same thing as getAllDepartmentSinceDateSynchro(String, java.sql.Timestamp)
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.
java.util.Collection getAllDepartmentSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
Does the same thing as getAllDepartmentSinceDateSynchro(java.sql.Timestamp)
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.
java.util.Collection getAllDepartmentSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
Does the same thing as getAllDepartmentSinceDateSynchro(int, java.sql.Timestamp)
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.
java.util.Collection getAllDepartmentSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
Does the same thing as getAllDepartmentSinceDateSynchro(int, java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in getAllDepartmentSinceDateSynchro(int, java.sql.Timestamp updateDate)
.
java.util.Collection getAllDepartmentSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
Does the same thing as getAllDepartmentSinceDateSynchro(int, String, java.sql.Timestamp)
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.
Department createFromClusterDepartment(ClusterDepartment clusterDepartment)
ClusterDepartment[] getAllClusterDepartmentSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
PaginationResult search(int transform, int pageNumber, int pageSize, Search search)
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
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.PaginationResult search(int pageNumber, int pageSize, Search search)
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
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.java.util.Set search(int transform, Search search)
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.
transform
- the transformation flag.search
- the search object which provides the search parameters and pagination specification.
java.util.Set search(Search search)
search
object.
search
- the search object which provides the search parameters and pagination specification.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |