|
||||||||||
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.vessel.VesselEngineTypeDaoBase
public abstract class VesselEngineTypeDaoBase
Base Spring DAO Class: is able to create, update, remove, load, and find
objects of type fr.ifremer.allegro.referential.vessel.VesselEngineType
.
VesselEngineType
Field Summary |
---|
Fields inherited from interface fr.ifremer.allegro.referential.vessel.VesselEngineTypeDao |
---|
TRANSFORM_CLUSTERVESSELENGINETYPE, TRANSFORM_NONE, TRANSFORM_REMOTEVESSELENGINETYPEFULLVO, TRANSFORM_REMOTEVESSELENGINETYPENATURALID |
Constructor Summary | |
---|---|
VesselEngineTypeDaoBase()
|
Method Summary | |
---|---|
void |
clusterVesselEngineTypeToEntity(ClusterVesselEngineType source,
VesselEngineType target,
boolean copyIfNull)
Copies the fields of ClusterVesselEngineType to the specified entity. |
void |
clusterVesselEngineTypeToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type ClusterVesselEngineType to this
DAO's entity. |
java.util.Collection |
create(java.util.Collection entities)
Creates a new instance of fr.ifremer.allegro.referential.vessel.VesselEngineType and adds from the passed in entities collection |
java.util.Collection |
create(int transform,
java.util.Collection entities)
Does the same thing as VesselEngineTypeDao.create(fr.ifremer.allegro.referential.vessel.VesselEngineType) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
VesselEngineType vesselEngineType)
Does the same thing as VesselEngineTypeDao.create(fr.ifremer.allegro.referential.vessel.VesselEngineType) with an
additional flag called transform . |
VesselEngineType |
create(VesselEngineType vesselEngineType)
Creates an instance of fr.ifremer.allegro.referential.vessel.VesselEngineType and adds it to the persistent store. |
VesselEngineType |
createFromClusterVesselEngineType(ClusterVesselEngineType clusterVesselEngineType)
|
VesselEngineType |
findVesselEngineTypeById(java.lang.Integer id)
|
java.lang.Object |
findVesselEngineTypeById(int transform,
java.lang.Integer id)
Does the same thing as VesselEngineTypeDao.findVesselEngineTypeById(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findVesselEngineTypeById(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as VesselEngineTypeDao.findVesselEngineTypeById(int, java.lang.Integer) with an
additional argument called queryString . |
VesselEngineType |
findVesselEngineTypeById(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as VesselEngineTypeDao.findVesselEngineTypeById(java.lang.Integer) with an
additional argument called queryString . |
VesselEngineType |
findVesselEngineTypeByNaturalId(java.lang.Integer id)
|
java.lang.Object |
findVesselEngineTypeByNaturalId(int transform,
java.lang.Integer id)
Does the same thing as VesselEngineTypeDao.findVesselEngineTypeByNaturalId(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findVesselEngineTypeByNaturalId(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as VesselEngineTypeDao.findVesselEngineTypeByNaturalId(int, java.lang.Integer) with an
additional argument called queryString . |
VesselEngineType |
findVesselEngineTypeByNaturalId(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as VesselEngineTypeDao.findVesselEngineTypeByNaturalId(java.lang.Integer) with an
additional argument called queryString . |
ClusterVesselEngineType[] |
getAllClusterVesselEngineType(java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize)
|
java.util.Collection |
getAllVesselEngineType()
|
java.util.Collection |
getAllVesselEngineType(int transform)
Does the same thing as VesselEngineTypeDao.getAllVesselEngineType() with an
additional flag called transform . |
java.util.Collection |
getAllVesselEngineType(int pageNumber,
int pageSize)
Does the same thing as VesselEngineTypeDao.getAllVesselEngineType() with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllVesselEngineType(int transform,
int pageNumber,
int pageSize)
Does the same thing as VesselEngineTypeDao.getAllVesselEngineType(int) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllVesselEngineType(int transform,
java.lang.String queryString)
Does the same thing as VesselEngineTypeDao.getAllVesselEngineType(int) with an
additional argument called queryString . |
java.util.Collection |
getAllVesselEngineType(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as VesselEngineTypeDao.getAllVesselEngineType(int, String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllVesselEngineType(java.lang.String queryString)
Does the same thing as VesselEngineTypeDao.getAllVesselEngineType() with an
additional argument called queryString . |
java.util.Collection |
getAllVesselEngineType(java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as VesselEngineTypeDao.getAllVesselEngineType(String) with an
additional two arguments called pageNumber and pageSize . |
protected java.security.Principal |
getPrincipal()
Gets the current principal if one has been set,
otherwise returns null . |
protected abstract VesselEngineType |
handleCreateFromClusterVesselEngineType(ClusterVesselEngineType clusterVesselEngineType)
Performs the core logic for createFromClusterVesselEngineType(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterVesselEngineType) |
protected abstract ClusterVesselEngineType[] |
handleGetAllClusterVesselEngineType(java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize)
Performs the core logic for getAllClusterVesselEngineType(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer) |
VesselEngineType |
load(java.lang.Integer id)
Loads an instance of fr.ifremer.allegro.referential.vessel.VesselEngineType from the persistent store. |
java.lang.Object |
load(int transform,
java.lang.Integer id)
Does the same thing as VesselEngineTypeDao.load(java.lang.Integer) with an
additional flag called transform . |
java.util.Collection |
loadAll()
Loads all entities of type VesselEngineType . |
java.util.Collection |
loadAll(int transform)
Does the same thing as VesselEngineTypeDao.loadAll() with an
additional flag called transform . |
java.util.Collection |
loadAll(int pageNumber,
int pageSize)
Does the same thing as VesselEngineTypeDao.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 VesselEngineTypeDao.loadAll(int) with an
additional two arguments called pageNumber and pageSize . |
void |
remoteVesselEngineTypeFullVOToEntity(RemoteVesselEngineTypeFullVO source,
VesselEngineType target,
boolean copyIfNull)
Copies the fields of RemoteVesselEngineTypeFullVO to the specified entity. |
void |
remoteVesselEngineTypeFullVOToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteVesselEngineTypeFullVO to this
DAO's entity. |
void |
remoteVesselEngineTypeNaturalIdToEntity(RemoteVesselEngineTypeNaturalId source,
VesselEngineType target,
boolean copyIfNull)
Copies the fields of RemoteVesselEngineTypeNaturalId to the specified entity. |
void |
remoteVesselEngineTypeNaturalIdToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteVesselEngineTypeNaturalId 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.vessel.VesselEngineType having the given identifier from the persistent store. |
void |
remove(VesselEngineType vesselEngineType)
Removes the instance of fr.ifremer.allegro.referential.vessel.VesselEngineType 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 VesselEngineTypeDao.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. |
protected ClusterVesselEngineType |
toClusterVesselEngineType(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
ClusterVesselEngineType |
toClusterVesselEngineType(VesselEngineType entity)
Converts this DAO's entity to an object of type ClusterVesselEngineType . |
void |
toClusterVesselEngineType(VesselEngineType source,
ClusterVesselEngineType target)
Copies the fields of the specified entity to the target value object. |
ClusterVesselEngineType[] |
toClusterVesselEngineTypeArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type ClusterVesselEngineType . |
void |
toClusterVesselEngineTypeCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type ClusterVesselEngineType . |
protected VesselEngineType |
toEntity(java.lang.Object[] row)
|
protected RemoteVesselEngineTypeFullVO |
toRemoteVesselEngineTypeFullVO(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteVesselEngineTypeFullVO |
toRemoteVesselEngineTypeFullVO(VesselEngineType entity)
Converts this DAO's entity to an object of type RemoteVesselEngineTypeFullVO . |
void |
toRemoteVesselEngineTypeFullVO(VesselEngineType source,
RemoteVesselEngineTypeFullVO target)
Copies the fields of the specified entity to the target value object. |
RemoteVesselEngineTypeFullVO[] |
toRemoteVesselEngineTypeFullVOArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteVesselEngineTypeFullVO . |
void |
toRemoteVesselEngineTypeFullVOCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteVesselEngineTypeFullVO . |
protected RemoteVesselEngineTypeNaturalId |
toRemoteVesselEngineTypeNaturalId(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteVesselEngineTypeNaturalId |
toRemoteVesselEngineTypeNaturalId(VesselEngineType entity)
Converts this DAO's entity to an object of type RemoteVesselEngineTypeNaturalId . |
void |
toRemoteVesselEngineTypeNaturalId(VesselEngineType source,
RemoteVesselEngineTypeNaturalId target)
Copies the fields of the specified entity to the target value object. |
RemoteVesselEngineTypeNaturalId[] |
toRemoteVesselEngineTypeNaturalIdArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteVesselEngineTypeNaturalId . |
void |
toRemoteVesselEngineTypeNaturalIdCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteVesselEngineTypeNaturalId . |
protected void |
transformEntities(int transform,
java.util.Collection entities)
Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.vessel.VesselEngineType)
method. |
protected java.lang.Object |
transformEntity(int transform,
VesselEngineType 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.vessel.VesselEngineTypeDao , please note
that the VesselEngineTypeDao.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(VesselEngineType vesselEngineType)
Updates the vesselEngineType 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.vessel.VesselEngineTypeDao |
---|
clusterVesselEngineTypeToEntity, remoteVesselEngineTypeFullVOToEntity, remoteVesselEngineTypeNaturalIdToEntity |
Constructor Detail |
---|
public VesselEngineTypeDaoBase()
Method Detail |
---|
public java.lang.Object load(int transform, java.lang.Integer id)
VesselEngineTypeDao
Does the same thing as VesselEngineTypeDao.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 VesselEngineTypeDao
id
- identifier of the entity to load
VesselEngineTypeDao.load(int, java.lang.Integer)
public VesselEngineType load(java.lang.Integer id)
VesselEngineTypeDao
load
in interface VesselEngineTypeDao
VesselEngineTypeDao.load(java.lang.Integer)
public java.util.Collection loadAll()
VesselEngineTypeDao
VesselEngineType
.
loadAll
in interface VesselEngineTypeDao
VesselEngineTypeDao.loadAll()
public java.util.Collection loadAll(int transform)
VesselEngineTypeDao
Does the same thing as VesselEngineTypeDao.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 VesselEngineTypeDao
transform
- the flag indicating what transformation to use.
VesselEngineTypeDao.loadAll(int)
public java.util.Collection loadAll(int pageNumber, int pageSize)
VesselEngineTypeDao
Does the same thing as VesselEngineTypeDao.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 VesselEngineTypeDao
pageNumber
- the page number to retrieve when paging results.pageSize
- the size of the page to retrieve when paging results.
VesselEngineTypeDao.loadAll(int, int)
public java.util.Collection loadAll(int transform, int pageNumber, int pageSize)
VesselEngineTypeDao
Does the same thing as VesselEngineTypeDao.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 VesselEngineTypeDao
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.
VesselEngineTypeDao.loadAll(int, int, int)
public VesselEngineType create(VesselEngineType vesselEngineType)
VesselEngineTypeDao
create
in interface VesselEngineTypeDao
VesselEngineTypeDao.create(fr.ifremer.allegro.referential.vessel.VesselEngineType)
public java.lang.Object create(int transform, VesselEngineType vesselEngineType)
VesselEngineTypeDao
Does the same thing as VesselEngineTypeDao.create(fr.ifremer.allegro.referential.vessel.VesselEngineType)
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 VesselEngineTypeDao
VesselEngineTypeDao.create(int transform, fr.ifremer.allegro.referential.vessel.VesselEngineType)
public java.util.Collection create(java.util.Collection entities)
VesselEngineTypeDao
entities
collection
create
in interface VesselEngineTypeDao
entities
- the collection of fr.ifremer.allegro.referential.vessel.VesselEngineType
instances to create.
VesselEngineTypeDao.create(java.util.Collection)
public java.util.Collection create(int transform, java.util.Collection entities)
VesselEngineTypeDao
Does the same thing as VesselEngineTypeDao.create(fr.ifremer.allegro.referential.vessel.VesselEngineType)
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 VesselEngineTypeDao
VesselEngineTypeDao.create(int, java.util.Collection)
public void update(VesselEngineType vesselEngineType)
VesselEngineTypeDao
vesselEngineType
instance in the persistent store.
update
in interface VesselEngineTypeDao
VesselEngineTypeDao.update(fr.ifremer.allegro.referential.vessel.VesselEngineType)
public void update(java.util.Collection entities)
VesselEngineTypeDao
entities
collection in the persistent store.
update
in interface VesselEngineTypeDao
VesselEngineTypeDao.update(java.util.Collection)
public void remove(VesselEngineType vesselEngineType)
VesselEngineTypeDao
remove
in interface VesselEngineTypeDao
VesselEngineTypeDao.remove(fr.ifremer.allegro.referential.vessel.VesselEngineType)
public void remove(java.lang.Integer id)
VesselEngineTypeDao
identifier
from the persistent store.
remove
in interface VesselEngineTypeDao
VesselEngineTypeDao.remove(java.lang.Integer)
public void remove(java.util.Collection entities)
VesselEngineTypeDao
entities collection.
- Specified by:
remove
in interface VesselEngineTypeDao
- See Also:
VesselEngineTypeDao.remove(java.util.Collection)
public java.util.Collection getAllVesselEngineType()
getAllVesselEngineType
in interface VesselEngineTypeDao
VesselEngineTypeDao.getAllVesselEngineType()
public java.util.Collection getAllVesselEngineType(int transform)
VesselEngineTypeDao
Does the same thing as VesselEngineTypeDao.getAllVesselEngineType()
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.
getAllVesselEngineType
in interface VesselEngineTypeDao
VesselEngineTypeDao.getAllVesselEngineType(int)
public java.util.Collection getAllVesselEngineType(java.lang.String queryString)
VesselEngineTypeDao
Does the same thing as VesselEngineTypeDao.getAllVesselEngineType()
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VesselEngineTypeDao.getAllVesselEngineType()
.
getAllVesselEngineType
in interface VesselEngineTypeDao
VesselEngineTypeDao.getAllVesselEngineType(java.lang.String)
public java.util.Collection getAllVesselEngineType(int pageNumber, int pageSize)
VesselEngineTypeDao
Does the same thing as VesselEngineTypeDao.getAllVesselEngineType()
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.
getAllVesselEngineType
in interface VesselEngineTypeDao
VesselEngineTypeDao.getAllVesselEngineType(int, int)
public java.util.Collection getAllVesselEngineType(java.lang.String queryString, int pageNumber, int pageSize)
VesselEngineTypeDao
Does the same thing as VesselEngineTypeDao.getAllVesselEngineType(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.
getAllVesselEngineType
in interface VesselEngineTypeDao
VesselEngineTypeDao.getAllVesselEngineType(String, int, int)
public java.util.Collection getAllVesselEngineType(int transform, java.lang.String queryString)
VesselEngineTypeDao
Does the same thing as VesselEngineTypeDao.getAllVesselEngineType(int)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VesselEngineTypeDao.getAllVesselEngineType(int)
.
getAllVesselEngineType
in interface VesselEngineTypeDao
VesselEngineTypeDao.getAllVesselEngineType(int, String)
public java.util.Collection getAllVesselEngineType(int transform, int pageNumber, int pageSize)
VesselEngineTypeDao
Does the same thing as VesselEngineTypeDao.getAllVesselEngineType(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.
getAllVesselEngineType
in interface VesselEngineTypeDao
VesselEngineTypeDao.getAllVesselEngineType(int, int, int)
public java.util.Collection getAllVesselEngineType(int transform, java.lang.String queryString, int pageNumber, int pageSize)
VesselEngineTypeDao
Does the same thing as VesselEngineTypeDao.getAllVesselEngineType(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.
getAllVesselEngineType
in interface VesselEngineTypeDao
VesselEngineTypeDao.getAllVesselEngineType(int, java.lang.String, int, int)
public VesselEngineType findVesselEngineTypeById(java.lang.Integer id)
findVesselEngineTypeById
in interface VesselEngineTypeDao
VesselEngineTypeDao.findVesselEngineTypeById(java.lang.Integer)
public java.lang.Object findVesselEngineTypeById(int transform, java.lang.Integer id)
VesselEngineTypeDao
Does the same thing as VesselEngineTypeDao.findVesselEngineTypeById(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.
findVesselEngineTypeById
in interface VesselEngineTypeDao
VesselEngineTypeDao.findVesselEngineTypeById(int, java.lang.Integer)
public VesselEngineType findVesselEngineTypeById(java.lang.String queryString, java.lang.Integer id)
VesselEngineTypeDao
Does the same thing as VesselEngineTypeDao.findVesselEngineTypeById(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VesselEngineTypeDao.findVesselEngineTypeById(java.lang.Integer)
.
findVesselEngineTypeById
in interface VesselEngineTypeDao
VesselEngineTypeDao.findVesselEngineTypeById(java.lang.String, java.lang.Integer)
public java.lang.Object findVesselEngineTypeById(int transform, java.lang.String queryString, java.lang.Integer id)
VesselEngineTypeDao
Does the same thing as VesselEngineTypeDao.findVesselEngineTypeById(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VesselEngineTypeDao.findVesselEngineTypeById(int, java.lang.Integer id)
.
findVesselEngineTypeById
in interface VesselEngineTypeDao
VesselEngineTypeDao.findVesselEngineTypeById(int, java.lang.String, java.lang.Integer)
public VesselEngineType findVesselEngineTypeByNaturalId(java.lang.Integer id)
findVesselEngineTypeByNaturalId
in interface VesselEngineTypeDao
VesselEngineTypeDao.findVesselEngineTypeByNaturalId(java.lang.Integer)
public java.lang.Object findVesselEngineTypeByNaturalId(int transform, java.lang.Integer id)
VesselEngineTypeDao
Does the same thing as VesselEngineTypeDao.findVesselEngineTypeByNaturalId(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.
findVesselEngineTypeByNaturalId
in interface VesselEngineTypeDao
VesselEngineTypeDao.findVesselEngineTypeByNaturalId(int, java.lang.Integer)
public VesselEngineType findVesselEngineTypeByNaturalId(java.lang.String queryString, java.lang.Integer id)
VesselEngineTypeDao
Does the same thing as VesselEngineTypeDao.findVesselEngineTypeByNaturalId(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VesselEngineTypeDao.findVesselEngineTypeByNaturalId(java.lang.Integer)
.
findVesselEngineTypeByNaturalId
in interface VesselEngineTypeDao
VesselEngineTypeDao.findVesselEngineTypeByNaturalId(java.lang.String, java.lang.Integer)
public java.lang.Object findVesselEngineTypeByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
VesselEngineTypeDao
Does the same thing as VesselEngineTypeDao.findVesselEngineTypeByNaturalId(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VesselEngineTypeDao.findVesselEngineTypeByNaturalId(int, java.lang.Integer id)
.
findVesselEngineTypeByNaturalId
in interface VesselEngineTypeDao
VesselEngineTypeDao.findVesselEngineTypeByNaturalId(int, java.lang.String, java.lang.Integer)
public VesselEngineType createFromClusterVesselEngineType(ClusterVesselEngineType clusterVesselEngineType)
createFromClusterVesselEngineType
in interface VesselEngineTypeDao
VesselEngineTypeDao.createFromClusterVesselEngineType(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterVesselEngineType)
protected abstract VesselEngineType handleCreateFromClusterVesselEngineType(ClusterVesselEngineType clusterVesselEngineType) throws java.lang.Exception
createFromClusterVesselEngineType(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterVesselEngineType)
java.lang.Exception
public ClusterVesselEngineType[] getAllClusterVesselEngineType(java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
getAllClusterVesselEngineType
in interface VesselEngineTypeDao
VesselEngineTypeDao.getAllClusterVesselEngineType(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected abstract ClusterVesselEngineType[] handleGetAllClusterVesselEngineType(java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize) throws java.lang.Exception
getAllClusterVesselEngineType(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
java.lang.Exception
protected java.lang.Object transformEntity(int transform, VesselEngineType entity)
transform
flag is set to one of the constants defined in fr.ifremer.allegro.referential.vessel.VesselEngineTypeDao
, please note
that the VesselEngineTypeDao.TRANSFORM_NONE
constant denotes no transformation, so the entity itself
will be returned.
This method will return instances of these types:
VesselEngineType
- VesselEngineTypeDao.TRANSFORM_NONE
RemoteVesselEngineTypeFullVO
- TRANSFORM_REMOTEVESSELENGINETYPEFULLVO
RemoteVesselEngineTypeNaturalId
- TRANSFORM_REMOTEVESSELENGINETYPENATURALID
ClusterVesselEngineType
- TRANSFORM_CLUSTERVESSELENGINETYPE
VesselEngineTypeDao.TRANSFORM_NONE
is assumed.
transform
- one of the constants declared in VesselEngineTypeDao
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.vessel.VesselEngineType)
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.vessel.VesselEngineTypeDao
entities
- the collection of entities to transformtransformEntity(int,fr.ifremer.allegro.referential.vessel.VesselEngineType)
protected VesselEngineType toEntity(java.lang.Object[] row)
public final void toRemoteVesselEngineTypeFullVOCollection(java.util.Collection entities)
VesselEngineTypeDao
RemoteVesselEngineTypeFullVO
.
toRemoteVesselEngineTypeFullVOCollection
in interface VesselEngineTypeDao
VesselEngineTypeDao.toRemoteVesselEngineTypeFullVOCollection(java.util.Collection)
public final RemoteVesselEngineTypeFullVO[] toRemoteVesselEngineTypeFullVOArray(java.util.Collection entities)
VesselEngineTypeDao
RemoteVesselEngineTypeFullVO
.
toRemoteVesselEngineTypeFullVOArray
in interface VesselEngineTypeDao
VesselEngineTypeDao.toRemoteVesselEngineTypeFullVOArray(java.util.Collection)
protected RemoteVesselEngineTypeFullVO toRemoteVesselEngineTypeFullVO(java.lang.Object[] row)
VesselEngineTypeDaoImpl
class if you intend to use reporting queries.
VesselEngineTypeDao.toRemoteVesselEngineTypeFullVO(fr.ifremer.allegro.referential.vessel.VesselEngineType)
public final void remoteVesselEngineTypeFullVOToEntityCollection(java.util.Collection instances)
VesselEngineTypeDao
RemoteVesselEngineTypeFullVO
to this
DAO's entity.
remoteVesselEngineTypeFullVOToEntityCollection
in interface VesselEngineTypeDao
VesselEngineTypeDao.remoteVesselEngineTypeFullVOToEntityCollection(java.util.Collection)
public void toRemoteVesselEngineTypeFullVO(VesselEngineType source, RemoteVesselEngineTypeFullVO target)
VesselEngineTypeDao
toRemoteVesselEngineTypeFullVO
in interface VesselEngineTypeDao
VesselEngineTypeDao.toRemoteVesselEngineTypeFullVO(fr.ifremer.allegro.referential.vessel.VesselEngineType, fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselEngineTypeFullVO)
public RemoteVesselEngineTypeFullVO toRemoteVesselEngineTypeFullVO(VesselEngineType entity)
VesselEngineTypeDao
RemoteVesselEngineTypeFullVO
.
toRemoteVesselEngineTypeFullVO
in interface VesselEngineTypeDao
VesselEngineTypeDao.toRemoteVesselEngineTypeFullVO(fr.ifremer.allegro.referential.vessel.VesselEngineType)
public void remoteVesselEngineTypeFullVOToEntity(RemoteVesselEngineTypeFullVO source, VesselEngineType target, boolean copyIfNull)
VesselEngineTypeDao
RemoteVesselEngineTypeFullVO
to the specified entity.
remoteVesselEngineTypeFullVOToEntity
in interface VesselEngineTypeDao
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.vessel.VesselEngineTypeDao#remoteVesselEngineTypeFullVOToEntity(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselEngineTypeFullVO, fr.ifremer.allegro.referential.vessel.VesselEngineType)
public final void toRemoteVesselEngineTypeNaturalIdCollection(java.util.Collection entities)
VesselEngineTypeDao
RemoteVesselEngineTypeNaturalId
.
toRemoteVesselEngineTypeNaturalIdCollection
in interface VesselEngineTypeDao
VesselEngineTypeDao.toRemoteVesselEngineTypeNaturalIdCollection(java.util.Collection)
public final RemoteVesselEngineTypeNaturalId[] toRemoteVesselEngineTypeNaturalIdArray(java.util.Collection entities)
VesselEngineTypeDao
RemoteVesselEngineTypeNaturalId
.
toRemoteVesselEngineTypeNaturalIdArray
in interface VesselEngineTypeDao
VesselEngineTypeDao.toRemoteVesselEngineTypeNaturalIdArray(java.util.Collection)
protected RemoteVesselEngineTypeNaturalId toRemoteVesselEngineTypeNaturalId(java.lang.Object[] row)
VesselEngineTypeDaoImpl
class if you intend to use reporting queries.
VesselEngineTypeDao.toRemoteVesselEngineTypeNaturalId(fr.ifremer.allegro.referential.vessel.VesselEngineType)
public final void remoteVesselEngineTypeNaturalIdToEntityCollection(java.util.Collection instances)
VesselEngineTypeDao
RemoteVesselEngineTypeNaturalId
to this
DAO's entity.
remoteVesselEngineTypeNaturalIdToEntityCollection
in interface VesselEngineTypeDao
VesselEngineTypeDao.remoteVesselEngineTypeNaturalIdToEntityCollection(java.util.Collection)
public void toRemoteVesselEngineTypeNaturalId(VesselEngineType source, RemoteVesselEngineTypeNaturalId target)
VesselEngineTypeDao
toRemoteVesselEngineTypeNaturalId
in interface VesselEngineTypeDao
VesselEngineTypeDao.toRemoteVesselEngineTypeNaturalId(fr.ifremer.allegro.referential.vessel.VesselEngineType, fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselEngineTypeNaturalId)
public RemoteVesselEngineTypeNaturalId toRemoteVesselEngineTypeNaturalId(VesselEngineType entity)
VesselEngineTypeDao
RemoteVesselEngineTypeNaturalId
.
toRemoteVesselEngineTypeNaturalId
in interface VesselEngineTypeDao
VesselEngineTypeDao.toRemoteVesselEngineTypeNaturalId(fr.ifremer.allegro.referential.vessel.VesselEngineType)
public void remoteVesselEngineTypeNaturalIdToEntity(RemoteVesselEngineTypeNaturalId source, VesselEngineType target, boolean copyIfNull)
VesselEngineTypeDao
RemoteVesselEngineTypeNaturalId
to the specified entity.
remoteVesselEngineTypeNaturalIdToEntity
in interface VesselEngineTypeDao
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.vessel.VesselEngineTypeDao#remoteVesselEngineTypeNaturalIdToEntity(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselEngineTypeNaturalId, fr.ifremer.allegro.referential.vessel.VesselEngineType)
public final void toClusterVesselEngineTypeCollection(java.util.Collection entities)
VesselEngineTypeDao
ClusterVesselEngineType
.
toClusterVesselEngineTypeCollection
in interface VesselEngineTypeDao
VesselEngineTypeDao.toClusterVesselEngineTypeCollection(java.util.Collection)
public final ClusterVesselEngineType[] toClusterVesselEngineTypeArray(java.util.Collection entities)
VesselEngineTypeDao
ClusterVesselEngineType
.
toClusterVesselEngineTypeArray
in interface VesselEngineTypeDao
VesselEngineTypeDao.toClusterVesselEngineTypeArray(java.util.Collection)
protected ClusterVesselEngineType toClusterVesselEngineType(java.lang.Object[] row)
VesselEngineTypeDaoImpl
class if you intend to use reporting queries.
VesselEngineTypeDao.toClusterVesselEngineType(fr.ifremer.allegro.referential.vessel.VesselEngineType)
public final void clusterVesselEngineTypeToEntityCollection(java.util.Collection instances)
VesselEngineTypeDao
ClusterVesselEngineType
to this
DAO's entity.
clusterVesselEngineTypeToEntityCollection
in interface VesselEngineTypeDao
VesselEngineTypeDao.clusterVesselEngineTypeToEntityCollection(java.util.Collection)
public void toClusterVesselEngineType(VesselEngineType source, ClusterVesselEngineType target)
VesselEngineTypeDao
toClusterVesselEngineType
in interface VesselEngineTypeDao
VesselEngineTypeDao.toClusterVesselEngineType(fr.ifremer.allegro.referential.vessel.VesselEngineType, fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterVesselEngineType)
public ClusterVesselEngineType toClusterVesselEngineType(VesselEngineType entity)
VesselEngineTypeDao
ClusterVesselEngineType
.
toClusterVesselEngineType
in interface VesselEngineTypeDao
VesselEngineTypeDao.toClusterVesselEngineType(fr.ifremer.allegro.referential.vessel.VesselEngineType)
public void clusterVesselEngineTypeToEntity(ClusterVesselEngineType source, VesselEngineType target, boolean copyIfNull)
VesselEngineTypeDao
ClusterVesselEngineType
to the specified entity.
clusterVesselEngineTypeToEntity
in interface VesselEngineTypeDao
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.vessel.VesselEngineTypeDao#clusterVesselEngineTypeToEntity(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterVesselEngineType, fr.ifremer.allegro.referential.vessel.VesselEngineType)
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)
VesselEngineTypeDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface VesselEngineTypeDao
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.VesselEngineTypeDao.search(int, int, int, fr.ifremer.allegro.Search)
public PaginationResult search(int pageNumber, int pageSize, Search search)
VesselEngineTypeDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface VesselEngineTypeDao
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.VesselEngineTypeDao.search(int, int, fr.ifremer.allegro.Search)
public java.util.Set search(int transform, Search search)
VesselEngineTypeDao
VesselEngineTypeDao.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 VesselEngineTypeDao
transform
- the transformation flag.search
- the search object which provides the search parameters and pagination specification.
VesselEngineTypeDao.search(int, fr.ifremer.allegro.Search)
public java.util.Set search(Search search)
VesselEngineTypeDao
search
object.
search
in interface VesselEngineTypeDao
search
- the search object which provides the search parameters and pagination specification.
VesselEngineTypeDao.search(fr.ifremer.allegro.Search)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |