fr.ifremer.allegro.referential
Class DistanceToCoastGradientDaoBase

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.referential.DistanceToCoastGradientDaoBase
All Implemented Interfaces:
DistanceToCoastGradientDao
Direct Known Subclasses:
DistanceToCoastGradientDaoImpl

public abstract class DistanceToCoastGradientDaoBase
extends org.springframework.orm.hibernate3.support.HibernateDaoSupport
implements DistanceToCoastGradientDao

Base Spring DAO Class: is able to create, update, remove, load, and find objects of type fr.ifremer.allegro.referential.DistanceToCoastGradient.

See Also:
DistanceToCoastGradient

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.DistanceToCoastGradientDao
TRANSFORM_CLUSTERDISTANCETOCOASTGRADIENT, TRANSFORM_NONE, TRANSFORM_REMOTEDISTANCETOCOASTGRADIENTFULLVO, TRANSFORM_REMOTEDISTANCETOCOASTGRADIENTNATURALID
 
Constructor Summary
DistanceToCoastGradientDaoBase()
           
 
Method Summary
 void clusterDistanceToCoastGradientToEntity(ClusterDistanceToCoastGradient source, DistanceToCoastGradient target, boolean copyIfNull)
          Copies the fields of ClusterDistanceToCoastGradient to the specified entity.
 void clusterDistanceToCoastGradientToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type ClusterDistanceToCoastGradient to this DAO's entity.
 java.util.Collection create(java.util.Collection entities)
          Creates a new instance of fr.ifremer.allegro.referential.DistanceToCoastGradient and adds from the passed in entities collection
 DistanceToCoastGradient create(DistanceToCoastGradient distanceToCoastGradient)
          Creates an instance of fr.ifremer.allegro.referential.DistanceToCoastGradient and adds it to the persistent store.
 java.util.Collection create(int transform, java.util.Collection entities)
           Does the same thing as DistanceToCoastGradientDao.create(fr.ifremer.allegro.referential.DistanceToCoastGradient) with an additional flag called transform.
 java.lang.Object create(int transform, DistanceToCoastGradient distanceToCoastGradient)
           Does the same thing as DistanceToCoastGradientDao.create(fr.ifremer.allegro.referential.DistanceToCoastGradient) with an additional flag called transform.
 java.lang.Object create(int transform, java.lang.String description, java.lang.String name, java.lang.Short rankOrder, Status status)
           Does the same thing as DistanceToCoastGradientDao.create(java.lang.String,java.lang.String,java.lang.Short,fr.ifremer.allegro.referential.Status) with an additional flag called transform.
 java.lang.Object create(int transform, java.lang.String name, java.lang.String description, java.lang.Short rankOrder, java.sql.Timestamp updateDate, Status status)
           Does the same thing as DistanceToCoastGradientDao.create(java.lang.String,java.lang.String,java.lang.Short,java.sql.Timestamp,fr.ifremer.allegro.referential.Status) with an additional flag called transform.
 DistanceToCoastGradient create(java.lang.String description, java.lang.String name, java.lang.Short rankOrder, Status status)
           Creates a new fr.ifremer.allegro.referential.DistanceToCoastGradient instance from only required properties (attributes and association ends) and adds it to the persistent store.
 DistanceToCoastGradient create(java.lang.String name, java.lang.String description, java.lang.Short rankOrder, java.sql.Timestamp updateDate, Status status)
           Creates a new fr.ifremer.allegro.referential.DistanceToCoastGradient instance from all attributes and properties and adds it to the persistent store.
 DistanceToCoastGradient createFromClusterDistanceToCoastGradient(ClusterDistanceToCoastGradient clusterDistanceToCoastGradient)
           
 DistanceToCoastGradient findDistanceToCoastGradientById(java.lang.Integer id)
           
 java.lang.Object findDistanceToCoastGradientById(int transform, java.lang.Integer id)
           Does the same thing as DistanceToCoastGradientDao.findDistanceToCoastGradientById(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findDistanceToCoastGradientById(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as DistanceToCoastGradientDao.findDistanceToCoastGradientById(int, java.lang.Integer) with an additional argument called queryString.
 DistanceToCoastGradient findDistanceToCoastGradientById(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as DistanceToCoastGradientDao.findDistanceToCoastGradientById(java.lang.Integer) with an additional argument called queryString.
 DistanceToCoastGradient findDistanceToCoastGradientByNaturalId(java.lang.Integer id)
           
 java.lang.Object findDistanceToCoastGradientByNaturalId(int transform, java.lang.Integer id)
           Does the same thing as DistanceToCoastGradientDao.findDistanceToCoastGradientByNaturalId(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findDistanceToCoastGradientByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as DistanceToCoastGradientDao.findDistanceToCoastGradientByNaturalId(int, java.lang.Integer) with an additional argument called queryString.
 DistanceToCoastGradient findDistanceToCoastGradientByNaturalId(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as DistanceToCoastGradientDao.findDistanceToCoastGradientByNaturalId(java.lang.Integer) with an additional argument called queryString.
 java.util.Collection findDistanceToCoastGradientByStatus(int transform, int pageNumber, int pageSize, Status status)
           Does the same thing as DistanceToCoastGradientDao.findDistanceToCoastGradientByStatus(int, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findDistanceToCoastGradientByStatus(int pageNumber, int pageSize, Status status)
           Does the same thing as DistanceToCoastGradientDao.findDistanceToCoastGradientByStatus(fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findDistanceToCoastGradientByStatus(int transform, Status status)
           Does the same thing as DistanceToCoastGradientDao.findDistanceToCoastGradientByStatus(fr.ifremer.allegro.referential.Status) with an additional flag called transform.
 java.util.Collection findDistanceToCoastGradientByStatus(int transform, java.lang.String queryString, int pageNumber, int pageSize, Status status)
           Does the same thing as DistanceToCoastGradientDao.findDistanceToCoastGradientByStatus(int, String, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findDistanceToCoastGradientByStatus(int transform, java.lang.String queryString, Status status)
           Does the same thing as DistanceToCoastGradientDao.findDistanceToCoastGradientByStatus(int, fr.ifremer.allegro.referential.Status) with an additional argument called queryString.
 java.util.Collection findDistanceToCoastGradientByStatus(Status status)
           
 java.util.Collection findDistanceToCoastGradientByStatus(java.lang.String queryString, int pageNumber, int pageSize, Status status)
           Does the same thing as DistanceToCoastGradientDao.findDistanceToCoastGradientByStatus(String, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findDistanceToCoastGradientByStatus(java.lang.String queryString, Status status)
           Does the same thing as DistanceToCoastGradientDao.findDistanceToCoastGradientByStatus(fr.ifremer.allegro.referential.Status) with an additional argument called queryString.
 ClusterDistanceToCoastGradient[] getAllClusterDistanceToCoastGradientSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
 java.util.Collection getAllDistanceToCoastGradient()
           
 java.util.Collection getAllDistanceToCoastGradient(int transform)
           Does the same thing as DistanceToCoastGradientDao.getAllDistanceToCoastGradient() with an additional flag called transform.
 java.util.Collection getAllDistanceToCoastGradient(int pageNumber, int pageSize)
           Does the same thing as DistanceToCoastGradientDao.getAllDistanceToCoastGradient() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllDistanceToCoastGradient(int transform, int pageNumber, int pageSize)
           Does the same thing as DistanceToCoastGradientDao.getAllDistanceToCoastGradient(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllDistanceToCoastGradient(int transform, java.lang.String queryString)
           Does the same thing as DistanceToCoastGradientDao.getAllDistanceToCoastGradient(int) with an additional argument called queryString.
 java.util.Collection getAllDistanceToCoastGradient(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as DistanceToCoastGradientDao.getAllDistanceToCoastGradient(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllDistanceToCoastGradient(java.lang.String queryString)
           Does the same thing as DistanceToCoastGradientDao.getAllDistanceToCoastGradient() with an additional argument called queryString.
 java.util.Collection getAllDistanceToCoastGradient(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as DistanceToCoastGradientDao.getAllDistanceToCoastGradient(String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllDistanceToCoastGradientSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as DistanceToCoastGradientDao.getAllDistanceToCoastGradientSinceDateSynchro(int, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllDistanceToCoastGradientSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as DistanceToCoastGradientDao.getAllDistanceToCoastGradientSinceDateSynchro(java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllDistanceToCoastGradientSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as DistanceToCoastGradientDao.getAllDistanceToCoastGradientSinceDateSynchro(int, String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllDistanceToCoastGradientSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as DistanceToCoastGradientDao.getAllDistanceToCoastGradientSinceDateSynchro(int, java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllDistanceToCoastGradientSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
           Does the same thing as DistanceToCoastGradientDao.getAllDistanceToCoastGradientSinceDateSynchro(java.sql.Timestamp) with an additional flag called transform.
 java.util.Collection getAllDistanceToCoastGradientSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as DistanceToCoastGradientDao.getAllDistanceToCoastGradientSinceDateSynchro(String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllDistanceToCoastGradientSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as DistanceToCoastGradientDao.getAllDistanceToCoastGradientSinceDateSynchro(java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllDistanceToCoastGradientSinceDateSynchro(java.sql.Timestamp updateDate)
           
protected  java.security.Principal getPrincipal()
          Gets the current principal if one has been set, otherwise returns null.
protected  StatusDao getStatusDao()
          Gets the reference to statusDao.
protected abstract  DistanceToCoastGradient handleCreateFromClusterDistanceToCoastGradient(ClusterDistanceToCoastGradient clusterDistanceToCoastGradient)
          Performs the core logic for createFromClusterDistanceToCoastGradient(fr.ifremer.allegro.referential.generic.cluster.ClusterDistanceToCoastGradient)
protected abstract  ClusterDistanceToCoastGradient[] handleGetAllClusterDistanceToCoastGradientSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
          Performs the core logic for getAllClusterDistanceToCoastGradientSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 DistanceToCoastGradient load(java.lang.Integer id)
          Loads an instance of fr.ifremer.allegro.referential.DistanceToCoastGradient from the persistent store.
 java.lang.Object load(int transform, java.lang.Integer id)
           Does the same thing as DistanceToCoastGradientDao.load(java.lang.Integer) with an additional flag called transform.
 java.util.Collection loadAll()
          Loads all entities of type DistanceToCoastGradient.
 java.util.Collection loadAll(int transform)
           Does the same thing as DistanceToCoastGradientDao.loadAll() with an additional flag called transform.
 java.util.Collection loadAll(int pageNumber, int pageSize)
           Does the same thing as DistanceToCoastGradientDao.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 DistanceToCoastGradientDao.loadAll(int) with an additional two arguments called pageNumber and pageSize.
 void remoteDistanceToCoastGradientFullVOToEntity(RemoteDistanceToCoastGradientFullVO source, DistanceToCoastGradient target, boolean copyIfNull)
          Copies the fields of RemoteDistanceToCoastGradientFullVO to the specified entity.
 void remoteDistanceToCoastGradientFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteDistanceToCoastGradientFullVO to this DAO's entity.
 void remoteDistanceToCoastGradientNaturalIdToEntity(RemoteDistanceToCoastGradientNaturalId source, DistanceToCoastGradient target, boolean copyIfNull)
          Copies the fields of RemoteDistanceToCoastGradientNaturalId to the specified entity.
 void remoteDistanceToCoastGradientNaturalIdToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteDistanceToCoastGradientNaturalId to this DAO's entity.
 void remove(java.util.Collection entities)
          Removes all entities in the given entities collection.
 void remove(DistanceToCoastGradient distanceToCoastGradient)
          Removes the instance of fr.ifremer.allegro.referential.DistanceToCoastGradient from the persistent store.
 void remove(java.lang.Integer id)
          Removes the instance of fr.ifremer.allegro.referential.DistanceToCoastGradient 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 DistanceToCoastGradientDao.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.
 void setStatusDao(StatusDao statusDao)
          Sets the reference to statusDao.
 ClusterDistanceToCoastGradient toClusterDistanceToCoastGradient(DistanceToCoastGradient entity)
          Converts this DAO's entity to an object of type ClusterDistanceToCoastGradient.
 void toClusterDistanceToCoastGradient(DistanceToCoastGradient source, ClusterDistanceToCoastGradient target)
          Copies the fields of the specified entity to the target value object.
protected  ClusterDistanceToCoastGradient toClusterDistanceToCoastGradient(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 ClusterDistanceToCoastGradient[] toClusterDistanceToCoastGradientArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type ClusterDistanceToCoastGradient.
 void toClusterDistanceToCoastGradientCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type ClusterDistanceToCoastGradient.
protected  DistanceToCoastGradient toEntity(java.lang.Object[] row)
           
 RemoteDistanceToCoastGradientFullVO toRemoteDistanceToCoastGradientFullVO(DistanceToCoastGradient entity)
          Converts this DAO's entity to an object of type RemoteDistanceToCoastGradientFullVO.
 void toRemoteDistanceToCoastGradientFullVO(DistanceToCoastGradient source, RemoteDistanceToCoastGradientFullVO target)
          Copies the fields of the specified entity to the target value object.
protected  RemoteDistanceToCoastGradientFullVO toRemoteDistanceToCoastGradientFullVO(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteDistanceToCoastGradientFullVO[] toRemoteDistanceToCoastGradientFullVOArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteDistanceToCoastGradientFullVO.
 void toRemoteDistanceToCoastGradientFullVOCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteDistanceToCoastGradientFullVO.
 RemoteDistanceToCoastGradientNaturalId toRemoteDistanceToCoastGradientNaturalId(DistanceToCoastGradient entity)
          Converts this DAO's entity to an object of type RemoteDistanceToCoastGradientNaturalId.
 void toRemoteDistanceToCoastGradientNaturalId(DistanceToCoastGradient source, RemoteDistanceToCoastGradientNaturalId target)
          Copies the fields of the specified entity to the target value object.
protected  RemoteDistanceToCoastGradientNaturalId toRemoteDistanceToCoastGradientNaturalId(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteDistanceToCoastGradientNaturalId[] toRemoteDistanceToCoastGradientNaturalIdArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteDistanceToCoastGradientNaturalId.
 void toRemoteDistanceToCoastGradientNaturalIdCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteDistanceToCoastGradientNaturalId.
protected  void transformEntities(int transform, java.util.Collection entities)
          Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.DistanceToCoastGradient) method.
protected  java.lang.Object transformEntity(int transform, DistanceToCoastGradient entity)
          Allows transformation of entities into value objects (or something else for that matter), when the transform flag is set to one of the constants defined in fr.ifremer.allegro.referential.DistanceToCoastGradientDao, please note that the DistanceToCoastGradientDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself will be returned.
 void update(java.util.Collection entities)
          Updates all instances in the entities collection in the persistent store.
 void update(DistanceToCoastGradient distanceToCoastGradient)
          Updates the distanceToCoastGradient instance in the persistent store.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface fr.ifremer.allegro.referential.DistanceToCoastGradientDao
clusterDistanceToCoastGradientToEntity, remoteDistanceToCoastGradientFullVOToEntity, remoteDistanceToCoastGradientNaturalIdToEntity
 

Constructor Detail

DistanceToCoastGradientDaoBase

public DistanceToCoastGradientDaoBase()
Method Detail

setStatusDao

public void setStatusDao(StatusDao statusDao)
Sets the reference to statusDao.


getStatusDao

protected StatusDao getStatusDao()
Gets the reference to statusDao.


load

public java.lang.Object load(int transform,
                             java.lang.Integer id)
Description copied from interface: DistanceToCoastGradientDao

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

Specified by:
load in interface DistanceToCoastGradientDao
id - identifier of the entity to load
Returns:
either the entity or the object transformed from the entity.
See Also:
DistanceToCoastGradientDao.load(int, java.lang.Integer)

load

public DistanceToCoastGradient load(java.lang.Integer id)
Description copied from interface: DistanceToCoastGradientDao
Loads an instance of fr.ifremer.allegro.referential.DistanceToCoastGradient from the persistent store.

Specified by:
load in interface DistanceToCoastGradientDao
See Also:
DistanceToCoastGradientDao.load(java.lang.Integer)

loadAll

public java.util.Collection loadAll()
Description copied from interface: DistanceToCoastGradientDao
Loads all entities of type DistanceToCoastGradient.

Specified by:
loadAll in interface DistanceToCoastGradientDao
Returns:
the loaded entities.
See Also:
DistanceToCoastGradientDao.loadAll()

loadAll

public java.util.Collection loadAll(int transform)
Description copied from interface: DistanceToCoastGradientDao

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

Specified by:
loadAll in interface DistanceToCoastGradientDao
Parameters:
transform - the flag indicating what transformation to use.
Returns:
the loaded entities.
See Also:
DistanceToCoastGradientDao.loadAll(int)

loadAll

public java.util.Collection loadAll(int pageNumber,
                                    int pageSize)
Description copied from interface: DistanceToCoastGradientDao

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

Specified by:
loadAll in interface DistanceToCoastGradientDao
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.
See Also:
DistanceToCoastGradientDao.loadAll(int, int)

loadAll

public java.util.Collection loadAll(int transform,
                                    int pageNumber,
                                    int pageSize)
Description copied from interface: DistanceToCoastGradientDao

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

Specified by:
loadAll in interface DistanceToCoastGradientDao
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.
See Also:
DistanceToCoastGradientDao.loadAll(int, int, int)

create

public DistanceToCoastGradient create(DistanceToCoastGradient distanceToCoastGradient)
Description copied from interface: DistanceToCoastGradientDao
Creates an instance of fr.ifremer.allegro.referential.DistanceToCoastGradient and adds it to the persistent store.

Specified by:
create in interface DistanceToCoastGradientDao
See Also:
DistanceToCoastGradientDao.create(fr.ifremer.allegro.referential.DistanceToCoastGradient)

create

public java.lang.Object create(int transform,
                               DistanceToCoastGradient distanceToCoastGradient)
Description copied from interface: DistanceToCoastGradientDao

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

Specified by:
create in interface DistanceToCoastGradientDao
See Also:
DistanceToCoastGradientDao.create(int transform, fr.ifremer.allegro.referential.DistanceToCoastGradient)

create

public java.util.Collection create(java.util.Collection entities)
Description copied from interface: DistanceToCoastGradientDao
Creates a new instance of fr.ifremer.allegro.referential.DistanceToCoastGradient and adds from the passed in entities collection

Specified by:
create in interface DistanceToCoastGradientDao
Parameters:
entities - the collection of fr.ifremer.allegro.referential.DistanceToCoastGradient instances to create.
Returns:
the created instances.
See Also:
DistanceToCoastGradientDao.create(java.util.Collection)

create

public java.util.Collection create(int transform,
                                   java.util.Collection entities)
Description copied from interface: DistanceToCoastGradientDao

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

Specified by:
create in interface DistanceToCoastGradientDao
See Also:
DistanceToCoastGradientDao.create(int, java.util.Collection)

create

public DistanceToCoastGradient create(java.lang.String name,
                                      java.lang.String description,
                                      java.lang.Short rankOrder,
                                      java.sql.Timestamp updateDate,
                                      Status status)
Description copied from interface: DistanceToCoastGradientDao

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

Specified by:
create in interface DistanceToCoastGradientDao
See Also:
DistanceToCoastGradientDao.create(java.lang.String,java.lang.String,java.lang.Short,java.sql.Timestamp,fr.ifremer.allegro.referential.Status)

create

public java.lang.Object create(int transform,
                               java.lang.String name,
                               java.lang.String description,
                               java.lang.Short rankOrder,
                               java.sql.Timestamp updateDate,
                               Status status)
Description copied from interface: DistanceToCoastGradientDao

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

Specified by:
create in interface DistanceToCoastGradientDao
See Also:
DistanceToCoastGradientDao.create(int, java.lang.String,java.lang.String,java.lang.Short,java.sql.Timestamp,fr.ifremer.allegro.referential.Status)

create

public DistanceToCoastGradient create(java.lang.String description,
                                      java.lang.String name,
                                      java.lang.Short rankOrder,
                                      Status status)
Description copied from interface: DistanceToCoastGradientDao

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

Specified by:
create in interface DistanceToCoastGradientDao
See Also:
DistanceToCoastGradientDao.create(java.lang.String,java.lang.String,java.lang.Short,fr.ifremer.allegro.referential.Status)

create

public java.lang.Object create(int transform,
                               java.lang.String description,
                               java.lang.String name,
                               java.lang.Short rankOrder,
                               Status status)
Description copied from interface: DistanceToCoastGradientDao

Does the same thing as DistanceToCoastGradientDao.create(java.lang.String,java.lang.String,java.lang.Short,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.

Specified by:
create in interface DistanceToCoastGradientDao
See Also:
DistanceToCoastGradientDao.create(int, java.lang.String,java.lang.String,java.lang.Short,fr.ifremer.allegro.referential.Status)

update

public void update(DistanceToCoastGradient distanceToCoastGradient)
Description copied from interface: DistanceToCoastGradientDao
Updates the distanceToCoastGradient instance in the persistent store.

Specified by:
update in interface DistanceToCoastGradientDao
See Also:
DistanceToCoastGradientDao.update(fr.ifremer.allegro.referential.DistanceToCoastGradient)

update

public void update(java.util.Collection entities)
Description copied from interface: DistanceToCoastGradientDao
Updates all instances in the entities collection in the persistent store.

Specified by:
update in interface DistanceToCoastGradientDao
See Also:
DistanceToCoastGradientDao.update(java.util.Collection)

remove

public void remove(DistanceToCoastGradient distanceToCoastGradient)
Description copied from interface: DistanceToCoastGradientDao
Removes the instance of fr.ifremer.allegro.referential.DistanceToCoastGradient from the persistent store.

Specified by:
remove in interface DistanceToCoastGradientDao
See Also:
DistanceToCoastGradientDao.remove(fr.ifremer.allegro.referential.DistanceToCoastGradient)

remove

public void remove(java.lang.Integer id)
Description copied from interface: DistanceToCoastGradientDao
Removes the instance of fr.ifremer.allegro.referential.DistanceToCoastGradient having the given identifier from the persistent store.

Specified by:
remove in interface DistanceToCoastGradientDao
See Also:
DistanceToCoastGradientDao.remove(java.lang.Integer)

remove

public void remove(java.util.Collection entities)
Description copied from interface: DistanceToCoastGradientDao
Removes all entities in the given entities collection.

Specified by:
remove in interface DistanceToCoastGradientDao
See Also:
DistanceToCoastGradientDao.remove(java.util.Collection)

getAllDistanceToCoastGradient

public java.util.Collection getAllDistanceToCoastGradient()
Specified by:
getAllDistanceToCoastGradient in interface DistanceToCoastGradientDao
See Also:
DistanceToCoastGradientDao.getAllDistanceToCoastGradient()

getAllDistanceToCoastGradient

public java.util.Collection getAllDistanceToCoastGradient(int transform)
Description copied from interface: DistanceToCoastGradientDao

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

Specified by:
getAllDistanceToCoastGradient in interface DistanceToCoastGradientDao
See Also:
DistanceToCoastGradientDao.getAllDistanceToCoastGradient(int)

getAllDistanceToCoastGradient

public java.util.Collection getAllDistanceToCoastGradient(java.lang.String queryString)
Description copied from interface: DistanceToCoastGradientDao

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

Specified by:
getAllDistanceToCoastGradient in interface DistanceToCoastGradientDao
See Also:
DistanceToCoastGradientDao.getAllDistanceToCoastGradient(java.lang.String)

getAllDistanceToCoastGradient

public java.util.Collection getAllDistanceToCoastGradient(int pageNumber,
                                                          int pageSize)
Description copied from interface: DistanceToCoastGradientDao

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

Specified by:
getAllDistanceToCoastGradient in interface DistanceToCoastGradientDao
See Also:
DistanceToCoastGradientDao.getAllDistanceToCoastGradient(int, int)

getAllDistanceToCoastGradient

public java.util.Collection getAllDistanceToCoastGradient(java.lang.String queryString,
                                                          int pageNumber,
                                                          int pageSize)
Description copied from interface: DistanceToCoastGradientDao

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

Specified by:
getAllDistanceToCoastGradient in interface DistanceToCoastGradientDao
See Also:
DistanceToCoastGradientDao.getAllDistanceToCoastGradient(String, int, int)

getAllDistanceToCoastGradient

public java.util.Collection getAllDistanceToCoastGradient(int transform,
                                                          java.lang.String queryString)
Description copied from interface: DistanceToCoastGradientDao

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

Specified by:
getAllDistanceToCoastGradient in interface DistanceToCoastGradientDao
See Also:
DistanceToCoastGradientDao.getAllDistanceToCoastGradient(int, String)

getAllDistanceToCoastGradient

public java.util.Collection getAllDistanceToCoastGradient(int transform,
                                                          int pageNumber,
                                                          int pageSize)
Description copied from interface: DistanceToCoastGradientDao

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

Specified by:
getAllDistanceToCoastGradient in interface DistanceToCoastGradientDao
See Also:
DistanceToCoastGradientDao.getAllDistanceToCoastGradient(int, int, int)

getAllDistanceToCoastGradient

public java.util.Collection getAllDistanceToCoastGradient(int transform,
                                                          java.lang.String queryString,
                                                          int pageNumber,
                                                          int pageSize)
Description copied from interface: DistanceToCoastGradientDao

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

Specified by:
getAllDistanceToCoastGradient in interface DistanceToCoastGradientDao
See Also:
DistanceToCoastGradientDao.getAllDistanceToCoastGradient(int, java.lang.String, int, int)

findDistanceToCoastGradientById

public DistanceToCoastGradient findDistanceToCoastGradientById(java.lang.Integer id)
Specified by:
findDistanceToCoastGradientById in interface DistanceToCoastGradientDao
See Also:
DistanceToCoastGradientDao.findDistanceToCoastGradientById(java.lang.Integer)

findDistanceToCoastGradientById

public java.lang.Object findDistanceToCoastGradientById(int transform,
                                                        java.lang.Integer id)
Description copied from interface: DistanceToCoastGradientDao

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

Specified by:
findDistanceToCoastGradientById in interface DistanceToCoastGradientDao
See Also:
DistanceToCoastGradientDao.findDistanceToCoastGradientById(int, java.lang.Integer)

findDistanceToCoastGradientById

public DistanceToCoastGradient findDistanceToCoastGradientById(java.lang.String queryString,
                                                               java.lang.Integer id)
Description copied from interface: DistanceToCoastGradientDao

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

Specified by:
findDistanceToCoastGradientById in interface DistanceToCoastGradientDao
See Also:
DistanceToCoastGradientDao.findDistanceToCoastGradientById(java.lang.String, java.lang.Integer)

findDistanceToCoastGradientById

public java.lang.Object findDistanceToCoastGradientById(int transform,
                                                        java.lang.String queryString,
                                                        java.lang.Integer id)
Description copied from interface: DistanceToCoastGradientDao

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

Specified by:
findDistanceToCoastGradientById in interface DistanceToCoastGradientDao
See Also:
DistanceToCoastGradientDao.findDistanceToCoastGradientById(int, java.lang.String, java.lang.Integer)

findDistanceToCoastGradientByStatus

public java.util.Collection findDistanceToCoastGradientByStatus(Status status)
Specified by:
findDistanceToCoastGradientByStatus in interface DistanceToCoastGradientDao
See Also:
DistanceToCoastGradientDao.findDistanceToCoastGradientByStatus(fr.ifremer.allegro.referential.Status)

findDistanceToCoastGradientByStatus

public java.util.Collection findDistanceToCoastGradientByStatus(int transform,
                                                                Status status)
Description copied from interface: DistanceToCoastGradientDao

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

Specified by:
findDistanceToCoastGradientByStatus in interface DistanceToCoastGradientDao
See Also:
DistanceToCoastGradientDao.findDistanceToCoastGradientByStatus(int, fr.ifremer.allegro.referential.Status)

findDistanceToCoastGradientByStatus

public java.util.Collection findDistanceToCoastGradientByStatus(java.lang.String queryString,
                                                                Status status)
Description copied from interface: DistanceToCoastGradientDao

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

Specified by:
findDistanceToCoastGradientByStatus in interface DistanceToCoastGradientDao
See Also:
DistanceToCoastGradientDao.findDistanceToCoastGradientByStatus(java.lang.String, fr.ifremer.allegro.referential.Status)

findDistanceToCoastGradientByStatus

public java.util.Collection findDistanceToCoastGradientByStatus(int pageNumber,
                                                                int pageSize,
                                                                Status status)
Description copied from interface: DistanceToCoastGradientDao

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

Specified by:
findDistanceToCoastGradientByStatus in interface DistanceToCoastGradientDao
See Also:
DistanceToCoastGradientDao.findDistanceToCoastGradientByStatus(int, int, fr.ifremer.allegro.referential.Status)

findDistanceToCoastGradientByStatus

public java.util.Collection findDistanceToCoastGradientByStatus(java.lang.String queryString,
                                                                int pageNumber,
                                                                int pageSize,
                                                                Status status)
Description copied from interface: DistanceToCoastGradientDao

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

Specified by:
findDistanceToCoastGradientByStatus in interface DistanceToCoastGradientDao
See Also:
DistanceToCoastGradientDao.findDistanceToCoastGradientByStatus(String, int, int, fr.ifremer.allegro.referential.Status)

findDistanceToCoastGradientByStatus

public java.util.Collection findDistanceToCoastGradientByStatus(int transform,
                                                                java.lang.String queryString,
                                                                Status status)
Description copied from interface: DistanceToCoastGradientDao

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

Specified by:
findDistanceToCoastGradientByStatus in interface DistanceToCoastGradientDao
See Also:
DistanceToCoastGradientDao.findDistanceToCoastGradientByStatus(int, String, fr.ifremer.allegro.referential.Status)

findDistanceToCoastGradientByStatus

public java.util.Collection findDistanceToCoastGradientByStatus(int transform,
                                                                int pageNumber,
                                                                int pageSize,
                                                                Status status)
Description copied from interface: DistanceToCoastGradientDao

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

Specified by:
findDistanceToCoastGradientByStatus in interface DistanceToCoastGradientDao
See Also:
DistanceToCoastGradientDao.findDistanceToCoastGradientByStatus(int, int, int, fr.ifremer.allegro.referential.Status)

findDistanceToCoastGradientByStatus

public java.util.Collection findDistanceToCoastGradientByStatus(int transform,
                                                                java.lang.String queryString,
                                                                int pageNumber,
                                                                int pageSize,
                                                                Status status)
Description copied from interface: DistanceToCoastGradientDao

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

Specified by:
findDistanceToCoastGradientByStatus in interface DistanceToCoastGradientDao
See Also:
DistanceToCoastGradientDao.findDistanceToCoastGradientByStatus(int, java.lang.String, int, int, fr.ifremer.allegro.referential.Status)

findDistanceToCoastGradientByNaturalId

public DistanceToCoastGradient findDistanceToCoastGradientByNaturalId(java.lang.Integer id)
Specified by:
findDistanceToCoastGradientByNaturalId in interface DistanceToCoastGradientDao
See Also:
DistanceToCoastGradientDao.findDistanceToCoastGradientByNaturalId(java.lang.Integer)

findDistanceToCoastGradientByNaturalId

public java.lang.Object findDistanceToCoastGradientByNaturalId(int transform,
                                                               java.lang.Integer id)
Description copied from interface: DistanceToCoastGradientDao

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

Specified by:
findDistanceToCoastGradientByNaturalId in interface DistanceToCoastGradientDao
See Also:
DistanceToCoastGradientDao.findDistanceToCoastGradientByNaturalId(int, java.lang.Integer)

findDistanceToCoastGradientByNaturalId

public DistanceToCoastGradient findDistanceToCoastGradientByNaturalId(java.lang.String queryString,
                                                                      java.lang.Integer id)
Description copied from interface: DistanceToCoastGradientDao

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

Specified by:
findDistanceToCoastGradientByNaturalId in interface DistanceToCoastGradientDao
See Also:
DistanceToCoastGradientDao.findDistanceToCoastGradientByNaturalId(java.lang.String, java.lang.Integer)

findDistanceToCoastGradientByNaturalId

public java.lang.Object findDistanceToCoastGradientByNaturalId(int transform,
                                                               java.lang.String queryString,
                                                               java.lang.Integer id)
Description copied from interface: DistanceToCoastGradientDao

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

Specified by:
findDistanceToCoastGradientByNaturalId in interface DistanceToCoastGradientDao
See Also:
DistanceToCoastGradientDao.findDistanceToCoastGradientByNaturalId(int, java.lang.String, java.lang.Integer)

getAllDistanceToCoastGradientSinceDateSynchro

public java.util.Collection getAllDistanceToCoastGradientSinceDateSynchro(java.sql.Timestamp updateDate)
Specified by:
getAllDistanceToCoastGradientSinceDateSynchro in interface DistanceToCoastGradientDao
See Also:
DistanceToCoastGradientDao.getAllDistanceToCoastGradientSinceDateSynchro(java.sql.Timestamp)

getAllDistanceToCoastGradientSinceDateSynchro

public java.util.Collection getAllDistanceToCoastGradientSinceDateSynchro(int transform,
                                                                          java.sql.Timestamp updateDate)
Description copied from interface: DistanceToCoastGradientDao

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

Specified by:
getAllDistanceToCoastGradientSinceDateSynchro in interface DistanceToCoastGradientDao
See Also:
DistanceToCoastGradientDao.getAllDistanceToCoastGradientSinceDateSynchro(int, java.sql.Timestamp)

getAllDistanceToCoastGradientSinceDateSynchro

public java.util.Collection getAllDistanceToCoastGradientSinceDateSynchro(java.lang.String queryString,
                                                                          java.sql.Timestamp updateDate)
Description copied from interface: DistanceToCoastGradientDao

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

Specified by:
getAllDistanceToCoastGradientSinceDateSynchro in interface DistanceToCoastGradientDao
See Also:
DistanceToCoastGradientDao.getAllDistanceToCoastGradientSinceDateSynchro(java.lang.String, java.sql.Timestamp)

getAllDistanceToCoastGradientSinceDateSynchro

public java.util.Collection getAllDistanceToCoastGradientSinceDateSynchro(int pageNumber,
                                                                          int pageSize,
                                                                          java.sql.Timestamp updateDate)
Description copied from interface: DistanceToCoastGradientDao

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

Specified by:
getAllDistanceToCoastGradientSinceDateSynchro in interface DistanceToCoastGradientDao
See Also:
DistanceToCoastGradientDao.getAllDistanceToCoastGradientSinceDateSynchro(int, int, java.sql.Timestamp)

getAllDistanceToCoastGradientSinceDateSynchro

public java.util.Collection getAllDistanceToCoastGradientSinceDateSynchro(java.lang.String queryString,
                                                                          int pageNumber,
                                                                          int pageSize,
                                                                          java.sql.Timestamp updateDate)
Description copied from interface: DistanceToCoastGradientDao

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

Specified by:
getAllDistanceToCoastGradientSinceDateSynchro in interface DistanceToCoastGradientDao
See Also:
DistanceToCoastGradientDao.getAllDistanceToCoastGradientSinceDateSynchro(String, int, int, java.sql.Timestamp)

getAllDistanceToCoastGradientSinceDateSynchro

public java.util.Collection getAllDistanceToCoastGradientSinceDateSynchro(int transform,
                                                                          java.lang.String queryString,
                                                                          java.sql.Timestamp updateDate)
Description copied from interface: DistanceToCoastGradientDao

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

Specified by:
getAllDistanceToCoastGradientSinceDateSynchro in interface DistanceToCoastGradientDao
See Also:
DistanceToCoastGradientDao.getAllDistanceToCoastGradientSinceDateSynchro(int, String, java.sql.Timestamp)

getAllDistanceToCoastGradientSinceDateSynchro

public java.util.Collection getAllDistanceToCoastGradientSinceDateSynchro(int transform,
                                                                          int pageNumber,
                                                                          int pageSize,
                                                                          java.sql.Timestamp updateDate)
Description copied from interface: DistanceToCoastGradientDao

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

Specified by:
getAllDistanceToCoastGradientSinceDateSynchro in interface DistanceToCoastGradientDao
See Also:
DistanceToCoastGradientDao.getAllDistanceToCoastGradientSinceDateSynchro(int, int, int, java.sql.Timestamp)

getAllDistanceToCoastGradientSinceDateSynchro

public java.util.Collection getAllDistanceToCoastGradientSinceDateSynchro(int transform,
                                                                          java.lang.String queryString,
                                                                          int pageNumber,
                                                                          int pageSize,
                                                                          java.sql.Timestamp updateDate)
Description copied from interface: DistanceToCoastGradientDao

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

Specified by:
getAllDistanceToCoastGradientSinceDateSynchro in interface DistanceToCoastGradientDao
See Also:
DistanceToCoastGradientDao.getAllDistanceToCoastGradientSinceDateSynchro(int, java.lang.String, int, int, java.sql.Timestamp)

createFromClusterDistanceToCoastGradient

public DistanceToCoastGradient createFromClusterDistanceToCoastGradient(ClusterDistanceToCoastGradient clusterDistanceToCoastGradient)
Specified by:
createFromClusterDistanceToCoastGradient in interface DistanceToCoastGradientDao
See Also:
DistanceToCoastGradientDao.createFromClusterDistanceToCoastGradient(fr.ifremer.allegro.referential.generic.cluster.ClusterDistanceToCoastGradient)

handleCreateFromClusterDistanceToCoastGradient

protected abstract DistanceToCoastGradient handleCreateFromClusterDistanceToCoastGradient(ClusterDistanceToCoastGradient clusterDistanceToCoastGradient)
                                                                                   throws java.lang.Exception
Performs the core logic for createFromClusterDistanceToCoastGradient(fr.ifremer.allegro.referential.generic.cluster.ClusterDistanceToCoastGradient)

Throws:
java.lang.Exception

getAllClusterDistanceToCoastGradientSinceDateSynchro

public ClusterDistanceToCoastGradient[] getAllClusterDistanceToCoastGradientSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
                                                                                             java.lang.Integer userId,
                                                                                             java.lang.Integer[] registrationLocationIds,
                                                                                             java.lang.Integer pageNumber,
                                                                                             java.lang.Integer pageSize)
Specified by:
getAllClusterDistanceToCoastGradientSinceDateSynchro in interface DistanceToCoastGradientDao
See Also:
DistanceToCoastGradientDao.getAllClusterDistanceToCoastGradientSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

handleGetAllClusterDistanceToCoastGradientSinceDateSynchro

protected abstract ClusterDistanceToCoastGradient[] handleGetAllClusterDistanceToCoastGradientSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
                                                                                                               java.lang.Integer userId,
                                                                                                               java.lang.Integer[] registrationLocationIds,
                                                                                                               java.lang.Integer pageNumber,
                                                                                                               java.lang.Integer pageSize)
                                                                                                        throws java.lang.Exception
Performs the core logic for getAllClusterDistanceToCoastGradientSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Throws:
java.lang.Exception

transformEntity

protected java.lang.Object transformEntity(int transform,
                                           DistanceToCoastGradient entity)
Allows transformation of entities into value objects (or something else for that matter), when the transform flag is set to one of the constants defined in fr.ifremer.allegro.referential.DistanceToCoastGradientDao, please note that the DistanceToCoastGradientDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself will be returned.

This method will return instances of these types:

If the integer argument value is unknown DistanceToCoastGradientDao.TRANSFORM_NONE is assumed.

Parameters:
transform - one of the constants declared in DistanceToCoastGradientDao
entity - an entity that was found
Returns:
the transformed entity (i.e. new value object, etc)
See Also:
transformEntities(int,java.util.Collection)

transformEntities

protected void transformEntities(int transform,
                                 java.util.Collection entities)
Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.DistanceToCoastGradient) method. This method does not instantiate a new collection.

This method is to be used internally only.

Parameters:
transform - one of the constants declared in fr.ifremer.allegro.referential.DistanceToCoastGradientDao
entities - the collection of entities to transform
See Also:
transformEntity(int,fr.ifremer.allegro.referential.DistanceToCoastGradient)

toEntity

protected DistanceToCoastGradient toEntity(java.lang.Object[] row)

toRemoteDistanceToCoastGradientFullVOCollection

public final void toRemoteDistanceToCoastGradientFullVOCollection(java.util.Collection entities)
Description copied from interface: DistanceToCoastGradientDao
Converts this DAO's entity to a Collection of instances of type RemoteDistanceToCoastGradientFullVO.

Specified by:
toRemoteDistanceToCoastGradientFullVOCollection in interface DistanceToCoastGradientDao
See Also:
DistanceToCoastGradientDao.toRemoteDistanceToCoastGradientFullVOCollection(java.util.Collection)

toRemoteDistanceToCoastGradientFullVOArray

public final RemoteDistanceToCoastGradientFullVO[] toRemoteDistanceToCoastGradientFullVOArray(java.util.Collection entities)
Description copied from interface: DistanceToCoastGradientDao
Converts this DAO's entity to an array of instances of type RemoteDistanceToCoastGradientFullVO.

Specified by:
toRemoteDistanceToCoastGradientFullVOArray in interface DistanceToCoastGradientDao
See Also:
DistanceToCoastGradientDao.toRemoteDistanceToCoastGradientFullVOArray(java.util.Collection)

toRemoteDistanceToCoastGradientFullVO

protected RemoteDistanceToCoastGradientFullVO toRemoteDistanceToCoastGradientFullVO(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. This implementation exists for convenience reasons only. It needs only be overridden in the DistanceToCoastGradientDaoImpl class if you intend to use reporting queries.

See Also:
DistanceToCoastGradientDao.toRemoteDistanceToCoastGradientFullVO(fr.ifremer.allegro.referential.DistanceToCoastGradient)

remoteDistanceToCoastGradientFullVOToEntityCollection

public final void remoteDistanceToCoastGradientFullVOToEntityCollection(java.util.Collection instances)
Description copied from interface: DistanceToCoastGradientDao
Converts a Collection of instances of type RemoteDistanceToCoastGradientFullVO to this DAO's entity.

Specified by:
remoteDistanceToCoastGradientFullVOToEntityCollection in interface DistanceToCoastGradientDao
See Also:
DistanceToCoastGradientDao.remoteDistanceToCoastGradientFullVOToEntityCollection(java.util.Collection)

toRemoteDistanceToCoastGradientFullVO

public void toRemoteDistanceToCoastGradientFullVO(DistanceToCoastGradient source,
                                                  RemoteDistanceToCoastGradientFullVO target)
Description copied from interface: DistanceToCoastGradientDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteDistanceToCoastGradientFullVO(), but it does not handle any attributes in the target value object that are "read-only" (as those do not have setter methods exposed).

Specified by:
toRemoteDistanceToCoastGradientFullVO in interface DistanceToCoastGradientDao
See Also:
DistanceToCoastGradientDao.toRemoteDistanceToCoastGradientFullVO(fr.ifremer.allegro.referential.DistanceToCoastGradient, fr.ifremer.allegro.referential.generic.vo.RemoteDistanceToCoastGradientFullVO)

toRemoteDistanceToCoastGradientFullVO

public RemoteDistanceToCoastGradientFullVO toRemoteDistanceToCoastGradientFullVO(DistanceToCoastGradient entity)
Description copied from interface: DistanceToCoastGradientDao
Converts this DAO's entity to an object of type RemoteDistanceToCoastGradientFullVO.

Specified by:
toRemoteDistanceToCoastGradientFullVO in interface DistanceToCoastGradientDao
See Also:
DistanceToCoastGradientDao.toRemoteDistanceToCoastGradientFullVO(fr.ifremer.allegro.referential.DistanceToCoastGradient)

remoteDistanceToCoastGradientFullVOToEntity

public void remoteDistanceToCoastGradientFullVOToEntity(RemoteDistanceToCoastGradientFullVO source,
                                                        DistanceToCoastGradient target,
                                                        boolean copyIfNull)
Description copied from interface: DistanceToCoastGradientDao
Copies the fields of RemoteDistanceToCoastGradientFullVO to the specified entity.

Specified by:
remoteDistanceToCoastGradientFullVOToEntity in interface DistanceToCoastGradientDao
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.
See Also:
fr.ifremer.allegro.referential.DistanceToCoastGradientDao#remoteDistanceToCoastGradientFullVOToEntity(fr.ifremer.allegro.referential.generic.vo.RemoteDistanceToCoastGradientFullVO, fr.ifremer.allegro.referential.DistanceToCoastGradient)

toRemoteDistanceToCoastGradientNaturalIdCollection

public final void toRemoteDistanceToCoastGradientNaturalIdCollection(java.util.Collection entities)
Description copied from interface: DistanceToCoastGradientDao
Converts this DAO's entity to a Collection of instances of type RemoteDistanceToCoastGradientNaturalId.

Specified by:
toRemoteDistanceToCoastGradientNaturalIdCollection in interface DistanceToCoastGradientDao
See Also:
DistanceToCoastGradientDao.toRemoteDistanceToCoastGradientNaturalIdCollection(java.util.Collection)

toRemoteDistanceToCoastGradientNaturalIdArray

public final RemoteDistanceToCoastGradientNaturalId[] toRemoteDistanceToCoastGradientNaturalIdArray(java.util.Collection entities)
Description copied from interface: DistanceToCoastGradientDao
Converts this DAO's entity to an array of instances of type RemoteDistanceToCoastGradientNaturalId.

Specified by:
toRemoteDistanceToCoastGradientNaturalIdArray in interface DistanceToCoastGradientDao
See Also:
DistanceToCoastGradientDao.toRemoteDistanceToCoastGradientNaturalIdArray(java.util.Collection)

toRemoteDistanceToCoastGradientNaturalId

protected RemoteDistanceToCoastGradientNaturalId toRemoteDistanceToCoastGradientNaturalId(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. This implementation exists for convenience reasons only. It needs only be overridden in the DistanceToCoastGradientDaoImpl class if you intend to use reporting queries.

See Also:
DistanceToCoastGradientDao.toRemoteDistanceToCoastGradientNaturalId(fr.ifremer.allegro.referential.DistanceToCoastGradient)

remoteDistanceToCoastGradientNaturalIdToEntityCollection

public final void remoteDistanceToCoastGradientNaturalIdToEntityCollection(java.util.Collection instances)
Description copied from interface: DistanceToCoastGradientDao
Converts a Collection of instances of type RemoteDistanceToCoastGradientNaturalId to this DAO's entity.

Specified by:
remoteDistanceToCoastGradientNaturalIdToEntityCollection in interface DistanceToCoastGradientDao
See Also:
DistanceToCoastGradientDao.remoteDistanceToCoastGradientNaturalIdToEntityCollection(java.util.Collection)

toRemoteDistanceToCoastGradientNaturalId

public void toRemoteDistanceToCoastGradientNaturalId(DistanceToCoastGradient source,
                                                     RemoteDistanceToCoastGradientNaturalId target)
Description copied from interface: DistanceToCoastGradientDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteDistanceToCoastGradientNaturalId(), but it does not handle any attributes in the target value object that are "read-only" (as those do not have setter methods exposed).

Specified by:
toRemoteDistanceToCoastGradientNaturalId in interface DistanceToCoastGradientDao
See Also:
DistanceToCoastGradientDao.toRemoteDistanceToCoastGradientNaturalId(fr.ifremer.allegro.referential.DistanceToCoastGradient, fr.ifremer.allegro.referential.generic.vo.RemoteDistanceToCoastGradientNaturalId)

toRemoteDistanceToCoastGradientNaturalId

public RemoteDistanceToCoastGradientNaturalId toRemoteDistanceToCoastGradientNaturalId(DistanceToCoastGradient entity)
Description copied from interface: DistanceToCoastGradientDao
Converts this DAO's entity to an object of type RemoteDistanceToCoastGradientNaturalId.

Specified by:
toRemoteDistanceToCoastGradientNaturalId in interface DistanceToCoastGradientDao
See Also:
DistanceToCoastGradientDao.toRemoteDistanceToCoastGradientNaturalId(fr.ifremer.allegro.referential.DistanceToCoastGradient)

remoteDistanceToCoastGradientNaturalIdToEntity

public void remoteDistanceToCoastGradientNaturalIdToEntity(RemoteDistanceToCoastGradientNaturalId source,
                                                           DistanceToCoastGradient target,
                                                           boolean copyIfNull)
Description copied from interface: DistanceToCoastGradientDao
Copies the fields of RemoteDistanceToCoastGradientNaturalId to the specified entity.

Specified by:
remoteDistanceToCoastGradientNaturalIdToEntity in interface DistanceToCoastGradientDao
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.
See Also:
fr.ifremer.allegro.referential.DistanceToCoastGradientDao#remoteDistanceToCoastGradientNaturalIdToEntity(fr.ifremer.allegro.referential.generic.vo.RemoteDistanceToCoastGradientNaturalId, fr.ifremer.allegro.referential.DistanceToCoastGradient)

toClusterDistanceToCoastGradientCollection

public final void toClusterDistanceToCoastGradientCollection(java.util.Collection entities)
Description copied from interface: DistanceToCoastGradientDao
Converts this DAO's entity to a Collection of instances of type ClusterDistanceToCoastGradient.

Specified by:
toClusterDistanceToCoastGradientCollection in interface DistanceToCoastGradientDao
See Also:
DistanceToCoastGradientDao.toClusterDistanceToCoastGradientCollection(java.util.Collection)

toClusterDistanceToCoastGradientArray

public final ClusterDistanceToCoastGradient[] toClusterDistanceToCoastGradientArray(java.util.Collection entities)
Description copied from interface: DistanceToCoastGradientDao
Converts this DAO's entity to an array of instances of type ClusterDistanceToCoastGradient.

Specified by:
toClusterDistanceToCoastGradientArray in interface DistanceToCoastGradientDao
See Also:
DistanceToCoastGradientDao.toClusterDistanceToCoastGradientArray(java.util.Collection)

toClusterDistanceToCoastGradient

protected ClusterDistanceToCoastGradient toClusterDistanceToCoastGradient(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. This implementation exists for convenience reasons only. It needs only be overridden in the DistanceToCoastGradientDaoImpl class if you intend to use reporting queries.

See Also:
DistanceToCoastGradientDao.toClusterDistanceToCoastGradient(fr.ifremer.allegro.referential.DistanceToCoastGradient)

clusterDistanceToCoastGradientToEntityCollection

public final void clusterDistanceToCoastGradientToEntityCollection(java.util.Collection instances)
Description copied from interface: DistanceToCoastGradientDao
Converts a Collection of instances of type ClusterDistanceToCoastGradient to this DAO's entity.

Specified by:
clusterDistanceToCoastGradientToEntityCollection in interface DistanceToCoastGradientDao
See Also:
DistanceToCoastGradientDao.clusterDistanceToCoastGradientToEntityCollection(java.util.Collection)

toClusterDistanceToCoastGradient

public void toClusterDistanceToCoastGradient(DistanceToCoastGradient source,
                                             ClusterDistanceToCoastGradient target)
Description copied from interface: DistanceToCoastGradientDao
Copies the fields of the specified entity to the target value object. This method is similar to toClusterDistanceToCoastGradient(), but it does not handle any attributes in the target value object that are "read-only" (as those do not have setter methods exposed).

Specified by:
toClusterDistanceToCoastGradient in interface DistanceToCoastGradientDao
See Also:
DistanceToCoastGradientDao.toClusterDistanceToCoastGradient(fr.ifremer.allegro.referential.DistanceToCoastGradient, fr.ifremer.allegro.referential.generic.cluster.ClusterDistanceToCoastGradient)

toClusterDistanceToCoastGradient

public ClusterDistanceToCoastGradient toClusterDistanceToCoastGradient(DistanceToCoastGradient entity)
Description copied from interface: DistanceToCoastGradientDao
Converts this DAO's entity to an object of type ClusterDistanceToCoastGradient.

Specified by:
toClusterDistanceToCoastGradient in interface DistanceToCoastGradientDao
See Also:
DistanceToCoastGradientDao.toClusterDistanceToCoastGradient(fr.ifremer.allegro.referential.DistanceToCoastGradient)

clusterDistanceToCoastGradientToEntity

public void clusterDistanceToCoastGradientToEntity(ClusterDistanceToCoastGradient source,
                                                   DistanceToCoastGradient target,
                                                   boolean copyIfNull)
Description copied from interface: DistanceToCoastGradientDao
Copies the fields of ClusterDistanceToCoastGradient to the specified entity.

Specified by:
clusterDistanceToCoastGradientToEntity in interface DistanceToCoastGradientDao
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.
See Also:
fr.ifremer.allegro.referential.DistanceToCoastGradientDao#clusterDistanceToCoastGradientToEntity(fr.ifremer.allegro.referential.generic.cluster.ClusterDistanceToCoastGradient, fr.ifremer.allegro.referential.DistanceToCoastGradient)

getPrincipal

protected java.security.Principal getPrincipal()
Gets the current principal if one has been set, otherwise returns null.

Returns:
the current principal

search

public PaginationResult search(int transform,
                               int pageNumber,
                               int pageSize,
                               Search search)
Description copied from interface: DistanceToCoastGradientDao
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.

Specified by:
search in interface DistanceToCoastGradientDao
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.
See Also:
DistanceToCoastGradientDao.search(int, int, int, fr.ifremer.allegro.Search)

search

public PaginationResult search(int pageNumber,
                               int pageSize,
                               Search search)
Description copied from interface: DistanceToCoastGradientDao
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.

Specified by:
search in interface DistanceToCoastGradientDao
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.
See Also:
DistanceToCoastGradientDao.search(int, int, fr.ifremer.allegro.Search)

search

public java.util.Set search(int transform,
                            Search search)
Description copied from interface: DistanceToCoastGradientDao
Does the same thing as DistanceToCoastGradientDao.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.

Specified by:
search in interface DistanceToCoastGradientDao
Parameters:
transform - the transformation flag.
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search.
See Also:
DistanceToCoastGradientDao.search(int, fr.ifremer.allegro.Search)

search

public java.util.Set search(Search search)
Description copied from interface: DistanceToCoastGradientDao
Performs a search using the parameters specified in the given search object.

Specified by:
search in interface DistanceToCoastGradientDao
Parameters:
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search.
See Also:
DistanceToCoastGradientDao.search(fr.ifremer.allegro.Search)


Copyright © 2008-2010 IFREMER. All Rights Reserved.