|
||||||||||
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.data.survey.fishingTrip.FishingTripOriginDaoBase
public abstract class FishingTripOriginDaoBase
Base Spring DAO Class: is able to create, update, remove, load, and find
objects of type fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin
.
FishingTripOrigin
Field Summary |
---|
Fields inherited from interface fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOriginDao |
---|
TRANSFORM_CLUSTERFISHINGTRIPORIGIN, TRANSFORM_NONE, TRANSFORM_REMOTEFISHINGTRIPORIGINFULLVO, TRANSFORM_REMOTEFISHINGTRIPORIGINNATURALID |
Constructor Summary | |
---|---|
FishingTripOriginDaoBase()
|
Method Summary | |
---|---|
void |
clusterFishingTripOriginToEntity(ClusterFishingTripOrigin source,
FishingTripOrigin target,
boolean copyIfNull)
Copies the fields of ClusterFishingTripOrigin to the specified entity. |
void |
clusterFishingTripOriginToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type ClusterFishingTripOrigin to this
DAO's entity. |
java.util.Collection |
create(java.util.Collection entities)
Creates a new instance of fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin and adds from the passed in entities collection |
FishingTripOrigin |
create(FishingTripOrigin fishingTripOrigin)
Creates an instance of fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin and adds it to the persistent store. |
FishingTripOrigin |
create(FishingTrip fishingTrip,
Program program)
Creates a new fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin
instance from only required properties (attributes
and association ends) and adds it to the persistent store. |
FishingTripOrigin |
create(FishingTrip fishingTrip,
Program program,
FishingTrip originFishingTrip)
Creates a new fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin
instance from all attributes and
properties and adds it to the persistent store. |
java.util.Collection |
create(int transform,
java.util.Collection entities)
Does the same thing as FishingTripOriginDao.create(fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
FishingTripOrigin fishingTripOrigin)
Does the same thing as FishingTripOriginDao.create(fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
FishingTrip fishingTrip,
Program program)
Does the same thing as FishingTripOriginDao.create(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip,fr.ifremer.allegro.administration.programStrategy.Program) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
FishingTrip fishingTrip,
Program program,
FishingTrip originFishingTrip)
Does the same thing as FishingTripOriginDao.create(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip,fr.ifremer.allegro.administration.programStrategy.Program,fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an
additional flag called transform . |
FishingTripOrigin |
createFromClusterFishingTripOrigin(ClusterFishingTripOrigin clusterFishingTripOrigin)
|
java.util.Collection |
findFishingTripOriginByFishingTrip(FishingTrip fishingTrip)
|
java.util.Collection |
findFishingTripOriginByFishingTrip(int transform,
FishingTrip fishingTrip)
Does the same thing as FishingTripOriginDao.findFishingTripOriginByFishingTrip(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an
additional flag called transform . |
java.util.Collection |
findFishingTripOriginByFishingTrip(int pageNumber,
int pageSize,
FishingTrip fishingTrip)
Does the same thing as FishingTripOriginDao.findFishingTripOriginByFishingTrip(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findFishingTripOriginByFishingTrip(int transform,
int pageNumber,
int pageSize,
FishingTrip fishingTrip)
Does the same thing as FishingTripOriginDao.findFishingTripOriginByFishingTrip(int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findFishingTripOriginByFishingTrip(int transform,
java.lang.String queryString,
FishingTrip fishingTrip)
Does the same thing as FishingTripOriginDao.findFishingTripOriginByFishingTrip(int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an
additional argument called queryString . |
java.util.Collection |
findFishingTripOriginByFishingTrip(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
FishingTrip fishingTrip)
Does the same thing as FishingTripOriginDao.findFishingTripOriginByFishingTrip(int, String, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findFishingTripOriginByFishingTrip(java.lang.String queryString,
FishingTrip fishingTrip)
Does the same thing as FishingTripOriginDao.findFishingTripOriginByFishingTrip(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an
additional argument called queryString . |
java.util.Collection |
findFishingTripOriginByFishingTrip(java.lang.String queryString,
int pageNumber,
int pageSize,
FishingTrip fishingTrip)
Does the same thing as FishingTripOriginDao.findFishingTripOriginByFishingTrip(String, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an
additional two arguments called pageNumber and pageSize . |
FishingTripOrigin |
findFishingTripOriginById(java.lang.Integer id)
|
java.lang.Object |
findFishingTripOriginById(int transform,
java.lang.Integer id)
Does the same thing as FishingTripOriginDao.findFishingTripOriginById(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findFishingTripOriginById(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as FishingTripOriginDao.findFishingTripOriginById(int, java.lang.Integer) with an
additional argument called queryString . |
FishingTripOrigin |
findFishingTripOriginById(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as FishingTripOriginDao.findFishingTripOriginById(java.lang.Integer) with an
additional argument called queryString . |
FishingTripOrigin |
findFishingTripOriginByNaturalId(java.lang.Integer id)
|
java.lang.Object |
findFishingTripOriginByNaturalId(int transform,
java.lang.Integer id)
Does the same thing as FishingTripOriginDao.findFishingTripOriginByNaturalId(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findFishingTripOriginByNaturalId(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as FishingTripOriginDao.findFishingTripOriginByNaturalId(int, java.lang.Integer) with an
additional argument called queryString . |
FishingTripOrigin |
findFishingTripOriginByNaturalId(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as FishingTripOriginDao.findFishingTripOriginByNaturalId(java.lang.Integer) with an
additional argument called queryString . |
java.util.Collection |
findFishingTripOriginByOriginFishingTrip(FishingTrip originFishingTrip)
|
java.util.Collection |
findFishingTripOriginByOriginFishingTrip(int transform,
FishingTrip originFishingTrip)
Does the same thing as FishingTripOriginDao.findFishingTripOriginByOriginFishingTrip(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an
additional flag called transform . |
java.util.Collection |
findFishingTripOriginByOriginFishingTrip(int pageNumber,
int pageSize,
FishingTrip originFishingTrip)
Does the same thing as FishingTripOriginDao.findFishingTripOriginByOriginFishingTrip(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findFishingTripOriginByOriginFishingTrip(int transform,
int pageNumber,
int pageSize,
FishingTrip originFishingTrip)
Does the same thing as FishingTripOriginDao.findFishingTripOriginByOriginFishingTrip(int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findFishingTripOriginByOriginFishingTrip(int transform,
java.lang.String queryString,
FishingTrip originFishingTrip)
Does the same thing as FishingTripOriginDao.findFishingTripOriginByOriginFishingTrip(int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an
additional argument called queryString . |
java.util.Collection |
findFishingTripOriginByOriginFishingTrip(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
FishingTrip originFishingTrip)
Does the same thing as FishingTripOriginDao.findFishingTripOriginByOriginFishingTrip(int, String, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findFishingTripOriginByOriginFishingTrip(java.lang.String queryString,
FishingTrip originFishingTrip)
Does the same thing as FishingTripOriginDao.findFishingTripOriginByOriginFishingTrip(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an
additional argument called queryString . |
java.util.Collection |
findFishingTripOriginByOriginFishingTrip(java.lang.String queryString,
int pageNumber,
int pageSize,
FishingTrip originFishingTrip)
Does the same thing as FishingTripOriginDao.findFishingTripOriginByOriginFishingTrip(String, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findFishingTripOriginByProgram(int transform,
int pageNumber,
int pageSize,
Program program)
Does the same thing as FishingTripOriginDao.findFishingTripOriginByProgram(int, fr.ifremer.allegro.administration.programStrategy.Program) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findFishingTripOriginByProgram(int pageNumber,
int pageSize,
Program program)
Does the same thing as FishingTripOriginDao.findFishingTripOriginByProgram(fr.ifremer.allegro.administration.programStrategy.Program) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findFishingTripOriginByProgram(int transform,
Program program)
Does the same thing as FishingTripOriginDao.findFishingTripOriginByProgram(fr.ifremer.allegro.administration.programStrategy.Program) with an
additional flag called transform . |
java.util.Collection |
findFishingTripOriginByProgram(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
Program program)
Does the same thing as FishingTripOriginDao.findFishingTripOriginByProgram(int, String, fr.ifremer.allegro.administration.programStrategy.Program) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findFishingTripOriginByProgram(int transform,
java.lang.String queryString,
Program program)
Does the same thing as FishingTripOriginDao.findFishingTripOriginByProgram(int, fr.ifremer.allegro.administration.programStrategy.Program) with an
additional argument called queryString . |
java.util.Collection |
findFishingTripOriginByProgram(Program program)
|
java.util.Collection |
findFishingTripOriginByProgram(java.lang.String queryString,
int pageNumber,
int pageSize,
Program program)
Does the same thing as FishingTripOriginDao.findFishingTripOriginByProgram(String, fr.ifremer.allegro.administration.programStrategy.Program) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findFishingTripOriginByProgram(java.lang.String queryString,
Program program)
Does the same thing as FishingTripOriginDao.findFishingTripOriginByProgram(fr.ifremer.allegro.administration.programStrategy.Program) with an
additional argument called queryString . |
java.util.Collection |
getAllFishingTripOrigin()
|
java.util.Collection |
getAllFishingTripOrigin(int transform)
Does the same thing as FishingTripOriginDao.getAllFishingTripOrigin() with an
additional flag called transform . |
java.util.Collection |
getAllFishingTripOrigin(int pageNumber,
int pageSize)
Does the same thing as FishingTripOriginDao.getAllFishingTripOrigin() with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllFishingTripOrigin(int transform,
int pageNumber,
int pageSize)
Does the same thing as FishingTripOriginDao.getAllFishingTripOrigin(int) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllFishingTripOrigin(int transform,
java.lang.String queryString)
Does the same thing as FishingTripOriginDao.getAllFishingTripOrigin(int) with an
additional argument called queryString . |
java.util.Collection |
getAllFishingTripOrigin(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as FishingTripOriginDao.getAllFishingTripOrigin(int, String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllFishingTripOrigin(java.lang.String queryString)
Does the same thing as FishingTripOriginDao.getAllFishingTripOrigin() with an
additional argument called queryString . |
java.util.Collection |
getAllFishingTripOrigin(java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as FishingTripOriginDao.getAllFishingTripOrigin(String) with an
additional two arguments called pageNumber and pageSize . |
protected FishingTripDao |
getFishingTripDao()
Gets the reference to fishingTripDao . |
protected java.security.Principal |
getPrincipal()
Gets the current principal if one has been set,
otherwise returns null . |
protected ProgramDao |
getProgramDao()
Gets the reference to programDao . |
protected abstract FishingTripOrigin |
handleCreateFromClusterFishingTripOrigin(ClusterFishingTripOrigin clusterFishingTripOrigin)
Performs the core logic for createFromClusterFishingTripOrigin(fr.ifremer.allegro.data.survey.fishingTrip.generic.cluster.ClusterFishingTripOrigin) |
FishingTripOrigin |
load(java.lang.Integer id)
Loads an instance of fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin from the persistent store. |
java.lang.Object |
load(int transform,
java.lang.Integer id)
Does the same thing as FishingTripOriginDao.load(java.lang.Integer) with an
additional flag called transform . |
java.util.Collection |
loadAll()
Loads all entities of type FishingTripOrigin . |
java.util.Collection |
loadAll(int transform)
Does the same thing as FishingTripOriginDao.loadAll() with an
additional flag called transform . |
java.util.Collection |
loadAll(int pageNumber,
int pageSize)
Does the same thing as FishingTripOriginDao.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 FishingTripOriginDao.loadAll(int) with an
additional two arguments called pageNumber and pageSize . |
void |
remoteFishingTripOriginFullVOToEntity(RemoteFishingTripOriginFullVO source,
FishingTripOrigin target,
boolean copyIfNull)
Copies the fields of RemoteFishingTripOriginFullVO to the specified entity. |
void |
remoteFishingTripOriginFullVOToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteFishingTripOriginFullVO to this
DAO's entity. |
void |
remoteFishingTripOriginNaturalIdToEntity(RemoteFishingTripOriginNaturalId source,
FishingTripOrigin target,
boolean copyIfNull)
Copies the fields of RemoteFishingTripOriginNaturalId to the specified entity. |
void |
remoteFishingTripOriginNaturalIdToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteFishingTripOriginNaturalId to this
DAO's entity. |
void |
remove(java.util.Collection entities)
Removes all entities in the given entities |
void |
remove(FishingTripOrigin fishingTripOrigin)
Removes the instance of fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin from the persistent store. |
void |
remove(java.lang.Integer id)
Removes the instance of fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin having the given identifier 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 FishingTripOriginDao.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 |
setFishingTripDao(FishingTripDao fishingTripDao)
Sets the reference to fishingTripDao . |
void |
setProgramDao(ProgramDao programDao)
Sets the reference to programDao . |
ClusterFishingTripOrigin |
toClusterFishingTripOrigin(FishingTripOrigin entity)
Converts this DAO's entity to an object of type ClusterFishingTripOrigin . |
void |
toClusterFishingTripOrigin(FishingTripOrigin source,
ClusterFishingTripOrigin target)
Copies the fields of the specified entity to the target value object. |
protected ClusterFishingTripOrigin |
toClusterFishingTripOrigin(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
ClusterFishingTripOrigin[] |
toClusterFishingTripOriginArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type ClusterFishingTripOrigin . |
void |
toClusterFishingTripOriginCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type ClusterFishingTripOrigin . |
protected FishingTripOrigin |
toEntity(java.lang.Object[] row)
|
RemoteFishingTripOriginFullVO |
toRemoteFishingTripOriginFullVO(FishingTripOrigin entity)
Converts this DAO's entity to an object of type RemoteFishingTripOriginFullVO . |
void |
toRemoteFishingTripOriginFullVO(FishingTripOrigin source,
RemoteFishingTripOriginFullVO target)
Copies the fields of the specified entity to the target value object. |
protected RemoteFishingTripOriginFullVO |
toRemoteFishingTripOriginFullVO(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteFishingTripOriginFullVO[] |
toRemoteFishingTripOriginFullVOArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteFishingTripOriginFullVO . |
void |
toRemoteFishingTripOriginFullVOCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteFishingTripOriginFullVO . |
RemoteFishingTripOriginNaturalId |
toRemoteFishingTripOriginNaturalId(FishingTripOrigin entity)
Converts this DAO's entity to an object of type RemoteFishingTripOriginNaturalId . |
void |
toRemoteFishingTripOriginNaturalId(FishingTripOrigin source,
RemoteFishingTripOriginNaturalId target)
Copies the fields of the specified entity to the target value object. |
protected RemoteFishingTripOriginNaturalId |
toRemoteFishingTripOriginNaturalId(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteFishingTripOriginNaturalId[] |
toRemoteFishingTripOriginNaturalIdArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteFishingTripOriginNaturalId . |
void |
toRemoteFishingTripOriginNaturalIdCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteFishingTripOriginNaturalId . |
protected void |
transformEntities(int transform,
java.util.Collection entities)
Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin)
method. |
protected java.lang.Object |
transformEntity(int transform,
FishingTripOrigin 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.data.survey.fishingTrip.FishingTripOriginDao , please note
that the FishingTripOriginDao.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(FishingTripOrigin fishingTripOrigin)
Updates the fishingTripOrigin 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.data.survey.fishingTrip.FishingTripOriginDao |
---|
clusterFishingTripOriginToEntity, remoteFishingTripOriginFullVOToEntity, remoteFishingTripOriginNaturalIdToEntity |
Constructor Detail |
---|
public FishingTripOriginDaoBase()
Method Detail |
---|
public void setFishingTripDao(FishingTripDao fishingTripDao)
fishingTripDao
.
protected FishingTripDao getFishingTripDao()
fishingTripDao
.
public void setProgramDao(ProgramDao programDao)
programDao
.
protected ProgramDao getProgramDao()
programDao
.
public java.lang.Object load(int transform, java.lang.Integer id)
FishingTripOriginDao
Does the same thing as FishingTripOriginDao.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 FishingTripOriginDao
id
- identifier of the entity to load
FishingTripOriginDao.load(int, java.lang.Integer)
public FishingTripOrigin load(java.lang.Integer id)
FishingTripOriginDao
load
in interface FishingTripOriginDao
FishingTripOriginDao.load(java.lang.Integer)
public java.util.Collection loadAll()
FishingTripOriginDao
FishingTripOrigin
.
loadAll
in interface FishingTripOriginDao
FishingTripOriginDao.loadAll()
public java.util.Collection loadAll(int transform)
FishingTripOriginDao
Does the same thing as FishingTripOriginDao.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 FishingTripOriginDao
transform
- the flag indicating what transformation to use.
FishingTripOriginDao.loadAll(int)
public java.util.Collection loadAll(int pageNumber, int pageSize)
FishingTripOriginDao
Does the same thing as FishingTripOriginDao.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 FishingTripOriginDao
pageNumber
- the page number to retrieve when paging results.pageSize
- the size of the page to retrieve when paging results.
FishingTripOriginDao.loadAll(int, int)
public java.util.Collection loadAll(int transform, int pageNumber, int pageSize)
FishingTripOriginDao
Does the same thing as FishingTripOriginDao.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 FishingTripOriginDao
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.
FishingTripOriginDao.loadAll(int, int, int)
public FishingTripOrigin create(FishingTripOrigin fishingTripOrigin)
FishingTripOriginDao
create
in interface FishingTripOriginDao
FishingTripOriginDao.create(fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin)
public java.lang.Object create(int transform, FishingTripOrigin fishingTripOrigin)
FishingTripOriginDao
Does the same thing as FishingTripOriginDao.create(fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin)
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 FishingTripOriginDao
FishingTripOriginDao.create(int transform, fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin)
public java.util.Collection create(java.util.Collection entities)
FishingTripOriginDao
entities
collection
create
in interface FishingTripOriginDao
entities
- the collection of fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin
instances to create.
FishingTripOriginDao.create(java.util.Collection)
public java.util.Collection create(int transform, java.util.Collection entities)
FishingTripOriginDao
Does the same thing as FishingTripOriginDao.create(fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin)
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 FishingTripOriginDao
FishingTripOriginDao.create(int, java.util.Collection)
public FishingTripOrigin create(FishingTrip fishingTrip, Program program, FishingTrip originFishingTrip)
FishingTripOriginDao
Creates a new fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin
instance from all attributes and
properties and adds it to the persistent store.
create
in interface FishingTripOriginDao
FishingTripOriginDao.create(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip,fr.ifremer.allegro.administration.programStrategy.Program,fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)
public java.lang.Object create(int transform, FishingTrip fishingTrip, Program program, FishingTrip originFishingTrip)
FishingTripOriginDao
Does the same thing as FishingTripOriginDao.create(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip,fr.ifremer.allegro.administration.programStrategy.Program,fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)
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 FishingTripOriginDao
FishingTripOriginDao.create(int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip,fr.ifremer.allegro.administration.programStrategy.Program,fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)
public FishingTripOrigin create(FishingTrip fishingTrip, Program program)
FishingTripOriginDao
Creates a new fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin
instance from only required properties (attributes
and association ends) and adds it to the persistent store.
create
in interface FishingTripOriginDao
FishingTripOriginDao.create(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip,fr.ifremer.allegro.administration.programStrategy.Program)
public java.lang.Object create(int transform, FishingTrip fishingTrip, Program program)
FishingTripOriginDao
Does the same thing as FishingTripOriginDao.create(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip,fr.ifremer.allegro.administration.programStrategy.Program)
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 FishingTripOriginDao
FishingTripOriginDao.create(int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip,fr.ifremer.allegro.administration.programStrategy.Program)
public void update(FishingTripOrigin fishingTripOrigin)
FishingTripOriginDao
fishingTripOrigin
instance in the persistent store.
update
in interface FishingTripOriginDao
FishingTripOriginDao.update(fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin)
public void update(java.util.Collection entities)
FishingTripOriginDao
entities
collection in the persistent store.
update
in interface FishingTripOriginDao
FishingTripOriginDao.update(java.util.Collection)
public void remove(FishingTripOrigin fishingTripOrigin)
FishingTripOriginDao
remove
in interface FishingTripOriginDao
FishingTripOriginDao.remove(fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin)
public void remove(java.lang.Integer id)
FishingTripOriginDao
identifier
from the persistent store.
remove
in interface FishingTripOriginDao
FishingTripOriginDao.remove(java.lang.Integer)
public void remove(java.util.Collection entities)
FishingTripOriginDao
entities collection.
- Specified by:
remove
in interface FishingTripOriginDao
- See Also:
FishingTripOriginDao.remove(java.util.Collection)
public java.util.Collection getAllFishingTripOrigin()
getAllFishingTripOrigin
in interface FishingTripOriginDao
FishingTripOriginDao.getAllFishingTripOrigin()
public java.util.Collection getAllFishingTripOrigin(int transform)
FishingTripOriginDao
Does the same thing as FishingTripOriginDao.getAllFishingTripOrigin()
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.
getAllFishingTripOrigin
in interface FishingTripOriginDao
FishingTripOriginDao.getAllFishingTripOrigin(int)
public java.util.Collection getAllFishingTripOrigin(java.lang.String queryString)
FishingTripOriginDao
Does the same thing as FishingTripOriginDao.getAllFishingTripOrigin()
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in FishingTripOriginDao.getAllFishingTripOrigin()
.
getAllFishingTripOrigin
in interface FishingTripOriginDao
FishingTripOriginDao.getAllFishingTripOrigin(java.lang.String)
public java.util.Collection getAllFishingTripOrigin(int pageNumber, int pageSize)
FishingTripOriginDao
Does the same thing as FishingTripOriginDao.getAllFishingTripOrigin()
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.
getAllFishingTripOrigin
in interface FishingTripOriginDao
FishingTripOriginDao.getAllFishingTripOrigin(int, int)
public java.util.Collection getAllFishingTripOrigin(java.lang.String queryString, int pageNumber, int pageSize)
FishingTripOriginDao
Does the same thing as FishingTripOriginDao.getAllFishingTripOrigin(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.
getAllFishingTripOrigin
in interface FishingTripOriginDao
FishingTripOriginDao.getAllFishingTripOrigin(String, int, int)
public java.util.Collection getAllFishingTripOrigin(int transform, java.lang.String queryString)
FishingTripOriginDao
Does the same thing as FishingTripOriginDao.getAllFishingTripOrigin(int)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in FishingTripOriginDao.getAllFishingTripOrigin(int)
.
getAllFishingTripOrigin
in interface FishingTripOriginDao
FishingTripOriginDao.getAllFishingTripOrigin(int, String)
public java.util.Collection getAllFishingTripOrigin(int transform, int pageNumber, int pageSize)
FishingTripOriginDao
Does the same thing as FishingTripOriginDao.getAllFishingTripOrigin(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.
getAllFishingTripOrigin
in interface FishingTripOriginDao
FishingTripOriginDao.getAllFishingTripOrigin(int, int, int)
public java.util.Collection getAllFishingTripOrigin(int transform, java.lang.String queryString, int pageNumber, int pageSize)
FishingTripOriginDao
Does the same thing as FishingTripOriginDao.getAllFishingTripOrigin(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.
getAllFishingTripOrigin
in interface FishingTripOriginDao
FishingTripOriginDao.getAllFishingTripOrigin(int, java.lang.String, int, int)
public FishingTripOrigin findFishingTripOriginById(java.lang.Integer id)
findFishingTripOriginById
in interface FishingTripOriginDao
FishingTripOriginDao.findFishingTripOriginById(java.lang.Integer)
public java.lang.Object findFishingTripOriginById(int transform, java.lang.Integer id)
FishingTripOriginDao
Does the same thing as FishingTripOriginDao.findFishingTripOriginById(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.
findFishingTripOriginById
in interface FishingTripOriginDao
FishingTripOriginDao.findFishingTripOriginById(int, java.lang.Integer)
public FishingTripOrigin findFishingTripOriginById(java.lang.String queryString, java.lang.Integer id)
FishingTripOriginDao
Does the same thing as FishingTripOriginDao.findFishingTripOriginById(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in FishingTripOriginDao.findFishingTripOriginById(java.lang.Integer)
.
findFishingTripOriginById
in interface FishingTripOriginDao
FishingTripOriginDao.findFishingTripOriginById(java.lang.String, java.lang.Integer)
public java.lang.Object findFishingTripOriginById(int transform, java.lang.String queryString, java.lang.Integer id)
FishingTripOriginDao
Does the same thing as FishingTripOriginDao.findFishingTripOriginById(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in FishingTripOriginDao.findFishingTripOriginById(int, java.lang.Integer id)
.
findFishingTripOriginById
in interface FishingTripOriginDao
FishingTripOriginDao.findFishingTripOriginById(int, java.lang.String, java.lang.Integer)
public java.util.Collection findFishingTripOriginByFishingTrip(FishingTrip fishingTrip)
findFishingTripOriginByFishingTrip
in interface FishingTripOriginDao
FishingTripOriginDao.findFishingTripOriginByFishingTrip(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)
public java.util.Collection findFishingTripOriginByFishingTrip(int transform, FishingTrip fishingTrip)
FishingTripOriginDao
Does the same thing as FishingTripOriginDao.findFishingTripOriginByFishingTrip(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)
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.
findFishingTripOriginByFishingTrip
in interface FishingTripOriginDao
FishingTripOriginDao.findFishingTripOriginByFishingTrip(int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)
public java.util.Collection findFishingTripOriginByFishingTrip(java.lang.String queryString, FishingTrip fishingTrip)
FishingTripOriginDao
Does the same thing as FishingTripOriginDao.findFishingTripOriginByFishingTrip(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in FishingTripOriginDao.findFishingTripOriginByFishingTrip(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)
.
findFishingTripOriginByFishingTrip
in interface FishingTripOriginDao
FishingTripOriginDao.findFishingTripOriginByFishingTrip(java.lang.String, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)
public java.util.Collection findFishingTripOriginByFishingTrip(int pageNumber, int pageSize, FishingTrip fishingTrip)
FishingTripOriginDao
Does the same thing as FishingTripOriginDao.findFishingTripOriginByFishingTrip(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)
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.
findFishingTripOriginByFishingTrip
in interface FishingTripOriginDao
FishingTripOriginDao.findFishingTripOriginByFishingTrip(int, int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)
public java.util.Collection findFishingTripOriginByFishingTrip(java.lang.String queryString, int pageNumber, int pageSize, FishingTrip fishingTrip)
FishingTripOriginDao
Does the same thing as FishingTripOriginDao.findFishingTripOriginByFishingTrip(String, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)
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.
findFishingTripOriginByFishingTrip
in interface FishingTripOriginDao
FishingTripOriginDao.findFishingTripOriginByFishingTrip(String, int, int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)
public java.util.Collection findFishingTripOriginByFishingTrip(int transform, java.lang.String queryString, FishingTrip fishingTrip)
FishingTripOriginDao
Does the same thing as FishingTripOriginDao.findFishingTripOriginByFishingTrip(int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in FishingTripOriginDao.findFishingTripOriginByFishingTrip(int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip fishingTrip)
.
findFishingTripOriginByFishingTrip
in interface FishingTripOriginDao
FishingTripOriginDao.findFishingTripOriginByFishingTrip(int, String, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)
public java.util.Collection findFishingTripOriginByFishingTrip(int transform, int pageNumber, int pageSize, FishingTrip fishingTrip)
FishingTripOriginDao
Does the same thing as FishingTripOriginDao.findFishingTripOriginByFishingTrip(int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)
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.
findFishingTripOriginByFishingTrip
in interface FishingTripOriginDao
FishingTripOriginDao.findFishingTripOriginByFishingTrip(int, int, int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)
public java.util.Collection findFishingTripOriginByFishingTrip(int transform, java.lang.String queryString, int pageNumber, int pageSize, FishingTrip fishingTrip)
FishingTripOriginDao
Does the same thing as FishingTripOriginDao.findFishingTripOriginByFishingTrip(int, String, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)
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.
findFishingTripOriginByFishingTrip
in interface FishingTripOriginDao
FishingTripOriginDao.findFishingTripOriginByFishingTrip(int, java.lang.String, int, int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)
public java.util.Collection findFishingTripOriginByProgram(Program program)
findFishingTripOriginByProgram
in interface FishingTripOriginDao
FishingTripOriginDao.findFishingTripOriginByProgram(fr.ifremer.allegro.administration.programStrategy.Program)
public java.util.Collection findFishingTripOriginByProgram(int transform, Program program)
FishingTripOriginDao
Does the same thing as FishingTripOriginDao.findFishingTripOriginByProgram(fr.ifremer.allegro.administration.programStrategy.Program)
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.
findFishingTripOriginByProgram
in interface FishingTripOriginDao
FishingTripOriginDao.findFishingTripOriginByProgram(int, fr.ifremer.allegro.administration.programStrategy.Program)
public java.util.Collection findFishingTripOriginByProgram(java.lang.String queryString, Program program)
FishingTripOriginDao
Does the same thing as FishingTripOriginDao.findFishingTripOriginByProgram(fr.ifremer.allegro.administration.programStrategy.Program)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in FishingTripOriginDao.findFishingTripOriginByProgram(fr.ifremer.allegro.administration.programStrategy.Program)
.
findFishingTripOriginByProgram
in interface FishingTripOriginDao
FishingTripOriginDao.findFishingTripOriginByProgram(java.lang.String, fr.ifremer.allegro.administration.programStrategy.Program)
public java.util.Collection findFishingTripOriginByProgram(int pageNumber, int pageSize, Program program)
FishingTripOriginDao
Does the same thing as FishingTripOriginDao.findFishingTripOriginByProgram(fr.ifremer.allegro.administration.programStrategy.Program)
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.
findFishingTripOriginByProgram
in interface FishingTripOriginDao
FishingTripOriginDao.findFishingTripOriginByProgram(int, int, fr.ifremer.allegro.administration.programStrategy.Program)
public java.util.Collection findFishingTripOriginByProgram(java.lang.String queryString, int pageNumber, int pageSize, Program program)
FishingTripOriginDao
Does the same thing as FishingTripOriginDao.findFishingTripOriginByProgram(String, fr.ifremer.allegro.administration.programStrategy.Program)
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.
findFishingTripOriginByProgram
in interface FishingTripOriginDao
FishingTripOriginDao.findFishingTripOriginByProgram(String, int, int, fr.ifremer.allegro.administration.programStrategy.Program)
public java.util.Collection findFishingTripOriginByProgram(int transform, java.lang.String queryString, Program program)
FishingTripOriginDao
Does the same thing as FishingTripOriginDao.findFishingTripOriginByProgram(int, fr.ifremer.allegro.administration.programStrategy.Program)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in FishingTripOriginDao.findFishingTripOriginByProgram(int, fr.ifremer.allegro.administration.programStrategy.Program program)
.
findFishingTripOriginByProgram
in interface FishingTripOriginDao
FishingTripOriginDao.findFishingTripOriginByProgram(int, String, fr.ifremer.allegro.administration.programStrategy.Program)
public java.util.Collection findFishingTripOriginByProgram(int transform, int pageNumber, int pageSize, Program program)
FishingTripOriginDao
Does the same thing as FishingTripOriginDao.findFishingTripOriginByProgram(int, fr.ifremer.allegro.administration.programStrategy.Program)
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.
findFishingTripOriginByProgram
in interface FishingTripOriginDao
FishingTripOriginDao.findFishingTripOriginByProgram(int, int, int, fr.ifremer.allegro.administration.programStrategy.Program)
public java.util.Collection findFishingTripOriginByProgram(int transform, java.lang.String queryString, int pageNumber, int pageSize, Program program)
FishingTripOriginDao
Does the same thing as FishingTripOriginDao.findFishingTripOriginByProgram(int, String, fr.ifremer.allegro.administration.programStrategy.Program)
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.
findFishingTripOriginByProgram
in interface FishingTripOriginDao
FishingTripOriginDao.findFishingTripOriginByProgram(int, java.lang.String, int, int, fr.ifremer.allegro.administration.programStrategy.Program)
public java.util.Collection findFishingTripOriginByOriginFishingTrip(FishingTrip originFishingTrip)
findFishingTripOriginByOriginFishingTrip
in interface FishingTripOriginDao
FishingTripOriginDao.findFishingTripOriginByOriginFishingTrip(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)
public java.util.Collection findFishingTripOriginByOriginFishingTrip(int transform, FishingTrip originFishingTrip)
FishingTripOriginDao
Does the same thing as FishingTripOriginDao.findFishingTripOriginByOriginFishingTrip(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)
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.
findFishingTripOriginByOriginFishingTrip
in interface FishingTripOriginDao
FishingTripOriginDao.findFishingTripOriginByOriginFishingTrip(int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)
public java.util.Collection findFishingTripOriginByOriginFishingTrip(java.lang.String queryString, FishingTrip originFishingTrip)
FishingTripOriginDao
Does the same thing as FishingTripOriginDao.findFishingTripOriginByOriginFishingTrip(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in FishingTripOriginDao.findFishingTripOriginByOriginFishingTrip(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)
.
findFishingTripOriginByOriginFishingTrip
in interface FishingTripOriginDao
FishingTripOriginDao.findFishingTripOriginByOriginFishingTrip(java.lang.String, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)
public java.util.Collection findFishingTripOriginByOriginFishingTrip(int pageNumber, int pageSize, FishingTrip originFishingTrip)
FishingTripOriginDao
Does the same thing as FishingTripOriginDao.findFishingTripOriginByOriginFishingTrip(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)
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.
findFishingTripOriginByOriginFishingTrip
in interface FishingTripOriginDao
FishingTripOriginDao.findFishingTripOriginByOriginFishingTrip(int, int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)
public java.util.Collection findFishingTripOriginByOriginFishingTrip(java.lang.String queryString, int pageNumber, int pageSize, FishingTrip originFishingTrip)
FishingTripOriginDao
Does the same thing as FishingTripOriginDao.findFishingTripOriginByOriginFishingTrip(String, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)
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.
findFishingTripOriginByOriginFishingTrip
in interface FishingTripOriginDao
FishingTripOriginDao.findFishingTripOriginByOriginFishingTrip(String, int, int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)
public java.util.Collection findFishingTripOriginByOriginFishingTrip(int transform, java.lang.String queryString, FishingTrip originFishingTrip)
FishingTripOriginDao
Does the same thing as FishingTripOriginDao.findFishingTripOriginByOriginFishingTrip(int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in FishingTripOriginDao.findFishingTripOriginByOriginFishingTrip(int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip originFishingTrip)
.
findFishingTripOriginByOriginFishingTrip
in interface FishingTripOriginDao
FishingTripOriginDao.findFishingTripOriginByOriginFishingTrip(int, String, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)
public java.util.Collection findFishingTripOriginByOriginFishingTrip(int transform, int pageNumber, int pageSize, FishingTrip originFishingTrip)
FishingTripOriginDao
Does the same thing as FishingTripOriginDao.findFishingTripOriginByOriginFishingTrip(int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)
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.
findFishingTripOriginByOriginFishingTrip
in interface FishingTripOriginDao
FishingTripOriginDao.findFishingTripOriginByOriginFishingTrip(int, int, int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)
public java.util.Collection findFishingTripOriginByOriginFishingTrip(int transform, java.lang.String queryString, int pageNumber, int pageSize, FishingTrip originFishingTrip)
FishingTripOriginDao
Does the same thing as FishingTripOriginDao.findFishingTripOriginByOriginFishingTrip(int, String, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)
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.
findFishingTripOriginByOriginFishingTrip
in interface FishingTripOriginDao
FishingTripOriginDao.findFishingTripOriginByOriginFishingTrip(int, java.lang.String, int, int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)
public FishingTripOrigin findFishingTripOriginByNaturalId(java.lang.Integer id)
findFishingTripOriginByNaturalId
in interface FishingTripOriginDao
FishingTripOriginDao.findFishingTripOriginByNaturalId(java.lang.Integer)
public java.lang.Object findFishingTripOriginByNaturalId(int transform, java.lang.Integer id)
FishingTripOriginDao
Does the same thing as FishingTripOriginDao.findFishingTripOriginByNaturalId(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.
findFishingTripOriginByNaturalId
in interface FishingTripOriginDao
FishingTripOriginDao.findFishingTripOriginByNaturalId(int, java.lang.Integer)
public FishingTripOrigin findFishingTripOriginByNaturalId(java.lang.String queryString, java.lang.Integer id)
FishingTripOriginDao
Does the same thing as FishingTripOriginDao.findFishingTripOriginByNaturalId(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in FishingTripOriginDao.findFishingTripOriginByNaturalId(java.lang.Integer)
.
findFishingTripOriginByNaturalId
in interface FishingTripOriginDao
FishingTripOriginDao.findFishingTripOriginByNaturalId(java.lang.String, java.lang.Integer)
public java.lang.Object findFishingTripOriginByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
FishingTripOriginDao
Does the same thing as FishingTripOriginDao.findFishingTripOriginByNaturalId(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in FishingTripOriginDao.findFishingTripOriginByNaturalId(int, java.lang.Integer id)
.
findFishingTripOriginByNaturalId
in interface FishingTripOriginDao
FishingTripOriginDao.findFishingTripOriginByNaturalId(int, java.lang.String, java.lang.Integer)
public FishingTripOrigin createFromClusterFishingTripOrigin(ClusterFishingTripOrigin clusterFishingTripOrigin)
createFromClusterFishingTripOrigin
in interface FishingTripOriginDao
FishingTripOriginDao.createFromClusterFishingTripOrigin(fr.ifremer.allegro.data.survey.fishingTrip.generic.cluster.ClusterFishingTripOrigin)
protected abstract FishingTripOrigin handleCreateFromClusterFishingTripOrigin(ClusterFishingTripOrigin clusterFishingTripOrigin) throws java.lang.Exception
createFromClusterFishingTripOrigin(fr.ifremer.allegro.data.survey.fishingTrip.generic.cluster.ClusterFishingTripOrigin)
java.lang.Exception
protected java.lang.Object transformEntity(int transform, FishingTripOrigin entity)
transform
flag is set to one of the constants defined in fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOriginDao
, please note
that the FishingTripOriginDao.TRANSFORM_NONE
constant denotes no transformation, so the entity itself
will be returned.
This method will return instances of these types:
FishingTripOrigin
- FishingTripOriginDao.TRANSFORM_NONE
RemoteFishingTripOriginFullVO
- TRANSFORM_REMOTEFISHINGTRIPORIGINFULLVO
RemoteFishingTripOriginNaturalId
- TRANSFORM_REMOTEFISHINGTRIPORIGINNATURALID
ClusterFishingTripOrigin
- TRANSFORM_CLUSTERFISHINGTRIPORIGIN
FishingTripOriginDao.TRANSFORM_NONE
is assumed.
transform
- one of the constants declared in FishingTripOriginDao
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.data.survey.fishingTrip.FishingTripOrigin)
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.data.survey.fishingTrip.FishingTripOriginDao
entities
- the collection of entities to transformtransformEntity(int,fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin)
protected FishingTripOrigin toEntity(java.lang.Object[] row)
public final void toRemoteFishingTripOriginFullVOCollection(java.util.Collection entities)
FishingTripOriginDao
RemoteFishingTripOriginFullVO
.
toRemoteFishingTripOriginFullVOCollection
in interface FishingTripOriginDao
FishingTripOriginDao.toRemoteFishingTripOriginFullVOCollection(java.util.Collection)
public final RemoteFishingTripOriginFullVO[] toRemoteFishingTripOriginFullVOArray(java.util.Collection entities)
FishingTripOriginDao
RemoteFishingTripOriginFullVO
.
toRemoteFishingTripOriginFullVOArray
in interface FishingTripOriginDao
FishingTripOriginDao.toRemoteFishingTripOriginFullVOArray(java.util.Collection)
protected RemoteFishingTripOriginFullVO toRemoteFishingTripOriginFullVO(java.lang.Object[] row)
FishingTripOriginDaoImpl
class if you intend to use reporting queries.
FishingTripOriginDao.toRemoteFishingTripOriginFullVO(fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin)
public final void remoteFishingTripOriginFullVOToEntityCollection(java.util.Collection instances)
FishingTripOriginDao
RemoteFishingTripOriginFullVO
to this
DAO's entity.
remoteFishingTripOriginFullVOToEntityCollection
in interface FishingTripOriginDao
FishingTripOriginDao.remoteFishingTripOriginFullVOToEntityCollection(java.util.Collection)
public void toRemoteFishingTripOriginFullVO(FishingTripOrigin source, RemoteFishingTripOriginFullVO target)
FishingTripOriginDao
toRemoteFishingTripOriginFullVO
in interface FishingTripOriginDao
FishingTripOriginDao.toRemoteFishingTripOriginFullVO(fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin, fr.ifremer.allegro.data.survey.fishingTrip.generic.vo.RemoteFishingTripOriginFullVO)
public RemoteFishingTripOriginFullVO toRemoteFishingTripOriginFullVO(FishingTripOrigin entity)
FishingTripOriginDao
RemoteFishingTripOriginFullVO
.
toRemoteFishingTripOriginFullVO
in interface FishingTripOriginDao
FishingTripOriginDao.toRemoteFishingTripOriginFullVO(fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin)
public void remoteFishingTripOriginFullVOToEntity(RemoteFishingTripOriginFullVO source, FishingTripOrigin target, boolean copyIfNull)
FishingTripOriginDao
RemoteFishingTripOriginFullVO
to the specified entity.
remoteFishingTripOriginFullVOToEntity
in interface FishingTripOriginDao
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.data.survey.fishingTrip.FishingTripOriginDao#remoteFishingTripOriginFullVOToEntity(fr.ifremer.allegro.data.survey.fishingTrip.generic.vo.RemoteFishingTripOriginFullVO, fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin)
public final void toRemoteFishingTripOriginNaturalIdCollection(java.util.Collection entities)
FishingTripOriginDao
RemoteFishingTripOriginNaturalId
.
toRemoteFishingTripOriginNaturalIdCollection
in interface FishingTripOriginDao
FishingTripOriginDao.toRemoteFishingTripOriginNaturalIdCollection(java.util.Collection)
public final RemoteFishingTripOriginNaturalId[] toRemoteFishingTripOriginNaturalIdArray(java.util.Collection entities)
FishingTripOriginDao
RemoteFishingTripOriginNaturalId
.
toRemoteFishingTripOriginNaturalIdArray
in interface FishingTripOriginDao
FishingTripOriginDao.toRemoteFishingTripOriginNaturalIdArray(java.util.Collection)
protected RemoteFishingTripOriginNaturalId toRemoteFishingTripOriginNaturalId(java.lang.Object[] row)
FishingTripOriginDaoImpl
class if you intend to use reporting queries.
FishingTripOriginDao.toRemoteFishingTripOriginNaturalId(fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin)
public final void remoteFishingTripOriginNaturalIdToEntityCollection(java.util.Collection instances)
FishingTripOriginDao
RemoteFishingTripOriginNaturalId
to this
DAO's entity.
remoteFishingTripOriginNaturalIdToEntityCollection
in interface FishingTripOriginDao
FishingTripOriginDao.remoteFishingTripOriginNaturalIdToEntityCollection(java.util.Collection)
public void toRemoteFishingTripOriginNaturalId(FishingTripOrigin source, RemoteFishingTripOriginNaturalId target)
FishingTripOriginDao
toRemoteFishingTripOriginNaturalId
in interface FishingTripOriginDao
FishingTripOriginDao.toRemoteFishingTripOriginNaturalId(fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin, fr.ifremer.allegro.data.survey.fishingTrip.generic.vo.RemoteFishingTripOriginNaturalId)
public RemoteFishingTripOriginNaturalId toRemoteFishingTripOriginNaturalId(FishingTripOrigin entity)
FishingTripOriginDao
RemoteFishingTripOriginNaturalId
.
toRemoteFishingTripOriginNaturalId
in interface FishingTripOriginDao
FishingTripOriginDao.toRemoteFishingTripOriginNaturalId(fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin)
public void remoteFishingTripOriginNaturalIdToEntity(RemoteFishingTripOriginNaturalId source, FishingTripOrigin target, boolean copyIfNull)
FishingTripOriginDao
RemoteFishingTripOriginNaturalId
to the specified entity.
remoteFishingTripOriginNaturalIdToEntity
in interface FishingTripOriginDao
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.data.survey.fishingTrip.FishingTripOriginDao#remoteFishingTripOriginNaturalIdToEntity(fr.ifremer.allegro.data.survey.fishingTrip.generic.vo.RemoteFishingTripOriginNaturalId, fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin)
public final void toClusterFishingTripOriginCollection(java.util.Collection entities)
FishingTripOriginDao
ClusterFishingTripOrigin
.
toClusterFishingTripOriginCollection
in interface FishingTripOriginDao
FishingTripOriginDao.toClusterFishingTripOriginCollection(java.util.Collection)
public final ClusterFishingTripOrigin[] toClusterFishingTripOriginArray(java.util.Collection entities)
FishingTripOriginDao
ClusterFishingTripOrigin
.
toClusterFishingTripOriginArray
in interface FishingTripOriginDao
FishingTripOriginDao.toClusterFishingTripOriginArray(java.util.Collection)
protected ClusterFishingTripOrigin toClusterFishingTripOrigin(java.lang.Object[] row)
FishingTripOriginDaoImpl
class if you intend to use reporting queries.
FishingTripOriginDao.toClusterFishingTripOrigin(fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin)
public final void clusterFishingTripOriginToEntityCollection(java.util.Collection instances)
FishingTripOriginDao
ClusterFishingTripOrigin
to this
DAO's entity.
clusterFishingTripOriginToEntityCollection
in interface FishingTripOriginDao
FishingTripOriginDao.clusterFishingTripOriginToEntityCollection(java.util.Collection)
public void toClusterFishingTripOrigin(FishingTripOrigin source, ClusterFishingTripOrigin target)
FishingTripOriginDao
toClusterFishingTripOrigin
in interface FishingTripOriginDao
FishingTripOriginDao.toClusterFishingTripOrigin(fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin, fr.ifremer.allegro.data.survey.fishingTrip.generic.cluster.ClusterFishingTripOrigin)
public ClusterFishingTripOrigin toClusterFishingTripOrigin(FishingTripOrigin entity)
FishingTripOriginDao
ClusterFishingTripOrigin
.
toClusterFishingTripOrigin
in interface FishingTripOriginDao
FishingTripOriginDao.toClusterFishingTripOrigin(fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin)
public void clusterFishingTripOriginToEntity(ClusterFishingTripOrigin source, FishingTripOrigin target, boolean copyIfNull)
FishingTripOriginDao
ClusterFishingTripOrigin
to the specified entity.
clusterFishingTripOriginToEntity
in interface FishingTripOriginDao
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.data.survey.fishingTrip.FishingTripOriginDao#clusterFishingTripOriginToEntity(fr.ifremer.allegro.data.survey.fishingTrip.generic.cluster.ClusterFishingTripOrigin, fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin)
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)
FishingTripOriginDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface FishingTripOriginDao
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.FishingTripOriginDao.search(int, int, int, fr.ifremer.allegro.Search)
public PaginationResult search(int pageNumber, int pageSize, Search search)
FishingTripOriginDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface FishingTripOriginDao
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.FishingTripOriginDao.search(int, int, fr.ifremer.allegro.Search)
public java.util.Set search(int transform, Search search)
FishingTripOriginDao
FishingTripOriginDao.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 FishingTripOriginDao
transform
- the transformation flag.search
- the search object which provides the search parameters and pagination specification.
FishingTripOriginDao.search(int, fr.ifremer.allegro.Search)
public java.util.Set search(Search search)
FishingTripOriginDao
search
object.
search
in interface FishingTripOriginDao
search
- the search object which provides the search parameters and pagination specification.
FishingTripOriginDao.search(fr.ifremer.allegro.Search)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |