|
||||||||||
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.ManagedDataDaoBase
public abstract class ManagedDataDaoBase
Base Spring DAO Class: is able to create, update, remove, load, and find
objects of type fr.ifremer.allegro.administration.user.ManagedData
.
ManagedData
Field Summary |
---|
Fields inherited from interface fr.ifremer.allegro.administration.user.ManagedDataDao |
---|
TRANSFORM_CLUSTERMANAGEDDATA, TRANSFORM_NONE, TRANSFORM_REMOTEMANAGEDDATAFULLVO, TRANSFORM_REMOTEMANAGEDDATANATURALID |
Constructor Summary | |
---|---|
ManagedDataDaoBase()
|
Method Summary | |
---|---|
void |
clusterManagedDataToEntity(ClusterManagedData source,
ManagedData target,
boolean copyIfNull)
Copies the fields of ClusterManagedData to the specified entity. |
void |
clusterManagedDataToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type ClusterManagedData to this
DAO's entity. |
java.util.Collection |
create(java.util.Collection entities)
Creates a new instance of fr.ifremer.allegro.administration.user.ManagedData and adds from the passed in entities collection |
java.util.Collection |
create(int transform,
java.util.Collection entities)
Does the same thing as ManagedDataDao.create(fr.ifremer.allegro.administration.user.ManagedData) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
ManagedData managedData)
Does the same thing as ManagedDataDao.create(fr.ifremer.allegro.administration.user.ManagedData) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
ManagedDataType managedDataType,
User managerUser)
Does the same thing as ManagedDataDao.create(fr.ifremer.allegro.administration.user.ManagedDataType,fr.ifremer.allegro.administration.user.User) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
java.sql.Timestamp updateDate,
User managerUser,
User supervisorUser,
ManagedDataType managedDataType,
java.util.Collection vesselManagePeriods,
java.util.Collection managedDataTransfers,
java.util.Collection viewerUser)
Does the same thing as ManagedDataDao.create(java.sql.Timestamp,fr.ifremer.allegro.administration.user.User,fr.ifremer.allegro.administration.user.User,fr.ifremer.allegro.administration.user.ManagedDataType,java.util.Collection,java.util.Collection,java.util.Collection) with an
additional flag called transform . |
ManagedData |
create(ManagedData managedData)
Creates an instance of fr.ifremer.allegro.administration.user.ManagedData and adds it to the persistent store. |
ManagedData |
create(ManagedDataType managedDataType,
User managerUser)
Creates a new fr.ifremer.allegro.administration.user.ManagedData
instance from only required properties (attributes
and association ends) and adds it to the persistent store. |
ManagedData |
create(java.sql.Timestamp updateDate,
User managerUser,
User supervisorUser,
ManagedDataType managedDataType,
java.util.Collection vesselManagePeriods,
java.util.Collection managedDataTransfers,
java.util.Collection viewerUser)
Creates a new fr.ifremer.allegro.administration.user.ManagedData
instance from all attributes and
properties and adds it to the persistent store. |
ManagedData |
createFromClusterManagedData(ClusterManagedData clusterManagedData)
|
ManagedData |
findManagedDataById(java.lang.Integer id)
|
java.lang.Object |
findManagedDataById(int transform,
java.lang.Integer id)
Does the same thing as ManagedDataDao.findManagedDataById(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findManagedDataById(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as ManagedDataDao.findManagedDataById(int, java.lang.Integer) with an
additional argument called queryString . |
ManagedData |
findManagedDataById(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as ManagedDataDao.findManagedDataById(java.lang.Integer) with an
additional argument called queryString . |
java.util.Collection |
findManagedDataByManagedDataType(int transform,
int pageNumber,
int pageSize,
ManagedDataType managedDataType)
Does the same thing as ManagedDataDao.findManagedDataByManagedDataType(int, fr.ifremer.allegro.administration.user.ManagedDataType) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findManagedDataByManagedDataType(int pageNumber,
int pageSize,
ManagedDataType managedDataType)
Does the same thing as ManagedDataDao.findManagedDataByManagedDataType(fr.ifremer.allegro.administration.user.ManagedDataType) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findManagedDataByManagedDataType(int transform,
ManagedDataType managedDataType)
Does the same thing as ManagedDataDao.findManagedDataByManagedDataType(fr.ifremer.allegro.administration.user.ManagedDataType) with an
additional flag called transform . |
java.util.Collection |
findManagedDataByManagedDataType(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
ManagedDataType managedDataType)
Does the same thing as ManagedDataDao.findManagedDataByManagedDataType(int, String, fr.ifremer.allegro.administration.user.ManagedDataType) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findManagedDataByManagedDataType(int transform,
java.lang.String queryString,
ManagedDataType managedDataType)
Does the same thing as ManagedDataDao.findManagedDataByManagedDataType(int, fr.ifremer.allegro.administration.user.ManagedDataType) with an
additional argument called queryString . |
java.util.Collection |
findManagedDataByManagedDataType(ManagedDataType managedDataType)
|
java.util.Collection |
findManagedDataByManagedDataType(java.lang.String queryString,
int pageNumber,
int pageSize,
ManagedDataType managedDataType)
Does the same thing as ManagedDataDao.findManagedDataByManagedDataType(String, fr.ifremer.allegro.administration.user.ManagedDataType) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findManagedDataByManagedDataType(java.lang.String queryString,
ManagedDataType managedDataType)
Does the same thing as ManagedDataDao.findManagedDataByManagedDataType(fr.ifremer.allegro.administration.user.ManagedDataType) with an
additional argument called queryString . |
java.util.Collection |
findManagedDataByManagerUser(int transform,
int pageNumber,
int pageSize,
User managerUser)
Does the same thing as ManagedDataDao.findManagedDataByManagerUser(int, fr.ifremer.allegro.administration.user.User) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findManagedDataByManagerUser(int pageNumber,
int pageSize,
User managerUser)
Does the same thing as ManagedDataDao.findManagedDataByManagerUser(fr.ifremer.allegro.administration.user.User) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findManagedDataByManagerUser(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
User managerUser)
Does the same thing as ManagedDataDao.findManagedDataByManagerUser(int, String, fr.ifremer.allegro.administration.user.User) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findManagedDataByManagerUser(int transform,
java.lang.String queryString,
User managerUser)
Does the same thing as ManagedDataDao.findManagedDataByManagerUser(int, fr.ifremer.allegro.administration.user.User) with an
additional argument called queryString . |
java.util.Collection |
findManagedDataByManagerUser(int transform,
User managerUser)
Does the same thing as ManagedDataDao.findManagedDataByManagerUser(fr.ifremer.allegro.administration.user.User) with an
additional flag called transform . |
java.util.Collection |
findManagedDataByManagerUser(java.lang.String queryString,
int pageNumber,
int pageSize,
User managerUser)
Does the same thing as ManagedDataDao.findManagedDataByManagerUser(String, fr.ifremer.allegro.administration.user.User) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findManagedDataByManagerUser(java.lang.String queryString,
User managerUser)
Does the same thing as ManagedDataDao.findManagedDataByManagerUser(fr.ifremer.allegro.administration.user.User) with an
additional argument called queryString . |
java.util.Collection |
findManagedDataByManagerUser(User managerUser)
|
ManagedData |
findManagedDataByNaturalId(java.lang.Integer id)
|
java.lang.Object |
findManagedDataByNaturalId(int transform,
java.lang.Integer id)
Does the same thing as ManagedDataDao.findManagedDataByNaturalId(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findManagedDataByNaturalId(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as ManagedDataDao.findManagedDataByNaturalId(int, java.lang.Integer) with an
additional argument called queryString . |
ManagedData |
findManagedDataByNaturalId(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as ManagedDataDao.findManagedDataByNaturalId(java.lang.Integer) with an
additional argument called queryString . |
java.util.Collection |
findManagedDataBySupervisorUser(int transform,
int pageNumber,
int pageSize,
User supervisorUser)
Does the same thing as ManagedDataDao.findManagedDataBySupervisorUser(int, fr.ifremer.allegro.administration.user.User) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findManagedDataBySupervisorUser(int pageNumber,
int pageSize,
User supervisorUser)
Does the same thing as ManagedDataDao.findManagedDataBySupervisorUser(fr.ifremer.allegro.administration.user.User) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findManagedDataBySupervisorUser(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
User supervisorUser)
Does the same thing as ManagedDataDao.findManagedDataBySupervisorUser(int, String, fr.ifremer.allegro.administration.user.User) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findManagedDataBySupervisorUser(int transform,
java.lang.String queryString,
User supervisorUser)
Does the same thing as ManagedDataDao.findManagedDataBySupervisorUser(int, fr.ifremer.allegro.administration.user.User) with an
additional argument called queryString . |
java.util.Collection |
findManagedDataBySupervisorUser(int transform,
User supervisorUser)
Does the same thing as ManagedDataDao.findManagedDataBySupervisorUser(fr.ifremer.allegro.administration.user.User) with an
additional flag called transform . |
java.util.Collection |
findManagedDataBySupervisorUser(java.lang.String queryString,
int pageNumber,
int pageSize,
User supervisorUser)
Does the same thing as ManagedDataDao.findManagedDataBySupervisorUser(String, fr.ifremer.allegro.administration.user.User) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findManagedDataBySupervisorUser(java.lang.String queryString,
User supervisorUser)
Does the same thing as ManagedDataDao.findManagedDataBySupervisorUser(fr.ifremer.allegro.administration.user.User) with an
additional argument called queryString . |
java.util.Collection |
findManagedDataBySupervisorUser(User supervisorUser)
|
ClusterManagedData[] |
getAllClusterManagedDataSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize,
java.lang.Integer[] managedDataIds)
|
java.util.Collection |
getAllManagedData()
|
java.util.Collection |
getAllManagedData(int transform)
Does the same thing as ManagedDataDao.getAllManagedData() with an
additional flag called transform . |
java.util.Collection |
getAllManagedData(int pageNumber,
int pageSize)
Does the same thing as ManagedDataDao.getAllManagedData() with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllManagedData(int transform,
int pageNumber,
int pageSize)
Does the same thing as ManagedDataDao.getAllManagedData(int) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllManagedData(int transform,
java.lang.String queryString)
Does the same thing as ManagedDataDao.getAllManagedData(int) with an
additional argument called queryString . |
java.util.Collection |
getAllManagedData(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as ManagedDataDao.getAllManagedData(int, String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllManagedData(java.lang.String queryString)
Does the same thing as ManagedDataDao.getAllManagedData() with an
additional argument called queryString . |
java.util.Collection |
getAllManagedData(java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as ManagedDataDao.getAllManagedData(String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllManagedDataSinceDateSynchro(int transform,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as ManagedDataDao.getAllManagedDataSinceDateSynchro(int, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllManagedDataSinceDateSynchro(int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as ManagedDataDao.getAllManagedDataSinceDateSynchro(java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllManagedDataSinceDateSynchro(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as ManagedDataDao.getAllManagedDataSinceDateSynchro(int, String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllManagedDataSinceDateSynchro(int transform,
java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as ManagedDataDao.getAllManagedDataSinceDateSynchro(int, java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllManagedDataSinceDateSynchro(int transform,
java.sql.Timestamp updateDate)
Does the same thing as ManagedDataDao.getAllManagedDataSinceDateSynchro(java.sql.Timestamp) with an
additional flag called transform . |
java.util.Collection |
getAllManagedDataSinceDateSynchro(java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as ManagedDataDao.getAllManagedDataSinceDateSynchro(String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllManagedDataSinceDateSynchro(java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as ManagedDataDao.getAllManagedDataSinceDateSynchro(java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllManagedDataSinceDateSynchro(java.sql.Timestamp updateDate)
|
protected ManagedDataTransferDao |
getManagedDataTransferDao()
Gets the reference to managedDataTransferDao . |
protected ManagedDataTypeDao |
getManagedDataTypeDao()
Gets the reference to managedDataTypeDao . |
protected java.security.Principal |
getPrincipal()
Gets the current principal if one has been set,
otherwise returns null . |
protected UserDao |
getUserDao()
Gets the reference to userDao . |
protected VesselManagePeriodDao |
getVesselManagePeriodDao()
Gets the reference to vesselManagePeriodDao . |
protected abstract ManagedData |
handleCreateFromClusterManagedData(ClusterManagedData clusterManagedData)
Performs the core logic for createFromClusterManagedData(fr.ifremer.allegro.administration.user.generic.cluster.ClusterManagedData) |
protected abstract ClusterManagedData[] |
handleGetAllClusterManagedDataSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize,
java.lang.Integer[] managedDataIds)
Performs the core logic for getAllClusterManagedDataSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer, java.lang.Integer[]) |
ManagedData |
load(java.lang.Integer id)
Loads an instance of fr.ifremer.allegro.administration.user.ManagedData from the persistent store. |
java.lang.Object |
load(int transform,
java.lang.Integer id)
Does the same thing as ManagedDataDao.load(java.lang.Integer) with an
additional flag called transform . |
java.util.Collection |
loadAll()
Loads all entities of type ManagedData . |
java.util.Collection |
loadAll(int transform)
Does the same thing as ManagedDataDao.loadAll() with an
additional flag called transform . |
java.util.Collection |
loadAll(int pageNumber,
int pageSize)
Does the same thing as ManagedDataDao.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 ManagedDataDao.loadAll(int) with an
additional two arguments called pageNumber and pageSize . |
void |
remoteManagedDataFullVOToEntity(RemoteManagedDataFullVO source,
ManagedData target,
boolean copyIfNull)
Copies the fields of RemoteManagedDataFullVO to the specified entity. |
void |
remoteManagedDataFullVOToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteManagedDataFullVO to this
DAO's entity. |
void |
remoteManagedDataNaturalIdToEntity(RemoteManagedDataNaturalId source,
ManagedData target,
boolean copyIfNull)
Copies the fields of RemoteManagedDataNaturalId to the specified entity. |
void |
remoteManagedDataNaturalIdToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteManagedDataNaturalId 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.ManagedData having the given identifier from the persistent store. |
void |
remove(ManagedData managedData)
Removes the instance of fr.ifremer.allegro.administration.user.ManagedData 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 ManagedDataDao.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 |
setManagedDataTransferDao(ManagedDataTransferDao managedDataTransferDao)
Sets the reference to managedDataTransferDao . |
void |
setManagedDataTypeDao(ManagedDataTypeDao managedDataTypeDao)
Sets the reference to managedDataTypeDao . |
void |
setUserDao(UserDao userDao)
Sets the reference to userDao . |
void |
setVesselManagePeriodDao(VesselManagePeriodDao vesselManagePeriodDao)
Sets the reference to vesselManagePeriodDao . |
ClusterManagedData |
toClusterManagedData(ManagedData entity)
Converts this DAO's entity to an object of type ClusterManagedData . |
void |
toClusterManagedData(ManagedData source,
ClusterManagedData target)
Copies the fields of the specified entity to the target value object. |
protected ClusterManagedData |
toClusterManagedData(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
ClusterManagedData[] |
toClusterManagedDataArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type ClusterManagedData . |
void |
toClusterManagedDataCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type ClusterManagedData . |
protected ManagedData |
toEntity(java.lang.Object[] row)
|
RemoteManagedDataFullVO |
toRemoteManagedDataFullVO(ManagedData entity)
Converts this DAO's entity to an object of type RemoteManagedDataFullVO . |
void |
toRemoteManagedDataFullVO(ManagedData source,
RemoteManagedDataFullVO target)
Copies the fields of the specified entity to the target value object. |
protected RemoteManagedDataFullVO |
toRemoteManagedDataFullVO(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteManagedDataFullVO[] |
toRemoteManagedDataFullVOArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteManagedDataFullVO . |
void |
toRemoteManagedDataFullVOCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteManagedDataFullVO . |
RemoteManagedDataNaturalId |
toRemoteManagedDataNaturalId(ManagedData entity)
Converts this DAO's entity to an object of type RemoteManagedDataNaturalId . |
void |
toRemoteManagedDataNaturalId(ManagedData source,
RemoteManagedDataNaturalId target)
Copies the fields of the specified entity to the target value object. |
protected RemoteManagedDataNaturalId |
toRemoteManagedDataNaturalId(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteManagedDataNaturalId[] |
toRemoteManagedDataNaturalIdArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteManagedDataNaturalId . |
void |
toRemoteManagedDataNaturalIdCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteManagedDataNaturalId . |
protected void |
transformEntities(int transform,
java.util.Collection entities)
Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.administration.user.ManagedData)
method. |
protected java.lang.Object |
transformEntity(int transform,
ManagedData 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.ManagedDataDao , please note
that the ManagedDataDao.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(ManagedData managedData)
Updates the managedData 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.ManagedDataDao |
---|
clusterManagedDataToEntity, remoteManagedDataFullVOToEntity, remoteManagedDataNaturalIdToEntity |
Constructor Detail |
---|
public ManagedDataDaoBase()
Method Detail |
---|
public void setUserDao(UserDao userDao)
userDao
.
protected UserDao getUserDao()
userDao
.
public void setManagedDataTypeDao(ManagedDataTypeDao managedDataTypeDao)
managedDataTypeDao
.
protected ManagedDataTypeDao getManagedDataTypeDao()
managedDataTypeDao
.
public void setManagedDataTransferDao(ManagedDataTransferDao managedDataTransferDao)
managedDataTransferDao
.
protected ManagedDataTransferDao getManagedDataTransferDao()
managedDataTransferDao
.
public void setVesselManagePeriodDao(VesselManagePeriodDao vesselManagePeriodDao)
vesselManagePeriodDao
.
protected VesselManagePeriodDao getVesselManagePeriodDao()
vesselManagePeriodDao
.
public java.lang.Object load(int transform, java.lang.Integer id)
ManagedDataDao
Does the same thing as ManagedDataDao.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 ManagedDataDao
id
- identifier of the entity to load
ManagedDataDao.load(int, java.lang.Integer)
public ManagedData load(java.lang.Integer id)
ManagedDataDao
load
in interface ManagedDataDao
ManagedDataDao.load(java.lang.Integer)
public java.util.Collection loadAll()
ManagedDataDao
ManagedData
.
loadAll
in interface ManagedDataDao
ManagedDataDao.loadAll()
public java.util.Collection loadAll(int transform)
ManagedDataDao
Does the same thing as ManagedDataDao.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 ManagedDataDao
transform
- the flag indicating what transformation to use.
ManagedDataDao.loadAll(int)
public java.util.Collection loadAll(int pageNumber, int pageSize)
ManagedDataDao
Does the same thing as ManagedDataDao.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 ManagedDataDao
pageNumber
- the page number to retrieve when paging results.pageSize
- the size of the page to retrieve when paging results.
ManagedDataDao.loadAll(int, int)
public java.util.Collection loadAll(int transform, int pageNumber, int pageSize)
ManagedDataDao
Does the same thing as ManagedDataDao.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 ManagedDataDao
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.
ManagedDataDao.loadAll(int, int, int)
public ManagedData create(ManagedData managedData)
ManagedDataDao
create
in interface ManagedDataDao
ManagedDataDao.create(fr.ifremer.allegro.administration.user.ManagedData)
public java.lang.Object create(int transform, ManagedData managedData)
ManagedDataDao
Does the same thing as ManagedDataDao.create(fr.ifremer.allegro.administration.user.ManagedData)
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 ManagedDataDao
ManagedDataDao.create(int transform, fr.ifremer.allegro.administration.user.ManagedData)
public java.util.Collection create(java.util.Collection entities)
ManagedDataDao
entities
collection
create
in interface ManagedDataDao
entities
- the collection of fr.ifremer.allegro.administration.user.ManagedData
instances to create.
ManagedDataDao.create(java.util.Collection)
public java.util.Collection create(int transform, java.util.Collection entities)
ManagedDataDao
Does the same thing as ManagedDataDao.create(fr.ifremer.allegro.administration.user.ManagedData)
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 ManagedDataDao
ManagedDataDao.create(int, java.util.Collection)
public ManagedData create(java.sql.Timestamp updateDate, User managerUser, User supervisorUser, ManagedDataType managedDataType, java.util.Collection vesselManagePeriods, java.util.Collection managedDataTransfers, java.util.Collection viewerUser)
ManagedDataDao
Creates a new fr.ifremer.allegro.administration.user.ManagedData
instance from all attributes and
properties and adds it to the persistent store.
create
in interface ManagedDataDao
ManagedDataDao.create(java.sql.Timestamp,fr.ifremer.allegro.administration.user.User,fr.ifremer.allegro.administration.user.User,fr.ifremer.allegro.administration.user.ManagedDataType,java.util.Collection,java.util.Collection,java.util.Collection)
public java.lang.Object create(int transform, java.sql.Timestamp updateDate, User managerUser, User supervisorUser, ManagedDataType managedDataType, java.util.Collection vesselManagePeriods, java.util.Collection managedDataTransfers, java.util.Collection viewerUser)
ManagedDataDao
Does the same thing as ManagedDataDao.create(java.sql.Timestamp,fr.ifremer.allegro.administration.user.User,fr.ifremer.allegro.administration.user.User,fr.ifremer.allegro.administration.user.ManagedDataType,java.util.Collection,java.util.Collection,java.util.Collection)
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 ManagedDataDao
ManagedDataDao.create(int, java.sql.Timestamp,fr.ifremer.allegro.administration.user.User,fr.ifremer.allegro.administration.user.User,fr.ifremer.allegro.administration.user.ManagedDataType,java.util.Collection,java.util.Collection,java.util.Collection)
public ManagedData create(ManagedDataType managedDataType, User managerUser)
ManagedDataDao
Creates a new fr.ifremer.allegro.administration.user.ManagedData
instance from only required properties (attributes
and association ends) and adds it to the persistent store.
create
in interface ManagedDataDao
ManagedDataDao.create(fr.ifremer.allegro.administration.user.ManagedDataType,fr.ifremer.allegro.administration.user.User)
public java.lang.Object create(int transform, ManagedDataType managedDataType, User managerUser)
ManagedDataDao
Does the same thing as ManagedDataDao.create(fr.ifremer.allegro.administration.user.ManagedDataType,fr.ifremer.allegro.administration.user.User)
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 ManagedDataDao
ManagedDataDao.create(int, fr.ifremer.allegro.administration.user.ManagedDataType,fr.ifremer.allegro.administration.user.User)
public void update(ManagedData managedData)
ManagedDataDao
managedData
instance in the persistent store.
update
in interface ManagedDataDao
ManagedDataDao.update(fr.ifremer.allegro.administration.user.ManagedData)
public void update(java.util.Collection entities)
ManagedDataDao
entities
collection in the persistent store.
update
in interface ManagedDataDao
ManagedDataDao.update(java.util.Collection)
public void remove(ManagedData managedData)
ManagedDataDao
remove
in interface ManagedDataDao
ManagedDataDao.remove(fr.ifremer.allegro.administration.user.ManagedData)
public void remove(java.lang.Integer id)
ManagedDataDao
identifier
from the persistent store.
remove
in interface ManagedDataDao
ManagedDataDao.remove(java.lang.Integer)
public void remove(java.util.Collection entities)
ManagedDataDao
entities collection.
- Specified by:
remove
in interface ManagedDataDao
- See Also:
ManagedDataDao.remove(java.util.Collection)
public java.util.Collection getAllManagedData()
getAllManagedData
in interface ManagedDataDao
ManagedDataDao.getAllManagedData()
public java.util.Collection getAllManagedData(int transform)
ManagedDataDao
Does the same thing as ManagedDataDao.getAllManagedData()
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.
getAllManagedData
in interface ManagedDataDao
ManagedDataDao.getAllManagedData(int)
public java.util.Collection getAllManagedData(java.lang.String queryString)
ManagedDataDao
Does the same thing as ManagedDataDao.getAllManagedData()
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ManagedDataDao.getAllManagedData()
.
getAllManagedData
in interface ManagedDataDao
ManagedDataDao.getAllManagedData(java.lang.String)
public java.util.Collection getAllManagedData(int pageNumber, int pageSize)
ManagedDataDao
Does the same thing as ManagedDataDao.getAllManagedData()
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.
getAllManagedData
in interface ManagedDataDao
ManagedDataDao.getAllManagedData(int, int)
public java.util.Collection getAllManagedData(java.lang.String queryString, int pageNumber, int pageSize)
ManagedDataDao
Does the same thing as ManagedDataDao.getAllManagedData(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.
getAllManagedData
in interface ManagedDataDao
ManagedDataDao.getAllManagedData(String, int, int)
public java.util.Collection getAllManagedData(int transform, java.lang.String queryString)
ManagedDataDao
Does the same thing as ManagedDataDao.getAllManagedData(int)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ManagedDataDao.getAllManagedData(int)
.
getAllManagedData
in interface ManagedDataDao
ManagedDataDao.getAllManagedData(int, String)
public java.util.Collection getAllManagedData(int transform, int pageNumber, int pageSize)
ManagedDataDao
Does the same thing as ManagedDataDao.getAllManagedData(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.
getAllManagedData
in interface ManagedDataDao
ManagedDataDao.getAllManagedData(int, int, int)
public java.util.Collection getAllManagedData(int transform, java.lang.String queryString, int pageNumber, int pageSize)
ManagedDataDao
Does the same thing as ManagedDataDao.getAllManagedData(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.
getAllManagedData
in interface ManagedDataDao
ManagedDataDao.getAllManagedData(int, java.lang.String, int, int)
public ManagedData findManagedDataById(java.lang.Integer id)
findManagedDataById
in interface ManagedDataDao
ManagedDataDao.findManagedDataById(java.lang.Integer)
public java.lang.Object findManagedDataById(int transform, java.lang.Integer id)
ManagedDataDao
Does the same thing as ManagedDataDao.findManagedDataById(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.
findManagedDataById
in interface ManagedDataDao
ManagedDataDao.findManagedDataById(int, java.lang.Integer)
public ManagedData findManagedDataById(java.lang.String queryString, java.lang.Integer id)
ManagedDataDao
Does the same thing as ManagedDataDao.findManagedDataById(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ManagedDataDao.findManagedDataById(java.lang.Integer)
.
findManagedDataById
in interface ManagedDataDao
ManagedDataDao.findManagedDataById(java.lang.String, java.lang.Integer)
public java.lang.Object findManagedDataById(int transform, java.lang.String queryString, java.lang.Integer id)
ManagedDataDao
Does the same thing as ManagedDataDao.findManagedDataById(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ManagedDataDao.findManagedDataById(int, java.lang.Integer id)
.
findManagedDataById
in interface ManagedDataDao
ManagedDataDao.findManagedDataById(int, java.lang.String, java.lang.Integer)
public java.util.Collection findManagedDataBySupervisorUser(User supervisorUser)
findManagedDataBySupervisorUser
in interface ManagedDataDao
ManagedDataDao.findManagedDataBySupervisorUser(fr.ifremer.allegro.administration.user.User)
public java.util.Collection findManagedDataBySupervisorUser(int transform, User supervisorUser)
ManagedDataDao
Does the same thing as ManagedDataDao.findManagedDataBySupervisorUser(fr.ifremer.allegro.administration.user.User)
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.
findManagedDataBySupervisorUser
in interface ManagedDataDao
ManagedDataDao.findManagedDataBySupervisorUser(int, fr.ifremer.allegro.administration.user.User)
public java.util.Collection findManagedDataBySupervisorUser(java.lang.String queryString, User supervisorUser)
ManagedDataDao
Does the same thing as ManagedDataDao.findManagedDataBySupervisorUser(fr.ifremer.allegro.administration.user.User)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ManagedDataDao.findManagedDataBySupervisorUser(fr.ifremer.allegro.administration.user.User)
.
findManagedDataBySupervisorUser
in interface ManagedDataDao
ManagedDataDao.findManagedDataBySupervisorUser(java.lang.String, fr.ifremer.allegro.administration.user.User)
public java.util.Collection findManagedDataBySupervisorUser(int pageNumber, int pageSize, User supervisorUser)
ManagedDataDao
Does the same thing as ManagedDataDao.findManagedDataBySupervisorUser(fr.ifremer.allegro.administration.user.User)
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.
findManagedDataBySupervisorUser
in interface ManagedDataDao
ManagedDataDao.findManagedDataBySupervisorUser(int, int, fr.ifremer.allegro.administration.user.User)
public java.util.Collection findManagedDataBySupervisorUser(java.lang.String queryString, int pageNumber, int pageSize, User supervisorUser)
ManagedDataDao
Does the same thing as ManagedDataDao.findManagedDataBySupervisorUser(String, fr.ifremer.allegro.administration.user.User)
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.
findManagedDataBySupervisorUser
in interface ManagedDataDao
ManagedDataDao.findManagedDataBySupervisorUser(String, int, int, fr.ifremer.allegro.administration.user.User)
public java.util.Collection findManagedDataBySupervisorUser(int transform, java.lang.String queryString, User supervisorUser)
ManagedDataDao
Does the same thing as ManagedDataDao.findManagedDataBySupervisorUser(int, fr.ifremer.allegro.administration.user.User)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ManagedDataDao.findManagedDataBySupervisorUser(int, fr.ifremer.allegro.administration.user.User supervisorUser)
.
findManagedDataBySupervisorUser
in interface ManagedDataDao
ManagedDataDao.findManagedDataBySupervisorUser(int, String, fr.ifremer.allegro.administration.user.User)
public java.util.Collection findManagedDataBySupervisorUser(int transform, int pageNumber, int pageSize, User supervisorUser)
ManagedDataDao
Does the same thing as ManagedDataDao.findManagedDataBySupervisorUser(int, fr.ifremer.allegro.administration.user.User)
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.
findManagedDataBySupervisorUser
in interface ManagedDataDao
ManagedDataDao.findManagedDataBySupervisorUser(int, int, int, fr.ifremer.allegro.administration.user.User)
public java.util.Collection findManagedDataBySupervisorUser(int transform, java.lang.String queryString, int pageNumber, int pageSize, User supervisorUser)
ManagedDataDao
Does the same thing as ManagedDataDao.findManagedDataBySupervisorUser(int, String, fr.ifremer.allegro.administration.user.User)
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.
findManagedDataBySupervisorUser
in interface ManagedDataDao
ManagedDataDao.findManagedDataBySupervisorUser(int, java.lang.String, int, int, fr.ifremer.allegro.administration.user.User)
public java.util.Collection findManagedDataByManagedDataType(ManagedDataType managedDataType)
findManagedDataByManagedDataType
in interface ManagedDataDao
ManagedDataDao.findManagedDataByManagedDataType(fr.ifremer.allegro.administration.user.ManagedDataType)
public java.util.Collection findManagedDataByManagedDataType(int transform, ManagedDataType managedDataType)
ManagedDataDao
Does the same thing as ManagedDataDao.findManagedDataByManagedDataType(fr.ifremer.allegro.administration.user.ManagedDataType)
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.
findManagedDataByManagedDataType
in interface ManagedDataDao
ManagedDataDao.findManagedDataByManagedDataType(int, fr.ifremer.allegro.administration.user.ManagedDataType)
public java.util.Collection findManagedDataByManagedDataType(java.lang.String queryString, ManagedDataType managedDataType)
ManagedDataDao
Does the same thing as ManagedDataDao.findManagedDataByManagedDataType(fr.ifremer.allegro.administration.user.ManagedDataType)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ManagedDataDao.findManagedDataByManagedDataType(fr.ifremer.allegro.administration.user.ManagedDataType)
.
findManagedDataByManagedDataType
in interface ManagedDataDao
ManagedDataDao.findManagedDataByManagedDataType(java.lang.String, fr.ifremer.allegro.administration.user.ManagedDataType)
public java.util.Collection findManagedDataByManagedDataType(int pageNumber, int pageSize, ManagedDataType managedDataType)
ManagedDataDao
Does the same thing as ManagedDataDao.findManagedDataByManagedDataType(fr.ifremer.allegro.administration.user.ManagedDataType)
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.
findManagedDataByManagedDataType
in interface ManagedDataDao
ManagedDataDao.findManagedDataByManagedDataType(int, int, fr.ifremer.allegro.administration.user.ManagedDataType)
public java.util.Collection findManagedDataByManagedDataType(java.lang.String queryString, int pageNumber, int pageSize, ManagedDataType managedDataType)
ManagedDataDao
Does the same thing as ManagedDataDao.findManagedDataByManagedDataType(String, fr.ifremer.allegro.administration.user.ManagedDataType)
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.
findManagedDataByManagedDataType
in interface ManagedDataDao
ManagedDataDao.findManagedDataByManagedDataType(String, int, int, fr.ifremer.allegro.administration.user.ManagedDataType)
public java.util.Collection findManagedDataByManagedDataType(int transform, java.lang.String queryString, ManagedDataType managedDataType)
ManagedDataDao
Does the same thing as ManagedDataDao.findManagedDataByManagedDataType(int, fr.ifremer.allegro.administration.user.ManagedDataType)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ManagedDataDao.findManagedDataByManagedDataType(int, fr.ifremer.allegro.administration.user.ManagedDataType managedDataType)
.
findManagedDataByManagedDataType
in interface ManagedDataDao
ManagedDataDao.findManagedDataByManagedDataType(int, String, fr.ifremer.allegro.administration.user.ManagedDataType)
public java.util.Collection findManagedDataByManagedDataType(int transform, int pageNumber, int pageSize, ManagedDataType managedDataType)
ManagedDataDao
Does the same thing as ManagedDataDao.findManagedDataByManagedDataType(int, fr.ifremer.allegro.administration.user.ManagedDataType)
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.
findManagedDataByManagedDataType
in interface ManagedDataDao
ManagedDataDao.findManagedDataByManagedDataType(int, int, int, fr.ifremer.allegro.administration.user.ManagedDataType)
public java.util.Collection findManagedDataByManagedDataType(int transform, java.lang.String queryString, int pageNumber, int pageSize, ManagedDataType managedDataType)
ManagedDataDao
Does the same thing as ManagedDataDao.findManagedDataByManagedDataType(int, String, fr.ifremer.allegro.administration.user.ManagedDataType)
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.
findManagedDataByManagedDataType
in interface ManagedDataDao
ManagedDataDao.findManagedDataByManagedDataType(int, java.lang.String, int, int, fr.ifremer.allegro.administration.user.ManagedDataType)
public java.util.Collection findManagedDataByManagerUser(User managerUser)
findManagedDataByManagerUser
in interface ManagedDataDao
ManagedDataDao.findManagedDataByManagerUser(fr.ifremer.allegro.administration.user.User)
public java.util.Collection findManagedDataByManagerUser(int transform, User managerUser)
ManagedDataDao
Does the same thing as ManagedDataDao.findManagedDataByManagerUser(fr.ifremer.allegro.administration.user.User)
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.
findManagedDataByManagerUser
in interface ManagedDataDao
ManagedDataDao.findManagedDataByManagerUser(int, fr.ifremer.allegro.administration.user.User)
public java.util.Collection findManagedDataByManagerUser(java.lang.String queryString, User managerUser)
ManagedDataDao
Does the same thing as ManagedDataDao.findManagedDataByManagerUser(fr.ifremer.allegro.administration.user.User)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ManagedDataDao.findManagedDataByManagerUser(fr.ifremer.allegro.administration.user.User)
.
findManagedDataByManagerUser
in interface ManagedDataDao
ManagedDataDao.findManagedDataByManagerUser(java.lang.String, fr.ifremer.allegro.administration.user.User)
public java.util.Collection findManagedDataByManagerUser(int pageNumber, int pageSize, User managerUser)
ManagedDataDao
Does the same thing as ManagedDataDao.findManagedDataByManagerUser(fr.ifremer.allegro.administration.user.User)
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.
findManagedDataByManagerUser
in interface ManagedDataDao
ManagedDataDao.findManagedDataByManagerUser(int, int, fr.ifremer.allegro.administration.user.User)
public java.util.Collection findManagedDataByManagerUser(java.lang.String queryString, int pageNumber, int pageSize, User managerUser)
ManagedDataDao
Does the same thing as ManagedDataDao.findManagedDataByManagerUser(String, fr.ifremer.allegro.administration.user.User)
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.
findManagedDataByManagerUser
in interface ManagedDataDao
ManagedDataDao.findManagedDataByManagerUser(String, int, int, fr.ifremer.allegro.administration.user.User)
public java.util.Collection findManagedDataByManagerUser(int transform, java.lang.String queryString, User managerUser)
ManagedDataDao
Does the same thing as ManagedDataDao.findManagedDataByManagerUser(int, fr.ifremer.allegro.administration.user.User)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ManagedDataDao.findManagedDataByManagerUser(int, fr.ifremer.allegro.administration.user.User managerUser)
.
findManagedDataByManagerUser
in interface ManagedDataDao
ManagedDataDao.findManagedDataByManagerUser(int, String, fr.ifremer.allegro.administration.user.User)
public java.util.Collection findManagedDataByManagerUser(int transform, int pageNumber, int pageSize, User managerUser)
ManagedDataDao
Does the same thing as ManagedDataDao.findManagedDataByManagerUser(int, fr.ifremer.allegro.administration.user.User)
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.
findManagedDataByManagerUser
in interface ManagedDataDao
ManagedDataDao.findManagedDataByManagerUser(int, int, int, fr.ifremer.allegro.administration.user.User)
public java.util.Collection findManagedDataByManagerUser(int transform, java.lang.String queryString, int pageNumber, int pageSize, User managerUser)
ManagedDataDao
Does the same thing as ManagedDataDao.findManagedDataByManagerUser(int, String, fr.ifremer.allegro.administration.user.User)
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.
findManagedDataByManagerUser
in interface ManagedDataDao
ManagedDataDao.findManagedDataByManagerUser(int, java.lang.String, int, int, fr.ifremer.allegro.administration.user.User)
public ManagedData findManagedDataByNaturalId(java.lang.Integer id)
findManagedDataByNaturalId
in interface ManagedDataDao
ManagedDataDao.findManagedDataByNaturalId(java.lang.Integer)
public java.lang.Object findManagedDataByNaturalId(int transform, java.lang.Integer id)
ManagedDataDao
Does the same thing as ManagedDataDao.findManagedDataByNaturalId(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.
findManagedDataByNaturalId
in interface ManagedDataDao
ManagedDataDao.findManagedDataByNaturalId(int, java.lang.Integer)
public ManagedData findManagedDataByNaturalId(java.lang.String queryString, java.lang.Integer id)
ManagedDataDao
Does the same thing as ManagedDataDao.findManagedDataByNaturalId(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ManagedDataDao.findManagedDataByNaturalId(java.lang.Integer)
.
findManagedDataByNaturalId
in interface ManagedDataDao
ManagedDataDao.findManagedDataByNaturalId(java.lang.String, java.lang.Integer)
public java.lang.Object findManagedDataByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
ManagedDataDao
Does the same thing as ManagedDataDao.findManagedDataByNaturalId(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ManagedDataDao.findManagedDataByNaturalId(int, java.lang.Integer id)
.
findManagedDataByNaturalId
in interface ManagedDataDao
ManagedDataDao.findManagedDataByNaturalId(int, java.lang.String, java.lang.Integer)
public java.util.Collection getAllManagedDataSinceDateSynchro(java.sql.Timestamp updateDate)
getAllManagedDataSinceDateSynchro
in interface ManagedDataDao
ManagedDataDao.getAllManagedDataSinceDateSynchro(java.sql.Timestamp)
public java.util.Collection getAllManagedDataSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
ManagedDataDao
Does the same thing as ManagedDataDao.getAllManagedDataSinceDateSynchro(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.
getAllManagedDataSinceDateSynchro
in interface ManagedDataDao
ManagedDataDao.getAllManagedDataSinceDateSynchro(int, java.sql.Timestamp)
public java.util.Collection getAllManagedDataSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
ManagedDataDao
Does the same thing as ManagedDataDao.getAllManagedDataSinceDateSynchro(java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ManagedDataDao.getAllManagedDataSinceDateSynchro(java.sql.Timestamp)
.
getAllManagedDataSinceDateSynchro
in interface ManagedDataDao
ManagedDataDao.getAllManagedDataSinceDateSynchro(java.lang.String, java.sql.Timestamp)
public java.util.Collection getAllManagedDataSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
ManagedDataDao
Does the same thing as ManagedDataDao.getAllManagedDataSinceDateSynchro(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.
getAllManagedDataSinceDateSynchro
in interface ManagedDataDao
ManagedDataDao.getAllManagedDataSinceDateSynchro(int, int, java.sql.Timestamp)
public java.util.Collection getAllManagedDataSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
ManagedDataDao
Does the same thing as ManagedDataDao.getAllManagedDataSinceDateSynchro(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.
getAllManagedDataSinceDateSynchro
in interface ManagedDataDao
ManagedDataDao.getAllManagedDataSinceDateSynchro(String, int, int, java.sql.Timestamp)
public java.util.Collection getAllManagedDataSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
ManagedDataDao
Does the same thing as ManagedDataDao.getAllManagedDataSinceDateSynchro(int, java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ManagedDataDao.getAllManagedDataSinceDateSynchro(int, java.sql.Timestamp updateDate)
.
getAllManagedDataSinceDateSynchro
in interface ManagedDataDao
ManagedDataDao.getAllManagedDataSinceDateSynchro(int, String, java.sql.Timestamp)
public java.util.Collection getAllManagedDataSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
ManagedDataDao
Does the same thing as ManagedDataDao.getAllManagedDataSinceDateSynchro(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.
getAllManagedDataSinceDateSynchro
in interface ManagedDataDao
ManagedDataDao.getAllManagedDataSinceDateSynchro(int, int, int, java.sql.Timestamp)
public java.util.Collection getAllManagedDataSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
ManagedDataDao
Does the same thing as ManagedDataDao.getAllManagedDataSinceDateSynchro(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.
getAllManagedDataSinceDateSynchro
in interface ManagedDataDao
ManagedDataDao.getAllManagedDataSinceDateSynchro(int, java.lang.String, int, int, java.sql.Timestamp)
public ManagedData createFromClusterManagedData(ClusterManagedData clusterManagedData)
createFromClusterManagedData
in interface ManagedDataDao
ManagedDataDao.createFromClusterManagedData(fr.ifremer.allegro.administration.user.generic.cluster.ClusterManagedData)
protected abstract ManagedData handleCreateFromClusterManagedData(ClusterManagedData clusterManagedData) throws java.lang.Exception
createFromClusterManagedData(fr.ifremer.allegro.administration.user.generic.cluster.ClusterManagedData)
java.lang.Exception
public ClusterManagedData[] getAllClusterManagedDataSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize, java.lang.Integer[] managedDataIds)
getAllClusterManagedDataSinceDateSynchro
in interface ManagedDataDao
ManagedDataDao.getAllClusterManagedDataSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer, java.lang.Integer[])
protected abstract ClusterManagedData[] handleGetAllClusterManagedDataSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize, java.lang.Integer[] managedDataIds) throws java.lang.Exception
getAllClusterManagedDataSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer, java.lang.Integer[])
java.lang.Exception
protected java.lang.Object transformEntity(int transform, ManagedData entity)
transform
flag is set to one of the constants defined in fr.ifremer.allegro.administration.user.ManagedDataDao
, please note
that the ManagedDataDao.TRANSFORM_NONE
constant denotes no transformation, so the entity itself
will be returned.
This method will return instances of these types:
ManagedData
- ManagedDataDao.TRANSFORM_NONE
RemoteManagedDataFullVO
- TRANSFORM_REMOTEMANAGEDDATAFULLVO
RemoteManagedDataNaturalId
- TRANSFORM_REMOTEMANAGEDDATANATURALID
ClusterManagedData
- TRANSFORM_CLUSTERMANAGEDDATA
ManagedDataDao.TRANSFORM_NONE
is assumed.
transform
- one of the constants declared in ManagedDataDao
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.ManagedData)
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.ManagedDataDao
entities
- the collection of entities to transformtransformEntity(int,fr.ifremer.allegro.administration.user.ManagedData)
protected ManagedData toEntity(java.lang.Object[] row)
public final void toRemoteManagedDataFullVOCollection(java.util.Collection entities)
ManagedDataDao
RemoteManagedDataFullVO
.
toRemoteManagedDataFullVOCollection
in interface ManagedDataDao
ManagedDataDao.toRemoteManagedDataFullVOCollection(java.util.Collection)
public final RemoteManagedDataFullVO[] toRemoteManagedDataFullVOArray(java.util.Collection entities)
ManagedDataDao
RemoteManagedDataFullVO
.
toRemoteManagedDataFullVOArray
in interface ManagedDataDao
ManagedDataDao.toRemoteManagedDataFullVOArray(java.util.Collection)
protected RemoteManagedDataFullVO toRemoteManagedDataFullVO(java.lang.Object[] row)
ManagedDataDaoImpl
class if you intend to use reporting queries.
ManagedDataDao.toRemoteManagedDataFullVO(fr.ifremer.allegro.administration.user.ManagedData)
public final void remoteManagedDataFullVOToEntityCollection(java.util.Collection instances)
ManagedDataDao
RemoteManagedDataFullVO
to this
DAO's entity.
remoteManagedDataFullVOToEntityCollection
in interface ManagedDataDao
ManagedDataDao.remoteManagedDataFullVOToEntityCollection(java.util.Collection)
public void toRemoteManagedDataFullVO(ManagedData source, RemoteManagedDataFullVO target)
ManagedDataDao
toRemoteManagedDataFullVO
in interface ManagedDataDao
ManagedDataDao.toRemoteManagedDataFullVO(fr.ifremer.allegro.administration.user.ManagedData, fr.ifremer.allegro.administration.user.generic.vo.RemoteManagedDataFullVO)
public RemoteManagedDataFullVO toRemoteManagedDataFullVO(ManagedData entity)
ManagedDataDao
RemoteManagedDataFullVO
.
toRemoteManagedDataFullVO
in interface ManagedDataDao
ManagedDataDao.toRemoteManagedDataFullVO(fr.ifremer.allegro.administration.user.ManagedData)
public void remoteManagedDataFullVOToEntity(RemoteManagedDataFullVO source, ManagedData target, boolean copyIfNull)
ManagedDataDao
RemoteManagedDataFullVO
to the specified entity.
remoteManagedDataFullVOToEntity
in interface ManagedDataDao
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.ManagedDataDao#remoteManagedDataFullVOToEntity(fr.ifremer.allegro.administration.user.generic.vo.RemoteManagedDataFullVO, fr.ifremer.allegro.administration.user.ManagedData)
public final void toRemoteManagedDataNaturalIdCollection(java.util.Collection entities)
ManagedDataDao
RemoteManagedDataNaturalId
.
toRemoteManagedDataNaturalIdCollection
in interface ManagedDataDao
ManagedDataDao.toRemoteManagedDataNaturalIdCollection(java.util.Collection)
public final RemoteManagedDataNaturalId[] toRemoteManagedDataNaturalIdArray(java.util.Collection entities)
ManagedDataDao
RemoteManagedDataNaturalId
.
toRemoteManagedDataNaturalIdArray
in interface ManagedDataDao
ManagedDataDao.toRemoteManagedDataNaturalIdArray(java.util.Collection)
protected RemoteManagedDataNaturalId toRemoteManagedDataNaturalId(java.lang.Object[] row)
ManagedDataDaoImpl
class if you intend to use reporting queries.
ManagedDataDao.toRemoteManagedDataNaturalId(fr.ifremer.allegro.administration.user.ManagedData)
public final void remoteManagedDataNaturalIdToEntityCollection(java.util.Collection instances)
ManagedDataDao
RemoteManagedDataNaturalId
to this
DAO's entity.
remoteManagedDataNaturalIdToEntityCollection
in interface ManagedDataDao
ManagedDataDao.remoteManagedDataNaturalIdToEntityCollection(java.util.Collection)
public void toRemoteManagedDataNaturalId(ManagedData source, RemoteManagedDataNaturalId target)
ManagedDataDao
toRemoteManagedDataNaturalId
in interface ManagedDataDao
ManagedDataDao.toRemoteManagedDataNaturalId(fr.ifremer.allegro.administration.user.ManagedData, fr.ifremer.allegro.administration.user.generic.vo.RemoteManagedDataNaturalId)
public RemoteManagedDataNaturalId toRemoteManagedDataNaturalId(ManagedData entity)
ManagedDataDao
RemoteManagedDataNaturalId
.
toRemoteManagedDataNaturalId
in interface ManagedDataDao
ManagedDataDao.toRemoteManagedDataNaturalId(fr.ifremer.allegro.administration.user.ManagedData)
public void remoteManagedDataNaturalIdToEntity(RemoteManagedDataNaturalId source, ManagedData target, boolean copyIfNull)
ManagedDataDao
RemoteManagedDataNaturalId
to the specified entity.
remoteManagedDataNaturalIdToEntity
in interface ManagedDataDao
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.ManagedDataDao#remoteManagedDataNaturalIdToEntity(fr.ifremer.allegro.administration.user.generic.vo.RemoteManagedDataNaturalId, fr.ifremer.allegro.administration.user.ManagedData)
public final void toClusterManagedDataCollection(java.util.Collection entities)
ManagedDataDao
ClusterManagedData
.
toClusterManagedDataCollection
in interface ManagedDataDao
ManagedDataDao.toClusterManagedDataCollection(java.util.Collection)
public final ClusterManagedData[] toClusterManagedDataArray(java.util.Collection entities)
ManagedDataDao
ClusterManagedData
.
toClusterManagedDataArray
in interface ManagedDataDao
ManagedDataDao.toClusterManagedDataArray(java.util.Collection)
protected ClusterManagedData toClusterManagedData(java.lang.Object[] row)
ManagedDataDaoImpl
class if you intend to use reporting queries.
ManagedDataDao.toClusterManagedData(fr.ifremer.allegro.administration.user.ManagedData)
public final void clusterManagedDataToEntityCollection(java.util.Collection instances)
ManagedDataDao
ClusterManagedData
to this
DAO's entity.
clusterManagedDataToEntityCollection
in interface ManagedDataDao
ManagedDataDao.clusterManagedDataToEntityCollection(java.util.Collection)
public void toClusterManagedData(ManagedData source, ClusterManagedData target)
ManagedDataDao
toClusterManagedData
in interface ManagedDataDao
ManagedDataDao.toClusterManagedData(fr.ifremer.allegro.administration.user.ManagedData, fr.ifremer.allegro.administration.user.generic.cluster.ClusterManagedData)
public ClusterManagedData toClusterManagedData(ManagedData entity)
ManagedDataDao
ClusterManagedData
.
toClusterManagedData
in interface ManagedDataDao
ManagedDataDao.toClusterManagedData(fr.ifremer.allegro.administration.user.ManagedData)
public void clusterManagedDataToEntity(ClusterManagedData source, ManagedData target, boolean copyIfNull)
ManagedDataDao
ClusterManagedData
to the specified entity.
clusterManagedDataToEntity
in interface ManagedDataDao
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.ManagedDataDao#clusterManagedDataToEntity(fr.ifremer.allegro.administration.user.generic.cluster.ClusterManagedData, fr.ifremer.allegro.administration.user.ManagedData)
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)
ManagedDataDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface ManagedDataDao
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.ManagedDataDao.search(int, int, int, fr.ifremer.allegro.Search)
public PaginationResult search(int pageNumber, int pageSize, Search search)
ManagedDataDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface ManagedDataDao
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.ManagedDataDao.search(int, int, fr.ifremer.allegro.Search)
public java.util.Set search(int transform, Search search)
ManagedDataDao
ManagedDataDao.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 ManagedDataDao
transform
- the transformation flag.search
- the search object which provides the search parameters and pagination specification.
ManagedDataDao.search(int, fr.ifremer.allegro.Search)
public java.util.Set search(Search search)
ManagedDataDao
search
object.
search
in interface ManagedDataDao
search
- the search object which provides the search parameters and pagination specification.
ManagedDataDao.search(fr.ifremer.allegro.Search)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |