|
||||||||||
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.VesselMasterDaoBase
public abstract class VesselMasterDaoBase
Base Spring DAO Class: is able to create, update, remove, load, and find
objects of type fr.ifremer.allegro.referential.vessel.VesselMaster
.
VesselMaster
Field Summary |
---|
Fields inherited from interface fr.ifremer.allegro.referential.vessel.VesselMasterDao |
---|
TRANSFORM_CLUSTERVESSELMASTER, TRANSFORM_NONE, TRANSFORM_REMOTEVESSELMASTERFULLVO, TRANSFORM_REMOTEVESSELMASTERNATURALID |
Constructor Summary | |
---|---|
VesselMasterDaoBase()
|
Method Summary | |
---|---|
void |
clusterVesselMasterToEntity(ClusterVesselMaster source,
VesselMaster target,
boolean copyIfNull)
Copies the fields of ClusterVesselMaster to the specified entity. |
void |
clusterVesselMasterToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type ClusterVesselMaster to this
DAO's entity. |
java.util.Collection |
create(java.util.Collection entities)
Creates a new instance of fr.ifremer.allegro.referential.vessel.VesselMaster and adds from the passed in entities collection |
java.util.Collection |
create(int transform,
java.util.Collection entities)
Does the same thing as VesselMasterDao.create(fr.ifremer.allegro.referential.vessel.VesselMaster) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
java.lang.String registrationCode,
java.lang.String lastname,
java.lang.String firstname,
java.lang.String street,
java.lang.String zipcode,
java.lang.String city,
java.util.Date dateOfBirth,
java.util.Date retirementDate,
java.sql.Timestamp updateDate)
Does the same thing as VesselMasterDao.create(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.util.Date,java.util.Date,java.sql.Timestamp) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
VesselMaster vesselMaster)
Does the same thing as VesselMasterDao.create(fr.ifremer.allegro.referential.vessel.VesselMaster) with an
additional flag called transform . |
VesselMaster |
create(java.lang.String registrationCode,
java.lang.String lastname,
java.lang.String firstname,
java.lang.String street,
java.lang.String zipcode,
java.lang.String city,
java.util.Date dateOfBirth,
java.util.Date retirementDate,
java.sql.Timestamp updateDate)
Creates a new fr.ifremer.allegro.referential.vessel.VesselMaster
instance from all attributes and
properties and adds it to the persistent store. |
VesselMaster |
create(VesselMaster vesselMaster)
Creates an instance of fr.ifremer.allegro.referential.vessel.VesselMaster and adds it to the persistent store. |
VesselMaster |
createFromClusterVesselMaster(ClusterVesselMaster clusterVesselMaster)
|
VesselMaster |
findVesselMasterById(java.lang.Integer id)
|
java.lang.Object |
findVesselMasterById(int transform,
java.lang.Integer id)
Does the same thing as VesselMasterDao.findVesselMasterById(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findVesselMasterById(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as VesselMasterDao.findVesselMasterById(int, java.lang.Integer) with an
additional argument called queryString . |
VesselMaster |
findVesselMasterById(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as VesselMasterDao.findVesselMasterById(java.lang.Integer) with an
additional argument called queryString . |
VesselMaster |
findVesselMasterByNaturalId(java.lang.Integer id)
|
java.lang.Object |
findVesselMasterByNaturalId(int transform,
java.lang.Integer id)
Does the same thing as VesselMasterDao.findVesselMasterByNaturalId(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findVesselMasterByNaturalId(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as VesselMasterDao.findVesselMasterByNaturalId(int, java.lang.Integer) with an
additional argument called queryString . |
VesselMaster |
findVesselMasterByNaturalId(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as VesselMasterDao.findVesselMasterByNaturalId(java.lang.Integer) with an
additional argument called queryString . |
ClusterVesselMaster[] |
getAllClusterVesselMasterSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize)
|
java.util.Collection |
getAllVesselMaster()
|
java.util.Collection |
getAllVesselMaster(int transform)
Does the same thing as VesselMasterDao.getAllVesselMaster() with an
additional flag called transform . |
java.util.Collection |
getAllVesselMaster(int pageNumber,
int pageSize)
Does the same thing as VesselMasterDao.getAllVesselMaster() with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllVesselMaster(int transform,
int pageNumber,
int pageSize)
Does the same thing as VesselMasterDao.getAllVesselMaster(int) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllVesselMaster(int transform,
java.lang.String queryString)
Does the same thing as VesselMasterDao.getAllVesselMaster(int) with an
additional argument called queryString . |
java.util.Collection |
getAllVesselMaster(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as VesselMasterDao.getAllVesselMaster(int, String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllVesselMaster(java.lang.String queryString)
Does the same thing as VesselMasterDao.getAllVesselMaster() with an
additional argument called queryString . |
java.util.Collection |
getAllVesselMaster(java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as VesselMasterDao.getAllVesselMaster(String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllVesselMasterSinceDateSynchro(int transform,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as VesselMasterDao.getAllVesselMasterSinceDateSynchro(int, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllVesselMasterSinceDateSynchro(int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as VesselMasterDao.getAllVesselMasterSinceDateSynchro(java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllVesselMasterSinceDateSynchro(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as VesselMasterDao.getAllVesselMasterSinceDateSynchro(int, String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllVesselMasterSinceDateSynchro(int transform,
java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as VesselMasterDao.getAllVesselMasterSinceDateSynchro(int, java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllVesselMasterSinceDateSynchro(int transform,
java.sql.Timestamp updateDate)
Does the same thing as VesselMasterDao.getAllVesselMasterSinceDateSynchro(java.sql.Timestamp) with an
additional flag called transform . |
java.util.Collection |
getAllVesselMasterSinceDateSynchro(java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as VesselMasterDao.getAllVesselMasterSinceDateSynchro(String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllVesselMasterSinceDateSynchro(java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as VesselMasterDao.getAllVesselMasterSinceDateSynchro(java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllVesselMasterSinceDateSynchro(java.sql.Timestamp updateDate)
|
protected java.security.Principal |
getPrincipal()
Gets the current principal if one has been set,
otherwise returns null . |
protected abstract VesselMaster |
handleCreateFromClusterVesselMaster(ClusterVesselMaster clusterVesselMaster)
Performs the core logic for createFromClusterVesselMaster(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterVesselMaster) |
protected abstract ClusterVesselMaster[] |
handleGetAllClusterVesselMasterSinceDateSynchro(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 getAllClusterVesselMasterSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer) |
VesselMaster |
load(java.lang.Integer id)
Loads an instance of fr.ifremer.allegro.referential.vessel.VesselMaster from the persistent store. |
java.lang.Object |
load(int transform,
java.lang.Integer id)
Does the same thing as VesselMasterDao.load(java.lang.Integer) with an
additional flag called transform . |
java.util.Collection |
loadAll()
Loads all entities of type VesselMaster . |
java.util.Collection |
loadAll(int transform)
Does the same thing as VesselMasterDao.loadAll() with an
additional flag called transform . |
java.util.Collection |
loadAll(int pageNumber,
int pageSize)
Does the same thing as VesselMasterDao.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 VesselMasterDao.loadAll(int) with an
additional two arguments called pageNumber and pageSize . |
void |
remoteVesselMasterFullVOToEntity(RemoteVesselMasterFullVO source,
VesselMaster target,
boolean copyIfNull)
Copies the fields of RemoteVesselMasterFullVO to the specified entity. |
void |
remoteVesselMasterFullVOToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteVesselMasterFullVO to this
DAO's entity. |
void |
remoteVesselMasterNaturalIdToEntity(RemoteVesselMasterNaturalId source,
VesselMaster target,
boolean copyIfNull)
Copies the fields of RemoteVesselMasterNaturalId to the specified entity. |
void |
remoteVesselMasterNaturalIdToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteVesselMasterNaturalId 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.VesselMaster having the given identifier from the persistent store. |
void |
remove(VesselMaster vesselMaster)
Removes the instance of fr.ifremer.allegro.referential.vessel.VesselMaster 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 VesselMasterDao.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 ClusterVesselMaster |
toClusterVesselMaster(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
ClusterVesselMaster |
toClusterVesselMaster(VesselMaster entity)
Converts this DAO's entity to an object of type ClusterVesselMaster . |
void |
toClusterVesselMaster(VesselMaster source,
ClusterVesselMaster target)
Copies the fields of the specified entity to the target value object. |
ClusterVesselMaster[] |
toClusterVesselMasterArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type ClusterVesselMaster . |
void |
toClusterVesselMasterCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type ClusterVesselMaster . |
protected VesselMaster |
toEntity(java.lang.Object[] row)
|
protected RemoteVesselMasterFullVO |
toRemoteVesselMasterFullVO(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteVesselMasterFullVO |
toRemoteVesselMasterFullVO(VesselMaster entity)
Converts this DAO's entity to an object of type RemoteVesselMasterFullVO . |
void |
toRemoteVesselMasterFullVO(VesselMaster source,
RemoteVesselMasterFullVO target)
Copies the fields of the specified entity to the target value object. |
RemoteVesselMasterFullVO[] |
toRemoteVesselMasterFullVOArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteVesselMasterFullVO . |
void |
toRemoteVesselMasterFullVOCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteVesselMasterFullVO . |
protected RemoteVesselMasterNaturalId |
toRemoteVesselMasterNaturalId(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteVesselMasterNaturalId |
toRemoteVesselMasterNaturalId(VesselMaster entity)
Converts this DAO's entity to an object of type RemoteVesselMasterNaturalId . |
void |
toRemoteVesselMasterNaturalId(VesselMaster source,
RemoteVesselMasterNaturalId target)
Copies the fields of the specified entity to the target value object. |
RemoteVesselMasterNaturalId[] |
toRemoteVesselMasterNaturalIdArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteVesselMasterNaturalId . |
void |
toRemoteVesselMasterNaturalIdCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteVesselMasterNaturalId . |
protected void |
transformEntities(int transform,
java.util.Collection entities)
Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.vessel.VesselMaster)
method. |
protected java.lang.Object |
transformEntity(int transform,
VesselMaster 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.VesselMasterDao , please note
that the VesselMasterDao.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(VesselMaster vesselMaster)
Updates the vesselMaster 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.VesselMasterDao |
---|
clusterVesselMasterToEntity, remoteVesselMasterFullVOToEntity, remoteVesselMasterNaturalIdToEntity |
Constructor Detail |
---|
public VesselMasterDaoBase()
Method Detail |
---|
public java.lang.Object load(int transform, java.lang.Integer id)
VesselMasterDao
Does the same thing as VesselMasterDao.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 VesselMasterDao
id
- identifier of the entity to load
VesselMasterDao.load(int, java.lang.Integer)
public VesselMaster load(java.lang.Integer id)
VesselMasterDao
load
in interface VesselMasterDao
VesselMasterDao.load(java.lang.Integer)
public java.util.Collection loadAll()
VesselMasterDao
VesselMaster
.
loadAll
in interface VesselMasterDao
VesselMasterDao.loadAll()
public java.util.Collection loadAll(int transform)
VesselMasterDao
Does the same thing as VesselMasterDao.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 VesselMasterDao
transform
- the flag indicating what transformation to use.
VesselMasterDao.loadAll(int)
public java.util.Collection loadAll(int pageNumber, int pageSize)
VesselMasterDao
Does the same thing as VesselMasterDao.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 VesselMasterDao
pageNumber
- the page number to retrieve when paging results.pageSize
- the size of the page to retrieve when paging results.
VesselMasterDao.loadAll(int, int)
public java.util.Collection loadAll(int transform, int pageNumber, int pageSize)
VesselMasterDao
Does the same thing as VesselMasterDao.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 VesselMasterDao
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.
VesselMasterDao.loadAll(int, int, int)
public VesselMaster create(VesselMaster vesselMaster)
VesselMasterDao
create
in interface VesselMasterDao
VesselMasterDao.create(fr.ifremer.allegro.referential.vessel.VesselMaster)
public java.lang.Object create(int transform, VesselMaster vesselMaster)
VesselMasterDao
Does the same thing as VesselMasterDao.create(fr.ifremer.allegro.referential.vessel.VesselMaster)
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 VesselMasterDao
VesselMasterDao.create(int transform, fr.ifremer.allegro.referential.vessel.VesselMaster)
public java.util.Collection create(java.util.Collection entities)
VesselMasterDao
entities
collection
create
in interface VesselMasterDao
entities
- the collection of fr.ifremer.allegro.referential.vessel.VesselMaster
instances to create.
VesselMasterDao.create(java.util.Collection)
public java.util.Collection create(int transform, java.util.Collection entities)
VesselMasterDao
Does the same thing as VesselMasterDao.create(fr.ifremer.allegro.referential.vessel.VesselMaster)
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 VesselMasterDao
VesselMasterDao.create(int, java.util.Collection)
public VesselMaster create(java.lang.String registrationCode, java.lang.String lastname, java.lang.String firstname, java.lang.String street, java.lang.String zipcode, java.lang.String city, java.util.Date dateOfBirth, java.util.Date retirementDate, java.sql.Timestamp updateDate)
VesselMasterDao
Creates a new fr.ifremer.allegro.referential.vessel.VesselMaster
instance from all attributes and
properties and adds it to the persistent store.
create
in interface VesselMasterDao
VesselMasterDao.create(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.util.Date,java.util.Date,java.sql.Timestamp)
public java.lang.Object create(int transform, java.lang.String registrationCode, java.lang.String lastname, java.lang.String firstname, java.lang.String street, java.lang.String zipcode, java.lang.String city, java.util.Date dateOfBirth, java.util.Date retirementDate, java.sql.Timestamp updateDate)
VesselMasterDao
Does the same thing as VesselMasterDao.create(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.util.Date,java.util.Date,java.sql.Timestamp)
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 VesselMasterDao
VesselMasterDao.create(int, java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.util.Date,java.util.Date,java.sql.Timestamp)
public void update(VesselMaster vesselMaster)
VesselMasterDao
vesselMaster
instance in the persistent store.
update
in interface VesselMasterDao
VesselMasterDao.update(fr.ifremer.allegro.referential.vessel.VesselMaster)
public void update(java.util.Collection entities)
VesselMasterDao
entities
collection in the persistent store.
update
in interface VesselMasterDao
VesselMasterDao.update(java.util.Collection)
public void remove(VesselMaster vesselMaster)
VesselMasterDao
remove
in interface VesselMasterDao
VesselMasterDao.remove(fr.ifremer.allegro.referential.vessel.VesselMaster)
public void remove(java.lang.Integer id)
VesselMasterDao
identifier
from the persistent store.
remove
in interface VesselMasterDao
VesselMasterDao.remove(java.lang.Integer)
public void remove(java.util.Collection entities)
VesselMasterDao
entities collection.
- Specified by:
remove
in interface VesselMasterDao
- See Also:
VesselMasterDao.remove(java.util.Collection)
public java.util.Collection getAllVesselMaster()
getAllVesselMaster
in interface VesselMasterDao
VesselMasterDao.getAllVesselMaster()
public java.util.Collection getAllVesselMaster(int transform)
VesselMasterDao
Does the same thing as VesselMasterDao.getAllVesselMaster()
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.
getAllVesselMaster
in interface VesselMasterDao
VesselMasterDao.getAllVesselMaster(int)
public java.util.Collection getAllVesselMaster(java.lang.String queryString)
VesselMasterDao
Does the same thing as VesselMasterDao.getAllVesselMaster()
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VesselMasterDao.getAllVesselMaster()
.
getAllVesselMaster
in interface VesselMasterDao
VesselMasterDao.getAllVesselMaster(java.lang.String)
public java.util.Collection getAllVesselMaster(int pageNumber, int pageSize)
VesselMasterDao
Does the same thing as VesselMasterDao.getAllVesselMaster()
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.
getAllVesselMaster
in interface VesselMasterDao
VesselMasterDao.getAllVesselMaster(int, int)
public java.util.Collection getAllVesselMaster(java.lang.String queryString, int pageNumber, int pageSize)
VesselMasterDao
Does the same thing as VesselMasterDao.getAllVesselMaster(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.
getAllVesselMaster
in interface VesselMasterDao
VesselMasterDao.getAllVesselMaster(String, int, int)
public java.util.Collection getAllVesselMaster(int transform, java.lang.String queryString)
VesselMasterDao
Does the same thing as VesselMasterDao.getAllVesselMaster(int)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VesselMasterDao.getAllVesselMaster(int)
.
getAllVesselMaster
in interface VesselMasterDao
VesselMasterDao.getAllVesselMaster(int, String)
public java.util.Collection getAllVesselMaster(int transform, int pageNumber, int pageSize)
VesselMasterDao
Does the same thing as VesselMasterDao.getAllVesselMaster(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.
getAllVesselMaster
in interface VesselMasterDao
VesselMasterDao.getAllVesselMaster(int, int, int)
public java.util.Collection getAllVesselMaster(int transform, java.lang.String queryString, int pageNumber, int pageSize)
VesselMasterDao
Does the same thing as VesselMasterDao.getAllVesselMaster(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.
getAllVesselMaster
in interface VesselMasterDao
VesselMasterDao.getAllVesselMaster(int, java.lang.String, int, int)
public VesselMaster findVesselMasterById(java.lang.Integer id)
findVesselMasterById
in interface VesselMasterDao
VesselMasterDao.findVesselMasterById(java.lang.Integer)
public java.lang.Object findVesselMasterById(int transform, java.lang.Integer id)
VesselMasterDao
Does the same thing as VesselMasterDao.findVesselMasterById(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.
findVesselMasterById
in interface VesselMasterDao
VesselMasterDao.findVesselMasterById(int, java.lang.Integer)
public VesselMaster findVesselMasterById(java.lang.String queryString, java.lang.Integer id)
VesselMasterDao
Does the same thing as VesselMasterDao.findVesselMasterById(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VesselMasterDao.findVesselMasterById(java.lang.Integer)
.
findVesselMasterById
in interface VesselMasterDao
VesselMasterDao.findVesselMasterById(java.lang.String, java.lang.Integer)
public java.lang.Object findVesselMasterById(int transform, java.lang.String queryString, java.lang.Integer id)
VesselMasterDao
Does the same thing as VesselMasterDao.findVesselMasterById(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VesselMasterDao.findVesselMasterById(int, java.lang.Integer id)
.
findVesselMasterById
in interface VesselMasterDao
VesselMasterDao.findVesselMasterById(int, java.lang.String, java.lang.Integer)
public VesselMaster findVesselMasterByNaturalId(java.lang.Integer id)
findVesselMasterByNaturalId
in interface VesselMasterDao
VesselMasterDao.findVesselMasterByNaturalId(java.lang.Integer)
public java.lang.Object findVesselMasterByNaturalId(int transform, java.lang.Integer id)
VesselMasterDao
Does the same thing as VesselMasterDao.findVesselMasterByNaturalId(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.
findVesselMasterByNaturalId
in interface VesselMasterDao
VesselMasterDao.findVesselMasterByNaturalId(int, java.lang.Integer)
public VesselMaster findVesselMasterByNaturalId(java.lang.String queryString, java.lang.Integer id)
VesselMasterDao
Does the same thing as VesselMasterDao.findVesselMasterByNaturalId(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VesselMasterDao.findVesselMasterByNaturalId(java.lang.Integer)
.
findVesselMasterByNaturalId
in interface VesselMasterDao
VesselMasterDao.findVesselMasterByNaturalId(java.lang.String, java.lang.Integer)
public java.lang.Object findVesselMasterByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
VesselMasterDao
Does the same thing as VesselMasterDao.findVesselMasterByNaturalId(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VesselMasterDao.findVesselMasterByNaturalId(int, java.lang.Integer id)
.
findVesselMasterByNaturalId
in interface VesselMasterDao
VesselMasterDao.findVesselMasterByNaturalId(int, java.lang.String, java.lang.Integer)
public java.util.Collection getAllVesselMasterSinceDateSynchro(java.sql.Timestamp updateDate)
getAllVesselMasterSinceDateSynchro
in interface VesselMasterDao
VesselMasterDao.getAllVesselMasterSinceDateSynchro(java.sql.Timestamp)
public java.util.Collection getAllVesselMasterSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
VesselMasterDao
Does the same thing as VesselMasterDao.getAllVesselMasterSinceDateSynchro(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.
getAllVesselMasterSinceDateSynchro
in interface VesselMasterDao
VesselMasterDao.getAllVesselMasterSinceDateSynchro(int, java.sql.Timestamp)
public java.util.Collection getAllVesselMasterSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
VesselMasterDao
Does the same thing as VesselMasterDao.getAllVesselMasterSinceDateSynchro(java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VesselMasterDao.getAllVesselMasterSinceDateSynchro(java.sql.Timestamp)
.
getAllVesselMasterSinceDateSynchro
in interface VesselMasterDao
VesselMasterDao.getAllVesselMasterSinceDateSynchro(java.lang.String, java.sql.Timestamp)
public java.util.Collection getAllVesselMasterSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
VesselMasterDao
Does the same thing as VesselMasterDao.getAllVesselMasterSinceDateSynchro(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.
getAllVesselMasterSinceDateSynchro
in interface VesselMasterDao
VesselMasterDao.getAllVesselMasterSinceDateSynchro(int, int, java.sql.Timestamp)
public java.util.Collection getAllVesselMasterSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
VesselMasterDao
Does the same thing as VesselMasterDao.getAllVesselMasterSinceDateSynchro(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.
getAllVesselMasterSinceDateSynchro
in interface VesselMasterDao
VesselMasterDao.getAllVesselMasterSinceDateSynchro(String, int, int, java.sql.Timestamp)
public java.util.Collection getAllVesselMasterSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
VesselMasterDao
Does the same thing as VesselMasterDao.getAllVesselMasterSinceDateSynchro(int, java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in VesselMasterDao.getAllVesselMasterSinceDateSynchro(int, java.sql.Timestamp updateDate)
.
getAllVesselMasterSinceDateSynchro
in interface VesselMasterDao
VesselMasterDao.getAllVesselMasterSinceDateSynchro(int, String, java.sql.Timestamp)
public java.util.Collection getAllVesselMasterSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
VesselMasterDao
Does the same thing as VesselMasterDao.getAllVesselMasterSinceDateSynchro(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.
getAllVesselMasterSinceDateSynchro
in interface VesselMasterDao
VesselMasterDao.getAllVesselMasterSinceDateSynchro(int, int, int, java.sql.Timestamp)
public java.util.Collection getAllVesselMasterSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
VesselMasterDao
Does the same thing as VesselMasterDao.getAllVesselMasterSinceDateSynchro(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.
getAllVesselMasterSinceDateSynchro
in interface VesselMasterDao
VesselMasterDao.getAllVesselMasterSinceDateSynchro(int, java.lang.String, int, int, java.sql.Timestamp)
public VesselMaster createFromClusterVesselMaster(ClusterVesselMaster clusterVesselMaster)
createFromClusterVesselMaster
in interface VesselMasterDao
VesselMasterDao.createFromClusterVesselMaster(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterVesselMaster)
protected abstract VesselMaster handleCreateFromClusterVesselMaster(ClusterVesselMaster clusterVesselMaster) throws java.lang.Exception
createFromClusterVesselMaster(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterVesselMaster)
java.lang.Exception
public ClusterVesselMaster[] getAllClusterVesselMasterSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
getAllClusterVesselMasterSinceDateSynchro
in interface VesselMasterDao
VesselMasterDao.getAllClusterVesselMasterSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected abstract ClusterVesselMaster[] handleGetAllClusterVesselMasterSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize) throws java.lang.Exception
getAllClusterVesselMasterSinceDateSynchro(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, VesselMaster entity)
transform
flag is set to one of the constants defined in fr.ifremer.allegro.referential.vessel.VesselMasterDao
, please note
that the VesselMasterDao.TRANSFORM_NONE
constant denotes no transformation, so the entity itself
will be returned.
This method will return instances of these types:
VesselMaster
- VesselMasterDao.TRANSFORM_NONE
RemoteVesselMasterFullVO
- TRANSFORM_REMOTEVESSELMASTERFULLVO
RemoteVesselMasterNaturalId
- TRANSFORM_REMOTEVESSELMASTERNATURALID
ClusterVesselMaster
- TRANSFORM_CLUSTERVESSELMASTER
VesselMasterDao.TRANSFORM_NONE
is assumed.
transform
- one of the constants declared in VesselMasterDao
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.VesselMaster)
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.VesselMasterDao
entities
- the collection of entities to transformtransformEntity(int,fr.ifremer.allegro.referential.vessel.VesselMaster)
protected VesselMaster toEntity(java.lang.Object[] row)
public final void toRemoteVesselMasterFullVOCollection(java.util.Collection entities)
VesselMasterDao
RemoteVesselMasterFullVO
.
toRemoteVesselMasterFullVOCollection
in interface VesselMasterDao
VesselMasterDao.toRemoteVesselMasterFullVOCollection(java.util.Collection)
public final RemoteVesselMasterFullVO[] toRemoteVesselMasterFullVOArray(java.util.Collection entities)
VesselMasterDao
RemoteVesselMasterFullVO
.
toRemoteVesselMasterFullVOArray
in interface VesselMasterDao
VesselMasterDao.toRemoteVesselMasterFullVOArray(java.util.Collection)
protected RemoteVesselMasterFullVO toRemoteVesselMasterFullVO(java.lang.Object[] row)
VesselMasterDaoImpl
class if you intend to use reporting queries.
VesselMasterDao.toRemoteVesselMasterFullVO(fr.ifremer.allegro.referential.vessel.VesselMaster)
public final void remoteVesselMasterFullVOToEntityCollection(java.util.Collection instances)
VesselMasterDao
RemoteVesselMasterFullVO
to this
DAO's entity.
remoteVesselMasterFullVOToEntityCollection
in interface VesselMasterDao
VesselMasterDao.remoteVesselMasterFullVOToEntityCollection(java.util.Collection)
public void toRemoteVesselMasterFullVO(VesselMaster source, RemoteVesselMasterFullVO target)
VesselMasterDao
toRemoteVesselMasterFullVO
in interface VesselMasterDao
VesselMasterDao.toRemoteVesselMasterFullVO(fr.ifremer.allegro.referential.vessel.VesselMaster, fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselMasterFullVO)
public RemoteVesselMasterFullVO toRemoteVesselMasterFullVO(VesselMaster entity)
VesselMasterDao
RemoteVesselMasterFullVO
.
toRemoteVesselMasterFullVO
in interface VesselMasterDao
VesselMasterDao.toRemoteVesselMasterFullVO(fr.ifremer.allegro.referential.vessel.VesselMaster)
public void remoteVesselMasterFullVOToEntity(RemoteVesselMasterFullVO source, VesselMaster target, boolean copyIfNull)
VesselMasterDao
RemoteVesselMasterFullVO
to the specified entity.
remoteVesselMasterFullVOToEntity
in interface VesselMasterDao
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.VesselMasterDao#remoteVesselMasterFullVOToEntity(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselMasterFullVO, fr.ifremer.allegro.referential.vessel.VesselMaster)
public final void toRemoteVesselMasterNaturalIdCollection(java.util.Collection entities)
VesselMasterDao
RemoteVesselMasterNaturalId
.
toRemoteVesselMasterNaturalIdCollection
in interface VesselMasterDao
VesselMasterDao.toRemoteVesselMasterNaturalIdCollection(java.util.Collection)
public final RemoteVesselMasterNaturalId[] toRemoteVesselMasterNaturalIdArray(java.util.Collection entities)
VesselMasterDao
RemoteVesselMasterNaturalId
.
toRemoteVesselMasterNaturalIdArray
in interface VesselMasterDao
VesselMasterDao.toRemoteVesselMasterNaturalIdArray(java.util.Collection)
protected RemoteVesselMasterNaturalId toRemoteVesselMasterNaturalId(java.lang.Object[] row)
VesselMasterDaoImpl
class if you intend to use reporting queries.
VesselMasterDao.toRemoteVesselMasterNaturalId(fr.ifremer.allegro.referential.vessel.VesselMaster)
public final void remoteVesselMasterNaturalIdToEntityCollection(java.util.Collection instances)
VesselMasterDao
RemoteVesselMasterNaturalId
to this
DAO's entity.
remoteVesselMasterNaturalIdToEntityCollection
in interface VesselMasterDao
VesselMasterDao.remoteVesselMasterNaturalIdToEntityCollection(java.util.Collection)
public void toRemoteVesselMasterNaturalId(VesselMaster source, RemoteVesselMasterNaturalId target)
VesselMasterDao
toRemoteVesselMasterNaturalId
in interface VesselMasterDao
VesselMasterDao.toRemoteVesselMasterNaturalId(fr.ifremer.allegro.referential.vessel.VesselMaster, fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselMasterNaturalId)
public RemoteVesselMasterNaturalId toRemoteVesselMasterNaturalId(VesselMaster entity)
VesselMasterDao
RemoteVesselMasterNaturalId
.
toRemoteVesselMasterNaturalId
in interface VesselMasterDao
VesselMasterDao.toRemoteVesselMasterNaturalId(fr.ifremer.allegro.referential.vessel.VesselMaster)
public void remoteVesselMasterNaturalIdToEntity(RemoteVesselMasterNaturalId source, VesselMaster target, boolean copyIfNull)
VesselMasterDao
RemoteVesselMasterNaturalId
to the specified entity.
remoteVesselMasterNaturalIdToEntity
in interface VesselMasterDao
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.VesselMasterDao#remoteVesselMasterNaturalIdToEntity(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselMasterNaturalId, fr.ifremer.allegro.referential.vessel.VesselMaster)
public final void toClusterVesselMasterCollection(java.util.Collection entities)
VesselMasterDao
ClusterVesselMaster
.
toClusterVesselMasterCollection
in interface VesselMasterDao
VesselMasterDao.toClusterVesselMasterCollection(java.util.Collection)
public final ClusterVesselMaster[] toClusterVesselMasterArray(java.util.Collection entities)
VesselMasterDao
ClusterVesselMaster
.
toClusterVesselMasterArray
in interface VesselMasterDao
VesselMasterDao.toClusterVesselMasterArray(java.util.Collection)
protected ClusterVesselMaster toClusterVesselMaster(java.lang.Object[] row)
VesselMasterDaoImpl
class if you intend to use reporting queries.
VesselMasterDao.toClusterVesselMaster(fr.ifremer.allegro.referential.vessel.VesselMaster)
public final void clusterVesselMasterToEntityCollection(java.util.Collection instances)
VesselMasterDao
ClusterVesselMaster
to this
DAO's entity.
clusterVesselMasterToEntityCollection
in interface VesselMasterDao
VesselMasterDao.clusterVesselMasterToEntityCollection(java.util.Collection)
public void toClusterVesselMaster(VesselMaster source, ClusterVesselMaster target)
VesselMasterDao
toClusterVesselMaster
in interface VesselMasterDao
VesselMasterDao.toClusterVesselMaster(fr.ifremer.allegro.referential.vessel.VesselMaster, fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterVesselMaster)
public ClusterVesselMaster toClusterVesselMaster(VesselMaster entity)
VesselMasterDao
ClusterVesselMaster
.
toClusterVesselMaster
in interface VesselMasterDao
VesselMasterDao.toClusterVesselMaster(fr.ifremer.allegro.referential.vessel.VesselMaster)
public void clusterVesselMasterToEntity(ClusterVesselMaster source, VesselMaster target, boolean copyIfNull)
VesselMasterDao
ClusterVesselMaster
to the specified entity.
clusterVesselMasterToEntity
in interface VesselMasterDao
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.VesselMasterDao#clusterVesselMasterToEntity(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterVesselMaster, fr.ifremer.allegro.referential.vessel.VesselMaster)
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)
VesselMasterDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface VesselMasterDao
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.VesselMasterDao.search(int, int, int, fr.ifremer.allegro.Search)
public PaginationResult search(int pageNumber, int pageSize, Search search)
VesselMasterDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface VesselMasterDao
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.VesselMasterDao.search(int, int, fr.ifremer.allegro.Search)
public java.util.Set search(int transform, Search search)
VesselMasterDao
VesselMasterDao.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 VesselMasterDao
transform
- the transformation flag.search
- the search object which provides the search parameters and pagination specification.
VesselMasterDao.search(int, fr.ifremer.allegro.Search)
public java.util.Set search(Search search)
VesselMasterDao
search
object.
search
in interface VesselMasterDao
search
- the search object which provides the search parameters and pagination specification.
VesselMasterDao.search(fr.ifremer.allegro.Search)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |