|
||||||||||
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.PrecisionTypeDaoBase
public abstract class PrecisionTypeDaoBase
Base Spring DAO Class: is able to create, update, remove, load, and find
objects of type fr.ifremer.allegro.referential.PrecisionType
.
PrecisionType
Field Summary |
---|
Fields inherited from interface fr.ifremer.allegro.referential.PrecisionTypeDao |
---|
TRANSFORM_CLUSTERPRECISIONTYPE, TRANSFORM_NONE, TRANSFORM_REMOTEPRECISIONTYPEFULLVO, TRANSFORM_REMOTEPRECISIONTYPENATURALID |
Constructor Summary | |
---|---|
PrecisionTypeDaoBase()
|
Method Summary | |
---|---|
void |
clusterPrecisionTypeToEntity(ClusterPrecisionType source,
PrecisionType target,
boolean copyIfNull)
Copies the fields of ClusterPrecisionType to the specified entity. |
void |
clusterPrecisionTypeToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type ClusterPrecisionType to this
DAO's entity. |
java.util.Collection |
create(java.util.Collection entities)
Creates a new instance of fr.ifremer.allegro.referential.PrecisionType and adds from the passed in entities collection |
java.util.Collection |
create(int transform,
java.util.Collection entities)
Does the same thing as PrecisionTypeDao.create(fr.ifremer.allegro.referential.PrecisionType) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
PrecisionType precisionType)
Does the same thing as PrecisionTypeDao.create(fr.ifremer.allegro.referential.PrecisionType) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
java.lang.String name,
Status status)
Does the same thing as PrecisionTypeDao.create(java.lang.String,fr.ifremer.allegro.referential.Status) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
java.lang.String name,
java.sql.Timestamp updateDate,
Status status)
Does the same thing as PrecisionTypeDao.create(java.lang.String,java.sql.Timestamp,fr.ifremer.allegro.referential.Status) with an
additional flag called transform . |
PrecisionType |
create(PrecisionType precisionType)
Creates an instance of fr.ifremer.allegro.referential.PrecisionType and adds it to the persistent store. |
PrecisionType |
create(java.lang.String name,
Status status)
Creates a new fr.ifremer.allegro.referential.PrecisionType
instance from only required properties (attributes
and association ends) and adds it to the persistent store. |
PrecisionType |
create(java.lang.String name,
java.sql.Timestamp updateDate,
Status status)
Creates a new fr.ifremer.allegro.referential.PrecisionType
instance from all attributes and
properties and adds it to the persistent store. |
PrecisionType |
createFromClusterPrecisionType(ClusterPrecisionType clusterPrecisionType)
|
PrecisionType |
findPrecisionTypeById(java.lang.Integer id)
|
java.lang.Object |
findPrecisionTypeById(int transform,
java.lang.Integer id)
Does the same thing as PrecisionTypeDao.findPrecisionTypeById(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findPrecisionTypeById(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as PrecisionTypeDao.findPrecisionTypeById(int, java.lang.Integer) with an
additional argument called queryString . |
PrecisionType |
findPrecisionTypeById(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as PrecisionTypeDao.findPrecisionTypeById(java.lang.Integer) with an
additional argument called queryString . |
PrecisionType |
findPrecisionTypeByNaturalId(java.lang.Integer id)
|
java.lang.Object |
findPrecisionTypeByNaturalId(int transform,
java.lang.Integer id)
Does the same thing as PrecisionTypeDao.findPrecisionTypeByNaturalId(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findPrecisionTypeByNaturalId(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as PrecisionTypeDao.findPrecisionTypeByNaturalId(int, java.lang.Integer) with an
additional argument called queryString . |
PrecisionType |
findPrecisionTypeByNaturalId(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as PrecisionTypeDao.findPrecisionTypeByNaturalId(java.lang.Integer) with an
additional argument called queryString . |
java.util.Collection |
findPrecisionTypeByStatus(int transform,
int pageNumber,
int pageSize,
Status status)
Does the same thing as PrecisionTypeDao.findPrecisionTypeByStatus(int, fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findPrecisionTypeByStatus(int pageNumber,
int pageSize,
Status status)
Does the same thing as PrecisionTypeDao.findPrecisionTypeByStatus(fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findPrecisionTypeByStatus(int transform,
Status status)
Does the same thing as PrecisionTypeDao.findPrecisionTypeByStatus(fr.ifremer.allegro.referential.Status) with an
additional flag called transform . |
java.util.Collection |
findPrecisionTypeByStatus(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
Status status)
Does the same thing as PrecisionTypeDao.findPrecisionTypeByStatus(int, String, fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findPrecisionTypeByStatus(int transform,
java.lang.String queryString,
Status status)
Does the same thing as PrecisionTypeDao.findPrecisionTypeByStatus(int, fr.ifremer.allegro.referential.Status) with an
additional argument called queryString . |
java.util.Collection |
findPrecisionTypeByStatus(Status status)
|
java.util.Collection |
findPrecisionTypeByStatus(java.lang.String queryString,
int pageNumber,
int pageSize,
Status status)
Does the same thing as PrecisionTypeDao.findPrecisionTypeByStatus(String, fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findPrecisionTypeByStatus(java.lang.String queryString,
Status status)
Does the same thing as PrecisionTypeDao.findPrecisionTypeByStatus(fr.ifremer.allegro.referential.Status) with an
additional argument called queryString . |
ClusterPrecisionType[] |
getAllClusterPrecisionTypeSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize)
|
java.util.Collection |
getAllPrecisionType()
|
java.util.Collection |
getAllPrecisionType(int transform)
Does the same thing as PrecisionTypeDao.getAllPrecisionType() with an
additional flag called transform . |
java.util.Collection |
getAllPrecisionType(int pageNumber,
int pageSize)
Does the same thing as PrecisionTypeDao.getAllPrecisionType() with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllPrecisionType(int transform,
int pageNumber,
int pageSize)
Does the same thing as PrecisionTypeDao.getAllPrecisionType(int) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllPrecisionType(int transform,
java.lang.String queryString)
Does the same thing as PrecisionTypeDao.getAllPrecisionType(int) with an
additional argument called queryString . |
java.util.Collection |
getAllPrecisionType(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as PrecisionTypeDao.getAllPrecisionType(int, String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllPrecisionType(java.lang.String queryString)
Does the same thing as PrecisionTypeDao.getAllPrecisionType() with an
additional argument called queryString . |
java.util.Collection |
getAllPrecisionType(java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as PrecisionTypeDao.getAllPrecisionType(String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllPrecisionTypeSinceDateSynchro(int transform,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as PrecisionTypeDao.getAllPrecisionTypeSinceDateSynchro(int, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllPrecisionTypeSinceDateSynchro(int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as PrecisionTypeDao.getAllPrecisionTypeSinceDateSynchro(java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllPrecisionTypeSinceDateSynchro(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as PrecisionTypeDao.getAllPrecisionTypeSinceDateSynchro(int, String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllPrecisionTypeSinceDateSynchro(int transform,
java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as PrecisionTypeDao.getAllPrecisionTypeSinceDateSynchro(int, java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllPrecisionTypeSinceDateSynchro(int transform,
java.sql.Timestamp updateDate)
Does the same thing as PrecisionTypeDao.getAllPrecisionTypeSinceDateSynchro(java.sql.Timestamp) with an
additional flag called transform . |
java.util.Collection |
getAllPrecisionTypeSinceDateSynchro(java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as PrecisionTypeDao.getAllPrecisionTypeSinceDateSynchro(String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllPrecisionTypeSinceDateSynchro(java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as PrecisionTypeDao.getAllPrecisionTypeSinceDateSynchro(java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllPrecisionTypeSinceDateSynchro(java.sql.Timestamp updateDate)
|
protected java.security.Principal |
getPrincipal()
Gets the current principal if one has been set,
otherwise returns null . |
protected StatusDao |
getStatusDao()
Gets the reference to statusDao . |
protected abstract PrecisionType |
handleCreateFromClusterPrecisionType(ClusterPrecisionType clusterPrecisionType)
Performs the core logic for createFromClusterPrecisionType(fr.ifremer.allegro.referential.generic.cluster.ClusterPrecisionType) |
protected abstract ClusterPrecisionType[] |
handleGetAllClusterPrecisionTypeSinceDateSynchro(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 getAllClusterPrecisionTypeSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer) |
PrecisionType |
load(java.lang.Integer id)
Loads an instance of fr.ifremer.allegro.referential.PrecisionType from the persistent store. |
java.lang.Object |
load(int transform,
java.lang.Integer id)
Does the same thing as PrecisionTypeDao.load(java.lang.Integer) with an
additional flag called transform . |
java.util.Collection |
loadAll()
Loads all entities of type PrecisionType . |
java.util.Collection |
loadAll(int transform)
Does the same thing as PrecisionTypeDao.loadAll() with an
additional flag called transform . |
java.util.Collection |
loadAll(int pageNumber,
int pageSize)
Does the same thing as PrecisionTypeDao.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 PrecisionTypeDao.loadAll(int) with an
additional two arguments called pageNumber and pageSize . |
void |
remotePrecisionTypeFullVOToEntity(RemotePrecisionTypeFullVO source,
PrecisionType target,
boolean copyIfNull)
Copies the fields of RemotePrecisionTypeFullVO to the specified entity. |
void |
remotePrecisionTypeFullVOToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemotePrecisionTypeFullVO to this
DAO's entity. |
void |
remotePrecisionTypeNaturalIdToEntity(RemotePrecisionTypeNaturalId source,
PrecisionType target,
boolean copyIfNull)
Copies the fields of RemotePrecisionTypeNaturalId to the specified entity. |
void |
remotePrecisionTypeNaturalIdToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemotePrecisionTypeNaturalId 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.PrecisionType having the given identifier from the persistent store. |
void |
remove(PrecisionType precisionType)
Removes the instance of fr.ifremer.allegro.referential.PrecisionType 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 PrecisionTypeDao.search(fr.ifremer.allegro.Search) but with an
additional flag called transform . |
java.util.Set |
search(Search search)
Performs a search using the parameters specified in the given search object. |
void |
setStatusDao(StatusDao statusDao)
Sets the reference to statusDao . |
protected ClusterPrecisionType |
toClusterPrecisionType(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
ClusterPrecisionType |
toClusterPrecisionType(PrecisionType entity)
Converts this DAO's entity to an object of type ClusterPrecisionType . |
void |
toClusterPrecisionType(PrecisionType source,
ClusterPrecisionType target)
Copies the fields of the specified entity to the target value object. |
ClusterPrecisionType[] |
toClusterPrecisionTypeArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type ClusterPrecisionType . |
void |
toClusterPrecisionTypeCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type ClusterPrecisionType . |
protected PrecisionType |
toEntity(java.lang.Object[] row)
|
protected RemotePrecisionTypeFullVO |
toRemotePrecisionTypeFullVO(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemotePrecisionTypeFullVO |
toRemotePrecisionTypeFullVO(PrecisionType entity)
Converts this DAO's entity to an object of type RemotePrecisionTypeFullVO . |
void |
toRemotePrecisionTypeFullVO(PrecisionType source,
RemotePrecisionTypeFullVO target)
Copies the fields of the specified entity to the target value object. |
RemotePrecisionTypeFullVO[] |
toRemotePrecisionTypeFullVOArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemotePrecisionTypeFullVO . |
void |
toRemotePrecisionTypeFullVOCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemotePrecisionTypeFullVO . |
protected RemotePrecisionTypeNaturalId |
toRemotePrecisionTypeNaturalId(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemotePrecisionTypeNaturalId |
toRemotePrecisionTypeNaturalId(PrecisionType entity)
Converts this DAO's entity to an object of type RemotePrecisionTypeNaturalId . |
void |
toRemotePrecisionTypeNaturalId(PrecisionType source,
RemotePrecisionTypeNaturalId target)
Copies the fields of the specified entity to the target value object. |
RemotePrecisionTypeNaturalId[] |
toRemotePrecisionTypeNaturalIdArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemotePrecisionTypeNaturalId . |
void |
toRemotePrecisionTypeNaturalIdCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemotePrecisionTypeNaturalId . |
protected void |
transformEntities(int transform,
java.util.Collection entities)
Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.PrecisionType)
method. |
protected java.lang.Object |
transformEntity(int transform,
PrecisionType 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.PrecisionTypeDao , please note
that the PrecisionTypeDao.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(PrecisionType precisionType)
Updates the precisionType 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.PrecisionTypeDao |
---|
clusterPrecisionTypeToEntity, remotePrecisionTypeFullVOToEntity, remotePrecisionTypeNaturalIdToEntity |
Constructor Detail |
---|
public PrecisionTypeDaoBase()
Method Detail |
---|
public void setStatusDao(StatusDao statusDao)
statusDao
.
protected StatusDao getStatusDao()
statusDao
.
public java.lang.Object load(int transform, java.lang.Integer id)
PrecisionTypeDao
Does the same thing as PrecisionTypeDao.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 PrecisionTypeDao
id
- identifier of the entity to load
PrecisionTypeDao.load(int, java.lang.Integer)
public PrecisionType load(java.lang.Integer id)
PrecisionTypeDao
load
in interface PrecisionTypeDao
PrecisionTypeDao.load(java.lang.Integer)
public java.util.Collection loadAll()
PrecisionTypeDao
PrecisionType
.
loadAll
in interface PrecisionTypeDao
PrecisionTypeDao.loadAll()
public java.util.Collection loadAll(int transform)
PrecisionTypeDao
Does the same thing as PrecisionTypeDao.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 PrecisionTypeDao
transform
- the flag indicating what transformation to use.
PrecisionTypeDao.loadAll(int)
public java.util.Collection loadAll(int pageNumber, int pageSize)
PrecisionTypeDao
Does the same thing as PrecisionTypeDao.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 PrecisionTypeDao
pageNumber
- the page number to retrieve when paging results.pageSize
- the size of the page to retrieve when paging results.
PrecisionTypeDao.loadAll(int, int)
public java.util.Collection loadAll(int transform, int pageNumber, int pageSize)
PrecisionTypeDao
Does the same thing as PrecisionTypeDao.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 PrecisionTypeDao
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.
PrecisionTypeDao.loadAll(int, int, int)
public PrecisionType create(PrecisionType precisionType)
PrecisionTypeDao
create
in interface PrecisionTypeDao
PrecisionTypeDao.create(fr.ifremer.allegro.referential.PrecisionType)
public java.lang.Object create(int transform, PrecisionType precisionType)
PrecisionTypeDao
Does the same thing as PrecisionTypeDao.create(fr.ifremer.allegro.referential.PrecisionType)
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 PrecisionTypeDao
PrecisionTypeDao.create(int transform, fr.ifremer.allegro.referential.PrecisionType)
public java.util.Collection create(java.util.Collection entities)
PrecisionTypeDao
entities
collection
create
in interface PrecisionTypeDao
entities
- the collection of fr.ifremer.allegro.referential.PrecisionType
instances to create.
PrecisionTypeDao.create(java.util.Collection)
public java.util.Collection create(int transform, java.util.Collection entities)
PrecisionTypeDao
Does the same thing as PrecisionTypeDao.create(fr.ifremer.allegro.referential.PrecisionType)
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 PrecisionTypeDao
PrecisionTypeDao.create(int, java.util.Collection)
public PrecisionType create(java.lang.String name, java.sql.Timestamp updateDate, Status status)
PrecisionTypeDao
Creates a new fr.ifremer.allegro.referential.PrecisionType
instance from all attributes and
properties and adds it to the persistent store.
create
in interface PrecisionTypeDao
PrecisionTypeDao.create(java.lang.String,java.sql.Timestamp,fr.ifremer.allegro.referential.Status)
public java.lang.Object create(int transform, java.lang.String name, java.sql.Timestamp updateDate, Status status)
PrecisionTypeDao
Does the same thing as PrecisionTypeDao.create(java.lang.String,java.sql.Timestamp,fr.ifremer.allegro.referential.Status)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined here then the result WILL BE passed through an operation which can optionally
transform the entity (into a value object for example). By default, transformation does
not occur.
create
in interface PrecisionTypeDao
PrecisionTypeDao.create(int, java.lang.String,java.sql.Timestamp,fr.ifremer.allegro.referential.Status)
public PrecisionType create(java.lang.String name, Status status)
PrecisionTypeDao
Creates a new fr.ifremer.allegro.referential.PrecisionType
instance from only required properties (attributes
and association ends) and adds it to the persistent store.
create
in interface PrecisionTypeDao
PrecisionTypeDao.create(java.lang.String,fr.ifremer.allegro.referential.Status)
public java.lang.Object create(int transform, java.lang.String name, Status status)
PrecisionTypeDao
Does the same thing as PrecisionTypeDao.create(java.lang.String,fr.ifremer.allegro.referential.Status)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOTWILL BE passed through an operation which can optionally
transform the entity (into a value object for example). By default, transformation does
not occur.
create
in interface PrecisionTypeDao
PrecisionTypeDao.create(int, java.lang.String,fr.ifremer.allegro.referential.Status)
public void update(PrecisionType precisionType)
PrecisionTypeDao
precisionType
instance in the persistent store.
update
in interface PrecisionTypeDao
PrecisionTypeDao.update(fr.ifremer.allegro.referential.PrecisionType)
public void update(java.util.Collection entities)
PrecisionTypeDao
entities
collection in the persistent store.
update
in interface PrecisionTypeDao
PrecisionTypeDao.update(java.util.Collection)
public void remove(PrecisionType precisionType)
PrecisionTypeDao
remove
in interface PrecisionTypeDao
PrecisionTypeDao.remove(fr.ifremer.allegro.referential.PrecisionType)
public void remove(java.lang.Integer id)
PrecisionTypeDao
identifier
from the persistent store.
remove
in interface PrecisionTypeDao
PrecisionTypeDao.remove(java.lang.Integer)
public void remove(java.util.Collection entities)
PrecisionTypeDao
entities collection.
- Specified by:
remove
in interface PrecisionTypeDao
- See Also:
PrecisionTypeDao.remove(java.util.Collection)
public java.util.Collection getAllPrecisionType()
getAllPrecisionType
in interface PrecisionTypeDao
PrecisionTypeDao.getAllPrecisionType()
public java.util.Collection getAllPrecisionType(int transform)
PrecisionTypeDao
Does the same thing as PrecisionTypeDao.getAllPrecisionType()
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.
getAllPrecisionType
in interface PrecisionTypeDao
PrecisionTypeDao.getAllPrecisionType(int)
public java.util.Collection getAllPrecisionType(java.lang.String queryString)
PrecisionTypeDao
Does the same thing as PrecisionTypeDao.getAllPrecisionType()
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in PrecisionTypeDao.getAllPrecisionType()
.
getAllPrecisionType
in interface PrecisionTypeDao
PrecisionTypeDao.getAllPrecisionType(java.lang.String)
public java.util.Collection getAllPrecisionType(int pageNumber, int pageSize)
PrecisionTypeDao
Does the same thing as PrecisionTypeDao.getAllPrecisionType()
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.
getAllPrecisionType
in interface PrecisionTypeDao
PrecisionTypeDao.getAllPrecisionType(int, int)
public java.util.Collection getAllPrecisionType(java.lang.String queryString, int pageNumber, int pageSize)
PrecisionTypeDao
Does the same thing as PrecisionTypeDao.getAllPrecisionType(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.
getAllPrecisionType
in interface PrecisionTypeDao
PrecisionTypeDao.getAllPrecisionType(String, int, int)
public java.util.Collection getAllPrecisionType(int transform, java.lang.String queryString)
PrecisionTypeDao
Does the same thing as PrecisionTypeDao.getAllPrecisionType(int)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in PrecisionTypeDao.getAllPrecisionType(int)
.
getAllPrecisionType
in interface PrecisionTypeDao
PrecisionTypeDao.getAllPrecisionType(int, String)
public java.util.Collection getAllPrecisionType(int transform, int pageNumber, int pageSize)
PrecisionTypeDao
Does the same thing as PrecisionTypeDao.getAllPrecisionType(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.
getAllPrecisionType
in interface PrecisionTypeDao
PrecisionTypeDao.getAllPrecisionType(int, int, int)
public java.util.Collection getAllPrecisionType(int transform, java.lang.String queryString, int pageNumber, int pageSize)
PrecisionTypeDao
Does the same thing as PrecisionTypeDao.getAllPrecisionType(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.
getAllPrecisionType
in interface PrecisionTypeDao
PrecisionTypeDao.getAllPrecisionType(int, java.lang.String, int, int)
public PrecisionType findPrecisionTypeById(java.lang.Integer id)
findPrecisionTypeById
in interface PrecisionTypeDao
PrecisionTypeDao.findPrecisionTypeById(java.lang.Integer)
public java.lang.Object findPrecisionTypeById(int transform, java.lang.Integer id)
PrecisionTypeDao
Does the same thing as PrecisionTypeDao.findPrecisionTypeById(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.
findPrecisionTypeById
in interface PrecisionTypeDao
PrecisionTypeDao.findPrecisionTypeById(int, java.lang.Integer)
public PrecisionType findPrecisionTypeById(java.lang.String queryString, java.lang.Integer id)
PrecisionTypeDao
Does the same thing as PrecisionTypeDao.findPrecisionTypeById(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in PrecisionTypeDao.findPrecisionTypeById(java.lang.Integer)
.
findPrecisionTypeById
in interface PrecisionTypeDao
PrecisionTypeDao.findPrecisionTypeById(java.lang.String, java.lang.Integer)
public java.lang.Object findPrecisionTypeById(int transform, java.lang.String queryString, java.lang.Integer id)
PrecisionTypeDao
Does the same thing as PrecisionTypeDao.findPrecisionTypeById(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in PrecisionTypeDao.findPrecisionTypeById(int, java.lang.Integer id)
.
findPrecisionTypeById
in interface PrecisionTypeDao
PrecisionTypeDao.findPrecisionTypeById(int, java.lang.String, java.lang.Integer)
public java.util.Collection findPrecisionTypeByStatus(Status status)
findPrecisionTypeByStatus
in interface PrecisionTypeDao
PrecisionTypeDao.findPrecisionTypeByStatus(fr.ifremer.allegro.referential.Status)
public java.util.Collection findPrecisionTypeByStatus(int transform, Status status)
PrecisionTypeDao
Does the same thing as PrecisionTypeDao.findPrecisionTypeByStatus(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.
findPrecisionTypeByStatus
in interface PrecisionTypeDao
PrecisionTypeDao.findPrecisionTypeByStatus(int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findPrecisionTypeByStatus(java.lang.String queryString, Status status)
PrecisionTypeDao
Does the same thing as PrecisionTypeDao.findPrecisionTypeByStatus(fr.ifremer.allegro.referential.Status)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in PrecisionTypeDao.findPrecisionTypeByStatus(fr.ifremer.allegro.referential.Status)
.
findPrecisionTypeByStatus
in interface PrecisionTypeDao
PrecisionTypeDao.findPrecisionTypeByStatus(java.lang.String, fr.ifremer.allegro.referential.Status)
public java.util.Collection findPrecisionTypeByStatus(int pageNumber, int pageSize, Status status)
PrecisionTypeDao
Does the same thing as PrecisionTypeDao.findPrecisionTypeByStatus(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.
findPrecisionTypeByStatus
in interface PrecisionTypeDao
PrecisionTypeDao.findPrecisionTypeByStatus(int, int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findPrecisionTypeByStatus(java.lang.String queryString, int pageNumber, int pageSize, Status status)
PrecisionTypeDao
Does the same thing as PrecisionTypeDao.findPrecisionTypeByStatus(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.
findPrecisionTypeByStatus
in interface PrecisionTypeDao
PrecisionTypeDao.findPrecisionTypeByStatus(String, int, int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findPrecisionTypeByStatus(int transform, java.lang.String queryString, Status status)
PrecisionTypeDao
Does the same thing as PrecisionTypeDao.findPrecisionTypeByStatus(int, fr.ifremer.allegro.referential.Status)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in PrecisionTypeDao.findPrecisionTypeByStatus(int, fr.ifremer.allegro.referential.Status status)
.
findPrecisionTypeByStatus
in interface PrecisionTypeDao
PrecisionTypeDao.findPrecisionTypeByStatus(int, String, fr.ifremer.allegro.referential.Status)
public java.util.Collection findPrecisionTypeByStatus(int transform, int pageNumber, int pageSize, Status status)
PrecisionTypeDao
Does the same thing as PrecisionTypeDao.findPrecisionTypeByStatus(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.
findPrecisionTypeByStatus
in interface PrecisionTypeDao
PrecisionTypeDao.findPrecisionTypeByStatus(int, int, int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findPrecisionTypeByStatus(int transform, java.lang.String queryString, int pageNumber, int pageSize, Status status)
PrecisionTypeDao
Does the same thing as PrecisionTypeDao.findPrecisionTypeByStatus(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.
findPrecisionTypeByStatus
in interface PrecisionTypeDao
PrecisionTypeDao.findPrecisionTypeByStatus(int, java.lang.String, int, int, fr.ifremer.allegro.referential.Status)
public PrecisionType findPrecisionTypeByNaturalId(java.lang.Integer id)
findPrecisionTypeByNaturalId
in interface PrecisionTypeDao
PrecisionTypeDao.findPrecisionTypeByNaturalId(java.lang.Integer)
public java.lang.Object findPrecisionTypeByNaturalId(int transform, java.lang.Integer id)
PrecisionTypeDao
Does the same thing as PrecisionTypeDao.findPrecisionTypeByNaturalId(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.
findPrecisionTypeByNaturalId
in interface PrecisionTypeDao
PrecisionTypeDao.findPrecisionTypeByNaturalId(int, java.lang.Integer)
public PrecisionType findPrecisionTypeByNaturalId(java.lang.String queryString, java.lang.Integer id)
PrecisionTypeDao
Does the same thing as PrecisionTypeDao.findPrecisionTypeByNaturalId(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in PrecisionTypeDao.findPrecisionTypeByNaturalId(java.lang.Integer)
.
findPrecisionTypeByNaturalId
in interface PrecisionTypeDao
PrecisionTypeDao.findPrecisionTypeByNaturalId(java.lang.String, java.lang.Integer)
public java.lang.Object findPrecisionTypeByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
PrecisionTypeDao
Does the same thing as PrecisionTypeDao.findPrecisionTypeByNaturalId(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in PrecisionTypeDao.findPrecisionTypeByNaturalId(int, java.lang.Integer id)
.
findPrecisionTypeByNaturalId
in interface PrecisionTypeDao
PrecisionTypeDao.findPrecisionTypeByNaturalId(int, java.lang.String, java.lang.Integer)
public java.util.Collection getAllPrecisionTypeSinceDateSynchro(java.sql.Timestamp updateDate)
getAllPrecisionTypeSinceDateSynchro
in interface PrecisionTypeDao
PrecisionTypeDao.getAllPrecisionTypeSinceDateSynchro(java.sql.Timestamp)
public java.util.Collection getAllPrecisionTypeSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
PrecisionTypeDao
Does the same thing as PrecisionTypeDao.getAllPrecisionTypeSinceDateSynchro(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.
getAllPrecisionTypeSinceDateSynchro
in interface PrecisionTypeDao
PrecisionTypeDao.getAllPrecisionTypeSinceDateSynchro(int, java.sql.Timestamp)
public java.util.Collection getAllPrecisionTypeSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
PrecisionTypeDao
Does the same thing as PrecisionTypeDao.getAllPrecisionTypeSinceDateSynchro(java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in PrecisionTypeDao.getAllPrecisionTypeSinceDateSynchro(java.sql.Timestamp)
.
getAllPrecisionTypeSinceDateSynchro
in interface PrecisionTypeDao
PrecisionTypeDao.getAllPrecisionTypeSinceDateSynchro(java.lang.String, java.sql.Timestamp)
public java.util.Collection getAllPrecisionTypeSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
PrecisionTypeDao
Does the same thing as PrecisionTypeDao.getAllPrecisionTypeSinceDateSynchro(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.
getAllPrecisionTypeSinceDateSynchro
in interface PrecisionTypeDao
PrecisionTypeDao.getAllPrecisionTypeSinceDateSynchro(int, int, java.sql.Timestamp)
public java.util.Collection getAllPrecisionTypeSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
PrecisionTypeDao
Does the same thing as PrecisionTypeDao.getAllPrecisionTypeSinceDateSynchro(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.
getAllPrecisionTypeSinceDateSynchro
in interface PrecisionTypeDao
PrecisionTypeDao.getAllPrecisionTypeSinceDateSynchro(String, int, int, java.sql.Timestamp)
public java.util.Collection getAllPrecisionTypeSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
PrecisionTypeDao
Does the same thing as PrecisionTypeDao.getAllPrecisionTypeSinceDateSynchro(int, java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in PrecisionTypeDao.getAllPrecisionTypeSinceDateSynchro(int, java.sql.Timestamp updateDate)
.
getAllPrecisionTypeSinceDateSynchro
in interface PrecisionTypeDao
PrecisionTypeDao.getAllPrecisionTypeSinceDateSynchro(int, String, java.sql.Timestamp)
public java.util.Collection getAllPrecisionTypeSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
PrecisionTypeDao
Does the same thing as PrecisionTypeDao.getAllPrecisionTypeSinceDateSynchro(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.
getAllPrecisionTypeSinceDateSynchro
in interface PrecisionTypeDao
PrecisionTypeDao.getAllPrecisionTypeSinceDateSynchro(int, int, int, java.sql.Timestamp)
public java.util.Collection getAllPrecisionTypeSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
PrecisionTypeDao
Does the same thing as PrecisionTypeDao.getAllPrecisionTypeSinceDateSynchro(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.
getAllPrecisionTypeSinceDateSynchro
in interface PrecisionTypeDao
PrecisionTypeDao.getAllPrecisionTypeSinceDateSynchro(int, java.lang.String, int, int, java.sql.Timestamp)
public PrecisionType createFromClusterPrecisionType(ClusterPrecisionType clusterPrecisionType)
createFromClusterPrecisionType
in interface PrecisionTypeDao
PrecisionTypeDao.createFromClusterPrecisionType(fr.ifremer.allegro.referential.generic.cluster.ClusterPrecisionType)
protected abstract PrecisionType handleCreateFromClusterPrecisionType(ClusterPrecisionType clusterPrecisionType) throws java.lang.Exception
createFromClusterPrecisionType(fr.ifremer.allegro.referential.generic.cluster.ClusterPrecisionType)
java.lang.Exception
public ClusterPrecisionType[] getAllClusterPrecisionTypeSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
getAllClusterPrecisionTypeSinceDateSynchro
in interface PrecisionTypeDao
PrecisionTypeDao.getAllClusterPrecisionTypeSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected abstract ClusterPrecisionType[] handleGetAllClusterPrecisionTypeSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize) throws java.lang.Exception
getAllClusterPrecisionTypeSinceDateSynchro(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, PrecisionType entity)
transform
flag is set to one of the constants defined in fr.ifremer.allegro.referential.PrecisionTypeDao
, please note
that the PrecisionTypeDao.TRANSFORM_NONE
constant denotes no transformation, so the entity itself
will be returned.
This method will return instances of these types:
PrecisionType
- PrecisionTypeDao.TRANSFORM_NONE
RemotePrecisionTypeFullVO
- TRANSFORM_REMOTEPRECISIONTYPEFULLVO
RemotePrecisionTypeNaturalId
- TRANSFORM_REMOTEPRECISIONTYPENATURALID
ClusterPrecisionType
- TRANSFORM_CLUSTERPRECISIONTYPE
PrecisionTypeDao.TRANSFORM_NONE
is assumed.
transform
- one of the constants declared in PrecisionTypeDao
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.PrecisionType)
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.PrecisionTypeDao
entities
- the collection of entities to transformtransformEntity(int,fr.ifremer.allegro.referential.PrecisionType)
protected PrecisionType toEntity(java.lang.Object[] row)
public final void toRemotePrecisionTypeFullVOCollection(java.util.Collection entities)
PrecisionTypeDao
RemotePrecisionTypeFullVO
.
toRemotePrecisionTypeFullVOCollection
in interface PrecisionTypeDao
PrecisionTypeDao.toRemotePrecisionTypeFullVOCollection(java.util.Collection)
public final RemotePrecisionTypeFullVO[] toRemotePrecisionTypeFullVOArray(java.util.Collection entities)
PrecisionTypeDao
RemotePrecisionTypeFullVO
.
toRemotePrecisionTypeFullVOArray
in interface PrecisionTypeDao
PrecisionTypeDao.toRemotePrecisionTypeFullVOArray(java.util.Collection)
protected RemotePrecisionTypeFullVO toRemotePrecisionTypeFullVO(java.lang.Object[] row)
PrecisionTypeDaoImpl
class if you intend to use reporting queries.
PrecisionTypeDao.toRemotePrecisionTypeFullVO(fr.ifremer.allegro.referential.PrecisionType)
public final void remotePrecisionTypeFullVOToEntityCollection(java.util.Collection instances)
PrecisionTypeDao
RemotePrecisionTypeFullVO
to this
DAO's entity.
remotePrecisionTypeFullVOToEntityCollection
in interface PrecisionTypeDao
PrecisionTypeDao.remotePrecisionTypeFullVOToEntityCollection(java.util.Collection)
public void toRemotePrecisionTypeFullVO(PrecisionType source, RemotePrecisionTypeFullVO target)
PrecisionTypeDao
toRemotePrecisionTypeFullVO
in interface PrecisionTypeDao
PrecisionTypeDao.toRemotePrecisionTypeFullVO(fr.ifremer.allegro.referential.PrecisionType, fr.ifremer.allegro.referential.generic.vo.RemotePrecisionTypeFullVO)
public RemotePrecisionTypeFullVO toRemotePrecisionTypeFullVO(PrecisionType entity)
PrecisionTypeDao
RemotePrecisionTypeFullVO
.
toRemotePrecisionTypeFullVO
in interface PrecisionTypeDao
PrecisionTypeDao.toRemotePrecisionTypeFullVO(fr.ifremer.allegro.referential.PrecisionType)
public void remotePrecisionTypeFullVOToEntity(RemotePrecisionTypeFullVO source, PrecisionType target, boolean copyIfNull)
PrecisionTypeDao
RemotePrecisionTypeFullVO
to the specified entity.
remotePrecisionTypeFullVOToEntity
in interface PrecisionTypeDao
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.PrecisionTypeDao#remotePrecisionTypeFullVOToEntity(fr.ifremer.allegro.referential.generic.vo.RemotePrecisionTypeFullVO, fr.ifremer.allegro.referential.PrecisionType)
public final void toRemotePrecisionTypeNaturalIdCollection(java.util.Collection entities)
PrecisionTypeDao
RemotePrecisionTypeNaturalId
.
toRemotePrecisionTypeNaturalIdCollection
in interface PrecisionTypeDao
PrecisionTypeDao.toRemotePrecisionTypeNaturalIdCollection(java.util.Collection)
public final RemotePrecisionTypeNaturalId[] toRemotePrecisionTypeNaturalIdArray(java.util.Collection entities)
PrecisionTypeDao
RemotePrecisionTypeNaturalId
.
toRemotePrecisionTypeNaturalIdArray
in interface PrecisionTypeDao
PrecisionTypeDao.toRemotePrecisionTypeNaturalIdArray(java.util.Collection)
protected RemotePrecisionTypeNaturalId toRemotePrecisionTypeNaturalId(java.lang.Object[] row)
PrecisionTypeDaoImpl
class if you intend to use reporting queries.
PrecisionTypeDao.toRemotePrecisionTypeNaturalId(fr.ifremer.allegro.referential.PrecisionType)
public final void remotePrecisionTypeNaturalIdToEntityCollection(java.util.Collection instances)
PrecisionTypeDao
RemotePrecisionTypeNaturalId
to this
DAO's entity.
remotePrecisionTypeNaturalIdToEntityCollection
in interface PrecisionTypeDao
PrecisionTypeDao.remotePrecisionTypeNaturalIdToEntityCollection(java.util.Collection)
public void toRemotePrecisionTypeNaturalId(PrecisionType source, RemotePrecisionTypeNaturalId target)
PrecisionTypeDao
toRemotePrecisionTypeNaturalId
in interface PrecisionTypeDao
PrecisionTypeDao.toRemotePrecisionTypeNaturalId(fr.ifremer.allegro.referential.PrecisionType, fr.ifremer.allegro.referential.generic.vo.RemotePrecisionTypeNaturalId)
public RemotePrecisionTypeNaturalId toRemotePrecisionTypeNaturalId(PrecisionType entity)
PrecisionTypeDao
RemotePrecisionTypeNaturalId
.
toRemotePrecisionTypeNaturalId
in interface PrecisionTypeDao
PrecisionTypeDao.toRemotePrecisionTypeNaturalId(fr.ifremer.allegro.referential.PrecisionType)
public void remotePrecisionTypeNaturalIdToEntity(RemotePrecisionTypeNaturalId source, PrecisionType target, boolean copyIfNull)
PrecisionTypeDao
RemotePrecisionTypeNaturalId
to the specified entity.
remotePrecisionTypeNaturalIdToEntity
in interface PrecisionTypeDao
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.PrecisionTypeDao#remotePrecisionTypeNaturalIdToEntity(fr.ifremer.allegro.referential.generic.vo.RemotePrecisionTypeNaturalId, fr.ifremer.allegro.referential.PrecisionType)
public final void toClusterPrecisionTypeCollection(java.util.Collection entities)
PrecisionTypeDao
ClusterPrecisionType
.
toClusterPrecisionTypeCollection
in interface PrecisionTypeDao
PrecisionTypeDao.toClusterPrecisionTypeCollection(java.util.Collection)
public final ClusterPrecisionType[] toClusterPrecisionTypeArray(java.util.Collection entities)
PrecisionTypeDao
ClusterPrecisionType
.
toClusterPrecisionTypeArray
in interface PrecisionTypeDao
PrecisionTypeDao.toClusterPrecisionTypeArray(java.util.Collection)
protected ClusterPrecisionType toClusterPrecisionType(java.lang.Object[] row)
PrecisionTypeDaoImpl
class if you intend to use reporting queries.
PrecisionTypeDao.toClusterPrecisionType(fr.ifremer.allegro.referential.PrecisionType)
public final void clusterPrecisionTypeToEntityCollection(java.util.Collection instances)
PrecisionTypeDao
ClusterPrecisionType
to this
DAO's entity.
clusterPrecisionTypeToEntityCollection
in interface PrecisionTypeDao
PrecisionTypeDao.clusterPrecisionTypeToEntityCollection(java.util.Collection)
public void toClusterPrecisionType(PrecisionType source, ClusterPrecisionType target)
PrecisionTypeDao
toClusterPrecisionType
in interface PrecisionTypeDao
PrecisionTypeDao.toClusterPrecisionType(fr.ifremer.allegro.referential.PrecisionType, fr.ifremer.allegro.referential.generic.cluster.ClusterPrecisionType)
public ClusterPrecisionType toClusterPrecisionType(PrecisionType entity)
PrecisionTypeDao
ClusterPrecisionType
.
toClusterPrecisionType
in interface PrecisionTypeDao
PrecisionTypeDao.toClusterPrecisionType(fr.ifremer.allegro.referential.PrecisionType)
public void clusterPrecisionTypeToEntity(ClusterPrecisionType source, PrecisionType target, boolean copyIfNull)
PrecisionTypeDao
ClusterPrecisionType
to the specified entity.
clusterPrecisionTypeToEntity
in interface PrecisionTypeDao
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.PrecisionTypeDao#clusterPrecisionTypeToEntity(fr.ifremer.allegro.referential.generic.cluster.ClusterPrecisionType, fr.ifremer.allegro.referential.PrecisionType)
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)
PrecisionTypeDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface PrecisionTypeDao
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.PrecisionTypeDao.search(int, int, int, fr.ifremer.allegro.Search)
public PaginationResult search(int pageNumber, int pageSize, Search search)
PrecisionTypeDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface PrecisionTypeDao
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.PrecisionTypeDao.search(int, int, fr.ifremer.allegro.Search)
public java.util.Set search(int transform, Search search)
PrecisionTypeDao
PrecisionTypeDao.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 PrecisionTypeDao
transform
- the transformation flag.search
- the search object which provides the search parameters and pagination specification.
PrecisionTypeDao.search(int, fr.ifremer.allegro.Search)
public java.util.Set search(Search search)
PrecisionTypeDao
search
object.
search
in interface PrecisionTypeDao
search
- the search object which provides the search parameters and pagination specification.
PrecisionTypeDao.search(fr.ifremer.allegro.Search)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |