fr.ifremer.allegro.referential.pmfm
Class QualitativeValueDaoBase

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.referential.pmfm.QualitativeValueDaoBase
All Implemented Interfaces:
QualitativeValueDao
Direct Known Subclasses:
QualitativeValueDaoImpl

public abstract class QualitativeValueDaoBase
extends org.springframework.orm.hibernate3.support.HibernateDaoSupport
implements QualitativeValueDao

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

See Also:
QualitativeValue

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.pmfm.QualitativeValueDao
TRANSFORM_CLUSTERQUALITATIVEVALUE, TRANSFORM_NONE, TRANSFORM_REMOTEQUALITATIVEVALUEFULLVO, TRANSFORM_REMOTEQUALITATIVEVALUENATURALID
 
Constructor Summary
QualitativeValueDaoBase()
           
 
Method Summary
 void clusterQualitativeValueToEntity(ClusterQualitativeValue source, QualitativeValue target, boolean copyIfNull)
          Copies the fields of ClusterQualitativeValue to the specified entity.
 void clusterQualitativeValueToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type ClusterQualitativeValue to this DAO's entity.
 java.util.Collection create(java.util.Collection entities)
          Creates a new instance of fr.ifremer.allegro.referential.pmfm.QualitativeValue and adds from the passed in entities collection
 java.util.Collection create(int transform, java.util.Collection entities)
           Does the same thing as QualitativeValueDao.create(fr.ifremer.allegro.referential.pmfm.QualitativeValue) with an additional flag called transform.
 java.lang.Object create(int transform, QualitativeValue qualitativeValue)
           Does the same thing as QualitativeValueDao.create(fr.ifremer.allegro.referential.pmfm.QualitativeValue) with an additional flag called transform.
 java.lang.Object create(int transform, java.lang.String name, Parameter parameter, Status status)
           Does the same thing as QualitativeValueDao.create(java.lang.String,fr.ifremer.allegro.referential.pmfm.Parameter,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, Parameter parameter, Status status)
           Does the same thing as QualitativeValueDao.create(java.lang.String,java.lang.String,fr.ifremer.allegro.referential.pmfm.Parameter,fr.ifremer.allegro.referential.Status) with an additional flag called transform.
 QualitativeValue create(QualitativeValue qualitativeValue)
          Creates an instance of fr.ifremer.allegro.referential.pmfm.QualitativeValue and adds it to the persistent store.
 QualitativeValue create(java.lang.String name, Parameter parameter, Status status)
           Creates a new fr.ifremer.allegro.referential.pmfm.QualitativeValue instance from only required properties (attributes and association ends) and adds it to the persistent store.
 QualitativeValue create(java.lang.String name, java.lang.String description, Parameter parameter, Status status)
           Creates a new fr.ifremer.allegro.referential.pmfm.QualitativeValue instance from all attributes and properties and adds it to the persistent store.
 QualitativeValue createFromClusterQualitativeValue(ClusterQualitativeValue clusterQualitativeValue)
           
 QualitativeValue findQualitativeValueById(java.lang.Integer id)
           
 java.lang.Object findQualitativeValueById(int transform, java.lang.Integer id)
           Does the same thing as QualitativeValueDao.findQualitativeValueById(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findQualitativeValueById(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as QualitativeValueDao.findQualitativeValueById(int, java.lang.Integer) with an additional argument called queryString.
 QualitativeValue findQualitativeValueById(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as QualitativeValueDao.findQualitativeValueById(java.lang.Integer) with an additional argument called queryString.
 QualitativeValue findQualitativeValueByNaturalId(java.lang.Integer id)
           
 java.lang.Object findQualitativeValueByNaturalId(int transform, java.lang.Integer id)
           Does the same thing as QualitativeValueDao.findQualitativeValueByNaturalId(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findQualitativeValueByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as QualitativeValueDao.findQualitativeValueByNaturalId(int, java.lang.Integer) with an additional argument called queryString.
 QualitativeValue findQualitativeValueByNaturalId(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as QualitativeValueDao.findQualitativeValueByNaturalId(java.lang.Integer) with an additional argument called queryString.
 java.util.Collection findQualitativeValueByParameter(int transform, int pageNumber, int pageSize, Parameter parameter)
           Does the same thing as QualitativeValueDao.findQualitativeValueByParameter(int, fr.ifremer.allegro.referential.pmfm.Parameter) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findQualitativeValueByParameter(int pageNumber, int pageSize, Parameter parameter)
           Does the same thing as QualitativeValueDao.findQualitativeValueByParameter(fr.ifremer.allegro.referential.pmfm.Parameter) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findQualitativeValueByParameter(int transform, Parameter parameter)
           Does the same thing as QualitativeValueDao.findQualitativeValueByParameter(fr.ifremer.allegro.referential.pmfm.Parameter) with an additional flag called transform.
 java.util.Collection findQualitativeValueByParameter(int transform, java.lang.String queryString, int pageNumber, int pageSize, Parameter parameter)
           Does the same thing as QualitativeValueDao.findQualitativeValueByParameter(int, String, fr.ifremer.allegro.referential.pmfm.Parameter) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findQualitativeValueByParameter(int transform, java.lang.String queryString, Parameter parameter)
           Does the same thing as QualitativeValueDao.findQualitativeValueByParameter(int, fr.ifremer.allegro.referential.pmfm.Parameter) with an additional argument called queryString.
 java.util.Collection findQualitativeValueByParameter(Parameter parameter)
           
 java.util.Collection findQualitativeValueByParameter(java.lang.String queryString, int pageNumber, int pageSize, Parameter parameter)
           Does the same thing as QualitativeValueDao.findQualitativeValueByParameter(String, fr.ifremer.allegro.referential.pmfm.Parameter) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findQualitativeValueByParameter(java.lang.String queryString, Parameter parameter)
           Does the same thing as QualitativeValueDao.findQualitativeValueByParameter(fr.ifremer.allegro.referential.pmfm.Parameter) with an additional argument called queryString.
 java.util.Collection findQualitativeValueByStatus(int transform, int pageNumber, int pageSize, Status status)
           Does the same thing as QualitativeValueDao.findQualitativeValueByStatus(int, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findQualitativeValueByStatus(int pageNumber, int pageSize, Status status)
           Does the same thing as QualitativeValueDao.findQualitativeValueByStatus(fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findQualitativeValueByStatus(int transform, Status status)
           Does the same thing as QualitativeValueDao.findQualitativeValueByStatus(fr.ifremer.allegro.referential.Status) with an additional flag called transform.
 java.util.Collection findQualitativeValueByStatus(int transform, java.lang.String queryString, int pageNumber, int pageSize, Status status)
           Does the same thing as QualitativeValueDao.findQualitativeValueByStatus(int, String, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findQualitativeValueByStatus(int transform, java.lang.String queryString, Status status)
           Does the same thing as QualitativeValueDao.findQualitativeValueByStatus(int, fr.ifremer.allegro.referential.Status) with an additional argument called queryString.
 java.util.Collection findQualitativeValueByStatus(Status status)
           
 java.util.Collection findQualitativeValueByStatus(java.lang.String queryString, int pageNumber, int pageSize, Status status)
           Does the same thing as QualitativeValueDao.findQualitativeValueByStatus(String, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findQualitativeValueByStatus(java.lang.String queryString, Status status)
           Does the same thing as QualitativeValueDao.findQualitativeValueByStatus(fr.ifremer.allegro.referential.Status) with an additional argument called queryString.
 java.util.Collection getAllQualitativeValue()
           
 java.util.Collection getAllQualitativeValue(int transform)
           Does the same thing as QualitativeValueDao.getAllQualitativeValue() with an additional flag called transform.
 java.util.Collection getAllQualitativeValue(int pageNumber, int pageSize)
           Does the same thing as QualitativeValueDao.getAllQualitativeValue() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllQualitativeValue(int transform, int pageNumber, int pageSize)
           Does the same thing as QualitativeValueDao.getAllQualitativeValue(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllQualitativeValue(int transform, java.lang.String queryString)
           Does the same thing as QualitativeValueDao.getAllQualitativeValue(int) with an additional argument called queryString.
 java.util.Collection getAllQualitativeValue(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as QualitativeValueDao.getAllQualitativeValue(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllQualitativeValue(java.lang.String queryString)
           Does the same thing as QualitativeValueDao.getAllQualitativeValue() with an additional argument called queryString.
 java.util.Collection getAllQualitativeValue(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as QualitativeValueDao.getAllQualitativeValue(String) with an additional two arguments called pageNumber and pageSize.
protected  ParameterDao getParameterDao()
          Gets the reference to parameterDao.
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  QualitativeValue handleCreateFromClusterQualitativeValue(ClusterQualitativeValue clusterQualitativeValue)
          Performs the core logic for createFromClusterQualitativeValue(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterQualitativeValue)
 QualitativeValue load(java.lang.Integer id)
          Loads an instance of fr.ifremer.allegro.referential.pmfm.QualitativeValue from the persistent store.
 java.lang.Object load(int transform, java.lang.Integer id)
           Does the same thing as QualitativeValueDao.load(java.lang.Integer) with an additional flag called transform.
 java.util.Collection loadAll()
          Loads all entities of type QualitativeValue.
 java.util.Collection loadAll(int transform)
           Does the same thing as QualitativeValueDao.loadAll() with an additional flag called transform.
 java.util.Collection loadAll(int pageNumber, int pageSize)
           Does the same thing as QualitativeValueDao.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 QualitativeValueDao.loadAll(int) with an additional two arguments called pageNumber and pageSize.
 void remoteQualitativeValueFullVOToEntity(RemoteQualitativeValueFullVO source, QualitativeValue target, boolean copyIfNull)
          Copies the fields of RemoteQualitativeValueFullVO to the specified entity.
 void remoteQualitativeValueFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteQualitativeValueFullVO to this DAO's entity.
 void remoteQualitativeValueNaturalIdToEntity(RemoteQualitativeValueNaturalId source, QualitativeValue target, boolean copyIfNull)
          Copies the fields of RemoteQualitativeValueNaturalId to the specified entity.
 void remoteQualitativeValueNaturalIdToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteQualitativeValueNaturalId 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.pmfm.QualitativeValue having the given identifier from the persistent store.
 void remove(QualitativeValue qualitativeValue)
          Removes the instance of fr.ifremer.allegro.referential.pmfm.QualitativeValue 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 QualitativeValueDao.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 setParameterDao(ParameterDao parameterDao)
          Sets the reference to parameterDao.
 void setStatusDao(StatusDao statusDao)
          Sets the reference to statusDao.
protected  ClusterQualitativeValue toClusterQualitativeValue(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 ClusterQualitativeValue toClusterQualitativeValue(QualitativeValue entity)
          Converts this DAO's entity to an object of type ClusterQualitativeValue.
 void toClusterQualitativeValue(QualitativeValue source, ClusterQualitativeValue target)
          Copies the fields of the specified entity to the target value object.
 ClusterQualitativeValue[] toClusterQualitativeValueArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type ClusterQualitativeValue.
 void toClusterQualitativeValueCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type ClusterQualitativeValue.
protected  QualitativeValue toEntity(java.lang.Object[] row)
           
protected  RemoteQualitativeValueFullVO toRemoteQualitativeValueFullVO(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteQualitativeValueFullVO toRemoteQualitativeValueFullVO(QualitativeValue entity)
          Converts this DAO's entity to an object of type RemoteQualitativeValueFullVO.
 void toRemoteQualitativeValueFullVO(QualitativeValue source, RemoteQualitativeValueFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteQualitativeValueFullVO[] toRemoteQualitativeValueFullVOArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteQualitativeValueFullVO.
 void toRemoteQualitativeValueFullVOCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteQualitativeValueFullVO.
protected  RemoteQualitativeValueNaturalId toRemoteQualitativeValueNaturalId(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteQualitativeValueNaturalId toRemoteQualitativeValueNaturalId(QualitativeValue entity)
          Converts this DAO's entity to an object of type RemoteQualitativeValueNaturalId.
 void toRemoteQualitativeValueNaturalId(QualitativeValue source, RemoteQualitativeValueNaturalId target)
          Copies the fields of the specified entity to the target value object.
 RemoteQualitativeValueNaturalId[] toRemoteQualitativeValueNaturalIdArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteQualitativeValueNaturalId.
 void toRemoteQualitativeValueNaturalIdCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteQualitativeValueNaturalId.
protected  void transformEntities(int transform, java.util.Collection entities)
          Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.pmfm.QualitativeValue) method.
protected  java.lang.Object transformEntity(int transform, QualitativeValue 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.pmfm.QualitativeValueDao, please note that the QualitativeValueDao.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(QualitativeValue qualitativeValue)
          Updates the qualitativeValue 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.pmfm.QualitativeValueDao
clusterQualitativeValueToEntity, remoteQualitativeValueFullVOToEntity, remoteQualitativeValueNaturalIdToEntity
 

Constructor Detail

QualitativeValueDaoBase

public QualitativeValueDaoBase()
Method Detail

setParameterDao

public void setParameterDao(ParameterDao parameterDao)
Sets the reference to parameterDao.


getParameterDao

protected ParameterDao getParameterDao()
Gets the reference to parameterDao.


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: QualitativeValueDao

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

load

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

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

loadAll

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

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

loadAll

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

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

loadAll

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

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

loadAll

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

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

create

public QualitativeValue create(QualitativeValue qualitativeValue)
Description copied from interface: QualitativeValueDao
Creates an instance of fr.ifremer.allegro.referential.pmfm.QualitativeValue and adds it to the persistent store.

Specified by:
create in interface QualitativeValueDao
See Also:
QualitativeValueDao.create(fr.ifremer.allegro.referential.pmfm.QualitativeValue)

create

public java.lang.Object create(int transform,
                               QualitativeValue qualitativeValue)
Description copied from interface: QualitativeValueDao

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

create

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

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

create

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

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

create

public QualitativeValue create(java.lang.String name,
                               java.lang.String description,
                               Parameter parameter,
                               Status status)
Description copied from interface: QualitativeValueDao

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

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

create

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

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

create

public QualitativeValue create(java.lang.String name,
                               Parameter parameter,
                               Status status)
Description copied from interface: QualitativeValueDao

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

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

create

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

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

update

public void update(QualitativeValue qualitativeValue)
Description copied from interface: QualitativeValueDao
Updates the qualitativeValue instance in the persistent store.

Specified by:
update in interface QualitativeValueDao
See Also:
QualitativeValueDao.update(fr.ifremer.allegro.referential.pmfm.QualitativeValue)

update

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

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

remove

public void remove(QualitativeValue qualitativeValue)
Description copied from interface: QualitativeValueDao
Removes the instance of fr.ifremer.allegro.referential.pmfm.QualitativeValue from the persistent store.

Specified by:
remove in interface QualitativeValueDao
See Also:
QualitativeValueDao.remove(fr.ifremer.allegro.referential.pmfm.QualitativeValue)

remove

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

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

remove

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

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

getAllQualitativeValue

public java.util.Collection getAllQualitativeValue()
Specified by:
getAllQualitativeValue in interface QualitativeValueDao
See Also:
QualitativeValueDao.getAllQualitativeValue()

getAllQualitativeValue

public java.util.Collection getAllQualitativeValue(int transform)
Description copied from interface: QualitativeValueDao

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

getAllQualitativeValue

public java.util.Collection getAllQualitativeValue(java.lang.String queryString)
Description copied from interface: QualitativeValueDao

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

Specified by:
getAllQualitativeValue in interface QualitativeValueDao
See Also:
QualitativeValueDao.getAllQualitativeValue(java.lang.String)

getAllQualitativeValue

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

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

getAllQualitativeValue

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

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

getAllQualitativeValue

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

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

Specified by:
getAllQualitativeValue in interface QualitativeValueDao
See Also:
QualitativeValueDao.getAllQualitativeValue(int, String)

getAllQualitativeValue

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

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

getAllQualitativeValue

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

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

findQualitativeValueById

public QualitativeValue findQualitativeValueById(java.lang.Integer id)
Specified by:
findQualitativeValueById in interface QualitativeValueDao
See Also:
QualitativeValueDao.findQualitativeValueById(java.lang.Integer)

findQualitativeValueById

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

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

findQualitativeValueById

public QualitativeValue findQualitativeValueById(java.lang.String queryString,
                                                 java.lang.Integer id)
Description copied from interface: QualitativeValueDao

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

Specified by:
findQualitativeValueById in interface QualitativeValueDao
See Also:
QualitativeValueDao.findQualitativeValueById(java.lang.String, java.lang.Integer)

findQualitativeValueById

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

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

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

findQualitativeValueByParameter

public java.util.Collection findQualitativeValueByParameter(Parameter parameter)
Specified by:
findQualitativeValueByParameter in interface QualitativeValueDao
See Also:
QualitativeValueDao.findQualitativeValueByParameter(fr.ifremer.allegro.referential.pmfm.Parameter)

findQualitativeValueByParameter

public java.util.Collection findQualitativeValueByParameter(int transform,
                                                            Parameter parameter)
Description copied from interface: QualitativeValueDao

Does the same thing as QualitativeValueDao.findQualitativeValueByParameter(fr.ifremer.allegro.referential.pmfm.Parameter) 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:
findQualitativeValueByParameter in interface QualitativeValueDao
See Also:
QualitativeValueDao.findQualitativeValueByParameter(int, fr.ifremer.allegro.referential.pmfm.Parameter)

findQualitativeValueByParameter

public java.util.Collection findQualitativeValueByParameter(java.lang.String queryString,
                                                            Parameter parameter)
Description copied from interface: QualitativeValueDao

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

Specified by:
findQualitativeValueByParameter in interface QualitativeValueDao
See Also:
QualitativeValueDao.findQualitativeValueByParameter(java.lang.String, fr.ifremer.allegro.referential.pmfm.Parameter)

findQualitativeValueByParameter

public java.util.Collection findQualitativeValueByParameter(int pageNumber,
                                                            int pageSize,
                                                            Parameter parameter)
Description copied from interface: QualitativeValueDao

Does the same thing as QualitativeValueDao.findQualitativeValueByParameter(fr.ifremer.allegro.referential.pmfm.Parameter) 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:
findQualitativeValueByParameter in interface QualitativeValueDao
See Also:
QualitativeValueDao.findQualitativeValueByParameter(int, int, fr.ifremer.allegro.referential.pmfm.Parameter)

findQualitativeValueByParameter

public java.util.Collection findQualitativeValueByParameter(java.lang.String queryString,
                                                            int pageNumber,
                                                            int pageSize,
                                                            Parameter parameter)
Description copied from interface: QualitativeValueDao

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

findQualitativeValueByParameter

public java.util.Collection findQualitativeValueByParameter(int transform,
                                                            java.lang.String queryString,
                                                            Parameter parameter)
Description copied from interface: QualitativeValueDao

Does the same thing as QualitativeValueDao.findQualitativeValueByParameter(int, fr.ifremer.allegro.referential.pmfm.Parameter) with an additional argument called queryString. This queryString argument allows you to override the query string defined in QualitativeValueDao.findQualitativeValueByParameter(int, fr.ifremer.allegro.referential.pmfm.Parameter parameter).

Specified by:
findQualitativeValueByParameter in interface QualitativeValueDao
See Also:
QualitativeValueDao.findQualitativeValueByParameter(int, String, fr.ifremer.allegro.referential.pmfm.Parameter)

findQualitativeValueByParameter

public java.util.Collection findQualitativeValueByParameter(int transform,
                                                            int pageNumber,
                                                            int pageSize,
                                                            Parameter parameter)
Description copied from interface: QualitativeValueDao

Does the same thing as QualitativeValueDao.findQualitativeValueByParameter(int, fr.ifremer.allegro.referential.pmfm.Parameter) 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:
findQualitativeValueByParameter in interface QualitativeValueDao
See Also:
QualitativeValueDao.findQualitativeValueByParameter(int, int, int, fr.ifremer.allegro.referential.pmfm.Parameter)

findQualitativeValueByParameter

public java.util.Collection findQualitativeValueByParameter(int transform,
                                                            java.lang.String queryString,
                                                            int pageNumber,
                                                            int pageSize,
                                                            Parameter parameter)
Description copied from interface: QualitativeValueDao

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

findQualitativeValueByStatus

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

findQualitativeValueByStatus

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

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

findQualitativeValueByStatus

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

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

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

findQualitativeValueByStatus

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

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

findQualitativeValueByStatus

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

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

findQualitativeValueByStatus

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

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

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

findQualitativeValueByStatus

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

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

findQualitativeValueByStatus

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

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

findQualitativeValueByNaturalId

public QualitativeValue findQualitativeValueByNaturalId(java.lang.Integer id)
Specified by:
findQualitativeValueByNaturalId in interface QualitativeValueDao
See Also:
QualitativeValueDao.findQualitativeValueByNaturalId(java.lang.Integer)

findQualitativeValueByNaturalId

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

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

findQualitativeValueByNaturalId

public QualitativeValue findQualitativeValueByNaturalId(java.lang.String queryString,
                                                        java.lang.Integer id)
Description copied from interface: QualitativeValueDao

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

Specified by:
findQualitativeValueByNaturalId in interface QualitativeValueDao
See Also:
QualitativeValueDao.findQualitativeValueByNaturalId(java.lang.String, java.lang.Integer)

findQualitativeValueByNaturalId

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

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

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

createFromClusterQualitativeValue

public QualitativeValue createFromClusterQualitativeValue(ClusterQualitativeValue clusterQualitativeValue)
Specified by:
createFromClusterQualitativeValue in interface QualitativeValueDao
See Also:
QualitativeValueDao.createFromClusterQualitativeValue(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterQualitativeValue)

handleCreateFromClusterQualitativeValue

protected abstract QualitativeValue handleCreateFromClusterQualitativeValue(ClusterQualitativeValue clusterQualitativeValue)
                                                                     throws java.lang.Exception
Performs the core logic for createFromClusterQualitativeValue(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterQualitativeValue)

Throws:
java.lang.Exception

transformEntity

protected java.lang.Object transformEntity(int transform,
                                           QualitativeValue 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.pmfm.QualitativeValueDao, please note that the QualitativeValueDao.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 QualitativeValueDao.TRANSFORM_NONE is assumed.

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

toEntity

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

toRemoteQualitativeValueFullVOCollection

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

Specified by:
toRemoteQualitativeValueFullVOCollection in interface QualitativeValueDao
See Also:
QualitativeValueDao.toRemoteQualitativeValueFullVOCollection(java.util.Collection)

toRemoteQualitativeValueFullVOArray

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

Specified by:
toRemoteQualitativeValueFullVOArray in interface QualitativeValueDao
See Also:
QualitativeValueDao.toRemoteQualitativeValueFullVOArray(java.util.Collection)

toRemoteQualitativeValueFullVO

protected RemoteQualitativeValueFullVO toRemoteQualitativeValueFullVO(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 QualitativeValueDaoImpl class if you intend to use reporting queries.

See Also:
QualitativeValueDao.toRemoteQualitativeValueFullVO(fr.ifremer.allegro.referential.pmfm.QualitativeValue)

remoteQualitativeValueFullVOToEntityCollection

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

Specified by:
remoteQualitativeValueFullVOToEntityCollection in interface QualitativeValueDao
See Also:
QualitativeValueDao.remoteQualitativeValueFullVOToEntityCollection(java.util.Collection)

toRemoteQualitativeValueFullVO

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

toRemoteQualitativeValueFullVO

public RemoteQualitativeValueFullVO toRemoteQualitativeValueFullVO(QualitativeValue entity)
Description copied from interface: QualitativeValueDao
Converts this DAO's entity to an object of type RemoteQualitativeValueFullVO.

Specified by:
toRemoteQualitativeValueFullVO in interface QualitativeValueDao
See Also:
QualitativeValueDao.toRemoteQualitativeValueFullVO(fr.ifremer.allegro.referential.pmfm.QualitativeValue)

remoteQualitativeValueFullVOToEntity

public void remoteQualitativeValueFullVOToEntity(RemoteQualitativeValueFullVO source,
                                                 QualitativeValue target,
                                                 boolean copyIfNull)
Description copied from interface: QualitativeValueDao
Copies the fields of RemoteQualitativeValueFullVO to the specified entity.

Specified by:
remoteQualitativeValueFullVOToEntity in interface QualitativeValueDao
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.pmfm.QualitativeValueDao#remoteQualitativeValueFullVOToEntity(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteQualitativeValueFullVO, fr.ifremer.allegro.referential.pmfm.QualitativeValue)

toRemoteQualitativeValueNaturalIdCollection

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

Specified by:
toRemoteQualitativeValueNaturalIdCollection in interface QualitativeValueDao
See Also:
QualitativeValueDao.toRemoteQualitativeValueNaturalIdCollection(java.util.Collection)

toRemoteQualitativeValueNaturalIdArray

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

Specified by:
toRemoteQualitativeValueNaturalIdArray in interface QualitativeValueDao
See Also:
QualitativeValueDao.toRemoteQualitativeValueNaturalIdArray(java.util.Collection)

toRemoteQualitativeValueNaturalId

protected RemoteQualitativeValueNaturalId toRemoteQualitativeValueNaturalId(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 QualitativeValueDaoImpl class if you intend to use reporting queries.

See Also:
QualitativeValueDao.toRemoteQualitativeValueNaturalId(fr.ifremer.allegro.referential.pmfm.QualitativeValue)

remoteQualitativeValueNaturalIdToEntityCollection

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

Specified by:
remoteQualitativeValueNaturalIdToEntityCollection in interface QualitativeValueDao
See Also:
QualitativeValueDao.remoteQualitativeValueNaturalIdToEntityCollection(java.util.Collection)

toRemoteQualitativeValueNaturalId

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

toRemoteQualitativeValueNaturalId

public RemoteQualitativeValueNaturalId toRemoteQualitativeValueNaturalId(QualitativeValue entity)
Description copied from interface: QualitativeValueDao
Converts this DAO's entity to an object of type RemoteQualitativeValueNaturalId.

Specified by:
toRemoteQualitativeValueNaturalId in interface QualitativeValueDao
See Also:
QualitativeValueDao.toRemoteQualitativeValueNaturalId(fr.ifremer.allegro.referential.pmfm.QualitativeValue)

remoteQualitativeValueNaturalIdToEntity

public void remoteQualitativeValueNaturalIdToEntity(RemoteQualitativeValueNaturalId source,
                                                    QualitativeValue target,
                                                    boolean copyIfNull)
Description copied from interface: QualitativeValueDao
Copies the fields of RemoteQualitativeValueNaturalId to the specified entity.

Specified by:
remoteQualitativeValueNaturalIdToEntity in interface QualitativeValueDao
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.pmfm.QualitativeValueDao#remoteQualitativeValueNaturalIdToEntity(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteQualitativeValueNaturalId, fr.ifremer.allegro.referential.pmfm.QualitativeValue)

toClusterQualitativeValueCollection

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

Specified by:
toClusterQualitativeValueCollection in interface QualitativeValueDao
See Also:
QualitativeValueDao.toClusterQualitativeValueCollection(java.util.Collection)

toClusterQualitativeValueArray

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

Specified by:
toClusterQualitativeValueArray in interface QualitativeValueDao
See Also:
QualitativeValueDao.toClusterQualitativeValueArray(java.util.Collection)

toClusterQualitativeValue

protected ClusterQualitativeValue toClusterQualitativeValue(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 QualitativeValueDaoImpl class if you intend to use reporting queries.

See Also:
QualitativeValueDao.toClusterQualitativeValue(fr.ifremer.allegro.referential.pmfm.QualitativeValue)

clusterQualitativeValueToEntityCollection

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

Specified by:
clusterQualitativeValueToEntityCollection in interface QualitativeValueDao
See Also:
QualitativeValueDao.clusterQualitativeValueToEntityCollection(java.util.Collection)

toClusterQualitativeValue

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

toClusterQualitativeValue

public ClusterQualitativeValue toClusterQualitativeValue(QualitativeValue entity)
Description copied from interface: QualitativeValueDao
Converts this DAO's entity to an object of type ClusterQualitativeValue.

Specified by:
toClusterQualitativeValue in interface QualitativeValueDao
See Also:
QualitativeValueDao.toClusterQualitativeValue(fr.ifremer.allegro.referential.pmfm.QualitativeValue)

clusterQualitativeValueToEntity

public void clusterQualitativeValueToEntity(ClusterQualitativeValue source,
                                            QualitativeValue target,
                                            boolean copyIfNull)
Description copied from interface: QualitativeValueDao
Copies the fields of ClusterQualitativeValue to the specified entity.

Specified by:
clusterQualitativeValueToEntity in interface QualitativeValueDao
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.pmfm.QualitativeValueDao#clusterQualitativeValueToEntity(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterQualitativeValue, fr.ifremer.allegro.referential.pmfm.QualitativeValue)

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

search

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

search

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

search

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

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


Copyright © 2008-2010 IFREMER. All Rights Reserved.