fr.ifremer.allegro.referential.taxon
Class TaxonGroupTypeDaoBase

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.referential.taxon.TaxonGroupTypeDaoBase
All Implemented Interfaces:
TaxonGroupTypeDao
Direct Known Subclasses:
TaxonGroupTypeDaoImpl

public abstract class TaxonGroupTypeDaoBase
extends org.springframework.orm.hibernate3.support.HibernateDaoSupport
implements TaxonGroupTypeDao

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

See Also:
TaxonGroupType

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.taxon.TaxonGroupTypeDao
TRANSFORM_CLUSTERTAXONGROUPTYPE, TRANSFORM_NONE, TRANSFORM_REMOTETAXONGROUPTYPEFULLVO, TRANSFORM_REMOTETAXONGROUPTYPENATURALID
 
Constructor Summary
TaxonGroupTypeDaoBase()
           
 
Method Summary
 void clusterTaxonGroupTypeToEntity(ClusterTaxonGroupType source, TaxonGroupType target, boolean copyIfNull)
          Copies the fields of ClusterTaxonGroupType to the specified entity.
 void clusterTaxonGroupTypeToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type ClusterTaxonGroupType to this DAO's entity.
 java.util.Collection create(java.util.Collection entities)
          Creates a new instance of fr.ifremer.allegro.referential.taxon.TaxonGroupType and adds from the passed in entities collection
 java.util.Collection create(int transform, java.util.Collection entities)
           Does the same thing as TaxonGroupTypeDao.create(fr.ifremer.allegro.referential.taxon.TaxonGroupType) with an additional flag called transform.
 java.lang.Object create(int transform, java.lang.String code, java.lang.String name)
           Does the same thing as TaxonGroupTypeDao.create(java.lang.String,java.lang.String) with an additional flag called transform.
 java.lang.Object create(int transform, java.lang.String code, java.lang.String name, java.sql.Timestamp updateDate, java.util.Collection taxonGroups)
           Does the same thing as TaxonGroupTypeDao.create(java.lang.String,java.lang.String,java.sql.Timestamp,java.util.Collection) with an additional flag called transform.
 java.lang.Object create(int transform, TaxonGroupType taxonGroupType)
           Does the same thing as TaxonGroupTypeDao.create(fr.ifremer.allegro.referential.taxon.TaxonGroupType) with an additional flag called transform.
 TaxonGroupType create(java.lang.String code, java.lang.String name)
           Creates a new fr.ifremer.allegro.referential.taxon.TaxonGroupType instance from only required properties (attributes and association ends) and adds it to the persistent store.
 TaxonGroupType create(java.lang.String code, java.lang.String name, java.sql.Timestamp updateDate, java.util.Collection taxonGroups)
           Creates a new fr.ifremer.allegro.referential.taxon.TaxonGroupType instance from all attributes and properties and adds it to the persistent store.
 TaxonGroupType create(TaxonGroupType taxonGroupType)
          Creates an instance of fr.ifremer.allegro.referential.taxon.TaxonGroupType and adds it to the persistent store.
 TaxonGroupType createFromClusterTaxonGroupType(ClusterTaxonGroupType clusterTaxonGroupType)
           
 java.lang.Object findTaxonGroupTypeByCode(int transform, java.lang.String code)
           Does the same thing as TaxonGroupTypeDao.findTaxonGroupTypeByCode(java.lang.String) with an additional flag called transform.
 java.lang.Object findTaxonGroupTypeByCode(int transform, java.lang.String queryString, java.lang.String code)
           Does the same thing as TaxonGroupTypeDao.findTaxonGroupTypeByCode(int, java.lang.String) with an additional argument called queryString.
 TaxonGroupType findTaxonGroupTypeByCode(java.lang.String code)
           
 TaxonGroupType findTaxonGroupTypeByCode(java.lang.String queryString, java.lang.String code)
           Does the same thing as TaxonGroupTypeDao.findTaxonGroupTypeByCode(java.lang.String) with an additional argument called queryString.
 java.lang.Object findTaxonGroupTypeByNaturalId(int transform, java.lang.String code)
           Does the same thing as TaxonGroupTypeDao.findTaxonGroupTypeByNaturalId(java.lang.String) with an additional flag called transform.
 java.lang.Object findTaxonGroupTypeByNaturalId(int transform, java.lang.String queryString, java.lang.String code)
           Does the same thing as TaxonGroupTypeDao.findTaxonGroupTypeByNaturalId(int, java.lang.String) with an additional argument called queryString.
 TaxonGroupType findTaxonGroupTypeByNaturalId(java.lang.String code)
           
 TaxonGroupType findTaxonGroupTypeByNaturalId(java.lang.String queryString, java.lang.String code)
           Does the same thing as TaxonGroupTypeDao.findTaxonGroupTypeByNaturalId(java.lang.String) with an additional argument called queryString.
 ClusterTaxonGroupType[] getAllClusterTaxonGroupTypeSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
 java.util.Collection getAllTaxonGroupType()
           
 java.util.Collection getAllTaxonGroupType(int transform)
           Does the same thing as TaxonGroupTypeDao.getAllTaxonGroupType() with an additional flag called transform.
 java.util.Collection getAllTaxonGroupType(int pageNumber, int pageSize)
           Does the same thing as TaxonGroupTypeDao.getAllTaxonGroupType() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllTaxonGroupType(int transform, int pageNumber, int pageSize)
           Does the same thing as TaxonGroupTypeDao.getAllTaxonGroupType(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllTaxonGroupType(int transform, java.lang.String queryString)
           Does the same thing as TaxonGroupTypeDao.getAllTaxonGroupType(int) with an additional argument called queryString.
 java.util.Collection getAllTaxonGroupType(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as TaxonGroupTypeDao.getAllTaxonGroupType(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllTaxonGroupType(java.lang.String queryString)
           Does the same thing as TaxonGroupTypeDao.getAllTaxonGroupType() with an additional argument called queryString.
 java.util.Collection getAllTaxonGroupType(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as TaxonGroupTypeDao.getAllTaxonGroupType(String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllTaxonGroupTypeSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as TaxonGroupTypeDao.getAllTaxonGroupTypeSinceDateSynchro(int, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllTaxonGroupTypeSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as TaxonGroupTypeDao.getAllTaxonGroupTypeSinceDateSynchro(java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllTaxonGroupTypeSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as TaxonGroupTypeDao.getAllTaxonGroupTypeSinceDateSynchro(int, String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllTaxonGroupTypeSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as TaxonGroupTypeDao.getAllTaxonGroupTypeSinceDateSynchro(int, java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllTaxonGroupTypeSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
           Does the same thing as TaxonGroupTypeDao.getAllTaxonGroupTypeSinceDateSynchro(java.sql.Timestamp) with an additional flag called transform.
 java.util.Collection getAllTaxonGroupTypeSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as TaxonGroupTypeDao.getAllTaxonGroupTypeSinceDateSynchro(String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllTaxonGroupTypeSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as TaxonGroupTypeDao.getAllTaxonGroupTypeSinceDateSynchro(java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllTaxonGroupTypeSinceDateSynchro(java.sql.Timestamp updateDate)
           
protected  java.security.Principal getPrincipal()
          Gets the current principal if one has been set, otherwise returns null.
protected  TaxonGroupDao getTaxonGroupDao()
          Gets the reference to taxonGroupDao.
protected abstract  TaxonGroupType handleCreateFromClusterTaxonGroupType(ClusterTaxonGroupType clusterTaxonGroupType)
          Performs the core logic for createFromClusterTaxonGroupType(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterTaxonGroupType)
protected abstract  ClusterTaxonGroupType[] handleGetAllClusterTaxonGroupTypeSinceDateSynchro(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 getAllClusterTaxonGroupTypeSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 java.lang.Object load(int transform, java.lang.String code)
           Does the same thing as TaxonGroupTypeDao.load(java.lang.String) with an additional flag called transform.
 TaxonGroupType load(java.lang.String code)
          Loads an instance of fr.ifremer.allegro.referential.taxon.TaxonGroupType from the persistent store.
 java.util.Collection loadAll()
          Loads all entities of type TaxonGroupType.
 java.util.Collection loadAll(int transform)
           Does the same thing as TaxonGroupTypeDao.loadAll() with an additional flag called transform.
 java.util.Collection loadAll(int pageNumber, int pageSize)
           Does the same thing as TaxonGroupTypeDao.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 TaxonGroupTypeDao.loadAll(int) with an additional two arguments called pageNumber and pageSize.
 void remoteTaxonGroupTypeFullVOToEntity(RemoteTaxonGroupTypeFullVO source, TaxonGroupType target, boolean copyIfNull)
          Copies the fields of RemoteTaxonGroupTypeFullVO to the specified entity.
 void remoteTaxonGroupTypeFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteTaxonGroupTypeFullVO to this DAO's entity.
 void remoteTaxonGroupTypeNaturalIdToEntity(RemoteTaxonGroupTypeNaturalId source, TaxonGroupType target, boolean copyIfNull)
          Copies the fields of RemoteTaxonGroupTypeNaturalId to the specified entity.
 void remoteTaxonGroupTypeNaturalIdToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteTaxonGroupTypeNaturalId to this DAO's entity.
 void remove(java.util.Collection entities)
          Removes all entities in the given entities collection.
 void remove(java.lang.String code)
          Removes the instance of fr.ifremer.allegro.referential.taxon.TaxonGroupType having the given identifier from the persistent store.
 void remove(TaxonGroupType taxonGroupType)
          Removes the instance of fr.ifremer.allegro.referential.taxon.TaxonGroupType 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 TaxonGroupTypeDao.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 setTaxonGroupDao(TaxonGroupDao taxonGroupDao)
          Sets the reference to taxonGroupDao.
protected  ClusterTaxonGroupType toClusterTaxonGroupType(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 ClusterTaxonGroupType toClusterTaxonGroupType(TaxonGroupType entity)
          Converts this DAO's entity to an object of type ClusterTaxonGroupType.
 void toClusterTaxonGroupType(TaxonGroupType source, ClusterTaxonGroupType target)
          Copies the fields of the specified entity to the target value object.
 ClusterTaxonGroupType[] toClusterTaxonGroupTypeArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type ClusterTaxonGroupType.
 void toClusterTaxonGroupTypeCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type ClusterTaxonGroupType.
protected  TaxonGroupType toEntity(java.lang.Object[] row)
           
protected  RemoteTaxonGroupTypeFullVO toRemoteTaxonGroupTypeFullVO(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteTaxonGroupTypeFullVO toRemoteTaxonGroupTypeFullVO(TaxonGroupType entity)
          Converts this DAO's entity to an object of type RemoteTaxonGroupTypeFullVO.
 void toRemoteTaxonGroupTypeFullVO(TaxonGroupType source, RemoteTaxonGroupTypeFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteTaxonGroupTypeFullVO[] toRemoteTaxonGroupTypeFullVOArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteTaxonGroupTypeFullVO.
 void toRemoteTaxonGroupTypeFullVOCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteTaxonGroupTypeFullVO.
protected  RemoteTaxonGroupTypeNaturalId toRemoteTaxonGroupTypeNaturalId(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteTaxonGroupTypeNaturalId toRemoteTaxonGroupTypeNaturalId(TaxonGroupType entity)
          Converts this DAO's entity to an object of type RemoteTaxonGroupTypeNaturalId.
 void toRemoteTaxonGroupTypeNaturalId(TaxonGroupType source, RemoteTaxonGroupTypeNaturalId target)
          Copies the fields of the specified entity to the target value object.
 RemoteTaxonGroupTypeNaturalId[] toRemoteTaxonGroupTypeNaturalIdArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteTaxonGroupTypeNaturalId.
 void toRemoteTaxonGroupTypeNaturalIdCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteTaxonGroupTypeNaturalId.
protected  void transformEntities(int transform, java.util.Collection entities)
          Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.taxon.TaxonGroupType) method.
protected  java.lang.Object transformEntity(int transform, TaxonGroupType 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.taxon.TaxonGroupTypeDao, please note that the TaxonGroupTypeDao.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(TaxonGroupType taxonGroupType)
          Updates the taxonGroupType 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.taxon.TaxonGroupTypeDao
clusterTaxonGroupTypeToEntity, remoteTaxonGroupTypeFullVOToEntity, remoteTaxonGroupTypeNaturalIdToEntity
 

Constructor Detail

TaxonGroupTypeDaoBase

public TaxonGroupTypeDaoBase()
Method Detail

setTaxonGroupDao

public void setTaxonGroupDao(TaxonGroupDao taxonGroupDao)
Sets the reference to taxonGroupDao.


getTaxonGroupDao

protected TaxonGroupDao getTaxonGroupDao()
Gets the reference to taxonGroupDao.


load

public java.lang.Object load(int transform,
                             java.lang.String code)
Description copied from interface: TaxonGroupTypeDao

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

load

public TaxonGroupType load(java.lang.String code)
Description copied from interface: TaxonGroupTypeDao
Loads an instance of fr.ifremer.allegro.referential.taxon.TaxonGroupType from the persistent store.

Specified by:
load in interface TaxonGroupTypeDao
See Also:
TaxonGroupTypeDao.load(java.lang.String)

loadAll

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

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

loadAll

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

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

loadAll

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

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

loadAll

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

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

create

public TaxonGroupType create(TaxonGroupType taxonGroupType)
Description copied from interface: TaxonGroupTypeDao
Creates an instance of fr.ifremer.allegro.referential.taxon.TaxonGroupType and adds it to the persistent store.

Specified by:
create in interface TaxonGroupTypeDao
See Also:
TaxonGroupTypeDao.create(fr.ifremer.allegro.referential.taxon.TaxonGroupType)

create

public java.lang.Object create(int transform,
                               TaxonGroupType taxonGroupType)
Description copied from interface: TaxonGroupTypeDao

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

create

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

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

create

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

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

create

public TaxonGroupType create(java.lang.String code,
                             java.lang.String name,
                             java.sql.Timestamp updateDate,
                             java.util.Collection taxonGroups)
Description copied from interface: TaxonGroupTypeDao

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

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

create

public java.lang.Object create(int transform,
                               java.lang.String code,
                               java.lang.String name,
                               java.sql.Timestamp updateDate,
                               java.util.Collection taxonGroups)
Description copied from interface: TaxonGroupTypeDao

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

create

public TaxonGroupType create(java.lang.String code,
                             java.lang.String name)
Description copied from interface: TaxonGroupTypeDao

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

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

create

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

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

update

public void update(TaxonGroupType taxonGroupType)
Description copied from interface: TaxonGroupTypeDao
Updates the taxonGroupType instance in the persistent store.

Specified by:
update in interface TaxonGroupTypeDao
See Also:
TaxonGroupTypeDao.update(fr.ifremer.allegro.referential.taxon.TaxonGroupType)

update

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

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

remove

public void remove(TaxonGroupType taxonGroupType)
Description copied from interface: TaxonGroupTypeDao
Removes the instance of fr.ifremer.allegro.referential.taxon.TaxonGroupType from the persistent store.

Specified by:
remove in interface TaxonGroupTypeDao
See Also:
TaxonGroupTypeDao.remove(fr.ifremer.allegro.referential.taxon.TaxonGroupType)

remove

public void remove(java.lang.String code)
Description copied from interface: TaxonGroupTypeDao
Removes the instance of fr.ifremer.allegro.referential.taxon.TaxonGroupType having the given identifier from the persistent store.

Specified by:
remove in interface TaxonGroupTypeDao
See Also:
TaxonGroupTypeDao.remove(java.lang.String)

remove

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

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

getAllTaxonGroupType

public java.util.Collection getAllTaxonGroupType()
Specified by:
getAllTaxonGroupType in interface TaxonGroupTypeDao
See Also:
TaxonGroupTypeDao.getAllTaxonGroupType()

getAllTaxonGroupType

public java.util.Collection getAllTaxonGroupType(int transform)
Description copied from interface: TaxonGroupTypeDao

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

getAllTaxonGroupType

public java.util.Collection getAllTaxonGroupType(java.lang.String queryString)
Description copied from interface: TaxonGroupTypeDao

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

Specified by:
getAllTaxonGroupType in interface TaxonGroupTypeDao
See Also:
TaxonGroupTypeDao.getAllTaxonGroupType(java.lang.String)

getAllTaxonGroupType

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

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

getAllTaxonGroupType

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

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

getAllTaxonGroupType

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

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

Specified by:
getAllTaxonGroupType in interface TaxonGroupTypeDao
See Also:
TaxonGroupTypeDao.getAllTaxonGroupType(int, String)

getAllTaxonGroupType

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

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

getAllTaxonGroupType

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

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

findTaxonGroupTypeByCode

public TaxonGroupType findTaxonGroupTypeByCode(java.lang.String code)
Specified by:
findTaxonGroupTypeByCode in interface TaxonGroupTypeDao
See Also:
TaxonGroupTypeDao.findTaxonGroupTypeByCode(java.lang.String)

findTaxonGroupTypeByCode

public java.lang.Object findTaxonGroupTypeByCode(int transform,
                                                 java.lang.String code)
Description copied from interface: TaxonGroupTypeDao

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

findTaxonGroupTypeByCode

public TaxonGroupType findTaxonGroupTypeByCode(java.lang.String queryString,
                                               java.lang.String code)
Description copied from interface: TaxonGroupTypeDao

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

Specified by:
findTaxonGroupTypeByCode in interface TaxonGroupTypeDao
See Also:
TaxonGroupTypeDao.findTaxonGroupTypeByCode(java.lang.String, java.lang.String)

findTaxonGroupTypeByCode

public java.lang.Object findTaxonGroupTypeByCode(int transform,
                                                 java.lang.String queryString,
                                                 java.lang.String code)
Description copied from interface: TaxonGroupTypeDao

Does the same thing as TaxonGroupTypeDao.findTaxonGroupTypeByCode(int, java.lang.String) with an additional argument called queryString. This queryString argument allows you to override the query string defined in TaxonGroupTypeDao.findTaxonGroupTypeByCode(int, java.lang.String code).

Specified by:
findTaxonGroupTypeByCode in interface TaxonGroupTypeDao
See Also:
TaxonGroupTypeDao.findTaxonGroupTypeByCode(int, java.lang.String, java.lang.String)

findTaxonGroupTypeByNaturalId

public TaxonGroupType findTaxonGroupTypeByNaturalId(java.lang.String code)
Specified by:
findTaxonGroupTypeByNaturalId in interface TaxonGroupTypeDao
See Also:
TaxonGroupTypeDao.findTaxonGroupTypeByNaturalId(java.lang.String)

findTaxonGroupTypeByNaturalId

public java.lang.Object findTaxonGroupTypeByNaturalId(int transform,
                                                      java.lang.String code)
Description copied from interface: TaxonGroupTypeDao

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

findTaxonGroupTypeByNaturalId

public TaxonGroupType findTaxonGroupTypeByNaturalId(java.lang.String queryString,
                                                    java.lang.String code)
Description copied from interface: TaxonGroupTypeDao

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

Specified by:
findTaxonGroupTypeByNaturalId in interface TaxonGroupTypeDao
See Also:
TaxonGroupTypeDao.findTaxonGroupTypeByNaturalId(java.lang.String, java.lang.String)

findTaxonGroupTypeByNaturalId

public java.lang.Object findTaxonGroupTypeByNaturalId(int transform,
                                                      java.lang.String queryString,
                                                      java.lang.String code)
Description copied from interface: TaxonGroupTypeDao

Does the same thing as TaxonGroupTypeDao.findTaxonGroupTypeByNaturalId(int, java.lang.String) with an additional argument called queryString. This queryString argument allows you to override the query string defined in TaxonGroupTypeDao.findTaxonGroupTypeByNaturalId(int, java.lang.String code).

Specified by:
findTaxonGroupTypeByNaturalId in interface TaxonGroupTypeDao
See Also:
TaxonGroupTypeDao.findTaxonGroupTypeByNaturalId(int, java.lang.String, java.lang.String)

getAllTaxonGroupTypeSinceDateSynchro

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

getAllTaxonGroupTypeSinceDateSynchro

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

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

getAllTaxonGroupTypeSinceDateSynchro

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

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

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

getAllTaxonGroupTypeSinceDateSynchro

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

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

getAllTaxonGroupTypeSinceDateSynchro

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

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

getAllTaxonGroupTypeSinceDateSynchro

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

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

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

getAllTaxonGroupTypeSinceDateSynchro

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

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

getAllTaxonGroupTypeSinceDateSynchro

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

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

createFromClusterTaxonGroupType

public TaxonGroupType createFromClusterTaxonGroupType(ClusterTaxonGroupType clusterTaxonGroupType)
Specified by:
createFromClusterTaxonGroupType in interface TaxonGroupTypeDao
See Also:
TaxonGroupTypeDao.createFromClusterTaxonGroupType(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterTaxonGroupType)

handleCreateFromClusterTaxonGroupType

protected abstract TaxonGroupType handleCreateFromClusterTaxonGroupType(ClusterTaxonGroupType clusterTaxonGroupType)
                                                                 throws java.lang.Exception
Performs the core logic for createFromClusterTaxonGroupType(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterTaxonGroupType)

Throws:
java.lang.Exception

getAllClusterTaxonGroupTypeSinceDateSynchro

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

handleGetAllClusterTaxonGroupTypeSinceDateSynchro

protected abstract ClusterTaxonGroupType[] handleGetAllClusterTaxonGroupTypeSinceDateSynchro(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 getAllClusterTaxonGroupTypeSinceDateSynchro(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,
                                           TaxonGroupType 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.taxon.TaxonGroupTypeDao, please note that the TaxonGroupTypeDao.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 TaxonGroupTypeDao.TRANSFORM_NONE is assumed.

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

toEntity

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

toRemoteTaxonGroupTypeFullVOCollection

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

Specified by:
toRemoteTaxonGroupTypeFullVOCollection in interface TaxonGroupTypeDao
See Also:
TaxonGroupTypeDao.toRemoteTaxonGroupTypeFullVOCollection(java.util.Collection)

toRemoteTaxonGroupTypeFullVOArray

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

Specified by:
toRemoteTaxonGroupTypeFullVOArray in interface TaxonGroupTypeDao
See Also:
TaxonGroupTypeDao.toRemoteTaxonGroupTypeFullVOArray(java.util.Collection)

toRemoteTaxonGroupTypeFullVO

protected RemoteTaxonGroupTypeFullVO toRemoteTaxonGroupTypeFullVO(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 TaxonGroupTypeDaoImpl class if you intend to use reporting queries.

See Also:
TaxonGroupTypeDao.toRemoteTaxonGroupTypeFullVO(fr.ifremer.allegro.referential.taxon.TaxonGroupType)

remoteTaxonGroupTypeFullVOToEntityCollection

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

Specified by:
remoteTaxonGroupTypeFullVOToEntityCollection in interface TaxonGroupTypeDao
See Also:
TaxonGroupTypeDao.remoteTaxonGroupTypeFullVOToEntityCollection(java.util.Collection)

toRemoteTaxonGroupTypeFullVO

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

toRemoteTaxonGroupTypeFullVO

public RemoteTaxonGroupTypeFullVO toRemoteTaxonGroupTypeFullVO(TaxonGroupType entity)
Description copied from interface: TaxonGroupTypeDao
Converts this DAO's entity to an object of type RemoteTaxonGroupTypeFullVO.

Specified by:
toRemoteTaxonGroupTypeFullVO in interface TaxonGroupTypeDao
See Also:
TaxonGroupTypeDao.toRemoteTaxonGroupTypeFullVO(fr.ifremer.allegro.referential.taxon.TaxonGroupType)

remoteTaxonGroupTypeFullVOToEntity

public void remoteTaxonGroupTypeFullVOToEntity(RemoteTaxonGroupTypeFullVO source,
                                               TaxonGroupType target,
                                               boolean copyIfNull)
Description copied from interface: TaxonGroupTypeDao
Copies the fields of RemoteTaxonGroupTypeFullVO to the specified entity.

Specified by:
remoteTaxonGroupTypeFullVOToEntity in interface TaxonGroupTypeDao
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.taxon.TaxonGroupTypeDao#remoteTaxonGroupTypeFullVOToEntity(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonGroupTypeFullVO, fr.ifremer.allegro.referential.taxon.TaxonGroupType)

toRemoteTaxonGroupTypeNaturalIdCollection

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

Specified by:
toRemoteTaxonGroupTypeNaturalIdCollection in interface TaxonGroupTypeDao
See Also:
TaxonGroupTypeDao.toRemoteTaxonGroupTypeNaturalIdCollection(java.util.Collection)

toRemoteTaxonGroupTypeNaturalIdArray

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

Specified by:
toRemoteTaxonGroupTypeNaturalIdArray in interface TaxonGroupTypeDao
See Also:
TaxonGroupTypeDao.toRemoteTaxonGroupTypeNaturalIdArray(java.util.Collection)

toRemoteTaxonGroupTypeNaturalId

protected RemoteTaxonGroupTypeNaturalId toRemoteTaxonGroupTypeNaturalId(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 TaxonGroupTypeDaoImpl class if you intend to use reporting queries.

See Also:
TaxonGroupTypeDao.toRemoteTaxonGroupTypeNaturalId(fr.ifremer.allegro.referential.taxon.TaxonGroupType)

remoteTaxonGroupTypeNaturalIdToEntityCollection

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

Specified by:
remoteTaxonGroupTypeNaturalIdToEntityCollection in interface TaxonGroupTypeDao
See Also:
TaxonGroupTypeDao.remoteTaxonGroupTypeNaturalIdToEntityCollection(java.util.Collection)

toRemoteTaxonGroupTypeNaturalId

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

toRemoteTaxonGroupTypeNaturalId

public RemoteTaxonGroupTypeNaturalId toRemoteTaxonGroupTypeNaturalId(TaxonGroupType entity)
Description copied from interface: TaxonGroupTypeDao
Converts this DAO's entity to an object of type RemoteTaxonGroupTypeNaturalId.

Specified by:
toRemoteTaxonGroupTypeNaturalId in interface TaxonGroupTypeDao
See Also:
TaxonGroupTypeDao.toRemoteTaxonGroupTypeNaturalId(fr.ifremer.allegro.referential.taxon.TaxonGroupType)

remoteTaxonGroupTypeNaturalIdToEntity

public void remoteTaxonGroupTypeNaturalIdToEntity(RemoteTaxonGroupTypeNaturalId source,
                                                  TaxonGroupType target,
                                                  boolean copyIfNull)
Description copied from interface: TaxonGroupTypeDao
Copies the fields of RemoteTaxonGroupTypeNaturalId to the specified entity.

Specified by:
remoteTaxonGroupTypeNaturalIdToEntity in interface TaxonGroupTypeDao
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.taxon.TaxonGroupTypeDao#remoteTaxonGroupTypeNaturalIdToEntity(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonGroupTypeNaturalId, fr.ifremer.allegro.referential.taxon.TaxonGroupType)

toClusterTaxonGroupTypeCollection

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

Specified by:
toClusterTaxonGroupTypeCollection in interface TaxonGroupTypeDao
See Also:
TaxonGroupTypeDao.toClusterTaxonGroupTypeCollection(java.util.Collection)

toClusterTaxonGroupTypeArray

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

Specified by:
toClusterTaxonGroupTypeArray in interface TaxonGroupTypeDao
See Also:
TaxonGroupTypeDao.toClusterTaxonGroupTypeArray(java.util.Collection)

toClusterTaxonGroupType

protected ClusterTaxonGroupType toClusterTaxonGroupType(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 TaxonGroupTypeDaoImpl class if you intend to use reporting queries.

See Also:
TaxonGroupTypeDao.toClusterTaxonGroupType(fr.ifremer.allegro.referential.taxon.TaxonGroupType)

clusterTaxonGroupTypeToEntityCollection

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

Specified by:
clusterTaxonGroupTypeToEntityCollection in interface TaxonGroupTypeDao
See Also:
TaxonGroupTypeDao.clusterTaxonGroupTypeToEntityCollection(java.util.Collection)

toClusterTaxonGroupType

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

toClusterTaxonGroupType

public ClusterTaxonGroupType toClusterTaxonGroupType(TaxonGroupType entity)
Description copied from interface: TaxonGroupTypeDao
Converts this DAO's entity to an object of type ClusterTaxonGroupType.

Specified by:
toClusterTaxonGroupType in interface TaxonGroupTypeDao
See Also:
TaxonGroupTypeDao.toClusterTaxonGroupType(fr.ifremer.allegro.referential.taxon.TaxonGroupType)

clusterTaxonGroupTypeToEntity

public void clusterTaxonGroupTypeToEntity(ClusterTaxonGroupType source,
                                          TaxonGroupType target,
                                          boolean copyIfNull)
Description copied from interface: TaxonGroupTypeDao
Copies the fields of ClusterTaxonGroupType to the specified entity.

Specified by:
clusterTaxonGroupTypeToEntity in interface TaxonGroupTypeDao
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.taxon.TaxonGroupTypeDao#clusterTaxonGroupTypeToEntity(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterTaxonGroupType, fr.ifremer.allegro.referential.taxon.TaxonGroupType)

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

search

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

search

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

search

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

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


Copyright © 2008-2010 IFREMER. All Rights Reserved.