|
||||||||||
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.VesselManagePeriodDaoBase
public abstract class VesselManagePeriodDaoBase
Base Spring DAO Class: is able to create, update, remove, load, and find
objects of type fr.ifremer.allegro.administration.user.VesselManagePeriod
.
VesselManagePeriod
Field Summary |
---|
Fields inherited from interface fr.ifremer.allegro.administration.user.VesselManagePeriodDao |
---|
TRANSFORM_CLUSTERVESSELMANAGEPERIOD, TRANSFORM_NONE, TRANSFORM_REMOTEVESSELMANAGEPERIODFULLVO, TRANSFORM_REMOTEVESSELMANAGEPERIODNATURALID |
Constructor Summary | |
---|---|
VesselManagePeriodDaoBase()
|
Method Summary | |
---|---|
void |
clusterVesselManagePeriodToEntity(ClusterVesselManagePeriod source,
VesselManagePeriod target,
boolean copyIfNull)
Copies the fields of ClusterVesselManagePeriod to the specified entity. |
void |
clusterVesselManagePeriodToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type ClusterVesselManagePeriod to this
DAO's entity. |
java.util.Collection |
create(java.util.Collection entities)
Creates a new instance of fr.ifremer.allegro.administration.user.VesselManagePeriod and adds from the passed in entities collection |
VesselManagePeriod |
create(java.util.Date startDateTime,
java.util.Date endDateTime,
ManagedData managedData,
Vessel vessel)
Creates a new fr.ifremer.allegro.administration.user.VesselManagePeriod
instance from all attributes and
properties and adds it to the persistent store. |
java.util.Collection |
create(int transform,
java.util.Collection entities)
Does the same thing as VesselManagePeriodDao.create(fr.ifremer.allegro.administration.user.VesselManagePeriod) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
java.util.Date startDateTime,
java.util.Date endDateTime,
ManagedData managedData,
Vessel vessel)
Does the same thing as VesselManagePeriodDao.create(java.util.Date,java.util.Date,fr.ifremer.allegro.administration.user.ManagedData,fr.ifremer.allegro.referential.vessel.Vessel) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
ManagedData managedData,
java.util.Date startDateTime,
Vessel vessel)
Does the same thing as VesselManagePeriodDao.create(fr.ifremer.allegro.administration.user.ManagedData,java.util.Date,fr.ifremer.allegro.referential.vessel.Vessel) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
VesselManagePeriod vesselManagePeriod)
Does the same thing as VesselManagePeriodDao.create(fr.ifremer.allegro.administration.user.VesselManagePeriod) with an
additional flag called transform . |
VesselManagePeriod |
create(ManagedData managedData,
java.util.Date startDateTime,
Vessel vessel)
Creates a new fr.ifremer.allegro.administration.user.VesselManagePeriod
instance from only required properties (attributes
and association ends) and adds it to the persistent store. |
VesselManagePeriod |
create(VesselManagePeriod vesselManagePeriod)
Creates an instance of fr.ifremer.allegro.administration.user.VesselManagePeriod and adds it to the persistent store. |
VesselManagePeriod |
createFromClusterVesselManagePeriod(ClusterVesselManagePeriod clusterVesselManagePeriod)
|
VesselManagePeriod |
findVesselManagePeriodByIdentifiers(java.util.Date startDateTime,
ManagedData managedData,
Vessel vessel)
|
java.lang.Object |
findVesselManagePeriodByIdentifiers(int transform,
java.util.Date startDateTime,
ManagedData managedData,
Vessel vessel)
Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByIdentifiers(java.util.Date, fr.ifremer.allegro.administration.user.ManagedData, fr.ifremer.allegro.referential.vessel.Vessel) with an
additional flag called transform . |
java.lang.Object |
findVesselManagePeriodByIdentifiers(int transform,
java.lang.String queryString,
java.util.Date startDateTime,
ManagedData managedData,
Vessel vessel)
Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByIdentifiers(int, java.util.Date, fr.ifremer.allegro.administration.user.ManagedData, fr.ifremer.allegro.referential.vessel.Vessel) with an
additional argument called queryString . |
VesselManagePeriod |
findVesselManagePeriodByIdentifiers(java.lang.String queryString,
java.util.Date startDateTime,
ManagedData managedData,
Vessel vessel)
Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByIdentifiers(java.util.Date, fr.ifremer.allegro.administration.user.ManagedData, fr.ifremer.allegro.referential.vessel.Vessel) with an
additional argument called queryString . |
java.util.Collection |
findVesselManagePeriodByManagedData(int transform,
int pageNumber,
int pageSize,
ManagedData managedData)
Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByManagedData(int, fr.ifremer.allegro.administration.user.ManagedData) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findVesselManagePeriodByManagedData(int pageNumber,
int pageSize,
ManagedData managedData)
Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByManagedData(fr.ifremer.allegro.administration.user.ManagedData) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findVesselManagePeriodByManagedData(int transform,
ManagedData managedData)
Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByManagedData(fr.ifremer.allegro.administration.user.ManagedData) with an
additional flag called transform . |
java.util.Collection |
findVesselManagePeriodByManagedData(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
ManagedData managedData)
Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByManagedData(int, String, fr.ifremer.allegro.administration.user.ManagedData) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findVesselManagePeriodByManagedData(int transform,
java.lang.String queryString,
ManagedData managedData)
Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByManagedData(int, fr.ifremer.allegro.administration.user.ManagedData) with an
additional argument called queryString . |
java.util.Collection |
findVesselManagePeriodByManagedData(ManagedData managedData)
|
java.util.Collection |
findVesselManagePeriodByManagedData(java.lang.String queryString,
int pageNumber,
int pageSize,
ManagedData managedData)
Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByManagedData(String, fr.ifremer.allegro.administration.user.ManagedData) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findVesselManagePeriodByManagedData(java.lang.String queryString,
ManagedData managedData)
Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByManagedData(fr.ifremer.allegro.administration.user.ManagedData) with an
additional argument called queryString . |
VesselManagePeriod |
findVesselManagePeriodByNaturalId(java.util.Date startDateTime,
ManagedData managedData,
Vessel vessel)
|
java.lang.Object |
findVesselManagePeriodByNaturalId(int transform,
java.util.Date startDateTime,
ManagedData managedData,
Vessel vessel)
Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByNaturalId(java.util.Date, fr.ifremer.allegro.administration.user.ManagedData, fr.ifremer.allegro.referential.vessel.Vessel) with an
additional flag called transform . |
java.lang.Object |
findVesselManagePeriodByNaturalId(int transform,
java.lang.String queryString,
java.util.Date startDateTime,
ManagedData managedData,
Vessel vessel)
Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByNaturalId(int, java.util.Date, fr.ifremer.allegro.administration.user.ManagedData, fr.ifremer.allegro.referential.vessel.Vessel) with an
additional argument called queryString . |
VesselManagePeriod |
findVesselManagePeriodByNaturalId(java.lang.String queryString,
java.util.Date startDateTime,
ManagedData managedData,
Vessel vessel)
Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByNaturalId(java.util.Date, fr.ifremer.allegro.administration.user.ManagedData, fr.ifremer.allegro.referential.vessel.Vessel) with an
additional argument called queryString . |
java.util.Collection |
findVesselManagePeriodByStartDateTime(java.util.Date startDateTime)
|
java.util.Collection |
findVesselManagePeriodByStartDateTime(int transform,
java.util.Date startDateTime)
Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByStartDateTime(java.util.Date) with an
additional flag called transform . |
java.util.Collection |
findVesselManagePeriodByStartDateTime(int pageNumber,
int pageSize,
java.util.Date startDateTime)
Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByStartDateTime(java.util.Date) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findVesselManagePeriodByStartDateTime(int transform,
int pageNumber,
int pageSize,
java.util.Date startDateTime)
Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByStartDateTime(int, java.util.Date) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findVesselManagePeriodByStartDateTime(int transform,
java.lang.String queryString,
java.util.Date startDateTime)
Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByStartDateTime(int, java.util.Date) with an
additional argument called queryString . |
java.util.Collection |
findVesselManagePeriodByStartDateTime(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
java.util.Date startDateTime)
Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByStartDateTime(int, String, java.util.Date) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findVesselManagePeriodByStartDateTime(java.lang.String queryString,
java.util.Date startDateTime)
Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByStartDateTime(java.util.Date) with an
additional argument called queryString . |
java.util.Collection |
findVesselManagePeriodByStartDateTime(java.lang.String queryString,
int pageNumber,
int pageSize,
java.util.Date startDateTime)
Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByStartDateTime(String, java.util.Date) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findVesselManagePeriodByVessel(int transform,
int pageNumber,
int pageSize,
Vessel vessel)
Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByVessel(int, fr.ifremer.allegro.referential.vessel.Vessel) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findVesselManagePeriodByVessel(int pageNumber,
int pageSize,
Vessel vessel)
Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByVessel(fr.ifremer.allegro.referential.vessel.Vessel) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findVesselManagePeriodByVessel(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
Vessel vessel)
Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByVessel(int, String, fr.ifremer.allegro.referential.vessel.Vessel) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findVesselManagePeriodByVessel(int transform,
java.lang.String queryString,
Vessel vessel)
Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByVessel(int, fr.ifremer.allegro.referential.vessel.Vessel) with an
additional argument called queryString . |
java.util.Collection |
findVesselManagePeriodByVessel(int transform,
Vessel vessel)
Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByVessel(fr.ifremer.allegro.referential.vessel.Vessel) with an
additional flag called transform . |
java.util.Collection |
findVesselManagePeriodByVessel(java.lang.String queryString,
int pageNumber,
int pageSize,
Vessel vessel)
Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByVessel(String, fr.ifremer.allegro.referential.vessel.Vessel) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findVesselManagePeriodByVessel(java.lang.String queryString,
Vessel vessel)
Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByVessel(fr.ifremer.allegro.referential.vessel.Vessel) with an
additional argument called queryString . |
java.util.Collection |
findVesselManagePeriodByVessel(Vessel vessel)
|
java.util.Collection |
getAllVesselManagePeriod()
|
java.util.Collection |
getAllVesselManagePeriod(int transform)
Does the same thing as VesselManagePeriodDao.getAllVesselManagePeriod() with an
additional flag called transform . |
java.util.Collection |
getAllVesselManagePeriod(int pageNumber,
int pageSize)
Does the same thing as VesselManagePeriodDao.getAllVesselManagePeriod() with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllVesselManagePeriod(int transform,
int pageNumber,
int pageSize)
Does the same thing as VesselManagePeriodDao.getAllVesselManagePeriod(int) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllVesselManagePeriod(int transform,
java.lang.String queryString)
Does the same thing as VesselManagePeriodDao.getAllVesselManagePeriod(int) with an
additional argument called queryString . |
java.util.Collection |
getAllVesselManagePeriod(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as VesselManagePeriodDao.getAllVesselManagePeriod(int, String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllVesselManagePeriod(java.lang.String queryString)
Does the same thing as VesselManagePeriodDao.getAllVesselManagePeriod() with an
additional argument called queryString . |
java.util.Collection |
getAllVesselManagePeriod(java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as VesselManagePeriodDao.getAllVesselManagePeriod(String) with an
additional two arguments called pageNumber and pageSize . |
protected ManagedDataDao |
getManagedDataDao()
Gets the reference to managedDataDao . |
protected java.security.Principal |
getPrincipal()
Gets the current principal if one has been set,
otherwise returns null . |
protected VesselDao |
getVesselDao()
Gets the reference to vesselDao . |
protected abstract VesselManagePeriod |
handleCreateFromClusterVesselManagePeriod(ClusterVesselManagePeriod clusterVesselManagePeriod)
Performs the core logic for createFromClusterVesselManagePeriod(fr.ifremer.allegro.administration.user.generic.cluster.ClusterVesselManagePeriod) |
VesselManagePeriod |
load(java.util.Date startDateTime,
ManagedData managedData,
Vessel vessel)
Loads an instance of fr.ifremer.allegro.administration.user.VesselManagePeriod from the persistent store. |
java.lang.Object |
load(int transform,
java.util.Date startDateTime,
ManagedData managedData,
Vessel vessel)
Does the same thing as VesselManagePeriodDao.load(java.util.Date,fr.ifremer.allegro.administration.user.ManagedData,fr.ifremer.allegro.referential.vessel.Vessel) with an
additional flag called transform . |
java.util.Collection |
loadAll()
Loads all entities of type VesselManagePeriod . |
java.util.Collection |
loadAll(int transform)
Does the same thing as VesselManagePeriodDao.loadAll() with an
additional flag called transform . |
java.util.Collection |
loadAll(int pageNumber,
int pageSize)
Does the same thing as VesselManagePeriodDao.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 VesselManagePeriodDao.loadAll(int) with an
additional two arguments called pageNumber and pageSize . |
void |
remoteVesselManagePeriodFullVOToEntity(RemoteVesselManagePeriodFullVO source,
VesselManagePeriod target,
boolean copyIfNull)
Copies the fields of RemoteVesselManagePeriodFullVO to the specified entity. |
void |
remoteVesselManagePeriodFullVOToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteVesselManagePeriodFullVO to this
DAO's entity. |
void |
remoteVesselManagePeriodNaturalIdToEntity(RemoteVesselManagePeriodNaturalId source,
VesselManagePeriod target,
boolean copyIfNull)
Copies the fields of RemoteVesselManagePeriodNaturalId to the specified entity. |
void |
remoteVesselManagePeriodNaturalIdToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteVesselManagePeriodNaturalId to this
DAO's entity. |
void |
remove(java.util.Collection entities)
Removes all entities in the given entities |
void |
remove(java.util.Date startDateTime,
ManagedData managedData,
Vessel vessel)
Removes the instance of fr.ifremer.allegro.administration.user.VesselManagePeriod having the given identifiers from the persistent store. |
void |
remove(VesselManagePeriod vesselManagePeriod)
Removes the instance of fr.ifremer.allegro.administration.user.VesselManagePeriod 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 VesselManagePeriodDao.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 |
setManagedDataDao(ManagedDataDao managedDataDao)
Sets the reference to managedDataDao . |
void |
setVesselDao(VesselDao vesselDao)
Sets the reference to vesselDao . |
protected ClusterVesselManagePeriod |
toClusterVesselManagePeriod(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
ClusterVesselManagePeriod |
toClusterVesselManagePeriod(VesselManagePeriod entity)
Converts this DAO's entity to an object of type ClusterVesselManagePeriod . |
void |
toClusterVesselManagePeriod(VesselManagePeriod source,
ClusterVesselManagePeriod target)
Copies the fields of the specified entity to the target value object. |
ClusterVesselManagePeriod[] |
toClusterVesselManagePeriodArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type ClusterVesselManagePeriod . |
void |
toClusterVesselManagePeriodCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type ClusterVesselManagePeriod . |
protected VesselManagePeriod |
toEntity(java.lang.Object[] row)
|
protected RemoteVesselManagePeriodFullVO |
toRemoteVesselManagePeriodFullVO(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteVesselManagePeriodFullVO |
toRemoteVesselManagePeriodFullVO(VesselManagePeriod entity)
Converts this DAO's entity to an object of type RemoteVesselManagePeriodFullVO . |
void |
toRemoteVesselManagePeriodFullVO(VesselManagePeriod source,
RemoteVesselManagePeriodFullVO target)
Copies the fields of the specified entity to the target value object. |
RemoteVesselManagePeriodFullVO[] |
toRemoteVesselManagePeriodFullVOArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteVesselManagePeriodFullVO . |
void |
toRemoteVesselManagePeriodFullVOCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteVesselManagePeriodFullVO . |
protected RemoteVesselManagePeriodNaturalId |
toRemoteVesselManagePeriodNaturalId(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteVesselManagePeriodNaturalId |
toRemoteVesselManagePeriodNaturalId(VesselManagePeriod entity)
Converts this DAO's entity to an object of type RemoteVesselManagePeriodNaturalId . |
void |
toRemoteVesselManagePeriodNaturalId(VesselManagePeriod source,
RemoteVesselManagePeriodNaturalId target)
Copies the fields of the specified entity to the target value object. |
RemoteVesselManagePeriodNaturalId[] |
toRemoteVesselManagePeriodNaturalIdArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteVesselManagePeriodNaturalId . |
void |
toRemoteVesselManagePeriodNaturalIdCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteVesselManagePeriodNaturalId . |
protected void |
transformEntities(int transform,
java.util.Collection entities)
Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.administration.user.VesselManagePeriod)
method. |
protected java.lang.Object |
transformEntity(int transform,
VesselManagePeriod 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.VesselManagePeriodDao , please note
that the VesselManagePeriodDao.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(VesselManagePeriod vesselManagePeriod)
Updates the vesselManagePeriod 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.VesselManagePeriodDao |
---|
clusterVesselManagePeriodToEntity, remoteVesselManagePeriodFullVOToEntity, remoteVesselManagePeriodNaturalIdToEntity |
Constructor Detail |
---|
public VesselManagePeriodDaoBase()
Method Detail |
---|
public void setManagedDataDao(ManagedDataDao managedDataDao)
managedDataDao
.
protected ManagedDataDao getManagedDataDao()
managedDataDao
.
public void setVesselDao(VesselDao vesselDao)
vesselDao
.
protected VesselDao getVesselDao()
vesselDao
.
public java.lang.Object load(int transform, java.util.Date startDateTime, ManagedData managedData, Vessel vessel)
VesselManagePeriodDao
Does the same thing as VesselManagePeriodDao.load(java.util.Date,fr.ifremer.allegro.administration.user.ManagedData,fr.ifremer.allegro.referential.vessel.Vessel)
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 VesselManagePeriodDao
startDateTime
- identifier of the entity to loadmanagedData
- identifier of the entity to loadvessel
- identifier of the entity to load
VesselManagePeriodDao.load(int, java.util.Date,fr.ifremer.allegro.administration.user.ManagedData,fr.ifremer.allegro.referential.vessel.Vessel)
public VesselManagePeriod load(java.util.Date startDateTime, ManagedData managedData, Vessel vessel)
VesselManagePeriodDao
load
in interface VesselManagePeriodDao
VesselManagePeriodDao.load(java.util.Date,fr.ifremer.allegro.administration.user.ManagedData,fr.ifremer.allegro.referential.vessel.Vessel)
public java.util.Collection loadAll()
VesselManagePeriodDao
VesselManagePeriod
.
loadAll
in interface VesselManagePeriodDao
VesselManagePeriodDao.loadAll()
public java.util.Collection loadAll(int transform)
VesselManagePeriodDao
Does the same thing as VesselManagePeriodDao.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 VesselManagePeriodDao
transform
- the flag indicating what transformation to use.
VesselManagePeriodDao.loadAll(int)
public java.util.Collection loadAll(int pageNumber, int pageSize)
VesselManagePeriodDao
Does the same thing as VesselManagePeriodDao.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 VesselManagePeriodDao
pageNumber
- the page number to retrieve when paging results.pageSize
- the size of the page to retrieve when paging results.
VesselManagePeriodDao.loadAll(int, int)
public java.util.Collection loadAll(int transform, int pageNumber, int pageSize)
VesselManagePeriodDao
Does the same thing as VesselManagePeriodDao.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 VesselManagePeriodDao
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.
VesselManagePeriodDao.loadAll(int, int, int)
public VesselManagePeriod create(VesselManagePeriod vesselManagePeriod)
VesselManagePeriodDao
create
in interface VesselManagePeriodDao
VesselManagePeriodDao.create(fr.ifremer.allegro.administration.user.VesselManagePeriod)
public java.lang.Object create(int transform, VesselManagePeriod vesselManagePeriod)
VesselManagePeriodDao
Does the same thing as VesselManagePeriodDao.create(fr.ifremer.allegro.administration.user.VesselManagePeriod)
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 VesselManagePeriodDao
VesselManagePeriodDao.create(int transform, fr.ifremer.allegro.administration.user.VesselManagePeriod)
public java.util.Collection create(java.util.Collection entities)
VesselManagePeriodDao
entities
collection
create
in interface VesselManagePeriodDao
entities
- the collection of fr.ifremer.allegro.administration.user.VesselManagePeriod
instances to create.
VesselManagePeriodDao.create(java.util.Collection)
public java.util.Collection create(int transform, java.util.Collection entities)
VesselManagePeriodDao
Does the same thing as VesselManagePeriodDao.create(fr.ifremer.allegro.administration.user.VesselManagePeriod)
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 VesselManagePeriodDao
VesselManagePeriodDao.create(int, java.util.Collection)
public VesselManagePeriod create(java.util.Date startDateTime, java.util.Date endDateTime, ManagedData managedData, Vessel vessel)
VesselManagePeriodDao
Creates a new fr.ifremer.allegro.administration.user.VesselManagePeriod
instance from all attributes and
properties and adds it to the persistent store.
create
in interface VesselManagePeriodDao
VesselManagePeriodDao.create(java.util.Date,java.util.Date,fr.ifremer.allegro.administration.user.ManagedData,fr.ifremer.allegro.referential.vessel.Vessel)
public java.lang.Object create(int transform, java.util.Date startDateTime, java.util.Date endDateTime, ManagedData managedData, Vessel vessel)
VesselManagePeriodDao
Does the same thing as VesselManagePeriodDao.create(java.util.Date,java.util.Date,fr.ifremer.allegro.administration.user.ManagedData,fr.ifremer.allegro.referential.vessel.Vessel)
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 VesselManagePeriodDao
VesselManagePeriodDao.create(int, java.util.Date,java.util.Date,fr.ifremer.allegro.administration.user.ManagedData,fr.ifremer.allegro.referential.vessel.Vessel)
public VesselManagePeriod create(ManagedData managedData, java.util.Date startDateTime, Vessel vessel)
VesselManagePeriodDao
Creates a new fr.ifremer.allegro.administration.user.VesselManagePeriod
instance from only required properties (attributes
and association ends) and adds it to the persistent store.
create
in interface VesselManagePeriodDao
VesselManagePeriodDao.create(fr.ifremer.allegro.administration.user.ManagedData,java.util.Date,fr.ifremer.allegro.referential.vessel.Vessel)
public java.lang.Object create(int transform, ManagedData managedData, java.util.Date startDateTime, Vessel vessel)
VesselManagePeriodDao
Does the same thing as VesselManagePeriodDao.create(fr.ifremer.allegro.administration.user.ManagedData,java.util.Date,fr.ifremer.allegro.referential.vessel.Vessel)
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 VesselManagePeriodDao
VesselManagePeriodDao.create(int, fr.ifremer.allegro.administration.user.ManagedData,java.util.Date,fr.ifremer.allegro.referential.vessel.Vessel)
public void update(VesselManagePeriod vesselManagePeriod)
VesselManagePeriodDao
vesselManagePeriod
instance in the persistent store.
update
in interface VesselManagePeriodDao
VesselManagePeriodDao.update(fr.ifremer.allegro.administration.user.VesselManagePeriod)
public void update(java.util.Collection entities)
VesselManagePeriodDao
entities
collection in the persistent store.
update
in interface VesselManagePeriodDao
VesselManagePeriodDao.update(java.util.Collection)
public void remove(VesselManagePeriod vesselManagePeriod)
VesselManagePeriodDao
remove
in interface VesselManagePeriodDao
VesselManagePeriodDao.remove(fr.ifremer.allegro.administration.user.VesselManagePeriod)
public void remove(java.util.Date startDateTime, ManagedData managedData, Vessel vessel)
VesselManagePeriodDao
identifiers
from the persistent store.
remove
in interface VesselManagePeriodDao
VesselManagePeriodDao.remove(java.util.Date,fr.ifremer.allegro.administration.user.ManagedData,fr.ifremer.allegro.referential.vessel.Vessel)
public void remove(java.util.Collection entities)
VesselManagePeriodDao
entities collection.
- Specified by:
remove
in interface VesselManagePeriodDao
- See Also:
VesselManagePeriodDao.remove(java.util.Collection)
public java.util.Collection getAllVesselManagePeriod()
getAllVesselManagePeriod
in interface VesselManagePeriodDao
VesselManagePeriodDao.getAllVesselManagePeriod()
public java.util.Collection getAllVesselManagePeriod(int transform)
VesselManagePeriodDao
Does the same thing as VesselManagePeriodDao.getAllVesselManagePeriod()
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.
getAllVesselManagePeriod
in interface VesselManagePeriodDao
VesselManagePeriodDao.getAllVesselManagePeriod(int)
public java.util.Collection getAllVesselManagePeriod(java.lang.String queryString)
VesselManagePeriodDao
Does the same thing as VesselManagePeriodDao.getAllVesselManagePeriod()
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VesselManagePeriodDao.getAllVesselManagePeriod()
.
getAllVesselManagePeriod
in interface VesselManagePeriodDao
VesselManagePeriodDao.getAllVesselManagePeriod(java.lang.String)
public java.util.Collection getAllVesselManagePeriod(int pageNumber, int pageSize)
VesselManagePeriodDao
Does the same thing as VesselManagePeriodDao.getAllVesselManagePeriod()
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.
getAllVesselManagePeriod
in interface VesselManagePeriodDao
VesselManagePeriodDao.getAllVesselManagePeriod(int, int)
public java.util.Collection getAllVesselManagePeriod(java.lang.String queryString, int pageNumber, int pageSize)
VesselManagePeriodDao
Does the same thing as VesselManagePeriodDao.getAllVesselManagePeriod(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.
getAllVesselManagePeriod
in interface VesselManagePeriodDao
VesselManagePeriodDao.getAllVesselManagePeriod(String, int, int)
public java.util.Collection getAllVesselManagePeriod(int transform, java.lang.String queryString)
VesselManagePeriodDao
Does the same thing as VesselManagePeriodDao.getAllVesselManagePeriod(int)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VesselManagePeriodDao.getAllVesselManagePeriod(int)
.
getAllVesselManagePeriod
in interface VesselManagePeriodDao
VesselManagePeriodDao.getAllVesselManagePeriod(int, String)
public java.util.Collection getAllVesselManagePeriod(int transform, int pageNumber, int pageSize)
VesselManagePeriodDao
Does the same thing as VesselManagePeriodDao.getAllVesselManagePeriod(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.
getAllVesselManagePeriod
in interface VesselManagePeriodDao
VesselManagePeriodDao.getAllVesselManagePeriod(int, int, int)
public java.util.Collection getAllVesselManagePeriod(int transform, java.lang.String queryString, int pageNumber, int pageSize)
VesselManagePeriodDao
Does the same thing as VesselManagePeriodDao.getAllVesselManagePeriod(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.
getAllVesselManagePeriod
in interface VesselManagePeriodDao
VesselManagePeriodDao.getAllVesselManagePeriod(int, java.lang.String, int, int)
public java.util.Collection findVesselManagePeriodByStartDateTime(java.util.Date startDateTime)
findVesselManagePeriodByStartDateTime
in interface VesselManagePeriodDao
VesselManagePeriodDao.findVesselManagePeriodByStartDateTime(java.util.Date)
public java.util.Collection findVesselManagePeriodByStartDateTime(int transform, java.util.Date startDateTime)
VesselManagePeriodDao
Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByStartDateTime(java.util.Date)
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.
findVesselManagePeriodByStartDateTime
in interface VesselManagePeriodDao
VesselManagePeriodDao.findVesselManagePeriodByStartDateTime(int, java.util.Date)
public java.util.Collection findVesselManagePeriodByStartDateTime(java.lang.String queryString, java.util.Date startDateTime)
VesselManagePeriodDao
Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByStartDateTime(java.util.Date)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VesselManagePeriodDao.findVesselManagePeriodByStartDateTime(java.util.Date)
.
findVesselManagePeriodByStartDateTime
in interface VesselManagePeriodDao
VesselManagePeriodDao.findVesselManagePeriodByStartDateTime(java.lang.String, java.util.Date)
public java.util.Collection findVesselManagePeriodByStartDateTime(int pageNumber, int pageSize, java.util.Date startDateTime)
VesselManagePeriodDao
Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByStartDateTime(java.util.Date)
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.
findVesselManagePeriodByStartDateTime
in interface VesselManagePeriodDao
VesselManagePeriodDao.findVesselManagePeriodByStartDateTime(int, int, java.util.Date)
public java.util.Collection findVesselManagePeriodByStartDateTime(java.lang.String queryString, int pageNumber, int pageSize, java.util.Date startDateTime)
VesselManagePeriodDao
Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByStartDateTime(String, java.util.Date)
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.
findVesselManagePeriodByStartDateTime
in interface VesselManagePeriodDao
VesselManagePeriodDao.findVesselManagePeriodByStartDateTime(String, int, int, java.util.Date)
public java.util.Collection findVesselManagePeriodByStartDateTime(int transform, java.lang.String queryString, java.util.Date startDateTime)
VesselManagePeriodDao
Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByStartDateTime(int, java.util.Date)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VesselManagePeriodDao.findVesselManagePeriodByStartDateTime(int, java.util.Date startDateTime)
.
findVesselManagePeriodByStartDateTime
in interface VesselManagePeriodDao
VesselManagePeriodDao.findVesselManagePeriodByStartDateTime(int, String, java.util.Date)
public java.util.Collection findVesselManagePeriodByStartDateTime(int transform, int pageNumber, int pageSize, java.util.Date startDateTime)
VesselManagePeriodDao
Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByStartDateTime(int, java.util.Date)
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.
findVesselManagePeriodByStartDateTime
in interface VesselManagePeriodDao
VesselManagePeriodDao.findVesselManagePeriodByStartDateTime(int, int, int, java.util.Date)
public java.util.Collection findVesselManagePeriodByStartDateTime(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.util.Date startDateTime)
VesselManagePeriodDao
Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByStartDateTime(int, String, java.util.Date)
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.
findVesselManagePeriodByStartDateTime
in interface VesselManagePeriodDao
VesselManagePeriodDao.findVesselManagePeriodByStartDateTime(int, java.lang.String, int, int, java.util.Date)
public java.util.Collection findVesselManagePeriodByManagedData(ManagedData managedData)
findVesselManagePeriodByManagedData
in interface VesselManagePeriodDao
VesselManagePeriodDao.findVesselManagePeriodByManagedData(fr.ifremer.allegro.administration.user.ManagedData)
public java.util.Collection findVesselManagePeriodByManagedData(int transform, ManagedData managedData)
VesselManagePeriodDao
Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByManagedData(fr.ifremer.allegro.administration.user.ManagedData)
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.
findVesselManagePeriodByManagedData
in interface VesselManagePeriodDao
VesselManagePeriodDao.findVesselManagePeriodByManagedData(int, fr.ifremer.allegro.administration.user.ManagedData)
public java.util.Collection findVesselManagePeriodByManagedData(java.lang.String queryString, ManagedData managedData)
VesselManagePeriodDao
Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByManagedData(fr.ifremer.allegro.administration.user.ManagedData)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VesselManagePeriodDao.findVesselManagePeriodByManagedData(fr.ifremer.allegro.administration.user.ManagedData)
.
findVesselManagePeriodByManagedData
in interface VesselManagePeriodDao
VesselManagePeriodDao.findVesselManagePeriodByManagedData(java.lang.String, fr.ifremer.allegro.administration.user.ManagedData)
public java.util.Collection findVesselManagePeriodByManagedData(int pageNumber, int pageSize, ManagedData managedData)
VesselManagePeriodDao
Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByManagedData(fr.ifremer.allegro.administration.user.ManagedData)
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.
findVesselManagePeriodByManagedData
in interface VesselManagePeriodDao
VesselManagePeriodDao.findVesselManagePeriodByManagedData(int, int, fr.ifremer.allegro.administration.user.ManagedData)
public java.util.Collection findVesselManagePeriodByManagedData(java.lang.String queryString, int pageNumber, int pageSize, ManagedData managedData)
VesselManagePeriodDao
Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByManagedData(String, fr.ifremer.allegro.administration.user.ManagedData)
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.
findVesselManagePeriodByManagedData
in interface VesselManagePeriodDao
VesselManagePeriodDao.findVesselManagePeriodByManagedData(String, int, int, fr.ifremer.allegro.administration.user.ManagedData)
public java.util.Collection findVesselManagePeriodByManagedData(int transform, java.lang.String queryString, ManagedData managedData)
VesselManagePeriodDao
Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByManagedData(int, fr.ifremer.allegro.administration.user.ManagedData)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VesselManagePeriodDao.findVesselManagePeriodByManagedData(int, fr.ifremer.allegro.administration.user.ManagedData managedData)
.
findVesselManagePeriodByManagedData
in interface VesselManagePeriodDao
VesselManagePeriodDao.findVesselManagePeriodByManagedData(int, String, fr.ifremer.allegro.administration.user.ManagedData)
public java.util.Collection findVesselManagePeriodByManagedData(int transform, int pageNumber, int pageSize, ManagedData managedData)
VesselManagePeriodDao
Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByManagedData(int, fr.ifremer.allegro.administration.user.ManagedData)
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.
findVesselManagePeriodByManagedData
in interface VesselManagePeriodDao
VesselManagePeriodDao.findVesselManagePeriodByManagedData(int, int, int, fr.ifremer.allegro.administration.user.ManagedData)
public java.util.Collection findVesselManagePeriodByManagedData(int transform, java.lang.String queryString, int pageNumber, int pageSize, ManagedData managedData)
VesselManagePeriodDao
Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByManagedData(int, String, fr.ifremer.allegro.administration.user.ManagedData)
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.
findVesselManagePeriodByManagedData
in interface VesselManagePeriodDao
VesselManagePeriodDao.findVesselManagePeriodByManagedData(int, java.lang.String, int, int, fr.ifremer.allegro.administration.user.ManagedData)
public java.util.Collection findVesselManagePeriodByVessel(Vessel vessel)
findVesselManagePeriodByVessel
in interface VesselManagePeriodDao
VesselManagePeriodDao.findVesselManagePeriodByVessel(fr.ifremer.allegro.referential.vessel.Vessel)
public java.util.Collection findVesselManagePeriodByVessel(int transform, Vessel vessel)
VesselManagePeriodDao
Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByVessel(fr.ifremer.allegro.referential.vessel.Vessel)
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.
findVesselManagePeriodByVessel
in interface VesselManagePeriodDao
VesselManagePeriodDao.findVesselManagePeriodByVessel(int, fr.ifremer.allegro.referential.vessel.Vessel)
public java.util.Collection findVesselManagePeriodByVessel(java.lang.String queryString, Vessel vessel)
VesselManagePeriodDao
Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByVessel(fr.ifremer.allegro.referential.vessel.Vessel)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VesselManagePeriodDao.findVesselManagePeriodByVessel(fr.ifremer.allegro.referential.vessel.Vessel)
.
findVesselManagePeriodByVessel
in interface VesselManagePeriodDao
VesselManagePeriodDao.findVesselManagePeriodByVessel(java.lang.String, fr.ifremer.allegro.referential.vessel.Vessel)
public java.util.Collection findVesselManagePeriodByVessel(int pageNumber, int pageSize, Vessel vessel)
VesselManagePeriodDao
Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByVessel(fr.ifremer.allegro.referential.vessel.Vessel)
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.
findVesselManagePeriodByVessel
in interface VesselManagePeriodDao
VesselManagePeriodDao.findVesselManagePeriodByVessel(int, int, fr.ifremer.allegro.referential.vessel.Vessel)
public java.util.Collection findVesselManagePeriodByVessel(java.lang.String queryString, int pageNumber, int pageSize, Vessel vessel)
VesselManagePeriodDao
Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByVessel(String, fr.ifremer.allegro.referential.vessel.Vessel)
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.
findVesselManagePeriodByVessel
in interface VesselManagePeriodDao
VesselManagePeriodDao.findVesselManagePeriodByVessel(String, int, int, fr.ifremer.allegro.referential.vessel.Vessel)
public java.util.Collection findVesselManagePeriodByVessel(int transform, java.lang.String queryString, Vessel vessel)
VesselManagePeriodDao
Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByVessel(int, fr.ifremer.allegro.referential.vessel.Vessel)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VesselManagePeriodDao.findVesselManagePeriodByVessel(int, fr.ifremer.allegro.referential.vessel.Vessel vessel)
.
findVesselManagePeriodByVessel
in interface VesselManagePeriodDao
VesselManagePeriodDao.findVesselManagePeriodByVessel(int, String, fr.ifremer.allegro.referential.vessel.Vessel)
public java.util.Collection findVesselManagePeriodByVessel(int transform, int pageNumber, int pageSize, Vessel vessel)
VesselManagePeriodDao
Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByVessel(int, fr.ifremer.allegro.referential.vessel.Vessel)
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.
findVesselManagePeriodByVessel
in interface VesselManagePeriodDao
VesselManagePeriodDao.findVesselManagePeriodByVessel(int, int, int, fr.ifremer.allegro.referential.vessel.Vessel)
public java.util.Collection findVesselManagePeriodByVessel(int transform, java.lang.String queryString, int pageNumber, int pageSize, Vessel vessel)
VesselManagePeriodDao
Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByVessel(int, String, fr.ifremer.allegro.referential.vessel.Vessel)
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.
findVesselManagePeriodByVessel
in interface VesselManagePeriodDao
VesselManagePeriodDao.findVesselManagePeriodByVessel(int, java.lang.String, int, int, fr.ifremer.allegro.referential.vessel.Vessel)
public VesselManagePeriod findVesselManagePeriodByIdentifiers(java.util.Date startDateTime, ManagedData managedData, Vessel vessel)
findVesselManagePeriodByIdentifiers
in interface VesselManagePeriodDao
VesselManagePeriodDao.findVesselManagePeriodByIdentifiers(java.util.Date, fr.ifremer.allegro.administration.user.ManagedData, fr.ifremer.allegro.referential.vessel.Vessel)
public java.lang.Object findVesselManagePeriodByIdentifiers(int transform, java.util.Date startDateTime, ManagedData managedData, Vessel vessel)
VesselManagePeriodDao
Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByIdentifiers(java.util.Date, fr.ifremer.allegro.administration.user.ManagedData, fr.ifremer.allegro.referential.vessel.Vessel)
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.
findVesselManagePeriodByIdentifiers
in interface VesselManagePeriodDao
VesselManagePeriodDao.findVesselManagePeriodByIdentifiers(int, java.util.Date, fr.ifremer.allegro.administration.user.ManagedData, fr.ifremer.allegro.referential.vessel.Vessel)
public VesselManagePeriod findVesselManagePeriodByIdentifiers(java.lang.String queryString, java.util.Date startDateTime, ManagedData managedData, Vessel vessel)
VesselManagePeriodDao
Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByIdentifiers(java.util.Date, fr.ifremer.allegro.administration.user.ManagedData, fr.ifremer.allegro.referential.vessel.Vessel)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VesselManagePeriodDao.findVesselManagePeriodByIdentifiers(java.util.Date, fr.ifremer.allegro.administration.user.ManagedData, fr.ifremer.allegro.referential.vessel.Vessel)
.
findVesselManagePeriodByIdentifiers
in interface VesselManagePeriodDao
VesselManagePeriodDao.findVesselManagePeriodByIdentifiers(java.lang.String, java.util.Date, fr.ifremer.allegro.administration.user.ManagedData, fr.ifremer.allegro.referential.vessel.Vessel)
public java.lang.Object findVesselManagePeriodByIdentifiers(int transform, java.lang.String queryString, java.util.Date startDateTime, ManagedData managedData, Vessel vessel)
VesselManagePeriodDao
Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByIdentifiers(int, java.util.Date, fr.ifremer.allegro.administration.user.ManagedData, fr.ifremer.allegro.referential.vessel.Vessel)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VesselManagePeriodDao.findVesselManagePeriodByIdentifiers(int, java.util.Date startDateTime, fr.ifremer.allegro.administration.user.ManagedData managedData, fr.ifremer.allegro.referential.vessel.Vessel vessel)
.
findVesselManagePeriodByIdentifiers
in interface VesselManagePeriodDao
VesselManagePeriodDao.findVesselManagePeriodByIdentifiers(int, java.lang.String, java.util.Date, fr.ifremer.allegro.administration.user.ManagedData, fr.ifremer.allegro.referential.vessel.Vessel)
public VesselManagePeriod findVesselManagePeriodByNaturalId(java.util.Date startDateTime, ManagedData managedData, Vessel vessel)
findVesselManagePeriodByNaturalId
in interface VesselManagePeriodDao
VesselManagePeriodDao.findVesselManagePeriodByNaturalId(java.util.Date, fr.ifremer.allegro.administration.user.ManagedData, fr.ifremer.allegro.referential.vessel.Vessel)
public java.lang.Object findVesselManagePeriodByNaturalId(int transform, java.util.Date startDateTime, ManagedData managedData, Vessel vessel)
VesselManagePeriodDao
Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByNaturalId(java.util.Date, fr.ifremer.allegro.administration.user.ManagedData, fr.ifremer.allegro.referential.vessel.Vessel)
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.
findVesselManagePeriodByNaturalId
in interface VesselManagePeriodDao
VesselManagePeriodDao.findVesselManagePeriodByNaturalId(int, java.util.Date, fr.ifremer.allegro.administration.user.ManagedData, fr.ifremer.allegro.referential.vessel.Vessel)
public VesselManagePeriod findVesselManagePeriodByNaturalId(java.lang.String queryString, java.util.Date startDateTime, ManagedData managedData, Vessel vessel)
VesselManagePeriodDao
Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByNaturalId(java.util.Date, fr.ifremer.allegro.administration.user.ManagedData, fr.ifremer.allegro.referential.vessel.Vessel)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VesselManagePeriodDao.findVesselManagePeriodByNaturalId(java.util.Date, fr.ifremer.allegro.administration.user.ManagedData, fr.ifremer.allegro.referential.vessel.Vessel)
.
findVesselManagePeriodByNaturalId
in interface VesselManagePeriodDao
VesselManagePeriodDao.findVesselManagePeriodByNaturalId(java.lang.String, java.util.Date, fr.ifremer.allegro.administration.user.ManagedData, fr.ifremer.allegro.referential.vessel.Vessel)
public java.lang.Object findVesselManagePeriodByNaturalId(int transform, java.lang.String queryString, java.util.Date startDateTime, ManagedData managedData, Vessel vessel)
VesselManagePeriodDao
Does the same thing as VesselManagePeriodDao.findVesselManagePeriodByNaturalId(int, java.util.Date, fr.ifremer.allegro.administration.user.ManagedData, fr.ifremer.allegro.referential.vessel.Vessel)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VesselManagePeriodDao.findVesselManagePeriodByNaturalId(int, java.util.Date startDateTime, fr.ifremer.allegro.administration.user.ManagedData managedData, fr.ifremer.allegro.referential.vessel.Vessel vessel)
.
findVesselManagePeriodByNaturalId
in interface VesselManagePeriodDao
VesselManagePeriodDao.findVesselManagePeriodByNaturalId(int, java.lang.String, java.util.Date, fr.ifremer.allegro.administration.user.ManagedData, fr.ifremer.allegro.referential.vessel.Vessel)
public VesselManagePeriod createFromClusterVesselManagePeriod(ClusterVesselManagePeriod clusterVesselManagePeriod)
createFromClusterVesselManagePeriod
in interface VesselManagePeriodDao
VesselManagePeriodDao.createFromClusterVesselManagePeriod(fr.ifremer.allegro.administration.user.generic.cluster.ClusterVesselManagePeriod)
protected abstract VesselManagePeriod handleCreateFromClusterVesselManagePeriod(ClusterVesselManagePeriod clusterVesselManagePeriod) throws java.lang.Exception
createFromClusterVesselManagePeriod(fr.ifremer.allegro.administration.user.generic.cluster.ClusterVesselManagePeriod)
java.lang.Exception
protected java.lang.Object transformEntity(int transform, VesselManagePeriod entity)
transform
flag is set to one of the constants defined in fr.ifremer.allegro.administration.user.VesselManagePeriodDao
, please note
that the VesselManagePeriodDao.TRANSFORM_NONE
constant denotes no transformation, so the entity itself
will be returned.
This method will return instances of these types:
VesselManagePeriod
- VesselManagePeriodDao.TRANSFORM_NONE
RemoteVesselManagePeriodFullVO
- TRANSFORM_REMOTEVESSELMANAGEPERIODFULLVO
RemoteVesselManagePeriodNaturalId
- TRANSFORM_REMOTEVESSELMANAGEPERIODNATURALID
ClusterVesselManagePeriod
- TRANSFORM_CLUSTERVESSELMANAGEPERIOD
VesselManagePeriodDao.TRANSFORM_NONE
is assumed.
transform
- one of the constants declared in VesselManagePeriodDao
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.VesselManagePeriod)
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.VesselManagePeriodDao
entities
- the collection of entities to transformtransformEntity(int,fr.ifremer.allegro.administration.user.VesselManagePeriod)
protected VesselManagePeriod toEntity(java.lang.Object[] row)
public final void toRemoteVesselManagePeriodFullVOCollection(java.util.Collection entities)
VesselManagePeriodDao
RemoteVesselManagePeriodFullVO
.
toRemoteVesselManagePeriodFullVOCollection
in interface VesselManagePeriodDao
VesselManagePeriodDao.toRemoteVesselManagePeriodFullVOCollection(java.util.Collection)
public final RemoteVesselManagePeriodFullVO[] toRemoteVesselManagePeriodFullVOArray(java.util.Collection entities)
VesselManagePeriodDao
RemoteVesselManagePeriodFullVO
.
toRemoteVesselManagePeriodFullVOArray
in interface VesselManagePeriodDao
VesselManagePeriodDao.toRemoteVesselManagePeriodFullVOArray(java.util.Collection)
protected RemoteVesselManagePeriodFullVO toRemoteVesselManagePeriodFullVO(java.lang.Object[] row)
VesselManagePeriodDaoImpl
class if you intend to use reporting queries.
VesselManagePeriodDao.toRemoteVesselManagePeriodFullVO(fr.ifremer.allegro.administration.user.VesselManagePeriod)
public final void remoteVesselManagePeriodFullVOToEntityCollection(java.util.Collection instances)
VesselManagePeriodDao
RemoteVesselManagePeriodFullVO
to this
DAO's entity.
remoteVesselManagePeriodFullVOToEntityCollection
in interface VesselManagePeriodDao
VesselManagePeriodDao.remoteVesselManagePeriodFullVOToEntityCollection(java.util.Collection)
public void toRemoteVesselManagePeriodFullVO(VesselManagePeriod source, RemoteVesselManagePeriodFullVO target)
VesselManagePeriodDao
toRemoteVesselManagePeriodFullVO
in interface VesselManagePeriodDao
VesselManagePeriodDao.toRemoteVesselManagePeriodFullVO(fr.ifremer.allegro.administration.user.VesselManagePeriod, fr.ifremer.allegro.administration.user.generic.vo.RemoteVesselManagePeriodFullVO)
public RemoteVesselManagePeriodFullVO toRemoteVesselManagePeriodFullVO(VesselManagePeriod entity)
VesselManagePeriodDao
RemoteVesselManagePeriodFullVO
.
toRemoteVesselManagePeriodFullVO
in interface VesselManagePeriodDao
VesselManagePeriodDao.toRemoteVesselManagePeriodFullVO(fr.ifremer.allegro.administration.user.VesselManagePeriod)
public void remoteVesselManagePeriodFullVOToEntity(RemoteVesselManagePeriodFullVO source, VesselManagePeriod target, boolean copyIfNull)
VesselManagePeriodDao
RemoteVesselManagePeriodFullVO
to the specified entity.
remoteVesselManagePeriodFullVOToEntity
in interface VesselManagePeriodDao
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.VesselManagePeriodDao#remoteVesselManagePeriodFullVOToEntity(fr.ifremer.allegro.administration.user.generic.vo.RemoteVesselManagePeriodFullVO, fr.ifremer.allegro.administration.user.VesselManagePeriod)
public final void toRemoteVesselManagePeriodNaturalIdCollection(java.util.Collection entities)
VesselManagePeriodDao
RemoteVesselManagePeriodNaturalId
.
toRemoteVesselManagePeriodNaturalIdCollection
in interface VesselManagePeriodDao
VesselManagePeriodDao.toRemoteVesselManagePeriodNaturalIdCollection(java.util.Collection)
public final RemoteVesselManagePeriodNaturalId[] toRemoteVesselManagePeriodNaturalIdArray(java.util.Collection entities)
VesselManagePeriodDao
RemoteVesselManagePeriodNaturalId
.
toRemoteVesselManagePeriodNaturalIdArray
in interface VesselManagePeriodDao
VesselManagePeriodDao.toRemoteVesselManagePeriodNaturalIdArray(java.util.Collection)
protected RemoteVesselManagePeriodNaturalId toRemoteVesselManagePeriodNaturalId(java.lang.Object[] row)
VesselManagePeriodDaoImpl
class if you intend to use reporting queries.
VesselManagePeriodDao.toRemoteVesselManagePeriodNaturalId(fr.ifremer.allegro.administration.user.VesselManagePeriod)
public final void remoteVesselManagePeriodNaturalIdToEntityCollection(java.util.Collection instances)
VesselManagePeriodDao
RemoteVesselManagePeriodNaturalId
to this
DAO's entity.
remoteVesselManagePeriodNaturalIdToEntityCollection
in interface VesselManagePeriodDao
VesselManagePeriodDao.remoteVesselManagePeriodNaturalIdToEntityCollection(java.util.Collection)
public void toRemoteVesselManagePeriodNaturalId(VesselManagePeriod source, RemoteVesselManagePeriodNaturalId target)
VesselManagePeriodDao
toRemoteVesselManagePeriodNaturalId
in interface VesselManagePeriodDao
VesselManagePeriodDao.toRemoteVesselManagePeriodNaturalId(fr.ifremer.allegro.administration.user.VesselManagePeriod, fr.ifremer.allegro.administration.user.generic.vo.RemoteVesselManagePeriodNaturalId)
public RemoteVesselManagePeriodNaturalId toRemoteVesselManagePeriodNaturalId(VesselManagePeriod entity)
VesselManagePeriodDao
RemoteVesselManagePeriodNaturalId
.
toRemoteVesselManagePeriodNaturalId
in interface VesselManagePeriodDao
VesselManagePeriodDao.toRemoteVesselManagePeriodNaturalId(fr.ifremer.allegro.administration.user.VesselManagePeriod)
public void remoteVesselManagePeriodNaturalIdToEntity(RemoteVesselManagePeriodNaturalId source, VesselManagePeriod target, boolean copyIfNull)
VesselManagePeriodDao
RemoteVesselManagePeriodNaturalId
to the specified entity.
remoteVesselManagePeriodNaturalIdToEntity
in interface VesselManagePeriodDao
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.VesselManagePeriodDao#remoteVesselManagePeriodNaturalIdToEntity(fr.ifremer.allegro.administration.user.generic.vo.RemoteVesselManagePeriodNaturalId, fr.ifremer.allegro.administration.user.VesselManagePeriod)
public final void toClusterVesselManagePeriodCollection(java.util.Collection entities)
VesselManagePeriodDao
ClusterVesselManagePeriod
.
toClusterVesselManagePeriodCollection
in interface VesselManagePeriodDao
VesselManagePeriodDao.toClusterVesselManagePeriodCollection(java.util.Collection)
public final ClusterVesselManagePeriod[] toClusterVesselManagePeriodArray(java.util.Collection entities)
VesselManagePeriodDao
ClusterVesselManagePeriod
.
toClusterVesselManagePeriodArray
in interface VesselManagePeriodDao
VesselManagePeriodDao.toClusterVesselManagePeriodArray(java.util.Collection)
protected ClusterVesselManagePeriod toClusterVesselManagePeriod(java.lang.Object[] row)
VesselManagePeriodDaoImpl
class if you intend to use reporting queries.
VesselManagePeriodDao.toClusterVesselManagePeriod(fr.ifremer.allegro.administration.user.VesselManagePeriod)
public final void clusterVesselManagePeriodToEntityCollection(java.util.Collection instances)
VesselManagePeriodDao
ClusterVesselManagePeriod
to this
DAO's entity.
clusterVesselManagePeriodToEntityCollection
in interface VesselManagePeriodDao
VesselManagePeriodDao.clusterVesselManagePeriodToEntityCollection(java.util.Collection)
public void toClusterVesselManagePeriod(VesselManagePeriod source, ClusterVesselManagePeriod target)
VesselManagePeriodDao
toClusterVesselManagePeriod
in interface VesselManagePeriodDao
VesselManagePeriodDao.toClusterVesselManagePeriod(fr.ifremer.allegro.administration.user.VesselManagePeriod, fr.ifremer.allegro.administration.user.generic.cluster.ClusterVesselManagePeriod)
public ClusterVesselManagePeriod toClusterVesselManagePeriod(VesselManagePeriod entity)
VesselManagePeriodDao
ClusterVesselManagePeriod
.
toClusterVesselManagePeriod
in interface VesselManagePeriodDao
VesselManagePeriodDao.toClusterVesselManagePeriod(fr.ifremer.allegro.administration.user.VesselManagePeriod)
public void clusterVesselManagePeriodToEntity(ClusterVesselManagePeriod source, VesselManagePeriod target, boolean copyIfNull)
VesselManagePeriodDao
ClusterVesselManagePeriod
to the specified entity.
clusterVesselManagePeriodToEntity
in interface VesselManagePeriodDao
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.VesselManagePeriodDao#clusterVesselManagePeriodToEntity(fr.ifremer.allegro.administration.user.generic.cluster.ClusterVesselManagePeriod, fr.ifremer.allegro.administration.user.VesselManagePeriod)
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)
VesselManagePeriodDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface VesselManagePeriodDao
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.VesselManagePeriodDao.search(int, int, int, fr.ifremer.allegro.Search)
public PaginationResult search(int pageNumber, int pageSize, Search search)
VesselManagePeriodDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface VesselManagePeriodDao
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.VesselManagePeriodDao.search(int, int, fr.ifremer.allegro.Search)
public java.util.Set search(int transform, Search search)
VesselManagePeriodDao
VesselManagePeriodDao.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 VesselManagePeriodDao
transform
- the transformation flag.search
- the search object which provides the search parameters and pagination specification.
VesselManagePeriodDao.search(int, fr.ifremer.allegro.Search)
public java.util.Set search(Search search)
VesselManagePeriodDao
search
object.
search
in interface VesselManagePeriodDao
search
- the search object which provides the search parameters and pagination specification.
VesselManagePeriodDao.search(fr.ifremer.allegro.Search)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |