|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ManagedDataDao
ManagedData
Field Summary | |
---|---|
static int |
TRANSFORM_CLUSTERMANAGEDDATA
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_REMOTEMANAGEDDATAFULLVO
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_REMOTEMANAGEDDATANATURALID
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 | |
---|---|
ManagedData |
clusterManagedDataToEntity(ClusterManagedData clusterManagedData)
Converts an instance of type ClusterManagedData to this DAO's entity. |
void |
clusterManagedDataToEntity(ClusterManagedData source,
ManagedData target,
boolean copyIfNull)
Copies the fields of ClusterManagedData to the specified entity. |
void |
clusterManagedDataToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type ClusterManagedData to this
DAO's entity. |
java.util.Collection |
create(java.util.Collection entities)
Creates a new instance of fr.ifremer.allegro.administration.user.ManagedData and adds from the passed in entities collection |
java.util.Collection |
create(int transform,
java.util.Collection entities)
Does the same thing as create(fr.ifremer.allegro.administration.user.ManagedData) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
ManagedData managedData)
Does the same thing as create(fr.ifremer.allegro.administration.user.ManagedData) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
ManagedDataType managedDataType,
User managerUser)
Does the same thing as create(fr.ifremer.allegro.administration.user.ManagedDataType,fr.ifremer.allegro.administration.user.User) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
java.sql.Timestamp updateDate,
User managerUser,
User supervisorUser,
ManagedDataType managedDataType,
java.util.Collection vesselManagePeriods,
java.util.Collection managedDataTransfers,
java.util.Collection viewerUser)
Does the same thing as create(java.sql.Timestamp,fr.ifremer.allegro.administration.user.User,fr.ifremer.allegro.administration.user.User,fr.ifremer.allegro.administration.user.ManagedDataType,java.util.Collection,java.util.Collection,java.util.Collection) with an
additional flag called transform . |
ManagedData |
create(ManagedData managedData)
Creates an instance of fr.ifremer.allegro.administration.user.ManagedData and adds it to the persistent store. |
ManagedData |
create(ManagedDataType managedDataType,
User managerUser)
Creates a new fr.ifremer.allegro.administration.user.ManagedData
instance from only required properties (attributes
and association ends) and adds it to the persistent store. |
ManagedData |
create(java.sql.Timestamp updateDate,
User managerUser,
User supervisorUser,
ManagedDataType managedDataType,
java.util.Collection vesselManagePeriods,
java.util.Collection managedDataTransfers,
java.util.Collection viewerUser)
Creates a new fr.ifremer.allegro.administration.user.ManagedData
instance from all attributes and
properties and adds it to the persistent store. |
ManagedData |
createFromClusterManagedData(ClusterManagedData clusterManagedData)
|
ManagedData |
findManagedDataById(java.lang.Integer id)
|
java.lang.Object |
findManagedDataById(int transform,
java.lang.Integer id)
Does the same thing as findManagedDataById(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findManagedDataById(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as findManagedDataById(int, java.lang.Integer) with an
additional argument called queryString . |
ManagedData |
findManagedDataById(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as findManagedDataById(java.lang.Integer) with an
additional argument called queryString . |
java.util.Collection |
findManagedDataByManagedDataType(int transform,
int pageNumber,
int pageSize,
ManagedDataType managedDataType)
Does the same thing as findManagedDataByManagedDataType(int, fr.ifremer.allegro.administration.user.ManagedDataType) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findManagedDataByManagedDataType(int pageNumber,
int pageSize,
ManagedDataType managedDataType)
Does the same thing as findManagedDataByManagedDataType(fr.ifremer.allegro.administration.user.ManagedDataType) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findManagedDataByManagedDataType(int transform,
ManagedDataType managedDataType)
Does the same thing as findManagedDataByManagedDataType(fr.ifremer.allegro.administration.user.ManagedDataType) with an
additional flag called transform . |
java.util.Collection |
findManagedDataByManagedDataType(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
ManagedDataType managedDataType)
Does the same thing as findManagedDataByManagedDataType(int, String, fr.ifremer.allegro.administration.user.ManagedDataType) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findManagedDataByManagedDataType(int transform,
java.lang.String queryString,
ManagedDataType managedDataType)
Does the same thing as findManagedDataByManagedDataType(int, fr.ifremer.allegro.administration.user.ManagedDataType) with an
additional argument called queryString . |
java.util.Collection |
findManagedDataByManagedDataType(ManagedDataType managedDataType)
|
java.util.Collection |
findManagedDataByManagedDataType(java.lang.String queryString,
int pageNumber,
int pageSize,
ManagedDataType managedDataType)
Does the same thing as findManagedDataByManagedDataType(String, fr.ifremer.allegro.administration.user.ManagedDataType) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findManagedDataByManagedDataType(java.lang.String queryString,
ManagedDataType managedDataType)
Does the same thing as findManagedDataByManagedDataType(fr.ifremer.allegro.administration.user.ManagedDataType) with an
additional argument called queryString . |
java.util.Collection |
findManagedDataByManagerUser(int transform,
int pageNumber,
int pageSize,
User managerUser)
Does the same thing as findManagedDataByManagerUser(int, fr.ifremer.allegro.administration.user.User) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findManagedDataByManagerUser(int pageNumber,
int pageSize,
User managerUser)
Does the same thing as findManagedDataByManagerUser(fr.ifremer.allegro.administration.user.User) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findManagedDataByManagerUser(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
User managerUser)
Does the same thing as findManagedDataByManagerUser(int, String, fr.ifremer.allegro.administration.user.User) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findManagedDataByManagerUser(int transform,
java.lang.String queryString,
User managerUser)
Does the same thing as findManagedDataByManagerUser(int, fr.ifremer.allegro.administration.user.User) with an
additional argument called queryString . |
java.util.Collection |
findManagedDataByManagerUser(int transform,
User managerUser)
Does the same thing as findManagedDataByManagerUser(fr.ifremer.allegro.administration.user.User) with an
additional flag called transform . |
java.util.Collection |
findManagedDataByManagerUser(java.lang.String queryString,
int pageNumber,
int pageSize,
User managerUser)
Does the same thing as findManagedDataByManagerUser(String, fr.ifremer.allegro.administration.user.User) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findManagedDataByManagerUser(java.lang.String queryString,
User managerUser)
Does the same thing as findManagedDataByManagerUser(fr.ifremer.allegro.administration.user.User) with an
additional argument called queryString . |
java.util.Collection |
findManagedDataByManagerUser(User managerUser)
|
ManagedData |
findManagedDataByNaturalId(java.lang.Integer id)
|
java.lang.Object |
findManagedDataByNaturalId(int transform,
java.lang.Integer id)
Does the same thing as findManagedDataByNaturalId(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findManagedDataByNaturalId(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as findManagedDataByNaturalId(int, java.lang.Integer) with an
additional argument called queryString . |
ManagedData |
findManagedDataByNaturalId(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as findManagedDataByNaturalId(java.lang.Integer) with an
additional argument called queryString . |
java.util.Collection |
findManagedDataBySupervisorUser(int transform,
int pageNumber,
int pageSize,
User supervisorUser)
Does the same thing as findManagedDataBySupervisorUser(int, fr.ifremer.allegro.administration.user.User) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findManagedDataBySupervisorUser(int pageNumber,
int pageSize,
User supervisorUser)
Does the same thing as findManagedDataBySupervisorUser(fr.ifremer.allegro.administration.user.User) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findManagedDataBySupervisorUser(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
User supervisorUser)
Does the same thing as findManagedDataBySupervisorUser(int, String, fr.ifremer.allegro.administration.user.User) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findManagedDataBySupervisorUser(int transform,
java.lang.String queryString,
User supervisorUser)
Does the same thing as findManagedDataBySupervisorUser(int, fr.ifremer.allegro.administration.user.User) with an
additional argument called queryString . |
java.util.Collection |
findManagedDataBySupervisorUser(int transform,
User supervisorUser)
Does the same thing as findManagedDataBySupervisorUser(fr.ifremer.allegro.administration.user.User) with an
additional flag called transform . |
java.util.Collection |
findManagedDataBySupervisorUser(java.lang.String queryString,
int pageNumber,
int pageSize,
User supervisorUser)
Does the same thing as findManagedDataBySupervisorUser(String, fr.ifremer.allegro.administration.user.User) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findManagedDataBySupervisorUser(java.lang.String queryString,
User supervisorUser)
Does the same thing as findManagedDataBySupervisorUser(fr.ifremer.allegro.administration.user.User) with an
additional argument called queryString . |
java.util.Collection |
findManagedDataBySupervisorUser(User supervisorUser)
|
ClusterManagedData[] |
getAllClusterManagedDataSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize,
java.lang.Integer[] managedDataIds)
|
java.util.Collection |
getAllManagedData()
|
java.util.Collection |
getAllManagedData(int transform)
Does the same thing as getAllManagedData() with an
additional flag called transform . |
java.util.Collection |
getAllManagedData(int pageNumber,
int pageSize)
Does the same thing as getAllManagedData() with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllManagedData(int transform,
int pageNumber,
int pageSize)
Does the same thing as getAllManagedData(int) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllManagedData(int transform,
java.lang.String queryString)
Does the same thing as getAllManagedData(int) with an
additional argument called queryString . |
java.util.Collection |
getAllManagedData(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as getAllManagedData(int, String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllManagedData(java.lang.String queryString)
Does the same thing as getAllManagedData() with an
additional argument called queryString . |
java.util.Collection |
getAllManagedData(java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as getAllManagedData(String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllManagedDataSinceDateSynchro(int transform,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as getAllManagedDataSinceDateSynchro(int, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllManagedDataSinceDateSynchro(int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as getAllManagedDataSinceDateSynchro(java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllManagedDataSinceDateSynchro(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as getAllManagedDataSinceDateSynchro(int, String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllManagedDataSinceDateSynchro(int transform,
java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as getAllManagedDataSinceDateSynchro(int, java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllManagedDataSinceDateSynchro(int transform,
java.sql.Timestamp updateDate)
Does the same thing as getAllManagedDataSinceDateSynchro(java.sql.Timestamp) with an
additional flag called transform . |
java.util.Collection |
getAllManagedDataSinceDateSynchro(java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as getAllManagedDataSinceDateSynchro(String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllManagedDataSinceDateSynchro(java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as getAllManagedDataSinceDateSynchro(java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllManagedDataSinceDateSynchro(java.sql.Timestamp updateDate)
|
ManagedData |
load(java.lang.Integer id)
Loads an instance of fr.ifremer.allegro.administration.user.ManagedData 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 ManagedData . |
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 . |
ManagedData |
remoteManagedDataFullVOToEntity(RemoteManagedDataFullVO remoteManagedDataFullVO)
Converts an instance of type RemoteManagedDataFullVO to this DAO's entity. |
void |
remoteManagedDataFullVOToEntity(RemoteManagedDataFullVO source,
ManagedData target,
boolean copyIfNull)
Copies the fields of RemoteManagedDataFullVO to the specified entity. |
void |
remoteManagedDataFullVOToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteManagedDataFullVO to this
DAO's entity. |
ManagedData |
remoteManagedDataNaturalIdToEntity(RemoteManagedDataNaturalId remoteManagedDataNaturalId)
Converts an instance of type RemoteManagedDataNaturalId to this DAO's entity. |
void |
remoteManagedDataNaturalIdToEntity(RemoteManagedDataNaturalId source,
ManagedData target,
boolean copyIfNull)
Copies the fields of RemoteManagedDataNaturalId to the specified entity. |
void |
remoteManagedDataNaturalIdToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteManagedDataNaturalId 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.user.ManagedData having the given identifier from the persistent store. |
void |
remove(ManagedData managedData)
Removes the instance of fr.ifremer.allegro.administration.user.ManagedData 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. |
ClusterManagedData |
toClusterManagedData(ManagedData entity)
Converts this DAO's entity to an object of type ClusterManagedData . |
void |
toClusterManagedData(ManagedData source,
ClusterManagedData target)
Copies the fields of the specified entity to the target value object. |
ClusterManagedData[] |
toClusterManagedDataArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type ClusterManagedData . |
void |
toClusterManagedDataCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type ClusterManagedData . |
RemoteManagedDataFullVO |
toRemoteManagedDataFullVO(ManagedData entity)
Converts this DAO's entity to an object of type RemoteManagedDataFullVO . |
void |
toRemoteManagedDataFullVO(ManagedData source,
RemoteManagedDataFullVO target)
Copies the fields of the specified entity to the target value object. |
RemoteManagedDataFullVO[] |
toRemoteManagedDataFullVOArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteManagedDataFullVO . |
void |
toRemoteManagedDataFullVOCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteManagedDataFullVO . |
RemoteManagedDataNaturalId |
toRemoteManagedDataNaturalId(ManagedData entity)
Converts this DAO's entity to an object of type RemoteManagedDataNaturalId . |
void |
toRemoteManagedDataNaturalId(ManagedData source,
RemoteManagedDataNaturalId target)
Copies the fields of the specified entity to the target value object. |
RemoteManagedDataNaturalId[] |
toRemoteManagedDataNaturalIdArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteManagedDataNaturalId . |
void |
toRemoteManagedDataNaturalIdCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteManagedDataNaturalId . |
void |
update(java.util.Collection entities)
Updates all instances in the entities collection in the persistent store. |
void |
update(ManagedData managedData)
Updates the managedData 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_REMOTEMANAGEDDATAFULLVO
int
parameter called transform
.
This specific flag denotes entities must be transformed into objects of type
RemoteManagedDataFullVO
.
static final int TRANSFORM_REMOTEMANAGEDDATANATURALID
int
parameter called transform
.
This specific flag denotes entities must be transformed into objects of type
RemoteManagedDataNaturalId
.
static final int TRANSFORM_CLUSTERMANAGEDDATA
int
parameter called transform
.
This specific flag denotes entities must be transformed into objects of type
ClusterManagedData
.
Method Detail |
---|
void toRemoteManagedDataFullVO(ManagedData source, RemoteManagedDataFullVO target)
RemoteManagedDataFullVO toRemoteManagedDataFullVO(ManagedData entity)
RemoteManagedDataFullVO
.
void toRemoteManagedDataFullVOCollection(java.util.Collection entities)
RemoteManagedDataFullVO
.
RemoteManagedDataFullVO[] toRemoteManagedDataFullVOArray(java.util.Collection entities)
RemoteManagedDataFullVO
.
void remoteManagedDataFullVOToEntity(RemoteManagedDataFullVO source, ManagedData target, boolean copyIfNull)
RemoteManagedDataFullVO
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.ManagedData remoteManagedDataFullVOToEntity(RemoteManagedDataFullVO remoteManagedDataFullVO)
RemoteManagedDataFullVO
to this DAO's entity.
void remoteManagedDataFullVOToEntityCollection(java.util.Collection instances)
RemoteManagedDataFullVO
to this
DAO's entity.
void toRemoteManagedDataNaturalId(ManagedData source, RemoteManagedDataNaturalId target)
RemoteManagedDataNaturalId toRemoteManagedDataNaturalId(ManagedData entity)
RemoteManagedDataNaturalId
.
void toRemoteManagedDataNaturalIdCollection(java.util.Collection entities)
RemoteManagedDataNaturalId
.
RemoteManagedDataNaturalId[] toRemoteManagedDataNaturalIdArray(java.util.Collection entities)
RemoteManagedDataNaturalId
.
void remoteManagedDataNaturalIdToEntity(RemoteManagedDataNaturalId source, ManagedData target, boolean copyIfNull)
RemoteManagedDataNaturalId
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.ManagedData remoteManagedDataNaturalIdToEntity(RemoteManagedDataNaturalId remoteManagedDataNaturalId)
RemoteManagedDataNaturalId
to this DAO's entity.
void remoteManagedDataNaturalIdToEntityCollection(java.util.Collection instances)
RemoteManagedDataNaturalId
to this
DAO's entity.
void toClusterManagedData(ManagedData source, ClusterManagedData target)
ClusterManagedData toClusterManagedData(ManagedData entity)
ClusterManagedData
.
void toClusterManagedDataCollection(java.util.Collection entities)
ClusterManagedData
.
ClusterManagedData[] toClusterManagedDataArray(java.util.Collection entities)
ClusterManagedData
.
void clusterManagedDataToEntity(ClusterManagedData source, ManagedData target, boolean copyIfNull)
ClusterManagedData
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.ManagedData clusterManagedDataToEntity(ClusterManagedData clusterManagedData)
ClusterManagedData
to this DAO's entity.
void clusterManagedDataToEntityCollection(java.util.Collection instances)
ClusterManagedData
to this
DAO's entity.
ManagedData 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()
ManagedData
.
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.
ManagedData create(ManagedData managedData)
java.lang.Object create(int transform, ManagedData managedData)
Does the same thing as create(fr.ifremer.allegro.administration.user.ManagedData)
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.ManagedData
instances to create.
java.util.Collection create(int transform, java.util.Collection entities)
Does the same thing as create(fr.ifremer.allegro.administration.user.ManagedData)
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.
ManagedData create(java.sql.Timestamp updateDate, User managerUser, User supervisorUser, ManagedDataType managedDataType, java.util.Collection vesselManagePeriods, java.util.Collection managedDataTransfers, java.util.Collection viewerUser)
Creates a new fr.ifremer.allegro.administration.user.ManagedData
instance from all attributes and
properties and adds it to the persistent store.
java.lang.Object create(int transform, java.sql.Timestamp updateDate, User managerUser, User supervisorUser, ManagedDataType managedDataType, java.util.Collection vesselManagePeriods, java.util.Collection managedDataTransfers, java.util.Collection viewerUser)
Does the same thing as create(java.sql.Timestamp,fr.ifremer.allegro.administration.user.User,fr.ifremer.allegro.administration.user.User,fr.ifremer.allegro.administration.user.ManagedDataType,java.util.Collection,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.
ManagedData create(ManagedDataType managedDataType, User managerUser)
Creates a new fr.ifremer.allegro.administration.user.ManagedData
instance from only required properties (attributes
and association ends) and adds it to the persistent store.
java.lang.Object create(int transform, ManagedDataType managedDataType, User managerUser)
Does the same thing as create(fr.ifremer.allegro.administration.user.ManagedDataType,fr.ifremer.allegro.administration.user.User)
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(ManagedData managedData)
managedData
instance in the persistent store.
void update(java.util.Collection entities)
entities
collection in the persistent store.
void remove(ManagedData managedData)
void remove(java.lang.Integer id)
identifier
from the persistent store.
void remove(java.util.Collection entities)
entities collection.
java.util.Collection getAllManagedData()
java.util.Collection getAllManagedData(java.lang.String queryString)
Does the same thing as getAllManagedData()
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in getAllManagedData()
.
java.util.Collection getAllManagedData(int pageNumber, int pageSize)
Does the same thing as getAllManagedData()
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 getAllManagedData(java.lang.String queryString, int pageNumber, int pageSize)
Does the same thing as getAllManagedData(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 getAllManagedData(int transform)
Does the same thing as getAllManagedData()
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 getAllManagedData(int transform, int pageNumber, int pageSize)
Does the same thing as getAllManagedData(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 getAllManagedData(int transform, java.lang.String queryString)
Does the same thing as getAllManagedData(int)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in getAllManagedData(int)
.
java.util.Collection getAllManagedData(int transform, java.lang.String queryString, int pageNumber, int pageSize)
Does the same thing as getAllManagedData(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.
ManagedData findManagedDataById(java.lang.Integer id)
ManagedData findManagedDataById(java.lang.String queryString, java.lang.Integer id)
Does the same thing as findManagedDataById(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findManagedDataById(java.lang.Integer)
.
java.lang.Object findManagedDataById(int transform, java.lang.Integer id)
Does the same thing as findManagedDataById(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 findManagedDataById(int transform, java.lang.String queryString, java.lang.Integer id)
Does the same thing as findManagedDataById(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findManagedDataById(int, java.lang.Integer id)
.
java.util.Collection findManagedDataBySupervisorUser(User supervisorUser)
java.util.Collection findManagedDataBySupervisorUser(java.lang.String queryString, User supervisorUser)
Does the same thing as findManagedDataBySupervisorUser(fr.ifremer.allegro.administration.user.User)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findManagedDataBySupervisorUser(fr.ifremer.allegro.administration.user.User)
.
java.util.Collection findManagedDataBySupervisorUser(int pageNumber, int pageSize, User supervisorUser)
Does the same thing as findManagedDataBySupervisorUser(fr.ifremer.allegro.administration.user.User)
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 findManagedDataBySupervisorUser(java.lang.String queryString, int pageNumber, int pageSize, User supervisorUser)
Does the same thing as findManagedDataBySupervisorUser(String, fr.ifremer.allegro.administration.user.User)
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 findManagedDataBySupervisorUser(int transform, User supervisorUser)
Does the same thing as findManagedDataBySupervisorUser(fr.ifremer.allegro.administration.user.User)
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 findManagedDataBySupervisorUser(int transform, int pageNumber, int pageSize, User supervisorUser)
Does the same thing as findManagedDataBySupervisorUser(int, fr.ifremer.allegro.administration.user.User)
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 findManagedDataBySupervisorUser(int transform, java.lang.String queryString, User supervisorUser)
Does the same thing as findManagedDataBySupervisorUser(int, fr.ifremer.allegro.administration.user.User)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findManagedDataBySupervisorUser(int, fr.ifremer.allegro.administration.user.User supervisorUser)
.
java.util.Collection findManagedDataBySupervisorUser(int transform, java.lang.String queryString, int pageNumber, int pageSize, User supervisorUser)
Does the same thing as findManagedDataBySupervisorUser(int, String, fr.ifremer.allegro.administration.user.User)
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 findManagedDataByManagedDataType(ManagedDataType managedDataType)
java.util.Collection findManagedDataByManagedDataType(java.lang.String queryString, ManagedDataType managedDataType)
Does the same thing as findManagedDataByManagedDataType(fr.ifremer.allegro.administration.user.ManagedDataType)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findManagedDataByManagedDataType(fr.ifremer.allegro.administration.user.ManagedDataType)
.
java.util.Collection findManagedDataByManagedDataType(int pageNumber, int pageSize, ManagedDataType managedDataType)
Does the same thing as findManagedDataByManagedDataType(fr.ifremer.allegro.administration.user.ManagedDataType)
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 findManagedDataByManagedDataType(java.lang.String queryString, int pageNumber, int pageSize, ManagedDataType managedDataType)
Does the same thing as findManagedDataByManagedDataType(String, fr.ifremer.allegro.administration.user.ManagedDataType)
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 findManagedDataByManagedDataType(int transform, ManagedDataType managedDataType)
Does the same thing as findManagedDataByManagedDataType(fr.ifremer.allegro.administration.user.ManagedDataType)
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 findManagedDataByManagedDataType(int transform, int pageNumber, int pageSize, ManagedDataType managedDataType)
Does the same thing as findManagedDataByManagedDataType(int, fr.ifremer.allegro.administration.user.ManagedDataType)
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 findManagedDataByManagedDataType(int transform, java.lang.String queryString, ManagedDataType managedDataType)
Does the same thing as findManagedDataByManagedDataType(int, fr.ifremer.allegro.administration.user.ManagedDataType)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findManagedDataByManagedDataType(int, fr.ifremer.allegro.administration.user.ManagedDataType managedDataType)
.
java.util.Collection findManagedDataByManagedDataType(int transform, java.lang.String queryString, int pageNumber, int pageSize, ManagedDataType managedDataType)
Does the same thing as findManagedDataByManagedDataType(int, String, fr.ifremer.allegro.administration.user.ManagedDataType)
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 findManagedDataByManagerUser(User managerUser)
java.util.Collection findManagedDataByManagerUser(java.lang.String queryString, User managerUser)
Does the same thing as findManagedDataByManagerUser(fr.ifremer.allegro.administration.user.User)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findManagedDataByManagerUser(fr.ifremer.allegro.administration.user.User)
.
java.util.Collection findManagedDataByManagerUser(int pageNumber, int pageSize, User managerUser)
Does the same thing as findManagedDataByManagerUser(fr.ifremer.allegro.administration.user.User)
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 findManagedDataByManagerUser(java.lang.String queryString, int pageNumber, int pageSize, User managerUser)
Does the same thing as findManagedDataByManagerUser(String, fr.ifremer.allegro.administration.user.User)
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 findManagedDataByManagerUser(int transform, User managerUser)
Does the same thing as findManagedDataByManagerUser(fr.ifremer.allegro.administration.user.User)
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 findManagedDataByManagerUser(int transform, int pageNumber, int pageSize, User managerUser)
Does the same thing as findManagedDataByManagerUser(int, fr.ifremer.allegro.administration.user.User)
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 findManagedDataByManagerUser(int transform, java.lang.String queryString, User managerUser)
Does the same thing as findManagedDataByManagerUser(int, fr.ifremer.allegro.administration.user.User)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findManagedDataByManagerUser(int, fr.ifremer.allegro.administration.user.User managerUser)
.
java.util.Collection findManagedDataByManagerUser(int transform, java.lang.String queryString, int pageNumber, int pageSize, User managerUser)
Does the same thing as findManagedDataByManagerUser(int, String, fr.ifremer.allegro.administration.user.User)
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.
ManagedData findManagedDataByNaturalId(java.lang.Integer id)
ManagedData findManagedDataByNaturalId(java.lang.String queryString, java.lang.Integer id)
Does the same thing as findManagedDataByNaturalId(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findManagedDataByNaturalId(java.lang.Integer)
.
java.lang.Object findManagedDataByNaturalId(int transform, java.lang.Integer id)
Does the same thing as findManagedDataByNaturalId(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 findManagedDataByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
Does the same thing as findManagedDataByNaturalId(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findManagedDataByNaturalId(int, java.lang.Integer id)
.
java.util.Collection getAllManagedDataSinceDateSynchro(java.sql.Timestamp updateDate)
java.util.Collection getAllManagedDataSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
Does the same thing as getAllManagedDataSinceDateSynchro(java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in getAllManagedDataSinceDateSynchro(java.sql.Timestamp)
.
java.util.Collection getAllManagedDataSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
Does the same thing as getAllManagedDataSinceDateSynchro(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 getAllManagedDataSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
Does the same thing as getAllManagedDataSinceDateSynchro(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 getAllManagedDataSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
Does the same thing as getAllManagedDataSinceDateSynchro(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 getAllManagedDataSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
Does the same thing as getAllManagedDataSinceDateSynchro(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 getAllManagedDataSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
Does the same thing as getAllManagedDataSinceDateSynchro(int, java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in getAllManagedDataSinceDateSynchro(int, java.sql.Timestamp updateDate)
.
java.util.Collection getAllManagedDataSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
Does the same thing as getAllManagedDataSinceDateSynchro(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.
ManagedData createFromClusterManagedData(ClusterManagedData clusterManagedData)
ClusterManagedData[] getAllClusterManagedDataSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize, java.lang.Integer[] managedDataIds)
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 |