|
||||||||||
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.regulation.RightToProduceDaoBase
public abstract class RightToProduceDaoBase
Base Spring DAO Class: is able to create, update, remove, load, and find
objects of type fr.ifremer.allegro.referential.regulation.RightToProduce
.
RightToProduce
Field Summary |
---|
Fields inherited from interface fr.ifremer.allegro.referential.regulation.RightToProduceDao |
---|
TRANSFORM_CLUSTERRIGHTTOPRODUCE, TRANSFORM_NONE, TRANSFORM_REMOTERIGHTTOPRODUCEFULLVO, TRANSFORM_REMOTERIGHTTOPRODUCENATURALID |
Constructor Summary | |
---|---|
RightToProduceDaoBase()
|
Method Summary | |
---|---|
void |
clusterRightToProduceToEntity(ClusterRightToProduce source,
RightToProduce target,
boolean copyIfNull)
Copies the fields of ClusterRightToProduce to the specified entity. |
void |
clusterRightToProduceToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type ClusterRightToProduce to this
DAO's entity. |
java.util.Collection |
create(java.util.Collection entities)
Creates a new instance of fr.ifremer.allegro.referential.regulation.RightToProduce and adds from the passed in entities collection |
RightToProduce |
create(java.util.Date startDate)
Creates a new fr.ifremer.allegro.referential.regulation.RightToProduce
instance from only required properties (attributes
and association ends) and adds it to the persistent store. |
RightToProduce |
create(java.util.Date startDate,
java.util.Date endDate,
java.lang.String reference,
java.sql.Timestamp updateDate,
Corpus corpus,
java.util.Collection fisheries,
java.util.Collection vesselOwners,
java.util.Collection vessels)
Creates a new fr.ifremer.allegro.referential.regulation.RightToProduce
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 RightToProduceDao.create(fr.ifremer.allegro.referential.regulation.RightToProduce) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
java.util.Date startDate)
Does the same thing as RightToProduceDao.create(java.util.Date) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
java.util.Date startDate,
java.util.Date endDate,
java.lang.String reference,
java.sql.Timestamp updateDate,
Corpus corpus,
java.util.Collection fisheries,
java.util.Collection vesselOwners,
java.util.Collection vessels)
Does the same thing as RightToProduceDao.create(java.util.Date,java.util.Date,java.lang.String,java.sql.Timestamp,fr.ifremer.allegro.referential.regulation.Corpus,java.util.Collection,java.util.Collection,java.util.Collection) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
RightToProduce rightToProduce)
Does the same thing as RightToProduceDao.create(fr.ifremer.allegro.referential.regulation.RightToProduce) with an
additional flag called transform . |
RightToProduce |
create(RightToProduce rightToProduce)
Creates an instance of fr.ifremer.allegro.referential.regulation.RightToProduce and adds it to the persistent store. |
RightToProduce |
createFromClusterRightToProduce(ClusterRightToProduce clusterRightToProduce)
|
RightToProduce |
findRightToProduceByCorpus(Corpus corpus)
|
java.lang.Object |
findRightToProduceByCorpus(int transform,
Corpus corpus)
Does the same thing as RightToProduceDao.findRightToProduceByCorpus(fr.ifremer.allegro.referential.regulation.Corpus) with an
additional flag called transform . |
java.lang.Object |
findRightToProduceByCorpus(int transform,
java.lang.String queryString,
Corpus corpus)
Does the same thing as RightToProduceDao.findRightToProduceByCorpus(int, fr.ifremer.allegro.referential.regulation.Corpus) with an
additional argument called queryString . |
RightToProduce |
findRightToProduceByCorpus(java.lang.String queryString,
Corpus corpus)
Does the same thing as RightToProduceDao.findRightToProduceByCorpus(fr.ifremer.allegro.referential.regulation.Corpus) with an
additional argument called queryString . |
RightToProduce |
findRightToProduceById(java.lang.Integer id)
|
java.lang.Object |
findRightToProduceById(int transform,
java.lang.Integer id)
Does the same thing as RightToProduceDao.findRightToProduceById(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findRightToProduceById(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as RightToProduceDao.findRightToProduceById(int, java.lang.Integer) with an
additional argument called queryString . |
RightToProduce |
findRightToProduceById(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as RightToProduceDao.findRightToProduceById(java.lang.Integer) with an
additional argument called queryString . |
RightToProduce |
findRightToProduceByNaturalId(java.lang.Integer id)
|
java.lang.Object |
findRightToProduceByNaturalId(int transform,
java.lang.Integer id)
Does the same thing as RightToProduceDao.findRightToProduceByNaturalId(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findRightToProduceByNaturalId(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as RightToProduceDao.findRightToProduceByNaturalId(int, java.lang.Integer) with an
additional argument called queryString . |
RightToProduce |
findRightToProduceByNaturalId(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as RightToProduceDao.findRightToProduceByNaturalId(java.lang.Integer) with an
additional argument called queryString . |
ClusterRightToProduce[] |
getAllClusterRightToProduceSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize)
|
java.util.Collection |
getAllRightToProduce()
|
java.util.Collection |
getAllRightToProduce(int transform)
Does the same thing as RightToProduceDao.getAllRightToProduce() with an
additional flag called transform . |
java.util.Collection |
getAllRightToProduce(int pageNumber,
int pageSize)
Does the same thing as RightToProduceDao.getAllRightToProduce() with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllRightToProduce(int transform,
int pageNumber,
int pageSize)
Does the same thing as RightToProduceDao.getAllRightToProduce(int) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllRightToProduce(int transform,
java.lang.String queryString)
Does the same thing as RightToProduceDao.getAllRightToProduce(int) with an
additional argument called queryString . |
java.util.Collection |
getAllRightToProduce(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as RightToProduceDao.getAllRightToProduce(int, String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllRightToProduce(java.lang.String queryString)
Does the same thing as RightToProduceDao.getAllRightToProduce() with an
additional argument called queryString . |
java.util.Collection |
getAllRightToProduce(java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as RightToProduceDao.getAllRightToProduce(String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllRightToProduceSinceDateSynchro(int transform,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as RightToProduceDao.getAllRightToProduceSinceDateSynchro(int, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllRightToProduceSinceDateSynchro(int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as RightToProduceDao.getAllRightToProduceSinceDateSynchro(java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllRightToProduceSinceDateSynchro(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as RightToProduceDao.getAllRightToProduceSinceDateSynchro(int, String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllRightToProduceSinceDateSynchro(int transform,
java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as RightToProduceDao.getAllRightToProduceSinceDateSynchro(int, java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllRightToProduceSinceDateSynchro(int transform,
java.sql.Timestamp updateDate)
Does the same thing as RightToProduceDao.getAllRightToProduceSinceDateSynchro(java.sql.Timestamp) with an
additional flag called transform . |
java.util.Collection |
getAllRightToProduceSinceDateSynchro(java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as RightToProduceDao.getAllRightToProduceSinceDateSynchro(String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllRightToProduceSinceDateSynchro(java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as RightToProduceDao.getAllRightToProduceSinceDateSynchro(java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllRightToProduceSinceDateSynchro(java.sql.Timestamp updateDate)
|
protected CorpusDao |
getCorpusDao()
Gets the reference to corpusDao . |
protected FisheryDao |
getFisheryDao()
Gets the reference to fisheryDao . |
protected java.security.Principal |
getPrincipal()
Gets the current principal if one has been set,
otherwise returns null . |
protected VesselDao |
getVesselDao()
Gets the reference to vesselDao . |
protected VesselOwnerDao |
getVesselOwnerDao()
Gets the reference to vesselOwnerDao . |
protected abstract RightToProduce |
handleCreateFromClusterRightToProduce(ClusterRightToProduce clusterRightToProduce)
Performs the core logic for createFromClusterRightToProduce(fr.ifremer.allegro.referential.regulation.generic.cluster.ClusterRightToProduce) |
protected abstract ClusterRightToProduce[] |
handleGetAllClusterRightToProduceSinceDateSynchro(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 getAllClusterRightToProduceSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer) |
RightToProduce |
load(java.lang.Integer id)
Loads an instance of fr.ifremer.allegro.referential.regulation.RightToProduce from the persistent store. |
java.lang.Object |
load(int transform,
java.lang.Integer id)
Does the same thing as RightToProduceDao.load(java.lang.Integer) with an
additional flag called transform . |
java.util.Collection |
loadAll()
Loads all entities of type RightToProduce . |
java.util.Collection |
loadAll(int transform)
Does the same thing as RightToProduceDao.loadAll() with an
additional flag called transform . |
java.util.Collection |
loadAll(int pageNumber,
int pageSize)
Does the same thing as RightToProduceDao.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 RightToProduceDao.loadAll(int) with an
additional two arguments called pageNumber and pageSize . |
void |
remoteRightToProduceFullVOToEntity(RemoteRightToProduceFullVO source,
RightToProduce target,
boolean copyIfNull)
Copies the fields of RemoteRightToProduceFullVO to the specified entity. |
void |
remoteRightToProduceFullVOToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteRightToProduceFullVO to this
DAO's entity. |
void |
remoteRightToProduceNaturalIdToEntity(RemoteRightToProduceNaturalId source,
RightToProduce target,
boolean copyIfNull)
Copies the fields of RemoteRightToProduceNaturalId to the specified entity. |
void |
remoteRightToProduceNaturalIdToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteRightToProduceNaturalId 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.regulation.RightToProduce having the given identifier from the persistent store. |
void |
remove(RightToProduce rightToProduce)
Removes the instance of fr.ifremer.allegro.referential.regulation.RightToProduce 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 RightToProduceDao.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 |
setCorpusDao(CorpusDao corpusDao)
Sets the reference to corpusDao . |
void |
setFisheryDao(FisheryDao fisheryDao)
Sets the reference to fisheryDao . |
void |
setVesselDao(VesselDao vesselDao)
Sets the reference to vesselDao . |
void |
setVesselOwnerDao(VesselOwnerDao vesselOwnerDao)
Sets the reference to vesselOwnerDao . |
protected ClusterRightToProduce |
toClusterRightToProduce(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
ClusterRightToProduce |
toClusterRightToProduce(RightToProduce entity)
Converts this DAO's entity to an object of type ClusterRightToProduce . |
void |
toClusterRightToProduce(RightToProduce source,
ClusterRightToProduce target)
Copies the fields of the specified entity to the target value object. |
ClusterRightToProduce[] |
toClusterRightToProduceArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type ClusterRightToProduce . |
void |
toClusterRightToProduceCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type ClusterRightToProduce . |
protected RightToProduce |
toEntity(java.lang.Object[] row)
|
protected RemoteRightToProduceFullVO |
toRemoteRightToProduceFullVO(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteRightToProduceFullVO |
toRemoteRightToProduceFullVO(RightToProduce entity)
Converts this DAO's entity to an object of type RemoteRightToProduceFullVO . |
void |
toRemoteRightToProduceFullVO(RightToProduce source,
RemoteRightToProduceFullVO target)
Copies the fields of the specified entity to the target value object. |
RemoteRightToProduceFullVO[] |
toRemoteRightToProduceFullVOArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteRightToProduceFullVO . |
void |
toRemoteRightToProduceFullVOCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteRightToProduceFullVO . |
protected RemoteRightToProduceNaturalId |
toRemoteRightToProduceNaturalId(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteRightToProduceNaturalId |
toRemoteRightToProduceNaturalId(RightToProduce entity)
Converts this DAO's entity to an object of type RemoteRightToProduceNaturalId . |
void |
toRemoteRightToProduceNaturalId(RightToProduce source,
RemoteRightToProduceNaturalId target)
Copies the fields of the specified entity to the target value object. |
RemoteRightToProduceNaturalId[] |
toRemoteRightToProduceNaturalIdArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteRightToProduceNaturalId . |
void |
toRemoteRightToProduceNaturalIdCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteRightToProduceNaturalId . |
protected void |
transformEntities(int transform,
java.util.Collection entities)
Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.regulation.RightToProduce)
method. |
protected java.lang.Object |
transformEntity(int transform,
RightToProduce 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.regulation.RightToProduceDao , please note
that the RightToProduceDao.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(RightToProduce rightToProduce)
Updates the rightToProduce 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.regulation.RightToProduceDao |
---|
clusterRightToProduceToEntity, remoteRightToProduceFullVOToEntity, remoteRightToProduceNaturalIdToEntity |
Constructor Detail |
---|
public RightToProduceDaoBase()
Method Detail |
---|
public void setCorpusDao(CorpusDao corpusDao)
corpusDao
.
protected CorpusDao getCorpusDao()
corpusDao
.
public void setFisheryDao(FisheryDao fisheryDao)
fisheryDao
.
protected FisheryDao getFisheryDao()
fisheryDao
.
public void setVesselDao(VesselDao vesselDao)
vesselDao
.
protected VesselDao getVesselDao()
vesselDao
.
public void setVesselOwnerDao(VesselOwnerDao vesselOwnerDao)
vesselOwnerDao
.
protected VesselOwnerDao getVesselOwnerDao()
vesselOwnerDao
.
public java.lang.Object load(int transform, java.lang.Integer id)
RightToProduceDao
Does the same thing as RightToProduceDao.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 RightToProduceDao
id
- identifier of the entity to load
RightToProduceDao.load(int, java.lang.Integer)
public RightToProduce load(java.lang.Integer id)
RightToProduceDao
load
in interface RightToProduceDao
RightToProduceDao.load(java.lang.Integer)
public java.util.Collection loadAll()
RightToProduceDao
RightToProduce
.
loadAll
in interface RightToProduceDao
RightToProduceDao.loadAll()
public java.util.Collection loadAll(int transform)
RightToProduceDao
Does the same thing as RightToProduceDao.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 RightToProduceDao
transform
- the flag indicating what transformation to use.
RightToProduceDao.loadAll(int)
public java.util.Collection loadAll(int pageNumber, int pageSize)
RightToProduceDao
Does the same thing as RightToProduceDao.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 RightToProduceDao
pageNumber
- the page number to retrieve when paging results.pageSize
- the size of the page to retrieve when paging results.
RightToProduceDao.loadAll(int, int)
public java.util.Collection loadAll(int transform, int pageNumber, int pageSize)
RightToProduceDao
Does the same thing as RightToProduceDao.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 RightToProduceDao
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.
RightToProduceDao.loadAll(int, int, int)
public RightToProduce create(RightToProduce rightToProduce)
RightToProduceDao
create
in interface RightToProduceDao
RightToProduceDao.create(fr.ifremer.allegro.referential.regulation.RightToProduce)
public java.lang.Object create(int transform, RightToProduce rightToProduce)
RightToProduceDao
Does the same thing as RightToProduceDao.create(fr.ifremer.allegro.referential.regulation.RightToProduce)
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 RightToProduceDao
RightToProduceDao.create(int transform, fr.ifremer.allegro.referential.regulation.RightToProduce)
public java.util.Collection create(java.util.Collection entities)
RightToProduceDao
entities
collection
create
in interface RightToProduceDao
entities
- the collection of fr.ifremer.allegro.referential.regulation.RightToProduce
instances to create.
RightToProduceDao.create(java.util.Collection)
public java.util.Collection create(int transform, java.util.Collection entities)
RightToProduceDao
Does the same thing as RightToProduceDao.create(fr.ifremer.allegro.referential.regulation.RightToProduce)
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 RightToProduceDao
RightToProduceDao.create(int, java.util.Collection)
public RightToProduce create(java.util.Date startDate, java.util.Date endDate, java.lang.String reference, java.sql.Timestamp updateDate, Corpus corpus, java.util.Collection fisheries, java.util.Collection vesselOwners, java.util.Collection vessels)
RightToProduceDao
Creates a new fr.ifremer.allegro.referential.regulation.RightToProduce
instance from all attributes and
properties and adds it to the persistent store.
create
in interface RightToProduceDao
RightToProduceDao.create(java.util.Date,java.util.Date,java.lang.String,java.sql.Timestamp,fr.ifremer.allegro.referential.regulation.Corpus,java.util.Collection,java.util.Collection,java.util.Collection)
public java.lang.Object create(int transform, java.util.Date startDate, java.util.Date endDate, java.lang.String reference, java.sql.Timestamp updateDate, Corpus corpus, java.util.Collection fisheries, java.util.Collection vesselOwners, java.util.Collection vessels)
RightToProduceDao
Does the same thing as RightToProduceDao.create(java.util.Date,java.util.Date,java.lang.String,java.sql.Timestamp,fr.ifremer.allegro.referential.regulation.Corpus,java.util.Collection,java.util.Collection,java.util.Collection)
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 RightToProduceDao
RightToProduceDao.create(int, java.util.Date,java.util.Date,java.lang.String,java.sql.Timestamp,fr.ifremer.allegro.referential.regulation.Corpus,java.util.Collection,java.util.Collection,java.util.Collection)
public RightToProduce create(java.util.Date startDate)
RightToProduceDao
Creates a new fr.ifremer.allegro.referential.regulation.RightToProduce
instance from only required properties (attributes
and association ends) and adds it to the persistent store.
create
in interface RightToProduceDao
RightToProduceDao.create(java.util.Date)
public java.lang.Object create(int transform, java.util.Date startDate)
RightToProduceDao
Does the same thing as RightToProduceDao.create(java.util.Date)
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 RightToProduceDao
RightToProduceDao.create(int, java.util.Date)
public void update(RightToProduce rightToProduce)
RightToProduceDao
rightToProduce
instance in the persistent store.
update
in interface RightToProduceDao
RightToProduceDao.update(fr.ifremer.allegro.referential.regulation.RightToProduce)
public void update(java.util.Collection entities)
RightToProduceDao
entities
collection in the persistent store.
update
in interface RightToProduceDao
RightToProduceDao.update(java.util.Collection)
public void remove(RightToProduce rightToProduce)
RightToProduceDao
remove
in interface RightToProduceDao
RightToProduceDao.remove(fr.ifremer.allegro.referential.regulation.RightToProduce)
public void remove(java.lang.Integer id)
RightToProduceDao
identifier
from the persistent store.
remove
in interface RightToProduceDao
RightToProduceDao.remove(java.lang.Integer)
public void remove(java.util.Collection entities)
RightToProduceDao
entities collection.
- Specified by:
remove
in interface RightToProduceDao
- See Also:
RightToProduceDao.remove(java.util.Collection)
public java.util.Collection getAllRightToProduce()
getAllRightToProduce
in interface RightToProduceDao
RightToProduceDao.getAllRightToProduce()
public java.util.Collection getAllRightToProduce(int transform)
RightToProduceDao
Does the same thing as RightToProduceDao.getAllRightToProduce()
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.
getAllRightToProduce
in interface RightToProduceDao
RightToProduceDao.getAllRightToProduce(int)
public java.util.Collection getAllRightToProduce(java.lang.String queryString)
RightToProduceDao
Does the same thing as RightToProduceDao.getAllRightToProduce()
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in RightToProduceDao.getAllRightToProduce()
.
getAllRightToProduce
in interface RightToProduceDao
RightToProduceDao.getAllRightToProduce(java.lang.String)
public java.util.Collection getAllRightToProduce(int pageNumber, int pageSize)
RightToProduceDao
Does the same thing as RightToProduceDao.getAllRightToProduce()
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.
getAllRightToProduce
in interface RightToProduceDao
RightToProduceDao.getAllRightToProduce(int, int)
public java.util.Collection getAllRightToProduce(java.lang.String queryString, int pageNumber, int pageSize)
RightToProduceDao
Does the same thing as RightToProduceDao.getAllRightToProduce(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.
getAllRightToProduce
in interface RightToProduceDao
RightToProduceDao.getAllRightToProduce(String, int, int)
public java.util.Collection getAllRightToProduce(int transform, java.lang.String queryString)
RightToProduceDao
Does the same thing as RightToProduceDao.getAllRightToProduce(int)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in RightToProduceDao.getAllRightToProduce(int)
.
getAllRightToProduce
in interface RightToProduceDao
RightToProduceDao.getAllRightToProduce(int, String)
public java.util.Collection getAllRightToProduce(int transform, int pageNumber, int pageSize)
RightToProduceDao
Does the same thing as RightToProduceDao.getAllRightToProduce(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.
getAllRightToProduce
in interface RightToProduceDao
RightToProduceDao.getAllRightToProduce(int, int, int)
public java.util.Collection getAllRightToProduce(int transform, java.lang.String queryString, int pageNumber, int pageSize)
RightToProduceDao
Does the same thing as RightToProduceDao.getAllRightToProduce(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.
getAllRightToProduce
in interface RightToProduceDao
RightToProduceDao.getAllRightToProduce(int, java.lang.String, int, int)
public RightToProduce findRightToProduceById(java.lang.Integer id)
findRightToProduceById
in interface RightToProduceDao
RightToProduceDao.findRightToProduceById(java.lang.Integer)
public java.lang.Object findRightToProduceById(int transform, java.lang.Integer id)
RightToProduceDao
Does the same thing as RightToProduceDao.findRightToProduceById(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.
findRightToProduceById
in interface RightToProduceDao
RightToProduceDao.findRightToProduceById(int, java.lang.Integer)
public RightToProduce findRightToProduceById(java.lang.String queryString, java.lang.Integer id)
RightToProduceDao
Does the same thing as RightToProduceDao.findRightToProduceById(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in RightToProduceDao.findRightToProduceById(java.lang.Integer)
.
findRightToProduceById
in interface RightToProduceDao
RightToProduceDao.findRightToProduceById(java.lang.String, java.lang.Integer)
public java.lang.Object findRightToProduceById(int transform, java.lang.String queryString, java.lang.Integer id)
RightToProduceDao
Does the same thing as RightToProduceDao.findRightToProduceById(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in RightToProduceDao.findRightToProduceById(int, java.lang.Integer id)
.
findRightToProduceById
in interface RightToProduceDao
RightToProduceDao.findRightToProduceById(int, java.lang.String, java.lang.Integer)
public RightToProduce findRightToProduceByCorpus(Corpus corpus)
findRightToProduceByCorpus
in interface RightToProduceDao
RightToProduceDao.findRightToProduceByCorpus(fr.ifremer.allegro.referential.regulation.Corpus)
public java.lang.Object findRightToProduceByCorpus(int transform, Corpus corpus)
RightToProduceDao
Does the same thing as RightToProduceDao.findRightToProduceByCorpus(fr.ifremer.allegro.referential.regulation.Corpus)
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.
findRightToProduceByCorpus
in interface RightToProduceDao
RightToProduceDao.findRightToProduceByCorpus(int, fr.ifremer.allegro.referential.regulation.Corpus)
public RightToProduce findRightToProduceByCorpus(java.lang.String queryString, Corpus corpus)
RightToProduceDao
Does the same thing as RightToProduceDao.findRightToProduceByCorpus(fr.ifremer.allegro.referential.regulation.Corpus)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in RightToProduceDao.findRightToProduceByCorpus(fr.ifremer.allegro.referential.regulation.Corpus)
.
findRightToProduceByCorpus
in interface RightToProduceDao
RightToProduceDao.findRightToProduceByCorpus(java.lang.String, fr.ifremer.allegro.referential.regulation.Corpus)
public java.lang.Object findRightToProduceByCorpus(int transform, java.lang.String queryString, Corpus corpus)
RightToProduceDao
Does the same thing as RightToProduceDao.findRightToProduceByCorpus(int, fr.ifremer.allegro.referential.regulation.Corpus)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in RightToProduceDao.findRightToProduceByCorpus(int, fr.ifremer.allegro.referential.regulation.Corpus corpus)
.
findRightToProduceByCorpus
in interface RightToProduceDao
RightToProduceDao.findRightToProduceByCorpus(int, java.lang.String, fr.ifremer.allegro.referential.regulation.Corpus)
public RightToProduce findRightToProduceByNaturalId(java.lang.Integer id)
findRightToProduceByNaturalId
in interface RightToProduceDao
RightToProduceDao.findRightToProduceByNaturalId(java.lang.Integer)
public java.lang.Object findRightToProduceByNaturalId(int transform, java.lang.Integer id)
RightToProduceDao
Does the same thing as RightToProduceDao.findRightToProduceByNaturalId(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.
findRightToProduceByNaturalId
in interface RightToProduceDao
RightToProduceDao.findRightToProduceByNaturalId(int, java.lang.Integer)
public RightToProduce findRightToProduceByNaturalId(java.lang.String queryString, java.lang.Integer id)
RightToProduceDao
Does the same thing as RightToProduceDao.findRightToProduceByNaturalId(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in RightToProduceDao.findRightToProduceByNaturalId(java.lang.Integer)
.
findRightToProduceByNaturalId
in interface RightToProduceDao
RightToProduceDao.findRightToProduceByNaturalId(java.lang.String, java.lang.Integer)
public java.lang.Object findRightToProduceByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
RightToProduceDao
Does the same thing as RightToProduceDao.findRightToProduceByNaturalId(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in RightToProduceDao.findRightToProduceByNaturalId(int, java.lang.Integer id)
.
findRightToProduceByNaturalId
in interface RightToProduceDao
RightToProduceDao.findRightToProduceByNaturalId(int, java.lang.String, java.lang.Integer)
public java.util.Collection getAllRightToProduceSinceDateSynchro(java.sql.Timestamp updateDate)
getAllRightToProduceSinceDateSynchro
in interface RightToProduceDao
RightToProduceDao.getAllRightToProduceSinceDateSynchro(java.sql.Timestamp)
public java.util.Collection getAllRightToProduceSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
RightToProduceDao
Does the same thing as RightToProduceDao.getAllRightToProduceSinceDateSynchro(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.
getAllRightToProduceSinceDateSynchro
in interface RightToProduceDao
RightToProduceDao.getAllRightToProduceSinceDateSynchro(int, java.sql.Timestamp)
public java.util.Collection getAllRightToProduceSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
RightToProduceDao
Does the same thing as RightToProduceDao.getAllRightToProduceSinceDateSynchro(java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in RightToProduceDao.getAllRightToProduceSinceDateSynchro(java.sql.Timestamp)
.
getAllRightToProduceSinceDateSynchro
in interface RightToProduceDao
RightToProduceDao.getAllRightToProduceSinceDateSynchro(java.lang.String, java.sql.Timestamp)
public java.util.Collection getAllRightToProduceSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
RightToProduceDao
Does the same thing as RightToProduceDao.getAllRightToProduceSinceDateSynchro(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.
getAllRightToProduceSinceDateSynchro
in interface RightToProduceDao
RightToProduceDao.getAllRightToProduceSinceDateSynchro(int, int, java.sql.Timestamp)
public java.util.Collection getAllRightToProduceSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
RightToProduceDao
Does the same thing as RightToProduceDao.getAllRightToProduceSinceDateSynchro(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.
getAllRightToProduceSinceDateSynchro
in interface RightToProduceDao
RightToProduceDao.getAllRightToProduceSinceDateSynchro(String, int, int, java.sql.Timestamp)
public java.util.Collection getAllRightToProduceSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
RightToProduceDao
Does the same thing as RightToProduceDao.getAllRightToProduceSinceDateSynchro(int, java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in RightToProduceDao.getAllRightToProduceSinceDateSynchro(int, java.sql.Timestamp updateDate)
.
getAllRightToProduceSinceDateSynchro
in interface RightToProduceDao
RightToProduceDao.getAllRightToProduceSinceDateSynchro(int, String, java.sql.Timestamp)
public java.util.Collection getAllRightToProduceSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
RightToProduceDao
Does the same thing as RightToProduceDao.getAllRightToProduceSinceDateSynchro(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.
getAllRightToProduceSinceDateSynchro
in interface RightToProduceDao
RightToProduceDao.getAllRightToProduceSinceDateSynchro(int, int, int, java.sql.Timestamp)
public java.util.Collection getAllRightToProduceSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
RightToProduceDao
Does the same thing as RightToProduceDao.getAllRightToProduceSinceDateSynchro(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.
getAllRightToProduceSinceDateSynchro
in interface RightToProduceDao
RightToProduceDao.getAllRightToProduceSinceDateSynchro(int, java.lang.String, int, int, java.sql.Timestamp)
public RightToProduce createFromClusterRightToProduce(ClusterRightToProduce clusterRightToProduce)
createFromClusterRightToProduce
in interface RightToProduceDao
RightToProduceDao.createFromClusterRightToProduce(fr.ifremer.allegro.referential.regulation.generic.cluster.ClusterRightToProduce)
protected abstract RightToProduce handleCreateFromClusterRightToProduce(ClusterRightToProduce clusterRightToProduce) throws java.lang.Exception
createFromClusterRightToProduce(fr.ifremer.allegro.referential.regulation.generic.cluster.ClusterRightToProduce)
java.lang.Exception
public ClusterRightToProduce[] getAllClusterRightToProduceSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
getAllClusterRightToProduceSinceDateSynchro
in interface RightToProduceDao
RightToProduceDao.getAllClusterRightToProduceSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected abstract ClusterRightToProduce[] handleGetAllClusterRightToProduceSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize) throws java.lang.Exception
getAllClusterRightToProduceSinceDateSynchro(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, RightToProduce entity)
transform
flag is set to one of the constants defined in fr.ifremer.allegro.referential.regulation.RightToProduceDao
, please note
that the RightToProduceDao.TRANSFORM_NONE
constant denotes no transformation, so the entity itself
will be returned.
This method will return instances of these types:
RightToProduce
- RightToProduceDao.TRANSFORM_NONE
RemoteRightToProduceFullVO
- TRANSFORM_REMOTERIGHTTOPRODUCEFULLVO
RemoteRightToProduceNaturalId
- TRANSFORM_REMOTERIGHTTOPRODUCENATURALID
ClusterRightToProduce
- TRANSFORM_CLUSTERRIGHTTOPRODUCE
RightToProduceDao.TRANSFORM_NONE
is assumed.
transform
- one of the constants declared in RightToProduceDao
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.regulation.RightToProduce)
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.regulation.RightToProduceDao
entities
- the collection of entities to transformtransformEntity(int,fr.ifremer.allegro.referential.regulation.RightToProduce)
protected RightToProduce toEntity(java.lang.Object[] row)
public final void toRemoteRightToProduceFullVOCollection(java.util.Collection entities)
RightToProduceDao
RemoteRightToProduceFullVO
.
toRemoteRightToProduceFullVOCollection
in interface RightToProduceDao
RightToProduceDao.toRemoteRightToProduceFullVOCollection(java.util.Collection)
public final RemoteRightToProduceFullVO[] toRemoteRightToProduceFullVOArray(java.util.Collection entities)
RightToProduceDao
RemoteRightToProduceFullVO
.
toRemoteRightToProduceFullVOArray
in interface RightToProduceDao
RightToProduceDao.toRemoteRightToProduceFullVOArray(java.util.Collection)
protected RemoteRightToProduceFullVO toRemoteRightToProduceFullVO(java.lang.Object[] row)
RightToProduceDaoImpl
class if you intend to use reporting queries.
RightToProduceDao.toRemoteRightToProduceFullVO(fr.ifremer.allegro.referential.regulation.RightToProduce)
public final void remoteRightToProduceFullVOToEntityCollection(java.util.Collection instances)
RightToProduceDao
RemoteRightToProduceFullVO
to this
DAO's entity.
remoteRightToProduceFullVOToEntityCollection
in interface RightToProduceDao
RightToProduceDao.remoteRightToProduceFullVOToEntityCollection(java.util.Collection)
public void toRemoteRightToProduceFullVO(RightToProduce source, RemoteRightToProduceFullVO target)
RightToProduceDao
toRemoteRightToProduceFullVO
in interface RightToProduceDao
RightToProduceDao.toRemoteRightToProduceFullVO(fr.ifremer.allegro.referential.regulation.RightToProduce, fr.ifremer.allegro.referential.regulation.generic.vo.RemoteRightToProduceFullVO)
public RemoteRightToProduceFullVO toRemoteRightToProduceFullVO(RightToProduce entity)
RightToProduceDao
RemoteRightToProduceFullVO
.
toRemoteRightToProduceFullVO
in interface RightToProduceDao
RightToProduceDao.toRemoteRightToProduceFullVO(fr.ifremer.allegro.referential.regulation.RightToProduce)
public void remoteRightToProduceFullVOToEntity(RemoteRightToProduceFullVO source, RightToProduce target, boolean copyIfNull)
RightToProduceDao
RemoteRightToProduceFullVO
to the specified entity.
remoteRightToProduceFullVOToEntity
in interface RightToProduceDao
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.regulation.RightToProduceDao#remoteRightToProduceFullVOToEntity(fr.ifremer.allegro.referential.regulation.generic.vo.RemoteRightToProduceFullVO, fr.ifremer.allegro.referential.regulation.RightToProduce)
public final void toRemoteRightToProduceNaturalIdCollection(java.util.Collection entities)
RightToProduceDao
RemoteRightToProduceNaturalId
.
toRemoteRightToProduceNaturalIdCollection
in interface RightToProduceDao
RightToProduceDao.toRemoteRightToProduceNaturalIdCollection(java.util.Collection)
public final RemoteRightToProduceNaturalId[] toRemoteRightToProduceNaturalIdArray(java.util.Collection entities)
RightToProduceDao
RemoteRightToProduceNaturalId
.
toRemoteRightToProduceNaturalIdArray
in interface RightToProduceDao
RightToProduceDao.toRemoteRightToProduceNaturalIdArray(java.util.Collection)
protected RemoteRightToProduceNaturalId toRemoteRightToProduceNaturalId(java.lang.Object[] row)
RightToProduceDaoImpl
class if you intend to use reporting queries.
RightToProduceDao.toRemoteRightToProduceNaturalId(fr.ifremer.allegro.referential.regulation.RightToProduce)
public final void remoteRightToProduceNaturalIdToEntityCollection(java.util.Collection instances)
RightToProduceDao
RemoteRightToProduceNaturalId
to this
DAO's entity.
remoteRightToProduceNaturalIdToEntityCollection
in interface RightToProduceDao
RightToProduceDao.remoteRightToProduceNaturalIdToEntityCollection(java.util.Collection)
public void toRemoteRightToProduceNaturalId(RightToProduce source, RemoteRightToProduceNaturalId target)
RightToProduceDao
toRemoteRightToProduceNaturalId
in interface RightToProduceDao
RightToProduceDao.toRemoteRightToProduceNaturalId(fr.ifremer.allegro.referential.regulation.RightToProduce, fr.ifremer.allegro.referential.regulation.generic.vo.RemoteRightToProduceNaturalId)
public RemoteRightToProduceNaturalId toRemoteRightToProduceNaturalId(RightToProduce entity)
RightToProduceDao
RemoteRightToProduceNaturalId
.
toRemoteRightToProduceNaturalId
in interface RightToProduceDao
RightToProduceDao.toRemoteRightToProduceNaturalId(fr.ifremer.allegro.referential.regulation.RightToProduce)
public void remoteRightToProduceNaturalIdToEntity(RemoteRightToProduceNaturalId source, RightToProduce target, boolean copyIfNull)
RightToProduceDao
RemoteRightToProduceNaturalId
to the specified entity.
remoteRightToProduceNaturalIdToEntity
in interface RightToProduceDao
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.regulation.RightToProduceDao#remoteRightToProduceNaturalIdToEntity(fr.ifremer.allegro.referential.regulation.generic.vo.RemoteRightToProduceNaturalId, fr.ifremer.allegro.referential.regulation.RightToProduce)
public final void toClusterRightToProduceCollection(java.util.Collection entities)
RightToProduceDao
ClusterRightToProduce
.
toClusterRightToProduceCollection
in interface RightToProduceDao
RightToProduceDao.toClusterRightToProduceCollection(java.util.Collection)
public final ClusterRightToProduce[] toClusterRightToProduceArray(java.util.Collection entities)
RightToProduceDao
ClusterRightToProduce
.
toClusterRightToProduceArray
in interface RightToProduceDao
RightToProduceDao.toClusterRightToProduceArray(java.util.Collection)
protected ClusterRightToProduce toClusterRightToProduce(java.lang.Object[] row)
RightToProduceDaoImpl
class if you intend to use reporting queries.
RightToProduceDao.toClusterRightToProduce(fr.ifremer.allegro.referential.regulation.RightToProduce)
public final void clusterRightToProduceToEntityCollection(java.util.Collection instances)
RightToProduceDao
ClusterRightToProduce
to this
DAO's entity.
clusterRightToProduceToEntityCollection
in interface RightToProduceDao
RightToProduceDao.clusterRightToProduceToEntityCollection(java.util.Collection)
public void toClusterRightToProduce(RightToProduce source, ClusterRightToProduce target)
RightToProduceDao
toClusterRightToProduce
in interface RightToProduceDao
RightToProduceDao.toClusterRightToProduce(fr.ifremer.allegro.referential.regulation.RightToProduce, fr.ifremer.allegro.referential.regulation.generic.cluster.ClusterRightToProduce)
public ClusterRightToProduce toClusterRightToProduce(RightToProduce entity)
RightToProduceDao
ClusterRightToProduce
.
toClusterRightToProduce
in interface RightToProduceDao
RightToProduceDao.toClusterRightToProduce(fr.ifremer.allegro.referential.regulation.RightToProduce)
public void clusterRightToProduceToEntity(ClusterRightToProduce source, RightToProduce target, boolean copyIfNull)
RightToProduceDao
ClusterRightToProduce
to the specified entity.
clusterRightToProduceToEntity
in interface RightToProduceDao
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.regulation.RightToProduceDao#clusterRightToProduceToEntity(fr.ifremer.allegro.referential.regulation.generic.cluster.ClusterRightToProduce, fr.ifremer.allegro.referential.regulation.RightToProduce)
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)
RightToProduceDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface RightToProduceDao
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.RightToProduceDao.search(int, int, int, fr.ifremer.allegro.Search)
public PaginationResult search(int pageNumber, int pageSize, Search search)
RightToProduceDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface RightToProduceDao
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.RightToProduceDao.search(int, int, fr.ifremer.allegro.Search)
public java.util.Set search(int transform, Search search)
RightToProduceDao
RightToProduceDao.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 RightToProduceDao
transform
- the transformation flag.search
- the search object which provides the search parameters and pagination specification.
RightToProduceDao.search(int, fr.ifremer.allegro.Search)
public java.util.Set search(Search search)
RightToProduceDao
search
object.
search
in interface RightToProduceDao
search
- the search object which provides the search parameters and pagination specification.
RightToProduceDao.search(fr.ifremer.allegro.Search)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |