fr.ifremer.allegro.referential.pmfm
Class AggregationLevelDaoBase

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

public abstract class AggregationLevelDaoBase
extends org.springframework.orm.hibernate3.support.HibernateDaoSupport
implements AggregationLevelDao

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

See Also:
AggregationLevel

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.pmfm.AggregationLevelDao
TRANSFORM_CLUSTERAGGREGATIONLEVEL, TRANSFORM_NONE, TRANSFORM_REMOTEAGGREGATIONLEVELFULLVO, TRANSFORM_REMOTEAGGREGATIONLEVELNATURALID
 
Constructor Summary
AggregationLevelDaoBase()
           
 
Method Summary
 void clusterAggregationLevelToEntity(ClusterAggregationLevel source, AggregationLevel target, boolean copyIfNull)
          Copies the fields of ClusterAggregationLevel to the specified entity.
 void clusterAggregationLevelToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type ClusterAggregationLevel to this DAO's entity.
 AggregationLevel create(AggregationLevel aggregationLevel)
          Creates an instance of fr.ifremer.allegro.referential.pmfm.AggregationLevel and adds it to the persistent store.
 java.util.Collection create(java.util.Collection entities)
          Creates a new instance of fr.ifremer.allegro.referential.pmfm.AggregationLevel and adds from the passed in entities collection
 java.lang.Object create(int transform, AggregationLevel aggregationLevel)
           Does the same thing as AggregationLevelDao.create(fr.ifremer.allegro.referential.pmfm.AggregationLevel) with an additional flag called transform.
 java.util.Collection create(int transform, java.util.Collection entities)
           Does the same thing as AggregationLevelDao.create(fr.ifremer.allegro.referential.pmfm.AggregationLevel) with an additional flag called transform.
 java.lang.Object create(int transform, java.lang.String name, java.lang.Integer rankOrder)
           Does the same thing as AggregationLevelDao.create(java.lang.String,java.lang.Integer) with an additional flag called transform.
 java.lang.Object create(int transform, java.lang.String name, java.lang.Integer rankOrder, java.sql.Timestamp updateDate)
           Does the same thing as AggregationLevelDao.create(java.lang.String,java.lang.Integer,java.sql.Timestamp) with an additional flag called transform.
 AggregationLevel create(java.lang.String name, java.lang.Integer rankOrder)
           Creates a new fr.ifremer.allegro.referential.pmfm.AggregationLevel instance from only required properties (attributes and association ends) and adds it to the persistent store.
 AggregationLevel create(java.lang.String name, java.lang.Integer rankOrder, java.sql.Timestamp updateDate)
           Creates a new fr.ifremer.allegro.referential.pmfm.AggregationLevel instance from all attributes and properties and adds it to the persistent store.
 AggregationLevel createFromClusterAggregationLevel(ClusterAggregationLevel clusterAggregationLevel)
           
 AggregationLevel findAggregationLevelById(java.lang.Integer id)
           
 java.lang.Object findAggregationLevelById(int transform, java.lang.Integer id)
           Does the same thing as AggregationLevelDao.findAggregationLevelById(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findAggregationLevelById(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as AggregationLevelDao.findAggregationLevelById(int, java.lang.Integer) with an additional argument called queryString.
 AggregationLevel findAggregationLevelById(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as AggregationLevelDao.findAggregationLevelById(java.lang.Integer) with an additional argument called queryString.
 AggregationLevel findAggregationLevelByNaturalId(java.lang.Integer id)
           
 java.lang.Object findAggregationLevelByNaturalId(int transform, java.lang.Integer id)
           Does the same thing as AggregationLevelDao.findAggregationLevelByNaturalId(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findAggregationLevelByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as AggregationLevelDao.findAggregationLevelByNaturalId(int, java.lang.Integer) with an additional argument called queryString.
 AggregationLevel findAggregationLevelByNaturalId(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as AggregationLevelDao.findAggregationLevelByNaturalId(java.lang.Integer) with an additional argument called queryString.
 java.util.Collection getAllAggregationLevel()
           
 java.util.Collection getAllAggregationLevel(int transform)
           Does the same thing as AggregationLevelDao.getAllAggregationLevel() with an additional flag called transform.
 java.util.Collection getAllAggregationLevel(int pageNumber, int pageSize)
           Does the same thing as AggregationLevelDao.getAllAggregationLevel() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllAggregationLevel(int transform, int pageNumber, int pageSize)
           Does the same thing as AggregationLevelDao.getAllAggregationLevel(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllAggregationLevel(int transform, java.lang.String queryString)
           Does the same thing as AggregationLevelDao.getAllAggregationLevel(int) with an additional argument called queryString.
 java.util.Collection getAllAggregationLevel(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as AggregationLevelDao.getAllAggregationLevel(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllAggregationLevel(java.lang.String queryString)
           Does the same thing as AggregationLevelDao.getAllAggregationLevel() with an additional argument called queryString.
 java.util.Collection getAllAggregationLevel(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as AggregationLevelDao.getAllAggregationLevel(String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllAggregationLevelSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as AggregationLevelDao.getAllAggregationLevelSinceDateSynchro(int, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllAggregationLevelSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as AggregationLevelDao.getAllAggregationLevelSinceDateSynchro(java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllAggregationLevelSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as AggregationLevelDao.getAllAggregationLevelSinceDateSynchro(int, String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllAggregationLevelSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as AggregationLevelDao.getAllAggregationLevelSinceDateSynchro(int, java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllAggregationLevelSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
           Does the same thing as AggregationLevelDao.getAllAggregationLevelSinceDateSynchro(java.sql.Timestamp) with an additional flag called transform.
 java.util.Collection getAllAggregationLevelSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as AggregationLevelDao.getAllAggregationLevelSinceDateSynchro(String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllAggregationLevelSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as AggregationLevelDao.getAllAggregationLevelSinceDateSynchro(java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllAggregationLevelSinceDateSynchro(java.sql.Timestamp updateDate)
           
 ClusterAggregationLevel[] getAllClusterAggregationLevelSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
protected  java.security.Principal getPrincipal()
          Gets the current principal if one has been set, otherwise returns null.
protected abstract  AggregationLevel handleCreateFromClusterAggregationLevel(ClusterAggregationLevel clusterAggregationLevel)
          Performs the core logic for createFromClusterAggregationLevel(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterAggregationLevel)
protected abstract  ClusterAggregationLevel[] handleGetAllClusterAggregationLevelSinceDateSynchro(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 getAllClusterAggregationLevelSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 AggregationLevel load(java.lang.Integer id)
          Loads an instance of fr.ifremer.allegro.referential.pmfm.AggregationLevel from the persistent store.
 java.lang.Object load(int transform, java.lang.Integer id)
           Does the same thing as AggregationLevelDao.load(java.lang.Integer) with an additional flag called transform.
 java.util.Collection loadAll()
          Loads all entities of type AggregationLevel.
 java.util.Collection loadAll(int transform)
           Does the same thing as AggregationLevelDao.loadAll() with an additional flag called transform.
 java.util.Collection loadAll(int pageNumber, int pageSize)
           Does the same thing as AggregationLevelDao.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 AggregationLevelDao.loadAll(int) with an additional two arguments called pageNumber and pageSize.
 void remoteAggregationLevelFullVOToEntity(RemoteAggregationLevelFullVO source, AggregationLevel target, boolean copyIfNull)
          Copies the fields of RemoteAggregationLevelFullVO to the specified entity.
 void remoteAggregationLevelFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteAggregationLevelFullVO to this DAO's entity.
 void remoteAggregationLevelNaturalIdToEntity(RemoteAggregationLevelNaturalId source, AggregationLevel target, boolean copyIfNull)
          Copies the fields of RemoteAggregationLevelNaturalId to the specified entity.
 void remoteAggregationLevelNaturalIdToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteAggregationLevelNaturalId to this DAO's entity.
 void remove(AggregationLevel aggregationLevel)
          Removes the instance of fr.ifremer.allegro.referential.pmfm.AggregationLevel from the persistent store.
 void remove(java.util.Collection entities)
          Removes all entities in the given entities collection.
 void remove(java.lang.Integer id)
          Removes the instance of fr.ifremer.allegro.referential.pmfm.AggregationLevel having the given identifier from the persistent store.
 PaginationResult search(int transform, int pageNumber, int pageSize, Search search)
          Does the same thing as {@link #search(int, fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize.
 PaginationResult search(int pageNumber, int pageSize, Search search)
          Does the same thing as {@link #search(fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize.
 java.util.Set search(int transform, Search search)
          Does the same thing as AggregationLevelDao.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.
 ClusterAggregationLevel toClusterAggregationLevel(AggregationLevel entity)
          Converts this DAO's entity to an object of type ClusterAggregationLevel.
 void toClusterAggregationLevel(AggregationLevel source, ClusterAggregationLevel target)
          Copies the fields of the specified entity to the target value object.
protected  ClusterAggregationLevel toClusterAggregationLevel(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 ClusterAggregationLevel[] toClusterAggregationLevelArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type ClusterAggregationLevel.
 void toClusterAggregationLevelCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type ClusterAggregationLevel.
protected  AggregationLevel toEntity(java.lang.Object[] row)
           
 RemoteAggregationLevelFullVO toRemoteAggregationLevelFullVO(AggregationLevel entity)
          Converts this DAO's entity to an object of type RemoteAggregationLevelFullVO.
 void toRemoteAggregationLevelFullVO(AggregationLevel source, RemoteAggregationLevelFullVO target)
          Copies the fields of the specified entity to the target value object.
protected  RemoteAggregationLevelFullVO toRemoteAggregationLevelFullVO(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteAggregationLevelFullVO[] toRemoteAggregationLevelFullVOArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteAggregationLevelFullVO.
 void toRemoteAggregationLevelFullVOCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteAggregationLevelFullVO.
 RemoteAggregationLevelNaturalId toRemoteAggregationLevelNaturalId(AggregationLevel entity)
          Converts this DAO's entity to an object of type RemoteAggregationLevelNaturalId.
 void toRemoteAggregationLevelNaturalId(AggregationLevel source, RemoteAggregationLevelNaturalId target)
          Copies the fields of the specified entity to the target value object.
protected  RemoteAggregationLevelNaturalId toRemoteAggregationLevelNaturalId(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteAggregationLevelNaturalId[] toRemoteAggregationLevelNaturalIdArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteAggregationLevelNaturalId.
 void toRemoteAggregationLevelNaturalIdCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteAggregationLevelNaturalId.
protected  void transformEntities(int transform, java.util.Collection entities)
          Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.pmfm.AggregationLevel) method.
protected  java.lang.Object transformEntity(int transform, AggregationLevel entity)
          Allows transformation of entities into value objects (or something else for that matter), when the transform flag is set to one of the constants defined in fr.ifremer.allegro.referential.pmfm.AggregationLevelDao, please note that the AggregationLevelDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself will be returned.
 void update(AggregationLevel aggregationLevel)
          Updates the aggregationLevel instance in the persistent store.
 void update(java.util.Collection entities)
          Updates all instances in the entities collection in the persistent store.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface fr.ifremer.allegro.referential.pmfm.AggregationLevelDao
clusterAggregationLevelToEntity, remoteAggregationLevelFullVOToEntity, remoteAggregationLevelNaturalIdToEntity
 

Constructor Detail

AggregationLevelDaoBase

public AggregationLevelDaoBase()
Method Detail

load

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

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

load

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

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

loadAll

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

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

loadAll

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

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

loadAll

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

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

loadAll

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

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

create

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

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

create

public java.lang.Object create(int transform,
                               AggregationLevel aggregationLevel)
Description copied from interface: AggregationLevelDao

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

create

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

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

create

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

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

create

public AggregationLevel create(java.lang.String name,
                               java.lang.Integer rankOrder,
                               java.sql.Timestamp updateDate)
Description copied from interface: AggregationLevelDao

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

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

create

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

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

create

public AggregationLevel create(java.lang.String name,
                               java.lang.Integer rankOrder)
Description copied from interface: AggregationLevelDao

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

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

create

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

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

update

public void update(AggregationLevel aggregationLevel)
Description copied from interface: AggregationLevelDao
Updates the aggregationLevel instance in the persistent store.

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

update

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

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

remove

public void remove(AggregationLevel aggregationLevel)
Description copied from interface: AggregationLevelDao
Removes the instance of fr.ifremer.allegro.referential.pmfm.AggregationLevel from the persistent store.

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

remove

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

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

remove

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

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

getAllAggregationLevel

public java.util.Collection getAllAggregationLevel()
Specified by:
getAllAggregationLevel in interface AggregationLevelDao
See Also:
AggregationLevelDao.getAllAggregationLevel()

getAllAggregationLevel

public java.util.Collection getAllAggregationLevel(int transform)
Description copied from interface: AggregationLevelDao

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

getAllAggregationLevel

public java.util.Collection getAllAggregationLevel(java.lang.String queryString)
Description copied from interface: AggregationLevelDao

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

Specified by:
getAllAggregationLevel in interface AggregationLevelDao
See Also:
AggregationLevelDao.getAllAggregationLevel(java.lang.String)

getAllAggregationLevel

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

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

getAllAggregationLevel

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

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

getAllAggregationLevel

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

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

Specified by:
getAllAggregationLevel in interface AggregationLevelDao
See Also:
AggregationLevelDao.getAllAggregationLevel(int, String)

getAllAggregationLevel

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

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

getAllAggregationLevel

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

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

findAggregationLevelById

public AggregationLevel findAggregationLevelById(java.lang.Integer id)
Specified by:
findAggregationLevelById in interface AggregationLevelDao
See Also:
AggregationLevelDao.findAggregationLevelById(java.lang.Integer)

findAggregationLevelById

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

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

findAggregationLevelById

public AggregationLevel findAggregationLevelById(java.lang.String queryString,
                                                 java.lang.Integer id)
Description copied from interface: AggregationLevelDao

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

Specified by:
findAggregationLevelById in interface AggregationLevelDao
See Also:
AggregationLevelDao.findAggregationLevelById(java.lang.String, java.lang.Integer)

findAggregationLevelById

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

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

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

findAggregationLevelByNaturalId

public AggregationLevel findAggregationLevelByNaturalId(java.lang.Integer id)
Specified by:
findAggregationLevelByNaturalId in interface AggregationLevelDao
See Also:
AggregationLevelDao.findAggregationLevelByNaturalId(java.lang.Integer)

findAggregationLevelByNaturalId

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

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

findAggregationLevelByNaturalId

public AggregationLevel findAggregationLevelByNaturalId(java.lang.String queryString,
                                                        java.lang.Integer id)
Description copied from interface: AggregationLevelDao

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

Specified by:
findAggregationLevelByNaturalId in interface AggregationLevelDao
See Also:
AggregationLevelDao.findAggregationLevelByNaturalId(java.lang.String, java.lang.Integer)

findAggregationLevelByNaturalId

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

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

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

getAllAggregationLevelSinceDateSynchro

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

getAllAggregationLevelSinceDateSynchro

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

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

getAllAggregationLevelSinceDateSynchro

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

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

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

getAllAggregationLevelSinceDateSynchro

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

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

getAllAggregationLevelSinceDateSynchro

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

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

getAllAggregationLevelSinceDateSynchro

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

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

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

getAllAggregationLevelSinceDateSynchro

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

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

getAllAggregationLevelSinceDateSynchro

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

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

createFromClusterAggregationLevel

public AggregationLevel createFromClusterAggregationLevel(ClusterAggregationLevel clusterAggregationLevel)
Specified by:
createFromClusterAggregationLevel in interface AggregationLevelDao
See Also:
AggregationLevelDao.createFromClusterAggregationLevel(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterAggregationLevel)

handleCreateFromClusterAggregationLevel

protected abstract AggregationLevel handleCreateFromClusterAggregationLevel(ClusterAggregationLevel clusterAggregationLevel)
                                                                     throws java.lang.Exception
Performs the core logic for createFromClusterAggregationLevel(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterAggregationLevel)

Throws:
java.lang.Exception

getAllClusterAggregationLevelSinceDateSynchro

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

handleGetAllClusterAggregationLevelSinceDateSynchro

protected abstract ClusterAggregationLevel[] handleGetAllClusterAggregationLevelSinceDateSynchro(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 getAllClusterAggregationLevelSinceDateSynchro(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,
                                           AggregationLevel entity)
Allows transformation of entities into value objects (or something else for that matter), when the transform flag is set to one of the constants defined in fr.ifremer.allegro.referential.pmfm.AggregationLevelDao, please note that the AggregationLevelDao.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 AggregationLevelDao.TRANSFORM_NONE is assumed.

Parameters:
transform - one of the constants declared in AggregationLevelDao
entity - an entity that was found
Returns:
the transformed entity (i.e. new value object, etc)
See Also:
transformEntities(int,java.util.Collection)

transformEntities

protected void transformEntities(int transform,
                                 java.util.Collection entities)
Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.pmfm.AggregationLevel) method. This method does not instantiate a new collection.

This method is to be used internally only.

Parameters:
transform - one of the constants declared in fr.ifremer.allegro.referential.pmfm.AggregationLevelDao
entities - the collection of entities to transform
See Also:
transformEntity(int,fr.ifremer.allegro.referential.pmfm.AggregationLevel)

toEntity

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

toRemoteAggregationLevelFullVOCollection

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

Specified by:
toRemoteAggregationLevelFullVOCollection in interface AggregationLevelDao
See Also:
AggregationLevelDao.toRemoteAggregationLevelFullVOCollection(java.util.Collection)

toRemoteAggregationLevelFullVOArray

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

Specified by:
toRemoteAggregationLevelFullVOArray in interface AggregationLevelDao
See Also:
AggregationLevelDao.toRemoteAggregationLevelFullVOArray(java.util.Collection)

toRemoteAggregationLevelFullVO

protected RemoteAggregationLevelFullVO toRemoteAggregationLevelFullVO(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 AggregationLevelDaoImpl class if you intend to use reporting queries.

See Also:
AggregationLevelDao.toRemoteAggregationLevelFullVO(fr.ifremer.allegro.referential.pmfm.AggregationLevel)

remoteAggregationLevelFullVOToEntityCollection

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

Specified by:
remoteAggregationLevelFullVOToEntityCollection in interface AggregationLevelDao
See Also:
AggregationLevelDao.remoteAggregationLevelFullVOToEntityCollection(java.util.Collection)

toRemoteAggregationLevelFullVO

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

toRemoteAggregationLevelFullVO

public RemoteAggregationLevelFullVO toRemoteAggregationLevelFullVO(AggregationLevel entity)
Description copied from interface: AggregationLevelDao
Converts this DAO's entity to an object of type RemoteAggregationLevelFullVO.

Specified by:
toRemoteAggregationLevelFullVO in interface AggregationLevelDao
See Also:
AggregationLevelDao.toRemoteAggregationLevelFullVO(fr.ifremer.allegro.referential.pmfm.AggregationLevel)

remoteAggregationLevelFullVOToEntity

public void remoteAggregationLevelFullVOToEntity(RemoteAggregationLevelFullVO source,
                                                 AggregationLevel target,
                                                 boolean copyIfNull)
Description copied from interface: AggregationLevelDao
Copies the fields of RemoteAggregationLevelFullVO to the specified entity.

Specified by:
remoteAggregationLevelFullVOToEntity in interface AggregationLevelDao
copyIfNull - If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE, it will be copied regardless of its value.
See Also:
fr.ifremer.allegro.referential.pmfm.AggregationLevelDao#remoteAggregationLevelFullVOToEntity(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteAggregationLevelFullVO, fr.ifremer.allegro.referential.pmfm.AggregationLevel)

toRemoteAggregationLevelNaturalIdCollection

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

Specified by:
toRemoteAggregationLevelNaturalIdCollection in interface AggregationLevelDao
See Also:
AggregationLevelDao.toRemoteAggregationLevelNaturalIdCollection(java.util.Collection)

toRemoteAggregationLevelNaturalIdArray

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

Specified by:
toRemoteAggregationLevelNaturalIdArray in interface AggregationLevelDao
See Also:
AggregationLevelDao.toRemoteAggregationLevelNaturalIdArray(java.util.Collection)

toRemoteAggregationLevelNaturalId

protected RemoteAggregationLevelNaturalId toRemoteAggregationLevelNaturalId(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 AggregationLevelDaoImpl class if you intend to use reporting queries.

See Also:
AggregationLevelDao.toRemoteAggregationLevelNaturalId(fr.ifremer.allegro.referential.pmfm.AggregationLevel)

remoteAggregationLevelNaturalIdToEntityCollection

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

Specified by:
remoteAggregationLevelNaturalIdToEntityCollection in interface AggregationLevelDao
See Also:
AggregationLevelDao.remoteAggregationLevelNaturalIdToEntityCollection(java.util.Collection)

toRemoteAggregationLevelNaturalId

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

toRemoteAggregationLevelNaturalId

public RemoteAggregationLevelNaturalId toRemoteAggregationLevelNaturalId(AggregationLevel entity)
Description copied from interface: AggregationLevelDao
Converts this DAO's entity to an object of type RemoteAggregationLevelNaturalId.

Specified by:
toRemoteAggregationLevelNaturalId in interface AggregationLevelDao
See Also:
AggregationLevelDao.toRemoteAggregationLevelNaturalId(fr.ifremer.allegro.referential.pmfm.AggregationLevel)

remoteAggregationLevelNaturalIdToEntity

public void remoteAggregationLevelNaturalIdToEntity(RemoteAggregationLevelNaturalId source,
                                                    AggregationLevel target,
                                                    boolean copyIfNull)
Description copied from interface: AggregationLevelDao
Copies the fields of RemoteAggregationLevelNaturalId to the specified entity.

Specified by:
remoteAggregationLevelNaturalIdToEntity in interface AggregationLevelDao
copyIfNull - If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE, it will be copied regardless of its value.
See Also:
fr.ifremer.allegro.referential.pmfm.AggregationLevelDao#remoteAggregationLevelNaturalIdToEntity(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteAggregationLevelNaturalId, fr.ifremer.allegro.referential.pmfm.AggregationLevel)

toClusterAggregationLevelCollection

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

Specified by:
toClusterAggregationLevelCollection in interface AggregationLevelDao
See Also:
AggregationLevelDao.toClusterAggregationLevelCollection(java.util.Collection)

toClusterAggregationLevelArray

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

Specified by:
toClusterAggregationLevelArray in interface AggregationLevelDao
See Also:
AggregationLevelDao.toClusterAggregationLevelArray(java.util.Collection)

toClusterAggregationLevel

protected ClusterAggregationLevel toClusterAggregationLevel(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 AggregationLevelDaoImpl class if you intend to use reporting queries.

See Also:
AggregationLevelDao.toClusterAggregationLevel(fr.ifremer.allegro.referential.pmfm.AggregationLevel)

clusterAggregationLevelToEntityCollection

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

Specified by:
clusterAggregationLevelToEntityCollection in interface AggregationLevelDao
See Also:
AggregationLevelDao.clusterAggregationLevelToEntityCollection(java.util.Collection)

toClusterAggregationLevel

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

toClusterAggregationLevel

public ClusterAggregationLevel toClusterAggregationLevel(AggregationLevel entity)
Description copied from interface: AggregationLevelDao
Converts this DAO's entity to an object of type ClusterAggregationLevel.

Specified by:
toClusterAggregationLevel in interface AggregationLevelDao
See Also:
AggregationLevelDao.toClusterAggregationLevel(fr.ifremer.allegro.referential.pmfm.AggregationLevel)

clusterAggregationLevelToEntity

public void clusterAggregationLevelToEntity(ClusterAggregationLevel source,
                                            AggregationLevel target,
                                            boolean copyIfNull)
Description copied from interface: AggregationLevelDao
Copies the fields of ClusterAggregationLevel to the specified entity.

Specified by:
clusterAggregationLevelToEntity in interface AggregationLevelDao
copyIfNull - If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE, it will be copied regardless of its value.
See Also:
fr.ifremer.allegro.referential.pmfm.AggregationLevelDao#clusterAggregationLevelToEntity(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterAggregationLevel, fr.ifremer.allegro.referential.pmfm.AggregationLevel)

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

search

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

search

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

search

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

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


Copyright © 2008-2010 IFREMER. All Rights Reserved.