fr.ifremer.allegro.referential
Class NearbySpecificAreaDaoBase

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.referential.NearbySpecificAreaDaoBase
All Implemented Interfaces:
NearbySpecificAreaDao
Direct Known Subclasses:
NearbySpecificAreaDaoImpl

public abstract class NearbySpecificAreaDaoBase
extends org.springframework.orm.hibernate3.support.HibernateDaoSupport
implements NearbySpecificAreaDao

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

See Also:
NearbySpecificArea

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.NearbySpecificAreaDao
TRANSFORM_CLUSTERNEARBYSPECIFICAREA, TRANSFORM_NONE, TRANSFORM_REMOTENEARBYSPECIFICAREAFULLVO, TRANSFORM_REMOTENEARBYSPECIFICAREANATURALID
 
Constructor Summary
NearbySpecificAreaDaoBase()
           
 
Method Summary
 void clusterNearbySpecificAreaToEntity(ClusterNearbySpecificArea source, NearbySpecificArea target, boolean copyIfNull)
          Copies the fields of ClusterNearbySpecificArea to the specified entity.
 void clusterNearbySpecificAreaToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type ClusterNearbySpecificArea to this DAO's entity.
 java.util.Collection create(java.util.Collection entities)
          Creates a new instance of fr.ifremer.allegro.referential.NearbySpecificArea and adds from the passed in entities collection
 java.util.Collection create(int transform, java.util.Collection entities)
           Does the same thing as NearbySpecificAreaDao.create(fr.ifremer.allegro.referential.NearbySpecificArea) with an additional flag called transform.
 java.lang.Object create(int transform, NearbySpecificArea nearbySpecificArea)
           Does the same thing as NearbySpecificAreaDao.create(fr.ifremer.allegro.referential.NearbySpecificArea) with an additional flag called transform.
 java.lang.Object create(int transform, java.lang.String description, java.lang.String name, Status status)
           Does the same thing as NearbySpecificAreaDao.create(java.lang.String,java.lang.String,fr.ifremer.allegro.referential.Status) with an additional flag called transform.
 java.lang.Object create(int transform, java.lang.String name, java.lang.String description, java.sql.Timestamp updateDate, Status status)
           Does the same thing as NearbySpecificAreaDao.create(java.lang.String,java.lang.String,java.sql.Timestamp,fr.ifremer.allegro.referential.Status) with an additional flag called transform.
 NearbySpecificArea create(NearbySpecificArea nearbySpecificArea)
          Creates an instance of fr.ifremer.allegro.referential.NearbySpecificArea and adds it to the persistent store.
 NearbySpecificArea create(java.lang.String description, java.lang.String name, Status status)
           Creates a new fr.ifremer.allegro.referential.NearbySpecificArea instance from only required properties (attributes and association ends) and adds it to the persistent store.
 NearbySpecificArea create(java.lang.String name, java.lang.String description, java.sql.Timestamp updateDate, Status status)
           Creates a new fr.ifremer.allegro.referential.NearbySpecificArea instance from all attributes and properties and adds it to the persistent store.
 NearbySpecificArea createFromClusterNearbySpecificArea(ClusterNearbySpecificArea clusterNearbySpecificArea)
           
 NearbySpecificArea findNearbySpecificAreaById(java.lang.Integer id)
           
 java.lang.Object findNearbySpecificAreaById(int transform, java.lang.Integer id)
           Does the same thing as NearbySpecificAreaDao.findNearbySpecificAreaById(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findNearbySpecificAreaById(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as NearbySpecificAreaDao.findNearbySpecificAreaById(int, java.lang.Integer) with an additional argument called queryString.
 NearbySpecificArea findNearbySpecificAreaById(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as NearbySpecificAreaDao.findNearbySpecificAreaById(java.lang.Integer) with an additional argument called queryString.
 NearbySpecificArea findNearbySpecificAreaByNaturalId(java.lang.Integer id)
           
 java.lang.Object findNearbySpecificAreaByNaturalId(int transform, java.lang.Integer id)
           Does the same thing as NearbySpecificAreaDao.findNearbySpecificAreaByNaturalId(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findNearbySpecificAreaByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as NearbySpecificAreaDao.findNearbySpecificAreaByNaturalId(int, java.lang.Integer) with an additional argument called queryString.
 NearbySpecificArea findNearbySpecificAreaByNaturalId(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as NearbySpecificAreaDao.findNearbySpecificAreaByNaturalId(java.lang.Integer) with an additional argument called queryString.
 java.util.Collection findNearbySpecificAreaByStatus(int transform, int pageNumber, int pageSize, Status status)
           Does the same thing as NearbySpecificAreaDao.findNearbySpecificAreaByStatus(int, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findNearbySpecificAreaByStatus(int pageNumber, int pageSize, Status status)
           Does the same thing as NearbySpecificAreaDao.findNearbySpecificAreaByStatus(fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findNearbySpecificAreaByStatus(int transform, Status status)
           Does the same thing as NearbySpecificAreaDao.findNearbySpecificAreaByStatus(fr.ifremer.allegro.referential.Status) with an additional flag called transform.
 java.util.Collection findNearbySpecificAreaByStatus(int transform, java.lang.String queryString, int pageNumber, int pageSize, Status status)
           Does the same thing as NearbySpecificAreaDao.findNearbySpecificAreaByStatus(int, String, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findNearbySpecificAreaByStatus(int transform, java.lang.String queryString, Status status)
           Does the same thing as NearbySpecificAreaDao.findNearbySpecificAreaByStatus(int, fr.ifremer.allegro.referential.Status) with an additional argument called queryString.
 java.util.Collection findNearbySpecificAreaByStatus(Status status)
           
 java.util.Collection findNearbySpecificAreaByStatus(java.lang.String queryString, int pageNumber, int pageSize, Status status)
           Does the same thing as NearbySpecificAreaDao.findNearbySpecificAreaByStatus(String, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findNearbySpecificAreaByStatus(java.lang.String queryString, Status status)
           Does the same thing as NearbySpecificAreaDao.findNearbySpecificAreaByStatus(fr.ifremer.allegro.referential.Status) with an additional argument called queryString.
 ClusterNearbySpecificArea[] getAllClusterNearbySpecificAreaSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
 java.util.Collection getAllNearbySpecificArea()
           
 java.util.Collection getAllNearbySpecificArea(int transform)
           Does the same thing as NearbySpecificAreaDao.getAllNearbySpecificArea() with an additional flag called transform.
 java.util.Collection getAllNearbySpecificArea(int pageNumber, int pageSize)
           Does the same thing as NearbySpecificAreaDao.getAllNearbySpecificArea() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllNearbySpecificArea(int transform, int pageNumber, int pageSize)
           Does the same thing as NearbySpecificAreaDao.getAllNearbySpecificArea(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllNearbySpecificArea(int transform, java.lang.String queryString)
           Does the same thing as NearbySpecificAreaDao.getAllNearbySpecificArea(int) with an additional argument called queryString.
 java.util.Collection getAllNearbySpecificArea(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as NearbySpecificAreaDao.getAllNearbySpecificArea(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllNearbySpecificArea(java.lang.String queryString)
           Does the same thing as NearbySpecificAreaDao.getAllNearbySpecificArea() with an additional argument called queryString.
 java.util.Collection getAllNearbySpecificArea(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as NearbySpecificAreaDao.getAllNearbySpecificArea(String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllNearbySpecificAreaSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as NearbySpecificAreaDao.getAllNearbySpecificAreaSinceDateSynchro(int, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllNearbySpecificAreaSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as NearbySpecificAreaDao.getAllNearbySpecificAreaSinceDateSynchro(java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllNearbySpecificAreaSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as NearbySpecificAreaDao.getAllNearbySpecificAreaSinceDateSynchro(int, String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllNearbySpecificAreaSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as NearbySpecificAreaDao.getAllNearbySpecificAreaSinceDateSynchro(int, java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllNearbySpecificAreaSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
           Does the same thing as NearbySpecificAreaDao.getAllNearbySpecificAreaSinceDateSynchro(java.sql.Timestamp) with an additional flag called transform.
 java.util.Collection getAllNearbySpecificAreaSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as NearbySpecificAreaDao.getAllNearbySpecificAreaSinceDateSynchro(String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllNearbySpecificAreaSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as NearbySpecificAreaDao.getAllNearbySpecificAreaSinceDateSynchro(java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllNearbySpecificAreaSinceDateSynchro(java.sql.Timestamp updateDate)
           
protected  java.security.Principal getPrincipal()
          Gets the current principal if one has been set, otherwise returns null.
protected  StatusDao getStatusDao()
          Gets the reference to statusDao.
protected abstract  NearbySpecificArea handleCreateFromClusterNearbySpecificArea(ClusterNearbySpecificArea clusterNearbySpecificArea)
          Performs the core logic for createFromClusterNearbySpecificArea(fr.ifremer.allegro.referential.generic.cluster.ClusterNearbySpecificArea)
protected abstract  ClusterNearbySpecificArea[] handleGetAllClusterNearbySpecificAreaSinceDateSynchro(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 getAllClusterNearbySpecificAreaSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 NearbySpecificArea load(java.lang.Integer id)
          Loads an instance of fr.ifremer.allegro.referential.NearbySpecificArea from the persistent store.
 java.lang.Object load(int transform, java.lang.Integer id)
           Does the same thing as NearbySpecificAreaDao.load(java.lang.Integer) with an additional flag called transform.
 java.util.Collection loadAll()
          Loads all entities of type NearbySpecificArea.
 java.util.Collection loadAll(int transform)
           Does the same thing as NearbySpecificAreaDao.loadAll() with an additional flag called transform.
 java.util.Collection loadAll(int pageNumber, int pageSize)
           Does the same thing as NearbySpecificAreaDao.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 NearbySpecificAreaDao.loadAll(int) with an additional two arguments called pageNumber and pageSize.
 void remoteNearbySpecificAreaFullVOToEntity(RemoteNearbySpecificAreaFullVO source, NearbySpecificArea target, boolean copyIfNull)
          Copies the fields of RemoteNearbySpecificAreaFullVO to the specified entity.
 void remoteNearbySpecificAreaFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteNearbySpecificAreaFullVO to this DAO's entity.
 void remoteNearbySpecificAreaNaturalIdToEntity(RemoteNearbySpecificAreaNaturalId source, NearbySpecificArea target, boolean copyIfNull)
          Copies the fields of RemoteNearbySpecificAreaNaturalId to the specified entity.
 void remoteNearbySpecificAreaNaturalIdToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteNearbySpecificAreaNaturalId 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.NearbySpecificArea having the given identifier from the persistent store.
 void remove(NearbySpecificArea nearbySpecificArea)
          Removes the instance of fr.ifremer.allegro.referential.NearbySpecificArea 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 NearbySpecificAreaDao.search(fr.ifremer.allegro.Search) but with an additional flag called transform.
 java.util.Set search(Search search)
          Performs a search using the parameters specified in the given search object.
 void setStatusDao(StatusDao statusDao)
          Sets the reference to statusDao.
 ClusterNearbySpecificArea toClusterNearbySpecificArea(NearbySpecificArea entity)
          Converts this DAO's entity to an object of type ClusterNearbySpecificArea.
 void toClusterNearbySpecificArea(NearbySpecificArea source, ClusterNearbySpecificArea target)
          Copies the fields of the specified entity to the target value object.
protected  ClusterNearbySpecificArea toClusterNearbySpecificArea(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 ClusterNearbySpecificArea[] toClusterNearbySpecificAreaArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type ClusterNearbySpecificArea.
 void toClusterNearbySpecificAreaCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type ClusterNearbySpecificArea.
protected  NearbySpecificArea toEntity(java.lang.Object[] row)
           
 RemoteNearbySpecificAreaFullVO toRemoteNearbySpecificAreaFullVO(NearbySpecificArea entity)
          Converts this DAO's entity to an object of type RemoteNearbySpecificAreaFullVO.
 void toRemoteNearbySpecificAreaFullVO(NearbySpecificArea source, RemoteNearbySpecificAreaFullVO target)
          Copies the fields of the specified entity to the target value object.
protected  RemoteNearbySpecificAreaFullVO toRemoteNearbySpecificAreaFullVO(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteNearbySpecificAreaFullVO[] toRemoteNearbySpecificAreaFullVOArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteNearbySpecificAreaFullVO.
 void toRemoteNearbySpecificAreaFullVOCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteNearbySpecificAreaFullVO.
 RemoteNearbySpecificAreaNaturalId toRemoteNearbySpecificAreaNaturalId(NearbySpecificArea entity)
          Converts this DAO's entity to an object of type RemoteNearbySpecificAreaNaturalId.
 void toRemoteNearbySpecificAreaNaturalId(NearbySpecificArea source, RemoteNearbySpecificAreaNaturalId target)
          Copies the fields of the specified entity to the target value object.
protected  RemoteNearbySpecificAreaNaturalId toRemoteNearbySpecificAreaNaturalId(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteNearbySpecificAreaNaturalId[] toRemoteNearbySpecificAreaNaturalIdArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteNearbySpecificAreaNaturalId.
 void toRemoteNearbySpecificAreaNaturalIdCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteNearbySpecificAreaNaturalId.
protected  void transformEntities(int transform, java.util.Collection entities)
          Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.NearbySpecificArea) method.
protected  java.lang.Object transformEntity(int transform, NearbySpecificArea 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.NearbySpecificAreaDao, please note that the NearbySpecificAreaDao.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(NearbySpecificArea nearbySpecificArea)
          Updates the nearbySpecificArea 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.NearbySpecificAreaDao
clusterNearbySpecificAreaToEntity, remoteNearbySpecificAreaFullVOToEntity, remoteNearbySpecificAreaNaturalIdToEntity
 

Constructor Detail

NearbySpecificAreaDaoBase

public NearbySpecificAreaDaoBase()
Method Detail

setStatusDao

public void setStatusDao(StatusDao statusDao)
Sets the reference to statusDao.


getStatusDao

protected StatusDao getStatusDao()
Gets the reference to statusDao.


load

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

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

load

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

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

loadAll

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

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

loadAll

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

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

loadAll

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

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

loadAll

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

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

create

public NearbySpecificArea create(NearbySpecificArea nearbySpecificArea)
Description copied from interface: NearbySpecificAreaDao
Creates an instance of fr.ifremer.allegro.referential.NearbySpecificArea and adds it to the persistent store.

Specified by:
create in interface NearbySpecificAreaDao
See Also:
NearbySpecificAreaDao.create(fr.ifremer.allegro.referential.NearbySpecificArea)

create

public java.lang.Object create(int transform,
                               NearbySpecificArea nearbySpecificArea)
Description copied from interface: NearbySpecificAreaDao

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

create

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

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

create

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

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

create

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

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

Specified by:
create in interface NearbySpecificAreaDao
See Also:
NearbySpecificAreaDao.create(java.lang.String,java.lang.String,java.sql.Timestamp,fr.ifremer.allegro.referential.Status)

create

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

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

Specified by:
create in interface NearbySpecificAreaDao
See Also:
NearbySpecificAreaDao.create(int, java.lang.String,java.lang.String,java.sql.Timestamp,fr.ifremer.allegro.referential.Status)

create

public NearbySpecificArea create(java.lang.String description,
                                 java.lang.String name,
                                 Status status)
Description copied from interface: NearbySpecificAreaDao

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

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

create

public java.lang.Object create(int transform,
                               java.lang.String description,
                               java.lang.String name,
                               Status status)
Description copied from interface: NearbySpecificAreaDao

Does the same thing as NearbySpecificAreaDao.create(java.lang.String,java.lang.String,fr.ifremer.allegro.referential.Status) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then the returned entity will NOTWILL BE passed through an operation which can optionally transform the entity (into a value object for example). By default, transformation does not occur.

Specified by:
create in interface NearbySpecificAreaDao
See Also:
NearbySpecificAreaDao.create(int, java.lang.String,java.lang.String,fr.ifremer.allegro.referential.Status)

update

public void update(NearbySpecificArea nearbySpecificArea)
Description copied from interface: NearbySpecificAreaDao
Updates the nearbySpecificArea instance in the persistent store.

Specified by:
update in interface NearbySpecificAreaDao
See Also:
NearbySpecificAreaDao.update(fr.ifremer.allegro.referential.NearbySpecificArea)

update

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

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

remove

public void remove(NearbySpecificArea nearbySpecificArea)
Description copied from interface: NearbySpecificAreaDao
Removes the instance of fr.ifremer.allegro.referential.NearbySpecificArea from the persistent store.

Specified by:
remove in interface NearbySpecificAreaDao
See Also:
NearbySpecificAreaDao.remove(fr.ifremer.allegro.referential.NearbySpecificArea)

remove

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

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

remove

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

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

getAllNearbySpecificArea

public java.util.Collection getAllNearbySpecificArea()
Specified by:
getAllNearbySpecificArea in interface NearbySpecificAreaDao
See Also:
NearbySpecificAreaDao.getAllNearbySpecificArea()

getAllNearbySpecificArea

public java.util.Collection getAllNearbySpecificArea(int transform)
Description copied from interface: NearbySpecificAreaDao

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

getAllNearbySpecificArea

public java.util.Collection getAllNearbySpecificArea(java.lang.String queryString)
Description copied from interface: NearbySpecificAreaDao

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

Specified by:
getAllNearbySpecificArea in interface NearbySpecificAreaDao
See Also:
NearbySpecificAreaDao.getAllNearbySpecificArea(java.lang.String)

getAllNearbySpecificArea

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

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

getAllNearbySpecificArea

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

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

getAllNearbySpecificArea

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

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

Specified by:
getAllNearbySpecificArea in interface NearbySpecificAreaDao
See Also:
NearbySpecificAreaDao.getAllNearbySpecificArea(int, String)

getAllNearbySpecificArea

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

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

getAllNearbySpecificArea

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

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

findNearbySpecificAreaById

public NearbySpecificArea findNearbySpecificAreaById(java.lang.Integer id)
Specified by:
findNearbySpecificAreaById in interface NearbySpecificAreaDao
See Also:
NearbySpecificAreaDao.findNearbySpecificAreaById(java.lang.Integer)

findNearbySpecificAreaById

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

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

findNearbySpecificAreaById

public NearbySpecificArea findNearbySpecificAreaById(java.lang.String queryString,
                                                     java.lang.Integer id)
Description copied from interface: NearbySpecificAreaDao

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

Specified by:
findNearbySpecificAreaById in interface NearbySpecificAreaDao
See Also:
NearbySpecificAreaDao.findNearbySpecificAreaById(java.lang.String, java.lang.Integer)

findNearbySpecificAreaById

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

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

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

findNearbySpecificAreaByStatus

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

findNearbySpecificAreaByStatus

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

Does the same thing as NearbySpecificAreaDao.findNearbySpecificAreaByStatus(fr.ifremer.allegro.referential.Status) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then finder results will NOT be transformed during retrieval. If this flag is any of the other constants defined here then finder results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.

Specified by:
findNearbySpecificAreaByStatus in interface NearbySpecificAreaDao
See Also:
NearbySpecificAreaDao.findNearbySpecificAreaByStatus(int, fr.ifremer.allegro.referential.Status)

findNearbySpecificAreaByStatus

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

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

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

findNearbySpecificAreaByStatus

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

Does the same thing as NearbySpecificAreaDao.findNearbySpecificAreaByStatus(fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findNearbySpecificAreaByStatus in interface NearbySpecificAreaDao
See Also:
NearbySpecificAreaDao.findNearbySpecificAreaByStatus(int, int, fr.ifremer.allegro.referential.Status)

findNearbySpecificAreaByStatus

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

Does the same thing as NearbySpecificAreaDao.findNearbySpecificAreaByStatus(String, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

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

findNearbySpecificAreaByStatus

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

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

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

findNearbySpecificAreaByStatus

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

Does the same thing as NearbySpecificAreaDao.findNearbySpecificAreaByStatus(int, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findNearbySpecificAreaByStatus in interface NearbySpecificAreaDao
See Also:
NearbySpecificAreaDao.findNearbySpecificAreaByStatus(int, int, int, fr.ifremer.allegro.referential.Status)

findNearbySpecificAreaByStatus

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

Does the same thing as NearbySpecificAreaDao.findNearbySpecificAreaByStatus(int, String, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findNearbySpecificAreaByStatus in interface NearbySpecificAreaDao
See Also:
NearbySpecificAreaDao.findNearbySpecificAreaByStatus(int, java.lang.String, int, int, fr.ifremer.allegro.referential.Status)

findNearbySpecificAreaByNaturalId

public NearbySpecificArea findNearbySpecificAreaByNaturalId(java.lang.Integer id)
Specified by:
findNearbySpecificAreaByNaturalId in interface NearbySpecificAreaDao
See Also:
NearbySpecificAreaDao.findNearbySpecificAreaByNaturalId(java.lang.Integer)

findNearbySpecificAreaByNaturalId

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

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

findNearbySpecificAreaByNaturalId

public NearbySpecificArea findNearbySpecificAreaByNaturalId(java.lang.String queryString,
                                                            java.lang.Integer id)
Description copied from interface: NearbySpecificAreaDao

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

Specified by:
findNearbySpecificAreaByNaturalId in interface NearbySpecificAreaDao
See Also:
NearbySpecificAreaDao.findNearbySpecificAreaByNaturalId(java.lang.String, java.lang.Integer)

findNearbySpecificAreaByNaturalId

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

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

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

getAllNearbySpecificAreaSinceDateSynchro

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

getAllNearbySpecificAreaSinceDateSynchro

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

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

getAllNearbySpecificAreaSinceDateSynchro

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

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

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

getAllNearbySpecificAreaSinceDateSynchro

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

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

getAllNearbySpecificAreaSinceDateSynchro

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

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

getAllNearbySpecificAreaSinceDateSynchro

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

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

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

getAllNearbySpecificAreaSinceDateSynchro

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

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

getAllNearbySpecificAreaSinceDateSynchro

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

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

createFromClusterNearbySpecificArea

public NearbySpecificArea createFromClusterNearbySpecificArea(ClusterNearbySpecificArea clusterNearbySpecificArea)
Specified by:
createFromClusterNearbySpecificArea in interface NearbySpecificAreaDao
See Also:
NearbySpecificAreaDao.createFromClusterNearbySpecificArea(fr.ifremer.allegro.referential.generic.cluster.ClusterNearbySpecificArea)

handleCreateFromClusterNearbySpecificArea

protected abstract NearbySpecificArea handleCreateFromClusterNearbySpecificArea(ClusterNearbySpecificArea clusterNearbySpecificArea)
                                                                         throws java.lang.Exception
Performs the core logic for createFromClusterNearbySpecificArea(fr.ifremer.allegro.referential.generic.cluster.ClusterNearbySpecificArea)

Throws:
java.lang.Exception

getAllClusterNearbySpecificAreaSinceDateSynchro

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

handleGetAllClusterNearbySpecificAreaSinceDateSynchro

protected abstract ClusterNearbySpecificArea[] handleGetAllClusterNearbySpecificAreaSinceDateSynchro(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 getAllClusterNearbySpecificAreaSinceDateSynchro(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,
                                           NearbySpecificArea 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.NearbySpecificAreaDao, please note that the NearbySpecificAreaDao.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 NearbySpecificAreaDao.TRANSFORM_NONE is assumed.

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

toEntity

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

toRemoteNearbySpecificAreaFullVOCollection

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

Specified by:
toRemoteNearbySpecificAreaFullVOCollection in interface NearbySpecificAreaDao
See Also:
NearbySpecificAreaDao.toRemoteNearbySpecificAreaFullVOCollection(java.util.Collection)

toRemoteNearbySpecificAreaFullVOArray

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

Specified by:
toRemoteNearbySpecificAreaFullVOArray in interface NearbySpecificAreaDao
See Also:
NearbySpecificAreaDao.toRemoteNearbySpecificAreaFullVOArray(java.util.Collection)

toRemoteNearbySpecificAreaFullVO

protected RemoteNearbySpecificAreaFullVO toRemoteNearbySpecificAreaFullVO(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 NearbySpecificAreaDaoImpl class if you intend to use reporting queries.

See Also:
NearbySpecificAreaDao.toRemoteNearbySpecificAreaFullVO(fr.ifremer.allegro.referential.NearbySpecificArea)

remoteNearbySpecificAreaFullVOToEntityCollection

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

Specified by:
remoteNearbySpecificAreaFullVOToEntityCollection in interface NearbySpecificAreaDao
See Also:
NearbySpecificAreaDao.remoteNearbySpecificAreaFullVOToEntityCollection(java.util.Collection)

toRemoteNearbySpecificAreaFullVO

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

toRemoteNearbySpecificAreaFullVO

public RemoteNearbySpecificAreaFullVO toRemoteNearbySpecificAreaFullVO(NearbySpecificArea entity)
Description copied from interface: NearbySpecificAreaDao
Converts this DAO's entity to an object of type RemoteNearbySpecificAreaFullVO.

Specified by:
toRemoteNearbySpecificAreaFullVO in interface NearbySpecificAreaDao
See Also:
NearbySpecificAreaDao.toRemoteNearbySpecificAreaFullVO(fr.ifremer.allegro.referential.NearbySpecificArea)

remoteNearbySpecificAreaFullVOToEntity

public void remoteNearbySpecificAreaFullVOToEntity(RemoteNearbySpecificAreaFullVO source,
                                                   NearbySpecificArea target,
                                                   boolean copyIfNull)
Description copied from interface: NearbySpecificAreaDao
Copies the fields of RemoteNearbySpecificAreaFullVO to the specified entity.

Specified by:
remoteNearbySpecificAreaFullVOToEntity in interface NearbySpecificAreaDao
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.NearbySpecificAreaDao#remoteNearbySpecificAreaFullVOToEntity(fr.ifremer.allegro.referential.generic.vo.RemoteNearbySpecificAreaFullVO, fr.ifremer.allegro.referential.NearbySpecificArea)

toRemoteNearbySpecificAreaNaturalIdCollection

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

Specified by:
toRemoteNearbySpecificAreaNaturalIdCollection in interface NearbySpecificAreaDao
See Also:
NearbySpecificAreaDao.toRemoteNearbySpecificAreaNaturalIdCollection(java.util.Collection)

toRemoteNearbySpecificAreaNaturalIdArray

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

Specified by:
toRemoteNearbySpecificAreaNaturalIdArray in interface NearbySpecificAreaDao
See Also:
NearbySpecificAreaDao.toRemoteNearbySpecificAreaNaturalIdArray(java.util.Collection)

toRemoteNearbySpecificAreaNaturalId

protected RemoteNearbySpecificAreaNaturalId toRemoteNearbySpecificAreaNaturalId(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 NearbySpecificAreaDaoImpl class if you intend to use reporting queries.

See Also:
NearbySpecificAreaDao.toRemoteNearbySpecificAreaNaturalId(fr.ifremer.allegro.referential.NearbySpecificArea)

remoteNearbySpecificAreaNaturalIdToEntityCollection

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

Specified by:
remoteNearbySpecificAreaNaturalIdToEntityCollection in interface NearbySpecificAreaDao
See Also:
NearbySpecificAreaDao.remoteNearbySpecificAreaNaturalIdToEntityCollection(java.util.Collection)

toRemoteNearbySpecificAreaNaturalId

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

toRemoteNearbySpecificAreaNaturalId

public RemoteNearbySpecificAreaNaturalId toRemoteNearbySpecificAreaNaturalId(NearbySpecificArea entity)
Description copied from interface: NearbySpecificAreaDao
Converts this DAO's entity to an object of type RemoteNearbySpecificAreaNaturalId.

Specified by:
toRemoteNearbySpecificAreaNaturalId in interface NearbySpecificAreaDao
See Also:
NearbySpecificAreaDao.toRemoteNearbySpecificAreaNaturalId(fr.ifremer.allegro.referential.NearbySpecificArea)

remoteNearbySpecificAreaNaturalIdToEntity

public void remoteNearbySpecificAreaNaturalIdToEntity(RemoteNearbySpecificAreaNaturalId source,
                                                      NearbySpecificArea target,
                                                      boolean copyIfNull)
Description copied from interface: NearbySpecificAreaDao
Copies the fields of RemoteNearbySpecificAreaNaturalId to the specified entity.

Specified by:
remoteNearbySpecificAreaNaturalIdToEntity in interface NearbySpecificAreaDao
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.NearbySpecificAreaDao#remoteNearbySpecificAreaNaturalIdToEntity(fr.ifremer.allegro.referential.generic.vo.RemoteNearbySpecificAreaNaturalId, fr.ifremer.allegro.referential.NearbySpecificArea)

toClusterNearbySpecificAreaCollection

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

Specified by:
toClusterNearbySpecificAreaCollection in interface NearbySpecificAreaDao
See Also:
NearbySpecificAreaDao.toClusterNearbySpecificAreaCollection(java.util.Collection)

toClusterNearbySpecificAreaArray

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

Specified by:
toClusterNearbySpecificAreaArray in interface NearbySpecificAreaDao
See Also:
NearbySpecificAreaDao.toClusterNearbySpecificAreaArray(java.util.Collection)

toClusterNearbySpecificArea

protected ClusterNearbySpecificArea toClusterNearbySpecificArea(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 NearbySpecificAreaDaoImpl class if you intend to use reporting queries.

See Also:
NearbySpecificAreaDao.toClusterNearbySpecificArea(fr.ifremer.allegro.referential.NearbySpecificArea)

clusterNearbySpecificAreaToEntityCollection

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

Specified by:
clusterNearbySpecificAreaToEntityCollection in interface NearbySpecificAreaDao
See Also:
NearbySpecificAreaDao.clusterNearbySpecificAreaToEntityCollection(java.util.Collection)

toClusterNearbySpecificArea

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

toClusterNearbySpecificArea

public ClusterNearbySpecificArea toClusterNearbySpecificArea(NearbySpecificArea entity)
Description copied from interface: NearbySpecificAreaDao
Converts this DAO's entity to an object of type ClusterNearbySpecificArea.

Specified by:
toClusterNearbySpecificArea in interface NearbySpecificAreaDao
See Also:
NearbySpecificAreaDao.toClusterNearbySpecificArea(fr.ifremer.allegro.referential.NearbySpecificArea)

clusterNearbySpecificAreaToEntity

public void clusterNearbySpecificAreaToEntity(ClusterNearbySpecificArea source,
                                              NearbySpecificArea target,
                                              boolean copyIfNull)
Description copied from interface: NearbySpecificAreaDao
Copies the fields of ClusterNearbySpecificArea to the specified entity.

Specified by:
clusterNearbySpecificAreaToEntity in interface NearbySpecificAreaDao
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.NearbySpecificAreaDao#clusterNearbySpecificAreaToEntity(fr.ifremer.allegro.referential.generic.cluster.ClusterNearbySpecificArea, fr.ifremer.allegro.referential.NearbySpecificArea)

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

search

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

search

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

search

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

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


Copyright © 2008-2010 IFREMER. All Rights Reserved.