|
||||||||||
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.administration.user.ManagedDataTypeDaoBase
public abstract class ManagedDataTypeDaoBase
Base Spring DAO Class: is able to create, update, remove, load, and find
objects of type fr.ifremer.allegro.administration.user.ManagedDataType
.
ManagedDataType
Field Summary |
---|
Fields inherited from interface fr.ifremer.allegro.administration.user.ManagedDataTypeDao |
---|
TRANSFORM_CLUSTERMANAGEDDATATYPE, TRANSFORM_NONE, TRANSFORM_REMOTEMANAGEDDATATYPEFULLVO, TRANSFORM_REMOTEMANAGEDDATATYPENATURALID |
Constructor Summary | |
---|---|
ManagedDataTypeDaoBase()
|
Method Summary | |
---|---|
void |
clusterManagedDataTypeToEntity(ClusterManagedDataType source,
ManagedDataType target,
boolean copyIfNull)
Copies the fields of ClusterManagedDataType to the specified entity. |
void |
clusterManagedDataTypeToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type ClusterManagedDataType to this
DAO's entity. |
java.util.Collection |
create(java.util.Collection entities)
Creates a new instance of fr.ifremer.allegro.administration.user.ManagedDataType and adds from the passed in entities collection |
java.util.Collection |
create(int transform,
java.util.Collection entities)
Does the same thing as ManagedDataTypeDao.create(fr.ifremer.allegro.administration.user.ManagedDataType) with an
additional flag called transform . |
ManagedDataType |
create(java.lang.Integer id,
java.lang.String name,
Status status)
Creates a new fr.ifremer.allegro.administration.user.ManagedDataType
instance from only required properties (attributes
and association ends) and adds it to the persistent store. |
ManagedDataType |
create(java.lang.Integer id,
java.lang.String name,
java.sql.Timestamp updateDate,
Status status)
Creates a new fr.ifremer.allegro.administration.user.ManagedDataType
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,
Status status)
Does the same thing as ManagedDataTypeDao.create(java.lang.Integer,java.lang.String,fr.ifremer.allegro.referential.Status) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
java.lang.Integer id,
java.lang.String name,
java.sql.Timestamp updateDate,
Status status)
Does the same thing as ManagedDataTypeDao.create(java.lang.Integer,java.lang.String,java.sql.Timestamp,fr.ifremer.allegro.referential.Status) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
ManagedDataType managedDataType)
Does the same thing as ManagedDataTypeDao.create(fr.ifremer.allegro.administration.user.ManagedDataType) with an
additional flag called transform . |
ManagedDataType |
create(ManagedDataType managedDataType)
Creates an instance of fr.ifremer.allegro.administration.user.ManagedDataType and adds it to the persistent store. |
ManagedDataType |
createFromClusterManagedDataType(ClusterManagedDataType clusterManagedDataType)
|
ManagedDataType |
findManagedDataTypeById(java.lang.Integer id)
|
java.lang.Object |
findManagedDataTypeById(int transform,
java.lang.Integer id)
Does the same thing as ManagedDataTypeDao.findManagedDataTypeById(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findManagedDataTypeById(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as ManagedDataTypeDao.findManagedDataTypeById(int, java.lang.Integer) with an
additional argument called queryString . |
ManagedDataType |
findManagedDataTypeById(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as ManagedDataTypeDao.findManagedDataTypeById(java.lang.Integer) with an
additional argument called queryString . |
ManagedDataType |
findManagedDataTypeByNaturalId(java.lang.Integer id)
|
java.lang.Object |
findManagedDataTypeByNaturalId(int transform,
java.lang.Integer id)
Does the same thing as ManagedDataTypeDao.findManagedDataTypeByNaturalId(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findManagedDataTypeByNaturalId(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as ManagedDataTypeDao.findManagedDataTypeByNaturalId(int, java.lang.Integer) with an
additional argument called queryString . |
ManagedDataType |
findManagedDataTypeByNaturalId(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as ManagedDataTypeDao.findManagedDataTypeByNaturalId(java.lang.Integer) with an
additional argument called queryString . |
java.util.Collection |
findManagedDataTypeByStatus(int transform,
int pageNumber,
int pageSize,
Status status)
Does the same thing as ManagedDataTypeDao.findManagedDataTypeByStatus(int, fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findManagedDataTypeByStatus(int pageNumber,
int pageSize,
Status status)
Does the same thing as ManagedDataTypeDao.findManagedDataTypeByStatus(fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findManagedDataTypeByStatus(int transform,
Status status)
Does the same thing as ManagedDataTypeDao.findManagedDataTypeByStatus(fr.ifremer.allegro.referential.Status) with an
additional flag called transform . |
java.util.Collection |
findManagedDataTypeByStatus(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
Status status)
Does the same thing as ManagedDataTypeDao.findManagedDataTypeByStatus(int, String, fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findManagedDataTypeByStatus(int transform,
java.lang.String queryString,
Status status)
Does the same thing as ManagedDataTypeDao.findManagedDataTypeByStatus(int, fr.ifremer.allegro.referential.Status) with an
additional argument called queryString . |
java.util.Collection |
findManagedDataTypeByStatus(Status status)
|
java.util.Collection |
findManagedDataTypeByStatus(java.lang.String queryString,
int pageNumber,
int pageSize,
Status status)
Does the same thing as ManagedDataTypeDao.findManagedDataTypeByStatus(String, fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findManagedDataTypeByStatus(java.lang.String queryString,
Status status)
Does the same thing as ManagedDataTypeDao.findManagedDataTypeByStatus(fr.ifremer.allegro.referential.Status) with an
additional argument called queryString . |
ClusterManagedDataType[] |
getAllClusterManagedDataTypeSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize)
|
java.util.Collection |
getAllManagedDataType()
|
java.util.Collection |
getAllManagedDataType(int transform)
Does the same thing as ManagedDataTypeDao.getAllManagedDataType() with an
additional flag called transform . |
java.util.Collection |
getAllManagedDataType(int pageNumber,
int pageSize)
Does the same thing as ManagedDataTypeDao.getAllManagedDataType() with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllManagedDataType(int transform,
int pageNumber,
int pageSize)
Does the same thing as ManagedDataTypeDao.getAllManagedDataType(int) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllManagedDataType(int transform,
java.lang.String queryString)
Does the same thing as ManagedDataTypeDao.getAllManagedDataType(int) with an
additional argument called queryString . |
java.util.Collection |
getAllManagedDataType(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as ManagedDataTypeDao.getAllManagedDataType(int, String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllManagedDataType(java.lang.String queryString)
Does the same thing as ManagedDataTypeDao.getAllManagedDataType() with an
additional argument called queryString . |
java.util.Collection |
getAllManagedDataType(java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as ManagedDataTypeDao.getAllManagedDataType(String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllManagedDataTypeSinceDateSynchro(int transform,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as ManagedDataTypeDao.getAllManagedDataTypeSinceDateSynchro(int, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllManagedDataTypeSinceDateSynchro(int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as ManagedDataTypeDao.getAllManagedDataTypeSinceDateSynchro(java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllManagedDataTypeSinceDateSynchro(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as ManagedDataTypeDao.getAllManagedDataTypeSinceDateSynchro(int, String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllManagedDataTypeSinceDateSynchro(int transform,
java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as ManagedDataTypeDao.getAllManagedDataTypeSinceDateSynchro(int, java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllManagedDataTypeSinceDateSynchro(int transform,
java.sql.Timestamp updateDate)
Does the same thing as ManagedDataTypeDao.getAllManagedDataTypeSinceDateSynchro(java.sql.Timestamp) with an
additional flag called transform . |
java.util.Collection |
getAllManagedDataTypeSinceDateSynchro(java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as ManagedDataTypeDao.getAllManagedDataTypeSinceDateSynchro(String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllManagedDataTypeSinceDateSynchro(java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as ManagedDataTypeDao.getAllManagedDataTypeSinceDateSynchro(java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllManagedDataTypeSinceDateSynchro(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 ManagedDataType |
handleCreateFromClusterManagedDataType(ClusterManagedDataType clusterManagedDataType)
Performs the core logic for createFromClusterManagedDataType(fr.ifremer.allegro.administration.user.generic.cluster.ClusterManagedDataType) |
protected abstract ClusterManagedDataType[] |
handleGetAllClusterManagedDataTypeSinceDateSynchro(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 getAllClusterManagedDataTypeSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer) |
ManagedDataType |
load(java.lang.Integer id)
Loads an instance of fr.ifremer.allegro.administration.user.ManagedDataType from the persistent store. |
java.lang.Object |
load(int transform,
java.lang.Integer id)
Does the same thing as ManagedDataTypeDao.load(java.lang.Integer) with an
additional flag called transform . |
java.util.Collection |
loadAll()
Loads all entities of type ManagedDataType . |
java.util.Collection |
loadAll(int transform)
Does the same thing as ManagedDataTypeDao.loadAll() with an
additional flag called transform . |
java.util.Collection |
loadAll(int pageNumber,
int pageSize)
Does the same thing as ManagedDataTypeDao.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 ManagedDataTypeDao.loadAll(int) with an
additional two arguments called pageNumber and pageSize . |
void |
remoteManagedDataTypeFullVOToEntity(RemoteManagedDataTypeFullVO source,
ManagedDataType target,
boolean copyIfNull)
Copies the fields of RemoteManagedDataTypeFullVO to the specified entity. |
void |
remoteManagedDataTypeFullVOToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteManagedDataTypeFullVO to this
DAO's entity. |
void |
remoteManagedDataTypeNaturalIdToEntity(RemoteManagedDataTypeNaturalId source,
ManagedDataType target,
boolean copyIfNull)
Copies the fields of RemoteManagedDataTypeNaturalId to the specified entity. |
void |
remoteManagedDataTypeNaturalIdToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteManagedDataTypeNaturalId 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.administration.user.ManagedDataType having the given identifier from the persistent store. |
void |
remove(ManagedDataType managedDataType)
Removes the instance of fr.ifremer.allegro.administration.user.ManagedDataType 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 ManagedDataTypeDao.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 . |
ClusterManagedDataType |
toClusterManagedDataType(ManagedDataType entity)
Converts this DAO's entity to an object of type ClusterManagedDataType . |
void |
toClusterManagedDataType(ManagedDataType source,
ClusterManagedDataType target)
Copies the fields of the specified entity to the target value object. |
protected ClusterManagedDataType |
toClusterManagedDataType(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
ClusterManagedDataType[] |
toClusterManagedDataTypeArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type ClusterManagedDataType . |
void |
toClusterManagedDataTypeCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type ClusterManagedDataType . |
protected ManagedDataType |
toEntity(java.lang.Object[] row)
|
RemoteManagedDataTypeFullVO |
toRemoteManagedDataTypeFullVO(ManagedDataType entity)
Converts this DAO's entity to an object of type RemoteManagedDataTypeFullVO . |
void |
toRemoteManagedDataTypeFullVO(ManagedDataType source,
RemoteManagedDataTypeFullVO target)
Copies the fields of the specified entity to the target value object. |
protected RemoteManagedDataTypeFullVO |
toRemoteManagedDataTypeFullVO(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteManagedDataTypeFullVO[] |
toRemoteManagedDataTypeFullVOArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteManagedDataTypeFullVO . |
void |
toRemoteManagedDataTypeFullVOCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteManagedDataTypeFullVO . |
RemoteManagedDataTypeNaturalId |
toRemoteManagedDataTypeNaturalId(ManagedDataType entity)
Converts this DAO's entity to an object of type RemoteManagedDataTypeNaturalId . |
void |
toRemoteManagedDataTypeNaturalId(ManagedDataType source,
RemoteManagedDataTypeNaturalId target)
Copies the fields of the specified entity to the target value object. |
protected RemoteManagedDataTypeNaturalId |
toRemoteManagedDataTypeNaturalId(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteManagedDataTypeNaturalId[] |
toRemoteManagedDataTypeNaturalIdArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteManagedDataTypeNaturalId . |
void |
toRemoteManagedDataTypeNaturalIdCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteManagedDataTypeNaturalId . |
protected void |
transformEntities(int transform,
java.util.Collection entities)
Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.administration.user.ManagedDataType)
method. |
protected java.lang.Object |
transformEntity(int transform,
ManagedDataType 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.administration.user.ManagedDataTypeDao , please note
that the ManagedDataTypeDao.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(ManagedDataType managedDataType)
Updates the managedDataType 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.administration.user.ManagedDataTypeDao |
---|
clusterManagedDataTypeToEntity, remoteManagedDataTypeFullVOToEntity, remoteManagedDataTypeNaturalIdToEntity |
Constructor Detail |
---|
public ManagedDataTypeDaoBase()
Method Detail |
---|
public void setStatusDao(StatusDao statusDao)
statusDao
.
protected StatusDao getStatusDao()
statusDao
.
public java.lang.Object load(int transform, java.lang.Integer id)
ManagedDataTypeDao
Does the same thing as ManagedDataTypeDao.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 ManagedDataTypeDao
id
- identifier of the entity to load
ManagedDataTypeDao.load(int, java.lang.Integer)
public ManagedDataType load(java.lang.Integer id)
ManagedDataTypeDao
load
in interface ManagedDataTypeDao
ManagedDataTypeDao.load(java.lang.Integer)
public java.util.Collection loadAll()
ManagedDataTypeDao
ManagedDataType
.
loadAll
in interface ManagedDataTypeDao
ManagedDataTypeDao.loadAll()
public java.util.Collection loadAll(int transform)
ManagedDataTypeDao
Does the same thing as ManagedDataTypeDao.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 ManagedDataTypeDao
transform
- the flag indicating what transformation to use.
ManagedDataTypeDao.loadAll(int)
public java.util.Collection loadAll(int pageNumber, int pageSize)
ManagedDataTypeDao
Does the same thing as ManagedDataTypeDao.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 ManagedDataTypeDao
pageNumber
- the page number to retrieve when paging results.pageSize
- the size of the page to retrieve when paging results.
ManagedDataTypeDao.loadAll(int, int)
public java.util.Collection loadAll(int transform, int pageNumber, int pageSize)
ManagedDataTypeDao
Does the same thing as ManagedDataTypeDao.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 ManagedDataTypeDao
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.
ManagedDataTypeDao.loadAll(int, int, int)
public ManagedDataType create(ManagedDataType managedDataType)
ManagedDataTypeDao
create
in interface ManagedDataTypeDao
ManagedDataTypeDao.create(fr.ifremer.allegro.administration.user.ManagedDataType)
public java.lang.Object create(int transform, ManagedDataType managedDataType)
ManagedDataTypeDao
Does the same thing as ManagedDataTypeDao.create(fr.ifremer.allegro.administration.user.ManagedDataType)
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 ManagedDataTypeDao
ManagedDataTypeDao.create(int transform, fr.ifremer.allegro.administration.user.ManagedDataType)
public java.util.Collection create(java.util.Collection entities)
ManagedDataTypeDao
entities
collection
create
in interface ManagedDataTypeDao
entities
- the collection of fr.ifremer.allegro.administration.user.ManagedDataType
instances to create.
ManagedDataTypeDao.create(java.util.Collection)
public java.util.Collection create(int transform, java.util.Collection entities)
ManagedDataTypeDao
Does the same thing as ManagedDataTypeDao.create(fr.ifremer.allegro.administration.user.ManagedDataType)
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 ManagedDataTypeDao
ManagedDataTypeDao.create(int, java.util.Collection)
public ManagedDataType create(java.lang.Integer id, java.lang.String name, java.sql.Timestamp updateDate, Status status)
ManagedDataTypeDao
Creates a new fr.ifremer.allegro.administration.user.ManagedDataType
instance from all attributes and
properties and adds it to the persistent store.
create
in interface ManagedDataTypeDao
ManagedDataTypeDao.create(java.lang.Integer,java.lang.String,java.sql.Timestamp,fr.ifremer.allegro.referential.Status)
public java.lang.Object create(int transform, java.lang.Integer id, java.lang.String name, java.sql.Timestamp updateDate, Status status)
ManagedDataTypeDao
Does the same thing as ManagedDataTypeDao.create(java.lang.Integer,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 ManagedDataTypeDao
ManagedDataTypeDao.create(int, java.lang.Integer,java.lang.String,java.sql.Timestamp,fr.ifremer.allegro.referential.Status)
public ManagedDataType create(java.lang.Integer id, java.lang.String name, Status status)
ManagedDataTypeDao
Creates a new fr.ifremer.allegro.administration.user.ManagedDataType
instance from only required properties (attributes
and association ends) and adds it to the persistent store.
create
in interface ManagedDataTypeDao
ManagedDataTypeDao.create(java.lang.Integer,java.lang.String,fr.ifremer.allegro.referential.Status)
public java.lang.Object create(int transform, java.lang.Integer id, java.lang.String name, Status status)
ManagedDataTypeDao
Does the same thing as ManagedDataTypeDao.create(java.lang.Integer,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 ManagedDataTypeDao
ManagedDataTypeDao.create(int, java.lang.Integer,java.lang.String,fr.ifremer.allegro.referential.Status)
public void update(ManagedDataType managedDataType)
ManagedDataTypeDao
managedDataType
instance in the persistent store.
update
in interface ManagedDataTypeDao
ManagedDataTypeDao.update(fr.ifremer.allegro.administration.user.ManagedDataType)
public void update(java.util.Collection entities)
ManagedDataTypeDao
entities
collection in the persistent store.
update
in interface ManagedDataTypeDao
ManagedDataTypeDao.update(java.util.Collection)
public void remove(ManagedDataType managedDataType)
ManagedDataTypeDao
remove
in interface ManagedDataTypeDao
ManagedDataTypeDao.remove(fr.ifremer.allegro.administration.user.ManagedDataType)
public void remove(java.lang.Integer id)
ManagedDataTypeDao
identifier
from the persistent store.
remove
in interface ManagedDataTypeDao
ManagedDataTypeDao.remove(java.lang.Integer)
public void remove(java.util.Collection entities)
ManagedDataTypeDao
entities collection.
- Specified by:
remove
in interface ManagedDataTypeDao
- See Also:
ManagedDataTypeDao.remove(java.util.Collection)
public java.util.Collection getAllManagedDataType()
getAllManagedDataType
in interface ManagedDataTypeDao
ManagedDataTypeDao.getAllManagedDataType()
public java.util.Collection getAllManagedDataType(int transform)
ManagedDataTypeDao
Does the same thing as ManagedDataTypeDao.getAllManagedDataType()
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.
getAllManagedDataType
in interface ManagedDataTypeDao
ManagedDataTypeDao.getAllManagedDataType(int)
public java.util.Collection getAllManagedDataType(java.lang.String queryString)
ManagedDataTypeDao
Does the same thing as ManagedDataTypeDao.getAllManagedDataType()
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ManagedDataTypeDao.getAllManagedDataType()
.
getAllManagedDataType
in interface ManagedDataTypeDao
ManagedDataTypeDao.getAllManagedDataType(java.lang.String)
public java.util.Collection getAllManagedDataType(int pageNumber, int pageSize)
ManagedDataTypeDao
Does the same thing as ManagedDataTypeDao.getAllManagedDataType()
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.
getAllManagedDataType
in interface ManagedDataTypeDao
ManagedDataTypeDao.getAllManagedDataType(int, int)
public java.util.Collection getAllManagedDataType(java.lang.String queryString, int pageNumber, int pageSize)
ManagedDataTypeDao
Does the same thing as ManagedDataTypeDao.getAllManagedDataType(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.
getAllManagedDataType
in interface ManagedDataTypeDao
ManagedDataTypeDao.getAllManagedDataType(String, int, int)
public java.util.Collection getAllManagedDataType(int transform, java.lang.String queryString)
ManagedDataTypeDao
Does the same thing as ManagedDataTypeDao.getAllManagedDataType(int)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ManagedDataTypeDao.getAllManagedDataType(int)
.
getAllManagedDataType
in interface ManagedDataTypeDao
ManagedDataTypeDao.getAllManagedDataType(int, String)
public java.util.Collection getAllManagedDataType(int transform, int pageNumber, int pageSize)
ManagedDataTypeDao
Does the same thing as ManagedDataTypeDao.getAllManagedDataType(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.
getAllManagedDataType
in interface ManagedDataTypeDao
ManagedDataTypeDao.getAllManagedDataType(int, int, int)
public java.util.Collection getAllManagedDataType(int transform, java.lang.String queryString, int pageNumber, int pageSize)
ManagedDataTypeDao
Does the same thing as ManagedDataTypeDao.getAllManagedDataType(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.
getAllManagedDataType
in interface ManagedDataTypeDao
ManagedDataTypeDao.getAllManagedDataType(int, java.lang.String, int, int)
public ManagedDataType findManagedDataTypeById(java.lang.Integer id)
findManagedDataTypeById
in interface ManagedDataTypeDao
ManagedDataTypeDao.findManagedDataTypeById(java.lang.Integer)
public java.lang.Object findManagedDataTypeById(int transform, java.lang.Integer id)
ManagedDataTypeDao
Does the same thing as ManagedDataTypeDao.findManagedDataTypeById(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.
findManagedDataTypeById
in interface ManagedDataTypeDao
ManagedDataTypeDao.findManagedDataTypeById(int, java.lang.Integer)
public ManagedDataType findManagedDataTypeById(java.lang.String queryString, java.lang.Integer id)
ManagedDataTypeDao
Does the same thing as ManagedDataTypeDao.findManagedDataTypeById(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ManagedDataTypeDao.findManagedDataTypeById(java.lang.Integer)
.
findManagedDataTypeById
in interface ManagedDataTypeDao
ManagedDataTypeDao.findManagedDataTypeById(java.lang.String, java.lang.Integer)
public java.lang.Object findManagedDataTypeById(int transform, java.lang.String queryString, java.lang.Integer id)
ManagedDataTypeDao
Does the same thing as ManagedDataTypeDao.findManagedDataTypeById(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ManagedDataTypeDao.findManagedDataTypeById(int, java.lang.Integer id)
.
findManagedDataTypeById
in interface ManagedDataTypeDao
ManagedDataTypeDao.findManagedDataTypeById(int, java.lang.String, java.lang.Integer)
public java.util.Collection findManagedDataTypeByStatus(Status status)
findManagedDataTypeByStatus
in interface ManagedDataTypeDao
ManagedDataTypeDao.findManagedDataTypeByStatus(fr.ifremer.allegro.referential.Status)
public java.util.Collection findManagedDataTypeByStatus(int transform, Status status)
ManagedDataTypeDao
Does the same thing as ManagedDataTypeDao.findManagedDataTypeByStatus(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.
findManagedDataTypeByStatus
in interface ManagedDataTypeDao
ManagedDataTypeDao.findManagedDataTypeByStatus(int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findManagedDataTypeByStatus(java.lang.String queryString, Status status)
ManagedDataTypeDao
Does the same thing as ManagedDataTypeDao.findManagedDataTypeByStatus(fr.ifremer.allegro.referential.Status)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ManagedDataTypeDao.findManagedDataTypeByStatus(fr.ifremer.allegro.referential.Status)
.
findManagedDataTypeByStatus
in interface ManagedDataTypeDao
ManagedDataTypeDao.findManagedDataTypeByStatus(java.lang.String, fr.ifremer.allegro.referential.Status)
public java.util.Collection findManagedDataTypeByStatus(int pageNumber, int pageSize, Status status)
ManagedDataTypeDao
Does the same thing as ManagedDataTypeDao.findManagedDataTypeByStatus(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.
findManagedDataTypeByStatus
in interface ManagedDataTypeDao
ManagedDataTypeDao.findManagedDataTypeByStatus(int, int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findManagedDataTypeByStatus(java.lang.String queryString, int pageNumber, int pageSize, Status status)
ManagedDataTypeDao
Does the same thing as ManagedDataTypeDao.findManagedDataTypeByStatus(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.
findManagedDataTypeByStatus
in interface ManagedDataTypeDao
ManagedDataTypeDao.findManagedDataTypeByStatus(String, int, int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findManagedDataTypeByStatus(int transform, java.lang.String queryString, Status status)
ManagedDataTypeDao
Does the same thing as ManagedDataTypeDao.findManagedDataTypeByStatus(int, fr.ifremer.allegro.referential.Status)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ManagedDataTypeDao.findManagedDataTypeByStatus(int, fr.ifremer.allegro.referential.Status status)
.
findManagedDataTypeByStatus
in interface ManagedDataTypeDao
ManagedDataTypeDao.findManagedDataTypeByStatus(int, String, fr.ifremer.allegro.referential.Status)
public java.util.Collection findManagedDataTypeByStatus(int transform, int pageNumber, int pageSize, Status status)
ManagedDataTypeDao
Does the same thing as ManagedDataTypeDao.findManagedDataTypeByStatus(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.
findManagedDataTypeByStatus
in interface ManagedDataTypeDao
ManagedDataTypeDao.findManagedDataTypeByStatus(int, int, int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findManagedDataTypeByStatus(int transform, java.lang.String queryString, int pageNumber, int pageSize, Status status)
ManagedDataTypeDao
Does the same thing as ManagedDataTypeDao.findManagedDataTypeByStatus(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.
findManagedDataTypeByStatus
in interface ManagedDataTypeDao
ManagedDataTypeDao.findManagedDataTypeByStatus(int, java.lang.String, int, int, fr.ifremer.allegro.referential.Status)
public ManagedDataType findManagedDataTypeByNaturalId(java.lang.Integer id)
findManagedDataTypeByNaturalId
in interface ManagedDataTypeDao
ManagedDataTypeDao.findManagedDataTypeByNaturalId(java.lang.Integer)
public java.lang.Object findManagedDataTypeByNaturalId(int transform, java.lang.Integer id)
ManagedDataTypeDao
Does the same thing as ManagedDataTypeDao.findManagedDataTypeByNaturalId(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.
findManagedDataTypeByNaturalId
in interface ManagedDataTypeDao
ManagedDataTypeDao.findManagedDataTypeByNaturalId(int, java.lang.Integer)
public ManagedDataType findManagedDataTypeByNaturalId(java.lang.String queryString, java.lang.Integer id)
ManagedDataTypeDao
Does the same thing as ManagedDataTypeDao.findManagedDataTypeByNaturalId(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ManagedDataTypeDao.findManagedDataTypeByNaturalId(java.lang.Integer)
.
findManagedDataTypeByNaturalId
in interface ManagedDataTypeDao
ManagedDataTypeDao.findManagedDataTypeByNaturalId(java.lang.String, java.lang.Integer)
public java.lang.Object findManagedDataTypeByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
ManagedDataTypeDao
Does the same thing as ManagedDataTypeDao.findManagedDataTypeByNaturalId(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ManagedDataTypeDao.findManagedDataTypeByNaturalId(int, java.lang.Integer id)
.
findManagedDataTypeByNaturalId
in interface ManagedDataTypeDao
ManagedDataTypeDao.findManagedDataTypeByNaturalId(int, java.lang.String, java.lang.Integer)
public java.util.Collection getAllManagedDataTypeSinceDateSynchro(java.sql.Timestamp updateDate)
getAllManagedDataTypeSinceDateSynchro
in interface ManagedDataTypeDao
ManagedDataTypeDao.getAllManagedDataTypeSinceDateSynchro(java.sql.Timestamp)
public java.util.Collection getAllManagedDataTypeSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
ManagedDataTypeDao
Does the same thing as ManagedDataTypeDao.getAllManagedDataTypeSinceDateSynchro(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.
getAllManagedDataTypeSinceDateSynchro
in interface ManagedDataTypeDao
ManagedDataTypeDao.getAllManagedDataTypeSinceDateSynchro(int, java.sql.Timestamp)
public java.util.Collection getAllManagedDataTypeSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
ManagedDataTypeDao
Does the same thing as ManagedDataTypeDao.getAllManagedDataTypeSinceDateSynchro(java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ManagedDataTypeDao.getAllManagedDataTypeSinceDateSynchro(java.sql.Timestamp)
.
getAllManagedDataTypeSinceDateSynchro
in interface ManagedDataTypeDao
ManagedDataTypeDao.getAllManagedDataTypeSinceDateSynchro(java.lang.String, java.sql.Timestamp)
public java.util.Collection getAllManagedDataTypeSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
ManagedDataTypeDao
Does the same thing as ManagedDataTypeDao.getAllManagedDataTypeSinceDateSynchro(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.
getAllManagedDataTypeSinceDateSynchro
in interface ManagedDataTypeDao
ManagedDataTypeDao.getAllManagedDataTypeSinceDateSynchro(int, int, java.sql.Timestamp)
public java.util.Collection getAllManagedDataTypeSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
ManagedDataTypeDao
Does the same thing as ManagedDataTypeDao.getAllManagedDataTypeSinceDateSynchro(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.
getAllManagedDataTypeSinceDateSynchro
in interface ManagedDataTypeDao
ManagedDataTypeDao.getAllManagedDataTypeSinceDateSynchro(String, int, int, java.sql.Timestamp)
public java.util.Collection getAllManagedDataTypeSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
ManagedDataTypeDao
Does the same thing as ManagedDataTypeDao.getAllManagedDataTypeSinceDateSynchro(int, java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ManagedDataTypeDao.getAllManagedDataTypeSinceDateSynchro(int, java.sql.Timestamp updateDate)
.
getAllManagedDataTypeSinceDateSynchro
in interface ManagedDataTypeDao
ManagedDataTypeDao.getAllManagedDataTypeSinceDateSynchro(int, String, java.sql.Timestamp)
public java.util.Collection getAllManagedDataTypeSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
ManagedDataTypeDao
Does the same thing as ManagedDataTypeDao.getAllManagedDataTypeSinceDateSynchro(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.
getAllManagedDataTypeSinceDateSynchro
in interface ManagedDataTypeDao
ManagedDataTypeDao.getAllManagedDataTypeSinceDateSynchro(int, int, int, java.sql.Timestamp)
public java.util.Collection getAllManagedDataTypeSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
ManagedDataTypeDao
Does the same thing as ManagedDataTypeDao.getAllManagedDataTypeSinceDateSynchro(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.
getAllManagedDataTypeSinceDateSynchro
in interface ManagedDataTypeDao
ManagedDataTypeDao.getAllManagedDataTypeSinceDateSynchro(int, java.lang.String, int, int, java.sql.Timestamp)
public ManagedDataType createFromClusterManagedDataType(ClusterManagedDataType clusterManagedDataType)
createFromClusterManagedDataType
in interface ManagedDataTypeDao
ManagedDataTypeDao.createFromClusterManagedDataType(fr.ifremer.allegro.administration.user.generic.cluster.ClusterManagedDataType)
protected abstract ManagedDataType handleCreateFromClusterManagedDataType(ClusterManagedDataType clusterManagedDataType) throws java.lang.Exception
createFromClusterManagedDataType(fr.ifremer.allegro.administration.user.generic.cluster.ClusterManagedDataType)
java.lang.Exception
public ClusterManagedDataType[] getAllClusterManagedDataTypeSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
getAllClusterManagedDataTypeSinceDateSynchro
in interface ManagedDataTypeDao
ManagedDataTypeDao.getAllClusterManagedDataTypeSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected abstract ClusterManagedDataType[] handleGetAllClusterManagedDataTypeSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize) throws java.lang.Exception
getAllClusterManagedDataTypeSinceDateSynchro(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, ManagedDataType entity)
transform
flag is set to one of the constants defined in fr.ifremer.allegro.administration.user.ManagedDataTypeDao
, please note
that the ManagedDataTypeDao.TRANSFORM_NONE
constant denotes no transformation, so the entity itself
will be returned.
This method will return instances of these types:
ManagedDataType
- ManagedDataTypeDao.TRANSFORM_NONE
RemoteManagedDataTypeFullVO
- TRANSFORM_REMOTEMANAGEDDATATYPEFULLVO
RemoteManagedDataTypeNaturalId
- TRANSFORM_REMOTEMANAGEDDATATYPENATURALID
ClusterManagedDataType
- TRANSFORM_CLUSTERMANAGEDDATATYPE
ManagedDataTypeDao.TRANSFORM_NONE
is assumed.
transform
- one of the constants declared in ManagedDataTypeDao
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.administration.user.ManagedDataType)
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.administration.user.ManagedDataTypeDao
entities
- the collection of entities to transformtransformEntity(int,fr.ifremer.allegro.administration.user.ManagedDataType)
protected ManagedDataType toEntity(java.lang.Object[] row)
public final void toRemoteManagedDataTypeFullVOCollection(java.util.Collection entities)
ManagedDataTypeDao
RemoteManagedDataTypeFullVO
.
toRemoteManagedDataTypeFullVOCollection
in interface ManagedDataTypeDao
ManagedDataTypeDao.toRemoteManagedDataTypeFullVOCollection(java.util.Collection)
public final RemoteManagedDataTypeFullVO[] toRemoteManagedDataTypeFullVOArray(java.util.Collection entities)
ManagedDataTypeDao
RemoteManagedDataTypeFullVO
.
toRemoteManagedDataTypeFullVOArray
in interface ManagedDataTypeDao
ManagedDataTypeDao.toRemoteManagedDataTypeFullVOArray(java.util.Collection)
protected RemoteManagedDataTypeFullVO toRemoteManagedDataTypeFullVO(java.lang.Object[] row)
ManagedDataTypeDaoImpl
class if you intend to use reporting queries.
ManagedDataTypeDao.toRemoteManagedDataTypeFullVO(fr.ifremer.allegro.administration.user.ManagedDataType)
public final void remoteManagedDataTypeFullVOToEntityCollection(java.util.Collection instances)
ManagedDataTypeDao
RemoteManagedDataTypeFullVO
to this
DAO's entity.
remoteManagedDataTypeFullVOToEntityCollection
in interface ManagedDataTypeDao
ManagedDataTypeDao.remoteManagedDataTypeFullVOToEntityCollection(java.util.Collection)
public void toRemoteManagedDataTypeFullVO(ManagedDataType source, RemoteManagedDataTypeFullVO target)
ManagedDataTypeDao
toRemoteManagedDataTypeFullVO
in interface ManagedDataTypeDao
ManagedDataTypeDao.toRemoteManagedDataTypeFullVO(fr.ifremer.allegro.administration.user.ManagedDataType, fr.ifremer.allegro.administration.user.generic.vo.RemoteManagedDataTypeFullVO)
public RemoteManagedDataTypeFullVO toRemoteManagedDataTypeFullVO(ManagedDataType entity)
ManagedDataTypeDao
RemoteManagedDataTypeFullVO
.
toRemoteManagedDataTypeFullVO
in interface ManagedDataTypeDao
ManagedDataTypeDao.toRemoteManagedDataTypeFullVO(fr.ifremer.allegro.administration.user.ManagedDataType)
public void remoteManagedDataTypeFullVOToEntity(RemoteManagedDataTypeFullVO source, ManagedDataType target, boolean copyIfNull)
ManagedDataTypeDao
RemoteManagedDataTypeFullVO
to the specified entity.
remoteManagedDataTypeFullVOToEntity
in interface ManagedDataTypeDao
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.administration.user.ManagedDataTypeDao#remoteManagedDataTypeFullVOToEntity(fr.ifremer.allegro.administration.user.generic.vo.RemoteManagedDataTypeFullVO, fr.ifremer.allegro.administration.user.ManagedDataType)
public final void toRemoteManagedDataTypeNaturalIdCollection(java.util.Collection entities)
ManagedDataTypeDao
RemoteManagedDataTypeNaturalId
.
toRemoteManagedDataTypeNaturalIdCollection
in interface ManagedDataTypeDao
ManagedDataTypeDao.toRemoteManagedDataTypeNaturalIdCollection(java.util.Collection)
public final RemoteManagedDataTypeNaturalId[] toRemoteManagedDataTypeNaturalIdArray(java.util.Collection entities)
ManagedDataTypeDao
RemoteManagedDataTypeNaturalId
.
toRemoteManagedDataTypeNaturalIdArray
in interface ManagedDataTypeDao
ManagedDataTypeDao.toRemoteManagedDataTypeNaturalIdArray(java.util.Collection)
protected RemoteManagedDataTypeNaturalId toRemoteManagedDataTypeNaturalId(java.lang.Object[] row)
ManagedDataTypeDaoImpl
class if you intend to use reporting queries.
ManagedDataTypeDao.toRemoteManagedDataTypeNaturalId(fr.ifremer.allegro.administration.user.ManagedDataType)
public final void remoteManagedDataTypeNaturalIdToEntityCollection(java.util.Collection instances)
ManagedDataTypeDao
RemoteManagedDataTypeNaturalId
to this
DAO's entity.
remoteManagedDataTypeNaturalIdToEntityCollection
in interface ManagedDataTypeDao
ManagedDataTypeDao.remoteManagedDataTypeNaturalIdToEntityCollection(java.util.Collection)
public void toRemoteManagedDataTypeNaturalId(ManagedDataType source, RemoteManagedDataTypeNaturalId target)
ManagedDataTypeDao
toRemoteManagedDataTypeNaturalId
in interface ManagedDataTypeDao
ManagedDataTypeDao.toRemoteManagedDataTypeNaturalId(fr.ifremer.allegro.administration.user.ManagedDataType, fr.ifremer.allegro.administration.user.generic.vo.RemoteManagedDataTypeNaturalId)
public RemoteManagedDataTypeNaturalId toRemoteManagedDataTypeNaturalId(ManagedDataType entity)
ManagedDataTypeDao
RemoteManagedDataTypeNaturalId
.
toRemoteManagedDataTypeNaturalId
in interface ManagedDataTypeDao
ManagedDataTypeDao.toRemoteManagedDataTypeNaturalId(fr.ifremer.allegro.administration.user.ManagedDataType)
public void remoteManagedDataTypeNaturalIdToEntity(RemoteManagedDataTypeNaturalId source, ManagedDataType target, boolean copyIfNull)
ManagedDataTypeDao
RemoteManagedDataTypeNaturalId
to the specified entity.
remoteManagedDataTypeNaturalIdToEntity
in interface ManagedDataTypeDao
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.administration.user.ManagedDataTypeDao#remoteManagedDataTypeNaturalIdToEntity(fr.ifremer.allegro.administration.user.generic.vo.RemoteManagedDataTypeNaturalId, fr.ifremer.allegro.administration.user.ManagedDataType)
public final void toClusterManagedDataTypeCollection(java.util.Collection entities)
ManagedDataTypeDao
ClusterManagedDataType
.
toClusterManagedDataTypeCollection
in interface ManagedDataTypeDao
ManagedDataTypeDao.toClusterManagedDataTypeCollection(java.util.Collection)
public final ClusterManagedDataType[] toClusterManagedDataTypeArray(java.util.Collection entities)
ManagedDataTypeDao
ClusterManagedDataType
.
toClusterManagedDataTypeArray
in interface ManagedDataTypeDao
ManagedDataTypeDao.toClusterManagedDataTypeArray(java.util.Collection)
protected ClusterManagedDataType toClusterManagedDataType(java.lang.Object[] row)
ManagedDataTypeDaoImpl
class if you intend to use reporting queries.
ManagedDataTypeDao.toClusterManagedDataType(fr.ifremer.allegro.administration.user.ManagedDataType)
public final void clusterManagedDataTypeToEntityCollection(java.util.Collection instances)
ManagedDataTypeDao
ClusterManagedDataType
to this
DAO's entity.
clusterManagedDataTypeToEntityCollection
in interface ManagedDataTypeDao
ManagedDataTypeDao.clusterManagedDataTypeToEntityCollection(java.util.Collection)
public void toClusterManagedDataType(ManagedDataType source, ClusterManagedDataType target)
ManagedDataTypeDao
toClusterManagedDataType
in interface ManagedDataTypeDao
ManagedDataTypeDao.toClusterManagedDataType(fr.ifremer.allegro.administration.user.ManagedDataType, fr.ifremer.allegro.administration.user.generic.cluster.ClusterManagedDataType)
public ClusterManagedDataType toClusterManagedDataType(ManagedDataType entity)
ManagedDataTypeDao
ClusterManagedDataType
.
toClusterManagedDataType
in interface ManagedDataTypeDao
ManagedDataTypeDao.toClusterManagedDataType(fr.ifremer.allegro.administration.user.ManagedDataType)
public void clusterManagedDataTypeToEntity(ClusterManagedDataType source, ManagedDataType target, boolean copyIfNull)
ManagedDataTypeDao
ClusterManagedDataType
to the specified entity.
clusterManagedDataTypeToEntity
in interface ManagedDataTypeDao
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.administration.user.ManagedDataTypeDao#clusterManagedDataTypeToEntity(fr.ifremer.allegro.administration.user.generic.cluster.ClusterManagedDataType, fr.ifremer.allegro.administration.user.ManagedDataType)
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)
ManagedDataTypeDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface ManagedDataTypeDao
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.ManagedDataTypeDao.search(int, int, int, fr.ifremer.allegro.Search)
public PaginationResult search(int pageNumber, int pageSize, Search search)
ManagedDataTypeDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface ManagedDataTypeDao
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.ManagedDataTypeDao.search(int, int, fr.ifremer.allegro.Search)
public java.util.Set search(int transform, Search search)
ManagedDataTypeDao
ManagedDataTypeDao.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 ManagedDataTypeDao
transform
- the transformation flag.search
- the search object which provides the search parameters and pagination specification.
ManagedDataTypeDao.search(int, fr.ifremer.allegro.Search)
public java.util.Set search(Search search)
ManagedDataTypeDao
search
object.
search
in interface ManagedDataTypeDao
search
- the search object which provides the search parameters and pagination specification.
ManagedDataTypeDao.search(fr.ifremer.allegro.Search)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |