fr.ifremer.allegro.referential
Class AnalysisInstrumentDaoBase

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.referential.AnalysisInstrumentDaoBase
All Implemented Interfaces:
AnalysisInstrumentDao
Direct Known Subclasses:
AnalysisInstrumentDaoImpl

public abstract class AnalysisInstrumentDaoBase
extends org.springframework.orm.hibernate3.support.HibernateDaoSupport
implements AnalysisInstrumentDao

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

See Also:
AnalysisInstrument

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.AnalysisInstrumentDao
TRANSFORM_CLUSTERANALYSISINSTRUMENT, TRANSFORM_NONE, TRANSFORM_REMOTEANALYSISINSTRUMENTFULLVO, TRANSFORM_REMOTEANALYSISINSTRUMENTNATURALID
 
Constructor Summary
AnalysisInstrumentDaoBase()
           
 
Method Summary
 void clusterAnalysisInstrumentToEntity(ClusterAnalysisInstrument source, AnalysisInstrument target, boolean copyIfNull)
          Copies the fields of ClusterAnalysisInstrument to the specified entity.
 void clusterAnalysisInstrumentToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type ClusterAnalysisInstrument to this DAO's entity.
 AnalysisInstrument create(AnalysisInstrument analysisInstrument)
          Creates an instance of fr.ifremer.allegro.referential.AnalysisInstrument and adds it to the persistent store.
 java.util.Collection create(java.util.Collection entities)
          Creates a new instance of fr.ifremer.allegro.referential.AnalysisInstrument and adds from the passed in entities collection
 java.lang.Object create(int transform, AnalysisInstrument analysisInstrument)
           Does the same thing as AnalysisInstrumentDao.create(fr.ifremer.allegro.referential.AnalysisInstrument) with an additional flag called transform.
 java.util.Collection create(int transform, java.util.Collection entities)
           Does the same thing as AnalysisInstrumentDao.create(fr.ifremer.allegro.referential.AnalysisInstrument) with an additional flag called transform.
 java.lang.Object create(int transform, java.lang.String name, Status status)
           Does the same thing as AnalysisInstrumentDao.create(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 AnalysisInstrumentDao.create(java.lang.String,java.lang.String,java.sql.Timestamp,fr.ifremer.allegro.referential.Status) with an additional flag called transform.
 AnalysisInstrument create(java.lang.String name, Status status)
           Creates a new fr.ifremer.allegro.referential.AnalysisInstrument instance from only required properties (attributes and association ends) and adds it to the persistent store.
 AnalysisInstrument create(java.lang.String name, java.lang.String description, java.sql.Timestamp updateDate, Status status)
           Creates a new fr.ifremer.allegro.referential.AnalysisInstrument instance from all attributes and properties and adds it to the persistent store.
 AnalysisInstrument createFromClusterAnalysisInstrument(ClusterAnalysisInstrument clusterAnalysisInstrument)
           
 AnalysisInstrument findAnalysisInstrumentById(java.lang.Integer id)
           
 java.lang.Object findAnalysisInstrumentById(int transform, java.lang.Integer id)
           Does the same thing as AnalysisInstrumentDao.findAnalysisInstrumentById(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findAnalysisInstrumentById(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as AnalysisInstrumentDao.findAnalysisInstrumentById(int, java.lang.Integer) with an additional argument called queryString.
 AnalysisInstrument findAnalysisInstrumentById(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as AnalysisInstrumentDao.findAnalysisInstrumentById(java.lang.Integer) with an additional argument called queryString.
 AnalysisInstrument findAnalysisInstrumentByNaturalId(java.lang.Integer id)
           
 java.lang.Object findAnalysisInstrumentByNaturalId(int transform, java.lang.Integer id)
           Does the same thing as AnalysisInstrumentDao.findAnalysisInstrumentByNaturalId(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findAnalysisInstrumentByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as AnalysisInstrumentDao.findAnalysisInstrumentByNaturalId(int, java.lang.Integer) with an additional argument called queryString.
 AnalysisInstrument findAnalysisInstrumentByNaturalId(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as AnalysisInstrumentDao.findAnalysisInstrumentByNaturalId(java.lang.Integer) with an additional argument called queryString.
 java.util.Collection findAnalysisInstrumentByStatus(int transform, int pageNumber, int pageSize, Status status)
           Does the same thing as AnalysisInstrumentDao.findAnalysisInstrumentByStatus(int, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findAnalysisInstrumentByStatus(int pageNumber, int pageSize, Status status)
           Does the same thing as AnalysisInstrumentDao.findAnalysisInstrumentByStatus(fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findAnalysisInstrumentByStatus(int transform, Status status)
           Does the same thing as AnalysisInstrumentDao.findAnalysisInstrumentByStatus(fr.ifremer.allegro.referential.Status) with an additional flag called transform.
 java.util.Collection findAnalysisInstrumentByStatus(int transform, java.lang.String queryString, int pageNumber, int pageSize, Status status)
           Does the same thing as AnalysisInstrumentDao.findAnalysisInstrumentByStatus(int, String, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findAnalysisInstrumentByStatus(int transform, java.lang.String queryString, Status status)
           Does the same thing as AnalysisInstrumentDao.findAnalysisInstrumentByStatus(int, fr.ifremer.allegro.referential.Status) with an additional argument called queryString.
 java.util.Collection findAnalysisInstrumentByStatus(Status status)
           
 java.util.Collection findAnalysisInstrumentByStatus(java.lang.String queryString, int pageNumber, int pageSize, Status status)
           Does the same thing as AnalysisInstrumentDao.findAnalysisInstrumentByStatus(String, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findAnalysisInstrumentByStatus(java.lang.String queryString, Status status)
           Does the same thing as AnalysisInstrumentDao.findAnalysisInstrumentByStatus(fr.ifremer.allegro.referential.Status) with an additional argument called queryString.
 java.util.Collection getAllAnalysisInstrument()
           
 java.util.Collection getAllAnalysisInstrument(int transform)
           Does the same thing as AnalysisInstrumentDao.getAllAnalysisInstrument() with an additional flag called transform.
 java.util.Collection getAllAnalysisInstrument(int pageNumber, int pageSize)
           Does the same thing as AnalysisInstrumentDao.getAllAnalysisInstrument() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllAnalysisInstrument(int transform, int pageNumber, int pageSize)
           Does the same thing as AnalysisInstrumentDao.getAllAnalysisInstrument(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllAnalysisInstrument(int transform, java.lang.String queryString)
           Does the same thing as AnalysisInstrumentDao.getAllAnalysisInstrument(int) with an additional argument called queryString.
 java.util.Collection getAllAnalysisInstrument(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as AnalysisInstrumentDao.getAllAnalysisInstrument(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllAnalysisInstrument(java.lang.String queryString)
           Does the same thing as AnalysisInstrumentDao.getAllAnalysisInstrument() with an additional argument called queryString.
 java.util.Collection getAllAnalysisInstrument(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as AnalysisInstrumentDao.getAllAnalysisInstrument(String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllAnalysisInstrumentSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as AnalysisInstrumentDao.getAllAnalysisInstrumentSinceDateSynchro(int, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllAnalysisInstrumentSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as AnalysisInstrumentDao.getAllAnalysisInstrumentSinceDateSynchro(java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllAnalysisInstrumentSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as AnalysisInstrumentDao.getAllAnalysisInstrumentSinceDateSynchro(int, String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllAnalysisInstrumentSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as AnalysisInstrumentDao.getAllAnalysisInstrumentSinceDateSynchro(int, java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllAnalysisInstrumentSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
           Does the same thing as AnalysisInstrumentDao.getAllAnalysisInstrumentSinceDateSynchro(java.sql.Timestamp) with an additional flag called transform.
 java.util.Collection getAllAnalysisInstrumentSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as AnalysisInstrumentDao.getAllAnalysisInstrumentSinceDateSynchro(String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllAnalysisInstrumentSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as AnalysisInstrumentDao.getAllAnalysisInstrumentSinceDateSynchro(java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllAnalysisInstrumentSinceDateSynchro(java.sql.Timestamp updateDate)
           
 ClusterAnalysisInstrument[] getAllClusterAnalysisInstrumentSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
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  AnalysisInstrument handleCreateFromClusterAnalysisInstrument(ClusterAnalysisInstrument clusterAnalysisInstrument)
          Performs the core logic for createFromClusterAnalysisInstrument(fr.ifremer.allegro.referential.generic.cluster.ClusterAnalysisInstrument)
protected abstract  ClusterAnalysisInstrument[] handleGetAllClusterAnalysisInstrumentSinceDateSynchro(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 getAllClusterAnalysisInstrumentSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 AnalysisInstrument load(java.lang.Integer id)
          Loads an instance of fr.ifremer.allegro.referential.AnalysisInstrument from the persistent store.
 java.lang.Object load(int transform, java.lang.Integer id)
           Does the same thing as AnalysisInstrumentDao.load(java.lang.Integer) with an additional flag called transform.
 java.util.Collection loadAll()
          Loads all entities of type AnalysisInstrument.
 java.util.Collection loadAll(int transform)
           Does the same thing as AnalysisInstrumentDao.loadAll() with an additional flag called transform.
 java.util.Collection loadAll(int pageNumber, int pageSize)
           Does the same thing as AnalysisInstrumentDao.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 AnalysisInstrumentDao.loadAll(int) with an additional two arguments called pageNumber and pageSize.
 void remoteAnalysisInstrumentFullVOToEntity(RemoteAnalysisInstrumentFullVO source, AnalysisInstrument target, boolean copyIfNull)
          Copies the fields of RemoteAnalysisInstrumentFullVO to the specified entity.
 void remoteAnalysisInstrumentFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteAnalysisInstrumentFullVO to this DAO's entity.
 void remoteAnalysisInstrumentNaturalIdToEntity(RemoteAnalysisInstrumentNaturalId source, AnalysisInstrument target, boolean copyIfNull)
          Copies the fields of RemoteAnalysisInstrumentNaturalId to the specified entity.
 void remoteAnalysisInstrumentNaturalIdToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteAnalysisInstrumentNaturalId to this DAO's entity.
 void remove(AnalysisInstrument analysisInstrument)
          Removes the instance of fr.ifremer.allegro.referential.AnalysisInstrument from the persistent store.
 void remove(java.util.Collection entities)
          Removes all entities in the given entities collection.
 void remove(java.lang.Integer id)
          Removes the instance of fr.ifremer.allegro.referential.AnalysisInstrument having the given identifier from the persistent store.
 PaginationResult search(int transform, int pageNumber, int pageSize, Search search)
          Does the same thing as {@link #search(int, fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize.
 PaginationResult search(int pageNumber, int pageSize, Search search)
          Does the same thing as {@link #search(fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize.
 java.util.Set search(int transform, Search search)
          Does the same thing as AnalysisInstrumentDao.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.
 ClusterAnalysisInstrument toClusterAnalysisInstrument(AnalysisInstrument entity)
          Converts this DAO's entity to an object of type ClusterAnalysisInstrument.
 void toClusterAnalysisInstrument(AnalysisInstrument source, ClusterAnalysisInstrument target)
          Copies the fields of the specified entity to the target value object.
protected  ClusterAnalysisInstrument toClusterAnalysisInstrument(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 ClusterAnalysisInstrument[] toClusterAnalysisInstrumentArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type ClusterAnalysisInstrument.
 void toClusterAnalysisInstrumentCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type ClusterAnalysisInstrument.
protected  AnalysisInstrument toEntity(java.lang.Object[] row)
           
 RemoteAnalysisInstrumentFullVO toRemoteAnalysisInstrumentFullVO(AnalysisInstrument entity)
          Converts this DAO's entity to an object of type RemoteAnalysisInstrumentFullVO.
 void toRemoteAnalysisInstrumentFullVO(AnalysisInstrument source, RemoteAnalysisInstrumentFullVO target)
          Copies the fields of the specified entity to the target value object.
protected  RemoteAnalysisInstrumentFullVO toRemoteAnalysisInstrumentFullVO(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteAnalysisInstrumentFullVO[] toRemoteAnalysisInstrumentFullVOArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteAnalysisInstrumentFullVO.
 void toRemoteAnalysisInstrumentFullVOCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteAnalysisInstrumentFullVO.
 RemoteAnalysisInstrumentNaturalId toRemoteAnalysisInstrumentNaturalId(AnalysisInstrument entity)
          Converts this DAO's entity to an object of type RemoteAnalysisInstrumentNaturalId.
 void toRemoteAnalysisInstrumentNaturalId(AnalysisInstrument source, RemoteAnalysisInstrumentNaturalId target)
          Copies the fields of the specified entity to the target value object.
protected  RemoteAnalysisInstrumentNaturalId toRemoteAnalysisInstrumentNaturalId(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteAnalysisInstrumentNaturalId[] toRemoteAnalysisInstrumentNaturalIdArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteAnalysisInstrumentNaturalId.
 void toRemoteAnalysisInstrumentNaturalIdCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteAnalysisInstrumentNaturalId.
protected  void transformEntities(int transform, java.util.Collection entities)
          Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.AnalysisInstrument) method.
protected  java.lang.Object transformEntity(int transform, AnalysisInstrument 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.AnalysisInstrumentDao, please note that the AnalysisInstrumentDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself will be returned.
 void update(AnalysisInstrument analysisInstrument)
          Updates the analysisInstrument instance in the persistent store.
 void update(java.util.Collection entities)
          Updates all instances in the entities collection 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.AnalysisInstrumentDao
clusterAnalysisInstrumentToEntity, remoteAnalysisInstrumentFullVOToEntity, remoteAnalysisInstrumentNaturalIdToEntity
 

Constructor Detail

AnalysisInstrumentDaoBase

public AnalysisInstrumentDaoBase()
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: AnalysisInstrumentDao

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

load

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

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

loadAll

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

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

loadAll

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

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

loadAll

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

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

loadAll

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

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

create

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

Specified by:
create in interface AnalysisInstrumentDao
See Also:
AnalysisInstrumentDao.create(fr.ifremer.allegro.referential.AnalysisInstrument)

create

public java.lang.Object create(int transform,
                               AnalysisInstrument analysisInstrument)
Description copied from interface: AnalysisInstrumentDao

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

create

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

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

create

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

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

create

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

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

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

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

create

public AnalysisInstrument create(java.lang.String name,
                                 Status status)
Description copied from interface: AnalysisInstrumentDao

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

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

create

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

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

update

public void update(AnalysisInstrument analysisInstrument)
Description copied from interface: AnalysisInstrumentDao
Updates the analysisInstrument instance in the persistent store.

Specified by:
update in interface AnalysisInstrumentDao
See Also:
AnalysisInstrumentDao.update(fr.ifremer.allegro.referential.AnalysisInstrument)

update

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

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

remove

public void remove(AnalysisInstrument analysisInstrument)
Description copied from interface: AnalysisInstrumentDao
Removes the instance of fr.ifremer.allegro.referential.AnalysisInstrument from the persistent store.

Specified by:
remove in interface AnalysisInstrumentDao
See Also:
AnalysisInstrumentDao.remove(fr.ifremer.allegro.referential.AnalysisInstrument)

remove

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

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

remove

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

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

getAllAnalysisInstrument

public java.util.Collection getAllAnalysisInstrument()
Specified by:
getAllAnalysisInstrument in interface AnalysisInstrumentDao
See Also:
AnalysisInstrumentDao.getAllAnalysisInstrument()

getAllAnalysisInstrument

public java.util.Collection getAllAnalysisInstrument(int transform)
Description copied from interface: AnalysisInstrumentDao

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

getAllAnalysisInstrument

public java.util.Collection getAllAnalysisInstrument(java.lang.String queryString)
Description copied from interface: AnalysisInstrumentDao

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

Specified by:
getAllAnalysisInstrument in interface AnalysisInstrumentDao
See Also:
AnalysisInstrumentDao.getAllAnalysisInstrument(java.lang.String)

getAllAnalysisInstrument

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

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

getAllAnalysisInstrument

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

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

getAllAnalysisInstrument

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

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

Specified by:
getAllAnalysisInstrument in interface AnalysisInstrumentDao
See Also:
AnalysisInstrumentDao.getAllAnalysisInstrument(int, String)

getAllAnalysisInstrument

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

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

getAllAnalysisInstrument

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

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

findAnalysisInstrumentById

public AnalysisInstrument findAnalysisInstrumentById(java.lang.Integer id)
Specified by:
findAnalysisInstrumentById in interface AnalysisInstrumentDao
See Also:
AnalysisInstrumentDao.findAnalysisInstrumentById(java.lang.Integer)

findAnalysisInstrumentById

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

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

findAnalysisInstrumentById

public AnalysisInstrument findAnalysisInstrumentById(java.lang.String queryString,
                                                     java.lang.Integer id)
Description copied from interface: AnalysisInstrumentDao

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

Specified by:
findAnalysisInstrumentById in interface AnalysisInstrumentDao
See Also:
AnalysisInstrumentDao.findAnalysisInstrumentById(java.lang.String, java.lang.Integer)

findAnalysisInstrumentById

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

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

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

findAnalysisInstrumentByStatus

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

findAnalysisInstrumentByStatus

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

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

findAnalysisInstrumentByStatus

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

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

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

findAnalysisInstrumentByStatus

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

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

findAnalysisInstrumentByStatus

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

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

findAnalysisInstrumentByStatus

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

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

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

findAnalysisInstrumentByStatus

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

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

findAnalysisInstrumentByStatus

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

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

findAnalysisInstrumentByNaturalId

public AnalysisInstrument findAnalysisInstrumentByNaturalId(java.lang.Integer id)
Specified by:
findAnalysisInstrumentByNaturalId in interface AnalysisInstrumentDao
See Also:
AnalysisInstrumentDao.findAnalysisInstrumentByNaturalId(java.lang.Integer)

findAnalysisInstrumentByNaturalId

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

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

findAnalysisInstrumentByNaturalId

public AnalysisInstrument findAnalysisInstrumentByNaturalId(java.lang.String queryString,
                                                            java.lang.Integer id)
Description copied from interface: AnalysisInstrumentDao

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

Specified by:
findAnalysisInstrumentByNaturalId in interface AnalysisInstrumentDao
See Also:
AnalysisInstrumentDao.findAnalysisInstrumentByNaturalId(java.lang.String, java.lang.Integer)

findAnalysisInstrumentByNaturalId

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

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

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

getAllAnalysisInstrumentSinceDateSynchro

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

getAllAnalysisInstrumentSinceDateSynchro

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

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

getAllAnalysisInstrumentSinceDateSynchro

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

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

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

getAllAnalysisInstrumentSinceDateSynchro

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

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

getAllAnalysisInstrumentSinceDateSynchro

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

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

getAllAnalysisInstrumentSinceDateSynchro

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

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

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

getAllAnalysisInstrumentSinceDateSynchro

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

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

getAllAnalysisInstrumentSinceDateSynchro

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

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

createFromClusterAnalysisInstrument

public AnalysisInstrument createFromClusterAnalysisInstrument(ClusterAnalysisInstrument clusterAnalysisInstrument)
Specified by:
createFromClusterAnalysisInstrument in interface AnalysisInstrumentDao
See Also:
AnalysisInstrumentDao.createFromClusterAnalysisInstrument(fr.ifremer.allegro.referential.generic.cluster.ClusterAnalysisInstrument)

handleCreateFromClusterAnalysisInstrument

protected abstract AnalysisInstrument handleCreateFromClusterAnalysisInstrument(ClusterAnalysisInstrument clusterAnalysisInstrument)
                                                                         throws java.lang.Exception
Performs the core logic for createFromClusterAnalysisInstrument(fr.ifremer.allegro.referential.generic.cluster.ClusterAnalysisInstrument)

Throws:
java.lang.Exception

getAllClusterAnalysisInstrumentSinceDateSynchro

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

handleGetAllClusterAnalysisInstrumentSinceDateSynchro

protected abstract ClusterAnalysisInstrument[] handleGetAllClusterAnalysisInstrumentSinceDateSynchro(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 getAllClusterAnalysisInstrumentSinceDateSynchro(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,
                                           AnalysisInstrument 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.AnalysisInstrumentDao, please note that the AnalysisInstrumentDao.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 AnalysisInstrumentDao.TRANSFORM_NONE is assumed.

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

toEntity

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

toRemoteAnalysisInstrumentFullVOCollection

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

Specified by:
toRemoteAnalysisInstrumentFullVOCollection in interface AnalysisInstrumentDao
See Also:
AnalysisInstrumentDao.toRemoteAnalysisInstrumentFullVOCollection(java.util.Collection)

toRemoteAnalysisInstrumentFullVOArray

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

Specified by:
toRemoteAnalysisInstrumentFullVOArray in interface AnalysisInstrumentDao
See Also:
AnalysisInstrumentDao.toRemoteAnalysisInstrumentFullVOArray(java.util.Collection)

toRemoteAnalysisInstrumentFullVO

protected RemoteAnalysisInstrumentFullVO toRemoteAnalysisInstrumentFullVO(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 AnalysisInstrumentDaoImpl class if you intend to use reporting queries.

See Also:
AnalysisInstrumentDao.toRemoteAnalysisInstrumentFullVO(fr.ifremer.allegro.referential.AnalysisInstrument)

remoteAnalysisInstrumentFullVOToEntityCollection

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

Specified by:
remoteAnalysisInstrumentFullVOToEntityCollection in interface AnalysisInstrumentDao
See Also:
AnalysisInstrumentDao.remoteAnalysisInstrumentFullVOToEntityCollection(java.util.Collection)

toRemoteAnalysisInstrumentFullVO

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

toRemoteAnalysisInstrumentFullVO

public RemoteAnalysisInstrumentFullVO toRemoteAnalysisInstrumentFullVO(AnalysisInstrument entity)
Description copied from interface: AnalysisInstrumentDao
Converts this DAO's entity to an object of type RemoteAnalysisInstrumentFullVO.

Specified by:
toRemoteAnalysisInstrumentFullVO in interface AnalysisInstrumentDao
See Also:
AnalysisInstrumentDao.toRemoteAnalysisInstrumentFullVO(fr.ifremer.allegro.referential.AnalysisInstrument)

remoteAnalysisInstrumentFullVOToEntity

public void remoteAnalysisInstrumentFullVOToEntity(RemoteAnalysisInstrumentFullVO source,
                                                   AnalysisInstrument target,
                                                   boolean copyIfNull)
Description copied from interface: AnalysisInstrumentDao
Copies the fields of RemoteAnalysisInstrumentFullVO to the specified entity.

Specified by:
remoteAnalysisInstrumentFullVOToEntity in interface AnalysisInstrumentDao
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.AnalysisInstrumentDao#remoteAnalysisInstrumentFullVOToEntity(fr.ifremer.allegro.referential.generic.vo.RemoteAnalysisInstrumentFullVO, fr.ifremer.allegro.referential.AnalysisInstrument)

toRemoteAnalysisInstrumentNaturalIdCollection

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

Specified by:
toRemoteAnalysisInstrumentNaturalIdCollection in interface AnalysisInstrumentDao
See Also:
AnalysisInstrumentDao.toRemoteAnalysisInstrumentNaturalIdCollection(java.util.Collection)

toRemoteAnalysisInstrumentNaturalIdArray

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

Specified by:
toRemoteAnalysisInstrumentNaturalIdArray in interface AnalysisInstrumentDao
See Also:
AnalysisInstrumentDao.toRemoteAnalysisInstrumentNaturalIdArray(java.util.Collection)

toRemoteAnalysisInstrumentNaturalId

protected RemoteAnalysisInstrumentNaturalId toRemoteAnalysisInstrumentNaturalId(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 AnalysisInstrumentDaoImpl class if you intend to use reporting queries.

See Also:
AnalysisInstrumentDao.toRemoteAnalysisInstrumentNaturalId(fr.ifremer.allegro.referential.AnalysisInstrument)

remoteAnalysisInstrumentNaturalIdToEntityCollection

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

Specified by:
remoteAnalysisInstrumentNaturalIdToEntityCollection in interface AnalysisInstrumentDao
See Also:
AnalysisInstrumentDao.remoteAnalysisInstrumentNaturalIdToEntityCollection(java.util.Collection)

toRemoteAnalysisInstrumentNaturalId

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

toRemoteAnalysisInstrumentNaturalId

public RemoteAnalysisInstrumentNaturalId toRemoteAnalysisInstrumentNaturalId(AnalysisInstrument entity)
Description copied from interface: AnalysisInstrumentDao
Converts this DAO's entity to an object of type RemoteAnalysisInstrumentNaturalId.

Specified by:
toRemoteAnalysisInstrumentNaturalId in interface AnalysisInstrumentDao
See Also:
AnalysisInstrumentDao.toRemoteAnalysisInstrumentNaturalId(fr.ifremer.allegro.referential.AnalysisInstrument)

remoteAnalysisInstrumentNaturalIdToEntity

public void remoteAnalysisInstrumentNaturalIdToEntity(RemoteAnalysisInstrumentNaturalId source,
                                                      AnalysisInstrument target,
                                                      boolean copyIfNull)
Description copied from interface: AnalysisInstrumentDao
Copies the fields of RemoteAnalysisInstrumentNaturalId to the specified entity.

Specified by:
remoteAnalysisInstrumentNaturalIdToEntity in interface AnalysisInstrumentDao
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.AnalysisInstrumentDao#remoteAnalysisInstrumentNaturalIdToEntity(fr.ifremer.allegro.referential.generic.vo.RemoteAnalysisInstrumentNaturalId, fr.ifremer.allegro.referential.AnalysisInstrument)

toClusterAnalysisInstrumentCollection

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

Specified by:
toClusterAnalysisInstrumentCollection in interface AnalysisInstrumentDao
See Also:
AnalysisInstrumentDao.toClusterAnalysisInstrumentCollection(java.util.Collection)

toClusterAnalysisInstrumentArray

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

Specified by:
toClusterAnalysisInstrumentArray in interface AnalysisInstrumentDao
See Also:
AnalysisInstrumentDao.toClusterAnalysisInstrumentArray(java.util.Collection)

toClusterAnalysisInstrument

protected ClusterAnalysisInstrument toClusterAnalysisInstrument(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 AnalysisInstrumentDaoImpl class if you intend to use reporting queries.

See Also:
AnalysisInstrumentDao.toClusterAnalysisInstrument(fr.ifremer.allegro.referential.AnalysisInstrument)

clusterAnalysisInstrumentToEntityCollection

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

Specified by:
clusterAnalysisInstrumentToEntityCollection in interface AnalysisInstrumentDao
See Also:
AnalysisInstrumentDao.clusterAnalysisInstrumentToEntityCollection(java.util.Collection)

toClusterAnalysisInstrument

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

toClusterAnalysisInstrument

public ClusterAnalysisInstrument toClusterAnalysisInstrument(AnalysisInstrument entity)
Description copied from interface: AnalysisInstrumentDao
Converts this DAO's entity to an object of type ClusterAnalysisInstrument.

Specified by:
toClusterAnalysisInstrument in interface AnalysisInstrumentDao
See Also:
AnalysisInstrumentDao.toClusterAnalysisInstrument(fr.ifremer.allegro.referential.AnalysisInstrument)

clusterAnalysisInstrumentToEntity

public void clusterAnalysisInstrumentToEntity(ClusterAnalysisInstrument source,
                                              AnalysisInstrument target,
                                              boolean copyIfNull)
Description copied from interface: AnalysisInstrumentDao
Copies the fields of ClusterAnalysisInstrument to the specified entity.

Specified by:
clusterAnalysisInstrumentToEntity in interface AnalysisInstrumentDao
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.AnalysisInstrumentDao#clusterAnalysisInstrumentToEntity(fr.ifremer.allegro.referential.generic.cluster.ClusterAnalysisInstrument, fr.ifremer.allegro.referential.AnalysisInstrument)

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

search

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

search

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

search

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

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


Copyright © 2008-2010 IFREMER. All Rights Reserved.