fr.ifremer.allegro.referential.spatial
Class SpatialItemLineDaoBase

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.referential.spatial.SpatialItemLineDaoBase
All Implemented Interfaces:
SpatialItemLineDao
Direct Known Subclasses:
SpatialItemLineDaoImpl

public abstract class SpatialItemLineDaoBase
extends org.springframework.orm.hibernate3.support.HibernateDaoSupport
implements SpatialItemLineDao

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

See Also:
SpatialItemLine

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.spatial.SpatialItemLineDao
TRANSFORM_CLUSTERSPATIALITEMLINE, TRANSFORM_NONE, TRANSFORM_REMOTESPATIALITEMLINEFULLVO, TRANSFORM_REMOTESPATIALITEMLINENATURALID
 
Constructor Summary
SpatialItemLineDaoBase()
           
 
Method Summary
 void clusterSpatialItemLineToEntity(ClusterSpatialItemLine source, SpatialItemLine target, boolean copyIfNull)
          Copies the fields of ClusterSpatialItemLine to the specified entity.
 void clusterSpatialItemLineToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type ClusterSpatialItemLine to this DAO's entity.
 java.util.Collection create(java.util.Collection entities)
          Creates a new instance of fr.ifremer.allegro.referential.spatial.SpatialItemLine and adds from the passed in entities collection
 java.util.Collection create(int transform, java.util.Collection entities)
           Does the same thing as SpatialItemLineDao.create(fr.ifremer.allegro.referential.spatial.SpatialItemLine) with an additional flag called transform.
 java.lang.Object create(int transform, SpatialItem spatialItem)
           Does the same thing as SpatialItemLineDao.create(fr.ifremer.allegro.referential.spatial.SpatialItem) with an additional flag called transform.
 java.lang.Object create(int transform, SpatialItemLine spatialItemLine)
           Does the same thing as SpatialItemLineDao.create(fr.ifremer.allegro.referential.spatial.SpatialItemLine) with an additional flag called transform.
 java.lang.Object create(int transform, java.lang.String localizedName, SpatialItem spatialItem)
           Does the same thing as SpatialItemLineDao.create(java.lang.String,fr.ifremer.allegro.referential.spatial.SpatialItem) with an additional flag called transform.
 SpatialItemLine create(SpatialItem spatialItem)
           Creates a new fr.ifremer.allegro.referential.spatial.SpatialItemLine instance from only required properties (attributes and association ends) and adds it to the persistent store.
 SpatialItemLine create(SpatialItemLine spatialItemLine)
          Creates an instance of fr.ifremer.allegro.referential.spatial.SpatialItemLine and adds it to the persistent store.
 SpatialItemLine create(java.lang.String localizedName, SpatialItem spatialItem)
           Creates a new fr.ifremer.allegro.referential.spatial.SpatialItemLine instance from all attributes and properties and adds it to the persistent store.
 SpatialItemLine createFromClusterSpatialItemLine(ClusterSpatialItemLine clusterSpatialItemLine)
           
 SpatialItemLine findSpatialItemLineById(java.lang.Integer id)
           
 java.lang.Object findSpatialItemLineById(int transform, java.lang.Integer id)
           Does the same thing as SpatialItemLineDao.findSpatialItemLineById(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findSpatialItemLineById(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as SpatialItemLineDao.findSpatialItemLineById(int, java.lang.Integer) with an additional argument called queryString.
 SpatialItemLine findSpatialItemLineById(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as SpatialItemLineDao.findSpatialItemLineById(java.lang.Integer) with an additional argument called queryString.
 SpatialItemLine findSpatialItemLineByNaturalId(java.lang.Integer id)
           
 java.lang.Object findSpatialItemLineByNaturalId(int transform, java.lang.Integer id)
           Does the same thing as SpatialItemLineDao.findSpatialItemLineByNaturalId(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findSpatialItemLineByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as SpatialItemLineDao.findSpatialItemLineByNaturalId(int, java.lang.Integer) with an additional argument called queryString.
 SpatialItemLine findSpatialItemLineByNaturalId(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as SpatialItemLineDao.findSpatialItemLineByNaturalId(java.lang.Integer) with an additional argument called queryString.
 java.util.Collection findSpatialItemLineBySpatialItem(int transform, int pageNumber, int pageSize, SpatialItem spatialItem)
           Does the same thing as SpatialItemLineDao.findSpatialItemLineBySpatialItem(int, fr.ifremer.allegro.referential.spatial.SpatialItem) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSpatialItemLineBySpatialItem(int pageNumber, int pageSize, SpatialItem spatialItem)
           Does the same thing as SpatialItemLineDao.findSpatialItemLineBySpatialItem(fr.ifremer.allegro.referential.spatial.SpatialItem) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSpatialItemLineBySpatialItem(int transform, SpatialItem spatialItem)
           Does the same thing as SpatialItemLineDao.findSpatialItemLineBySpatialItem(fr.ifremer.allegro.referential.spatial.SpatialItem) with an additional flag called transform.
 java.util.Collection findSpatialItemLineBySpatialItem(int transform, java.lang.String queryString, int pageNumber, int pageSize, SpatialItem spatialItem)
           Does the same thing as SpatialItemLineDao.findSpatialItemLineBySpatialItem(int, String, fr.ifremer.allegro.referential.spatial.SpatialItem) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSpatialItemLineBySpatialItem(int transform, java.lang.String queryString, SpatialItem spatialItem)
           Does the same thing as SpatialItemLineDao.findSpatialItemLineBySpatialItem(int, fr.ifremer.allegro.referential.spatial.SpatialItem) with an additional argument called queryString.
 java.util.Collection findSpatialItemLineBySpatialItem(SpatialItem spatialItem)
           
 java.util.Collection findSpatialItemLineBySpatialItem(java.lang.String queryString, int pageNumber, int pageSize, SpatialItem spatialItem)
           Does the same thing as SpatialItemLineDao.findSpatialItemLineBySpatialItem(String, fr.ifremer.allegro.referential.spatial.SpatialItem) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSpatialItemLineBySpatialItem(java.lang.String queryString, SpatialItem spatialItem)
           Does the same thing as SpatialItemLineDao.findSpatialItemLineBySpatialItem(fr.ifremer.allegro.referential.spatial.SpatialItem) with an additional argument called queryString.
 java.util.Collection getAllSpatialItemLine()
           
 java.util.Collection getAllSpatialItemLine(int transform)
           Does the same thing as SpatialItemLineDao.getAllSpatialItemLine() with an additional flag called transform.
 java.util.Collection getAllSpatialItemLine(int pageNumber, int pageSize)
           Does the same thing as SpatialItemLineDao.getAllSpatialItemLine() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllSpatialItemLine(int transform, int pageNumber, int pageSize)
           Does the same thing as SpatialItemLineDao.getAllSpatialItemLine(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllSpatialItemLine(int transform, java.lang.String queryString)
           Does the same thing as SpatialItemLineDao.getAllSpatialItemLine(int) with an additional argument called queryString.
 java.util.Collection getAllSpatialItemLine(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as SpatialItemLineDao.getAllSpatialItemLine(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllSpatialItemLine(java.lang.String queryString)
           Does the same thing as SpatialItemLineDao.getAllSpatialItemLine() with an additional argument called queryString.
 java.util.Collection getAllSpatialItemLine(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as SpatialItemLineDao.getAllSpatialItemLine(String) with an additional two arguments called pageNumber and pageSize.
protected  java.security.Principal getPrincipal()
          Gets the current principal if one has been set, otherwise returns null.
protected  SpatialItemDao getSpatialItemDao()
          Gets the reference to spatialItemDao.
protected abstract  SpatialItemLine handleCreateFromClusterSpatialItemLine(ClusterSpatialItemLine clusterSpatialItemLine)
          Performs the core logic for createFromClusterSpatialItemLine(fr.ifremer.allegro.referential.spatial.generic.cluster.ClusterSpatialItemLine)
 SpatialItemLine load(java.lang.Integer id)
          Loads an instance of fr.ifremer.allegro.referential.spatial.SpatialItemLine from the persistent store.
 java.lang.Object load(int transform, java.lang.Integer id)
           Does the same thing as SpatialItemLineDao.load(java.lang.Integer) with an additional flag called transform.
 java.util.Collection loadAll()
          Loads all entities of type SpatialItemLine.
 java.util.Collection loadAll(int transform)
           Does the same thing as SpatialItemLineDao.loadAll() with an additional flag called transform.
 java.util.Collection loadAll(int pageNumber, int pageSize)
           Does the same thing as SpatialItemLineDao.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 SpatialItemLineDao.loadAll(int) with an additional two arguments called pageNumber and pageSize.
 void remoteSpatialItemLineFullVOToEntity(RemoteSpatialItemLineFullVO source, SpatialItemLine target, boolean copyIfNull)
          Copies the fields of RemoteSpatialItemLineFullVO to the specified entity.
 void remoteSpatialItemLineFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteSpatialItemLineFullVO to this DAO's entity.
 void remoteSpatialItemLineNaturalIdToEntity(RemoteSpatialItemLineNaturalId source, SpatialItemLine target, boolean copyIfNull)
          Copies the fields of RemoteSpatialItemLineNaturalId to the specified entity.
 void remoteSpatialItemLineNaturalIdToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteSpatialItemLineNaturalId 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.spatial.SpatialItemLine having the given identifier from the persistent store.
 void remove(SpatialItemLine spatialItemLine)
          Removes the instance of fr.ifremer.allegro.referential.spatial.SpatialItemLine 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 SpatialItemLineDao.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 setSpatialItemDao(SpatialItemDao spatialItemDao)
          Sets the reference to spatialItemDao.
protected  ClusterSpatialItemLine toClusterSpatialItemLine(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 ClusterSpatialItemLine toClusterSpatialItemLine(SpatialItemLine entity)
          Converts this DAO's entity to an object of type ClusterSpatialItemLine.
 void toClusterSpatialItemLine(SpatialItemLine source, ClusterSpatialItemLine target)
          Copies the fields of the specified entity to the target value object.
 ClusterSpatialItemLine[] toClusterSpatialItemLineArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type ClusterSpatialItemLine.
 void toClusterSpatialItemLineCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type ClusterSpatialItemLine.
protected  SpatialItemLine toEntity(java.lang.Object[] row)
           
protected  RemoteSpatialItemLineFullVO toRemoteSpatialItemLineFullVO(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteSpatialItemLineFullVO toRemoteSpatialItemLineFullVO(SpatialItemLine entity)
          Converts this DAO's entity to an object of type RemoteSpatialItemLineFullVO.
 void toRemoteSpatialItemLineFullVO(SpatialItemLine source, RemoteSpatialItemLineFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteSpatialItemLineFullVO[] toRemoteSpatialItemLineFullVOArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteSpatialItemLineFullVO.
 void toRemoteSpatialItemLineFullVOCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteSpatialItemLineFullVO.
protected  RemoteSpatialItemLineNaturalId toRemoteSpatialItemLineNaturalId(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteSpatialItemLineNaturalId toRemoteSpatialItemLineNaturalId(SpatialItemLine entity)
          Converts this DAO's entity to an object of type RemoteSpatialItemLineNaturalId.
 void toRemoteSpatialItemLineNaturalId(SpatialItemLine source, RemoteSpatialItemLineNaturalId target)
          Copies the fields of the specified entity to the target value object.
 RemoteSpatialItemLineNaturalId[] toRemoteSpatialItemLineNaturalIdArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteSpatialItemLineNaturalId.
 void toRemoteSpatialItemLineNaturalIdCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteSpatialItemLineNaturalId.
protected  void transformEntities(int transform, java.util.Collection entities)
          Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.spatial.SpatialItemLine) method.
protected  java.lang.Object transformEntity(int transform, SpatialItemLine 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.spatial.SpatialItemLineDao, please note that the SpatialItemLineDao.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(SpatialItemLine spatialItemLine)
          Updates the spatialItemLine 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.spatial.SpatialItemLineDao
clusterSpatialItemLineToEntity, remoteSpatialItemLineFullVOToEntity, remoteSpatialItemLineNaturalIdToEntity
 

Constructor Detail

SpatialItemLineDaoBase

public SpatialItemLineDaoBase()
Method Detail

setSpatialItemDao

public void setSpatialItemDao(SpatialItemDao spatialItemDao)
Sets the reference to spatialItemDao.


getSpatialItemDao

protected SpatialItemDao getSpatialItemDao()
Gets the reference to spatialItemDao.


load

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

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

load

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

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

loadAll

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

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

loadAll

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

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

loadAll

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

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

loadAll

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

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

create

public SpatialItemLine create(SpatialItemLine spatialItemLine)
Description copied from interface: SpatialItemLineDao
Creates an instance of fr.ifremer.allegro.referential.spatial.SpatialItemLine and adds it to the persistent store.

Specified by:
create in interface SpatialItemLineDao
See Also:
SpatialItemLineDao.create(fr.ifremer.allegro.referential.spatial.SpatialItemLine)

create

public java.lang.Object create(int transform,
                               SpatialItemLine spatialItemLine)
Description copied from interface: SpatialItemLineDao

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

create

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

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

create

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

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

create

public SpatialItemLine create(java.lang.String localizedName,
                              SpatialItem spatialItem)
Description copied from interface: SpatialItemLineDao

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

Specified by:
create in interface SpatialItemLineDao
See Also:
SpatialItemLineDao.create(java.lang.String,fr.ifremer.allegro.referential.spatial.SpatialItem)

create

public java.lang.Object create(int transform,
                               java.lang.String localizedName,
                               SpatialItem spatialItem)
Description copied from interface: SpatialItemLineDao

Does the same thing as SpatialItemLineDao.create(java.lang.String,fr.ifremer.allegro.referential.spatial.SpatialItem) 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 SpatialItemLineDao
See Also:
SpatialItemLineDao.create(int, java.lang.String,fr.ifremer.allegro.referential.spatial.SpatialItem)

create

public SpatialItemLine create(SpatialItem spatialItem)
Description copied from interface: SpatialItemLineDao

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

Specified by:
create in interface SpatialItemLineDao
See Also:
SpatialItemLineDao.create(fr.ifremer.allegro.referential.spatial.SpatialItem)

create

public java.lang.Object create(int transform,
                               SpatialItem spatialItem)
Description copied from interface: SpatialItemLineDao

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

update

public void update(SpatialItemLine spatialItemLine)
Description copied from interface: SpatialItemLineDao
Updates the spatialItemLine instance in the persistent store.

Specified by:
update in interface SpatialItemLineDao
See Also:
SpatialItemLineDao.update(fr.ifremer.allegro.referential.spatial.SpatialItemLine)

update

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

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

remove

public void remove(SpatialItemLine spatialItemLine)
Description copied from interface: SpatialItemLineDao
Removes the instance of fr.ifremer.allegro.referential.spatial.SpatialItemLine from the persistent store.

Specified by:
remove in interface SpatialItemLineDao
See Also:
SpatialItemLineDao.remove(fr.ifremer.allegro.referential.spatial.SpatialItemLine)

remove

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

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

remove

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

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

getAllSpatialItemLine

public java.util.Collection getAllSpatialItemLine()
Specified by:
getAllSpatialItemLine in interface SpatialItemLineDao
See Also:
SpatialItemLineDao.getAllSpatialItemLine()

getAllSpatialItemLine

public java.util.Collection getAllSpatialItemLine(int transform)
Description copied from interface: SpatialItemLineDao

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

getAllSpatialItemLine

public java.util.Collection getAllSpatialItemLine(java.lang.String queryString)
Description copied from interface: SpatialItemLineDao

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

Specified by:
getAllSpatialItemLine in interface SpatialItemLineDao
See Also:
SpatialItemLineDao.getAllSpatialItemLine(java.lang.String)

getAllSpatialItemLine

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

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

getAllSpatialItemLine

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

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

getAllSpatialItemLine

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

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

Specified by:
getAllSpatialItemLine in interface SpatialItemLineDao
See Also:
SpatialItemLineDao.getAllSpatialItemLine(int, String)

getAllSpatialItemLine

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

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

getAllSpatialItemLine

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

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

findSpatialItemLineById

public SpatialItemLine findSpatialItemLineById(java.lang.Integer id)
Specified by:
findSpatialItemLineById in interface SpatialItemLineDao
See Also:
SpatialItemLineDao.findSpatialItemLineById(java.lang.Integer)

findSpatialItemLineById

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

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

findSpatialItemLineById

public SpatialItemLine findSpatialItemLineById(java.lang.String queryString,
                                               java.lang.Integer id)
Description copied from interface: SpatialItemLineDao

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

Specified by:
findSpatialItemLineById in interface SpatialItemLineDao
See Also:
SpatialItemLineDao.findSpatialItemLineById(java.lang.String, java.lang.Integer)

findSpatialItemLineById

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

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

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

findSpatialItemLineBySpatialItem

public java.util.Collection findSpatialItemLineBySpatialItem(SpatialItem spatialItem)
Specified by:
findSpatialItemLineBySpatialItem in interface SpatialItemLineDao
See Also:
SpatialItemLineDao.findSpatialItemLineBySpatialItem(fr.ifremer.allegro.referential.spatial.SpatialItem)

findSpatialItemLineBySpatialItem

public java.util.Collection findSpatialItemLineBySpatialItem(int transform,
                                                             SpatialItem spatialItem)
Description copied from interface: SpatialItemLineDao

Does the same thing as SpatialItemLineDao.findSpatialItemLineBySpatialItem(fr.ifremer.allegro.referential.spatial.SpatialItem) 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:
findSpatialItemLineBySpatialItem in interface SpatialItemLineDao
See Also:
SpatialItemLineDao.findSpatialItemLineBySpatialItem(int, fr.ifremer.allegro.referential.spatial.SpatialItem)

findSpatialItemLineBySpatialItem

public java.util.Collection findSpatialItemLineBySpatialItem(java.lang.String queryString,
                                                             SpatialItem spatialItem)
Description copied from interface: SpatialItemLineDao

Does the same thing as SpatialItemLineDao.findSpatialItemLineBySpatialItem(fr.ifremer.allegro.referential.spatial.SpatialItem) with an additional argument called queryString. This queryString argument allows you to override the query string defined in SpatialItemLineDao.findSpatialItemLineBySpatialItem(fr.ifremer.allegro.referential.spatial.SpatialItem).

Specified by:
findSpatialItemLineBySpatialItem in interface SpatialItemLineDao
See Also:
SpatialItemLineDao.findSpatialItemLineBySpatialItem(java.lang.String, fr.ifremer.allegro.referential.spatial.SpatialItem)

findSpatialItemLineBySpatialItem

public java.util.Collection findSpatialItemLineBySpatialItem(int pageNumber,
                                                             int pageSize,
                                                             SpatialItem spatialItem)
Description copied from interface: SpatialItemLineDao

Does the same thing as SpatialItemLineDao.findSpatialItemLineBySpatialItem(fr.ifremer.allegro.referential.spatial.SpatialItem) 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:
findSpatialItemLineBySpatialItem in interface SpatialItemLineDao
See Also:
SpatialItemLineDao.findSpatialItemLineBySpatialItem(int, int, fr.ifremer.allegro.referential.spatial.SpatialItem)

findSpatialItemLineBySpatialItem

public java.util.Collection findSpatialItemLineBySpatialItem(java.lang.String queryString,
                                                             int pageNumber,
                                                             int pageSize,
                                                             SpatialItem spatialItem)
Description copied from interface: SpatialItemLineDao

Does the same thing as SpatialItemLineDao.findSpatialItemLineBySpatialItem(String, fr.ifremer.allegro.referential.spatial.SpatialItem) 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:
findSpatialItemLineBySpatialItem in interface SpatialItemLineDao
See Also:
SpatialItemLineDao.findSpatialItemLineBySpatialItem(String, int, int, fr.ifremer.allegro.referential.spatial.SpatialItem)

findSpatialItemLineBySpatialItem

public java.util.Collection findSpatialItemLineBySpatialItem(int transform,
                                                             java.lang.String queryString,
                                                             SpatialItem spatialItem)
Description copied from interface: SpatialItemLineDao

Does the same thing as SpatialItemLineDao.findSpatialItemLineBySpatialItem(int, fr.ifremer.allegro.referential.spatial.SpatialItem) with an additional argument called queryString. This queryString argument allows you to override the query string defined in SpatialItemLineDao.findSpatialItemLineBySpatialItem(int, fr.ifremer.allegro.referential.spatial.SpatialItem spatialItem).

Specified by:
findSpatialItemLineBySpatialItem in interface SpatialItemLineDao
See Also:
SpatialItemLineDao.findSpatialItemLineBySpatialItem(int, String, fr.ifremer.allegro.referential.spatial.SpatialItem)

findSpatialItemLineBySpatialItem

public java.util.Collection findSpatialItemLineBySpatialItem(int transform,
                                                             int pageNumber,
                                                             int pageSize,
                                                             SpatialItem spatialItem)
Description copied from interface: SpatialItemLineDao

Does the same thing as SpatialItemLineDao.findSpatialItemLineBySpatialItem(int, fr.ifremer.allegro.referential.spatial.SpatialItem) 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:
findSpatialItemLineBySpatialItem in interface SpatialItemLineDao
See Also:
SpatialItemLineDao.findSpatialItemLineBySpatialItem(int, int, int, fr.ifremer.allegro.referential.spatial.SpatialItem)

findSpatialItemLineBySpatialItem

public java.util.Collection findSpatialItemLineBySpatialItem(int transform,
                                                             java.lang.String queryString,
                                                             int pageNumber,
                                                             int pageSize,
                                                             SpatialItem spatialItem)
Description copied from interface: SpatialItemLineDao

Does the same thing as SpatialItemLineDao.findSpatialItemLineBySpatialItem(int, String, fr.ifremer.allegro.referential.spatial.SpatialItem) 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:
findSpatialItemLineBySpatialItem in interface SpatialItemLineDao
See Also:
SpatialItemLineDao.findSpatialItemLineBySpatialItem(int, java.lang.String, int, int, fr.ifremer.allegro.referential.spatial.SpatialItem)

findSpatialItemLineByNaturalId

public SpatialItemLine findSpatialItemLineByNaturalId(java.lang.Integer id)
Specified by:
findSpatialItemLineByNaturalId in interface SpatialItemLineDao
See Also:
SpatialItemLineDao.findSpatialItemLineByNaturalId(java.lang.Integer)

findSpatialItemLineByNaturalId

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

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

findSpatialItemLineByNaturalId

public SpatialItemLine findSpatialItemLineByNaturalId(java.lang.String queryString,
                                                      java.lang.Integer id)
Description copied from interface: SpatialItemLineDao

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

Specified by:
findSpatialItemLineByNaturalId in interface SpatialItemLineDao
See Also:
SpatialItemLineDao.findSpatialItemLineByNaturalId(java.lang.String, java.lang.Integer)

findSpatialItemLineByNaturalId

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

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

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

createFromClusterSpatialItemLine

public SpatialItemLine createFromClusterSpatialItemLine(ClusterSpatialItemLine clusterSpatialItemLine)
Specified by:
createFromClusterSpatialItemLine in interface SpatialItemLineDao
See Also:
SpatialItemLineDao.createFromClusterSpatialItemLine(fr.ifremer.allegro.referential.spatial.generic.cluster.ClusterSpatialItemLine)

handleCreateFromClusterSpatialItemLine

protected abstract SpatialItemLine handleCreateFromClusterSpatialItemLine(ClusterSpatialItemLine clusterSpatialItemLine)
                                                                   throws java.lang.Exception
Performs the core logic for createFromClusterSpatialItemLine(fr.ifremer.allegro.referential.spatial.generic.cluster.ClusterSpatialItemLine)

Throws:
java.lang.Exception

transformEntity

protected java.lang.Object transformEntity(int transform,
                                           SpatialItemLine 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.spatial.SpatialItemLineDao, please note that the SpatialItemLineDao.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 SpatialItemLineDao.TRANSFORM_NONE is assumed.

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

toEntity

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

toRemoteSpatialItemLineFullVOCollection

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

Specified by:
toRemoteSpatialItemLineFullVOCollection in interface SpatialItemLineDao
See Also:
SpatialItemLineDao.toRemoteSpatialItemLineFullVOCollection(java.util.Collection)

toRemoteSpatialItemLineFullVOArray

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

Specified by:
toRemoteSpatialItemLineFullVOArray in interface SpatialItemLineDao
See Also:
SpatialItemLineDao.toRemoteSpatialItemLineFullVOArray(java.util.Collection)

toRemoteSpatialItemLineFullVO

protected RemoteSpatialItemLineFullVO toRemoteSpatialItemLineFullVO(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 SpatialItemLineDaoImpl class if you intend to use reporting queries.

See Also:
SpatialItemLineDao.toRemoteSpatialItemLineFullVO(fr.ifremer.allegro.referential.spatial.SpatialItemLine)

remoteSpatialItemLineFullVOToEntityCollection

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

Specified by:
remoteSpatialItemLineFullVOToEntityCollection in interface SpatialItemLineDao
See Also:
SpatialItemLineDao.remoteSpatialItemLineFullVOToEntityCollection(java.util.Collection)

toRemoteSpatialItemLineFullVO

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

toRemoteSpatialItemLineFullVO

public RemoteSpatialItemLineFullVO toRemoteSpatialItemLineFullVO(SpatialItemLine entity)
Description copied from interface: SpatialItemLineDao
Converts this DAO's entity to an object of type RemoteSpatialItemLineFullVO.

Specified by:
toRemoteSpatialItemLineFullVO in interface SpatialItemLineDao
See Also:
SpatialItemLineDao.toRemoteSpatialItemLineFullVO(fr.ifremer.allegro.referential.spatial.SpatialItemLine)

remoteSpatialItemLineFullVOToEntity

public void remoteSpatialItemLineFullVOToEntity(RemoteSpatialItemLineFullVO source,
                                                SpatialItemLine target,
                                                boolean copyIfNull)
Description copied from interface: SpatialItemLineDao
Copies the fields of RemoteSpatialItemLineFullVO to the specified entity.

Specified by:
remoteSpatialItemLineFullVOToEntity in interface SpatialItemLineDao
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.spatial.SpatialItemLineDao#remoteSpatialItemLineFullVOToEntity(fr.ifremer.allegro.referential.spatial.generic.vo.RemoteSpatialItemLineFullVO, fr.ifremer.allegro.referential.spatial.SpatialItemLine)

toRemoteSpatialItemLineNaturalIdCollection

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

Specified by:
toRemoteSpatialItemLineNaturalIdCollection in interface SpatialItemLineDao
See Also:
SpatialItemLineDao.toRemoteSpatialItemLineNaturalIdCollection(java.util.Collection)

toRemoteSpatialItemLineNaturalIdArray

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

Specified by:
toRemoteSpatialItemLineNaturalIdArray in interface SpatialItemLineDao
See Also:
SpatialItemLineDao.toRemoteSpatialItemLineNaturalIdArray(java.util.Collection)

toRemoteSpatialItemLineNaturalId

protected RemoteSpatialItemLineNaturalId toRemoteSpatialItemLineNaturalId(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 SpatialItemLineDaoImpl class if you intend to use reporting queries.

See Also:
SpatialItemLineDao.toRemoteSpatialItemLineNaturalId(fr.ifremer.allegro.referential.spatial.SpatialItemLine)

remoteSpatialItemLineNaturalIdToEntityCollection

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

Specified by:
remoteSpatialItemLineNaturalIdToEntityCollection in interface SpatialItemLineDao
See Also:
SpatialItemLineDao.remoteSpatialItemLineNaturalIdToEntityCollection(java.util.Collection)

toRemoteSpatialItemLineNaturalId

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

toRemoteSpatialItemLineNaturalId

public RemoteSpatialItemLineNaturalId toRemoteSpatialItemLineNaturalId(SpatialItemLine entity)
Description copied from interface: SpatialItemLineDao
Converts this DAO's entity to an object of type RemoteSpatialItemLineNaturalId.

Specified by:
toRemoteSpatialItemLineNaturalId in interface SpatialItemLineDao
See Also:
SpatialItemLineDao.toRemoteSpatialItemLineNaturalId(fr.ifremer.allegro.referential.spatial.SpatialItemLine)

remoteSpatialItemLineNaturalIdToEntity

public void remoteSpatialItemLineNaturalIdToEntity(RemoteSpatialItemLineNaturalId source,
                                                   SpatialItemLine target,
                                                   boolean copyIfNull)
Description copied from interface: SpatialItemLineDao
Copies the fields of RemoteSpatialItemLineNaturalId to the specified entity.

Specified by:
remoteSpatialItemLineNaturalIdToEntity in interface SpatialItemLineDao
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.spatial.SpatialItemLineDao#remoteSpatialItemLineNaturalIdToEntity(fr.ifremer.allegro.referential.spatial.generic.vo.RemoteSpatialItemLineNaturalId, fr.ifremer.allegro.referential.spatial.SpatialItemLine)

toClusterSpatialItemLineCollection

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

Specified by:
toClusterSpatialItemLineCollection in interface SpatialItemLineDao
See Also:
SpatialItemLineDao.toClusterSpatialItemLineCollection(java.util.Collection)

toClusterSpatialItemLineArray

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

Specified by:
toClusterSpatialItemLineArray in interface SpatialItemLineDao
See Also:
SpatialItemLineDao.toClusterSpatialItemLineArray(java.util.Collection)

toClusterSpatialItemLine

protected ClusterSpatialItemLine toClusterSpatialItemLine(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 SpatialItemLineDaoImpl class if you intend to use reporting queries.

See Also:
SpatialItemLineDao.toClusterSpatialItemLine(fr.ifremer.allegro.referential.spatial.SpatialItemLine)

clusterSpatialItemLineToEntityCollection

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

Specified by:
clusterSpatialItemLineToEntityCollection in interface SpatialItemLineDao
See Also:
SpatialItemLineDao.clusterSpatialItemLineToEntityCollection(java.util.Collection)

toClusterSpatialItemLine

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

toClusterSpatialItemLine

public ClusterSpatialItemLine toClusterSpatialItemLine(SpatialItemLine entity)
Description copied from interface: SpatialItemLineDao
Converts this DAO's entity to an object of type ClusterSpatialItemLine.

Specified by:
toClusterSpatialItemLine in interface SpatialItemLineDao
See Also:
SpatialItemLineDao.toClusterSpatialItemLine(fr.ifremer.allegro.referential.spatial.SpatialItemLine)

clusterSpatialItemLineToEntity

public void clusterSpatialItemLineToEntity(ClusterSpatialItemLine source,
                                           SpatialItemLine target,
                                           boolean copyIfNull)
Description copied from interface: SpatialItemLineDao
Copies the fields of ClusterSpatialItemLine to the specified entity.

Specified by:
clusterSpatialItemLineToEntity in interface SpatialItemLineDao
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.spatial.SpatialItemLineDao#clusterSpatialItemLineToEntity(fr.ifremer.allegro.referential.spatial.generic.cluster.ClusterSpatialItemLine, fr.ifremer.allegro.referential.spatial.SpatialItemLine)

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

search

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

search

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

search

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

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


Copyright © 2008-2010 IFREMER. All Rights Reserved.