fr.ifremer.allegro.referential.transcribing
Class TranscribingSideDaoBase

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

public abstract class TranscribingSideDaoBase
extends org.springframework.orm.hibernate3.support.HibernateDaoSupport
implements TranscribingSideDao

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

See Also:
TranscribingSide

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.transcribing.TranscribingSideDao
TRANSFORM_CLUSTERTRANSCRIBINGSIDE, TRANSFORM_NONE, TRANSFORM_REMOTETRANSCRIBINGSIDEFULLVO, TRANSFORM_REMOTETRANSCRIBINGSIDENATURALID
 
Constructor Summary
TranscribingSideDaoBase()
           
 
Method Summary
 void clusterTranscribingSideToEntity(ClusterTranscribingSide source, TranscribingSide target, boolean copyIfNull)
          Copies the fields of ClusterTranscribingSide to the specified entity.
 void clusterTranscribingSideToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type ClusterTranscribingSide to this DAO's entity.
 java.util.Collection create(java.util.Collection entities)
          Creates a new instance of fr.ifremer.allegro.referential.transcribing.TranscribingSide and adds from the passed in entities collection
 java.util.Collection create(int transform, java.util.Collection entities)
           Does the same thing as TranscribingSideDao.create(fr.ifremer.allegro.referential.transcribing.TranscribingSide) with an additional flag called transform.
 java.lang.Object create(int transform, java.lang.String name)
           Does the same thing as TranscribingSideDao.create(java.lang.String) with an additional flag called transform.
 java.lang.Object create(int transform, java.lang.String name, java.sql.Timestamp updateDate)
           Does the same thing as TranscribingSideDao.create(java.lang.String,java.sql.Timestamp) with an additional flag called transform.
 java.lang.Object create(int transform, TranscribingSide transcribingSide)
           Does the same thing as TranscribingSideDao.create(fr.ifremer.allegro.referential.transcribing.TranscribingSide) with an additional flag called transform.
 TranscribingSide create(java.lang.String name)
           Creates a new fr.ifremer.allegro.referential.transcribing.TranscribingSide instance from only required properties (attributes and association ends) and adds it to the persistent store.
 TranscribingSide create(java.lang.String name, java.sql.Timestamp updateDate)
           Creates a new fr.ifremer.allegro.referential.transcribing.TranscribingSide instance from all attributes and properties and adds it to the persistent store.
 TranscribingSide create(TranscribingSide transcribingSide)
          Creates an instance of fr.ifremer.allegro.referential.transcribing.TranscribingSide and adds it to the persistent store.
 TranscribingSide createFromClusterTranscribingSide(ClusterTranscribingSide clusterTranscribingSide)
           
 TranscribingSide findTranscribingSideById(java.lang.Integer id)
           
 java.lang.Object findTranscribingSideById(int transform, java.lang.Integer id)
           Does the same thing as TranscribingSideDao.findTranscribingSideById(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findTranscribingSideById(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as TranscribingSideDao.findTranscribingSideById(int, java.lang.Integer) with an additional argument called queryString.
 TranscribingSide findTranscribingSideById(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as TranscribingSideDao.findTranscribingSideById(java.lang.Integer) with an additional argument called queryString.
 TranscribingSide findTranscribingSideByNaturalId(java.lang.Integer id)
           
 java.lang.Object findTranscribingSideByNaturalId(int transform, java.lang.Integer id)
           Does the same thing as TranscribingSideDao.findTranscribingSideByNaturalId(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findTranscribingSideByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as TranscribingSideDao.findTranscribingSideByNaturalId(int, java.lang.Integer) with an additional argument called queryString.
 TranscribingSide findTranscribingSideByNaturalId(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as TranscribingSideDao.findTranscribingSideByNaturalId(java.lang.Integer) with an additional argument called queryString.
 ClusterTranscribingSide[] getAllClusterTranscribingSideSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
 java.util.Collection getAllTranscribingSide()
           
 java.util.Collection getAllTranscribingSide(int transform)
           Does the same thing as TranscribingSideDao.getAllTranscribingSide() with an additional flag called transform.
 java.util.Collection getAllTranscribingSide(int pageNumber, int pageSize)
           Does the same thing as TranscribingSideDao.getAllTranscribingSide() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllTranscribingSide(int transform, int pageNumber, int pageSize)
           Does the same thing as TranscribingSideDao.getAllTranscribingSide(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllTranscribingSide(int transform, java.lang.String queryString)
           Does the same thing as TranscribingSideDao.getAllTranscribingSide(int) with an additional argument called queryString.
 java.util.Collection getAllTranscribingSide(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as TranscribingSideDao.getAllTranscribingSide(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllTranscribingSide(java.lang.String queryString)
           Does the same thing as TranscribingSideDao.getAllTranscribingSide() with an additional argument called queryString.
 java.util.Collection getAllTranscribingSide(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as TranscribingSideDao.getAllTranscribingSide(String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllTranscribingSideSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as TranscribingSideDao.getAllTranscribingSideSinceDateSynchro(int, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllTranscribingSideSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as TranscribingSideDao.getAllTranscribingSideSinceDateSynchro(java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllTranscribingSideSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as TranscribingSideDao.getAllTranscribingSideSinceDateSynchro(int, String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllTranscribingSideSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as TranscribingSideDao.getAllTranscribingSideSinceDateSynchro(int, java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllTranscribingSideSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
           Does the same thing as TranscribingSideDao.getAllTranscribingSideSinceDateSynchro(java.sql.Timestamp) with an additional flag called transform.
 java.util.Collection getAllTranscribingSideSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as TranscribingSideDao.getAllTranscribingSideSinceDateSynchro(String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllTranscribingSideSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as TranscribingSideDao.getAllTranscribingSideSinceDateSynchro(java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllTranscribingSideSinceDateSynchro(java.sql.Timestamp updateDate)
           
protected  java.security.Principal getPrincipal()
          Gets the current principal if one has been set, otherwise returns null.
protected abstract  TranscribingSide handleCreateFromClusterTranscribingSide(ClusterTranscribingSide clusterTranscribingSide)
          Performs the core logic for createFromClusterTranscribingSide(fr.ifremer.allegro.referential.transcribing.generic.cluster.ClusterTranscribingSide)
protected abstract  ClusterTranscribingSide[] handleGetAllClusterTranscribingSideSinceDateSynchro(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 getAllClusterTranscribingSideSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 TranscribingSide load(java.lang.Integer id)
          Loads an instance of fr.ifremer.allegro.referential.transcribing.TranscribingSide from the persistent store.
 java.lang.Object load(int transform, java.lang.Integer id)
           Does the same thing as TranscribingSideDao.load(java.lang.Integer) with an additional flag called transform.
 java.util.Collection loadAll()
          Loads all entities of type TranscribingSide.
 java.util.Collection loadAll(int transform)
           Does the same thing as TranscribingSideDao.loadAll() with an additional flag called transform.
 java.util.Collection loadAll(int pageNumber, int pageSize)
           Does the same thing as TranscribingSideDao.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 TranscribingSideDao.loadAll(int) with an additional two arguments called pageNumber and pageSize.
 void remoteTranscribingSideFullVOToEntity(RemoteTranscribingSideFullVO source, TranscribingSide target, boolean copyIfNull)
          Copies the fields of RemoteTranscribingSideFullVO to the specified entity.
 void remoteTranscribingSideFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteTranscribingSideFullVO to this DAO's entity.
 void remoteTranscribingSideNaturalIdToEntity(RemoteTranscribingSideNaturalId source, TranscribingSide target, boolean copyIfNull)
          Copies the fields of RemoteTranscribingSideNaturalId to the specified entity.
 void remoteTranscribingSideNaturalIdToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteTranscribingSideNaturalId 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.TranscribingSide having the given identifier from the persistent store.
 void remove(TranscribingSide transcribingSide)
          Removes the instance of fr.ifremer.allegro.referential.transcribing.TranscribingSide 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 TranscribingSideDao.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.
protected  ClusterTranscribingSide toClusterTranscribingSide(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 ClusterTranscribingSide toClusterTranscribingSide(TranscribingSide entity)
          Converts this DAO's entity to an object of type ClusterTranscribingSide.
 void toClusterTranscribingSide(TranscribingSide source, ClusterTranscribingSide target)
          Copies the fields of the specified entity to the target value object.
 ClusterTranscribingSide[] toClusterTranscribingSideArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type ClusterTranscribingSide.
 void toClusterTranscribingSideCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type ClusterTranscribingSide.
protected  TranscribingSide toEntity(java.lang.Object[] row)
           
protected  RemoteTranscribingSideFullVO toRemoteTranscribingSideFullVO(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteTranscribingSideFullVO toRemoteTranscribingSideFullVO(TranscribingSide entity)
          Converts this DAO's entity to an object of type RemoteTranscribingSideFullVO.
 void toRemoteTranscribingSideFullVO(TranscribingSide source, RemoteTranscribingSideFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteTranscribingSideFullVO[] toRemoteTranscribingSideFullVOArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteTranscribingSideFullVO.
 void toRemoteTranscribingSideFullVOCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteTranscribingSideFullVO.
protected  RemoteTranscribingSideNaturalId toRemoteTranscribingSideNaturalId(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteTranscribingSideNaturalId toRemoteTranscribingSideNaturalId(TranscribingSide entity)
          Converts this DAO's entity to an object of type RemoteTranscribingSideNaturalId.
 void toRemoteTranscribingSideNaturalId(TranscribingSide source, RemoteTranscribingSideNaturalId target)
          Copies the fields of the specified entity to the target value object.
 RemoteTranscribingSideNaturalId[] toRemoteTranscribingSideNaturalIdArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteTranscribingSideNaturalId.
 void toRemoteTranscribingSideNaturalIdCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteTranscribingSideNaturalId.
protected  void transformEntities(int transform, java.util.Collection entities)
          Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.transcribing.TranscribingSide) method.
protected  java.lang.Object transformEntity(int transform, TranscribingSide 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.TranscribingSideDao, please note that the TranscribingSideDao.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(TranscribingSide transcribingSide)
          Updates the transcribingSide 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.TranscribingSideDao
clusterTranscribingSideToEntity, remoteTranscribingSideFullVOToEntity, remoteTranscribingSideNaturalIdToEntity
 

Constructor Detail

TranscribingSideDaoBase

public TranscribingSideDaoBase()
Method Detail

load

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

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

load

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

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

loadAll

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

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

loadAll

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

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

loadAll

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

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

loadAll

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

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

create

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

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

create

public java.lang.Object create(int transform,
                               TranscribingSide transcribingSide)
Description copied from interface: TranscribingSideDao

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

create

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

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

create

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

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

create

public TranscribingSide create(java.lang.String name,
                               java.sql.Timestamp updateDate)
Description copied from interface: TranscribingSideDao

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

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

create

public java.lang.Object create(int transform,
                               java.lang.String name,
                               java.sql.Timestamp updateDate)
Description copied from interface: TranscribingSideDao

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

create

public TranscribingSide create(java.lang.String name)
Description copied from interface: TranscribingSideDao

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

Specified by:
create in interface TranscribingSideDao
See Also:
TranscribingSideDao.create(java.lang.String)

create

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

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

update

public void update(TranscribingSide transcribingSide)
Description copied from interface: TranscribingSideDao
Updates the transcribingSide instance in the persistent store.

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

update

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

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

remove

public void remove(TranscribingSide transcribingSide)
Description copied from interface: TranscribingSideDao
Removes the instance of fr.ifremer.allegro.referential.transcribing.TranscribingSide from the persistent store.

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

remove

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

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

remove

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

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

getAllTranscribingSide

public java.util.Collection getAllTranscribingSide()
Specified by:
getAllTranscribingSide in interface TranscribingSideDao
See Also:
TranscribingSideDao.getAllTranscribingSide()

getAllTranscribingSide

public java.util.Collection getAllTranscribingSide(int transform)
Description copied from interface: TranscribingSideDao

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

getAllTranscribingSide

public java.util.Collection getAllTranscribingSide(java.lang.String queryString)
Description copied from interface: TranscribingSideDao

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

Specified by:
getAllTranscribingSide in interface TranscribingSideDao
See Also:
TranscribingSideDao.getAllTranscribingSide(java.lang.String)

getAllTranscribingSide

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

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

getAllTranscribingSide

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

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

getAllTranscribingSide

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

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

Specified by:
getAllTranscribingSide in interface TranscribingSideDao
See Also:
TranscribingSideDao.getAllTranscribingSide(int, String)

getAllTranscribingSide

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

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

getAllTranscribingSide

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

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

findTranscribingSideById

public TranscribingSide findTranscribingSideById(java.lang.Integer id)
Specified by:
findTranscribingSideById in interface TranscribingSideDao
See Also:
TranscribingSideDao.findTranscribingSideById(java.lang.Integer)

findTranscribingSideById

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

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

findTranscribingSideById

public TranscribingSide findTranscribingSideById(java.lang.String queryString,
                                                 java.lang.Integer id)
Description copied from interface: TranscribingSideDao

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

Specified by:
findTranscribingSideById in interface TranscribingSideDao
See Also:
TranscribingSideDao.findTranscribingSideById(java.lang.String, java.lang.Integer)

findTranscribingSideById

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

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

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

findTranscribingSideByNaturalId

public TranscribingSide findTranscribingSideByNaturalId(java.lang.Integer id)
Specified by:
findTranscribingSideByNaturalId in interface TranscribingSideDao
See Also:
TranscribingSideDao.findTranscribingSideByNaturalId(java.lang.Integer)

findTranscribingSideByNaturalId

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

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

findTranscribingSideByNaturalId

public TranscribingSide findTranscribingSideByNaturalId(java.lang.String queryString,
                                                        java.lang.Integer id)
Description copied from interface: TranscribingSideDao

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

Specified by:
findTranscribingSideByNaturalId in interface TranscribingSideDao
See Also:
TranscribingSideDao.findTranscribingSideByNaturalId(java.lang.String, java.lang.Integer)

findTranscribingSideByNaturalId

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

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

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

getAllTranscribingSideSinceDateSynchro

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

getAllTranscribingSideSinceDateSynchro

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

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

getAllTranscribingSideSinceDateSynchro

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

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

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

getAllTranscribingSideSinceDateSynchro

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

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

getAllTranscribingSideSinceDateSynchro

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

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

getAllTranscribingSideSinceDateSynchro

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

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

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

getAllTranscribingSideSinceDateSynchro

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

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

getAllTranscribingSideSinceDateSynchro

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

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

createFromClusterTranscribingSide

public TranscribingSide createFromClusterTranscribingSide(ClusterTranscribingSide clusterTranscribingSide)
Specified by:
createFromClusterTranscribingSide in interface TranscribingSideDao
See Also:
TranscribingSideDao.createFromClusterTranscribingSide(fr.ifremer.allegro.referential.transcribing.generic.cluster.ClusterTranscribingSide)

handleCreateFromClusterTranscribingSide

protected abstract TranscribingSide handleCreateFromClusterTranscribingSide(ClusterTranscribingSide clusterTranscribingSide)
                                                                     throws java.lang.Exception
Performs the core logic for createFromClusterTranscribingSide(fr.ifremer.allegro.referential.transcribing.generic.cluster.ClusterTranscribingSide)

Throws:
java.lang.Exception

getAllClusterTranscribingSideSinceDateSynchro

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

handleGetAllClusterTranscribingSideSinceDateSynchro

protected abstract ClusterTranscribingSide[] handleGetAllClusterTranscribingSideSinceDateSynchro(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 getAllClusterTranscribingSideSinceDateSynchro(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,
                                           TranscribingSide 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.TranscribingSideDao, please note that the TranscribingSideDao.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 TranscribingSideDao.TRANSFORM_NONE is assumed.

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

toEntity

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

toRemoteTranscribingSideFullVOCollection

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

Specified by:
toRemoteTranscribingSideFullVOCollection in interface TranscribingSideDao
See Also:
TranscribingSideDao.toRemoteTranscribingSideFullVOCollection(java.util.Collection)

toRemoteTranscribingSideFullVOArray

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

Specified by:
toRemoteTranscribingSideFullVOArray in interface TranscribingSideDao
See Also:
TranscribingSideDao.toRemoteTranscribingSideFullVOArray(java.util.Collection)

toRemoteTranscribingSideFullVO

protected RemoteTranscribingSideFullVO toRemoteTranscribingSideFullVO(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 TranscribingSideDaoImpl class if you intend to use reporting queries.

See Also:
TranscribingSideDao.toRemoteTranscribingSideFullVO(fr.ifremer.allegro.referential.transcribing.TranscribingSide)

remoteTranscribingSideFullVOToEntityCollection

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

Specified by:
remoteTranscribingSideFullVOToEntityCollection in interface TranscribingSideDao
See Also:
TranscribingSideDao.remoteTranscribingSideFullVOToEntityCollection(java.util.Collection)

toRemoteTranscribingSideFullVO

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

toRemoteTranscribingSideFullVO

public RemoteTranscribingSideFullVO toRemoteTranscribingSideFullVO(TranscribingSide entity)
Description copied from interface: TranscribingSideDao
Converts this DAO's entity to an object of type RemoteTranscribingSideFullVO.

Specified by:
toRemoteTranscribingSideFullVO in interface TranscribingSideDao
See Also:
TranscribingSideDao.toRemoteTranscribingSideFullVO(fr.ifremer.allegro.referential.transcribing.TranscribingSide)

remoteTranscribingSideFullVOToEntity

public void remoteTranscribingSideFullVOToEntity(RemoteTranscribingSideFullVO source,
                                                 TranscribingSide target,
                                                 boolean copyIfNull)
Description copied from interface: TranscribingSideDao
Copies the fields of RemoteTranscribingSideFullVO to the specified entity.

Specified by:
remoteTranscribingSideFullVOToEntity in interface TranscribingSideDao
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.TranscribingSideDao#remoteTranscribingSideFullVOToEntity(fr.ifremer.allegro.referential.transcribing.generic.vo.RemoteTranscribingSideFullVO, fr.ifremer.allegro.referential.transcribing.TranscribingSide)

toRemoteTranscribingSideNaturalIdCollection

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

Specified by:
toRemoteTranscribingSideNaturalIdCollection in interface TranscribingSideDao
See Also:
TranscribingSideDao.toRemoteTranscribingSideNaturalIdCollection(java.util.Collection)

toRemoteTranscribingSideNaturalIdArray

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

Specified by:
toRemoteTranscribingSideNaturalIdArray in interface TranscribingSideDao
See Also:
TranscribingSideDao.toRemoteTranscribingSideNaturalIdArray(java.util.Collection)

toRemoteTranscribingSideNaturalId

protected RemoteTranscribingSideNaturalId toRemoteTranscribingSideNaturalId(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 TranscribingSideDaoImpl class if you intend to use reporting queries.

See Also:
TranscribingSideDao.toRemoteTranscribingSideNaturalId(fr.ifremer.allegro.referential.transcribing.TranscribingSide)

remoteTranscribingSideNaturalIdToEntityCollection

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

Specified by:
remoteTranscribingSideNaturalIdToEntityCollection in interface TranscribingSideDao
See Also:
TranscribingSideDao.remoteTranscribingSideNaturalIdToEntityCollection(java.util.Collection)

toRemoteTranscribingSideNaturalId

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

toRemoteTranscribingSideNaturalId

public RemoteTranscribingSideNaturalId toRemoteTranscribingSideNaturalId(TranscribingSide entity)
Description copied from interface: TranscribingSideDao
Converts this DAO's entity to an object of type RemoteTranscribingSideNaturalId.

Specified by:
toRemoteTranscribingSideNaturalId in interface TranscribingSideDao
See Also:
TranscribingSideDao.toRemoteTranscribingSideNaturalId(fr.ifremer.allegro.referential.transcribing.TranscribingSide)

remoteTranscribingSideNaturalIdToEntity

public void remoteTranscribingSideNaturalIdToEntity(RemoteTranscribingSideNaturalId source,
                                                    TranscribingSide target,
                                                    boolean copyIfNull)
Description copied from interface: TranscribingSideDao
Copies the fields of RemoteTranscribingSideNaturalId to the specified entity.

Specified by:
remoteTranscribingSideNaturalIdToEntity in interface TranscribingSideDao
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.TranscribingSideDao#remoteTranscribingSideNaturalIdToEntity(fr.ifremer.allegro.referential.transcribing.generic.vo.RemoteTranscribingSideNaturalId, fr.ifremer.allegro.referential.transcribing.TranscribingSide)

toClusterTranscribingSideCollection

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

Specified by:
toClusterTranscribingSideCollection in interface TranscribingSideDao
See Also:
TranscribingSideDao.toClusterTranscribingSideCollection(java.util.Collection)

toClusterTranscribingSideArray

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

Specified by:
toClusterTranscribingSideArray in interface TranscribingSideDao
See Also:
TranscribingSideDao.toClusterTranscribingSideArray(java.util.Collection)

toClusterTranscribingSide

protected ClusterTranscribingSide toClusterTranscribingSide(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 TranscribingSideDaoImpl class if you intend to use reporting queries.

See Also:
TranscribingSideDao.toClusterTranscribingSide(fr.ifremer.allegro.referential.transcribing.TranscribingSide)

clusterTranscribingSideToEntityCollection

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

Specified by:
clusterTranscribingSideToEntityCollection in interface TranscribingSideDao
See Also:
TranscribingSideDao.clusterTranscribingSideToEntityCollection(java.util.Collection)

toClusterTranscribingSide

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

toClusterTranscribingSide

public ClusterTranscribingSide toClusterTranscribingSide(TranscribingSide entity)
Description copied from interface: TranscribingSideDao
Converts this DAO's entity to an object of type ClusterTranscribingSide.

Specified by:
toClusterTranscribingSide in interface TranscribingSideDao
See Also:
TranscribingSideDao.toClusterTranscribingSide(fr.ifremer.allegro.referential.transcribing.TranscribingSide)

clusterTranscribingSideToEntity

public void clusterTranscribingSideToEntity(ClusterTranscribingSide source,
                                            TranscribingSide target,
                                            boolean copyIfNull)
Description copied from interface: TranscribingSideDao
Copies the fields of ClusterTranscribingSide to the specified entity.

Specified by:
clusterTranscribingSideToEntity in interface TranscribingSideDao
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.TranscribingSideDao#clusterTranscribingSideToEntity(fr.ifremer.allegro.referential.transcribing.generic.cluster.ClusterTranscribingSide, fr.ifremer.allegro.referential.transcribing.TranscribingSide)

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

search

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

search

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

search

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

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


Copyright © 2008-2010 IFREMER. All Rights Reserved.