fr.ifremer.allegro.data.measure.photo
Interface PhotoDao

All Known Implementing Classes:
PhotoDaoBase, PhotoDaoImpl

public interface PhotoDao

See Also:
Photo

Field Summary
static int TRANSFORM_CLUSTERPHOTO
          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_REMOTEPHOTOFULLVO
          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_REMOTEPHOTONATURALID
          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
 Photo clusterPhotoToEntity(ClusterPhoto clusterPhoto)
          Converts an instance of type ClusterPhoto to this DAO's entity.
 void clusterPhotoToEntity(ClusterPhoto source, Photo target, boolean copyIfNull)
          Copies the fields of ClusterPhoto to the specified entity.
 void clusterPhotoToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type ClusterPhoto to this DAO's entity.
 java.util.Collection create(java.util.Collection entities)
          Creates a new instance of fr.ifremer.allegro.data.measure.photo.Photo 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.data.measure.photo.Photo) with an additional flag called transform.
 Photo create(java.lang.Integer objectId, ObjectType objectType, java.lang.String path, PhotoType photoType, QualityFlag qualityFlag)
           Creates a new fr.ifremer.allegro.data.measure.photo.Photo instance from only required properties (attributes and association ends) and adds it to the persistent store.
 Photo create(java.lang.Integer objectId, java.lang.String name, java.lang.String directionDescription, java.lang.String comments, java.lang.String path, java.util.Date photoDate, java.util.Date validationDate, java.util.Date qualificationDate, java.lang.String qualificationComments, java.sql.Timestamp updateDate, Department department, PhotoType photoType, ObjectType objectType, QualityFlag qualityFlag)
           Creates a new fr.ifremer.allegro.data.measure.photo.Photo instance from all attributes and properties and adds it to the persistent store.
 java.lang.Object create(int transform, java.lang.Integer objectId, ObjectType objectType, java.lang.String path, PhotoType photoType, QualityFlag qualityFlag)
           Does the same thing as create(java.lang.Integer,fr.ifremer.allegro.referential.ObjectType,java.lang.String,fr.ifremer.allegro.referential.PhotoType,fr.ifremer.allegro.referential.QualityFlag) with an additional flag called transform.
 java.lang.Object create(int transform, java.lang.Integer objectId, java.lang.String name, java.lang.String directionDescription, java.lang.String comments, java.lang.String path, java.util.Date photoDate, java.util.Date validationDate, java.util.Date qualificationDate, java.lang.String qualificationComments, java.sql.Timestamp updateDate, Department department, PhotoType photoType, ObjectType objectType, QualityFlag qualityFlag)
           Does the same thing as create(java.lang.Integer,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.util.Date,java.util.Date,java.util.Date,java.lang.String,java.sql.Timestamp,fr.ifremer.allegro.administration.user.Department,fr.ifremer.allegro.referential.PhotoType,fr.ifremer.allegro.referential.ObjectType,fr.ifremer.allegro.referential.QualityFlag) with an additional flag called transform.
 java.lang.Object create(int transform, Photo photo)
           Does the same thing as create(fr.ifremer.allegro.data.measure.photo.Photo) with an additional flag called transform.
 Photo create(Photo photo)
          Creates an instance of fr.ifremer.allegro.data.measure.photo.Photo and adds it to the persistent store.
 Photo createFromClusterPhoto(ClusterPhoto clusterPhoto)
           
 java.util.Collection findPhotoByDepartment(Department department)
           
 java.util.Collection findPhotoByDepartment(int transform, Department department)
           Does the same thing as findPhotoByDepartment(fr.ifremer.allegro.administration.user.Department) with an additional flag called transform.
 java.util.Collection findPhotoByDepartment(int pageNumber, int pageSize, Department department)
           Does the same thing as findPhotoByDepartment(fr.ifremer.allegro.administration.user.Department) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findPhotoByDepartment(int transform, int pageNumber, int pageSize, Department department)
           Does the same thing as findPhotoByDepartment(int, fr.ifremer.allegro.administration.user.Department) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findPhotoByDepartment(int transform, java.lang.String queryString, Department department)
           Does the same thing as findPhotoByDepartment(int, fr.ifremer.allegro.administration.user.Department) with an additional argument called queryString.
 java.util.Collection findPhotoByDepartment(int transform, java.lang.String queryString, int pageNumber, int pageSize, Department department)
           Does the same thing as findPhotoByDepartment(int, String, fr.ifremer.allegro.administration.user.Department) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findPhotoByDepartment(java.lang.String queryString, Department department)
           Does the same thing as findPhotoByDepartment(fr.ifremer.allegro.administration.user.Department) with an additional argument called queryString.
 java.util.Collection findPhotoByDepartment(java.lang.String queryString, int pageNumber, int pageSize, Department department)
           Does the same thing as findPhotoByDepartment(String, fr.ifremer.allegro.administration.user.Department) with an additional two arguments called pageNumber and pageSize.
 Photo findPhotoById(java.lang.Integer id)
           
 java.lang.Object findPhotoById(int transform, java.lang.Integer id)
           Does the same thing as findPhotoById(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findPhotoById(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as findPhotoById(int, java.lang.Integer) with an additional argument called queryString.
 Photo findPhotoById(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as findPhotoById(java.lang.Integer) with an additional argument called queryString.
 Photo findPhotoByNaturalId(java.lang.Integer id)
           
 java.lang.Object findPhotoByNaturalId(int transform, java.lang.Integer id)
           Does the same thing as findPhotoByNaturalId(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findPhotoByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as findPhotoByNaturalId(int, java.lang.Integer) with an additional argument called queryString.
 Photo findPhotoByNaturalId(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as findPhotoByNaturalId(java.lang.Integer) with an additional argument called queryString.
 java.util.Collection findPhotoByObjectType(int transform, int pageNumber, int pageSize, ObjectType objectType)
           Does the same thing as findPhotoByObjectType(int, fr.ifremer.allegro.referential.ObjectType) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findPhotoByObjectType(int pageNumber, int pageSize, ObjectType objectType)
           Does the same thing as findPhotoByObjectType(fr.ifremer.allegro.referential.ObjectType) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findPhotoByObjectType(int transform, ObjectType objectType)
           Does the same thing as findPhotoByObjectType(fr.ifremer.allegro.referential.ObjectType) with an additional flag called transform.
 java.util.Collection findPhotoByObjectType(int transform, java.lang.String queryString, int pageNumber, int pageSize, ObjectType objectType)
           Does the same thing as findPhotoByObjectType(int, String, fr.ifremer.allegro.referential.ObjectType) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findPhotoByObjectType(int transform, java.lang.String queryString, ObjectType objectType)
           Does the same thing as findPhotoByObjectType(int, fr.ifremer.allegro.referential.ObjectType) with an additional argument called queryString.
 java.util.Collection findPhotoByObjectType(ObjectType objectType)
           
 java.util.Collection findPhotoByObjectType(java.lang.String queryString, int pageNumber, int pageSize, ObjectType objectType)
           Does the same thing as findPhotoByObjectType(String, fr.ifremer.allegro.referential.ObjectType) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findPhotoByObjectType(java.lang.String queryString, ObjectType objectType)
           Does the same thing as findPhotoByObjectType(fr.ifremer.allegro.referential.ObjectType) with an additional argument called queryString.
 java.util.Collection findPhotoByPhotoType(int transform, int pageNumber, int pageSize, PhotoType photoType)
           Does the same thing as findPhotoByPhotoType(int, fr.ifremer.allegro.referential.PhotoType) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findPhotoByPhotoType(int pageNumber, int pageSize, PhotoType photoType)
           Does the same thing as findPhotoByPhotoType(fr.ifremer.allegro.referential.PhotoType) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findPhotoByPhotoType(int transform, PhotoType photoType)
           Does the same thing as findPhotoByPhotoType(fr.ifremer.allegro.referential.PhotoType) with an additional flag called transform.
 java.util.Collection findPhotoByPhotoType(int transform, java.lang.String queryString, int pageNumber, int pageSize, PhotoType photoType)
           Does the same thing as findPhotoByPhotoType(int, String, fr.ifremer.allegro.referential.PhotoType) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findPhotoByPhotoType(int transform, java.lang.String queryString, PhotoType photoType)
           Does the same thing as findPhotoByPhotoType(int, fr.ifremer.allegro.referential.PhotoType) with an additional argument called queryString.
 java.util.Collection findPhotoByPhotoType(PhotoType photoType)
           
 java.util.Collection findPhotoByPhotoType(java.lang.String queryString, int pageNumber, int pageSize, PhotoType photoType)
           Does the same thing as findPhotoByPhotoType(String, fr.ifremer.allegro.referential.PhotoType) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findPhotoByPhotoType(java.lang.String queryString, PhotoType photoType)
           Does the same thing as findPhotoByPhotoType(fr.ifremer.allegro.referential.PhotoType) with an additional argument called queryString.
 java.util.Collection findPhotoByQualityFlag(int transform, int pageNumber, int pageSize, QualityFlag qualityFlag)
           Does the same thing as findPhotoByQualityFlag(int, fr.ifremer.allegro.referential.QualityFlag) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findPhotoByQualityFlag(int pageNumber, int pageSize, QualityFlag qualityFlag)
           Does the same thing as findPhotoByQualityFlag(fr.ifremer.allegro.referential.QualityFlag) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findPhotoByQualityFlag(int transform, QualityFlag qualityFlag)
           Does the same thing as findPhotoByQualityFlag(fr.ifremer.allegro.referential.QualityFlag) with an additional flag called transform.
 java.util.Collection findPhotoByQualityFlag(int transform, java.lang.String queryString, int pageNumber, int pageSize, QualityFlag qualityFlag)
           Does the same thing as findPhotoByQualityFlag(int, String, fr.ifremer.allegro.referential.QualityFlag) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findPhotoByQualityFlag(int transform, java.lang.String queryString, QualityFlag qualityFlag)
           Does the same thing as findPhotoByQualityFlag(int, fr.ifremer.allegro.referential.QualityFlag) with an additional argument called queryString.
 java.util.Collection findPhotoByQualityFlag(QualityFlag qualityFlag)
           
 java.util.Collection findPhotoByQualityFlag(java.lang.String queryString, int pageNumber, int pageSize, QualityFlag qualityFlag)
           Does the same thing as findPhotoByQualityFlag(String, fr.ifremer.allegro.referential.QualityFlag) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findPhotoByQualityFlag(java.lang.String queryString, QualityFlag qualityFlag)
           Does the same thing as findPhotoByQualityFlag(fr.ifremer.allegro.referential.QualityFlag) with an additional argument called queryString.
 ClusterPhoto[] getAllClusterPhotoSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
 java.util.Collection getAllPhoto()
           
 java.util.Collection getAllPhoto(int transform)
           Does the same thing as getAllPhoto() with an additional flag called transform.
 java.util.Collection getAllPhoto(int pageNumber, int pageSize)
           Does the same thing as getAllPhoto() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllPhoto(int transform, int pageNumber, int pageSize)
           Does the same thing as getAllPhoto(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllPhoto(int transform, java.lang.String queryString)
           Does the same thing as getAllPhoto(int) with an additional argument called queryString.
 java.util.Collection getAllPhoto(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as getAllPhoto(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllPhoto(java.lang.String queryString)
           Does the same thing as getAllPhoto() with an additional argument called queryString.
 java.util.Collection getAllPhoto(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as getAllPhoto(String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllPhotoSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as getAllPhotoSinceDateSynchro(int, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllPhotoSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as getAllPhotoSinceDateSynchro(java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllPhotoSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as getAllPhotoSinceDateSynchro(int, String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllPhotoSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as getAllPhotoSinceDateSynchro(int, java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllPhotoSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
           Does the same thing as getAllPhotoSinceDateSynchro(java.sql.Timestamp) with an additional flag called transform.
 java.util.Collection getAllPhotoSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as getAllPhotoSinceDateSynchro(String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllPhotoSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as getAllPhotoSinceDateSynchro(java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllPhotoSinceDateSynchro(java.sql.Timestamp updateDate)
           
 Photo load(java.lang.Integer id)
          Loads an instance of fr.ifremer.allegro.data.measure.photo.Photo 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 Photo.
 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.
 Photo remotePhotoFullVOToEntity(RemotePhotoFullVO remotePhotoFullVO)
          Converts an instance of type RemotePhotoFullVO to this DAO's entity.
 void remotePhotoFullVOToEntity(RemotePhotoFullVO source, Photo target, boolean copyIfNull)
          Copies the fields of RemotePhotoFullVO to the specified entity.
 void remotePhotoFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemotePhotoFullVO to this DAO's entity.
 Photo remotePhotoNaturalIdToEntity(RemotePhotoNaturalId remotePhotoNaturalId)
          Converts an instance of type RemotePhotoNaturalId to this DAO's entity.
 void remotePhotoNaturalIdToEntity(RemotePhotoNaturalId source, Photo target, boolean copyIfNull)
          Copies the fields of RemotePhotoNaturalId to the specified entity.
 void remotePhotoNaturalIdToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemotePhotoNaturalId 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.data.measure.photo.Photo having the given identifier from the persistent store.
 void remove(Photo photo)
          Removes the instance of fr.ifremer.allegro.data.measure.photo.Photo 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.
 ClusterPhoto toClusterPhoto(Photo entity)
          Converts this DAO's entity to an object of type ClusterPhoto.
 void toClusterPhoto(Photo source, ClusterPhoto target)
          Copies the fields of the specified entity to the target value object.
 ClusterPhoto[] toClusterPhotoArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type ClusterPhoto.
 void toClusterPhotoCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type ClusterPhoto.
 RemotePhotoFullVO toRemotePhotoFullVO(Photo entity)
          Converts this DAO's entity to an object of type RemotePhotoFullVO.
 void toRemotePhotoFullVO(Photo source, RemotePhotoFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemotePhotoFullVO[] toRemotePhotoFullVOArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemotePhotoFullVO.
 void toRemotePhotoFullVOCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemotePhotoFullVO.
 RemotePhotoNaturalId toRemotePhotoNaturalId(Photo entity)
          Converts this DAO's entity to an object of type RemotePhotoNaturalId.
 void toRemotePhotoNaturalId(Photo source, RemotePhotoNaturalId target)
          Copies the fields of the specified entity to the target value object.
 RemotePhotoNaturalId[] toRemotePhotoNaturalIdArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemotePhotoNaturalId.
 void toRemotePhotoNaturalIdCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemotePhotoNaturalId.
 void update(java.util.Collection entities)
          Updates all instances in the entities collection in the persistent store.
 void update(Photo photo)
          Updates the photo 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_REMOTEPHOTOFULLVO

static final int TRANSFORM_REMOTEPHOTOFULLVO
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 RemotePhotoFullVO.

See Also:
Constant Field Values

TRANSFORM_REMOTEPHOTONATURALID

static final int TRANSFORM_REMOTEPHOTONATURALID
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 RemotePhotoNaturalId.

See Also:
Constant Field Values

TRANSFORM_CLUSTERPHOTO

static final int TRANSFORM_CLUSTERPHOTO
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 ClusterPhoto.

See Also:
Constant Field Values
Method Detail

toRemotePhotoFullVO

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


toRemotePhotoFullVO

RemotePhotoFullVO toRemotePhotoFullVO(Photo entity)
Converts this DAO's entity to an object of type RemotePhotoFullVO.


toRemotePhotoFullVOCollection

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


toRemotePhotoFullVOArray

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


remotePhotoFullVOToEntity

void remotePhotoFullVOToEntity(RemotePhotoFullVO source,
                               Photo target,
                               boolean copyIfNull)
Copies the fields of RemotePhotoFullVO 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.

remotePhotoFullVOToEntity

Photo remotePhotoFullVOToEntity(RemotePhotoFullVO remotePhotoFullVO)
Converts an instance of type RemotePhotoFullVO to this DAO's entity.


remotePhotoFullVOToEntityCollection

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


toRemotePhotoNaturalId

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


toRemotePhotoNaturalId

RemotePhotoNaturalId toRemotePhotoNaturalId(Photo entity)
Converts this DAO's entity to an object of type RemotePhotoNaturalId.


toRemotePhotoNaturalIdCollection

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


toRemotePhotoNaturalIdArray

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


remotePhotoNaturalIdToEntity

void remotePhotoNaturalIdToEntity(RemotePhotoNaturalId source,
                                  Photo target,
                                  boolean copyIfNull)
Copies the fields of RemotePhotoNaturalId 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.

remotePhotoNaturalIdToEntity

Photo remotePhotoNaturalIdToEntity(RemotePhotoNaturalId remotePhotoNaturalId)
Converts an instance of type RemotePhotoNaturalId to this DAO's entity.


remotePhotoNaturalIdToEntityCollection

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


toClusterPhoto

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


toClusterPhoto

ClusterPhoto toClusterPhoto(Photo entity)
Converts this DAO's entity to an object of type ClusterPhoto.


toClusterPhotoCollection

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


toClusterPhotoArray

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


clusterPhotoToEntity

void clusterPhotoToEntity(ClusterPhoto source,
                          Photo target,
                          boolean copyIfNull)
Copies the fields of ClusterPhoto 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.

clusterPhotoToEntity

Photo clusterPhotoToEntity(ClusterPhoto clusterPhoto)
Converts an instance of type ClusterPhoto to this DAO's entity.


clusterPhotoToEntityCollection

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


load

Photo load(java.lang.Integer id)
Loads an instance of fr.ifremer.allegro.data.measure.photo.Photo 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 Photo.

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

Photo create(Photo photo)
Creates an instance of fr.ifremer.allegro.data.measure.photo.Photo and adds it to the persistent store.


create

java.lang.Object create(int transform,
                        Photo photo)

Does the same thing as create(fr.ifremer.allegro.data.measure.photo.Photo) 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.data.measure.photo.Photo and adds from the passed in entities collection

Parameters:
entities - the collection of fr.ifremer.allegro.data.measure.photo.Photo 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.data.measure.photo.Photo) 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

Photo create(java.lang.Integer objectId,
             java.lang.String name,
             java.lang.String directionDescription,
             java.lang.String comments,
             java.lang.String path,
             java.util.Date photoDate,
             java.util.Date validationDate,
             java.util.Date qualificationDate,
             java.lang.String qualificationComments,
             java.sql.Timestamp updateDate,
             Department department,
             PhotoType photoType,
             ObjectType objectType,
             QualityFlag qualityFlag)

Creates a new fr.ifremer.allegro.data.measure.photo.Photo instance from all attributes and properties and adds it to the persistent store.


create

java.lang.Object create(int transform,
                        java.lang.Integer objectId,
                        java.lang.String name,
                        java.lang.String directionDescription,
                        java.lang.String comments,
                        java.lang.String path,
                        java.util.Date photoDate,
                        java.util.Date validationDate,
                        java.util.Date qualificationDate,
                        java.lang.String qualificationComments,
                        java.sql.Timestamp updateDate,
                        Department department,
                        PhotoType photoType,
                        ObjectType objectType,
                        QualityFlag qualityFlag)

Does the same thing as create(java.lang.Integer,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.util.Date,java.util.Date,java.util.Date,java.lang.String,java.sql.Timestamp,fr.ifremer.allegro.administration.user.Department,fr.ifremer.allegro.referential.PhotoType,fr.ifremer.allegro.referential.ObjectType,fr.ifremer.allegro.referential.QualityFlag) 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

Photo create(java.lang.Integer objectId,
             ObjectType objectType,
             java.lang.String path,
             PhotoType photoType,
             QualityFlag qualityFlag)

Creates a new fr.ifremer.allegro.data.measure.photo.Photo instance from only required properties (attributes and association ends) and adds it to the persistent store.


create

java.lang.Object create(int transform,
                        java.lang.Integer objectId,
                        ObjectType objectType,
                        java.lang.String path,
                        PhotoType photoType,
                        QualityFlag qualityFlag)

Does the same thing as create(java.lang.Integer,fr.ifremer.allegro.referential.ObjectType,java.lang.String,fr.ifremer.allegro.referential.PhotoType,fr.ifremer.allegro.referential.QualityFlag) 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(Photo photo)
Updates the photo 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(Photo photo)
Removes the instance of fr.ifremer.allegro.data.measure.photo.Photo from the persistent store.


remove

void remove(java.lang.Integer id)
Removes the instance of fr.ifremer.allegro.data.measure.photo.Photo having the given identifier from the persistent store.


remove

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


getAllPhoto

java.util.Collection getAllPhoto()

getAllPhoto

java.util.Collection getAllPhoto(java.lang.String queryString)

Does the same thing as getAllPhoto() with an additional argument called queryString. This queryString argument allows you to override the query string defined in getAllPhoto().


getAllPhoto

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

Does the same thing as getAllPhoto() 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.


getAllPhoto

java.util.Collection getAllPhoto(java.lang.String queryString,
                                 int pageNumber,
                                 int pageSize)

Does the same thing as getAllPhoto(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.


getAllPhoto

java.util.Collection getAllPhoto(int transform)

Does the same thing as getAllPhoto() 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.


getAllPhoto

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

Does the same thing as getAllPhoto(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.


getAllPhoto

java.util.Collection getAllPhoto(int transform,
                                 java.lang.String queryString)

Does the same thing as getAllPhoto(int) with an additional argument called queryString. This queryString argument allows you to override the query string defined in getAllPhoto(int).


getAllPhoto

java.util.Collection getAllPhoto(int transform,
                                 java.lang.String queryString,
                                 int pageNumber,
                                 int pageSize)

Does the same thing as getAllPhoto(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.


findPhotoById

Photo findPhotoById(java.lang.Integer id)

findPhotoById

Photo findPhotoById(java.lang.String queryString,
                    java.lang.Integer id)

Does the same thing as findPhotoById(java.lang.Integer) with an additional argument called queryString. This queryString argument allows you to override the query string defined in findPhotoById(java.lang.Integer).


findPhotoById

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

Does the same thing as findPhotoById(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.


findPhotoById

java.lang.Object findPhotoById(int transform,
                               java.lang.String queryString,
                               java.lang.Integer id)

Does the same thing as findPhotoById(int, java.lang.Integer) with an additional argument called queryString. This queryString argument allows you to override the query string defined in findPhotoById(int, java.lang.Integer id).


findPhotoByDepartment

java.util.Collection findPhotoByDepartment(Department department)

findPhotoByDepartment

java.util.Collection findPhotoByDepartment(java.lang.String queryString,
                                           Department department)

Does the same thing as findPhotoByDepartment(fr.ifremer.allegro.administration.user.Department) with an additional argument called queryString. This queryString argument allows you to override the query string defined in findPhotoByDepartment(fr.ifremer.allegro.administration.user.Department).


findPhotoByDepartment

java.util.Collection findPhotoByDepartment(int pageNumber,
                                           int pageSize,
                                           Department department)

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


findPhotoByDepartment

java.util.Collection findPhotoByDepartment(java.lang.String queryString,
                                           int pageNumber,
                                           int pageSize,
                                           Department department)

Does the same thing as findPhotoByDepartment(String, fr.ifremer.allegro.administration.user.Department) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.


findPhotoByDepartment

java.util.Collection findPhotoByDepartment(int transform,
                                           Department department)

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


findPhotoByDepartment

java.util.Collection findPhotoByDepartment(int transform,
                                           int pageNumber,
                                           int pageSize,
                                           Department department)

Does the same thing as findPhotoByDepartment(int, fr.ifremer.allegro.administration.user.Department) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.


findPhotoByDepartment

java.util.Collection findPhotoByDepartment(int transform,
                                           java.lang.String queryString,
                                           Department department)

Does the same thing as findPhotoByDepartment(int, fr.ifremer.allegro.administration.user.Department) with an additional argument called queryString. This queryString argument allows you to override the query string defined in findPhotoByDepartment(int, fr.ifremer.allegro.administration.user.Department department).


findPhotoByDepartment

java.util.Collection findPhotoByDepartment(int transform,
                                           java.lang.String queryString,
                                           int pageNumber,
                                           int pageSize,
                                           Department department)

Does the same thing as findPhotoByDepartment(int, String, fr.ifremer.allegro.administration.user.Department) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.


findPhotoByPhotoType

java.util.Collection findPhotoByPhotoType(PhotoType photoType)

findPhotoByPhotoType

java.util.Collection findPhotoByPhotoType(java.lang.String queryString,
                                          PhotoType photoType)

Does the same thing as findPhotoByPhotoType(fr.ifremer.allegro.referential.PhotoType) with an additional argument called queryString. This queryString argument allows you to override the query string defined in findPhotoByPhotoType(fr.ifremer.allegro.referential.PhotoType).


findPhotoByPhotoType

java.util.Collection findPhotoByPhotoType(int pageNumber,
                                          int pageSize,
                                          PhotoType photoType)

Does the same thing as findPhotoByPhotoType(fr.ifremer.allegro.referential.PhotoType) 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.


findPhotoByPhotoType

java.util.Collection findPhotoByPhotoType(java.lang.String queryString,
                                          int pageNumber,
                                          int pageSize,
                                          PhotoType photoType)

Does the same thing as findPhotoByPhotoType(String, fr.ifremer.allegro.referential.PhotoType) 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.


findPhotoByPhotoType

java.util.Collection findPhotoByPhotoType(int transform,
                                          PhotoType photoType)

Does the same thing as findPhotoByPhotoType(fr.ifremer.allegro.referential.PhotoType) 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.


findPhotoByPhotoType

java.util.Collection findPhotoByPhotoType(int transform,
                                          int pageNumber,
                                          int pageSize,
                                          PhotoType photoType)

Does the same thing as findPhotoByPhotoType(int, fr.ifremer.allegro.referential.PhotoType) 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.


findPhotoByPhotoType

java.util.Collection findPhotoByPhotoType(int transform,
                                          java.lang.String queryString,
                                          PhotoType photoType)

Does the same thing as findPhotoByPhotoType(int, fr.ifremer.allegro.referential.PhotoType) with an additional argument called queryString. This queryString argument allows you to override the query string defined in findPhotoByPhotoType(int, fr.ifremer.allegro.referential.PhotoType photoType).


findPhotoByPhotoType

java.util.Collection findPhotoByPhotoType(int transform,
                                          java.lang.String queryString,
                                          int pageNumber,
                                          int pageSize,
                                          PhotoType photoType)

Does the same thing as findPhotoByPhotoType(int, String, fr.ifremer.allegro.referential.PhotoType) 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.


findPhotoByObjectType

java.util.Collection findPhotoByObjectType(ObjectType objectType)

findPhotoByObjectType

java.util.Collection findPhotoByObjectType(java.lang.String queryString,
                                           ObjectType objectType)

Does the same thing as findPhotoByObjectType(fr.ifremer.allegro.referential.ObjectType) with an additional argument called queryString. This queryString argument allows you to override the query string defined in findPhotoByObjectType(fr.ifremer.allegro.referential.ObjectType).


findPhotoByObjectType

java.util.Collection findPhotoByObjectType(int pageNumber,
                                           int pageSize,
                                           ObjectType objectType)

Does the same thing as findPhotoByObjectType(fr.ifremer.allegro.referential.ObjectType) 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.


findPhotoByObjectType

java.util.Collection findPhotoByObjectType(java.lang.String queryString,
                                           int pageNumber,
                                           int pageSize,
                                           ObjectType objectType)

Does the same thing as findPhotoByObjectType(String, fr.ifremer.allegro.referential.ObjectType) 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.


findPhotoByObjectType

java.util.Collection findPhotoByObjectType(int transform,
                                           ObjectType objectType)

Does the same thing as findPhotoByObjectType(fr.ifremer.allegro.referential.ObjectType) 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.


findPhotoByObjectType

java.util.Collection findPhotoByObjectType(int transform,
                                           int pageNumber,
                                           int pageSize,
                                           ObjectType objectType)

Does the same thing as findPhotoByObjectType(int, fr.ifremer.allegro.referential.ObjectType) 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.


findPhotoByObjectType

java.util.Collection findPhotoByObjectType(int transform,
                                           java.lang.String queryString,
                                           ObjectType objectType)

Does the same thing as findPhotoByObjectType(int, fr.ifremer.allegro.referential.ObjectType) with an additional argument called queryString. This queryString argument allows you to override the query string defined in findPhotoByObjectType(int, fr.ifremer.allegro.referential.ObjectType objectType).


findPhotoByObjectType

java.util.Collection findPhotoByObjectType(int transform,
                                           java.lang.String queryString,
                                           int pageNumber,
                                           int pageSize,
                                           ObjectType objectType)

Does the same thing as findPhotoByObjectType(int, String, fr.ifremer.allegro.referential.ObjectType) 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.


findPhotoByQualityFlag

java.util.Collection findPhotoByQualityFlag(QualityFlag qualityFlag)

findPhotoByQualityFlag

java.util.Collection findPhotoByQualityFlag(java.lang.String queryString,
                                            QualityFlag qualityFlag)

Does the same thing as findPhotoByQualityFlag(fr.ifremer.allegro.referential.QualityFlag) with an additional argument called queryString. This queryString argument allows you to override the query string defined in findPhotoByQualityFlag(fr.ifremer.allegro.referential.QualityFlag).


findPhotoByQualityFlag

java.util.Collection findPhotoByQualityFlag(int pageNumber,
                                            int pageSize,
                                            QualityFlag qualityFlag)

Does the same thing as findPhotoByQualityFlag(fr.ifremer.allegro.referential.QualityFlag) 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.


findPhotoByQualityFlag

java.util.Collection findPhotoByQualityFlag(java.lang.String queryString,
                                            int pageNumber,
                                            int pageSize,
                                            QualityFlag qualityFlag)

Does the same thing as findPhotoByQualityFlag(String, fr.ifremer.allegro.referential.QualityFlag) 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.


findPhotoByQualityFlag

java.util.Collection findPhotoByQualityFlag(int transform,
                                            QualityFlag qualityFlag)

Does the same thing as findPhotoByQualityFlag(fr.ifremer.allegro.referential.QualityFlag) 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.


findPhotoByQualityFlag

java.util.Collection findPhotoByQualityFlag(int transform,
                                            int pageNumber,
                                            int pageSize,
                                            QualityFlag qualityFlag)

Does the same thing as findPhotoByQualityFlag(int, fr.ifremer.allegro.referential.QualityFlag) 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.


findPhotoByQualityFlag

java.util.Collection findPhotoByQualityFlag(int transform,
                                            java.lang.String queryString,
                                            QualityFlag qualityFlag)

Does the same thing as findPhotoByQualityFlag(int, fr.ifremer.allegro.referential.QualityFlag) with an additional argument called queryString. This queryString argument allows you to override the query string defined in findPhotoByQualityFlag(int, fr.ifremer.allegro.referential.QualityFlag qualityFlag).


findPhotoByQualityFlag

java.util.Collection findPhotoByQualityFlag(int transform,
                                            java.lang.String queryString,
                                            int pageNumber,
                                            int pageSize,
                                            QualityFlag qualityFlag)

Does the same thing as findPhotoByQualityFlag(int, String, fr.ifremer.allegro.referential.QualityFlag) 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.


findPhotoByNaturalId

Photo findPhotoByNaturalId(java.lang.Integer id)

findPhotoByNaturalId

Photo findPhotoByNaturalId(java.lang.String queryString,
                           java.lang.Integer id)

Does the same thing as findPhotoByNaturalId(java.lang.Integer) with an additional argument called queryString. This queryString argument allows you to override the query string defined in findPhotoByNaturalId(java.lang.Integer).


findPhotoByNaturalId

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

Does the same thing as findPhotoByNaturalId(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.


findPhotoByNaturalId

java.lang.Object findPhotoByNaturalId(int transform,
                                      java.lang.String queryString,
                                      java.lang.Integer id)

Does the same thing as findPhotoByNaturalId(int, java.lang.Integer) with an additional argument called queryString. This queryString argument allows you to override the query string defined in findPhotoByNaturalId(int, java.lang.Integer id).


getAllPhotoSinceDateSynchro

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

getAllPhotoSinceDateSynchro

java.util.Collection getAllPhotoSinceDateSynchro(java.lang.String queryString,
                                                 java.sql.Timestamp updateDate)

Does the same thing as getAllPhotoSinceDateSynchro(java.sql.Timestamp) with an additional argument called queryString. This queryString argument allows you to override the query string defined in getAllPhotoSinceDateSynchro(java.sql.Timestamp).


getAllPhotoSinceDateSynchro

java.util.Collection getAllPhotoSinceDateSynchro(int pageNumber,
                                                 int pageSize,
                                                 java.sql.Timestamp updateDate)

Does the same thing as getAllPhotoSinceDateSynchro(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.


getAllPhotoSinceDateSynchro

java.util.Collection getAllPhotoSinceDateSynchro(java.lang.String queryString,
                                                 int pageNumber,
                                                 int pageSize,
                                                 java.sql.Timestamp updateDate)

Does the same thing as getAllPhotoSinceDateSynchro(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.


getAllPhotoSinceDateSynchro

java.util.Collection getAllPhotoSinceDateSynchro(int transform,
                                                 java.sql.Timestamp updateDate)

Does the same thing as getAllPhotoSinceDateSynchro(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.


getAllPhotoSinceDateSynchro

java.util.Collection getAllPhotoSinceDateSynchro(int transform,
                                                 int pageNumber,
                                                 int pageSize,
                                                 java.sql.Timestamp updateDate)

Does the same thing as getAllPhotoSinceDateSynchro(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.


getAllPhotoSinceDateSynchro

java.util.Collection getAllPhotoSinceDateSynchro(int transform,
                                                 java.lang.String queryString,
                                                 java.sql.Timestamp updateDate)

Does the same thing as getAllPhotoSinceDateSynchro(int, java.sql.Timestamp) with an additional argument called queryString. This queryString argument allows you to override the query string defined in getAllPhotoSinceDateSynchro(int, java.sql.Timestamp updateDate).


getAllPhotoSinceDateSynchro

java.util.Collection getAllPhotoSinceDateSynchro(int transform,
                                                 java.lang.String queryString,
                                                 int pageNumber,
                                                 int pageSize,
                                                 java.sql.Timestamp updateDate)

Does the same thing as getAllPhotoSinceDateSynchro(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.


createFromClusterPhoto

Photo createFromClusterPhoto(ClusterPhoto clusterPhoto)

getAllClusterPhotoSinceDateSynchro

ClusterPhoto[] getAllClusterPhotoSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
                                                  java.lang.Integer userId,
                                                  java.lang.Integer[] registrationLocationIds,
                                                  java.lang.Integer pageNumber,
                                                  java.lang.Integer pageSize)

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.