|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.orm.hibernate3.support.HibernateDaoSupport
fr.ifremer.allegro.referential.VesselTypeDaoBase
public abstract class VesselTypeDaoBase
Base Spring DAO Class: is able to create, update, remove, load, and find
objects of type fr.ifremer.allegro.referential.VesselType
.
VesselType
Field Summary |
---|
Fields inherited from interface fr.ifremer.allegro.referential.VesselTypeDao |
---|
TRANSFORM_CLUSTERVESSELTYPE, TRANSFORM_NONE, TRANSFORM_REMOTEVESSELTYPEFULLVO, TRANSFORM_REMOTEVESSELTYPENATURALID |
Constructor Summary | |
---|---|
VesselTypeDaoBase()
|
Method Summary | |
---|---|
void |
clusterVesselTypeToEntity(ClusterVesselType source,
VesselType target,
boolean copyIfNull)
Copies the fields of ClusterVesselType to the specified entity. |
void |
clusterVesselTypeToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type ClusterVesselType to this
DAO's entity. |
java.util.Collection |
create(java.util.Collection entities)
Creates a new instance of fr.ifremer.allegro.referential.VesselType and adds from the passed in entities collection |
java.util.Collection |
create(int transform,
java.util.Collection entities)
Does the same thing as VesselTypeDao.create(fr.ifremer.allegro.referential.VesselType) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
java.lang.String name,
Status status)
Does the same thing as VesselTypeDao.create(java.lang.String,fr.ifremer.allegro.referential.Status) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
java.lang.String name,
java.sql.Timestamp updateDate,
Status status)
Does the same thing as VesselTypeDao.create(java.lang.String,java.sql.Timestamp,fr.ifremer.allegro.referential.Status) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
VesselType vesselType)
Does the same thing as VesselTypeDao.create(fr.ifremer.allegro.referential.VesselType) with an
additional flag called transform . |
VesselType |
create(java.lang.String name,
Status status)
Creates a new fr.ifremer.allegro.referential.VesselType
instance from only required properties (attributes
and association ends) and adds it to the persistent store. |
VesselType |
create(java.lang.String name,
java.sql.Timestamp updateDate,
Status status)
Creates a new fr.ifremer.allegro.referential.VesselType
instance from all attributes and
properties and adds it to the persistent store. |
VesselType |
create(VesselType vesselType)
Creates an instance of fr.ifremer.allegro.referential.VesselType and adds it to the persistent store. |
VesselType |
createFromClusterVesselType(ClusterVesselType clusterVesselType)
|
VesselType |
findVesselTypeById(java.lang.Integer id)
|
java.lang.Object |
findVesselTypeById(int transform,
java.lang.Integer id)
Does the same thing as VesselTypeDao.findVesselTypeById(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findVesselTypeById(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as VesselTypeDao.findVesselTypeById(int, java.lang.Integer) with an
additional argument called queryString . |
VesselType |
findVesselTypeById(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as VesselTypeDao.findVesselTypeById(java.lang.Integer) with an
additional argument called queryString . |
VesselType |
findVesselTypeByNaturalId(java.lang.Integer id)
|
java.lang.Object |
findVesselTypeByNaturalId(int transform,
java.lang.Integer id)
Does the same thing as VesselTypeDao.findVesselTypeByNaturalId(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findVesselTypeByNaturalId(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as VesselTypeDao.findVesselTypeByNaturalId(int, java.lang.Integer) with an
additional argument called queryString . |
VesselType |
findVesselTypeByNaturalId(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as VesselTypeDao.findVesselTypeByNaturalId(java.lang.Integer) with an
additional argument called queryString . |
java.util.Collection |
findVesselTypeByStatus(int transform,
int pageNumber,
int pageSize,
Status status)
Does the same thing as VesselTypeDao.findVesselTypeByStatus(int, fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findVesselTypeByStatus(int pageNumber,
int pageSize,
Status status)
Does the same thing as VesselTypeDao.findVesselTypeByStatus(fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findVesselTypeByStatus(int transform,
Status status)
Does the same thing as VesselTypeDao.findVesselTypeByStatus(fr.ifremer.allegro.referential.Status) with an
additional flag called transform . |
java.util.Collection |
findVesselTypeByStatus(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
Status status)
Does the same thing as VesselTypeDao.findVesselTypeByStatus(int, String, fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findVesselTypeByStatus(int transform,
java.lang.String queryString,
Status status)
Does the same thing as VesselTypeDao.findVesselTypeByStatus(int, fr.ifremer.allegro.referential.Status) with an
additional argument called queryString . |
java.util.Collection |
findVesselTypeByStatus(Status status)
|
java.util.Collection |
findVesselTypeByStatus(java.lang.String queryString,
int pageNumber,
int pageSize,
Status status)
Does the same thing as VesselTypeDao.findVesselTypeByStatus(String, fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findVesselTypeByStatus(java.lang.String queryString,
Status status)
Does the same thing as VesselTypeDao.findVesselTypeByStatus(fr.ifremer.allegro.referential.Status) with an
additional argument called queryString . |
ClusterVesselType[] |
getAllClusterVesselTypeSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize)
|
java.util.Collection |
getAllVesselType()
|
java.util.Collection |
getAllVesselType(int transform)
Does the same thing as VesselTypeDao.getAllVesselType() with an
additional flag called transform . |
java.util.Collection |
getAllVesselType(int pageNumber,
int pageSize)
Does the same thing as VesselTypeDao.getAllVesselType() with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllVesselType(int transform,
int pageNumber,
int pageSize)
Does the same thing as VesselTypeDao.getAllVesselType(int) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllVesselType(int transform,
java.lang.String queryString)
Does the same thing as VesselTypeDao.getAllVesselType(int) with an
additional argument called queryString . |
java.util.Collection |
getAllVesselType(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as VesselTypeDao.getAllVesselType(int, String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllVesselType(java.lang.String queryString)
Does the same thing as VesselTypeDao.getAllVesselType() with an
additional argument called queryString . |
java.util.Collection |
getAllVesselType(java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as VesselTypeDao.getAllVesselType(String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllVesselTypeSinceDateSynchro(int transform,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as VesselTypeDao.getAllVesselTypeSinceDateSynchro(int, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllVesselTypeSinceDateSynchro(int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as VesselTypeDao.getAllVesselTypeSinceDateSynchro(java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllVesselTypeSinceDateSynchro(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as VesselTypeDao.getAllVesselTypeSinceDateSynchro(int, String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllVesselTypeSinceDateSynchro(int transform,
java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as VesselTypeDao.getAllVesselTypeSinceDateSynchro(int, java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllVesselTypeSinceDateSynchro(int transform,
java.sql.Timestamp updateDate)
Does the same thing as VesselTypeDao.getAllVesselTypeSinceDateSynchro(java.sql.Timestamp) with an
additional flag called transform . |
java.util.Collection |
getAllVesselTypeSinceDateSynchro(java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as VesselTypeDao.getAllVesselTypeSinceDateSynchro(String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllVesselTypeSinceDateSynchro(java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as VesselTypeDao.getAllVesselTypeSinceDateSynchro(java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllVesselTypeSinceDateSynchro(java.sql.Timestamp updateDate)
|
protected java.security.Principal |
getPrincipal()
Gets the current principal if one has been set,
otherwise returns null . |
protected StatusDao |
getStatusDao()
Gets the reference to statusDao . |
protected abstract VesselType |
handleCreateFromClusterVesselType(ClusterVesselType clusterVesselType)
Performs the core logic for createFromClusterVesselType(fr.ifremer.allegro.referential.generic.cluster.ClusterVesselType) |
protected abstract ClusterVesselType[] |
handleGetAllClusterVesselTypeSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize)
Performs the core logic for getAllClusterVesselTypeSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer) |
VesselType |
load(java.lang.Integer id)
Loads an instance of fr.ifremer.allegro.referential.VesselType from the persistent store. |
java.lang.Object |
load(int transform,
java.lang.Integer id)
Does the same thing as VesselTypeDao.load(java.lang.Integer) with an
additional flag called transform . |
java.util.Collection |
loadAll()
Loads all entities of type VesselType . |
java.util.Collection |
loadAll(int transform)
Does the same thing as VesselTypeDao.loadAll() with an
additional flag called transform . |
java.util.Collection |
loadAll(int pageNumber,
int pageSize)
Does the same thing as VesselTypeDao.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 VesselTypeDao.loadAll(int) with an
additional two arguments called pageNumber and pageSize . |
void |
remoteVesselTypeFullVOToEntity(RemoteVesselTypeFullVO source,
VesselType target,
boolean copyIfNull)
Copies the fields of RemoteVesselTypeFullVO to the specified entity. |
void |
remoteVesselTypeFullVOToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteVesselTypeFullVO to this
DAO's entity. |
void |
remoteVesselTypeNaturalIdToEntity(RemoteVesselTypeNaturalId source,
VesselType target,
boolean copyIfNull)
Copies the fields of RemoteVesselTypeNaturalId to the specified entity. |
void |
remoteVesselTypeNaturalIdToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteVesselTypeNaturalId to this
DAO's entity. |
void |
remove(java.util.Collection entities)
Removes all entities in the given entities |
void |
remove(java.lang.Integer id)
Removes the instance of fr.ifremer.allegro.referential.VesselType having the given identifier from the persistent store. |
void |
remove(VesselType vesselType)
Removes the instance of fr.ifremer.allegro.referential.VesselType 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 VesselTypeDao.search(fr.ifremer.allegro.Search) but with an
additional flag called transform . |
java.util.Set |
search(Search search)
Performs a search using the parameters specified in the given search object. |
void |
setStatusDao(StatusDao statusDao)
Sets the reference to statusDao . |
protected ClusterVesselType |
toClusterVesselType(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
ClusterVesselType |
toClusterVesselType(VesselType entity)
Converts this DAO's entity to an object of type ClusterVesselType . |
void |
toClusterVesselType(VesselType source,
ClusterVesselType target)
Copies the fields of the specified entity to the target value object. |
ClusterVesselType[] |
toClusterVesselTypeArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type ClusterVesselType . |
void |
toClusterVesselTypeCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type ClusterVesselType . |
protected VesselType |
toEntity(java.lang.Object[] row)
|
protected RemoteVesselTypeFullVO |
toRemoteVesselTypeFullVO(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteVesselTypeFullVO |
toRemoteVesselTypeFullVO(VesselType entity)
Converts this DAO's entity to an object of type RemoteVesselTypeFullVO . |
void |
toRemoteVesselTypeFullVO(VesselType source,
RemoteVesselTypeFullVO target)
Copies the fields of the specified entity to the target value object. |
RemoteVesselTypeFullVO[] |
toRemoteVesselTypeFullVOArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteVesselTypeFullVO . |
void |
toRemoteVesselTypeFullVOCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteVesselTypeFullVO . |
protected RemoteVesselTypeNaturalId |
toRemoteVesselTypeNaturalId(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteVesselTypeNaturalId |
toRemoteVesselTypeNaturalId(VesselType entity)
Converts this DAO's entity to an object of type RemoteVesselTypeNaturalId . |
void |
toRemoteVesselTypeNaturalId(VesselType source,
RemoteVesselTypeNaturalId target)
Copies the fields of the specified entity to the target value object. |
RemoteVesselTypeNaturalId[] |
toRemoteVesselTypeNaturalIdArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteVesselTypeNaturalId . |
void |
toRemoteVesselTypeNaturalIdCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteVesselTypeNaturalId . |
protected void |
transformEntities(int transform,
java.util.Collection entities)
Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.VesselType)
method. |
protected java.lang.Object |
transformEntity(int transform,
VesselType entity)
Allows transformation of entities into value objects (or something else for that matter), when the transform
flag is set to one of the constants defined in fr.ifremer.allegro.referential.VesselTypeDao , please note
that the VesselTypeDao.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(VesselType vesselType)
Updates the vesselType instance in the persistent store. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface fr.ifremer.allegro.referential.VesselTypeDao |
---|
clusterVesselTypeToEntity, remoteVesselTypeFullVOToEntity, remoteVesselTypeNaturalIdToEntity |
Constructor Detail |
---|
public VesselTypeDaoBase()
Method Detail |
---|
public void setStatusDao(StatusDao statusDao)
statusDao
.
protected StatusDao getStatusDao()
statusDao
.
public java.lang.Object load(int transform, java.lang.Integer id)
VesselTypeDao
Does the same thing as VesselTypeDao.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 VesselTypeDao
id
- identifier of the entity to load
VesselTypeDao.load(int, java.lang.Integer)
public VesselType load(java.lang.Integer id)
VesselTypeDao
load
in interface VesselTypeDao
VesselTypeDao.load(java.lang.Integer)
public java.util.Collection loadAll()
VesselTypeDao
VesselType
.
loadAll
in interface VesselTypeDao
VesselTypeDao.loadAll()
public java.util.Collection loadAll(int transform)
VesselTypeDao
Does the same thing as VesselTypeDao.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 VesselTypeDao
transform
- the flag indicating what transformation to use.
VesselTypeDao.loadAll(int)
public java.util.Collection loadAll(int pageNumber, int pageSize)
VesselTypeDao
Does the same thing as VesselTypeDao.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 VesselTypeDao
pageNumber
- the page number to retrieve when paging results.pageSize
- the size of the page to retrieve when paging results.
VesselTypeDao.loadAll(int, int)
public java.util.Collection loadAll(int transform, int pageNumber, int pageSize)
VesselTypeDao
Does the same thing as VesselTypeDao.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 VesselTypeDao
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.
VesselTypeDao.loadAll(int, int, int)
public VesselType create(VesselType vesselType)
VesselTypeDao
create
in interface VesselTypeDao
VesselTypeDao.create(fr.ifremer.allegro.referential.VesselType)
public java.lang.Object create(int transform, VesselType vesselType)
VesselTypeDao
Does the same thing as VesselTypeDao.create(fr.ifremer.allegro.referential.VesselType)
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 VesselTypeDao
VesselTypeDao.create(int transform, fr.ifremer.allegro.referential.VesselType)
public java.util.Collection create(java.util.Collection entities)
VesselTypeDao
entities
collection
create
in interface VesselTypeDao
entities
- the collection of fr.ifremer.allegro.referential.VesselType
instances to create.
VesselTypeDao.create(java.util.Collection)
public java.util.Collection create(int transform, java.util.Collection entities)
VesselTypeDao
Does the same thing as VesselTypeDao.create(fr.ifremer.allegro.referential.VesselType)
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 VesselTypeDao
VesselTypeDao.create(int, java.util.Collection)
public VesselType create(java.lang.String name, java.sql.Timestamp updateDate, Status status)
VesselTypeDao
Creates a new fr.ifremer.allegro.referential.VesselType
instance from all attributes and
properties and adds it to the persistent store.
create
in interface VesselTypeDao
VesselTypeDao.create(java.lang.String,java.sql.Timestamp,fr.ifremer.allegro.referential.Status)
public java.lang.Object create(int transform, java.lang.String name, java.sql.Timestamp updateDate, Status status)
VesselTypeDao
Does the same thing as VesselTypeDao.create(java.lang.String,java.sql.Timestamp,fr.ifremer.allegro.referential.Status)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined here then the result WILL BE passed through an operation which can optionally
transform the entity (into a value object for example). By default, transformation does
not occur.
create
in interface VesselTypeDao
VesselTypeDao.create(int, java.lang.String,java.sql.Timestamp,fr.ifremer.allegro.referential.Status)
public VesselType create(java.lang.String name, Status status)
VesselTypeDao
Creates a new fr.ifremer.allegro.referential.VesselType
instance from only required properties (attributes
and association ends) and adds it to the persistent store.
create
in interface VesselTypeDao
VesselTypeDao.create(java.lang.String,fr.ifremer.allegro.referential.Status)
public java.lang.Object create(int transform, java.lang.String name, Status status)
VesselTypeDao
Does the same thing as VesselTypeDao.create(java.lang.String,fr.ifremer.allegro.referential.Status)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOTWILL BE passed through an operation which can optionally
transform the entity (into a value object for example). By default, transformation does
not occur.
create
in interface VesselTypeDao
VesselTypeDao.create(int, java.lang.String,fr.ifremer.allegro.referential.Status)
public void update(VesselType vesselType)
VesselTypeDao
vesselType
instance in the persistent store.
update
in interface VesselTypeDao
VesselTypeDao.update(fr.ifremer.allegro.referential.VesselType)
public void update(java.util.Collection entities)
VesselTypeDao
entities
collection in the persistent store.
update
in interface VesselTypeDao
VesselTypeDao.update(java.util.Collection)
public void remove(VesselType vesselType)
VesselTypeDao
remove
in interface VesselTypeDao
VesselTypeDao.remove(fr.ifremer.allegro.referential.VesselType)
public void remove(java.lang.Integer id)
VesselTypeDao
identifier
from the persistent store.
remove
in interface VesselTypeDao
VesselTypeDao.remove(java.lang.Integer)
public void remove(java.util.Collection entities)
VesselTypeDao
entities collection.
- Specified by:
remove
in interface VesselTypeDao
- See Also:
VesselTypeDao.remove(java.util.Collection)
public java.util.Collection getAllVesselType()
getAllVesselType
in interface VesselTypeDao
VesselTypeDao.getAllVesselType()
public java.util.Collection getAllVesselType(int transform)
VesselTypeDao
Does the same thing as VesselTypeDao.getAllVesselType()
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.
getAllVesselType
in interface VesselTypeDao
VesselTypeDao.getAllVesselType(int)
public java.util.Collection getAllVesselType(java.lang.String queryString)
VesselTypeDao
Does the same thing as VesselTypeDao.getAllVesselType()
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VesselTypeDao.getAllVesselType()
.
getAllVesselType
in interface VesselTypeDao
VesselTypeDao.getAllVesselType(java.lang.String)
public java.util.Collection getAllVesselType(int pageNumber, int pageSize)
VesselTypeDao
Does the same thing as VesselTypeDao.getAllVesselType()
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.
getAllVesselType
in interface VesselTypeDao
VesselTypeDao.getAllVesselType(int, int)
public java.util.Collection getAllVesselType(java.lang.String queryString, int pageNumber, int pageSize)
VesselTypeDao
Does the same thing as VesselTypeDao.getAllVesselType(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.
getAllVesselType
in interface VesselTypeDao
VesselTypeDao.getAllVesselType(String, int, int)
public java.util.Collection getAllVesselType(int transform, java.lang.String queryString)
VesselTypeDao
Does the same thing as VesselTypeDao.getAllVesselType(int)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VesselTypeDao.getAllVesselType(int)
.
getAllVesselType
in interface VesselTypeDao
VesselTypeDao.getAllVesselType(int, String)
public java.util.Collection getAllVesselType(int transform, int pageNumber, int pageSize)
VesselTypeDao
Does the same thing as VesselTypeDao.getAllVesselType(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.
getAllVesselType
in interface VesselTypeDao
VesselTypeDao.getAllVesselType(int, int, int)
public java.util.Collection getAllVesselType(int transform, java.lang.String queryString, int pageNumber, int pageSize)
VesselTypeDao
Does the same thing as VesselTypeDao.getAllVesselType(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.
getAllVesselType
in interface VesselTypeDao
VesselTypeDao.getAllVesselType(int, java.lang.String, int, int)
public VesselType findVesselTypeById(java.lang.Integer id)
findVesselTypeById
in interface VesselTypeDao
VesselTypeDao.findVesselTypeById(java.lang.Integer)
public java.lang.Object findVesselTypeById(int transform, java.lang.Integer id)
VesselTypeDao
Does the same thing as VesselTypeDao.findVesselTypeById(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.
findVesselTypeById
in interface VesselTypeDao
VesselTypeDao.findVesselTypeById(int, java.lang.Integer)
public VesselType findVesselTypeById(java.lang.String queryString, java.lang.Integer id)
VesselTypeDao
Does the same thing as VesselTypeDao.findVesselTypeById(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VesselTypeDao.findVesselTypeById(java.lang.Integer)
.
findVesselTypeById
in interface VesselTypeDao
VesselTypeDao.findVesselTypeById(java.lang.String, java.lang.Integer)
public java.lang.Object findVesselTypeById(int transform, java.lang.String queryString, java.lang.Integer id)
VesselTypeDao
Does the same thing as VesselTypeDao.findVesselTypeById(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VesselTypeDao.findVesselTypeById(int, java.lang.Integer id)
.
findVesselTypeById
in interface VesselTypeDao
VesselTypeDao.findVesselTypeById(int, java.lang.String, java.lang.Integer)
public java.util.Collection findVesselTypeByStatus(Status status)
findVesselTypeByStatus
in interface VesselTypeDao
VesselTypeDao.findVesselTypeByStatus(fr.ifremer.allegro.referential.Status)
public java.util.Collection findVesselTypeByStatus(int transform, Status status)
VesselTypeDao
Does the same thing as VesselTypeDao.findVesselTypeByStatus(fr.ifremer.allegro.referential.Status)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
findVesselTypeByStatus
in interface VesselTypeDao
VesselTypeDao.findVesselTypeByStatus(int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findVesselTypeByStatus(java.lang.String queryString, Status status)
VesselTypeDao
Does the same thing as VesselTypeDao.findVesselTypeByStatus(fr.ifremer.allegro.referential.Status)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VesselTypeDao.findVesselTypeByStatus(fr.ifremer.allegro.referential.Status)
.
findVesselTypeByStatus
in interface VesselTypeDao
VesselTypeDao.findVesselTypeByStatus(java.lang.String, fr.ifremer.allegro.referential.Status)
public java.util.Collection findVesselTypeByStatus(int pageNumber, int pageSize, Status status)
VesselTypeDao
Does the same thing as VesselTypeDao.findVesselTypeByStatus(fr.ifremer.allegro.referential.Status)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findVesselTypeByStatus
in interface VesselTypeDao
VesselTypeDao.findVesselTypeByStatus(int, int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findVesselTypeByStatus(java.lang.String queryString, int pageNumber, int pageSize, Status status)
VesselTypeDao
Does the same thing as VesselTypeDao.findVesselTypeByStatus(String, fr.ifremer.allegro.referential.Status)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findVesselTypeByStatus
in interface VesselTypeDao
VesselTypeDao.findVesselTypeByStatus(String, int, int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findVesselTypeByStatus(int transform, java.lang.String queryString, Status status)
VesselTypeDao
Does the same thing as VesselTypeDao.findVesselTypeByStatus(int, fr.ifremer.allegro.referential.Status)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VesselTypeDao.findVesselTypeByStatus(int, fr.ifremer.allegro.referential.Status status)
.
findVesselTypeByStatus
in interface VesselTypeDao
VesselTypeDao.findVesselTypeByStatus(int, String, fr.ifremer.allegro.referential.Status)
public java.util.Collection findVesselTypeByStatus(int transform, int pageNumber, int pageSize, Status status)
VesselTypeDao
Does the same thing as VesselTypeDao.findVesselTypeByStatus(int, fr.ifremer.allegro.referential.Status)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findVesselTypeByStatus
in interface VesselTypeDao
VesselTypeDao.findVesselTypeByStatus(int, int, int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findVesselTypeByStatus(int transform, java.lang.String queryString, int pageNumber, int pageSize, Status status)
VesselTypeDao
Does the same thing as VesselTypeDao.findVesselTypeByStatus(int, String, fr.ifremer.allegro.referential.Status)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findVesselTypeByStatus
in interface VesselTypeDao
VesselTypeDao.findVesselTypeByStatus(int, java.lang.String, int, int, fr.ifremer.allegro.referential.Status)
public VesselType findVesselTypeByNaturalId(java.lang.Integer id)
findVesselTypeByNaturalId
in interface VesselTypeDao
VesselTypeDao.findVesselTypeByNaturalId(java.lang.Integer)
public java.lang.Object findVesselTypeByNaturalId(int transform, java.lang.Integer id)
VesselTypeDao
Does the same thing as VesselTypeDao.findVesselTypeByNaturalId(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.
findVesselTypeByNaturalId
in interface VesselTypeDao
VesselTypeDao.findVesselTypeByNaturalId(int, java.lang.Integer)
public VesselType findVesselTypeByNaturalId(java.lang.String queryString, java.lang.Integer id)
VesselTypeDao
Does the same thing as VesselTypeDao.findVesselTypeByNaturalId(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VesselTypeDao.findVesselTypeByNaturalId(java.lang.Integer)
.
findVesselTypeByNaturalId
in interface VesselTypeDao
VesselTypeDao.findVesselTypeByNaturalId(java.lang.String, java.lang.Integer)
public java.lang.Object findVesselTypeByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
VesselTypeDao
Does the same thing as VesselTypeDao.findVesselTypeByNaturalId(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VesselTypeDao.findVesselTypeByNaturalId(int, java.lang.Integer id)
.
findVesselTypeByNaturalId
in interface VesselTypeDao
VesselTypeDao.findVesselTypeByNaturalId(int, java.lang.String, java.lang.Integer)
public java.util.Collection getAllVesselTypeSinceDateSynchro(java.sql.Timestamp updateDate)
getAllVesselTypeSinceDateSynchro
in interface VesselTypeDao
VesselTypeDao.getAllVesselTypeSinceDateSynchro(java.sql.Timestamp)
public java.util.Collection getAllVesselTypeSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
VesselTypeDao
Does the same thing as VesselTypeDao.getAllVesselTypeSinceDateSynchro(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.
getAllVesselTypeSinceDateSynchro
in interface VesselTypeDao
VesselTypeDao.getAllVesselTypeSinceDateSynchro(int, java.sql.Timestamp)
public java.util.Collection getAllVesselTypeSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
VesselTypeDao
Does the same thing as VesselTypeDao.getAllVesselTypeSinceDateSynchro(java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VesselTypeDao.getAllVesselTypeSinceDateSynchro(java.sql.Timestamp)
.
getAllVesselTypeSinceDateSynchro
in interface VesselTypeDao
VesselTypeDao.getAllVesselTypeSinceDateSynchro(java.lang.String, java.sql.Timestamp)
public java.util.Collection getAllVesselTypeSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
VesselTypeDao
Does the same thing as VesselTypeDao.getAllVesselTypeSinceDateSynchro(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.
getAllVesselTypeSinceDateSynchro
in interface VesselTypeDao
VesselTypeDao.getAllVesselTypeSinceDateSynchro(int, int, java.sql.Timestamp)
public java.util.Collection getAllVesselTypeSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
VesselTypeDao
Does the same thing as VesselTypeDao.getAllVesselTypeSinceDateSynchro(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.
getAllVesselTypeSinceDateSynchro
in interface VesselTypeDao
VesselTypeDao.getAllVesselTypeSinceDateSynchro(String, int, int, java.sql.Timestamp)
public java.util.Collection getAllVesselTypeSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
VesselTypeDao
Does the same thing as VesselTypeDao.getAllVesselTypeSinceDateSynchro(int, java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VesselTypeDao.getAllVesselTypeSinceDateSynchro(int, java.sql.Timestamp updateDate)
.
getAllVesselTypeSinceDateSynchro
in interface VesselTypeDao
VesselTypeDao.getAllVesselTypeSinceDateSynchro(int, String, java.sql.Timestamp)
public java.util.Collection getAllVesselTypeSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
VesselTypeDao
Does the same thing as VesselTypeDao.getAllVesselTypeSinceDateSynchro(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.
getAllVesselTypeSinceDateSynchro
in interface VesselTypeDao
VesselTypeDao.getAllVesselTypeSinceDateSynchro(int, int, int, java.sql.Timestamp)
public java.util.Collection getAllVesselTypeSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
VesselTypeDao
Does the same thing as VesselTypeDao.getAllVesselTypeSinceDateSynchro(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.
getAllVesselTypeSinceDateSynchro
in interface VesselTypeDao
VesselTypeDao.getAllVesselTypeSinceDateSynchro(int, java.lang.String, int, int, java.sql.Timestamp)
public VesselType createFromClusterVesselType(ClusterVesselType clusterVesselType)
createFromClusterVesselType
in interface VesselTypeDao
VesselTypeDao.createFromClusterVesselType(fr.ifremer.allegro.referential.generic.cluster.ClusterVesselType)
protected abstract VesselType handleCreateFromClusterVesselType(ClusterVesselType clusterVesselType) throws java.lang.Exception
createFromClusterVesselType(fr.ifremer.allegro.referential.generic.cluster.ClusterVesselType)
java.lang.Exception
public ClusterVesselType[] getAllClusterVesselTypeSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
getAllClusterVesselTypeSinceDateSynchro
in interface VesselTypeDao
VesselTypeDao.getAllClusterVesselTypeSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected abstract ClusterVesselType[] handleGetAllClusterVesselTypeSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize) throws java.lang.Exception
getAllClusterVesselTypeSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
java.lang.Exception
protected java.lang.Object transformEntity(int transform, VesselType entity)
transform
flag is set to one of the constants defined in fr.ifremer.allegro.referential.VesselTypeDao
, please note
that the VesselTypeDao.TRANSFORM_NONE
constant denotes no transformation, so the entity itself
will be returned.
This method will return instances of these types:
VesselType
- VesselTypeDao.TRANSFORM_NONE
RemoteVesselTypeFullVO
- TRANSFORM_REMOTEVESSELTYPEFULLVO
RemoteVesselTypeNaturalId
- TRANSFORM_REMOTEVESSELTYPENATURALID
ClusterVesselType
- TRANSFORM_CLUSTERVESSELTYPE
VesselTypeDao.TRANSFORM_NONE
is assumed.
transform
- one of the constants declared in VesselTypeDao
entity
- an entity that was found
transformEntities(int,java.util.Collection)
protected void transformEntities(int transform, java.util.Collection entities)
transformEntity(int,fr.ifremer.allegro.referential.VesselType)
method. This method does not instantiate a new collection.
This method is to be used internally only.
transform
- one of the constants declared in fr.ifremer.allegro.referential.VesselTypeDao
entities
- the collection of entities to transformtransformEntity(int,fr.ifremer.allegro.referential.VesselType)
protected VesselType toEntity(java.lang.Object[] row)
public final void toRemoteVesselTypeFullVOCollection(java.util.Collection entities)
VesselTypeDao
RemoteVesselTypeFullVO
.
toRemoteVesselTypeFullVOCollection
in interface VesselTypeDao
VesselTypeDao.toRemoteVesselTypeFullVOCollection(java.util.Collection)
public final RemoteVesselTypeFullVO[] toRemoteVesselTypeFullVOArray(java.util.Collection entities)
VesselTypeDao
RemoteVesselTypeFullVO
.
toRemoteVesselTypeFullVOArray
in interface VesselTypeDao
VesselTypeDao.toRemoteVesselTypeFullVOArray(java.util.Collection)
protected RemoteVesselTypeFullVO toRemoteVesselTypeFullVO(java.lang.Object[] row)
VesselTypeDaoImpl
class if you intend to use reporting queries.
VesselTypeDao.toRemoteVesselTypeFullVO(fr.ifremer.allegro.referential.VesselType)
public final void remoteVesselTypeFullVOToEntityCollection(java.util.Collection instances)
VesselTypeDao
RemoteVesselTypeFullVO
to this
DAO's entity.
remoteVesselTypeFullVOToEntityCollection
in interface VesselTypeDao
VesselTypeDao.remoteVesselTypeFullVOToEntityCollection(java.util.Collection)
public void toRemoteVesselTypeFullVO(VesselType source, RemoteVesselTypeFullVO target)
VesselTypeDao
toRemoteVesselTypeFullVO
in interface VesselTypeDao
VesselTypeDao.toRemoteVesselTypeFullVO(fr.ifremer.allegro.referential.VesselType, fr.ifremer.allegro.referential.generic.vo.RemoteVesselTypeFullVO)
public RemoteVesselTypeFullVO toRemoteVesselTypeFullVO(VesselType entity)
VesselTypeDao
RemoteVesselTypeFullVO
.
toRemoteVesselTypeFullVO
in interface VesselTypeDao
VesselTypeDao.toRemoteVesselTypeFullVO(fr.ifremer.allegro.referential.VesselType)
public void remoteVesselTypeFullVOToEntity(RemoteVesselTypeFullVO source, VesselType target, boolean copyIfNull)
VesselTypeDao
RemoteVesselTypeFullVO
to the specified entity.
remoteVesselTypeFullVOToEntity
in interface VesselTypeDao
copyIfNull
- If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE,
it will be copied regardless of its value.fr.ifremer.allegro.referential.VesselTypeDao#remoteVesselTypeFullVOToEntity(fr.ifremer.allegro.referential.generic.vo.RemoteVesselTypeFullVO, fr.ifremer.allegro.referential.VesselType)
public final void toRemoteVesselTypeNaturalIdCollection(java.util.Collection entities)
VesselTypeDao
RemoteVesselTypeNaturalId
.
toRemoteVesselTypeNaturalIdCollection
in interface VesselTypeDao
VesselTypeDao.toRemoteVesselTypeNaturalIdCollection(java.util.Collection)
public final RemoteVesselTypeNaturalId[] toRemoteVesselTypeNaturalIdArray(java.util.Collection entities)
VesselTypeDao
RemoteVesselTypeNaturalId
.
toRemoteVesselTypeNaturalIdArray
in interface VesselTypeDao
VesselTypeDao.toRemoteVesselTypeNaturalIdArray(java.util.Collection)
protected RemoteVesselTypeNaturalId toRemoteVesselTypeNaturalId(java.lang.Object[] row)
VesselTypeDaoImpl
class if you intend to use reporting queries.
VesselTypeDao.toRemoteVesselTypeNaturalId(fr.ifremer.allegro.referential.VesselType)
public final void remoteVesselTypeNaturalIdToEntityCollection(java.util.Collection instances)
VesselTypeDao
RemoteVesselTypeNaturalId
to this
DAO's entity.
remoteVesselTypeNaturalIdToEntityCollection
in interface VesselTypeDao
VesselTypeDao.remoteVesselTypeNaturalIdToEntityCollection(java.util.Collection)
public void toRemoteVesselTypeNaturalId(VesselType source, RemoteVesselTypeNaturalId target)
VesselTypeDao
toRemoteVesselTypeNaturalId
in interface VesselTypeDao
VesselTypeDao.toRemoteVesselTypeNaturalId(fr.ifremer.allegro.referential.VesselType, fr.ifremer.allegro.referential.generic.vo.RemoteVesselTypeNaturalId)
public RemoteVesselTypeNaturalId toRemoteVesselTypeNaturalId(VesselType entity)
VesselTypeDao
RemoteVesselTypeNaturalId
.
toRemoteVesselTypeNaturalId
in interface VesselTypeDao
VesselTypeDao.toRemoteVesselTypeNaturalId(fr.ifremer.allegro.referential.VesselType)
public void remoteVesselTypeNaturalIdToEntity(RemoteVesselTypeNaturalId source, VesselType target, boolean copyIfNull)
VesselTypeDao
RemoteVesselTypeNaturalId
to the specified entity.
remoteVesselTypeNaturalIdToEntity
in interface VesselTypeDao
copyIfNull
- If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE,
it will be copied regardless of its value.fr.ifremer.allegro.referential.VesselTypeDao#remoteVesselTypeNaturalIdToEntity(fr.ifremer.allegro.referential.generic.vo.RemoteVesselTypeNaturalId, fr.ifremer.allegro.referential.VesselType)
public final void toClusterVesselTypeCollection(java.util.Collection entities)
VesselTypeDao
ClusterVesselType
.
toClusterVesselTypeCollection
in interface VesselTypeDao
VesselTypeDao.toClusterVesselTypeCollection(java.util.Collection)
public final ClusterVesselType[] toClusterVesselTypeArray(java.util.Collection entities)
VesselTypeDao
ClusterVesselType
.
toClusterVesselTypeArray
in interface VesselTypeDao
VesselTypeDao.toClusterVesselTypeArray(java.util.Collection)
protected ClusterVesselType toClusterVesselType(java.lang.Object[] row)
VesselTypeDaoImpl
class if you intend to use reporting queries.
VesselTypeDao.toClusterVesselType(fr.ifremer.allegro.referential.VesselType)
public final void clusterVesselTypeToEntityCollection(java.util.Collection instances)
VesselTypeDao
ClusterVesselType
to this
DAO's entity.
clusterVesselTypeToEntityCollection
in interface VesselTypeDao
VesselTypeDao.clusterVesselTypeToEntityCollection(java.util.Collection)
public void toClusterVesselType(VesselType source, ClusterVesselType target)
VesselTypeDao
toClusterVesselType
in interface VesselTypeDao
VesselTypeDao.toClusterVesselType(fr.ifremer.allegro.referential.VesselType, fr.ifremer.allegro.referential.generic.cluster.ClusterVesselType)
public ClusterVesselType toClusterVesselType(VesselType entity)
VesselTypeDao
ClusterVesselType
.
toClusterVesselType
in interface VesselTypeDao
VesselTypeDao.toClusterVesselType(fr.ifremer.allegro.referential.VesselType)
public void clusterVesselTypeToEntity(ClusterVesselType source, VesselType target, boolean copyIfNull)
VesselTypeDao
ClusterVesselType
to the specified entity.
clusterVesselTypeToEntity
in interface VesselTypeDao
copyIfNull
- If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE,
it will be copied regardless of its value.fr.ifremer.allegro.referential.VesselTypeDao#clusterVesselTypeToEntity(fr.ifremer.allegro.referential.generic.cluster.ClusterVesselType, fr.ifremer.allegro.referential.VesselType)
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)
VesselTypeDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface VesselTypeDao
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.VesselTypeDao.search(int, int, int, fr.ifremer.allegro.Search)
public PaginationResult search(int pageNumber, int pageSize, Search search)
VesselTypeDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface VesselTypeDao
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.VesselTypeDao.search(int, int, fr.ifremer.allegro.Search)
public java.util.Set search(int transform, Search search)
VesselTypeDao
VesselTypeDao.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 VesselTypeDao
transform
- the transformation flag.search
- the search object which provides the search parameters and pagination specification.
VesselTypeDao.search(int, fr.ifremer.allegro.Search)
public java.util.Set search(Search search)
VesselTypeDao
search
object.
search
in interface VesselTypeDao
search
- the search object which provides the search parameters and pagination specification.
VesselTypeDao.search(fr.ifremer.allegro.Search)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |