|
||||||||||
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.location.LocationClassificationDaoBase
public abstract class LocationClassificationDaoBase
Base Spring DAO Class: is able to create, update, remove, load, and find
objects of type fr.ifremer.allegro.referential.location.LocationClassification
.
LocationClassification
Field Summary |
---|
Fields inherited from interface fr.ifremer.allegro.referential.location.LocationClassificationDao |
---|
TRANSFORM_CLUSTERLOCATIONCLASSIFICATION, TRANSFORM_NONE, TRANSFORM_REMOTELOCATIONCLASSIFICATIONFULLVO, TRANSFORM_REMOTELOCATIONCLASSIFICATIONNATURALID |
Constructor Summary | |
---|---|
LocationClassificationDaoBase()
|
Method Summary | |
---|---|
void |
clusterLocationClassificationToEntity(ClusterLocationClassification source,
LocationClassification target,
boolean copyIfNull)
Copies the fields of ClusterLocationClassification to the specified entity. |
void |
clusterLocationClassificationToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type ClusterLocationClassification to this
DAO's entity. |
java.util.Collection |
create(java.util.Collection entities)
Creates a new instance of fr.ifremer.allegro.referential.location.LocationClassification and adds from the passed in entities collection |
java.util.Collection |
create(int transform,
java.util.Collection entities)
Does the same thing as LocationClassificationDao.create(fr.ifremer.allegro.referential.location.LocationClassification) with an
additional flag called transform . |
LocationClassification |
create(java.lang.Integer id,
java.lang.String name)
Creates a new fr.ifremer.allegro.referential.location.LocationClassification
instance from only required properties (attributes
and association ends) and adds it to the persistent store. |
LocationClassification |
create(java.lang.Integer id,
java.lang.String name,
java.sql.Timestamp updateDate)
Creates a new fr.ifremer.allegro.referential.location.LocationClassification
instance from all attributes and
properties and adds it to the persistent store. |
java.lang.Object |
create(int transform,
java.lang.Integer id,
java.lang.String name)
Does the same thing as LocationClassificationDao.create(java.lang.Integer,java.lang.String) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
java.lang.Integer id,
java.lang.String name,
java.sql.Timestamp updateDate)
Does the same thing as LocationClassificationDao.create(java.lang.Integer,java.lang.String,java.sql.Timestamp) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
LocationClassification locationClassification)
Does the same thing as LocationClassificationDao.create(fr.ifremer.allegro.referential.location.LocationClassification) with an
additional flag called transform . |
LocationClassification |
create(LocationClassification locationClassification)
Creates an instance of fr.ifremer.allegro.referential.location.LocationClassification and adds it to the persistent store. |
LocationClassification |
createFromClusterLocationClassification(ClusterLocationClassification clusterLocationClassification)
|
LocationClassification |
findLocationClassificationById(java.lang.Integer id)
|
java.lang.Object |
findLocationClassificationById(int transform,
java.lang.Integer id)
Does the same thing as LocationClassificationDao.findLocationClassificationById(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findLocationClassificationById(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as LocationClassificationDao.findLocationClassificationById(int, java.lang.Integer) with an
additional argument called queryString . |
LocationClassification |
findLocationClassificationById(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as LocationClassificationDao.findLocationClassificationById(java.lang.Integer) with an
additional argument called queryString . |
LocationClassification |
findLocationClassificationByNaturalId(java.lang.Integer id)
|
java.lang.Object |
findLocationClassificationByNaturalId(int transform,
java.lang.Integer id)
Does the same thing as LocationClassificationDao.findLocationClassificationByNaturalId(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findLocationClassificationByNaturalId(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as LocationClassificationDao.findLocationClassificationByNaturalId(int, java.lang.Integer) with an
additional argument called queryString . |
LocationClassification |
findLocationClassificationByNaturalId(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as LocationClassificationDao.findLocationClassificationByNaturalId(java.lang.Integer) with an
additional argument called queryString . |
ClusterLocationClassification[] |
getAllClusterLocationClassificationSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize)
|
java.util.Collection |
getAllLocationClassification()
|
java.util.Collection |
getAllLocationClassification(int transform)
Does the same thing as LocationClassificationDao.getAllLocationClassification() with an
additional flag called transform . |
java.util.Collection |
getAllLocationClassification(int pageNumber,
int pageSize)
Does the same thing as LocationClassificationDao.getAllLocationClassification() with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllLocationClassification(int transform,
int pageNumber,
int pageSize)
Does the same thing as LocationClassificationDao.getAllLocationClassification(int) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllLocationClassification(int transform,
java.lang.String queryString)
Does the same thing as LocationClassificationDao.getAllLocationClassification(int) with an
additional argument called queryString . |
java.util.Collection |
getAllLocationClassification(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as LocationClassificationDao.getAllLocationClassification(int, String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllLocationClassification(java.lang.String queryString)
Does the same thing as LocationClassificationDao.getAllLocationClassification() with an
additional argument called queryString . |
java.util.Collection |
getAllLocationClassification(java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as LocationClassificationDao.getAllLocationClassification(String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllLocationClassificationSinceDateSynchro(int transform,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as LocationClassificationDao.getAllLocationClassificationSinceDateSynchro(int, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllLocationClassificationSinceDateSynchro(int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as LocationClassificationDao.getAllLocationClassificationSinceDateSynchro(java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllLocationClassificationSinceDateSynchro(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as LocationClassificationDao.getAllLocationClassificationSinceDateSynchro(int, String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllLocationClassificationSinceDateSynchro(int transform,
java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as LocationClassificationDao.getAllLocationClassificationSinceDateSynchro(int, java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllLocationClassificationSinceDateSynchro(int transform,
java.sql.Timestamp updateDate)
Does the same thing as LocationClassificationDao.getAllLocationClassificationSinceDateSynchro(java.sql.Timestamp) with an
additional flag called transform . |
java.util.Collection |
getAllLocationClassificationSinceDateSynchro(java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as LocationClassificationDao.getAllLocationClassificationSinceDateSynchro(String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllLocationClassificationSinceDateSynchro(java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as LocationClassificationDao.getAllLocationClassificationSinceDateSynchro(java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllLocationClassificationSinceDateSynchro(java.sql.Timestamp updateDate)
|
protected java.security.Principal |
getPrincipal()
Gets the current principal if one has been set,
otherwise returns null . |
protected abstract LocationClassification |
handleCreateFromClusterLocationClassification(ClusterLocationClassification clusterLocationClassification)
Performs the core logic for createFromClusterLocationClassification(fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationClassification) |
protected abstract ClusterLocationClassification[] |
handleGetAllClusterLocationClassificationSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize)
Performs the core logic for getAllClusterLocationClassificationSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer) |
LocationClassification |
load(java.lang.Integer id)
Loads an instance of fr.ifremer.allegro.referential.location.LocationClassification from the persistent store. |
java.lang.Object |
load(int transform,
java.lang.Integer id)
Does the same thing as LocationClassificationDao.load(java.lang.Integer) with an
additional flag called transform . |
java.util.Collection |
loadAll()
Loads all entities of type LocationClassification . |
java.util.Collection |
loadAll(int transform)
Does the same thing as LocationClassificationDao.loadAll() with an
additional flag called transform . |
java.util.Collection |
loadAll(int pageNumber,
int pageSize)
Does the same thing as LocationClassificationDao.loadAll() with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
loadAll(int transform,
int pageNumber,
int pageSize)
Does the same thing as LocationClassificationDao.loadAll(int) with an
additional two arguments called pageNumber and pageSize . |
void |
remoteLocationClassificationFullVOToEntity(RemoteLocationClassificationFullVO source,
LocationClassification target,
boolean copyIfNull)
Copies the fields of RemoteLocationClassificationFullVO to the specified entity. |
void |
remoteLocationClassificationFullVOToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteLocationClassificationFullVO to this
DAO's entity. |
void |
remoteLocationClassificationNaturalIdToEntity(RemoteLocationClassificationNaturalId source,
LocationClassification target,
boolean copyIfNull)
Copies the fields of RemoteLocationClassificationNaturalId to the specified entity. |
void |
remoteLocationClassificationNaturalIdToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteLocationClassificationNaturalId to this
DAO's entity. |
void |
remove(java.util.Collection entities)
Removes all entities in the given entities |
void |
remove(java.lang.Integer id)
Removes the instance of fr.ifremer.allegro.referential.location.LocationClassification having the given identifier from the persistent store. |
void |
remove(LocationClassification locationClassification)
Removes the instance of fr.ifremer.allegro.referential.location.LocationClassification from the persistent store. |
PaginationResult |
search(int transform,
int pageNumber,
int pageSize,
Search search)
Does the same thing as {@link #search(int, fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize . |
PaginationResult |
search(int pageNumber,
int pageSize,
Search search)
Does the same thing as {@link #search(fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize . |
java.util.Set |
search(int transform,
Search search)
Does the same thing as LocationClassificationDao.search(fr.ifremer.allegro.Search) but with an
additional flag called transform . |
java.util.Set |
search(Search search)
Performs a search using the parameters specified in the given search object. |
ClusterLocationClassification |
toClusterLocationClassification(LocationClassification entity)
Converts this DAO's entity to an object of type ClusterLocationClassification . |
void |
toClusterLocationClassification(LocationClassification source,
ClusterLocationClassification target)
Copies the fields of the specified entity to the target value object. |
protected ClusterLocationClassification |
toClusterLocationClassification(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
ClusterLocationClassification[] |
toClusterLocationClassificationArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type ClusterLocationClassification . |
void |
toClusterLocationClassificationCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type ClusterLocationClassification . |
protected LocationClassification |
toEntity(java.lang.Object[] row)
|
RemoteLocationClassificationFullVO |
toRemoteLocationClassificationFullVO(LocationClassification entity)
Converts this DAO's entity to an object of type RemoteLocationClassificationFullVO . |
void |
toRemoteLocationClassificationFullVO(LocationClassification source,
RemoteLocationClassificationFullVO target)
Copies the fields of the specified entity to the target value object. |
protected RemoteLocationClassificationFullVO |
toRemoteLocationClassificationFullVO(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteLocationClassificationFullVO[] |
toRemoteLocationClassificationFullVOArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteLocationClassificationFullVO . |
void |
toRemoteLocationClassificationFullVOCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteLocationClassificationFullVO . |
RemoteLocationClassificationNaturalId |
toRemoteLocationClassificationNaturalId(LocationClassification entity)
Converts this DAO's entity to an object of type RemoteLocationClassificationNaturalId . |
void |
toRemoteLocationClassificationNaturalId(LocationClassification source,
RemoteLocationClassificationNaturalId target)
Copies the fields of the specified entity to the target value object. |
protected RemoteLocationClassificationNaturalId |
toRemoteLocationClassificationNaturalId(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteLocationClassificationNaturalId[] |
toRemoteLocationClassificationNaturalIdArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteLocationClassificationNaturalId . |
void |
toRemoteLocationClassificationNaturalIdCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteLocationClassificationNaturalId . |
protected void |
transformEntities(int transform,
java.util.Collection entities)
Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.location.LocationClassification)
method. |
protected java.lang.Object |
transformEntity(int transform,
LocationClassification entity)
Allows transformation of entities into value objects (or something else for that matter), when the transform
flag is set to one of the constants defined in fr.ifremer.allegro.referential.location.LocationClassificationDao , please note
that the LocationClassificationDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself
will be returned. |
void |
update(java.util.Collection entities)
Updates all instances in the entities collection in the persistent store. |
void |
update(LocationClassification locationClassification)
Updates the locationClassification instance in the persistent store. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface fr.ifremer.allegro.referential.location.LocationClassificationDao |
---|
clusterLocationClassificationToEntity, remoteLocationClassificationFullVOToEntity, remoteLocationClassificationNaturalIdToEntity |
Constructor Detail |
---|
public LocationClassificationDaoBase()
Method Detail |
---|
public java.lang.Object load(int transform, java.lang.Integer id)
LocationClassificationDao
Does the same thing as LocationClassificationDao.load(java.lang.Integer)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined in this class then the result WILL BE passed through an operation which can
optionally transform the entity (into a value object for example). By default, transformation does
not occur.
load
in interface LocationClassificationDao
id
- identifier of the entity to load
LocationClassificationDao.load(int, java.lang.Integer)
public LocationClassification load(java.lang.Integer id)
LocationClassificationDao
load
in interface LocationClassificationDao
LocationClassificationDao.load(java.lang.Integer)
public java.util.Collection loadAll()
LocationClassificationDao
LocationClassification
.
loadAll
in interface LocationClassificationDao
LocationClassificationDao.loadAll()
public java.util.Collection loadAll(int transform)
LocationClassificationDao
Does the same thing as LocationClassificationDao.loadAll()
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined here then the result WILL BE passed through an operation which can optionally
transform the entity (into a value object for example). By default, transformation does
not occur.
loadAll
in interface LocationClassificationDao
transform
- the flag indicating what transformation to use.
LocationClassificationDao.loadAll(int)
public java.util.Collection loadAll(int pageNumber, int pageSize)
LocationClassificationDao
Does the same thing as LocationClassificationDao.loadAll()
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
loadAll
in interface LocationClassificationDao
pageNumber
- the page number to retrieve when paging results.pageSize
- the size of the page to retrieve when paging results.
LocationClassificationDao.loadAll(int, int)
public java.util.Collection loadAll(int transform, int pageNumber, int pageSize)
LocationClassificationDao
Does the same thing as LocationClassificationDao.loadAll(int)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
loadAll
in interface LocationClassificationDao
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.
LocationClassificationDao.loadAll(int, int, int)
public LocationClassification create(LocationClassification locationClassification)
LocationClassificationDao
create
in interface LocationClassificationDao
LocationClassificationDao.create(fr.ifremer.allegro.referential.location.LocationClassification)
public java.lang.Object create(int transform, LocationClassification locationClassification)
LocationClassificationDao
Does the same thing as LocationClassificationDao.create(fr.ifremer.allegro.referential.location.LocationClassification)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined here then the result WILL BE passed through an operation which can optionally
transform the entity (into a value object for example). By default, transformation does
not occur.
create
in interface LocationClassificationDao
LocationClassificationDao.create(int transform, fr.ifremer.allegro.referential.location.LocationClassification)
public java.util.Collection create(java.util.Collection entities)
LocationClassificationDao
entities
collection
create
in interface LocationClassificationDao
entities
- the collection of fr.ifremer.allegro.referential.location.LocationClassification
instances to create.
LocationClassificationDao.create(java.util.Collection)
public java.util.Collection create(int transform, java.util.Collection entities)
LocationClassificationDao
Does the same thing as LocationClassificationDao.create(fr.ifremer.allegro.referential.location.LocationClassification)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined here then the result WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
create
in interface LocationClassificationDao
LocationClassificationDao.create(int, java.util.Collection)
public LocationClassification create(java.lang.Integer id, java.lang.String name, java.sql.Timestamp updateDate)
LocationClassificationDao
Creates a new fr.ifremer.allegro.referential.location.LocationClassification
instance from all attributes and
properties and adds it to the persistent store.
create
in interface LocationClassificationDao
LocationClassificationDao.create(java.lang.Integer,java.lang.String,java.sql.Timestamp)
public java.lang.Object create(int transform, java.lang.Integer id, java.lang.String name, java.sql.Timestamp updateDate)
LocationClassificationDao
Does the same thing as LocationClassificationDao.create(java.lang.Integer,java.lang.String,java.sql.Timestamp)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined here then the result WILL BE passed through an operation which can optionally
transform the entity (into a value object for example). By default, transformation does
not occur.
create
in interface LocationClassificationDao
LocationClassificationDao.create(int, java.lang.Integer,java.lang.String,java.sql.Timestamp)
public LocationClassification create(java.lang.Integer id, java.lang.String name)
LocationClassificationDao
Creates a new fr.ifremer.allegro.referential.location.LocationClassification
instance from only required properties (attributes
and association ends) and adds it to the persistent store.
create
in interface LocationClassificationDao
LocationClassificationDao.create(java.lang.Integer,java.lang.String)
public java.lang.Object create(int transform, java.lang.Integer id, java.lang.String name)
LocationClassificationDao
Does the same thing as LocationClassificationDao.create(java.lang.Integer,java.lang.String)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOTWILL BE passed through an operation which can optionally
transform the entity (into a value object for example). By default, transformation does
not occur.
create
in interface LocationClassificationDao
LocationClassificationDao.create(int, java.lang.Integer,java.lang.String)
public void update(LocationClassification locationClassification)
LocationClassificationDao
locationClassification
instance in the persistent store.
update
in interface LocationClassificationDao
LocationClassificationDao.update(fr.ifremer.allegro.referential.location.LocationClassification)
public void update(java.util.Collection entities)
LocationClassificationDao
entities
collection in the persistent store.
update
in interface LocationClassificationDao
LocationClassificationDao.update(java.util.Collection)
public void remove(LocationClassification locationClassification)
LocationClassificationDao
remove
in interface LocationClassificationDao
LocationClassificationDao.remove(fr.ifremer.allegro.referential.location.LocationClassification)
public void remove(java.lang.Integer id)
LocationClassificationDao
identifier
from the persistent store.
remove
in interface LocationClassificationDao
LocationClassificationDao.remove(java.lang.Integer)
public void remove(java.util.Collection entities)
LocationClassificationDao
entities collection.
- Specified by:
remove
in interface LocationClassificationDao
- See Also:
LocationClassificationDao.remove(java.util.Collection)
public java.util.Collection getAllLocationClassification()
getAllLocationClassification
in interface LocationClassificationDao
LocationClassificationDao.getAllLocationClassification()
public java.util.Collection getAllLocationClassification(int transform)
LocationClassificationDao
Does the same thing as LocationClassificationDao.getAllLocationClassification()
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
getAllLocationClassification
in interface LocationClassificationDao
LocationClassificationDao.getAllLocationClassification(int)
public java.util.Collection getAllLocationClassification(java.lang.String queryString)
LocationClassificationDao
Does the same thing as LocationClassificationDao.getAllLocationClassification()
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in LocationClassificationDao.getAllLocationClassification()
.
getAllLocationClassification
in interface LocationClassificationDao
LocationClassificationDao.getAllLocationClassification(java.lang.String)
public java.util.Collection getAllLocationClassification(int pageNumber, int pageSize)
LocationClassificationDao
Does the same thing as LocationClassificationDao.getAllLocationClassification()
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllLocationClassification
in interface LocationClassificationDao
LocationClassificationDao.getAllLocationClassification(int, int)
public java.util.Collection getAllLocationClassification(java.lang.String queryString, int pageNumber, int pageSize)
LocationClassificationDao
Does the same thing as LocationClassificationDao.getAllLocationClassification(String)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllLocationClassification
in interface LocationClassificationDao
LocationClassificationDao.getAllLocationClassification(String, int, int)
public java.util.Collection getAllLocationClassification(int transform, java.lang.String queryString)
LocationClassificationDao
Does the same thing as LocationClassificationDao.getAllLocationClassification(int)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in LocationClassificationDao.getAllLocationClassification(int)
.
getAllLocationClassification
in interface LocationClassificationDao
LocationClassificationDao.getAllLocationClassification(int, String)
public java.util.Collection getAllLocationClassification(int transform, int pageNumber, int pageSize)
LocationClassificationDao
Does the same thing as LocationClassificationDao.getAllLocationClassification(int)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllLocationClassification
in interface LocationClassificationDao
LocationClassificationDao.getAllLocationClassification(int, int, int)
public java.util.Collection getAllLocationClassification(int transform, java.lang.String queryString, int pageNumber, int pageSize)
LocationClassificationDao
Does the same thing as LocationClassificationDao.getAllLocationClassification(int, String)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllLocationClassification
in interface LocationClassificationDao
LocationClassificationDao.getAllLocationClassification(int, java.lang.String, int, int)
public LocationClassification findLocationClassificationById(java.lang.Integer id)
findLocationClassificationById
in interface LocationClassificationDao
LocationClassificationDao.findLocationClassificationById(java.lang.Integer)
public java.lang.Object findLocationClassificationById(int transform, java.lang.Integer id)
LocationClassificationDao
Does the same thing as LocationClassificationDao.findLocationClassificationById(java.lang.Integer)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
findLocationClassificationById
in interface LocationClassificationDao
LocationClassificationDao.findLocationClassificationById(int, java.lang.Integer)
public LocationClassification findLocationClassificationById(java.lang.String queryString, java.lang.Integer id)
LocationClassificationDao
Does the same thing as LocationClassificationDao.findLocationClassificationById(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in LocationClassificationDao.findLocationClassificationById(java.lang.Integer)
.
findLocationClassificationById
in interface LocationClassificationDao
LocationClassificationDao.findLocationClassificationById(java.lang.String, java.lang.Integer)
public java.lang.Object findLocationClassificationById(int transform, java.lang.String queryString, java.lang.Integer id)
LocationClassificationDao
Does the same thing as LocationClassificationDao.findLocationClassificationById(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in LocationClassificationDao.findLocationClassificationById(int, java.lang.Integer id)
.
findLocationClassificationById
in interface LocationClassificationDao
LocationClassificationDao.findLocationClassificationById(int, java.lang.String, java.lang.Integer)
public LocationClassification findLocationClassificationByNaturalId(java.lang.Integer id)
findLocationClassificationByNaturalId
in interface LocationClassificationDao
LocationClassificationDao.findLocationClassificationByNaturalId(java.lang.Integer)
public java.lang.Object findLocationClassificationByNaturalId(int transform, java.lang.Integer id)
LocationClassificationDao
Does the same thing as LocationClassificationDao.findLocationClassificationByNaturalId(java.lang.Integer)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
findLocationClassificationByNaturalId
in interface LocationClassificationDao
LocationClassificationDao.findLocationClassificationByNaturalId(int, java.lang.Integer)
public LocationClassification findLocationClassificationByNaturalId(java.lang.String queryString, java.lang.Integer id)
LocationClassificationDao
Does the same thing as LocationClassificationDao.findLocationClassificationByNaturalId(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in LocationClassificationDao.findLocationClassificationByNaturalId(java.lang.Integer)
.
findLocationClassificationByNaturalId
in interface LocationClassificationDao
LocationClassificationDao.findLocationClassificationByNaturalId(java.lang.String, java.lang.Integer)
public java.lang.Object findLocationClassificationByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
LocationClassificationDao
Does the same thing as LocationClassificationDao.findLocationClassificationByNaturalId(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in LocationClassificationDao.findLocationClassificationByNaturalId(int, java.lang.Integer id)
.
findLocationClassificationByNaturalId
in interface LocationClassificationDao
LocationClassificationDao.findLocationClassificationByNaturalId(int, java.lang.String, java.lang.Integer)
public java.util.Collection getAllLocationClassificationSinceDateSynchro(java.sql.Timestamp updateDate)
getAllLocationClassificationSinceDateSynchro
in interface LocationClassificationDao
LocationClassificationDao.getAllLocationClassificationSinceDateSynchro(java.sql.Timestamp)
public java.util.Collection getAllLocationClassificationSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
LocationClassificationDao
Does the same thing as LocationClassificationDao.getAllLocationClassificationSinceDateSynchro(java.sql.Timestamp)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
getAllLocationClassificationSinceDateSynchro
in interface LocationClassificationDao
LocationClassificationDao.getAllLocationClassificationSinceDateSynchro(int, java.sql.Timestamp)
public java.util.Collection getAllLocationClassificationSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
LocationClassificationDao
Does the same thing as LocationClassificationDao.getAllLocationClassificationSinceDateSynchro(java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in LocationClassificationDao.getAllLocationClassificationSinceDateSynchro(java.sql.Timestamp)
.
getAllLocationClassificationSinceDateSynchro
in interface LocationClassificationDao
LocationClassificationDao.getAllLocationClassificationSinceDateSynchro(java.lang.String, java.sql.Timestamp)
public java.util.Collection getAllLocationClassificationSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
LocationClassificationDao
Does the same thing as LocationClassificationDao.getAllLocationClassificationSinceDateSynchro(java.sql.Timestamp)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllLocationClassificationSinceDateSynchro
in interface LocationClassificationDao
LocationClassificationDao.getAllLocationClassificationSinceDateSynchro(int, int, java.sql.Timestamp)
public java.util.Collection getAllLocationClassificationSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
LocationClassificationDao
Does the same thing as LocationClassificationDao.getAllLocationClassificationSinceDateSynchro(String, java.sql.Timestamp)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllLocationClassificationSinceDateSynchro
in interface LocationClassificationDao
LocationClassificationDao.getAllLocationClassificationSinceDateSynchro(String, int, int, java.sql.Timestamp)
public java.util.Collection getAllLocationClassificationSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
LocationClassificationDao
Does the same thing as LocationClassificationDao.getAllLocationClassificationSinceDateSynchro(int, java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in LocationClassificationDao.getAllLocationClassificationSinceDateSynchro(int, java.sql.Timestamp updateDate)
.
getAllLocationClassificationSinceDateSynchro
in interface LocationClassificationDao
LocationClassificationDao.getAllLocationClassificationSinceDateSynchro(int, String, java.sql.Timestamp)
public java.util.Collection getAllLocationClassificationSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
LocationClassificationDao
Does the same thing as LocationClassificationDao.getAllLocationClassificationSinceDateSynchro(int, java.sql.Timestamp)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllLocationClassificationSinceDateSynchro
in interface LocationClassificationDao
LocationClassificationDao.getAllLocationClassificationSinceDateSynchro(int, int, int, java.sql.Timestamp)
public java.util.Collection getAllLocationClassificationSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
LocationClassificationDao
Does the same thing as LocationClassificationDao.getAllLocationClassificationSinceDateSynchro(int, String, java.sql.Timestamp)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllLocationClassificationSinceDateSynchro
in interface LocationClassificationDao
LocationClassificationDao.getAllLocationClassificationSinceDateSynchro(int, java.lang.String, int, int, java.sql.Timestamp)
public LocationClassification createFromClusterLocationClassification(ClusterLocationClassification clusterLocationClassification)
createFromClusterLocationClassification
in interface LocationClassificationDao
LocationClassificationDao.createFromClusterLocationClassification(fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationClassification)
protected abstract LocationClassification handleCreateFromClusterLocationClassification(ClusterLocationClassification clusterLocationClassification) throws java.lang.Exception
createFromClusterLocationClassification(fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationClassification)
java.lang.Exception
public ClusterLocationClassification[] getAllClusterLocationClassificationSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
getAllClusterLocationClassificationSinceDateSynchro
in interface LocationClassificationDao
LocationClassificationDao.getAllClusterLocationClassificationSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected abstract ClusterLocationClassification[] handleGetAllClusterLocationClassificationSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize) throws java.lang.Exception
getAllClusterLocationClassificationSinceDateSynchro(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, LocationClassification entity)
transform
flag is set to one of the constants defined in fr.ifremer.allegro.referential.location.LocationClassificationDao
, please note
that the LocationClassificationDao.TRANSFORM_NONE
constant denotes no transformation, so the entity itself
will be returned.
This method will return instances of these types:
LocationClassification
- LocationClassificationDao.TRANSFORM_NONE
RemoteLocationClassificationFullVO
- TRANSFORM_REMOTELOCATIONCLASSIFICATIONFULLVO
RemoteLocationClassificationNaturalId
- TRANSFORM_REMOTELOCATIONCLASSIFICATIONNATURALID
ClusterLocationClassification
- TRANSFORM_CLUSTERLOCATIONCLASSIFICATION
LocationClassificationDao.TRANSFORM_NONE
is assumed.
transform
- one of the constants declared in LocationClassificationDao
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.location.LocationClassification)
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.location.LocationClassificationDao
entities
- the collection of entities to transformtransformEntity(int,fr.ifremer.allegro.referential.location.LocationClassification)
protected LocationClassification toEntity(java.lang.Object[] row)
public final void toRemoteLocationClassificationFullVOCollection(java.util.Collection entities)
LocationClassificationDao
RemoteLocationClassificationFullVO
.
toRemoteLocationClassificationFullVOCollection
in interface LocationClassificationDao
LocationClassificationDao.toRemoteLocationClassificationFullVOCollection(java.util.Collection)
public final RemoteLocationClassificationFullVO[] toRemoteLocationClassificationFullVOArray(java.util.Collection entities)
LocationClassificationDao
RemoteLocationClassificationFullVO
.
toRemoteLocationClassificationFullVOArray
in interface LocationClassificationDao
LocationClassificationDao.toRemoteLocationClassificationFullVOArray(java.util.Collection)
protected RemoteLocationClassificationFullVO toRemoteLocationClassificationFullVO(java.lang.Object[] row)
LocationClassificationDaoImpl
class if you intend to use reporting queries.
LocationClassificationDao.toRemoteLocationClassificationFullVO(fr.ifremer.allegro.referential.location.LocationClassification)
public final void remoteLocationClassificationFullVOToEntityCollection(java.util.Collection instances)
LocationClassificationDao
RemoteLocationClassificationFullVO
to this
DAO's entity.
remoteLocationClassificationFullVOToEntityCollection
in interface LocationClassificationDao
LocationClassificationDao.remoteLocationClassificationFullVOToEntityCollection(java.util.Collection)
public void toRemoteLocationClassificationFullVO(LocationClassification source, RemoteLocationClassificationFullVO target)
LocationClassificationDao
toRemoteLocationClassificationFullVO
in interface LocationClassificationDao
LocationClassificationDao.toRemoteLocationClassificationFullVO(fr.ifremer.allegro.referential.location.LocationClassification, fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationClassificationFullVO)
public RemoteLocationClassificationFullVO toRemoteLocationClassificationFullVO(LocationClassification entity)
LocationClassificationDao
RemoteLocationClassificationFullVO
.
toRemoteLocationClassificationFullVO
in interface LocationClassificationDao
LocationClassificationDao.toRemoteLocationClassificationFullVO(fr.ifremer.allegro.referential.location.LocationClassification)
public void remoteLocationClassificationFullVOToEntity(RemoteLocationClassificationFullVO source, LocationClassification target, boolean copyIfNull)
LocationClassificationDao
RemoteLocationClassificationFullVO
to the specified entity.
remoteLocationClassificationFullVOToEntity
in interface LocationClassificationDao
copyIfNull
- If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE,
it will be copied regardless of its value.fr.ifremer.allegro.referential.location.LocationClassificationDao#remoteLocationClassificationFullVOToEntity(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationClassificationFullVO, fr.ifremer.allegro.referential.location.LocationClassification)
public final void toRemoteLocationClassificationNaturalIdCollection(java.util.Collection entities)
LocationClassificationDao
RemoteLocationClassificationNaturalId
.
toRemoteLocationClassificationNaturalIdCollection
in interface LocationClassificationDao
LocationClassificationDao.toRemoteLocationClassificationNaturalIdCollection(java.util.Collection)
public final RemoteLocationClassificationNaturalId[] toRemoteLocationClassificationNaturalIdArray(java.util.Collection entities)
LocationClassificationDao
RemoteLocationClassificationNaturalId
.
toRemoteLocationClassificationNaturalIdArray
in interface LocationClassificationDao
LocationClassificationDao.toRemoteLocationClassificationNaturalIdArray(java.util.Collection)
protected RemoteLocationClassificationNaturalId toRemoteLocationClassificationNaturalId(java.lang.Object[] row)
LocationClassificationDaoImpl
class if you intend to use reporting queries.
LocationClassificationDao.toRemoteLocationClassificationNaturalId(fr.ifremer.allegro.referential.location.LocationClassification)
public final void remoteLocationClassificationNaturalIdToEntityCollection(java.util.Collection instances)
LocationClassificationDao
RemoteLocationClassificationNaturalId
to this
DAO's entity.
remoteLocationClassificationNaturalIdToEntityCollection
in interface LocationClassificationDao
LocationClassificationDao.remoteLocationClassificationNaturalIdToEntityCollection(java.util.Collection)
public void toRemoteLocationClassificationNaturalId(LocationClassification source, RemoteLocationClassificationNaturalId target)
LocationClassificationDao
toRemoteLocationClassificationNaturalId
in interface LocationClassificationDao
LocationClassificationDao.toRemoteLocationClassificationNaturalId(fr.ifremer.allegro.referential.location.LocationClassification, fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationClassificationNaturalId)
public RemoteLocationClassificationNaturalId toRemoteLocationClassificationNaturalId(LocationClassification entity)
LocationClassificationDao
RemoteLocationClassificationNaturalId
.
toRemoteLocationClassificationNaturalId
in interface LocationClassificationDao
LocationClassificationDao.toRemoteLocationClassificationNaturalId(fr.ifremer.allegro.referential.location.LocationClassification)
public void remoteLocationClassificationNaturalIdToEntity(RemoteLocationClassificationNaturalId source, LocationClassification target, boolean copyIfNull)
LocationClassificationDao
RemoteLocationClassificationNaturalId
to the specified entity.
remoteLocationClassificationNaturalIdToEntity
in interface LocationClassificationDao
copyIfNull
- If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE,
it will be copied regardless of its value.fr.ifremer.allegro.referential.location.LocationClassificationDao#remoteLocationClassificationNaturalIdToEntity(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationClassificationNaturalId, fr.ifremer.allegro.referential.location.LocationClassification)
public final void toClusterLocationClassificationCollection(java.util.Collection entities)
LocationClassificationDao
ClusterLocationClassification
.
toClusterLocationClassificationCollection
in interface LocationClassificationDao
LocationClassificationDao.toClusterLocationClassificationCollection(java.util.Collection)
public final ClusterLocationClassification[] toClusterLocationClassificationArray(java.util.Collection entities)
LocationClassificationDao
ClusterLocationClassification
.
toClusterLocationClassificationArray
in interface LocationClassificationDao
LocationClassificationDao.toClusterLocationClassificationArray(java.util.Collection)
protected ClusterLocationClassification toClusterLocationClassification(java.lang.Object[] row)
LocationClassificationDaoImpl
class if you intend to use reporting queries.
LocationClassificationDao.toClusterLocationClassification(fr.ifremer.allegro.referential.location.LocationClassification)
public final void clusterLocationClassificationToEntityCollection(java.util.Collection instances)
LocationClassificationDao
ClusterLocationClassification
to this
DAO's entity.
clusterLocationClassificationToEntityCollection
in interface LocationClassificationDao
LocationClassificationDao.clusterLocationClassificationToEntityCollection(java.util.Collection)
public void toClusterLocationClassification(LocationClassification source, ClusterLocationClassification target)
LocationClassificationDao
toClusterLocationClassification
in interface LocationClassificationDao
LocationClassificationDao.toClusterLocationClassification(fr.ifremer.allegro.referential.location.LocationClassification, fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationClassification)
public ClusterLocationClassification toClusterLocationClassification(LocationClassification entity)
LocationClassificationDao
ClusterLocationClassification
.
toClusterLocationClassification
in interface LocationClassificationDao
LocationClassificationDao.toClusterLocationClassification(fr.ifremer.allegro.referential.location.LocationClassification)
public void clusterLocationClassificationToEntity(ClusterLocationClassification source, LocationClassification target, boolean copyIfNull)
LocationClassificationDao
ClusterLocationClassification
to the specified entity.
clusterLocationClassificationToEntity
in interface LocationClassificationDao
copyIfNull
- If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE,
it will be copied regardless of its value.fr.ifremer.allegro.referential.location.LocationClassificationDao#clusterLocationClassificationToEntity(fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationClassification, fr.ifremer.allegro.referential.location.LocationClassification)
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)
LocationClassificationDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface LocationClassificationDao
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.LocationClassificationDao.search(int, int, int, fr.ifremer.allegro.Search)
public PaginationResult search(int pageNumber, int pageSize, Search search)
LocationClassificationDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface LocationClassificationDao
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.LocationClassificationDao.search(int, int, fr.ifremer.allegro.Search)
public java.util.Set search(int transform, Search search)
LocationClassificationDao
LocationClassificationDao.search(fr.ifremer.allegro.Search)
but with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
search
in interface LocationClassificationDao
transform
- the transformation flag.search
- the search object which provides the search parameters and pagination specification.
LocationClassificationDao.search(int, fr.ifremer.allegro.Search)
public java.util.Set search(Search search)
LocationClassificationDao
search
object.
search
in interface LocationClassificationDao
search
- the search object which provides the search parameters and pagination specification.
LocationClassificationDao.search(fr.ifremer.allegro.Search)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |