fr.ifremer.allegro.referential.spatial
Class SpatialItemTypeDaoBase

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

public abstract class SpatialItemTypeDaoBase
extends org.springframework.orm.hibernate3.support.HibernateDaoSupport
implements SpatialItemTypeDao

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

See Also:
SpatialItemType

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.spatial.SpatialItemTypeDao
TRANSFORM_CLUSTERSPATIALITEMTYPE, TRANSFORM_NONE, TRANSFORM_REMOTESPATIALITEMTYPEFULLVO, TRANSFORM_REMOTESPATIALITEMTYPENATURALID
 
Constructor Summary
SpatialItemTypeDaoBase()
           
 
Method Summary
 void clusterSpatialItemTypeToEntity(ClusterSpatialItemType source, SpatialItemType target, boolean copyIfNull)
          Copies the fields of ClusterSpatialItemType to the specified entity.
 void clusterSpatialItemTypeToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type ClusterSpatialItemType to this DAO's entity.
 java.util.Collection create(java.util.Collection entities)
          Creates a new instance of fr.ifremer.allegro.referential.spatial.SpatialItemType and adds from the passed in entities collection
 java.util.Collection create(int transform, java.util.Collection entities)
           Does the same thing as SpatialItemTypeDao.create(fr.ifremer.allegro.referential.spatial.SpatialItemType) with an additional flag called transform.
 java.lang.Object create(int transform, SpatialItemType spatialItemType)
           Does the same thing as SpatialItemTypeDao.create(fr.ifremer.allegro.referential.spatial.SpatialItemType) with an additional flag called transform.
 java.lang.Object create(int transform, java.lang.String name, ObjectType objectType, Status status)
           Does the same thing as SpatialItemTypeDao.create(java.lang.String,fr.ifremer.allegro.referential.ObjectType,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, java.util.Collection spatialItems, Status status, ObjectType objectType)
           Does the same thing as SpatialItemTypeDao.create(java.lang.String,java.lang.String,java.sql.Timestamp,java.util.Collection,fr.ifremer.allegro.referential.Status,fr.ifremer.allegro.referential.ObjectType) with an additional flag called transform.
 SpatialItemType create(SpatialItemType spatialItemType)
          Creates an instance of fr.ifremer.allegro.referential.spatial.SpatialItemType and adds it to the persistent store.
 SpatialItemType create(java.lang.String name, ObjectType objectType, Status status)
           Creates a new fr.ifremer.allegro.referential.spatial.SpatialItemType instance from only required properties (attributes and association ends) and adds it to the persistent store.
 SpatialItemType create(java.lang.String name, java.lang.String description, java.sql.Timestamp updateDate, java.util.Collection spatialItems, Status status, ObjectType objectType)
           Creates a new fr.ifremer.allegro.referential.spatial.SpatialItemType instance from all attributes and properties and adds it to the persistent store.
 SpatialItemType createFromClusterSpatialItemType(ClusterSpatialItemType clusterSpatialItemType)
           
 SpatialItemType findSpatialItemTypeById(java.lang.Integer id)
           
 java.lang.Object findSpatialItemTypeById(int transform, java.lang.Integer id)
           Does the same thing as SpatialItemTypeDao.findSpatialItemTypeById(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findSpatialItemTypeById(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as SpatialItemTypeDao.findSpatialItemTypeById(int, java.lang.Integer) with an additional argument called queryString.
 SpatialItemType findSpatialItemTypeById(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as SpatialItemTypeDao.findSpatialItemTypeById(java.lang.Integer) with an additional argument called queryString.
 SpatialItemType findSpatialItemTypeByNaturalId(java.lang.Integer id)
           
 java.lang.Object findSpatialItemTypeByNaturalId(int transform, java.lang.Integer id)
           Does the same thing as SpatialItemTypeDao.findSpatialItemTypeByNaturalId(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findSpatialItemTypeByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as SpatialItemTypeDao.findSpatialItemTypeByNaturalId(int, java.lang.Integer) with an additional argument called queryString.
 SpatialItemType findSpatialItemTypeByNaturalId(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as SpatialItemTypeDao.findSpatialItemTypeByNaturalId(java.lang.Integer) with an additional argument called queryString.
 java.util.Collection findSpatialItemTypeByObjectType(int transform, int pageNumber, int pageSize, ObjectType objectType)
           Does the same thing as SpatialItemTypeDao.findSpatialItemTypeByObjectType(int, fr.ifremer.allegro.referential.ObjectType) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSpatialItemTypeByObjectType(int pageNumber, int pageSize, ObjectType objectType)
           Does the same thing as SpatialItemTypeDao.findSpatialItemTypeByObjectType(fr.ifremer.allegro.referential.ObjectType) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSpatialItemTypeByObjectType(int transform, ObjectType objectType)
           Does the same thing as SpatialItemTypeDao.findSpatialItemTypeByObjectType(fr.ifremer.allegro.referential.ObjectType) with an additional flag called transform.
 java.util.Collection findSpatialItemTypeByObjectType(int transform, java.lang.String queryString, int pageNumber, int pageSize, ObjectType objectType)
           Does the same thing as SpatialItemTypeDao.findSpatialItemTypeByObjectType(int, String, fr.ifremer.allegro.referential.ObjectType) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSpatialItemTypeByObjectType(int transform, java.lang.String queryString, ObjectType objectType)
           Does the same thing as SpatialItemTypeDao.findSpatialItemTypeByObjectType(int, fr.ifremer.allegro.referential.ObjectType) with an additional argument called queryString.
 java.util.Collection findSpatialItemTypeByObjectType(ObjectType objectType)
           
 java.util.Collection findSpatialItemTypeByObjectType(java.lang.String queryString, int pageNumber, int pageSize, ObjectType objectType)
           Does the same thing as SpatialItemTypeDao.findSpatialItemTypeByObjectType(String, fr.ifremer.allegro.referential.ObjectType) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSpatialItemTypeByObjectType(java.lang.String queryString, ObjectType objectType)
           Does the same thing as SpatialItemTypeDao.findSpatialItemTypeByObjectType(fr.ifremer.allegro.referential.ObjectType) with an additional argument called queryString.
 java.util.Collection findSpatialItemTypeByStatus(int transform, int pageNumber, int pageSize, Status status)
           Does the same thing as SpatialItemTypeDao.findSpatialItemTypeByStatus(int, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSpatialItemTypeByStatus(int pageNumber, int pageSize, Status status)
           Does the same thing as SpatialItemTypeDao.findSpatialItemTypeByStatus(fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSpatialItemTypeByStatus(int transform, Status status)
           Does the same thing as SpatialItemTypeDao.findSpatialItemTypeByStatus(fr.ifremer.allegro.referential.Status) with an additional flag called transform.
 java.util.Collection findSpatialItemTypeByStatus(int transform, java.lang.String queryString, int pageNumber, int pageSize, Status status)
           Does the same thing as SpatialItemTypeDao.findSpatialItemTypeByStatus(int, String, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSpatialItemTypeByStatus(int transform, java.lang.String queryString, Status status)
           Does the same thing as SpatialItemTypeDao.findSpatialItemTypeByStatus(int, fr.ifremer.allegro.referential.Status) with an additional argument called queryString.
 java.util.Collection findSpatialItemTypeByStatus(Status status)
           
 java.util.Collection findSpatialItemTypeByStatus(java.lang.String queryString, int pageNumber, int pageSize, Status status)
           Does the same thing as SpatialItemTypeDao.findSpatialItemTypeByStatus(String, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSpatialItemTypeByStatus(java.lang.String queryString, Status status)
           Does the same thing as SpatialItemTypeDao.findSpatialItemTypeByStatus(fr.ifremer.allegro.referential.Status) with an additional argument called queryString.
 ClusterSpatialItemType[] getAllClusterSpatialItemTypeSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
 java.util.Collection getAllSpatialItemType()
           
 java.util.Collection getAllSpatialItemType(int transform)
           Does the same thing as SpatialItemTypeDao.getAllSpatialItemType() with an additional flag called transform.
 java.util.Collection getAllSpatialItemType(int pageNumber, int pageSize)
           Does the same thing as SpatialItemTypeDao.getAllSpatialItemType() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllSpatialItemType(int transform, int pageNumber, int pageSize)
           Does the same thing as SpatialItemTypeDao.getAllSpatialItemType(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllSpatialItemType(int transform, java.lang.String queryString)
           Does the same thing as SpatialItemTypeDao.getAllSpatialItemType(int) with an additional argument called queryString.
 java.util.Collection getAllSpatialItemType(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as SpatialItemTypeDao.getAllSpatialItemType(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllSpatialItemType(java.lang.String queryString)
           Does the same thing as SpatialItemTypeDao.getAllSpatialItemType() with an additional argument called queryString.
 java.util.Collection getAllSpatialItemType(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as SpatialItemTypeDao.getAllSpatialItemType(String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllSpatialItemTypeSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as SpatialItemTypeDao.getAllSpatialItemTypeSinceDateSynchro(int, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllSpatialItemTypeSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as SpatialItemTypeDao.getAllSpatialItemTypeSinceDateSynchro(java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllSpatialItemTypeSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as SpatialItemTypeDao.getAllSpatialItemTypeSinceDateSynchro(int, String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllSpatialItemTypeSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as SpatialItemTypeDao.getAllSpatialItemTypeSinceDateSynchro(int, java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllSpatialItemTypeSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
           Does the same thing as SpatialItemTypeDao.getAllSpatialItemTypeSinceDateSynchro(java.sql.Timestamp) with an additional flag called transform.
 java.util.Collection getAllSpatialItemTypeSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as SpatialItemTypeDao.getAllSpatialItemTypeSinceDateSynchro(String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllSpatialItemTypeSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as SpatialItemTypeDao.getAllSpatialItemTypeSinceDateSynchro(java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllSpatialItemTypeSinceDateSynchro(java.sql.Timestamp updateDate)
           
protected  ObjectTypeDao getObjectTypeDao()
          Gets the reference to objectTypeDao.
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  StatusDao getStatusDao()
          Gets the reference to statusDao.
protected abstract  SpatialItemType handleCreateFromClusterSpatialItemType(ClusterSpatialItemType clusterSpatialItemType)
          Performs the core logic for createFromClusterSpatialItemType(fr.ifremer.allegro.referential.spatial.generic.cluster.ClusterSpatialItemType)
protected abstract  ClusterSpatialItemType[] handleGetAllClusterSpatialItemTypeSinceDateSynchro(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 getAllClusterSpatialItemTypeSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 SpatialItemType load(java.lang.Integer id)
          Loads an instance of fr.ifremer.allegro.referential.spatial.SpatialItemType from the persistent store.
 java.lang.Object load(int transform, java.lang.Integer id)
           Does the same thing as SpatialItemTypeDao.load(java.lang.Integer) with an additional flag called transform.
 java.util.Collection loadAll()
          Loads all entities of type SpatialItemType.
 java.util.Collection loadAll(int transform)
           Does the same thing as SpatialItemTypeDao.loadAll() with an additional flag called transform.
 java.util.Collection loadAll(int pageNumber, int pageSize)
           Does the same thing as SpatialItemTypeDao.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 SpatialItemTypeDao.loadAll(int) with an additional two arguments called pageNumber and pageSize.
 void remoteSpatialItemTypeFullVOToEntity(RemoteSpatialItemTypeFullVO source, SpatialItemType target, boolean copyIfNull)
          Copies the fields of RemoteSpatialItemTypeFullVO to the specified entity.
 void remoteSpatialItemTypeFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteSpatialItemTypeFullVO to this DAO's entity.
 void remoteSpatialItemTypeNaturalIdToEntity(RemoteSpatialItemTypeNaturalId source, SpatialItemType target, boolean copyIfNull)
          Copies the fields of RemoteSpatialItemTypeNaturalId to the specified entity.
 void remoteSpatialItemTypeNaturalIdToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteSpatialItemTypeNaturalId 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.SpatialItemType having the given identifier from the persistent store.
 void remove(SpatialItemType spatialItemType)
          Removes the instance of fr.ifremer.allegro.referential.spatial.SpatialItemType 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 SpatialItemTypeDao.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 setObjectTypeDao(ObjectTypeDao objectTypeDao)
          Sets the reference to objectTypeDao.
 void setSpatialItemDao(SpatialItemDao spatialItemDao)
          Sets the reference to spatialItemDao.
 void setStatusDao(StatusDao statusDao)
          Sets the reference to statusDao.
protected  ClusterSpatialItemType toClusterSpatialItemType(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 ClusterSpatialItemType toClusterSpatialItemType(SpatialItemType entity)
          Converts this DAO's entity to an object of type ClusterSpatialItemType.
 void toClusterSpatialItemType(SpatialItemType source, ClusterSpatialItemType target)
          Copies the fields of the specified entity to the target value object.
 ClusterSpatialItemType[] toClusterSpatialItemTypeArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type ClusterSpatialItemType.
 void toClusterSpatialItemTypeCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type ClusterSpatialItemType.
protected  SpatialItemType toEntity(java.lang.Object[] row)
           
protected  RemoteSpatialItemTypeFullVO toRemoteSpatialItemTypeFullVO(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteSpatialItemTypeFullVO toRemoteSpatialItemTypeFullVO(SpatialItemType entity)
          Converts this DAO's entity to an object of type RemoteSpatialItemTypeFullVO.
 void toRemoteSpatialItemTypeFullVO(SpatialItemType source, RemoteSpatialItemTypeFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteSpatialItemTypeFullVO[] toRemoteSpatialItemTypeFullVOArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteSpatialItemTypeFullVO.
 void toRemoteSpatialItemTypeFullVOCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteSpatialItemTypeFullVO.
protected  RemoteSpatialItemTypeNaturalId toRemoteSpatialItemTypeNaturalId(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteSpatialItemTypeNaturalId toRemoteSpatialItemTypeNaturalId(SpatialItemType entity)
          Converts this DAO's entity to an object of type RemoteSpatialItemTypeNaturalId.
 void toRemoteSpatialItemTypeNaturalId(SpatialItemType source, RemoteSpatialItemTypeNaturalId target)
          Copies the fields of the specified entity to the target value object.
 RemoteSpatialItemTypeNaturalId[] toRemoteSpatialItemTypeNaturalIdArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteSpatialItemTypeNaturalId.
 void toRemoteSpatialItemTypeNaturalIdCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteSpatialItemTypeNaturalId.
protected  void transformEntities(int transform, java.util.Collection entities)
          Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.spatial.SpatialItemType) method.
protected  java.lang.Object transformEntity(int transform, SpatialItemType 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.SpatialItemTypeDao, please note that the SpatialItemTypeDao.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(SpatialItemType spatialItemType)
          Updates the spatialItemType 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.SpatialItemTypeDao
clusterSpatialItemTypeToEntity, remoteSpatialItemTypeFullVOToEntity, remoteSpatialItemTypeNaturalIdToEntity
 

Constructor Detail

SpatialItemTypeDaoBase

public SpatialItemTypeDaoBase()
Method Detail

setObjectTypeDao

public void setObjectTypeDao(ObjectTypeDao objectTypeDao)
Sets the reference to objectTypeDao.


getObjectTypeDao

protected ObjectTypeDao getObjectTypeDao()
Gets the reference to objectTypeDao.


setSpatialItemDao

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


getSpatialItemDao

protected SpatialItemDao getSpatialItemDao()
Gets the reference to spatialItemDao.


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: SpatialItemTypeDao

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

load

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

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

loadAll

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

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

loadAll

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

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

loadAll

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

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

loadAll

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

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

create

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

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

create

public java.lang.Object create(int transform,
                               SpatialItemType spatialItemType)
Description copied from interface: SpatialItemTypeDao

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

create

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

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

create

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

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

create

public SpatialItemType create(java.lang.String name,
                              java.lang.String description,
                              java.sql.Timestamp updateDate,
                              java.util.Collection spatialItems,
                              Status status,
                              ObjectType objectType)
Description copied from interface: SpatialItemTypeDao

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

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

create

public java.lang.Object create(int transform,
                               java.lang.String name,
                               java.lang.String description,
                               java.sql.Timestamp updateDate,
                               java.util.Collection spatialItems,
                               Status status,
                               ObjectType objectType)
Description copied from interface: SpatialItemTypeDao

Does the same thing as SpatialItemTypeDao.create(java.lang.String,java.lang.String,java.sql.Timestamp,java.util.Collection,fr.ifremer.allegro.referential.Status,fr.ifremer.allegro.referential.ObjectType) 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 SpatialItemTypeDao
See Also:
SpatialItemTypeDao.create(int, java.lang.String,java.lang.String,java.sql.Timestamp,java.util.Collection,fr.ifremer.allegro.referential.Status,fr.ifremer.allegro.referential.ObjectType)

create

public SpatialItemType create(java.lang.String name,
                              ObjectType objectType,
                              Status status)
Description copied from interface: SpatialItemTypeDao

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

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

create

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

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

update

public void update(SpatialItemType spatialItemType)
Description copied from interface: SpatialItemTypeDao
Updates the spatialItemType instance in the persistent store.

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

update

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

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

remove

public void remove(SpatialItemType spatialItemType)
Description copied from interface: SpatialItemTypeDao
Removes the instance of fr.ifremer.allegro.referential.spatial.SpatialItemType from the persistent store.

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

remove

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

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

remove

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

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

getAllSpatialItemType

public java.util.Collection getAllSpatialItemType()
Specified by:
getAllSpatialItemType in interface SpatialItemTypeDao
See Also:
SpatialItemTypeDao.getAllSpatialItemType()

getAllSpatialItemType

public java.util.Collection getAllSpatialItemType(int transform)
Description copied from interface: SpatialItemTypeDao

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

getAllSpatialItemType

public java.util.Collection getAllSpatialItemType(java.lang.String queryString)
Description copied from interface: SpatialItemTypeDao

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

Specified by:
getAllSpatialItemType in interface SpatialItemTypeDao
See Also:
SpatialItemTypeDao.getAllSpatialItemType(java.lang.String)

getAllSpatialItemType

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

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

getAllSpatialItemType

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

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

getAllSpatialItemType

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

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

Specified by:
getAllSpatialItemType in interface SpatialItemTypeDao
See Also:
SpatialItemTypeDao.getAllSpatialItemType(int, String)

getAllSpatialItemType

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

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

getAllSpatialItemType

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

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

findSpatialItemTypeById

public SpatialItemType findSpatialItemTypeById(java.lang.Integer id)
Specified by:
findSpatialItemTypeById in interface SpatialItemTypeDao
See Also:
SpatialItemTypeDao.findSpatialItemTypeById(java.lang.Integer)

findSpatialItemTypeById

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

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

findSpatialItemTypeById

public SpatialItemType findSpatialItemTypeById(java.lang.String queryString,
                                               java.lang.Integer id)
Description copied from interface: SpatialItemTypeDao

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

Specified by:
findSpatialItemTypeById in interface SpatialItemTypeDao
See Also:
SpatialItemTypeDao.findSpatialItemTypeById(java.lang.String, java.lang.Integer)

findSpatialItemTypeById

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

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

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

findSpatialItemTypeByObjectType

public java.util.Collection findSpatialItemTypeByObjectType(ObjectType objectType)
Specified by:
findSpatialItemTypeByObjectType in interface SpatialItemTypeDao
See Also:
SpatialItemTypeDao.findSpatialItemTypeByObjectType(fr.ifremer.allegro.referential.ObjectType)

findSpatialItemTypeByObjectType

public java.util.Collection findSpatialItemTypeByObjectType(int transform,
                                                            ObjectType objectType)
Description copied from interface: SpatialItemTypeDao

Does the same thing as SpatialItemTypeDao.findSpatialItemTypeByObjectType(fr.ifremer.allegro.referential.ObjectType) 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:
findSpatialItemTypeByObjectType in interface SpatialItemTypeDao
See Also:
SpatialItemTypeDao.findSpatialItemTypeByObjectType(int, fr.ifremer.allegro.referential.ObjectType)

findSpatialItemTypeByObjectType

public java.util.Collection findSpatialItemTypeByObjectType(java.lang.String queryString,
                                                            ObjectType objectType)
Description copied from interface: SpatialItemTypeDao

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

Specified by:
findSpatialItemTypeByObjectType in interface SpatialItemTypeDao
See Also:
SpatialItemTypeDao.findSpatialItemTypeByObjectType(java.lang.String, fr.ifremer.allegro.referential.ObjectType)

findSpatialItemTypeByObjectType

public java.util.Collection findSpatialItemTypeByObjectType(int pageNumber,
                                                            int pageSize,
                                                            ObjectType objectType)
Description copied from interface: SpatialItemTypeDao

Does the same thing as SpatialItemTypeDao.findSpatialItemTypeByObjectType(fr.ifremer.allegro.referential.ObjectType) 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:
findSpatialItemTypeByObjectType in interface SpatialItemTypeDao
See Also:
SpatialItemTypeDao.findSpatialItemTypeByObjectType(int, int, fr.ifremer.allegro.referential.ObjectType)

findSpatialItemTypeByObjectType

public java.util.Collection findSpatialItemTypeByObjectType(java.lang.String queryString,
                                                            int pageNumber,
                                                            int pageSize,
                                                            ObjectType objectType)
Description copied from interface: SpatialItemTypeDao

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

findSpatialItemTypeByObjectType

public java.util.Collection findSpatialItemTypeByObjectType(int transform,
                                                            java.lang.String queryString,
                                                            ObjectType objectType)
Description copied from interface: SpatialItemTypeDao

Does the same thing as SpatialItemTypeDao.findSpatialItemTypeByObjectType(int, fr.ifremer.allegro.referential.ObjectType) with an additional argument called queryString. This queryString argument allows you to override the query string defined in SpatialItemTypeDao.findSpatialItemTypeByObjectType(int, fr.ifremer.allegro.referential.ObjectType objectType).

Specified by:
findSpatialItemTypeByObjectType in interface SpatialItemTypeDao
See Also:
SpatialItemTypeDao.findSpatialItemTypeByObjectType(int, String, fr.ifremer.allegro.referential.ObjectType)

findSpatialItemTypeByObjectType

public java.util.Collection findSpatialItemTypeByObjectType(int transform,
                                                            int pageNumber,
                                                            int pageSize,
                                                            ObjectType objectType)
Description copied from interface: SpatialItemTypeDao

Does the same thing as SpatialItemTypeDao.findSpatialItemTypeByObjectType(int, fr.ifremer.allegro.referential.ObjectType) 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:
findSpatialItemTypeByObjectType in interface SpatialItemTypeDao
See Also:
SpatialItemTypeDao.findSpatialItemTypeByObjectType(int, int, int, fr.ifremer.allegro.referential.ObjectType)

findSpatialItemTypeByObjectType

public java.util.Collection findSpatialItemTypeByObjectType(int transform,
                                                            java.lang.String queryString,
                                                            int pageNumber,
                                                            int pageSize,
                                                            ObjectType objectType)
Description copied from interface: SpatialItemTypeDao

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

findSpatialItemTypeByStatus

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

findSpatialItemTypeByStatus

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

Does the same thing as SpatialItemTypeDao.findSpatialItemTypeByStatus(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:
findSpatialItemTypeByStatus in interface SpatialItemTypeDao
See Also:
SpatialItemTypeDao.findSpatialItemTypeByStatus(int, fr.ifremer.allegro.referential.Status)

findSpatialItemTypeByStatus

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

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

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

findSpatialItemTypeByStatus

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

Does the same thing as SpatialItemTypeDao.findSpatialItemTypeByStatus(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:
findSpatialItemTypeByStatus in interface SpatialItemTypeDao
See Also:
SpatialItemTypeDao.findSpatialItemTypeByStatus(int, int, fr.ifremer.allegro.referential.Status)

findSpatialItemTypeByStatus

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

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

findSpatialItemTypeByStatus

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

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

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

findSpatialItemTypeByStatus

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

Does the same thing as SpatialItemTypeDao.findSpatialItemTypeByStatus(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:
findSpatialItemTypeByStatus in interface SpatialItemTypeDao
See Also:
SpatialItemTypeDao.findSpatialItemTypeByStatus(int, int, int, fr.ifremer.allegro.referential.Status)

findSpatialItemTypeByStatus

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

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

findSpatialItemTypeByNaturalId

public SpatialItemType findSpatialItemTypeByNaturalId(java.lang.Integer id)
Specified by:
findSpatialItemTypeByNaturalId in interface SpatialItemTypeDao
See Also:
SpatialItemTypeDao.findSpatialItemTypeByNaturalId(java.lang.Integer)

findSpatialItemTypeByNaturalId

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

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

findSpatialItemTypeByNaturalId

public SpatialItemType findSpatialItemTypeByNaturalId(java.lang.String queryString,
                                                      java.lang.Integer id)
Description copied from interface: SpatialItemTypeDao

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

Specified by:
findSpatialItemTypeByNaturalId in interface SpatialItemTypeDao
See Also:
SpatialItemTypeDao.findSpatialItemTypeByNaturalId(java.lang.String, java.lang.Integer)

findSpatialItemTypeByNaturalId

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

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

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

getAllSpatialItemTypeSinceDateSynchro

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

getAllSpatialItemTypeSinceDateSynchro

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

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

getAllSpatialItemTypeSinceDateSynchro

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

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

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

getAllSpatialItemTypeSinceDateSynchro

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

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

getAllSpatialItemTypeSinceDateSynchro

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

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

getAllSpatialItemTypeSinceDateSynchro

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

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

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

getAllSpatialItemTypeSinceDateSynchro

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

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

getAllSpatialItemTypeSinceDateSynchro

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

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

createFromClusterSpatialItemType

public SpatialItemType createFromClusterSpatialItemType(ClusterSpatialItemType clusterSpatialItemType)
Specified by:
createFromClusterSpatialItemType in interface SpatialItemTypeDao
See Also:
SpatialItemTypeDao.createFromClusterSpatialItemType(fr.ifremer.allegro.referential.spatial.generic.cluster.ClusterSpatialItemType)

handleCreateFromClusterSpatialItemType

protected abstract SpatialItemType handleCreateFromClusterSpatialItemType(ClusterSpatialItemType clusterSpatialItemType)
                                                                   throws java.lang.Exception
Performs the core logic for createFromClusterSpatialItemType(fr.ifremer.allegro.referential.spatial.generic.cluster.ClusterSpatialItemType)

Throws:
java.lang.Exception

getAllClusterSpatialItemTypeSinceDateSynchro

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

handleGetAllClusterSpatialItemTypeSinceDateSynchro

protected abstract ClusterSpatialItemType[] handleGetAllClusterSpatialItemTypeSinceDateSynchro(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 getAllClusterSpatialItemTypeSinceDateSynchro(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,
                                           SpatialItemType 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.SpatialItemTypeDao, please note that the SpatialItemTypeDao.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 SpatialItemTypeDao.TRANSFORM_NONE is assumed.

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

toEntity

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

toRemoteSpatialItemTypeFullVOCollection

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

Specified by:
toRemoteSpatialItemTypeFullVOCollection in interface SpatialItemTypeDao
See Also:
SpatialItemTypeDao.toRemoteSpatialItemTypeFullVOCollection(java.util.Collection)

toRemoteSpatialItemTypeFullVOArray

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

Specified by:
toRemoteSpatialItemTypeFullVOArray in interface SpatialItemTypeDao
See Also:
SpatialItemTypeDao.toRemoteSpatialItemTypeFullVOArray(java.util.Collection)

toRemoteSpatialItemTypeFullVO

protected RemoteSpatialItemTypeFullVO toRemoteSpatialItemTypeFullVO(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 SpatialItemTypeDaoImpl class if you intend to use reporting queries.

See Also:
SpatialItemTypeDao.toRemoteSpatialItemTypeFullVO(fr.ifremer.allegro.referential.spatial.SpatialItemType)

remoteSpatialItemTypeFullVOToEntityCollection

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

Specified by:
remoteSpatialItemTypeFullVOToEntityCollection in interface SpatialItemTypeDao
See Also:
SpatialItemTypeDao.remoteSpatialItemTypeFullVOToEntityCollection(java.util.Collection)

toRemoteSpatialItemTypeFullVO

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

toRemoteSpatialItemTypeFullVO

public RemoteSpatialItemTypeFullVO toRemoteSpatialItemTypeFullVO(SpatialItemType entity)
Description copied from interface: SpatialItemTypeDao
Converts this DAO's entity to an object of type RemoteSpatialItemTypeFullVO.

Specified by:
toRemoteSpatialItemTypeFullVO in interface SpatialItemTypeDao
See Also:
SpatialItemTypeDao.toRemoteSpatialItemTypeFullVO(fr.ifremer.allegro.referential.spatial.SpatialItemType)

remoteSpatialItemTypeFullVOToEntity

public void remoteSpatialItemTypeFullVOToEntity(RemoteSpatialItemTypeFullVO source,
                                                SpatialItemType target,
                                                boolean copyIfNull)
Description copied from interface: SpatialItemTypeDao
Copies the fields of RemoteSpatialItemTypeFullVO to the specified entity.

Specified by:
remoteSpatialItemTypeFullVOToEntity in interface SpatialItemTypeDao
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.SpatialItemTypeDao#remoteSpatialItemTypeFullVOToEntity(fr.ifremer.allegro.referential.spatial.generic.vo.RemoteSpatialItemTypeFullVO, fr.ifremer.allegro.referential.spatial.SpatialItemType)

toRemoteSpatialItemTypeNaturalIdCollection

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

Specified by:
toRemoteSpatialItemTypeNaturalIdCollection in interface SpatialItemTypeDao
See Also:
SpatialItemTypeDao.toRemoteSpatialItemTypeNaturalIdCollection(java.util.Collection)

toRemoteSpatialItemTypeNaturalIdArray

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

Specified by:
toRemoteSpatialItemTypeNaturalIdArray in interface SpatialItemTypeDao
See Also:
SpatialItemTypeDao.toRemoteSpatialItemTypeNaturalIdArray(java.util.Collection)

toRemoteSpatialItemTypeNaturalId

protected RemoteSpatialItemTypeNaturalId toRemoteSpatialItemTypeNaturalId(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 SpatialItemTypeDaoImpl class if you intend to use reporting queries.

See Also:
SpatialItemTypeDao.toRemoteSpatialItemTypeNaturalId(fr.ifremer.allegro.referential.spatial.SpatialItemType)

remoteSpatialItemTypeNaturalIdToEntityCollection

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

Specified by:
remoteSpatialItemTypeNaturalIdToEntityCollection in interface SpatialItemTypeDao
See Also:
SpatialItemTypeDao.remoteSpatialItemTypeNaturalIdToEntityCollection(java.util.Collection)

toRemoteSpatialItemTypeNaturalId

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

toRemoteSpatialItemTypeNaturalId

public RemoteSpatialItemTypeNaturalId toRemoteSpatialItemTypeNaturalId(SpatialItemType entity)
Description copied from interface: SpatialItemTypeDao
Converts this DAO's entity to an object of type RemoteSpatialItemTypeNaturalId.

Specified by:
toRemoteSpatialItemTypeNaturalId in interface SpatialItemTypeDao
See Also:
SpatialItemTypeDao.toRemoteSpatialItemTypeNaturalId(fr.ifremer.allegro.referential.spatial.SpatialItemType)

remoteSpatialItemTypeNaturalIdToEntity

public void remoteSpatialItemTypeNaturalIdToEntity(RemoteSpatialItemTypeNaturalId source,
                                                   SpatialItemType target,
                                                   boolean copyIfNull)
Description copied from interface: SpatialItemTypeDao
Copies the fields of RemoteSpatialItemTypeNaturalId to the specified entity.

Specified by:
remoteSpatialItemTypeNaturalIdToEntity in interface SpatialItemTypeDao
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.SpatialItemTypeDao#remoteSpatialItemTypeNaturalIdToEntity(fr.ifremer.allegro.referential.spatial.generic.vo.RemoteSpatialItemTypeNaturalId, fr.ifremer.allegro.referential.spatial.SpatialItemType)

toClusterSpatialItemTypeCollection

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

Specified by:
toClusterSpatialItemTypeCollection in interface SpatialItemTypeDao
See Also:
SpatialItemTypeDao.toClusterSpatialItemTypeCollection(java.util.Collection)

toClusterSpatialItemTypeArray

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

Specified by:
toClusterSpatialItemTypeArray in interface SpatialItemTypeDao
See Also:
SpatialItemTypeDao.toClusterSpatialItemTypeArray(java.util.Collection)

toClusterSpatialItemType

protected ClusterSpatialItemType toClusterSpatialItemType(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 SpatialItemTypeDaoImpl class if you intend to use reporting queries.

See Also:
SpatialItemTypeDao.toClusterSpatialItemType(fr.ifremer.allegro.referential.spatial.SpatialItemType)

clusterSpatialItemTypeToEntityCollection

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

Specified by:
clusterSpatialItemTypeToEntityCollection in interface SpatialItemTypeDao
See Also:
SpatialItemTypeDao.clusterSpatialItemTypeToEntityCollection(java.util.Collection)

toClusterSpatialItemType

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

toClusterSpatialItemType

public ClusterSpatialItemType toClusterSpatialItemType(SpatialItemType entity)
Description copied from interface: SpatialItemTypeDao
Converts this DAO's entity to an object of type ClusterSpatialItemType.

Specified by:
toClusterSpatialItemType in interface SpatialItemTypeDao
See Also:
SpatialItemTypeDao.toClusterSpatialItemType(fr.ifremer.allegro.referential.spatial.SpatialItemType)

clusterSpatialItemTypeToEntity

public void clusterSpatialItemTypeToEntity(ClusterSpatialItemType source,
                                           SpatialItemType target,
                                           boolean copyIfNull)
Description copied from interface: SpatialItemTypeDao
Copies the fields of ClusterSpatialItemType to the specified entity.

Specified by:
clusterSpatialItemTypeToEntity in interface SpatialItemTypeDao
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.SpatialItemTypeDao#clusterSpatialItemTypeToEntity(fr.ifremer.allegro.referential.spatial.generic.cluster.ClusterSpatialItemType, fr.ifremer.allegro.referential.spatial.SpatialItemType)

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

search

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

search

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

search

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

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


Copyright © 2008-2010 IFREMER. All Rights Reserved.