|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.orm.hibernate3.support.HibernateDaoSupport
fr.ifremer.allegro.referential.spatial.SpatialItemTypeDaoBase
public abstract class SpatialItemTypeDaoBase
Base Spring DAO Class: is able to create, update, remove, load, and find
objects of type fr.ifremer.allegro.referential.spatial.SpatialItemType
.
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 |
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 |
---|
public SpatialItemTypeDaoBase()
Method Detail |
---|
public void setObjectTypeDao(ObjectTypeDao objectTypeDao)
objectTypeDao
.
protected ObjectTypeDao getObjectTypeDao()
objectTypeDao
.
public void setSpatialItemDao(SpatialItemDao spatialItemDao)
spatialItemDao
.
protected SpatialItemDao getSpatialItemDao()
spatialItemDao
.
public void setStatusDao(StatusDao statusDao)
statusDao
.
protected StatusDao getStatusDao()
statusDao
.
public java.lang.Object load(int transform, java.lang.Integer id)
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.
load
in interface SpatialItemTypeDao
id
- identifier of the entity to load
SpatialItemTypeDao.load(int, java.lang.Integer)
public SpatialItemType load(java.lang.Integer id)
SpatialItemTypeDao
load
in interface SpatialItemTypeDao
SpatialItemTypeDao.load(java.lang.Integer)
public java.util.Collection loadAll()
SpatialItemTypeDao
SpatialItemType
.
loadAll
in interface SpatialItemTypeDao
SpatialItemTypeDao.loadAll()
public java.util.Collection loadAll(int transform)
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.
loadAll
in interface SpatialItemTypeDao
transform
- the flag indicating what transformation to use.
SpatialItemTypeDao.loadAll(int)
public java.util.Collection loadAll(int pageNumber, int pageSize)
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.
loadAll
in interface SpatialItemTypeDao
pageNumber
- the page number to retrieve when paging results.pageSize
- the size of the page to retrieve when paging results.
SpatialItemTypeDao.loadAll(int, int)
public java.util.Collection loadAll(int transform, int pageNumber, int pageSize)
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.
loadAll
in interface SpatialItemTypeDao
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.
SpatialItemTypeDao.loadAll(int, int, int)
public SpatialItemType create(SpatialItemType spatialItemType)
SpatialItemTypeDao
create
in interface SpatialItemTypeDao
SpatialItemTypeDao.create(fr.ifremer.allegro.referential.spatial.SpatialItemType)
public java.lang.Object create(int transform, SpatialItemType spatialItemType)
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.
create
in interface SpatialItemTypeDao
SpatialItemTypeDao.create(int transform, fr.ifremer.allegro.referential.spatial.SpatialItemType)
public java.util.Collection create(java.util.Collection entities)
SpatialItemTypeDao
entities
collection
create
in interface SpatialItemTypeDao
entities
- the collection of fr.ifremer.allegro.referential.spatial.SpatialItemType
instances to create.
SpatialItemTypeDao.create(java.util.Collection)
public java.util.Collection create(int transform, java.util.Collection entities)
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.
create
in interface SpatialItemTypeDao
SpatialItemTypeDao.create(int, java.util.Collection)
public SpatialItemType create(java.lang.String name, java.lang.String description, java.sql.Timestamp updateDate, java.util.Collection spatialItems, Status status, ObjectType objectType)
SpatialItemTypeDao
Creates a new fr.ifremer.allegro.referential.spatial.SpatialItemType
instance from all attributes and
properties and adds it to the persistent store.
create
in interface SpatialItemTypeDao
SpatialItemTypeDao.create(java.lang.String,java.lang.String,java.sql.Timestamp,java.util.Collection,fr.ifremer.allegro.referential.Status,fr.ifremer.allegro.referential.ObjectType)
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)
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.
create
in interface SpatialItemTypeDao
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)
public SpatialItemType create(java.lang.String name, ObjectType objectType, Status status)
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.
create
in interface SpatialItemTypeDao
SpatialItemTypeDao.create(java.lang.String,fr.ifremer.allegro.referential.ObjectType,fr.ifremer.allegro.referential.Status)
public java.lang.Object create(int transform, java.lang.String name, ObjectType objectType, Status status)
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.
create
in interface SpatialItemTypeDao
SpatialItemTypeDao.create(int, java.lang.String,fr.ifremer.allegro.referential.ObjectType,fr.ifremer.allegro.referential.Status)
public void update(SpatialItemType spatialItemType)
SpatialItemTypeDao
spatialItemType
instance in the persistent store.
update
in interface SpatialItemTypeDao
SpatialItemTypeDao.update(fr.ifremer.allegro.referential.spatial.SpatialItemType)
public void update(java.util.Collection entities)
SpatialItemTypeDao
entities
collection in the persistent store.
update
in interface SpatialItemTypeDao
SpatialItemTypeDao.update(java.util.Collection)
public void remove(SpatialItemType spatialItemType)
SpatialItemTypeDao
remove
in interface SpatialItemTypeDao
SpatialItemTypeDao.remove(fr.ifremer.allegro.referential.spatial.SpatialItemType)
public void remove(java.lang.Integer id)
SpatialItemTypeDao
identifier
from the persistent store.
remove
in interface SpatialItemTypeDao
SpatialItemTypeDao.remove(java.lang.Integer)
public void remove(java.util.Collection entities)
SpatialItemTypeDao
entities collection.
- Specified by:
remove
in interface SpatialItemTypeDao
- See Also:
SpatialItemTypeDao.remove(java.util.Collection)
public java.util.Collection getAllSpatialItemType()
getAllSpatialItemType
in interface SpatialItemTypeDao
SpatialItemTypeDao.getAllSpatialItemType()
public java.util.Collection getAllSpatialItemType(int transform)
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.
getAllSpatialItemType
in interface SpatialItemTypeDao
SpatialItemTypeDao.getAllSpatialItemType(int)
public java.util.Collection getAllSpatialItemType(java.lang.String queryString)
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()
.
getAllSpatialItemType
in interface SpatialItemTypeDao
SpatialItemTypeDao.getAllSpatialItemType(java.lang.String)
public java.util.Collection getAllSpatialItemType(int pageNumber, int pageSize)
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.
getAllSpatialItemType
in interface SpatialItemTypeDao
SpatialItemTypeDao.getAllSpatialItemType(int, int)
public java.util.Collection getAllSpatialItemType(java.lang.String queryString, int pageNumber, int pageSize)
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.
getAllSpatialItemType
in interface SpatialItemTypeDao
SpatialItemTypeDao.getAllSpatialItemType(String, int, int)
public java.util.Collection getAllSpatialItemType(int transform, java.lang.String queryString)
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)
.
getAllSpatialItemType
in interface SpatialItemTypeDao
SpatialItemTypeDao.getAllSpatialItemType(int, String)
public java.util.Collection getAllSpatialItemType(int transform, int pageNumber, int pageSize)
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.
getAllSpatialItemType
in interface SpatialItemTypeDao
SpatialItemTypeDao.getAllSpatialItemType(int, int, int)
public java.util.Collection getAllSpatialItemType(int transform, java.lang.String queryString, int pageNumber, int pageSize)
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.
getAllSpatialItemType
in interface SpatialItemTypeDao
SpatialItemTypeDao.getAllSpatialItemType(int, java.lang.String, int, int)
public SpatialItemType findSpatialItemTypeById(java.lang.Integer id)
findSpatialItemTypeById
in interface SpatialItemTypeDao
SpatialItemTypeDao.findSpatialItemTypeById(java.lang.Integer)
public java.lang.Object findSpatialItemTypeById(int transform, java.lang.Integer id)
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.
findSpatialItemTypeById
in interface SpatialItemTypeDao
SpatialItemTypeDao.findSpatialItemTypeById(int, java.lang.Integer)
public SpatialItemType findSpatialItemTypeById(java.lang.String queryString, java.lang.Integer id)
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)
.
findSpatialItemTypeById
in interface SpatialItemTypeDao
SpatialItemTypeDao.findSpatialItemTypeById(java.lang.String, java.lang.Integer)
public java.lang.Object findSpatialItemTypeById(int transform, java.lang.String queryString, java.lang.Integer id)
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)
.
findSpatialItemTypeById
in interface SpatialItemTypeDao
SpatialItemTypeDao.findSpatialItemTypeById(int, java.lang.String, java.lang.Integer)
public java.util.Collection findSpatialItemTypeByObjectType(ObjectType objectType)
findSpatialItemTypeByObjectType
in interface SpatialItemTypeDao
SpatialItemTypeDao.findSpatialItemTypeByObjectType(fr.ifremer.allegro.referential.ObjectType)
public java.util.Collection findSpatialItemTypeByObjectType(int transform, ObjectType objectType)
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.
findSpatialItemTypeByObjectType
in interface SpatialItemTypeDao
SpatialItemTypeDao.findSpatialItemTypeByObjectType(int, fr.ifremer.allegro.referential.ObjectType)
public java.util.Collection findSpatialItemTypeByObjectType(java.lang.String queryString, ObjectType objectType)
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)
.
findSpatialItemTypeByObjectType
in interface SpatialItemTypeDao
SpatialItemTypeDao.findSpatialItemTypeByObjectType(java.lang.String, fr.ifremer.allegro.referential.ObjectType)
public java.util.Collection findSpatialItemTypeByObjectType(int pageNumber, int pageSize, ObjectType objectType)
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.
findSpatialItemTypeByObjectType
in interface SpatialItemTypeDao
SpatialItemTypeDao.findSpatialItemTypeByObjectType(int, int, fr.ifremer.allegro.referential.ObjectType)
public java.util.Collection findSpatialItemTypeByObjectType(java.lang.String queryString, int pageNumber, int pageSize, ObjectType objectType)
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.
findSpatialItemTypeByObjectType
in interface SpatialItemTypeDao
SpatialItemTypeDao.findSpatialItemTypeByObjectType(String, int, int, fr.ifremer.allegro.referential.ObjectType)
public java.util.Collection findSpatialItemTypeByObjectType(int transform, java.lang.String queryString, ObjectType objectType)
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)
.
findSpatialItemTypeByObjectType
in interface SpatialItemTypeDao
SpatialItemTypeDao.findSpatialItemTypeByObjectType(int, String, fr.ifremer.allegro.referential.ObjectType)
public java.util.Collection findSpatialItemTypeByObjectType(int transform, int pageNumber, int pageSize, ObjectType objectType)
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.
findSpatialItemTypeByObjectType
in interface SpatialItemTypeDao
SpatialItemTypeDao.findSpatialItemTypeByObjectType(int, int, int, fr.ifremer.allegro.referential.ObjectType)
public java.util.Collection findSpatialItemTypeByObjectType(int transform, java.lang.String queryString, int pageNumber, int pageSize, ObjectType objectType)
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.
findSpatialItemTypeByObjectType
in interface SpatialItemTypeDao
SpatialItemTypeDao.findSpatialItemTypeByObjectType(int, java.lang.String, int, int, fr.ifremer.allegro.referential.ObjectType)
public java.util.Collection findSpatialItemTypeByStatus(Status status)
findSpatialItemTypeByStatus
in interface SpatialItemTypeDao
SpatialItemTypeDao.findSpatialItemTypeByStatus(fr.ifremer.allegro.referential.Status)
public java.util.Collection findSpatialItemTypeByStatus(int transform, Status status)
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.
findSpatialItemTypeByStatus
in interface SpatialItemTypeDao
SpatialItemTypeDao.findSpatialItemTypeByStatus(int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findSpatialItemTypeByStatus(java.lang.String queryString, Status status)
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)
.
findSpatialItemTypeByStatus
in interface SpatialItemTypeDao
SpatialItemTypeDao.findSpatialItemTypeByStatus(java.lang.String, fr.ifremer.allegro.referential.Status)
public java.util.Collection findSpatialItemTypeByStatus(int pageNumber, int pageSize, Status status)
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.
findSpatialItemTypeByStatus
in interface SpatialItemTypeDao
SpatialItemTypeDao.findSpatialItemTypeByStatus(int, int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findSpatialItemTypeByStatus(java.lang.String queryString, int pageNumber, int pageSize, Status status)
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.
findSpatialItemTypeByStatus
in interface SpatialItemTypeDao
SpatialItemTypeDao.findSpatialItemTypeByStatus(String, int, int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findSpatialItemTypeByStatus(int transform, java.lang.String queryString, Status status)
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)
.
findSpatialItemTypeByStatus
in interface SpatialItemTypeDao
SpatialItemTypeDao.findSpatialItemTypeByStatus(int, String, fr.ifremer.allegro.referential.Status)
public java.util.Collection findSpatialItemTypeByStatus(int transform, int pageNumber, int pageSize, Status status)
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.
findSpatialItemTypeByStatus
in interface SpatialItemTypeDao
SpatialItemTypeDao.findSpatialItemTypeByStatus(int, int, int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findSpatialItemTypeByStatus(int transform, java.lang.String queryString, int pageNumber, int pageSize, Status status)
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.
findSpatialItemTypeByStatus
in interface SpatialItemTypeDao
SpatialItemTypeDao.findSpatialItemTypeByStatus(int, java.lang.String, int, int, fr.ifremer.allegro.referential.Status)
public SpatialItemType findSpatialItemTypeByNaturalId(java.lang.Integer id)
findSpatialItemTypeByNaturalId
in interface SpatialItemTypeDao
SpatialItemTypeDao.findSpatialItemTypeByNaturalId(java.lang.Integer)
public java.lang.Object findSpatialItemTypeByNaturalId(int transform, java.lang.Integer id)
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.
findSpatialItemTypeByNaturalId
in interface SpatialItemTypeDao
SpatialItemTypeDao.findSpatialItemTypeByNaturalId(int, java.lang.Integer)
public SpatialItemType findSpatialItemTypeByNaturalId(java.lang.String queryString, java.lang.Integer id)
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)
.
findSpatialItemTypeByNaturalId
in interface SpatialItemTypeDao
SpatialItemTypeDao.findSpatialItemTypeByNaturalId(java.lang.String, java.lang.Integer)
public java.lang.Object findSpatialItemTypeByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
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)
.
findSpatialItemTypeByNaturalId
in interface SpatialItemTypeDao
SpatialItemTypeDao.findSpatialItemTypeByNaturalId(int, java.lang.String, java.lang.Integer)
public java.util.Collection getAllSpatialItemTypeSinceDateSynchro(java.sql.Timestamp updateDate)
getAllSpatialItemTypeSinceDateSynchro
in interface SpatialItemTypeDao
SpatialItemTypeDao.getAllSpatialItemTypeSinceDateSynchro(java.sql.Timestamp)
public java.util.Collection getAllSpatialItemTypeSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
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.
getAllSpatialItemTypeSinceDateSynchro
in interface SpatialItemTypeDao
SpatialItemTypeDao.getAllSpatialItemTypeSinceDateSynchro(int, java.sql.Timestamp)
public java.util.Collection getAllSpatialItemTypeSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
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)
.
getAllSpatialItemTypeSinceDateSynchro
in interface SpatialItemTypeDao
SpatialItemTypeDao.getAllSpatialItemTypeSinceDateSynchro(java.lang.String, java.sql.Timestamp)
public java.util.Collection getAllSpatialItemTypeSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
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.
getAllSpatialItemTypeSinceDateSynchro
in interface SpatialItemTypeDao
SpatialItemTypeDao.getAllSpatialItemTypeSinceDateSynchro(int, int, java.sql.Timestamp)
public java.util.Collection getAllSpatialItemTypeSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
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.
getAllSpatialItemTypeSinceDateSynchro
in interface SpatialItemTypeDao
SpatialItemTypeDao.getAllSpatialItemTypeSinceDateSynchro(String, int, int, java.sql.Timestamp)
public java.util.Collection getAllSpatialItemTypeSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
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)
.
getAllSpatialItemTypeSinceDateSynchro
in interface SpatialItemTypeDao
SpatialItemTypeDao.getAllSpatialItemTypeSinceDateSynchro(int, String, java.sql.Timestamp)
public java.util.Collection getAllSpatialItemTypeSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
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.
getAllSpatialItemTypeSinceDateSynchro
in interface SpatialItemTypeDao
SpatialItemTypeDao.getAllSpatialItemTypeSinceDateSynchro(int, int, int, java.sql.Timestamp)
public java.util.Collection getAllSpatialItemTypeSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
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.
getAllSpatialItemTypeSinceDateSynchro
in interface SpatialItemTypeDao
SpatialItemTypeDao.getAllSpatialItemTypeSinceDateSynchro(int, java.lang.String, int, int, java.sql.Timestamp)
public SpatialItemType createFromClusterSpatialItemType(ClusterSpatialItemType clusterSpatialItemType)
createFromClusterSpatialItemType
in interface SpatialItemTypeDao
SpatialItemTypeDao.createFromClusterSpatialItemType(fr.ifremer.allegro.referential.spatial.generic.cluster.ClusterSpatialItemType)
protected abstract SpatialItemType handleCreateFromClusterSpatialItemType(ClusterSpatialItemType clusterSpatialItemType) throws java.lang.Exception
createFromClusterSpatialItemType(fr.ifremer.allegro.referential.spatial.generic.cluster.ClusterSpatialItemType)
java.lang.Exception
public ClusterSpatialItemType[] getAllClusterSpatialItemTypeSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
getAllClusterSpatialItemTypeSinceDateSynchro
in interface SpatialItemTypeDao
SpatialItemTypeDao.getAllClusterSpatialItemTypeSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
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
getAllClusterSpatialItemTypeSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
java.lang.Exception
protected java.lang.Object transformEntity(int transform, SpatialItemType entity)
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:
SpatialItemType
- SpatialItemTypeDao.TRANSFORM_NONE
RemoteSpatialItemTypeFullVO
- TRANSFORM_REMOTESPATIALITEMTYPEFULLVO
RemoteSpatialItemTypeNaturalId
- TRANSFORM_REMOTESPATIALITEMTYPENATURALID
ClusterSpatialItemType
- TRANSFORM_CLUSTERSPATIALITEMTYPE
SpatialItemTypeDao.TRANSFORM_NONE
is assumed.
transform
- one of the constants declared in SpatialItemTypeDao
entity
- an entity that was found
transformEntities(int,java.util.Collection)
protected void transformEntities(int transform, java.util.Collection entities)
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.
transform
- one of the constants declared in fr.ifremer.allegro.referential.spatial.SpatialItemTypeDao
entities
- the collection of entities to transformtransformEntity(int,fr.ifremer.allegro.referential.spatial.SpatialItemType)
protected SpatialItemType toEntity(java.lang.Object[] row)
public final void toRemoteSpatialItemTypeFullVOCollection(java.util.Collection entities)
SpatialItemTypeDao
RemoteSpatialItemTypeFullVO
.
toRemoteSpatialItemTypeFullVOCollection
in interface SpatialItemTypeDao
SpatialItemTypeDao.toRemoteSpatialItemTypeFullVOCollection(java.util.Collection)
public final RemoteSpatialItemTypeFullVO[] toRemoteSpatialItemTypeFullVOArray(java.util.Collection entities)
SpatialItemTypeDao
RemoteSpatialItemTypeFullVO
.
toRemoteSpatialItemTypeFullVOArray
in interface SpatialItemTypeDao
SpatialItemTypeDao.toRemoteSpatialItemTypeFullVOArray(java.util.Collection)
protected RemoteSpatialItemTypeFullVO toRemoteSpatialItemTypeFullVO(java.lang.Object[] row)
SpatialItemTypeDaoImpl
class if you intend to use reporting queries.
SpatialItemTypeDao.toRemoteSpatialItemTypeFullVO(fr.ifremer.allegro.referential.spatial.SpatialItemType)
public final void remoteSpatialItemTypeFullVOToEntityCollection(java.util.Collection instances)
SpatialItemTypeDao
RemoteSpatialItemTypeFullVO
to this
DAO's entity.
remoteSpatialItemTypeFullVOToEntityCollection
in interface SpatialItemTypeDao
SpatialItemTypeDao.remoteSpatialItemTypeFullVOToEntityCollection(java.util.Collection)
public void toRemoteSpatialItemTypeFullVO(SpatialItemType source, RemoteSpatialItemTypeFullVO target)
SpatialItemTypeDao
toRemoteSpatialItemTypeFullVO
in interface SpatialItemTypeDao
SpatialItemTypeDao.toRemoteSpatialItemTypeFullVO(fr.ifremer.allegro.referential.spatial.SpatialItemType, fr.ifremer.allegro.referential.spatial.generic.vo.RemoteSpatialItemTypeFullVO)
public RemoteSpatialItemTypeFullVO toRemoteSpatialItemTypeFullVO(SpatialItemType entity)
SpatialItemTypeDao
RemoteSpatialItemTypeFullVO
.
toRemoteSpatialItemTypeFullVO
in interface SpatialItemTypeDao
SpatialItemTypeDao.toRemoteSpatialItemTypeFullVO(fr.ifremer.allegro.referential.spatial.SpatialItemType)
public void remoteSpatialItemTypeFullVOToEntity(RemoteSpatialItemTypeFullVO source, SpatialItemType target, boolean copyIfNull)
SpatialItemTypeDao
RemoteSpatialItemTypeFullVO
to the specified entity.
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.fr.ifremer.allegro.referential.spatial.SpatialItemTypeDao#remoteSpatialItemTypeFullVOToEntity(fr.ifremer.allegro.referential.spatial.generic.vo.RemoteSpatialItemTypeFullVO, fr.ifremer.allegro.referential.spatial.SpatialItemType)
public final void toRemoteSpatialItemTypeNaturalIdCollection(java.util.Collection entities)
SpatialItemTypeDao
RemoteSpatialItemTypeNaturalId
.
toRemoteSpatialItemTypeNaturalIdCollection
in interface SpatialItemTypeDao
SpatialItemTypeDao.toRemoteSpatialItemTypeNaturalIdCollection(java.util.Collection)
public final RemoteSpatialItemTypeNaturalId[] toRemoteSpatialItemTypeNaturalIdArray(java.util.Collection entities)
SpatialItemTypeDao
RemoteSpatialItemTypeNaturalId
.
toRemoteSpatialItemTypeNaturalIdArray
in interface SpatialItemTypeDao
SpatialItemTypeDao.toRemoteSpatialItemTypeNaturalIdArray(java.util.Collection)
protected RemoteSpatialItemTypeNaturalId toRemoteSpatialItemTypeNaturalId(java.lang.Object[] row)
SpatialItemTypeDaoImpl
class if you intend to use reporting queries.
SpatialItemTypeDao.toRemoteSpatialItemTypeNaturalId(fr.ifremer.allegro.referential.spatial.SpatialItemType)
public final void remoteSpatialItemTypeNaturalIdToEntityCollection(java.util.Collection instances)
SpatialItemTypeDao
RemoteSpatialItemTypeNaturalId
to this
DAO's entity.
remoteSpatialItemTypeNaturalIdToEntityCollection
in interface SpatialItemTypeDao
SpatialItemTypeDao.remoteSpatialItemTypeNaturalIdToEntityCollection(java.util.Collection)
public void toRemoteSpatialItemTypeNaturalId(SpatialItemType source, RemoteSpatialItemTypeNaturalId target)
SpatialItemTypeDao
toRemoteSpatialItemTypeNaturalId
in interface SpatialItemTypeDao
SpatialItemTypeDao.toRemoteSpatialItemTypeNaturalId(fr.ifremer.allegro.referential.spatial.SpatialItemType, fr.ifremer.allegro.referential.spatial.generic.vo.RemoteSpatialItemTypeNaturalId)
public RemoteSpatialItemTypeNaturalId toRemoteSpatialItemTypeNaturalId(SpatialItemType entity)
SpatialItemTypeDao
RemoteSpatialItemTypeNaturalId
.
toRemoteSpatialItemTypeNaturalId
in interface SpatialItemTypeDao
SpatialItemTypeDao.toRemoteSpatialItemTypeNaturalId(fr.ifremer.allegro.referential.spatial.SpatialItemType)
public void remoteSpatialItemTypeNaturalIdToEntity(RemoteSpatialItemTypeNaturalId source, SpatialItemType target, boolean copyIfNull)
SpatialItemTypeDao
RemoteSpatialItemTypeNaturalId
to the specified entity.
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.fr.ifremer.allegro.referential.spatial.SpatialItemTypeDao#remoteSpatialItemTypeNaturalIdToEntity(fr.ifremer.allegro.referential.spatial.generic.vo.RemoteSpatialItemTypeNaturalId, fr.ifremer.allegro.referential.spatial.SpatialItemType)
public final void toClusterSpatialItemTypeCollection(java.util.Collection entities)
SpatialItemTypeDao
ClusterSpatialItemType
.
toClusterSpatialItemTypeCollection
in interface SpatialItemTypeDao
SpatialItemTypeDao.toClusterSpatialItemTypeCollection(java.util.Collection)
public final ClusterSpatialItemType[] toClusterSpatialItemTypeArray(java.util.Collection entities)
SpatialItemTypeDao
ClusterSpatialItemType
.
toClusterSpatialItemTypeArray
in interface SpatialItemTypeDao
SpatialItemTypeDao.toClusterSpatialItemTypeArray(java.util.Collection)
protected ClusterSpatialItemType toClusterSpatialItemType(java.lang.Object[] row)
SpatialItemTypeDaoImpl
class if you intend to use reporting queries.
SpatialItemTypeDao.toClusterSpatialItemType(fr.ifremer.allegro.referential.spatial.SpatialItemType)
public final void clusterSpatialItemTypeToEntityCollection(java.util.Collection instances)
SpatialItemTypeDao
ClusterSpatialItemType
to this
DAO's entity.
clusterSpatialItemTypeToEntityCollection
in interface SpatialItemTypeDao
SpatialItemTypeDao.clusterSpatialItemTypeToEntityCollection(java.util.Collection)
public void toClusterSpatialItemType(SpatialItemType source, ClusterSpatialItemType target)
SpatialItemTypeDao
toClusterSpatialItemType
in interface SpatialItemTypeDao
SpatialItemTypeDao.toClusterSpatialItemType(fr.ifremer.allegro.referential.spatial.SpatialItemType, fr.ifremer.allegro.referential.spatial.generic.cluster.ClusterSpatialItemType)
public ClusterSpatialItemType toClusterSpatialItemType(SpatialItemType entity)
SpatialItemTypeDao
ClusterSpatialItemType
.
toClusterSpatialItemType
in interface SpatialItemTypeDao
SpatialItemTypeDao.toClusterSpatialItemType(fr.ifremer.allegro.referential.spatial.SpatialItemType)
public void clusterSpatialItemTypeToEntity(ClusterSpatialItemType source, SpatialItemType target, boolean copyIfNull)
SpatialItemTypeDao
ClusterSpatialItemType
to the specified entity.
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.fr.ifremer.allegro.referential.spatial.SpatialItemTypeDao#clusterSpatialItemTypeToEntity(fr.ifremer.allegro.referential.spatial.generic.cluster.ClusterSpatialItemType, fr.ifremer.allegro.referential.spatial.SpatialItemType)
protected java.security.Principal getPrincipal()
principal
if one has been set,
otherwise returns null
.
public PaginationResult search(int transform, int pageNumber, int pageSize, Search search)
SpatialItemTypeDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface SpatialItemTypeDao
transform
- the transformation flag.pageNumber
- the page number in the data to retrievepageSize
- the size of the page to retrieve.search
- the search object which provides the search parameters and pagination specification.
PaginationResult
instance.SpatialItemTypeDao.search(int, int, int, fr.ifremer.allegro.Search)
public PaginationResult search(int pageNumber, int pageSize, Search search)
SpatialItemTypeDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface SpatialItemTypeDao
pageNumber
- the page number in the data to retrievepageSize
- the size of the page to retrieve.search
- the search object which provides the search parameters and pagination specification.
PaginationResult
instance.SpatialItemTypeDao.search(int, int, fr.ifremer.allegro.Search)
public java.util.Set search(int transform, Search search)
SpatialItemTypeDao
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.
search
in interface SpatialItemTypeDao
transform
- the transformation flag.search
- the search object which provides the search parameters and pagination specification.
SpatialItemTypeDao.search(int, fr.ifremer.allegro.Search)
public java.util.Set search(Search search)
SpatialItemTypeDao
search
object.
search
in interface SpatialItemTypeDao
search
- the search object which provides the search parameters and pagination specification.
SpatialItemTypeDao.search(fr.ifremer.allegro.Search)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |