fr.ifremer.allegro.administration.user
Interface ManagedDataDao

All Known Implementing Classes:
ManagedDataDaoBase, ManagedDataDaoImpl

public interface ManagedDataDao

See Also:
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 collection.
 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

TRANSFORM_NONE

static final int TRANSFORM_NONE
This constant is used as a transformation flag; entities can be converted automatically into value objects or other types, different methods in a class implementing this interface support this feature: look for an int parameter called transform.

This specific flag denotes no transformation will occur.

See Also:
Constant Field Values

TRANSFORM_REMOTEMANAGEDDATAFULLVO

static final 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.

This specific flag denotes entities must be transformed into objects of type RemoteManagedDataFullVO.

See Also:
Constant Field Values

TRANSFORM_REMOTEMANAGEDDATANATURALID

static final 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.

This specific flag denotes entities must be transformed into objects of type RemoteManagedDataNaturalId.

See Also:
Constant Field Values

TRANSFORM_CLUSTERMANAGEDDATA

static final 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.

This specific flag denotes entities must be transformed into objects of type ClusterManagedData.

See Also:
Constant Field Values
Method Detail

toRemoteManagedDataFullVO

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


toRemoteManagedDataFullVO

RemoteManagedDataFullVO toRemoteManagedDataFullVO(ManagedData entity)
Converts this DAO's entity to an object of type RemoteManagedDataFullVO.


toRemoteManagedDataFullVOCollection

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


toRemoteManagedDataFullVOArray

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


remoteManagedDataFullVOToEntity

void remoteManagedDataFullVOToEntity(RemoteManagedDataFullVO source,
                                     ManagedData target,
                                     boolean copyIfNull)
Copies the fields of RemoteManagedDataFullVO to the specified entity.

Parameters:
copyIfNull - If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE, it will be copied regardless of its value.

remoteManagedDataFullVOToEntity

ManagedData remoteManagedDataFullVOToEntity(RemoteManagedDataFullVO remoteManagedDataFullVO)
Converts an instance of type RemoteManagedDataFullVO to this DAO's entity.


remoteManagedDataFullVOToEntityCollection

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


toRemoteManagedDataNaturalId

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


toRemoteManagedDataNaturalId

RemoteManagedDataNaturalId toRemoteManagedDataNaturalId(ManagedData entity)
Converts this DAO's entity to an object of type RemoteManagedDataNaturalId.


toRemoteManagedDataNaturalIdCollection

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


toRemoteManagedDataNaturalIdArray

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


remoteManagedDataNaturalIdToEntity

void remoteManagedDataNaturalIdToEntity(RemoteManagedDataNaturalId source,
                                        ManagedData target,
                                        boolean copyIfNull)
Copies the fields of RemoteManagedDataNaturalId to the specified entity.

Parameters:
copyIfNull - If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE, it will be copied regardless of its value.

remoteManagedDataNaturalIdToEntity

ManagedData remoteManagedDataNaturalIdToEntity(RemoteManagedDataNaturalId remoteManagedDataNaturalId)
Converts an instance of type RemoteManagedDataNaturalId to this DAO's entity.


remoteManagedDataNaturalIdToEntityCollection

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


toClusterManagedData

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


toClusterManagedData

ClusterManagedData toClusterManagedData(ManagedData entity)
Converts this DAO's entity to an object of type ClusterManagedData.


toClusterManagedDataCollection

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


toClusterManagedDataArray

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


clusterManagedDataToEntity

void clusterManagedDataToEntity(ClusterManagedData source,
                                ManagedData target,
                                boolean copyIfNull)
Copies the fields of ClusterManagedData to the specified entity.

Parameters:
copyIfNull - If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE, it will be copied regardless of its value.

clusterManagedDataToEntity

ManagedData clusterManagedDataToEntity(ClusterManagedData clusterManagedData)
Converts an instance of type ClusterManagedData to this DAO's entity.


clusterManagedDataToEntityCollection

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


load

ManagedData load(java.lang.Integer id)
Loads an instance of fr.ifremer.allegro.administration.user.ManagedData from the persistent store.


load

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

Does the same thing as load(java.lang.Integer) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then the returned entity will NOT be transformed. If this flag is any of the other constants defined in this class then the result WILL BE passed through an operation which can optionally transform the entity (into a value object for example). By default, transformation does not occur.

Parameters:
id - identifier of the entity to load
Returns:
either the entity or the object transformed from the entity.

loadAll

java.util.Collection loadAll()
Loads all entities of type ManagedData.

Returns:
the loaded entities.

loadAll

java.util.Collection loadAll(int transform)

Does the same thing as loadAll() with an additional flag called transform. If this flag is set to TRANSFORM_NONE then the returned entity will NOT be transformed. If this flag is any of the other constants defined here then the result WILL BE passed through an operation which can optionally transform the entity (into a value object for example). By default, transformation does not occur.

Parameters:
transform - the flag indicating what transformation to use.
Returns:
the loaded entities.

loadAll

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

Does the same thing as loadAll() with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Parameters:
pageNumber - the page number to retrieve when paging results.
pageSize - the size of the page to retrieve when paging results.
Returns:
the loaded entities.

loadAll

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

Does the same thing as loadAll(int) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Parameters:
transform - the flag indicating what transformation to use.
pageNumber - the page number to retrieve when paging results.
pageSize - the size of the page to retrieve when paging results.
Returns:
the loaded entities.

create

ManagedData create(ManagedData managedData)
Creates an instance of fr.ifremer.allegro.administration.user.ManagedData and adds it to the persistent store.


create

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.


create

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

Parameters:
entities - the collection of fr.ifremer.allegro.administration.user.ManagedData instances to create.
Returns:
the created instances.

create

java.util.Collection create(int transform,
                            java.util.Collection entities)

Does the same thing as create(fr.ifremer.allegro.administration.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.


create

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.


create

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.


create

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.


create

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.


update

void update(ManagedData managedData)
Updates the managedData instance in the persistent store.


update

void update(java.util.Collection entities)
Updates all instances in the entities collection in the persistent store.


remove

void remove(ManagedData managedData)
Removes the instance of fr.ifremer.allegro.administration.user.ManagedData from the persistent store.


remove

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


remove

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


getAllManagedData

java.util.Collection getAllManagedData()

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


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.


getAllManagedData

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.


getAllManagedData

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.


getAllManagedData

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.


getAllManagedData

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


getAllManagedData

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.


findManagedDataById

ManagedData findManagedDataById(java.lang.Integer id)

findManagedDataById

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


findManagedDataById

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.


findManagedDataById

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


findManagedDataBySupervisorUser

java.util.Collection findManagedDataBySupervisorUser(User supervisorUser)

findManagedDataBySupervisorUser

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


findManagedDataBySupervisorUser

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.


findManagedDataBySupervisorUser

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.


findManagedDataBySupervisorUser

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.


findManagedDataBySupervisorUser

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.


findManagedDataBySupervisorUser

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


findManagedDataBySupervisorUser

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.


findManagedDataByManagedDataType

java.util.Collection findManagedDataByManagedDataType(ManagedDataType managedDataType)

findManagedDataByManagedDataType

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


findManagedDataByManagedDataType

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.


findManagedDataByManagedDataType

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.


findManagedDataByManagedDataType

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.


findManagedDataByManagedDataType

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.


findManagedDataByManagedDataType

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


findManagedDataByManagedDataType

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.


findManagedDataByManagerUser

java.util.Collection findManagedDataByManagerUser(User managerUser)

findManagedDataByManagerUser

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


findManagedDataByManagerUser

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.


findManagedDataByManagerUser

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.


findManagedDataByManagerUser

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.


findManagedDataByManagerUser

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.


findManagedDataByManagerUser

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


findManagedDataByManagerUser

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.


findManagedDataByNaturalId

ManagedData findManagedDataByNaturalId(java.lang.Integer id)

findManagedDataByNaturalId

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


findManagedDataByNaturalId

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.


findManagedDataByNaturalId

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


getAllManagedDataSinceDateSynchro

java.util.Collection getAllManagedDataSinceDateSynchro(java.sql.Timestamp updateDate)

getAllManagedDataSinceDateSynchro

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


getAllManagedDataSinceDateSynchro

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.


getAllManagedDataSinceDateSynchro

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.


getAllManagedDataSinceDateSynchro

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.


getAllManagedDataSinceDateSynchro

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.


getAllManagedDataSinceDateSynchro

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


getAllManagedDataSinceDateSynchro

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.


createFromClusterManagedData

ManagedData createFromClusterManagedData(ClusterManagedData clusterManagedData)

getAllClusterManagedDataSinceDateSynchro

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)

search

PaginationResult search(int transform,
                        int pageNumber,
                        int pageSize,
                        Search search)
Does the same thing as {@link #search(int, fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize. These flags allow you to limit your data to a specified page number and size.

Parameters:
transform - the transformation flag.
pageNumber - the page number in the data to retrieve
pageSize - the size of the page to retrieve.
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search wrapped in a PaginationResult instance.

search

PaginationResult search(int pageNumber,
                        int pageSize,
                        Search search)
Does the same thing as {@link #search(fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize. These flags allow you to limit your data to a specified page number and size.

Parameters:
pageNumber - the page number in the data to retrieve
pageSize - the size of the page to retrieve.
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search wrapped in a PaginationResult instance.

search

java.util.Set search(int transform,
                     Search search)
Does the same thing as search(fr.ifremer.allegro.Search) but with an additional flag called transform. If this flag is set to TRANSFORM_NONE then finder results will NOT be transformed during retrieval. If this flag is any of the other constants defined here then results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.

Parameters:
transform - the transformation flag.
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search.

search

java.util.Set search(Search search)
Performs a search using the parameters specified in the given search object.

Parameters:
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search.


Copyright © 2008-2010 IFREMER. All Rights Reserved.