fr.ifremer.allegro.referential
Class DepthGradientDaoBase

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.referential.DepthGradientDaoBase
All Implemented Interfaces:
DepthGradientDao
Direct Known Subclasses:
DepthGradientDaoImpl

public abstract class DepthGradientDaoBase
extends org.springframework.orm.hibernate3.support.HibernateDaoSupport
implements DepthGradientDao

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

See Also:
DepthGradient

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.DepthGradientDao
TRANSFORM_CLUSTERDEPTHGRADIENT, TRANSFORM_NONE, TRANSFORM_REMOTEDEPTHGRADIENTFULLVO, TRANSFORM_REMOTEDEPTHGRADIENTNATURALID
 
Constructor Summary
DepthGradientDaoBase()
           
 
Method Summary
 void clusterDepthGradientToEntity(ClusterDepthGradient source, DepthGradient target, boolean copyIfNull)
          Copies the fields of ClusterDepthGradient to the specified entity.
 void clusterDepthGradientToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type ClusterDepthGradient to this DAO's entity.
 java.util.Collection create(java.util.Collection entities)
          Creates a new instance of fr.ifremer.allegro.referential.DepthGradient and adds from the passed in entities collection
 DepthGradient create(DepthGradient depthGradient)
          Creates an instance of fr.ifremer.allegro.referential.DepthGradient and adds it to the persistent store.
 java.util.Collection create(int transform, java.util.Collection entities)
           Does the same thing as DepthGradientDao.create(fr.ifremer.allegro.referential.DepthGradient) with an additional flag called transform.
 java.lang.Object create(int transform, DepthGradient depthGradient)
           Does the same thing as DepthGradientDao.create(fr.ifremer.allegro.referential.DepthGradient) 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 DepthGradientDao.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 DepthGradientDao.create(java.lang.String,java.lang.String,java.lang.Short,java.sql.Timestamp,fr.ifremer.allegro.referential.Status) with an additional flag called transform.
 DepthGradient create(java.lang.String description, java.lang.String name, java.lang.Short rankOrder, Status status)
           Creates a new fr.ifremer.allegro.referential.DepthGradient instance from only required properties (attributes and association ends) and adds it to the persistent store.
 DepthGradient 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.DepthGradient instance from all attributes and properties and adds it to the persistent store.
 DepthGradient createFromClusterDepthGradient(ClusterDepthGradient clusterDepthGradient)
           
 DepthGradient findDepthGradientById(java.lang.Integer id)
           
 java.lang.Object findDepthGradientById(int transform, java.lang.Integer id)
           Does the same thing as DepthGradientDao.findDepthGradientById(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findDepthGradientById(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as DepthGradientDao.findDepthGradientById(int, java.lang.Integer) with an additional argument called queryString.
 DepthGradient findDepthGradientById(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as DepthGradientDao.findDepthGradientById(java.lang.Integer) with an additional argument called queryString.
 DepthGradient findDepthGradientByNaturalId(java.lang.Integer id)
           
 java.lang.Object findDepthGradientByNaturalId(int transform, java.lang.Integer id)
           Does the same thing as DepthGradientDao.findDepthGradientByNaturalId(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findDepthGradientByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as DepthGradientDao.findDepthGradientByNaturalId(int, java.lang.Integer) with an additional argument called queryString.
 DepthGradient findDepthGradientByNaturalId(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as DepthGradientDao.findDepthGradientByNaturalId(java.lang.Integer) with an additional argument called queryString.
 java.util.Collection findDepthGradientByStatus(int transform, int pageNumber, int pageSize, Status status)
           Does the same thing as DepthGradientDao.findDepthGradientByStatus(int, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findDepthGradientByStatus(int pageNumber, int pageSize, Status status)
           Does the same thing as DepthGradientDao.findDepthGradientByStatus(fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findDepthGradientByStatus(int transform, Status status)
           Does the same thing as DepthGradientDao.findDepthGradientByStatus(fr.ifremer.allegro.referential.Status) with an additional flag called transform.
 java.util.Collection findDepthGradientByStatus(int transform, java.lang.String queryString, int pageNumber, int pageSize, Status status)
           Does the same thing as DepthGradientDao.findDepthGradientByStatus(int, String, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findDepthGradientByStatus(int transform, java.lang.String queryString, Status status)
           Does the same thing as DepthGradientDao.findDepthGradientByStatus(int, fr.ifremer.allegro.referential.Status) with an additional argument called queryString.
 java.util.Collection findDepthGradientByStatus(Status status)
           
 java.util.Collection findDepthGradientByStatus(java.lang.String queryString, int pageNumber, int pageSize, Status status)
           Does the same thing as DepthGradientDao.findDepthGradientByStatus(String, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findDepthGradientByStatus(java.lang.String queryString, Status status)
           Does the same thing as DepthGradientDao.findDepthGradientByStatus(fr.ifremer.allegro.referential.Status) with an additional argument called queryString.
 ClusterDepthGradient[] getAllClusterDepthGradientSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
 java.util.Collection getAllDepthGradient()
           
 java.util.Collection getAllDepthGradient(int transform)
           Does the same thing as DepthGradientDao.getAllDepthGradient() with an additional flag called transform.
 java.util.Collection getAllDepthGradient(int pageNumber, int pageSize)
           Does the same thing as DepthGradientDao.getAllDepthGradient() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllDepthGradient(int transform, int pageNumber, int pageSize)
           Does the same thing as DepthGradientDao.getAllDepthGradient(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllDepthGradient(int transform, java.lang.String queryString)
           Does the same thing as DepthGradientDao.getAllDepthGradient(int) with an additional argument called queryString.
 java.util.Collection getAllDepthGradient(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as DepthGradientDao.getAllDepthGradient(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllDepthGradient(java.lang.String queryString)
           Does the same thing as DepthGradientDao.getAllDepthGradient() with an additional argument called queryString.
 java.util.Collection getAllDepthGradient(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as DepthGradientDao.getAllDepthGradient(String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllDepthGradientSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as DepthGradientDao.getAllDepthGradientSinceDateSynchro(int, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllDepthGradientSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as DepthGradientDao.getAllDepthGradientSinceDateSynchro(java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllDepthGradientSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as DepthGradientDao.getAllDepthGradientSinceDateSynchro(int, String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllDepthGradientSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as DepthGradientDao.getAllDepthGradientSinceDateSynchro(int, java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllDepthGradientSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
           Does the same thing as DepthGradientDao.getAllDepthGradientSinceDateSynchro(java.sql.Timestamp) with an additional flag called transform.
 java.util.Collection getAllDepthGradientSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as DepthGradientDao.getAllDepthGradientSinceDateSynchro(String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllDepthGradientSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as DepthGradientDao.getAllDepthGradientSinceDateSynchro(java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllDepthGradientSinceDateSynchro(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  DepthGradient handleCreateFromClusterDepthGradient(ClusterDepthGradient clusterDepthGradient)
          Performs the core logic for createFromClusterDepthGradient(fr.ifremer.allegro.referential.generic.cluster.ClusterDepthGradient)
protected abstract  ClusterDepthGradient[] handleGetAllClusterDepthGradientSinceDateSynchro(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 getAllClusterDepthGradientSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 DepthGradient load(java.lang.Integer id)
          Loads an instance of fr.ifremer.allegro.referential.DepthGradient from the persistent store.
 java.lang.Object load(int transform, java.lang.Integer id)
           Does the same thing as DepthGradientDao.load(java.lang.Integer) with an additional flag called transform.
 java.util.Collection loadAll()
          Loads all entities of type DepthGradient.
 java.util.Collection loadAll(int transform)
           Does the same thing as DepthGradientDao.loadAll() with an additional flag called transform.
 java.util.Collection loadAll(int pageNumber, int pageSize)
           Does the same thing as DepthGradientDao.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 DepthGradientDao.loadAll(int) with an additional two arguments called pageNumber and pageSize.
 void remoteDepthGradientFullVOToEntity(RemoteDepthGradientFullVO source, DepthGradient target, boolean copyIfNull)
          Copies the fields of RemoteDepthGradientFullVO to the specified entity.
 void remoteDepthGradientFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteDepthGradientFullVO to this DAO's entity.
 void remoteDepthGradientNaturalIdToEntity(RemoteDepthGradientNaturalId source, DepthGradient target, boolean copyIfNull)
          Copies the fields of RemoteDepthGradientNaturalId to the specified entity.
 void remoteDepthGradientNaturalIdToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteDepthGradientNaturalId to this DAO's entity.
 void remove(java.util.Collection entities)
          Removes all entities in the given entities collection.
 void remove(DepthGradient depthGradient)
          Removes the instance of fr.ifremer.allegro.referential.DepthGradient from the persistent store.
 void remove(java.lang.Integer id)
          Removes the instance of fr.ifremer.allegro.referential.DepthGradient 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 DepthGradientDao.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.
 ClusterDepthGradient toClusterDepthGradient(DepthGradient entity)
          Converts this DAO's entity to an object of type ClusterDepthGradient.
 void toClusterDepthGradient(DepthGradient source, ClusterDepthGradient target)
          Copies the fields of the specified entity to the target value object.
protected  ClusterDepthGradient toClusterDepthGradient(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 ClusterDepthGradient[] toClusterDepthGradientArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type ClusterDepthGradient.
 void toClusterDepthGradientCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type ClusterDepthGradient.
protected  DepthGradient toEntity(java.lang.Object[] row)
           
 RemoteDepthGradientFullVO toRemoteDepthGradientFullVO(DepthGradient entity)
          Converts this DAO's entity to an object of type RemoteDepthGradientFullVO.
 void toRemoteDepthGradientFullVO(DepthGradient source, RemoteDepthGradientFullVO target)
          Copies the fields of the specified entity to the target value object.
protected  RemoteDepthGradientFullVO toRemoteDepthGradientFullVO(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteDepthGradientFullVO[] toRemoteDepthGradientFullVOArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteDepthGradientFullVO.
 void toRemoteDepthGradientFullVOCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteDepthGradientFullVO.
 RemoteDepthGradientNaturalId toRemoteDepthGradientNaturalId(DepthGradient entity)
          Converts this DAO's entity to an object of type RemoteDepthGradientNaturalId.
 void toRemoteDepthGradientNaturalId(DepthGradient source, RemoteDepthGradientNaturalId target)
          Copies the fields of the specified entity to the target value object.
protected  RemoteDepthGradientNaturalId toRemoteDepthGradientNaturalId(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteDepthGradientNaturalId[] toRemoteDepthGradientNaturalIdArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteDepthGradientNaturalId.
 void toRemoteDepthGradientNaturalIdCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteDepthGradientNaturalId.
protected  void transformEntities(int transform, java.util.Collection entities)
          Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.DepthGradient) method.
protected  java.lang.Object transformEntity(int transform, DepthGradient 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.DepthGradientDao, please note that the DepthGradientDao.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(DepthGradient depthGradient)
          Updates the depthGradient 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.DepthGradientDao
clusterDepthGradientToEntity, remoteDepthGradientFullVOToEntity, remoteDepthGradientNaturalIdToEntity
 

Constructor Detail

DepthGradientDaoBase

public DepthGradientDaoBase()
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: DepthGradientDao

Does the same thing as DepthGradientDao.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 DepthGradientDao
id - identifier of the entity to load
Returns:
either the entity or the object transformed from the entity.
See Also:
DepthGradientDao.load(int, java.lang.Integer)

load

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

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

loadAll

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

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

loadAll

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

Does the same thing as DepthGradientDao.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 DepthGradientDao
Parameters:
transform - the flag indicating what transformation to use.
Returns:
the loaded entities.
See Also:
DepthGradientDao.loadAll(int)

loadAll

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

Does the same thing as DepthGradientDao.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 DepthGradientDao
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:
DepthGradientDao.loadAll(int, int)

loadAll

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

Does the same thing as DepthGradientDao.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 DepthGradientDao
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:
DepthGradientDao.loadAll(int, int, int)

create

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

Specified by:
create in interface DepthGradientDao
See Also:
DepthGradientDao.create(fr.ifremer.allegro.referential.DepthGradient)

create

public java.lang.Object create(int transform,
                               DepthGradient depthGradient)
Description copied from interface: DepthGradientDao

Does the same thing as DepthGradientDao.create(fr.ifremer.allegro.referential.DepthGradient) 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 DepthGradientDao
See Also:
DepthGradientDao.create(int transform, fr.ifremer.allegro.referential.DepthGradient)

create

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

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

create

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

Does the same thing as DepthGradientDao.create(fr.ifremer.allegro.referential.DepthGradient) 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 DepthGradientDao
See Also:
DepthGradientDao.create(int, java.util.Collection)

create

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

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

Specified by:
create in interface DepthGradientDao
See Also:
DepthGradientDao.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: DepthGradientDao

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

create

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

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

Specified by:
create in interface DepthGradientDao
See Also:
DepthGradientDao.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: DepthGradientDao

Does the same thing as DepthGradientDao.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 DepthGradientDao
See Also:
DepthGradientDao.create(int, java.lang.String,java.lang.String,java.lang.Short,fr.ifremer.allegro.referential.Status)

update

public void update(DepthGradient depthGradient)
Description copied from interface: DepthGradientDao
Updates the depthGradient instance in the persistent store.

Specified by:
update in interface DepthGradientDao
See Also:
DepthGradientDao.update(fr.ifremer.allegro.referential.DepthGradient)

update

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

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

remove

public void remove(DepthGradient depthGradient)
Description copied from interface: DepthGradientDao
Removes the instance of fr.ifremer.allegro.referential.DepthGradient from the persistent store.

Specified by:
remove in interface DepthGradientDao
See Also:
DepthGradientDao.remove(fr.ifremer.allegro.referential.DepthGradient)

remove

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

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

remove

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

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

getAllDepthGradient

public java.util.Collection getAllDepthGradient()
Specified by:
getAllDepthGradient in interface DepthGradientDao
See Also:
DepthGradientDao.getAllDepthGradient()

getAllDepthGradient

public java.util.Collection getAllDepthGradient(int transform)
Description copied from interface: DepthGradientDao

Does the same thing as DepthGradientDao.getAllDepthGradient() 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:
getAllDepthGradient in interface DepthGradientDao
See Also:
DepthGradientDao.getAllDepthGradient(int)

getAllDepthGradient

public java.util.Collection getAllDepthGradient(java.lang.String queryString)
Description copied from interface: DepthGradientDao

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

Specified by:
getAllDepthGradient in interface DepthGradientDao
See Also:
DepthGradientDao.getAllDepthGradient(java.lang.String)

getAllDepthGradient

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

Does the same thing as DepthGradientDao.getAllDepthGradient() 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:
getAllDepthGradient in interface DepthGradientDao
See Also:
DepthGradientDao.getAllDepthGradient(int, int)

getAllDepthGradient

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

Does the same thing as DepthGradientDao.getAllDepthGradient(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:
getAllDepthGradient in interface DepthGradientDao
See Also:
DepthGradientDao.getAllDepthGradient(String, int, int)

getAllDepthGradient

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

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

Specified by:
getAllDepthGradient in interface DepthGradientDao
See Also:
DepthGradientDao.getAllDepthGradient(int, String)

getAllDepthGradient

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

Does the same thing as DepthGradientDao.getAllDepthGradient(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:
getAllDepthGradient in interface DepthGradientDao
See Also:
DepthGradientDao.getAllDepthGradient(int, int, int)

getAllDepthGradient

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

Does the same thing as DepthGradientDao.getAllDepthGradient(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:
getAllDepthGradient in interface DepthGradientDao
See Also:
DepthGradientDao.getAllDepthGradient(int, java.lang.String, int, int)

findDepthGradientById

public DepthGradient findDepthGradientById(java.lang.Integer id)
Specified by:
findDepthGradientById in interface DepthGradientDao
See Also:
DepthGradientDao.findDepthGradientById(java.lang.Integer)

findDepthGradientById

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

Does the same thing as DepthGradientDao.findDepthGradientById(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:
findDepthGradientById in interface DepthGradientDao
See Also:
DepthGradientDao.findDepthGradientById(int, java.lang.Integer)

findDepthGradientById

public DepthGradient findDepthGradientById(java.lang.String queryString,
                                           java.lang.Integer id)
Description copied from interface: DepthGradientDao

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

Specified by:
findDepthGradientById in interface DepthGradientDao
See Also:
DepthGradientDao.findDepthGradientById(java.lang.String, java.lang.Integer)

findDepthGradientById

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

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

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

findDepthGradientByStatus

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

findDepthGradientByStatus

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

Does the same thing as DepthGradientDao.findDepthGradientByStatus(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:
findDepthGradientByStatus in interface DepthGradientDao
See Also:
DepthGradientDao.findDepthGradientByStatus(int, fr.ifremer.allegro.referential.Status)

findDepthGradientByStatus

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

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

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

findDepthGradientByStatus

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

Does the same thing as DepthGradientDao.findDepthGradientByStatus(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:
findDepthGradientByStatus in interface DepthGradientDao
See Also:
DepthGradientDao.findDepthGradientByStatus(int, int, fr.ifremer.allegro.referential.Status)

findDepthGradientByStatus

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

Does the same thing as DepthGradientDao.findDepthGradientByStatus(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:
findDepthGradientByStatus in interface DepthGradientDao
See Also:
DepthGradientDao.findDepthGradientByStatus(String, int, int, fr.ifremer.allegro.referential.Status)

findDepthGradientByStatus

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

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

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

findDepthGradientByStatus

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

Does the same thing as DepthGradientDao.findDepthGradientByStatus(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:
findDepthGradientByStatus in interface DepthGradientDao
See Also:
DepthGradientDao.findDepthGradientByStatus(int, int, int, fr.ifremer.allegro.referential.Status)

findDepthGradientByStatus

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

Does the same thing as DepthGradientDao.findDepthGradientByStatus(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:
findDepthGradientByStatus in interface DepthGradientDao
See Also:
DepthGradientDao.findDepthGradientByStatus(int, java.lang.String, int, int, fr.ifremer.allegro.referential.Status)

findDepthGradientByNaturalId

public DepthGradient findDepthGradientByNaturalId(java.lang.Integer id)
Specified by:
findDepthGradientByNaturalId in interface DepthGradientDao
See Also:
DepthGradientDao.findDepthGradientByNaturalId(java.lang.Integer)

findDepthGradientByNaturalId

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

Does the same thing as DepthGradientDao.findDepthGradientByNaturalId(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:
findDepthGradientByNaturalId in interface DepthGradientDao
See Also:
DepthGradientDao.findDepthGradientByNaturalId(int, java.lang.Integer)

findDepthGradientByNaturalId

public DepthGradient findDepthGradientByNaturalId(java.lang.String queryString,
                                                  java.lang.Integer id)
Description copied from interface: DepthGradientDao

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

Specified by:
findDepthGradientByNaturalId in interface DepthGradientDao
See Also:
DepthGradientDao.findDepthGradientByNaturalId(java.lang.String, java.lang.Integer)

findDepthGradientByNaturalId

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

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

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

getAllDepthGradientSinceDateSynchro

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

getAllDepthGradientSinceDateSynchro

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

Does the same thing as DepthGradientDao.getAllDepthGradientSinceDateSynchro(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:
getAllDepthGradientSinceDateSynchro in interface DepthGradientDao
See Also:
DepthGradientDao.getAllDepthGradientSinceDateSynchro(int, java.sql.Timestamp)

getAllDepthGradientSinceDateSynchro

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

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

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

getAllDepthGradientSinceDateSynchro

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

Does the same thing as DepthGradientDao.getAllDepthGradientSinceDateSynchro(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:
getAllDepthGradientSinceDateSynchro in interface DepthGradientDao
See Also:
DepthGradientDao.getAllDepthGradientSinceDateSynchro(int, int, java.sql.Timestamp)

getAllDepthGradientSinceDateSynchro

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

Does the same thing as DepthGradientDao.getAllDepthGradientSinceDateSynchro(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:
getAllDepthGradientSinceDateSynchro in interface DepthGradientDao
See Also:
DepthGradientDao.getAllDepthGradientSinceDateSynchro(String, int, int, java.sql.Timestamp)

getAllDepthGradientSinceDateSynchro

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

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

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

getAllDepthGradientSinceDateSynchro

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

Does the same thing as DepthGradientDao.getAllDepthGradientSinceDateSynchro(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:
getAllDepthGradientSinceDateSynchro in interface DepthGradientDao
See Also:
DepthGradientDao.getAllDepthGradientSinceDateSynchro(int, int, int, java.sql.Timestamp)

getAllDepthGradientSinceDateSynchro

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

Does the same thing as DepthGradientDao.getAllDepthGradientSinceDateSynchro(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:
getAllDepthGradientSinceDateSynchro in interface DepthGradientDao
See Also:
DepthGradientDao.getAllDepthGradientSinceDateSynchro(int, java.lang.String, int, int, java.sql.Timestamp)

createFromClusterDepthGradient

public DepthGradient createFromClusterDepthGradient(ClusterDepthGradient clusterDepthGradient)
Specified by:
createFromClusterDepthGradient in interface DepthGradientDao
See Also:
DepthGradientDao.createFromClusterDepthGradient(fr.ifremer.allegro.referential.generic.cluster.ClusterDepthGradient)

handleCreateFromClusterDepthGradient

protected abstract DepthGradient handleCreateFromClusterDepthGradient(ClusterDepthGradient clusterDepthGradient)
                                                               throws java.lang.Exception
Performs the core logic for createFromClusterDepthGradient(fr.ifremer.allegro.referential.generic.cluster.ClusterDepthGradient)

Throws:
java.lang.Exception

getAllClusterDepthGradientSinceDateSynchro

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

handleGetAllClusterDepthGradientSinceDateSynchro

protected abstract ClusterDepthGradient[] handleGetAllClusterDepthGradientSinceDateSynchro(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 getAllClusterDepthGradientSinceDateSynchro(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,
                                           DepthGradient 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.DepthGradientDao, please note that the DepthGradientDao.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 DepthGradientDao.TRANSFORM_NONE is assumed.

Parameters:
transform - one of the constants declared in DepthGradientDao
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.DepthGradient) 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.DepthGradientDao
entities - the collection of entities to transform
See Also:
transformEntity(int,fr.ifremer.allegro.referential.DepthGradient)

toEntity

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

toRemoteDepthGradientFullVOCollection

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

Specified by:
toRemoteDepthGradientFullVOCollection in interface DepthGradientDao
See Also:
DepthGradientDao.toRemoteDepthGradientFullVOCollection(java.util.Collection)

toRemoteDepthGradientFullVOArray

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

Specified by:
toRemoteDepthGradientFullVOArray in interface DepthGradientDao
See Also:
DepthGradientDao.toRemoteDepthGradientFullVOArray(java.util.Collection)

toRemoteDepthGradientFullVO

protected RemoteDepthGradientFullVO toRemoteDepthGradientFullVO(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 DepthGradientDaoImpl class if you intend to use reporting queries.

See Also:
DepthGradientDao.toRemoteDepthGradientFullVO(fr.ifremer.allegro.referential.DepthGradient)

remoteDepthGradientFullVOToEntityCollection

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

Specified by:
remoteDepthGradientFullVOToEntityCollection in interface DepthGradientDao
See Also:
DepthGradientDao.remoteDepthGradientFullVOToEntityCollection(java.util.Collection)

toRemoteDepthGradientFullVO

public void toRemoteDepthGradientFullVO(DepthGradient source,
                                        RemoteDepthGradientFullVO target)
Description copied from interface: DepthGradientDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteDepthGradientFullVO(), 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:
toRemoteDepthGradientFullVO in interface DepthGradientDao
See Also:
DepthGradientDao.toRemoteDepthGradientFullVO(fr.ifremer.allegro.referential.DepthGradient, fr.ifremer.allegro.referential.generic.vo.RemoteDepthGradientFullVO)

toRemoteDepthGradientFullVO

public RemoteDepthGradientFullVO toRemoteDepthGradientFullVO(DepthGradient entity)
Description copied from interface: DepthGradientDao
Converts this DAO's entity to an object of type RemoteDepthGradientFullVO.

Specified by:
toRemoteDepthGradientFullVO in interface DepthGradientDao
See Also:
DepthGradientDao.toRemoteDepthGradientFullVO(fr.ifremer.allegro.referential.DepthGradient)

remoteDepthGradientFullVOToEntity

public void remoteDepthGradientFullVOToEntity(RemoteDepthGradientFullVO source,
                                              DepthGradient target,
                                              boolean copyIfNull)
Description copied from interface: DepthGradientDao
Copies the fields of RemoteDepthGradientFullVO to the specified entity.

Specified by:
remoteDepthGradientFullVOToEntity in interface DepthGradientDao
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.DepthGradientDao#remoteDepthGradientFullVOToEntity(fr.ifremer.allegro.referential.generic.vo.RemoteDepthGradientFullVO, fr.ifremer.allegro.referential.DepthGradient)

toRemoteDepthGradientNaturalIdCollection

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

Specified by:
toRemoteDepthGradientNaturalIdCollection in interface DepthGradientDao
See Also:
DepthGradientDao.toRemoteDepthGradientNaturalIdCollection(java.util.Collection)

toRemoteDepthGradientNaturalIdArray

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

Specified by:
toRemoteDepthGradientNaturalIdArray in interface DepthGradientDao
See Also:
DepthGradientDao.toRemoteDepthGradientNaturalIdArray(java.util.Collection)

toRemoteDepthGradientNaturalId

protected RemoteDepthGradientNaturalId toRemoteDepthGradientNaturalId(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 DepthGradientDaoImpl class if you intend to use reporting queries.

See Also:
DepthGradientDao.toRemoteDepthGradientNaturalId(fr.ifremer.allegro.referential.DepthGradient)

remoteDepthGradientNaturalIdToEntityCollection

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

Specified by:
remoteDepthGradientNaturalIdToEntityCollection in interface DepthGradientDao
See Also:
DepthGradientDao.remoteDepthGradientNaturalIdToEntityCollection(java.util.Collection)

toRemoteDepthGradientNaturalId

public void toRemoteDepthGradientNaturalId(DepthGradient source,
                                           RemoteDepthGradientNaturalId target)
Description copied from interface: DepthGradientDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteDepthGradientNaturalId(), 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:
toRemoteDepthGradientNaturalId in interface DepthGradientDao
See Also:
DepthGradientDao.toRemoteDepthGradientNaturalId(fr.ifremer.allegro.referential.DepthGradient, fr.ifremer.allegro.referential.generic.vo.RemoteDepthGradientNaturalId)

toRemoteDepthGradientNaturalId

public RemoteDepthGradientNaturalId toRemoteDepthGradientNaturalId(DepthGradient entity)
Description copied from interface: DepthGradientDao
Converts this DAO's entity to an object of type RemoteDepthGradientNaturalId.

Specified by:
toRemoteDepthGradientNaturalId in interface DepthGradientDao
See Also:
DepthGradientDao.toRemoteDepthGradientNaturalId(fr.ifremer.allegro.referential.DepthGradient)

remoteDepthGradientNaturalIdToEntity

public void remoteDepthGradientNaturalIdToEntity(RemoteDepthGradientNaturalId source,
                                                 DepthGradient target,
                                                 boolean copyIfNull)
Description copied from interface: DepthGradientDao
Copies the fields of RemoteDepthGradientNaturalId to the specified entity.

Specified by:
remoteDepthGradientNaturalIdToEntity in interface DepthGradientDao
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.DepthGradientDao#remoteDepthGradientNaturalIdToEntity(fr.ifremer.allegro.referential.generic.vo.RemoteDepthGradientNaturalId, fr.ifremer.allegro.referential.DepthGradient)

toClusterDepthGradientCollection

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

Specified by:
toClusterDepthGradientCollection in interface DepthGradientDao
See Also:
DepthGradientDao.toClusterDepthGradientCollection(java.util.Collection)

toClusterDepthGradientArray

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

Specified by:
toClusterDepthGradientArray in interface DepthGradientDao
See Also:
DepthGradientDao.toClusterDepthGradientArray(java.util.Collection)

toClusterDepthGradient

protected ClusterDepthGradient toClusterDepthGradient(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 DepthGradientDaoImpl class if you intend to use reporting queries.

See Also:
DepthGradientDao.toClusterDepthGradient(fr.ifremer.allegro.referential.DepthGradient)

clusterDepthGradientToEntityCollection

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

Specified by:
clusterDepthGradientToEntityCollection in interface DepthGradientDao
See Also:
DepthGradientDao.clusterDepthGradientToEntityCollection(java.util.Collection)

toClusterDepthGradient

public void toClusterDepthGradient(DepthGradient source,
                                   ClusterDepthGradient target)
Description copied from interface: DepthGradientDao
Copies the fields of the specified entity to the target value object. This method is similar to toClusterDepthGradient(), 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:
toClusterDepthGradient in interface DepthGradientDao
See Also:
DepthGradientDao.toClusterDepthGradient(fr.ifremer.allegro.referential.DepthGradient, fr.ifremer.allegro.referential.generic.cluster.ClusterDepthGradient)

toClusterDepthGradient

public ClusterDepthGradient toClusterDepthGradient(DepthGradient entity)
Description copied from interface: DepthGradientDao
Converts this DAO's entity to an object of type ClusterDepthGradient.

Specified by:
toClusterDepthGradient in interface DepthGradientDao
See Also:
DepthGradientDao.toClusterDepthGradient(fr.ifremer.allegro.referential.DepthGradient)

clusterDepthGradientToEntity

public void clusterDepthGradientToEntity(ClusterDepthGradient source,
                                         DepthGradient target,
                                         boolean copyIfNull)
Description copied from interface: DepthGradientDao
Copies the fields of ClusterDepthGradient to the specified entity.

Specified by:
clusterDepthGradientToEntity in interface DepthGradientDao
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.DepthGradientDao#clusterDepthGradientToEntity(fr.ifremer.allegro.referential.generic.cluster.ClusterDepthGradient, fr.ifremer.allegro.referential.DepthGradient)

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: DepthGradientDao
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 DepthGradientDao
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:
DepthGradientDao.search(int, int, int, fr.ifremer.allegro.Search)

search

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

search

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

search

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

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


Copyright © 2008-2010 IFREMER. All Rights Reserved.