fr.ifremer.allegro.referential.location
Class LocationClassificationDaoBase

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.referential.location.LocationClassificationDaoBase
All Implemented Interfaces:
LocationClassificationDao
Direct Known Subclasses:
LocationClassificationDaoImpl

public abstract class LocationClassificationDaoBase
extends org.springframework.orm.hibernate3.support.HibernateDaoSupport
implements LocationClassificationDao

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

See Also:
LocationClassification

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.location.LocationClassificationDao
TRANSFORM_CLUSTERLOCATIONCLASSIFICATION, TRANSFORM_NONE, TRANSFORM_REMOTELOCATIONCLASSIFICATIONFULLVO, TRANSFORM_REMOTELOCATIONCLASSIFICATIONNATURALID
 
Constructor Summary
LocationClassificationDaoBase()
           
 
Method Summary
 void clusterLocationClassificationToEntity(ClusterLocationClassification source, LocationClassification target, boolean copyIfNull)
          Copies the fields of ClusterLocationClassification to the specified entity.
 void clusterLocationClassificationToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type ClusterLocationClassification to this DAO's entity.
 java.util.Collection create(java.util.Collection entities)
          Creates a new instance of fr.ifremer.allegro.referential.location.LocationClassification and adds from the passed in entities collection
 java.util.Collection create(int transform, java.util.Collection entities)
           Does the same thing as LocationClassificationDao.create(fr.ifremer.allegro.referential.location.LocationClassification) with an additional flag called transform.
 LocationClassification create(java.lang.Integer id, java.lang.String name)
           Creates a new fr.ifremer.allegro.referential.location.LocationClassification instance from only required properties (attributes and association ends) and adds it to the persistent store.
 LocationClassification create(java.lang.Integer id, java.lang.String name, java.sql.Timestamp updateDate)
           Creates a new fr.ifremer.allegro.referential.location.LocationClassification instance from all attributes and properties and adds it to the persistent store.
 java.lang.Object create(int transform, java.lang.Integer id, java.lang.String name)
           Does the same thing as LocationClassificationDao.create(java.lang.Integer,java.lang.String) with an additional flag called transform.
 java.lang.Object create(int transform, java.lang.Integer id, java.lang.String name, java.sql.Timestamp updateDate)
           Does the same thing as LocationClassificationDao.create(java.lang.Integer,java.lang.String,java.sql.Timestamp) with an additional flag called transform.
 java.lang.Object create(int transform, LocationClassification locationClassification)
           Does the same thing as LocationClassificationDao.create(fr.ifremer.allegro.referential.location.LocationClassification) with an additional flag called transform.
 LocationClassification create(LocationClassification locationClassification)
          Creates an instance of fr.ifremer.allegro.referential.location.LocationClassification and adds it to the persistent store.
 LocationClassification createFromClusterLocationClassification(ClusterLocationClassification clusterLocationClassification)
           
 LocationClassification findLocationClassificationById(java.lang.Integer id)
           
 java.lang.Object findLocationClassificationById(int transform, java.lang.Integer id)
           Does the same thing as LocationClassificationDao.findLocationClassificationById(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findLocationClassificationById(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as LocationClassificationDao.findLocationClassificationById(int, java.lang.Integer) with an additional argument called queryString.
 LocationClassification findLocationClassificationById(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as LocationClassificationDao.findLocationClassificationById(java.lang.Integer) with an additional argument called queryString.
 LocationClassification findLocationClassificationByNaturalId(java.lang.Integer id)
           
 java.lang.Object findLocationClassificationByNaturalId(int transform, java.lang.Integer id)
           Does the same thing as LocationClassificationDao.findLocationClassificationByNaturalId(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findLocationClassificationByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as LocationClassificationDao.findLocationClassificationByNaturalId(int, java.lang.Integer) with an additional argument called queryString.
 LocationClassification findLocationClassificationByNaturalId(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as LocationClassificationDao.findLocationClassificationByNaturalId(java.lang.Integer) with an additional argument called queryString.
 ClusterLocationClassification[] getAllClusterLocationClassificationSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
 java.util.Collection getAllLocationClassification()
           
 java.util.Collection getAllLocationClassification(int transform)
           Does the same thing as LocationClassificationDao.getAllLocationClassification() with an additional flag called transform.
 java.util.Collection getAllLocationClassification(int pageNumber, int pageSize)
           Does the same thing as LocationClassificationDao.getAllLocationClassification() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllLocationClassification(int transform, int pageNumber, int pageSize)
           Does the same thing as LocationClassificationDao.getAllLocationClassification(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllLocationClassification(int transform, java.lang.String queryString)
           Does the same thing as LocationClassificationDao.getAllLocationClassification(int) with an additional argument called queryString.
 java.util.Collection getAllLocationClassification(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as LocationClassificationDao.getAllLocationClassification(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllLocationClassification(java.lang.String queryString)
           Does the same thing as LocationClassificationDao.getAllLocationClassification() with an additional argument called queryString.
 java.util.Collection getAllLocationClassification(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as LocationClassificationDao.getAllLocationClassification(String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllLocationClassificationSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as LocationClassificationDao.getAllLocationClassificationSinceDateSynchro(int, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllLocationClassificationSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as LocationClassificationDao.getAllLocationClassificationSinceDateSynchro(java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllLocationClassificationSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as LocationClassificationDao.getAllLocationClassificationSinceDateSynchro(int, String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllLocationClassificationSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as LocationClassificationDao.getAllLocationClassificationSinceDateSynchro(int, java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllLocationClassificationSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
           Does the same thing as LocationClassificationDao.getAllLocationClassificationSinceDateSynchro(java.sql.Timestamp) with an additional flag called transform.
 java.util.Collection getAllLocationClassificationSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as LocationClassificationDao.getAllLocationClassificationSinceDateSynchro(String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllLocationClassificationSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as LocationClassificationDao.getAllLocationClassificationSinceDateSynchro(java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllLocationClassificationSinceDateSynchro(java.sql.Timestamp updateDate)
           
protected  java.security.Principal getPrincipal()
          Gets the current principal if one has been set, otherwise returns null.
protected abstract  LocationClassification handleCreateFromClusterLocationClassification(ClusterLocationClassification clusterLocationClassification)
          Performs the core logic for createFromClusterLocationClassification(fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationClassification)
protected abstract  ClusterLocationClassification[] handleGetAllClusterLocationClassificationSinceDateSynchro(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 getAllClusterLocationClassificationSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 LocationClassification load(java.lang.Integer id)
          Loads an instance of fr.ifremer.allegro.referential.location.LocationClassification from the persistent store.
 java.lang.Object load(int transform, java.lang.Integer id)
           Does the same thing as LocationClassificationDao.load(java.lang.Integer) with an additional flag called transform.
 java.util.Collection loadAll()
          Loads all entities of type LocationClassification.
 java.util.Collection loadAll(int transform)
           Does the same thing as LocationClassificationDao.loadAll() with an additional flag called transform.
 java.util.Collection loadAll(int pageNumber, int pageSize)
           Does the same thing as LocationClassificationDao.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 LocationClassificationDao.loadAll(int) with an additional two arguments called pageNumber and pageSize.
 void remoteLocationClassificationFullVOToEntity(RemoteLocationClassificationFullVO source, LocationClassification target, boolean copyIfNull)
          Copies the fields of RemoteLocationClassificationFullVO to the specified entity.
 void remoteLocationClassificationFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteLocationClassificationFullVO to this DAO's entity.
 void remoteLocationClassificationNaturalIdToEntity(RemoteLocationClassificationNaturalId source, LocationClassification target, boolean copyIfNull)
          Copies the fields of RemoteLocationClassificationNaturalId to the specified entity.
 void remoteLocationClassificationNaturalIdToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteLocationClassificationNaturalId to this DAO's entity.
 void remove(java.util.Collection entities)
          Removes all entities in the given entities collection.
 void remove(java.lang.Integer id)
          Removes the instance of fr.ifremer.allegro.referential.location.LocationClassification having the given identifier from the persistent store.
 void remove(LocationClassification locationClassification)
          Removes the instance of fr.ifremer.allegro.referential.location.LocationClassification 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 LocationClassificationDao.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.
 ClusterLocationClassification toClusterLocationClassification(LocationClassification entity)
          Converts this DAO's entity to an object of type ClusterLocationClassification.
 void toClusterLocationClassification(LocationClassification source, ClusterLocationClassification target)
          Copies the fields of the specified entity to the target value object.
protected  ClusterLocationClassification toClusterLocationClassification(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 ClusterLocationClassification[] toClusterLocationClassificationArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type ClusterLocationClassification.
 void toClusterLocationClassificationCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type ClusterLocationClassification.
protected  LocationClassification toEntity(java.lang.Object[] row)
           
 RemoteLocationClassificationFullVO toRemoteLocationClassificationFullVO(LocationClassification entity)
          Converts this DAO's entity to an object of type RemoteLocationClassificationFullVO.
 void toRemoteLocationClassificationFullVO(LocationClassification source, RemoteLocationClassificationFullVO target)
          Copies the fields of the specified entity to the target value object.
protected  RemoteLocationClassificationFullVO toRemoteLocationClassificationFullVO(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteLocationClassificationFullVO[] toRemoteLocationClassificationFullVOArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteLocationClassificationFullVO.
 void toRemoteLocationClassificationFullVOCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteLocationClassificationFullVO.
 RemoteLocationClassificationNaturalId toRemoteLocationClassificationNaturalId(LocationClassification entity)
          Converts this DAO's entity to an object of type RemoteLocationClassificationNaturalId.
 void toRemoteLocationClassificationNaturalId(LocationClassification source, RemoteLocationClassificationNaturalId target)
          Copies the fields of the specified entity to the target value object.
protected  RemoteLocationClassificationNaturalId toRemoteLocationClassificationNaturalId(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteLocationClassificationNaturalId[] toRemoteLocationClassificationNaturalIdArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteLocationClassificationNaturalId.
 void toRemoteLocationClassificationNaturalIdCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteLocationClassificationNaturalId.
protected  void transformEntities(int transform, java.util.Collection entities)
          Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.location.LocationClassification) method.
protected  java.lang.Object transformEntity(int transform, LocationClassification 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.location.LocationClassificationDao, please note that the LocationClassificationDao.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(LocationClassification locationClassification)
          Updates the locationClassification 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.location.LocationClassificationDao
clusterLocationClassificationToEntity, remoteLocationClassificationFullVOToEntity, remoteLocationClassificationNaturalIdToEntity
 

Constructor Detail

LocationClassificationDaoBase

public LocationClassificationDaoBase()
Method Detail

load

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

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

load

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

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

loadAll

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

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

loadAll

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

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

loadAll

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

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

loadAll

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

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

create

public LocationClassification create(LocationClassification locationClassification)
Description copied from interface: LocationClassificationDao
Creates an instance of fr.ifremer.allegro.referential.location.LocationClassification and adds it to the persistent store.

Specified by:
create in interface LocationClassificationDao
See Also:
LocationClassificationDao.create(fr.ifremer.allegro.referential.location.LocationClassification)

create

public java.lang.Object create(int transform,
                               LocationClassification locationClassification)
Description copied from interface: LocationClassificationDao

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

create

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

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

create

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

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

create

public LocationClassification create(java.lang.Integer id,
                                     java.lang.String name,
                                     java.sql.Timestamp updateDate)
Description copied from interface: LocationClassificationDao

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

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

create

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

Does the same thing as LocationClassificationDao.create(java.lang.Integer,java.lang.String,java.sql.Timestamp) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then the returned entity will NOT be transformed. If this flag is any of the other constants defined here then the result WILL BE passed through an operation which can optionally transform the entity (into a value object for example). By default, transformation does not occur.

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

create

public LocationClassification create(java.lang.Integer id,
                                     java.lang.String name)
Description copied from interface: LocationClassificationDao

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

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

create

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

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

update

public void update(LocationClassification locationClassification)
Description copied from interface: LocationClassificationDao
Updates the locationClassification instance in the persistent store.

Specified by:
update in interface LocationClassificationDao
See Also:
LocationClassificationDao.update(fr.ifremer.allegro.referential.location.LocationClassification)

update

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

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

remove

public void remove(LocationClassification locationClassification)
Description copied from interface: LocationClassificationDao
Removes the instance of fr.ifremer.allegro.referential.location.LocationClassification from the persistent store.

Specified by:
remove in interface LocationClassificationDao
See Also:
LocationClassificationDao.remove(fr.ifremer.allegro.referential.location.LocationClassification)

remove

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

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

remove

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

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

getAllLocationClassification

public java.util.Collection getAllLocationClassification()
Specified by:
getAllLocationClassification in interface LocationClassificationDao
See Also:
LocationClassificationDao.getAllLocationClassification()

getAllLocationClassification

public java.util.Collection getAllLocationClassification(int transform)
Description copied from interface: LocationClassificationDao

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

getAllLocationClassification

public java.util.Collection getAllLocationClassification(java.lang.String queryString)
Description copied from interface: LocationClassificationDao

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

Specified by:
getAllLocationClassification in interface LocationClassificationDao
See Also:
LocationClassificationDao.getAllLocationClassification(java.lang.String)

getAllLocationClassification

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

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

getAllLocationClassification

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

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

getAllLocationClassification

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

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

Specified by:
getAllLocationClassification in interface LocationClassificationDao
See Also:
LocationClassificationDao.getAllLocationClassification(int, String)

getAllLocationClassification

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

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

getAllLocationClassification

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

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

findLocationClassificationById

public LocationClassification findLocationClassificationById(java.lang.Integer id)
Specified by:
findLocationClassificationById in interface LocationClassificationDao
See Also:
LocationClassificationDao.findLocationClassificationById(java.lang.Integer)

findLocationClassificationById

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

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

findLocationClassificationById

public LocationClassification findLocationClassificationById(java.lang.String queryString,
                                                             java.lang.Integer id)
Description copied from interface: LocationClassificationDao

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

Specified by:
findLocationClassificationById in interface LocationClassificationDao
See Also:
LocationClassificationDao.findLocationClassificationById(java.lang.String, java.lang.Integer)

findLocationClassificationById

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

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

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

findLocationClassificationByNaturalId

public LocationClassification findLocationClassificationByNaturalId(java.lang.Integer id)
Specified by:
findLocationClassificationByNaturalId in interface LocationClassificationDao
See Also:
LocationClassificationDao.findLocationClassificationByNaturalId(java.lang.Integer)

findLocationClassificationByNaturalId

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

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

findLocationClassificationByNaturalId

public LocationClassification findLocationClassificationByNaturalId(java.lang.String queryString,
                                                                    java.lang.Integer id)
Description copied from interface: LocationClassificationDao

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

Specified by:
findLocationClassificationByNaturalId in interface LocationClassificationDao
See Also:
LocationClassificationDao.findLocationClassificationByNaturalId(java.lang.String, java.lang.Integer)

findLocationClassificationByNaturalId

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

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

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

getAllLocationClassificationSinceDateSynchro

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

getAllLocationClassificationSinceDateSynchro

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

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

getAllLocationClassificationSinceDateSynchro

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

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

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

getAllLocationClassificationSinceDateSynchro

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

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

getAllLocationClassificationSinceDateSynchro

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

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

getAllLocationClassificationSinceDateSynchro

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

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

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

getAllLocationClassificationSinceDateSynchro

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

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

getAllLocationClassificationSinceDateSynchro

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

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

createFromClusterLocationClassification

public LocationClassification createFromClusterLocationClassification(ClusterLocationClassification clusterLocationClassification)
Specified by:
createFromClusterLocationClassification in interface LocationClassificationDao
See Also:
LocationClassificationDao.createFromClusterLocationClassification(fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationClassification)

handleCreateFromClusterLocationClassification

protected abstract LocationClassification handleCreateFromClusterLocationClassification(ClusterLocationClassification clusterLocationClassification)
                                                                                 throws java.lang.Exception
Performs the core logic for createFromClusterLocationClassification(fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationClassification)

Throws:
java.lang.Exception

getAllClusterLocationClassificationSinceDateSynchro

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

handleGetAllClusterLocationClassificationSinceDateSynchro

protected abstract ClusterLocationClassification[] handleGetAllClusterLocationClassificationSinceDateSynchro(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 getAllClusterLocationClassificationSinceDateSynchro(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,
                                           LocationClassification 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.location.LocationClassificationDao, please note that the LocationClassificationDao.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 LocationClassificationDao.TRANSFORM_NONE is assumed.

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

toEntity

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

toRemoteLocationClassificationFullVOCollection

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

Specified by:
toRemoteLocationClassificationFullVOCollection in interface LocationClassificationDao
See Also:
LocationClassificationDao.toRemoteLocationClassificationFullVOCollection(java.util.Collection)

toRemoteLocationClassificationFullVOArray

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

Specified by:
toRemoteLocationClassificationFullVOArray in interface LocationClassificationDao
See Also:
LocationClassificationDao.toRemoteLocationClassificationFullVOArray(java.util.Collection)

toRemoteLocationClassificationFullVO

protected RemoteLocationClassificationFullVO toRemoteLocationClassificationFullVO(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 LocationClassificationDaoImpl class if you intend to use reporting queries.

See Also:
LocationClassificationDao.toRemoteLocationClassificationFullVO(fr.ifremer.allegro.referential.location.LocationClassification)

remoteLocationClassificationFullVOToEntityCollection

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

Specified by:
remoteLocationClassificationFullVOToEntityCollection in interface LocationClassificationDao
See Also:
LocationClassificationDao.remoteLocationClassificationFullVOToEntityCollection(java.util.Collection)

toRemoteLocationClassificationFullVO

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

toRemoteLocationClassificationFullVO

public RemoteLocationClassificationFullVO toRemoteLocationClassificationFullVO(LocationClassification entity)
Description copied from interface: LocationClassificationDao
Converts this DAO's entity to an object of type RemoteLocationClassificationFullVO.

Specified by:
toRemoteLocationClassificationFullVO in interface LocationClassificationDao
See Also:
LocationClassificationDao.toRemoteLocationClassificationFullVO(fr.ifremer.allegro.referential.location.LocationClassification)

remoteLocationClassificationFullVOToEntity

public void remoteLocationClassificationFullVOToEntity(RemoteLocationClassificationFullVO source,
                                                       LocationClassification target,
                                                       boolean copyIfNull)
Description copied from interface: LocationClassificationDao
Copies the fields of RemoteLocationClassificationFullVO to the specified entity.

Specified by:
remoteLocationClassificationFullVOToEntity in interface LocationClassificationDao
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.location.LocationClassificationDao#remoteLocationClassificationFullVOToEntity(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationClassificationFullVO, fr.ifremer.allegro.referential.location.LocationClassification)

toRemoteLocationClassificationNaturalIdCollection

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

Specified by:
toRemoteLocationClassificationNaturalIdCollection in interface LocationClassificationDao
See Also:
LocationClassificationDao.toRemoteLocationClassificationNaturalIdCollection(java.util.Collection)

toRemoteLocationClassificationNaturalIdArray

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

Specified by:
toRemoteLocationClassificationNaturalIdArray in interface LocationClassificationDao
See Also:
LocationClassificationDao.toRemoteLocationClassificationNaturalIdArray(java.util.Collection)

toRemoteLocationClassificationNaturalId

protected RemoteLocationClassificationNaturalId toRemoteLocationClassificationNaturalId(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 LocationClassificationDaoImpl class if you intend to use reporting queries.

See Also:
LocationClassificationDao.toRemoteLocationClassificationNaturalId(fr.ifremer.allegro.referential.location.LocationClassification)

remoteLocationClassificationNaturalIdToEntityCollection

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

Specified by:
remoteLocationClassificationNaturalIdToEntityCollection in interface LocationClassificationDao
See Also:
LocationClassificationDao.remoteLocationClassificationNaturalIdToEntityCollection(java.util.Collection)

toRemoteLocationClassificationNaturalId

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

toRemoteLocationClassificationNaturalId

public RemoteLocationClassificationNaturalId toRemoteLocationClassificationNaturalId(LocationClassification entity)
Description copied from interface: LocationClassificationDao
Converts this DAO's entity to an object of type RemoteLocationClassificationNaturalId.

Specified by:
toRemoteLocationClassificationNaturalId in interface LocationClassificationDao
See Also:
LocationClassificationDao.toRemoteLocationClassificationNaturalId(fr.ifremer.allegro.referential.location.LocationClassification)

remoteLocationClassificationNaturalIdToEntity

public void remoteLocationClassificationNaturalIdToEntity(RemoteLocationClassificationNaturalId source,
                                                          LocationClassification target,
                                                          boolean copyIfNull)
Description copied from interface: LocationClassificationDao
Copies the fields of RemoteLocationClassificationNaturalId to the specified entity.

Specified by:
remoteLocationClassificationNaturalIdToEntity in interface LocationClassificationDao
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.location.LocationClassificationDao#remoteLocationClassificationNaturalIdToEntity(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationClassificationNaturalId, fr.ifremer.allegro.referential.location.LocationClassification)

toClusterLocationClassificationCollection

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

Specified by:
toClusterLocationClassificationCollection in interface LocationClassificationDao
See Also:
LocationClassificationDao.toClusterLocationClassificationCollection(java.util.Collection)

toClusterLocationClassificationArray

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

Specified by:
toClusterLocationClassificationArray in interface LocationClassificationDao
See Also:
LocationClassificationDao.toClusterLocationClassificationArray(java.util.Collection)

toClusterLocationClassification

protected ClusterLocationClassification toClusterLocationClassification(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 LocationClassificationDaoImpl class if you intend to use reporting queries.

See Also:
LocationClassificationDao.toClusterLocationClassification(fr.ifremer.allegro.referential.location.LocationClassification)

clusterLocationClassificationToEntityCollection

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

Specified by:
clusterLocationClassificationToEntityCollection in interface LocationClassificationDao
See Also:
LocationClassificationDao.clusterLocationClassificationToEntityCollection(java.util.Collection)

toClusterLocationClassification

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

toClusterLocationClassification

public ClusterLocationClassification toClusterLocationClassification(LocationClassification entity)
Description copied from interface: LocationClassificationDao
Converts this DAO's entity to an object of type ClusterLocationClassification.

Specified by:
toClusterLocationClassification in interface LocationClassificationDao
See Also:
LocationClassificationDao.toClusterLocationClassification(fr.ifremer.allegro.referential.location.LocationClassification)

clusterLocationClassificationToEntity

public void clusterLocationClassificationToEntity(ClusterLocationClassification source,
                                                  LocationClassification target,
                                                  boolean copyIfNull)
Description copied from interface: LocationClassificationDao
Copies the fields of ClusterLocationClassification to the specified entity.

Specified by:
clusterLocationClassificationToEntity in interface LocationClassificationDao
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.location.LocationClassificationDao#clusterLocationClassificationToEntity(fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationClassification, fr.ifremer.allegro.referential.location.LocationClassification)

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

search

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

search

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

search

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

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


Copyright © 2008-2010 IFREMER. All Rights Reserved.