fr.ifremer.allegro.referential
Class NumericalPrecisionDaoBase

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.referential.NumericalPrecisionDaoBase
All Implemented Interfaces:
NumericalPrecisionDao
Direct Known Subclasses:
NumericalPrecisionDaoImpl

public abstract class NumericalPrecisionDaoBase
extends org.springframework.orm.hibernate3.support.HibernateDaoSupport
implements NumericalPrecisionDao

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

See Also:
NumericalPrecision

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.NumericalPrecisionDao
TRANSFORM_CLUSTERNUMERICALPRECISION, TRANSFORM_NONE, TRANSFORM_REMOTENUMERICALPRECISIONFULLVO, TRANSFORM_REMOTENUMERICALPRECISIONNATURALID
 
Constructor Summary
NumericalPrecisionDaoBase()
           
 
Method Summary
 void clusterNumericalPrecisionToEntity(ClusterNumericalPrecision source, NumericalPrecision target, boolean copyIfNull)
          Copies the fields of ClusterNumericalPrecision to the specified entity.
 void clusterNumericalPrecisionToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type ClusterNumericalPrecision to this DAO's entity.
 java.util.Collection create(java.util.Collection entities)
          Creates a new instance of fr.ifremer.allegro.referential.NumericalPrecision and adds from the passed in entities collection
 java.util.Collection create(int transform, java.util.Collection entities)
           Does the same thing as NumericalPrecisionDao.create(fr.ifremer.allegro.referential.NumericalPrecision) with an additional flag called transform.
 java.lang.Object create(int transform, NumericalPrecision numericalPrecision)
           Does the same thing as NumericalPrecisionDao.create(fr.ifremer.allegro.referential.NumericalPrecision) with an additional flag called transform.
 java.lang.Object create(int transform, java.lang.String description, java.lang.String name, Status status)
           Does the same thing as NumericalPrecisionDao.create(java.lang.String,java.lang.String,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.sql.Timestamp updateDate, Status status)
           Does the same thing as NumericalPrecisionDao.create(java.lang.String,java.lang.String,java.sql.Timestamp,fr.ifremer.allegro.referential.Status) with an additional flag called transform.
 NumericalPrecision create(NumericalPrecision numericalPrecision)
          Creates an instance of fr.ifremer.allegro.referential.NumericalPrecision and adds it to the persistent store.
 NumericalPrecision create(java.lang.String description, java.lang.String name, Status status)
           Creates a new fr.ifremer.allegro.referential.NumericalPrecision instance from only required properties (attributes and association ends) and adds it to the persistent store.
 NumericalPrecision create(java.lang.String name, java.lang.String description, java.sql.Timestamp updateDate, Status status)
           Creates a new fr.ifremer.allegro.referential.NumericalPrecision instance from all attributes and properties and adds it to the persistent store.
 NumericalPrecision createFromClusterNumericalPrecision(ClusterNumericalPrecision clusterNumericalPrecision)
           
 NumericalPrecision findNumericalPrecisionById(java.lang.Integer id)
           
 java.lang.Object findNumericalPrecisionById(int transform, java.lang.Integer id)
           Does the same thing as NumericalPrecisionDao.findNumericalPrecisionById(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findNumericalPrecisionById(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as NumericalPrecisionDao.findNumericalPrecisionById(int, java.lang.Integer) with an additional argument called queryString.
 NumericalPrecision findNumericalPrecisionById(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as NumericalPrecisionDao.findNumericalPrecisionById(java.lang.Integer) with an additional argument called queryString.
 NumericalPrecision findNumericalPrecisionByNaturalId(java.lang.Integer id)
           
 java.lang.Object findNumericalPrecisionByNaturalId(int transform, java.lang.Integer id)
           Does the same thing as NumericalPrecisionDao.findNumericalPrecisionByNaturalId(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findNumericalPrecisionByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as NumericalPrecisionDao.findNumericalPrecisionByNaturalId(int, java.lang.Integer) with an additional argument called queryString.
 NumericalPrecision findNumericalPrecisionByNaturalId(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as NumericalPrecisionDao.findNumericalPrecisionByNaturalId(java.lang.Integer) with an additional argument called queryString.
 java.util.Collection findNumericalPrecisionByStatus(int transform, int pageNumber, int pageSize, Status status)
           Does the same thing as NumericalPrecisionDao.findNumericalPrecisionByStatus(int, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findNumericalPrecisionByStatus(int pageNumber, int pageSize, Status status)
           Does the same thing as NumericalPrecisionDao.findNumericalPrecisionByStatus(fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findNumericalPrecisionByStatus(int transform, Status status)
           Does the same thing as NumericalPrecisionDao.findNumericalPrecisionByStatus(fr.ifremer.allegro.referential.Status) with an additional flag called transform.
 java.util.Collection findNumericalPrecisionByStatus(int transform, java.lang.String queryString, int pageNumber, int pageSize, Status status)
           Does the same thing as NumericalPrecisionDao.findNumericalPrecisionByStatus(int, String, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findNumericalPrecisionByStatus(int transform, java.lang.String queryString, Status status)
           Does the same thing as NumericalPrecisionDao.findNumericalPrecisionByStatus(int, fr.ifremer.allegro.referential.Status) with an additional argument called queryString.
 java.util.Collection findNumericalPrecisionByStatus(Status status)
           
 java.util.Collection findNumericalPrecisionByStatus(java.lang.String queryString, int pageNumber, int pageSize, Status status)
           Does the same thing as NumericalPrecisionDao.findNumericalPrecisionByStatus(String, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findNumericalPrecisionByStatus(java.lang.String queryString, Status status)
           Does the same thing as NumericalPrecisionDao.findNumericalPrecisionByStatus(fr.ifremer.allegro.referential.Status) with an additional argument called queryString.
 ClusterNumericalPrecision[] getAllClusterNumericalPrecisionSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
 java.util.Collection getAllNumericalPrecision()
           
 java.util.Collection getAllNumericalPrecision(int transform)
           Does the same thing as NumericalPrecisionDao.getAllNumericalPrecision() with an additional flag called transform.
 java.util.Collection getAllNumericalPrecision(int pageNumber, int pageSize)
           Does the same thing as NumericalPrecisionDao.getAllNumericalPrecision() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllNumericalPrecision(int transform, int pageNumber, int pageSize)
           Does the same thing as NumericalPrecisionDao.getAllNumericalPrecision(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllNumericalPrecision(int transform, java.lang.String queryString)
           Does the same thing as NumericalPrecisionDao.getAllNumericalPrecision(int) with an additional argument called queryString.
 java.util.Collection getAllNumericalPrecision(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as NumericalPrecisionDao.getAllNumericalPrecision(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllNumericalPrecision(java.lang.String queryString)
           Does the same thing as NumericalPrecisionDao.getAllNumericalPrecision() with an additional argument called queryString.
 java.util.Collection getAllNumericalPrecision(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as NumericalPrecisionDao.getAllNumericalPrecision(String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllNumericalPrecisionSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as NumericalPrecisionDao.getAllNumericalPrecisionSinceDateSynchro(int, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllNumericalPrecisionSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as NumericalPrecisionDao.getAllNumericalPrecisionSinceDateSynchro(java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllNumericalPrecisionSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as NumericalPrecisionDao.getAllNumericalPrecisionSinceDateSynchro(int, String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllNumericalPrecisionSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as NumericalPrecisionDao.getAllNumericalPrecisionSinceDateSynchro(int, java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllNumericalPrecisionSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
           Does the same thing as NumericalPrecisionDao.getAllNumericalPrecisionSinceDateSynchro(java.sql.Timestamp) with an additional flag called transform.
 java.util.Collection getAllNumericalPrecisionSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as NumericalPrecisionDao.getAllNumericalPrecisionSinceDateSynchro(String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllNumericalPrecisionSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as NumericalPrecisionDao.getAllNumericalPrecisionSinceDateSynchro(java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllNumericalPrecisionSinceDateSynchro(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  NumericalPrecision handleCreateFromClusterNumericalPrecision(ClusterNumericalPrecision clusterNumericalPrecision)
          Performs the core logic for createFromClusterNumericalPrecision(fr.ifremer.allegro.referential.generic.cluster.ClusterNumericalPrecision)
protected abstract  ClusterNumericalPrecision[] handleGetAllClusterNumericalPrecisionSinceDateSynchro(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 getAllClusterNumericalPrecisionSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 NumericalPrecision load(java.lang.Integer id)
          Loads an instance of fr.ifremer.allegro.referential.NumericalPrecision from the persistent store.
 java.lang.Object load(int transform, java.lang.Integer id)
           Does the same thing as NumericalPrecisionDao.load(java.lang.Integer) with an additional flag called transform.
 java.util.Collection loadAll()
          Loads all entities of type NumericalPrecision.
 java.util.Collection loadAll(int transform)
           Does the same thing as NumericalPrecisionDao.loadAll() with an additional flag called transform.
 java.util.Collection loadAll(int pageNumber, int pageSize)
           Does the same thing as NumericalPrecisionDao.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 NumericalPrecisionDao.loadAll(int) with an additional two arguments called pageNumber and pageSize.
 void remoteNumericalPrecisionFullVOToEntity(RemoteNumericalPrecisionFullVO source, NumericalPrecision target, boolean copyIfNull)
          Copies the fields of RemoteNumericalPrecisionFullVO to the specified entity.
 void remoteNumericalPrecisionFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteNumericalPrecisionFullVO to this DAO's entity.
 void remoteNumericalPrecisionNaturalIdToEntity(RemoteNumericalPrecisionNaturalId source, NumericalPrecision target, boolean copyIfNull)
          Copies the fields of RemoteNumericalPrecisionNaturalId to the specified entity.
 void remoteNumericalPrecisionNaturalIdToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteNumericalPrecisionNaturalId to this DAO's entity.
 void remove(java.util.Collection entities)
          Removes all entities in the given entities collection.
 void remove(java.lang.Integer id)
          Removes the instance of fr.ifremer.allegro.referential.NumericalPrecision having the given identifier from the persistent store.
 void remove(NumericalPrecision numericalPrecision)
          Removes the instance of fr.ifremer.allegro.referential.NumericalPrecision 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 NumericalPrecisionDao.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.
 ClusterNumericalPrecision toClusterNumericalPrecision(NumericalPrecision entity)
          Converts this DAO's entity to an object of type ClusterNumericalPrecision.
 void toClusterNumericalPrecision(NumericalPrecision source, ClusterNumericalPrecision target)
          Copies the fields of the specified entity to the target value object.
protected  ClusterNumericalPrecision toClusterNumericalPrecision(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 ClusterNumericalPrecision[] toClusterNumericalPrecisionArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type ClusterNumericalPrecision.
 void toClusterNumericalPrecisionCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type ClusterNumericalPrecision.
protected  NumericalPrecision toEntity(java.lang.Object[] row)
           
 RemoteNumericalPrecisionFullVO toRemoteNumericalPrecisionFullVO(NumericalPrecision entity)
          Converts this DAO's entity to an object of type RemoteNumericalPrecisionFullVO.
 void toRemoteNumericalPrecisionFullVO(NumericalPrecision source, RemoteNumericalPrecisionFullVO target)
          Copies the fields of the specified entity to the target value object.
protected  RemoteNumericalPrecisionFullVO toRemoteNumericalPrecisionFullVO(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteNumericalPrecisionFullVO[] toRemoteNumericalPrecisionFullVOArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteNumericalPrecisionFullVO.
 void toRemoteNumericalPrecisionFullVOCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteNumericalPrecisionFullVO.
 RemoteNumericalPrecisionNaturalId toRemoteNumericalPrecisionNaturalId(NumericalPrecision entity)
          Converts this DAO's entity to an object of type RemoteNumericalPrecisionNaturalId.
 void toRemoteNumericalPrecisionNaturalId(NumericalPrecision source, RemoteNumericalPrecisionNaturalId target)
          Copies the fields of the specified entity to the target value object.
protected  RemoteNumericalPrecisionNaturalId toRemoteNumericalPrecisionNaturalId(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteNumericalPrecisionNaturalId[] toRemoteNumericalPrecisionNaturalIdArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteNumericalPrecisionNaturalId.
 void toRemoteNumericalPrecisionNaturalIdCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteNumericalPrecisionNaturalId.
protected  void transformEntities(int transform, java.util.Collection entities)
          Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.NumericalPrecision) method.
protected  java.lang.Object transformEntity(int transform, NumericalPrecision 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.NumericalPrecisionDao, please note that the NumericalPrecisionDao.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(NumericalPrecision numericalPrecision)
          Updates the numericalPrecision 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.NumericalPrecisionDao
clusterNumericalPrecisionToEntity, remoteNumericalPrecisionFullVOToEntity, remoteNumericalPrecisionNaturalIdToEntity
 

Constructor Detail

NumericalPrecisionDaoBase

public NumericalPrecisionDaoBase()
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: NumericalPrecisionDao

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

load

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

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

loadAll

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

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

loadAll

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

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

loadAll

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

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

loadAll

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

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

create

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

Specified by:
create in interface NumericalPrecisionDao
See Also:
NumericalPrecisionDao.create(fr.ifremer.allegro.referential.NumericalPrecision)

create

public java.lang.Object create(int transform,
                               NumericalPrecision numericalPrecision)
Description copied from interface: NumericalPrecisionDao

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

create

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

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

create

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

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

create

public NumericalPrecision create(java.lang.String name,
                                 java.lang.String description,
                                 java.sql.Timestamp updateDate,
                                 Status status)
Description copied from interface: NumericalPrecisionDao

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

Specified by:
create in interface NumericalPrecisionDao
See Also:
NumericalPrecisionDao.create(java.lang.String,java.lang.String,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.sql.Timestamp updateDate,
                               Status status)
Description copied from interface: NumericalPrecisionDao

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

create

public NumericalPrecision create(java.lang.String description,
                                 java.lang.String name,
                                 Status status)
Description copied from interface: NumericalPrecisionDao

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

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

create

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

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

update

public void update(NumericalPrecision numericalPrecision)
Description copied from interface: NumericalPrecisionDao
Updates the numericalPrecision instance in the persistent store.

Specified by:
update in interface NumericalPrecisionDao
See Also:
NumericalPrecisionDao.update(fr.ifremer.allegro.referential.NumericalPrecision)

update

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

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

remove

public void remove(NumericalPrecision numericalPrecision)
Description copied from interface: NumericalPrecisionDao
Removes the instance of fr.ifremer.allegro.referential.NumericalPrecision from the persistent store.

Specified by:
remove in interface NumericalPrecisionDao
See Also:
NumericalPrecisionDao.remove(fr.ifremer.allegro.referential.NumericalPrecision)

remove

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

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

remove

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

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

getAllNumericalPrecision

public java.util.Collection getAllNumericalPrecision()
Specified by:
getAllNumericalPrecision in interface NumericalPrecisionDao
See Also:
NumericalPrecisionDao.getAllNumericalPrecision()

getAllNumericalPrecision

public java.util.Collection getAllNumericalPrecision(int transform)
Description copied from interface: NumericalPrecisionDao

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

getAllNumericalPrecision

public java.util.Collection getAllNumericalPrecision(java.lang.String queryString)
Description copied from interface: NumericalPrecisionDao

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

Specified by:
getAllNumericalPrecision in interface NumericalPrecisionDao
See Also:
NumericalPrecisionDao.getAllNumericalPrecision(java.lang.String)

getAllNumericalPrecision

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

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

getAllNumericalPrecision

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

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

getAllNumericalPrecision

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

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

Specified by:
getAllNumericalPrecision in interface NumericalPrecisionDao
See Also:
NumericalPrecisionDao.getAllNumericalPrecision(int, String)

getAllNumericalPrecision

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

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

getAllNumericalPrecision

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

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

findNumericalPrecisionById

public NumericalPrecision findNumericalPrecisionById(java.lang.Integer id)
Specified by:
findNumericalPrecisionById in interface NumericalPrecisionDao
See Also:
NumericalPrecisionDao.findNumericalPrecisionById(java.lang.Integer)

findNumericalPrecisionById

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

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

findNumericalPrecisionById

public NumericalPrecision findNumericalPrecisionById(java.lang.String queryString,
                                                     java.lang.Integer id)
Description copied from interface: NumericalPrecisionDao

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

Specified by:
findNumericalPrecisionById in interface NumericalPrecisionDao
See Also:
NumericalPrecisionDao.findNumericalPrecisionById(java.lang.String, java.lang.Integer)

findNumericalPrecisionById

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

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

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

findNumericalPrecisionByStatus

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

findNumericalPrecisionByStatus

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

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

findNumericalPrecisionByStatus

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

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

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

findNumericalPrecisionByStatus

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

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

findNumericalPrecisionByStatus

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

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

findNumericalPrecisionByStatus

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

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

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

findNumericalPrecisionByStatus

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

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

findNumericalPrecisionByStatus

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

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

findNumericalPrecisionByNaturalId

public NumericalPrecision findNumericalPrecisionByNaturalId(java.lang.Integer id)
Specified by:
findNumericalPrecisionByNaturalId in interface NumericalPrecisionDao
See Also:
NumericalPrecisionDao.findNumericalPrecisionByNaturalId(java.lang.Integer)

findNumericalPrecisionByNaturalId

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

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

findNumericalPrecisionByNaturalId

public NumericalPrecision findNumericalPrecisionByNaturalId(java.lang.String queryString,
                                                            java.lang.Integer id)
Description copied from interface: NumericalPrecisionDao

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

Specified by:
findNumericalPrecisionByNaturalId in interface NumericalPrecisionDao
See Also:
NumericalPrecisionDao.findNumericalPrecisionByNaturalId(java.lang.String, java.lang.Integer)

findNumericalPrecisionByNaturalId

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

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

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

getAllNumericalPrecisionSinceDateSynchro

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

getAllNumericalPrecisionSinceDateSynchro

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

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

getAllNumericalPrecisionSinceDateSynchro

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

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

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

getAllNumericalPrecisionSinceDateSynchro

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

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

getAllNumericalPrecisionSinceDateSynchro

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

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

getAllNumericalPrecisionSinceDateSynchro

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

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

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

getAllNumericalPrecisionSinceDateSynchro

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

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

getAllNumericalPrecisionSinceDateSynchro

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

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

createFromClusterNumericalPrecision

public NumericalPrecision createFromClusterNumericalPrecision(ClusterNumericalPrecision clusterNumericalPrecision)
Specified by:
createFromClusterNumericalPrecision in interface NumericalPrecisionDao
See Also:
NumericalPrecisionDao.createFromClusterNumericalPrecision(fr.ifremer.allegro.referential.generic.cluster.ClusterNumericalPrecision)

handleCreateFromClusterNumericalPrecision

protected abstract NumericalPrecision handleCreateFromClusterNumericalPrecision(ClusterNumericalPrecision clusterNumericalPrecision)
                                                                         throws java.lang.Exception
Performs the core logic for createFromClusterNumericalPrecision(fr.ifremer.allegro.referential.generic.cluster.ClusterNumericalPrecision)

Throws:
java.lang.Exception

getAllClusterNumericalPrecisionSinceDateSynchro

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

handleGetAllClusterNumericalPrecisionSinceDateSynchro

protected abstract ClusterNumericalPrecision[] handleGetAllClusterNumericalPrecisionSinceDateSynchro(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 getAllClusterNumericalPrecisionSinceDateSynchro(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,
                                           NumericalPrecision 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.NumericalPrecisionDao, please note that the NumericalPrecisionDao.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 NumericalPrecisionDao.TRANSFORM_NONE is assumed.

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

toEntity

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

toRemoteNumericalPrecisionFullVOCollection

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

Specified by:
toRemoteNumericalPrecisionFullVOCollection in interface NumericalPrecisionDao
See Also:
NumericalPrecisionDao.toRemoteNumericalPrecisionFullVOCollection(java.util.Collection)

toRemoteNumericalPrecisionFullVOArray

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

Specified by:
toRemoteNumericalPrecisionFullVOArray in interface NumericalPrecisionDao
See Also:
NumericalPrecisionDao.toRemoteNumericalPrecisionFullVOArray(java.util.Collection)

toRemoteNumericalPrecisionFullVO

protected RemoteNumericalPrecisionFullVO toRemoteNumericalPrecisionFullVO(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 NumericalPrecisionDaoImpl class if you intend to use reporting queries.

See Also:
NumericalPrecisionDao.toRemoteNumericalPrecisionFullVO(fr.ifremer.allegro.referential.NumericalPrecision)

remoteNumericalPrecisionFullVOToEntityCollection

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

Specified by:
remoteNumericalPrecisionFullVOToEntityCollection in interface NumericalPrecisionDao
See Also:
NumericalPrecisionDao.remoteNumericalPrecisionFullVOToEntityCollection(java.util.Collection)

toRemoteNumericalPrecisionFullVO

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

toRemoteNumericalPrecisionFullVO

public RemoteNumericalPrecisionFullVO toRemoteNumericalPrecisionFullVO(NumericalPrecision entity)
Description copied from interface: NumericalPrecisionDao
Converts this DAO's entity to an object of type RemoteNumericalPrecisionFullVO.

Specified by:
toRemoteNumericalPrecisionFullVO in interface NumericalPrecisionDao
See Also:
NumericalPrecisionDao.toRemoteNumericalPrecisionFullVO(fr.ifremer.allegro.referential.NumericalPrecision)

remoteNumericalPrecisionFullVOToEntity

public void remoteNumericalPrecisionFullVOToEntity(RemoteNumericalPrecisionFullVO source,
                                                   NumericalPrecision target,
                                                   boolean copyIfNull)
Description copied from interface: NumericalPrecisionDao
Copies the fields of RemoteNumericalPrecisionFullVO to the specified entity.

Specified by:
remoteNumericalPrecisionFullVOToEntity in interface NumericalPrecisionDao
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.NumericalPrecisionDao#remoteNumericalPrecisionFullVOToEntity(fr.ifremer.allegro.referential.generic.vo.RemoteNumericalPrecisionFullVO, fr.ifremer.allegro.referential.NumericalPrecision)

toRemoteNumericalPrecisionNaturalIdCollection

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

Specified by:
toRemoteNumericalPrecisionNaturalIdCollection in interface NumericalPrecisionDao
See Also:
NumericalPrecisionDao.toRemoteNumericalPrecisionNaturalIdCollection(java.util.Collection)

toRemoteNumericalPrecisionNaturalIdArray

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

Specified by:
toRemoteNumericalPrecisionNaturalIdArray in interface NumericalPrecisionDao
See Also:
NumericalPrecisionDao.toRemoteNumericalPrecisionNaturalIdArray(java.util.Collection)

toRemoteNumericalPrecisionNaturalId

protected RemoteNumericalPrecisionNaturalId toRemoteNumericalPrecisionNaturalId(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 NumericalPrecisionDaoImpl class if you intend to use reporting queries.

See Also:
NumericalPrecisionDao.toRemoteNumericalPrecisionNaturalId(fr.ifremer.allegro.referential.NumericalPrecision)

remoteNumericalPrecisionNaturalIdToEntityCollection

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

Specified by:
remoteNumericalPrecisionNaturalIdToEntityCollection in interface NumericalPrecisionDao
See Also:
NumericalPrecisionDao.remoteNumericalPrecisionNaturalIdToEntityCollection(java.util.Collection)

toRemoteNumericalPrecisionNaturalId

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

toRemoteNumericalPrecisionNaturalId

public RemoteNumericalPrecisionNaturalId toRemoteNumericalPrecisionNaturalId(NumericalPrecision entity)
Description copied from interface: NumericalPrecisionDao
Converts this DAO's entity to an object of type RemoteNumericalPrecisionNaturalId.

Specified by:
toRemoteNumericalPrecisionNaturalId in interface NumericalPrecisionDao
See Also:
NumericalPrecisionDao.toRemoteNumericalPrecisionNaturalId(fr.ifremer.allegro.referential.NumericalPrecision)

remoteNumericalPrecisionNaturalIdToEntity

public void remoteNumericalPrecisionNaturalIdToEntity(RemoteNumericalPrecisionNaturalId source,
                                                      NumericalPrecision target,
                                                      boolean copyIfNull)
Description copied from interface: NumericalPrecisionDao
Copies the fields of RemoteNumericalPrecisionNaturalId to the specified entity.

Specified by:
remoteNumericalPrecisionNaturalIdToEntity in interface NumericalPrecisionDao
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.NumericalPrecisionDao#remoteNumericalPrecisionNaturalIdToEntity(fr.ifremer.allegro.referential.generic.vo.RemoteNumericalPrecisionNaturalId, fr.ifremer.allegro.referential.NumericalPrecision)

toClusterNumericalPrecisionCollection

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

Specified by:
toClusterNumericalPrecisionCollection in interface NumericalPrecisionDao
See Also:
NumericalPrecisionDao.toClusterNumericalPrecisionCollection(java.util.Collection)

toClusterNumericalPrecisionArray

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

Specified by:
toClusterNumericalPrecisionArray in interface NumericalPrecisionDao
See Also:
NumericalPrecisionDao.toClusterNumericalPrecisionArray(java.util.Collection)

toClusterNumericalPrecision

protected ClusterNumericalPrecision toClusterNumericalPrecision(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 NumericalPrecisionDaoImpl class if you intend to use reporting queries.

See Also:
NumericalPrecisionDao.toClusterNumericalPrecision(fr.ifremer.allegro.referential.NumericalPrecision)

clusterNumericalPrecisionToEntityCollection

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

Specified by:
clusterNumericalPrecisionToEntityCollection in interface NumericalPrecisionDao
See Also:
NumericalPrecisionDao.clusterNumericalPrecisionToEntityCollection(java.util.Collection)

toClusterNumericalPrecision

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

toClusterNumericalPrecision

public ClusterNumericalPrecision toClusterNumericalPrecision(NumericalPrecision entity)
Description copied from interface: NumericalPrecisionDao
Converts this DAO's entity to an object of type ClusterNumericalPrecision.

Specified by:
toClusterNumericalPrecision in interface NumericalPrecisionDao
See Also:
NumericalPrecisionDao.toClusterNumericalPrecision(fr.ifremer.allegro.referential.NumericalPrecision)

clusterNumericalPrecisionToEntity

public void clusterNumericalPrecisionToEntity(ClusterNumericalPrecision source,
                                              NumericalPrecision target,
                                              boolean copyIfNull)
Description copied from interface: NumericalPrecisionDao
Copies the fields of ClusterNumericalPrecision to the specified entity.

Specified by:
clusterNumericalPrecisionToEntity in interface NumericalPrecisionDao
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.NumericalPrecisionDao#clusterNumericalPrecisionToEntity(fr.ifremer.allegro.referential.generic.cluster.ClusterNumericalPrecision, fr.ifremer.allegro.referential.NumericalPrecision)

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

search

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

search

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

search

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

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


Copyright © 2008-2010 IFREMER. All Rights Reserved.