fr.ifremer.allegro.referential.transcribing
Class TranscribingSystemDaoBase

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.referential.transcribing.TranscribingSystemDaoBase
All Implemented Interfaces:
TranscribingSystemDao
Direct Known Subclasses:
TranscribingSystemDaoImpl

public abstract class TranscribingSystemDaoBase
extends org.springframework.orm.hibernate3.support.HibernateDaoSupport
implements TranscribingSystemDao

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

See Also:
TranscribingSystem

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.transcribing.TranscribingSystemDao
TRANSFORM_CLUSTERTRANSCRIBINGSYSTEM, TRANSFORM_NONE, TRANSFORM_REMOTETRANSCRIBINGSYSTEMFULLVO, TRANSFORM_REMOTETRANSCRIBINGSYSTEMNATURALID
 
Constructor Summary
TranscribingSystemDaoBase()
           
 
Method Summary
 void clusterTranscribingSystemToEntity(ClusterTranscribingSystem source, TranscribingSystem target, boolean copyIfNull)
          Copies the fields of ClusterTranscribingSystem to the specified entity.
 void clusterTranscribingSystemToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type ClusterTranscribingSystem to this DAO's entity.
 java.util.Collection create(java.util.Collection entities)
          Creates a new instance of fr.ifremer.allegro.referential.transcribing.TranscribingSystem and adds from the passed in entities collection
 java.util.Collection create(int transform, java.util.Collection entities)
           Does the same thing as TranscribingSystemDao.create(fr.ifremer.allegro.referential.transcribing.TranscribingSystem) with an additional flag called transform.
 java.lang.Object create(int transform, java.lang.String name, Status status)
           Does the same thing as TranscribingSystemDao.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 TranscribingSystemDao.create(java.lang.String,java.lang.String,java.sql.Timestamp,fr.ifremer.allegro.referential.Status) with an additional flag called transform.
 java.lang.Object create(int transform, TranscribingSystem transcribingSystem)
           Does the same thing as TranscribingSystemDao.create(fr.ifremer.allegro.referential.transcribing.TranscribingSystem) with an additional flag called transform.
 TranscribingSystem create(java.lang.String name, Status status)
           Creates a new fr.ifremer.allegro.referential.transcribing.TranscribingSystem instance from only required properties (attributes and association ends) and adds it to the persistent store.
 TranscribingSystem create(java.lang.String name, java.lang.String description, java.sql.Timestamp updateDate, Status status)
           Creates a new fr.ifremer.allegro.referential.transcribing.TranscribingSystem instance from all attributes and properties and adds it to the persistent store.
 TranscribingSystem create(TranscribingSystem transcribingSystem)
          Creates an instance of fr.ifremer.allegro.referential.transcribing.TranscribingSystem and adds it to the persistent store.
 TranscribingSystem createFromClusterTranscribingSystem(ClusterTranscribingSystem clusterTranscribingSystem)
           
 TranscribingSystem findTranscribingSystemById(java.lang.Integer id)
           
 java.lang.Object findTranscribingSystemById(int transform, java.lang.Integer id)
           Does the same thing as TranscribingSystemDao.findTranscribingSystemById(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findTranscribingSystemById(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as TranscribingSystemDao.findTranscribingSystemById(int, java.lang.Integer) with an additional argument called queryString.
 TranscribingSystem findTranscribingSystemById(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as TranscribingSystemDao.findTranscribingSystemById(java.lang.Integer) with an additional argument called queryString.
 TranscribingSystem findTranscribingSystemByNaturalId(java.lang.Integer id)
           
 java.lang.Object findTranscribingSystemByNaturalId(int transform, java.lang.Integer id)
           Does the same thing as TranscribingSystemDao.findTranscribingSystemByNaturalId(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findTranscribingSystemByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as TranscribingSystemDao.findTranscribingSystemByNaturalId(int, java.lang.Integer) with an additional argument called queryString.
 TranscribingSystem findTranscribingSystemByNaturalId(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as TranscribingSystemDao.findTranscribingSystemByNaturalId(java.lang.Integer) with an additional argument called queryString.
 java.util.Collection findTranscribingSystemByStatus(int transform, int pageNumber, int pageSize, Status status)
           Does the same thing as TranscribingSystemDao.findTranscribingSystemByStatus(int, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findTranscribingSystemByStatus(int pageNumber, int pageSize, Status status)
           Does the same thing as TranscribingSystemDao.findTranscribingSystemByStatus(fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findTranscribingSystemByStatus(int transform, Status status)
           Does the same thing as TranscribingSystemDao.findTranscribingSystemByStatus(fr.ifremer.allegro.referential.Status) with an additional flag called transform.
 java.util.Collection findTranscribingSystemByStatus(int transform, java.lang.String queryString, int pageNumber, int pageSize, Status status)
           Does the same thing as TranscribingSystemDao.findTranscribingSystemByStatus(int, String, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findTranscribingSystemByStatus(int transform, java.lang.String queryString, Status status)
           Does the same thing as TranscribingSystemDao.findTranscribingSystemByStatus(int, fr.ifremer.allegro.referential.Status) with an additional argument called queryString.
 java.util.Collection findTranscribingSystemByStatus(Status status)
           
 java.util.Collection findTranscribingSystemByStatus(java.lang.String queryString, int pageNumber, int pageSize, Status status)
           Does the same thing as TranscribingSystemDao.findTranscribingSystemByStatus(String, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findTranscribingSystemByStatus(java.lang.String queryString, Status status)
           Does the same thing as TranscribingSystemDao.findTranscribingSystemByStatus(fr.ifremer.allegro.referential.Status) with an additional argument called queryString.
 ClusterTranscribingSystem[] getAllClusterTranscribingSystemSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
 java.util.Collection getAllTranscribingSystem()
           
 java.util.Collection getAllTranscribingSystem(int transform)
           Does the same thing as TranscribingSystemDao.getAllTranscribingSystem() with an additional flag called transform.
 java.util.Collection getAllTranscribingSystem(int pageNumber, int pageSize)
           Does the same thing as TranscribingSystemDao.getAllTranscribingSystem() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllTranscribingSystem(int transform, int pageNumber, int pageSize)
           Does the same thing as TranscribingSystemDao.getAllTranscribingSystem(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllTranscribingSystem(int transform, java.lang.String queryString)
           Does the same thing as TranscribingSystemDao.getAllTranscribingSystem(int) with an additional argument called queryString.
 java.util.Collection getAllTranscribingSystem(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as TranscribingSystemDao.getAllTranscribingSystem(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllTranscribingSystem(java.lang.String queryString)
           Does the same thing as TranscribingSystemDao.getAllTranscribingSystem() with an additional argument called queryString.
 java.util.Collection getAllTranscribingSystem(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as TranscribingSystemDao.getAllTranscribingSystem(String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllTranscribingSystemSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as TranscribingSystemDao.getAllTranscribingSystemSinceDateSynchro(int, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllTranscribingSystemSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as TranscribingSystemDao.getAllTranscribingSystemSinceDateSynchro(java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllTranscribingSystemSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as TranscribingSystemDao.getAllTranscribingSystemSinceDateSynchro(int, String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllTranscribingSystemSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as TranscribingSystemDao.getAllTranscribingSystemSinceDateSynchro(int, java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllTranscribingSystemSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
           Does the same thing as TranscribingSystemDao.getAllTranscribingSystemSinceDateSynchro(java.sql.Timestamp) with an additional flag called transform.
 java.util.Collection getAllTranscribingSystemSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as TranscribingSystemDao.getAllTranscribingSystemSinceDateSynchro(String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllTranscribingSystemSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as TranscribingSystemDao.getAllTranscribingSystemSinceDateSynchro(java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllTranscribingSystemSinceDateSynchro(java.sql.Timestamp updateDate)
           
protected  java.security.Principal getPrincipal()
          Gets the current principal if one has been set, otherwise returns null.
protected  StatusDao getStatusDao()
          Gets the reference to statusDao.
protected abstract  TranscribingSystem handleCreateFromClusterTranscribingSystem(ClusterTranscribingSystem clusterTranscribingSystem)
          Performs the core logic for createFromClusterTranscribingSystem(fr.ifremer.allegro.referential.transcribing.generic.cluster.ClusterTranscribingSystem)
protected abstract  ClusterTranscribingSystem[] handleGetAllClusterTranscribingSystemSinceDateSynchro(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 getAllClusterTranscribingSystemSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 TranscribingSystem load(java.lang.Integer id)
          Loads an instance of fr.ifremer.allegro.referential.transcribing.TranscribingSystem from the persistent store.
 java.lang.Object load(int transform, java.lang.Integer id)
           Does the same thing as TranscribingSystemDao.load(java.lang.Integer) with an additional flag called transform.
 java.util.Collection loadAll()
          Loads all entities of type TranscribingSystem.
 java.util.Collection loadAll(int transform)
           Does the same thing as TranscribingSystemDao.loadAll() with an additional flag called transform.
 java.util.Collection loadAll(int pageNumber, int pageSize)
           Does the same thing as TranscribingSystemDao.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 TranscribingSystemDao.loadAll(int) with an additional two arguments called pageNumber and pageSize.
 void remoteTranscribingSystemFullVOToEntity(RemoteTranscribingSystemFullVO source, TranscribingSystem target, boolean copyIfNull)
          Copies the fields of RemoteTranscribingSystemFullVO to the specified entity.
 void remoteTranscribingSystemFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteTranscribingSystemFullVO to this DAO's entity.
 void remoteTranscribingSystemNaturalIdToEntity(RemoteTranscribingSystemNaturalId source, TranscribingSystem target, boolean copyIfNull)
          Copies the fields of RemoteTranscribingSystemNaturalId to the specified entity.
 void remoteTranscribingSystemNaturalIdToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteTranscribingSystemNaturalId 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.transcribing.TranscribingSystem having the given identifier from the persistent store.
 void remove(TranscribingSystem transcribingSystem)
          Removes the instance of fr.ifremer.allegro.referential.transcribing.TranscribingSystem 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 TranscribingSystemDao.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.
protected  ClusterTranscribingSystem toClusterTranscribingSystem(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 ClusterTranscribingSystem toClusterTranscribingSystem(TranscribingSystem entity)
          Converts this DAO's entity to an object of type ClusterTranscribingSystem.
 void toClusterTranscribingSystem(TranscribingSystem source, ClusterTranscribingSystem target)
          Copies the fields of the specified entity to the target value object.
 ClusterTranscribingSystem[] toClusterTranscribingSystemArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type ClusterTranscribingSystem.
 void toClusterTranscribingSystemCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type ClusterTranscribingSystem.
protected  TranscribingSystem toEntity(java.lang.Object[] row)
           
protected  RemoteTranscribingSystemFullVO toRemoteTranscribingSystemFullVO(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteTranscribingSystemFullVO toRemoteTranscribingSystemFullVO(TranscribingSystem entity)
          Converts this DAO's entity to an object of type RemoteTranscribingSystemFullVO.
 void toRemoteTranscribingSystemFullVO(TranscribingSystem source, RemoteTranscribingSystemFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteTranscribingSystemFullVO[] toRemoteTranscribingSystemFullVOArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteTranscribingSystemFullVO.
 void toRemoteTranscribingSystemFullVOCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteTranscribingSystemFullVO.
protected  RemoteTranscribingSystemNaturalId toRemoteTranscribingSystemNaturalId(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteTranscribingSystemNaturalId toRemoteTranscribingSystemNaturalId(TranscribingSystem entity)
          Converts this DAO's entity to an object of type RemoteTranscribingSystemNaturalId.
 void toRemoteTranscribingSystemNaturalId(TranscribingSystem source, RemoteTranscribingSystemNaturalId target)
          Copies the fields of the specified entity to the target value object.
 RemoteTranscribingSystemNaturalId[] toRemoteTranscribingSystemNaturalIdArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteTranscribingSystemNaturalId.
 void toRemoteTranscribingSystemNaturalIdCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteTranscribingSystemNaturalId.
protected  void transformEntities(int transform, java.util.Collection entities)
          Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.transcribing.TranscribingSystem) method.
protected  java.lang.Object transformEntity(int transform, TranscribingSystem 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.transcribing.TranscribingSystemDao, please note that the TranscribingSystemDao.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(TranscribingSystem transcribingSystem)
          Updates the transcribingSystem 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.transcribing.TranscribingSystemDao
clusterTranscribingSystemToEntity, remoteTranscribingSystemFullVOToEntity, remoteTranscribingSystemNaturalIdToEntity
 

Constructor Detail

TranscribingSystemDaoBase

public TranscribingSystemDaoBase()
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: TranscribingSystemDao

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

load

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

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

loadAll

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

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

loadAll

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

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

loadAll

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

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

loadAll

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

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

create

public TranscribingSystem create(TranscribingSystem transcribingSystem)
Description copied from interface: TranscribingSystemDao
Creates an instance of fr.ifremer.allegro.referential.transcribing.TranscribingSystem and adds it to the persistent store.

Specified by:
create in interface TranscribingSystemDao
See Also:
TranscribingSystemDao.create(fr.ifremer.allegro.referential.transcribing.TranscribingSystem)

create

public java.lang.Object create(int transform,
                               TranscribingSystem transcribingSystem)
Description copied from interface: TranscribingSystemDao

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

create

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

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

create

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

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

create

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

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

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

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

create

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

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

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

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

update

public void update(TranscribingSystem transcribingSystem)
Description copied from interface: TranscribingSystemDao
Updates the transcribingSystem instance in the persistent store.

Specified by:
update in interface TranscribingSystemDao
See Also:
TranscribingSystemDao.update(fr.ifremer.allegro.referential.transcribing.TranscribingSystem)

update

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

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

remove

public void remove(TranscribingSystem transcribingSystem)
Description copied from interface: TranscribingSystemDao
Removes the instance of fr.ifremer.allegro.referential.transcribing.TranscribingSystem from the persistent store.

Specified by:
remove in interface TranscribingSystemDao
See Also:
TranscribingSystemDao.remove(fr.ifremer.allegro.referential.transcribing.TranscribingSystem)

remove

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

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

remove

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

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

getAllTranscribingSystem

public java.util.Collection getAllTranscribingSystem()
Specified by:
getAllTranscribingSystem in interface TranscribingSystemDao
See Also:
TranscribingSystemDao.getAllTranscribingSystem()

getAllTranscribingSystem

public java.util.Collection getAllTranscribingSystem(int transform)
Description copied from interface: TranscribingSystemDao

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

getAllTranscribingSystem

public java.util.Collection getAllTranscribingSystem(java.lang.String queryString)
Description copied from interface: TranscribingSystemDao

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

Specified by:
getAllTranscribingSystem in interface TranscribingSystemDao
See Also:
TranscribingSystemDao.getAllTranscribingSystem(java.lang.String)

getAllTranscribingSystem

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

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

getAllTranscribingSystem

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

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

getAllTranscribingSystem

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

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

Specified by:
getAllTranscribingSystem in interface TranscribingSystemDao
See Also:
TranscribingSystemDao.getAllTranscribingSystem(int, String)

getAllTranscribingSystem

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

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

getAllTranscribingSystem

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

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

findTranscribingSystemById

public TranscribingSystem findTranscribingSystemById(java.lang.Integer id)
Specified by:
findTranscribingSystemById in interface TranscribingSystemDao
See Also:
TranscribingSystemDao.findTranscribingSystemById(java.lang.Integer)

findTranscribingSystemById

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

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

findTranscribingSystemById

public TranscribingSystem findTranscribingSystemById(java.lang.String queryString,
                                                     java.lang.Integer id)
Description copied from interface: TranscribingSystemDao

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

Specified by:
findTranscribingSystemById in interface TranscribingSystemDao
See Also:
TranscribingSystemDao.findTranscribingSystemById(java.lang.String, java.lang.Integer)

findTranscribingSystemById

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

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

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

findTranscribingSystemByStatus

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

findTranscribingSystemByStatus

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

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

findTranscribingSystemByStatus

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

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

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

findTranscribingSystemByStatus

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

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

findTranscribingSystemByStatus

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

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

findTranscribingSystemByStatus

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

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

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

findTranscribingSystemByStatus

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

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

findTranscribingSystemByStatus

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

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

findTranscribingSystemByNaturalId

public TranscribingSystem findTranscribingSystemByNaturalId(java.lang.Integer id)
Specified by:
findTranscribingSystemByNaturalId in interface TranscribingSystemDao
See Also:
TranscribingSystemDao.findTranscribingSystemByNaturalId(java.lang.Integer)

findTranscribingSystemByNaturalId

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

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

findTranscribingSystemByNaturalId

public TranscribingSystem findTranscribingSystemByNaturalId(java.lang.String queryString,
                                                            java.lang.Integer id)
Description copied from interface: TranscribingSystemDao

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

Specified by:
findTranscribingSystemByNaturalId in interface TranscribingSystemDao
See Also:
TranscribingSystemDao.findTranscribingSystemByNaturalId(java.lang.String, java.lang.Integer)

findTranscribingSystemByNaturalId

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

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

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

getAllTranscribingSystemSinceDateSynchro

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

getAllTranscribingSystemSinceDateSynchro

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

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

getAllTranscribingSystemSinceDateSynchro

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

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

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

getAllTranscribingSystemSinceDateSynchro

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

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

getAllTranscribingSystemSinceDateSynchro

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

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

getAllTranscribingSystemSinceDateSynchro

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

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

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

getAllTranscribingSystemSinceDateSynchro

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

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

getAllTranscribingSystemSinceDateSynchro

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

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

createFromClusterTranscribingSystem

public TranscribingSystem createFromClusterTranscribingSystem(ClusterTranscribingSystem clusterTranscribingSystem)
Specified by:
createFromClusterTranscribingSystem in interface TranscribingSystemDao
See Also:
TranscribingSystemDao.createFromClusterTranscribingSystem(fr.ifremer.allegro.referential.transcribing.generic.cluster.ClusterTranscribingSystem)

handleCreateFromClusterTranscribingSystem

protected abstract TranscribingSystem handleCreateFromClusterTranscribingSystem(ClusterTranscribingSystem clusterTranscribingSystem)
                                                                         throws java.lang.Exception
Performs the core logic for createFromClusterTranscribingSystem(fr.ifremer.allegro.referential.transcribing.generic.cluster.ClusterTranscribingSystem)

Throws:
java.lang.Exception

getAllClusterTranscribingSystemSinceDateSynchro

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

handleGetAllClusterTranscribingSystemSinceDateSynchro

protected abstract ClusterTranscribingSystem[] handleGetAllClusterTranscribingSystemSinceDateSynchro(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 getAllClusterTranscribingSystemSinceDateSynchro(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,
                                           TranscribingSystem 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.transcribing.TranscribingSystemDao, please note that the TranscribingSystemDao.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 TranscribingSystemDao.TRANSFORM_NONE is assumed.

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

toEntity

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

toRemoteTranscribingSystemFullVOCollection

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

Specified by:
toRemoteTranscribingSystemFullVOCollection in interface TranscribingSystemDao
See Also:
TranscribingSystemDao.toRemoteTranscribingSystemFullVOCollection(java.util.Collection)

toRemoteTranscribingSystemFullVOArray

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

Specified by:
toRemoteTranscribingSystemFullVOArray in interface TranscribingSystemDao
See Also:
TranscribingSystemDao.toRemoteTranscribingSystemFullVOArray(java.util.Collection)

toRemoteTranscribingSystemFullVO

protected RemoteTranscribingSystemFullVO toRemoteTranscribingSystemFullVO(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 TranscribingSystemDaoImpl class if you intend to use reporting queries.

See Also:
TranscribingSystemDao.toRemoteTranscribingSystemFullVO(fr.ifremer.allegro.referential.transcribing.TranscribingSystem)

remoteTranscribingSystemFullVOToEntityCollection

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

Specified by:
remoteTranscribingSystemFullVOToEntityCollection in interface TranscribingSystemDao
See Also:
TranscribingSystemDao.remoteTranscribingSystemFullVOToEntityCollection(java.util.Collection)

toRemoteTranscribingSystemFullVO

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

toRemoteTranscribingSystemFullVO

public RemoteTranscribingSystemFullVO toRemoteTranscribingSystemFullVO(TranscribingSystem entity)
Description copied from interface: TranscribingSystemDao
Converts this DAO's entity to an object of type RemoteTranscribingSystemFullVO.

Specified by:
toRemoteTranscribingSystemFullVO in interface TranscribingSystemDao
See Also:
TranscribingSystemDao.toRemoteTranscribingSystemFullVO(fr.ifremer.allegro.referential.transcribing.TranscribingSystem)

remoteTranscribingSystemFullVOToEntity

public void remoteTranscribingSystemFullVOToEntity(RemoteTranscribingSystemFullVO source,
                                                   TranscribingSystem target,
                                                   boolean copyIfNull)
Description copied from interface: TranscribingSystemDao
Copies the fields of RemoteTranscribingSystemFullVO to the specified entity.

Specified by:
remoteTranscribingSystemFullVOToEntity in interface TranscribingSystemDao
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.transcribing.TranscribingSystemDao#remoteTranscribingSystemFullVOToEntity(fr.ifremer.allegro.referential.transcribing.generic.vo.RemoteTranscribingSystemFullVO, fr.ifremer.allegro.referential.transcribing.TranscribingSystem)

toRemoteTranscribingSystemNaturalIdCollection

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

Specified by:
toRemoteTranscribingSystemNaturalIdCollection in interface TranscribingSystemDao
See Also:
TranscribingSystemDao.toRemoteTranscribingSystemNaturalIdCollection(java.util.Collection)

toRemoteTranscribingSystemNaturalIdArray

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

Specified by:
toRemoteTranscribingSystemNaturalIdArray in interface TranscribingSystemDao
See Also:
TranscribingSystemDao.toRemoteTranscribingSystemNaturalIdArray(java.util.Collection)

toRemoteTranscribingSystemNaturalId

protected RemoteTranscribingSystemNaturalId toRemoteTranscribingSystemNaturalId(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 TranscribingSystemDaoImpl class if you intend to use reporting queries.

See Also:
TranscribingSystemDao.toRemoteTranscribingSystemNaturalId(fr.ifremer.allegro.referential.transcribing.TranscribingSystem)

remoteTranscribingSystemNaturalIdToEntityCollection

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

Specified by:
remoteTranscribingSystemNaturalIdToEntityCollection in interface TranscribingSystemDao
See Also:
TranscribingSystemDao.remoteTranscribingSystemNaturalIdToEntityCollection(java.util.Collection)

toRemoteTranscribingSystemNaturalId

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

toRemoteTranscribingSystemNaturalId

public RemoteTranscribingSystemNaturalId toRemoteTranscribingSystemNaturalId(TranscribingSystem entity)
Description copied from interface: TranscribingSystemDao
Converts this DAO's entity to an object of type RemoteTranscribingSystemNaturalId.

Specified by:
toRemoteTranscribingSystemNaturalId in interface TranscribingSystemDao
See Also:
TranscribingSystemDao.toRemoteTranscribingSystemNaturalId(fr.ifremer.allegro.referential.transcribing.TranscribingSystem)

remoteTranscribingSystemNaturalIdToEntity

public void remoteTranscribingSystemNaturalIdToEntity(RemoteTranscribingSystemNaturalId source,
                                                      TranscribingSystem target,
                                                      boolean copyIfNull)
Description copied from interface: TranscribingSystemDao
Copies the fields of RemoteTranscribingSystemNaturalId to the specified entity.

Specified by:
remoteTranscribingSystemNaturalIdToEntity in interface TranscribingSystemDao
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.transcribing.TranscribingSystemDao#remoteTranscribingSystemNaturalIdToEntity(fr.ifremer.allegro.referential.transcribing.generic.vo.RemoteTranscribingSystemNaturalId, fr.ifremer.allegro.referential.transcribing.TranscribingSystem)

toClusterTranscribingSystemCollection

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

Specified by:
toClusterTranscribingSystemCollection in interface TranscribingSystemDao
See Also:
TranscribingSystemDao.toClusterTranscribingSystemCollection(java.util.Collection)

toClusterTranscribingSystemArray

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

Specified by:
toClusterTranscribingSystemArray in interface TranscribingSystemDao
See Also:
TranscribingSystemDao.toClusterTranscribingSystemArray(java.util.Collection)

toClusterTranscribingSystem

protected ClusterTranscribingSystem toClusterTranscribingSystem(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 TranscribingSystemDaoImpl class if you intend to use reporting queries.

See Also:
TranscribingSystemDao.toClusterTranscribingSystem(fr.ifremer.allegro.referential.transcribing.TranscribingSystem)

clusterTranscribingSystemToEntityCollection

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

Specified by:
clusterTranscribingSystemToEntityCollection in interface TranscribingSystemDao
See Also:
TranscribingSystemDao.clusterTranscribingSystemToEntityCollection(java.util.Collection)

toClusterTranscribingSystem

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

toClusterTranscribingSystem

public ClusterTranscribingSystem toClusterTranscribingSystem(TranscribingSystem entity)
Description copied from interface: TranscribingSystemDao
Converts this DAO's entity to an object of type ClusterTranscribingSystem.

Specified by:
toClusterTranscribingSystem in interface TranscribingSystemDao
See Also:
TranscribingSystemDao.toClusterTranscribingSystem(fr.ifremer.allegro.referential.transcribing.TranscribingSystem)

clusterTranscribingSystemToEntity

public void clusterTranscribingSystemToEntity(ClusterTranscribingSystem source,
                                              TranscribingSystem target,
                                              boolean copyIfNull)
Description copied from interface: TranscribingSystemDao
Copies the fields of ClusterTranscribingSystem to the specified entity.

Specified by:
clusterTranscribingSystemToEntity in interface TranscribingSystemDao
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.transcribing.TranscribingSystemDao#clusterTranscribingSystemToEntity(fr.ifremer.allegro.referential.transcribing.generic.cluster.ClusterTranscribingSystem, fr.ifremer.allegro.referential.transcribing.TranscribingSystem)

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

search

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

search

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

search

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

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


Copyright © 2008-2010 IFREMER. All Rights Reserved.