fr.ifremer.allegro.referential.taxon
Interface AuthorDao

All Known Implementing Classes:
AuthorDaoBase, AuthorDaoImpl

public interface AuthorDao

See Also:
Author

Field Summary
static int TRANSFORM_CLUSTERAUTHOR
          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_REMOTEAUTHORFULLVO
          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_REMOTEAUTHORNATURALID
          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
 Author clusterAuthorToEntity(ClusterAuthor clusterAuthor)
          Converts an instance of type ClusterAuthor to this DAO's entity.
 void clusterAuthorToEntity(ClusterAuthor source, Author target, boolean copyIfNull)
          Copies the fields of ClusterAuthor to the specified entity.
 void clusterAuthorToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type ClusterAuthor to this DAO's entity.
 Author create(Author author)
          Creates an instance of fr.ifremer.allegro.referential.taxon.Author and adds it to the persistent store.
 java.util.Collection create(java.util.Collection entities)
          Creates a new instance of fr.ifremer.allegro.referential.taxon.Author and adds from the passed in entities collection
 Author create(java.util.Date creationDate, Status status)
           Creates a new fr.ifremer.allegro.referential.taxon.Author instance from only required properties (attributes and association ends) and adds it to the persistent store.
 java.lang.Object create(int transform, Author author)
           Does the same thing as create(fr.ifremer.allegro.referential.taxon.Author) with an additional flag called transform.
 java.util.Collection create(int transform, java.util.Collection entities)
           Does the same thing as create(fr.ifremer.allegro.referential.taxon.Author) with an additional flag called transform.
 java.lang.Object create(int transform, java.util.Date creationDate, Status status)
           Does the same thing as create(java.util.Date,fr.ifremer.allegro.referential.Status) with an additional flag called transform.
 java.lang.Object create(int transform, java.lang.String name, java.lang.String location, java.lang.String comments, java.util.Date creationDate, java.sql.Timestamp updateDate, Status status, java.util.Collection referenceDocuments)
           Does the same thing as create(java.lang.String,java.lang.String,java.lang.String,java.util.Date,java.sql.Timestamp,fr.ifremer.allegro.referential.Status,java.util.Collection) with an additional flag called transform.
 Author create(java.lang.String name, java.lang.String location, java.lang.String comments, java.util.Date creationDate, java.sql.Timestamp updateDate, Status status, java.util.Collection referenceDocuments)
           Creates a new fr.ifremer.allegro.referential.taxon.Author instance from all attributes and properties and adds it to the persistent store.
 Author createFromClusterAuthor(ClusterAuthor clusterAuthor)
           
 Author findAuthorById(java.lang.Integer id)
           
 java.lang.Object findAuthorById(int transform, java.lang.Integer id)
           Does the same thing as findAuthorById(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findAuthorById(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as findAuthorById(int, java.lang.Integer) with an additional argument called queryString.
 Author findAuthorById(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as findAuthorById(java.lang.Integer) with an additional argument called queryString.
 Author findAuthorByNaturalId(java.lang.Integer id)
           
 java.lang.Object findAuthorByNaturalId(int transform, java.lang.Integer id)
           Does the same thing as findAuthorByNaturalId(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findAuthorByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as findAuthorByNaturalId(int, java.lang.Integer) with an additional argument called queryString.
 Author findAuthorByNaturalId(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as findAuthorByNaturalId(java.lang.Integer) with an additional argument called queryString.
 java.util.Collection findAuthorByStatus(int transform, int pageNumber, int pageSize, Status status)
           Does the same thing as findAuthorByStatus(int, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findAuthorByStatus(int pageNumber, int pageSize, Status status)
           Does the same thing as findAuthorByStatus(fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findAuthorByStatus(int transform, Status status)
           Does the same thing as findAuthorByStatus(fr.ifremer.allegro.referential.Status) with an additional flag called transform.
 java.util.Collection findAuthorByStatus(int transform, java.lang.String queryString, int pageNumber, int pageSize, Status status)
           Does the same thing as findAuthorByStatus(int, String, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findAuthorByStatus(int transform, java.lang.String queryString, Status status)
           Does the same thing as findAuthorByStatus(int, fr.ifremer.allegro.referential.Status) with an additional argument called queryString.
 java.util.Collection findAuthorByStatus(Status status)
           
 java.util.Collection findAuthorByStatus(java.lang.String queryString, int pageNumber, int pageSize, Status status)
           Does the same thing as findAuthorByStatus(String, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findAuthorByStatus(java.lang.String queryString, Status status)
           Does the same thing as findAuthorByStatus(fr.ifremer.allegro.referential.Status) with an additional argument called queryString.
 java.util.Collection getAllAuthor()
           
 java.util.Collection getAllAuthor(int transform)
           Does the same thing as getAllAuthor() with an additional flag called transform.
 java.util.Collection getAllAuthor(int pageNumber, int pageSize)
           Does the same thing as getAllAuthor() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllAuthor(int transform, int pageNumber, int pageSize)
           Does the same thing as getAllAuthor(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllAuthor(int transform, java.lang.String queryString)
           Does the same thing as getAllAuthor(int) with an additional argument called queryString.
 java.util.Collection getAllAuthor(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as getAllAuthor(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllAuthor(java.lang.String queryString)
           Does the same thing as getAllAuthor() with an additional argument called queryString.
 java.util.Collection getAllAuthor(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as getAllAuthor(String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllAuthorSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as getAllAuthorSinceDateSynchro(int, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllAuthorSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as getAllAuthorSinceDateSynchro(java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllAuthorSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as getAllAuthorSinceDateSynchro(int, String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllAuthorSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as getAllAuthorSinceDateSynchro(int, java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllAuthorSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
           Does the same thing as getAllAuthorSinceDateSynchro(java.sql.Timestamp) with an additional flag called transform.
 java.util.Collection getAllAuthorSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as getAllAuthorSinceDateSynchro(String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllAuthorSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as getAllAuthorSinceDateSynchro(java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllAuthorSinceDateSynchro(java.sql.Timestamp updateDate)
           
 ClusterAuthor[] getAllClusterAuthorSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
 Author load(java.lang.Integer id)
          Loads an instance of fr.ifremer.allegro.referential.taxon.Author 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 Author.
 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.
 Author remoteAuthorFullVOToEntity(RemoteAuthorFullVO remoteAuthorFullVO)
          Converts an instance of type RemoteAuthorFullVO to this DAO's entity.
 void remoteAuthorFullVOToEntity(RemoteAuthorFullVO source, Author target, boolean copyIfNull)
          Copies the fields of RemoteAuthorFullVO to the specified entity.
 void remoteAuthorFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteAuthorFullVO to this DAO's entity.
 Author remoteAuthorNaturalIdToEntity(RemoteAuthorNaturalId remoteAuthorNaturalId)
          Converts an instance of type RemoteAuthorNaturalId to this DAO's entity.
 void remoteAuthorNaturalIdToEntity(RemoteAuthorNaturalId source, Author target, boolean copyIfNull)
          Copies the fields of RemoteAuthorNaturalId to the specified entity.
 void remoteAuthorNaturalIdToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteAuthorNaturalId to this DAO's entity.
 void remove(Author author)
          Removes the instance of fr.ifremer.allegro.referential.taxon.Author from the persistent store.
 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.referential.taxon.Author having the given identifier from the persistent store.
 PaginationResult search(int transform, int pageNumber, int pageSize, Search search)
          Does the same thing as {@link #search(int, fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize.
 PaginationResult search(int pageNumber, int pageSize, Search search)
          Does the same thing as {@link #search(fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize.
 java.util.Set search(int transform, Search search)
          Does the same thing as search(fr.ifremer.allegro.Search) but with an additional flag called transform.
 java.util.Set search(Search search)
          Performs a search using the parameters specified in the given search object.
 ClusterAuthor toClusterAuthor(Author entity)
          Converts this DAO's entity to an object of type ClusterAuthor.
 void toClusterAuthor(Author source, ClusterAuthor target)
          Copies the fields of the specified entity to the target value object.
 ClusterAuthor[] toClusterAuthorArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type ClusterAuthor.
 void toClusterAuthorCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type ClusterAuthor.
 RemoteAuthorFullVO toRemoteAuthorFullVO(Author entity)
          Converts this DAO's entity to an object of type RemoteAuthorFullVO.
 void toRemoteAuthorFullVO(Author source, RemoteAuthorFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteAuthorFullVO[] toRemoteAuthorFullVOArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteAuthorFullVO.
 void toRemoteAuthorFullVOCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteAuthorFullVO.
 RemoteAuthorNaturalId toRemoteAuthorNaturalId(Author entity)
          Converts this DAO's entity to an object of type RemoteAuthorNaturalId.
 void toRemoteAuthorNaturalId(Author source, RemoteAuthorNaturalId target)
          Copies the fields of the specified entity to the target value object.
 RemoteAuthorNaturalId[] toRemoteAuthorNaturalIdArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteAuthorNaturalId.
 void toRemoteAuthorNaturalIdCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteAuthorNaturalId.
 void update(Author author)
          Updates the author instance in the persistent store.
 void update(java.util.Collection entities)
          Updates all instances in the entities collection 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_REMOTEAUTHORFULLVO

static final int TRANSFORM_REMOTEAUTHORFULLVO
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 RemoteAuthorFullVO.

See Also:
Constant Field Values

TRANSFORM_REMOTEAUTHORNATURALID

static final int TRANSFORM_REMOTEAUTHORNATURALID
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 RemoteAuthorNaturalId.

See Also:
Constant Field Values

TRANSFORM_CLUSTERAUTHOR

static final int TRANSFORM_CLUSTERAUTHOR
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 ClusterAuthor.

See Also:
Constant Field Values
Method Detail

toRemoteAuthorFullVO

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


toRemoteAuthorFullVO

RemoteAuthorFullVO toRemoteAuthorFullVO(Author entity)
Converts this DAO's entity to an object of type RemoteAuthorFullVO.


toRemoteAuthorFullVOCollection

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


toRemoteAuthorFullVOArray

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


remoteAuthorFullVOToEntity

void remoteAuthorFullVOToEntity(RemoteAuthorFullVO source,
                                Author target,
                                boolean copyIfNull)
Copies the fields of RemoteAuthorFullVO 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.

remoteAuthorFullVOToEntity

Author remoteAuthorFullVOToEntity(RemoteAuthorFullVO remoteAuthorFullVO)
Converts an instance of type RemoteAuthorFullVO to this DAO's entity.


remoteAuthorFullVOToEntityCollection

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


toRemoteAuthorNaturalId

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


toRemoteAuthorNaturalId

RemoteAuthorNaturalId toRemoteAuthorNaturalId(Author entity)
Converts this DAO's entity to an object of type RemoteAuthorNaturalId.


toRemoteAuthorNaturalIdCollection

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


toRemoteAuthorNaturalIdArray

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


remoteAuthorNaturalIdToEntity

void remoteAuthorNaturalIdToEntity(RemoteAuthorNaturalId source,
                                   Author target,
                                   boolean copyIfNull)
Copies the fields of RemoteAuthorNaturalId 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.

remoteAuthorNaturalIdToEntity

Author remoteAuthorNaturalIdToEntity(RemoteAuthorNaturalId remoteAuthorNaturalId)
Converts an instance of type RemoteAuthorNaturalId to this DAO's entity.


remoteAuthorNaturalIdToEntityCollection

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


toClusterAuthor

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


toClusterAuthor

ClusterAuthor toClusterAuthor(Author entity)
Converts this DAO's entity to an object of type ClusterAuthor.


toClusterAuthorCollection

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


toClusterAuthorArray

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


clusterAuthorToEntity

void clusterAuthorToEntity(ClusterAuthor source,
                           Author target,
                           boolean copyIfNull)
Copies the fields of ClusterAuthor 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.

clusterAuthorToEntity

Author clusterAuthorToEntity(ClusterAuthor clusterAuthor)
Converts an instance of type ClusterAuthor to this DAO's entity.


clusterAuthorToEntityCollection

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


load

Author load(java.lang.Integer id)
Loads an instance of fr.ifremer.allegro.referential.taxon.Author 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 Author.

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

Author create(Author author)
Creates an instance of fr.ifremer.allegro.referential.taxon.Author and adds it to the persistent store.


create

java.lang.Object create(int transform,
                        Author author)

Does the same thing as create(fr.ifremer.allegro.referential.taxon.Author) 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.referential.taxon.Author and adds from the passed in entities collection

Parameters:
entities - the collection of fr.ifremer.allegro.referential.taxon.Author 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.referential.taxon.Author) 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

Author create(java.lang.String name,
              java.lang.String location,
              java.lang.String comments,
              java.util.Date creationDate,
              java.sql.Timestamp updateDate,
              Status status,
              java.util.Collection referenceDocuments)

Creates a new fr.ifremer.allegro.referential.taxon.Author instance from all attributes and properties and adds it to the persistent store.


create

java.lang.Object create(int transform,
                        java.lang.String name,
                        java.lang.String location,
                        java.lang.String comments,
                        java.util.Date creationDate,
                        java.sql.Timestamp updateDate,
                        Status status,
                        java.util.Collection referenceDocuments)

Does the same thing as create(java.lang.String,java.lang.String,java.lang.String,java.util.Date,java.sql.Timestamp,fr.ifremer.allegro.referential.Status,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

Author create(java.util.Date creationDate,
              Status status)

Creates a new fr.ifremer.allegro.referential.taxon.Author instance from only required properties (attributes and association ends) and adds it to the persistent store.


create

java.lang.Object create(int transform,
                        java.util.Date creationDate,
                        Status status)

Does the same thing as create(java.util.Date,fr.ifremer.allegro.referential.Status) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then the returned entity will NOTWILL BE passed through an operation which can optionally transform the entity (into a value object for example). By default, transformation does not occur.


update

void update(Author author)
Updates the author 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(Author author)
Removes the instance of fr.ifremer.allegro.referential.taxon.Author from the persistent store.


remove

void remove(java.lang.Integer id)
Removes the instance of fr.ifremer.allegro.referential.taxon.Author having the given identifier from the persistent store.


remove

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


getAllAuthor

java.util.Collection getAllAuthor()

getAllAuthor

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

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


getAllAuthor

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

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


getAllAuthor

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

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


getAllAuthor

java.util.Collection getAllAuthor(int transform)

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


getAllAuthor

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

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


getAllAuthor

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

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


getAllAuthor

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

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


findAuthorById

Author findAuthorById(java.lang.Integer id)

findAuthorById

Author findAuthorById(java.lang.String queryString,
                      java.lang.Integer id)

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


findAuthorById

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

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


findAuthorById

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

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


findAuthorByStatus

java.util.Collection findAuthorByStatus(Status status)

findAuthorByStatus

java.util.Collection findAuthorByStatus(java.lang.String queryString,
                                        Status status)

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


findAuthorByStatus

java.util.Collection findAuthorByStatus(int pageNumber,
                                        int pageSize,
                                        Status status)

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


findAuthorByStatus

java.util.Collection findAuthorByStatus(java.lang.String queryString,
                                        int pageNumber,
                                        int pageSize,
                                        Status status)

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


findAuthorByStatus

java.util.Collection findAuthorByStatus(int transform,
                                        Status status)

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


findAuthorByStatus

java.util.Collection findAuthorByStatus(int transform,
                                        int pageNumber,
                                        int pageSize,
                                        Status status)

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


findAuthorByStatus

java.util.Collection findAuthorByStatus(int transform,
                                        java.lang.String queryString,
                                        Status status)

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


findAuthorByStatus

java.util.Collection findAuthorByStatus(int transform,
                                        java.lang.String queryString,
                                        int pageNumber,
                                        int pageSize,
                                        Status status)

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


findAuthorByNaturalId

Author findAuthorByNaturalId(java.lang.Integer id)

findAuthorByNaturalId

Author findAuthorByNaturalId(java.lang.String queryString,
                             java.lang.Integer id)

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


findAuthorByNaturalId

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

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


findAuthorByNaturalId

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

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


getAllAuthorSinceDateSynchro

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

getAllAuthorSinceDateSynchro

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

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


getAllAuthorSinceDateSynchro

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

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


getAllAuthorSinceDateSynchro

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

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


getAllAuthorSinceDateSynchro

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

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


getAllAuthorSinceDateSynchro

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

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


getAllAuthorSinceDateSynchro

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

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


getAllAuthorSinceDateSynchro

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

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


createFromClusterAuthor

Author createFromClusterAuthor(ClusterAuthor clusterAuthor)

getAllClusterAuthorSinceDateSynchro

ClusterAuthor[] getAllClusterAuthorSinceDateSynchro(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.