|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FisheryDao
Fishery
Field Summary | |
---|---|
static int |
TRANSFORM_CLUSTERFISHERY
This constant is used as a transformation flag; entities can be converted automatically into value objects or other types, different methods in a class implementing this interface support this feature: look for an int parameter called transform . |
static int |
TRANSFORM_NONE
This constant is used as a transformation flag; entities can be converted automatically into value objects or other types, different methods in a class implementing this interface support this feature: look for an int parameter called transform . |
static int |
TRANSFORM_REMOTEFISHERYFULLVO
This constant is used as a transformation flag; entities can be converted automatically into value objects or other types, different methods in a class implementing this interface support this feature: look for an int parameter called transform . |
static int |
TRANSFORM_REMOTEFISHERYNATURALID
This constant is used as a transformation flag; entities can be converted automatically into value objects or other types, different methods in a class implementing this interface support this feature: look for an int parameter called transform . |
Method Summary | |
---|---|
Fishery |
clusterFisheryToEntity(ClusterFishery clusterFishery)
Converts an instance of type ClusterFishery to this DAO's entity. |
void |
clusterFisheryToEntity(ClusterFishery source,
Fishery target,
boolean copyIfNull)
Copies the fields of ClusterFishery to the specified entity. |
void |
clusterFisheryToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type ClusterFishery to this
DAO's entity. |
java.util.Collection |
create(java.util.Collection entities)
Creates a new instance of fr.ifremer.allegro.referential.regulation.Fishery and adds from the passed in entities collection |
Fishery |
create(Fishery fishery)
Creates an instance of fr.ifremer.allegro.referential.regulation.Fishery and adds it to the persistent store. |
java.util.Collection |
create(int transform,
java.util.Collection entities)
Does the same thing as create(fr.ifremer.allegro.referential.regulation.Fishery) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
Fishery fishery)
Does the same thing as create(fr.ifremer.allegro.referential.regulation.Fishery) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
java.lang.String name)
Does the same thing as create(java.lang.String) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
java.lang.String name,
java.sql.Timestamp updateDate,
java.util.Collection corpus,
TaxonGroup taxonGroup,
Gear gear,
FishingArea fishingArea)
Does the same thing as create(java.lang.String,java.sql.Timestamp,java.util.Collection,fr.ifremer.allegro.referential.taxon.TaxonGroup,fr.ifremer.allegro.referential.gear.Gear,fr.ifremer.allegro.data.fishingArea.FishingArea) with an
additional flag called transform . |
Fishery |
create(java.lang.String name)
Creates a new fr.ifremer.allegro.referential.regulation.Fishery
instance from only required properties (attributes
and association ends) and adds it to the persistent store. |
Fishery |
create(java.lang.String name,
java.sql.Timestamp updateDate,
java.util.Collection corpus,
TaxonGroup taxonGroup,
Gear gear,
FishingArea fishingArea)
Creates a new fr.ifremer.allegro.referential.regulation.Fishery
instance from all attributes and
properties and adds it to the persistent store. |
Fishery |
createFromClusterFishery(ClusterFishery clusterFishery)
|
java.util.Collection |
findFisheryByFishingArea(FishingArea fishingArea)
|
java.util.Collection |
findFisheryByFishingArea(int transform,
FishingArea fishingArea)
Does the same thing as findFisheryByFishingArea(fr.ifremer.allegro.data.fishingArea.FishingArea) with an
additional flag called transform . |
java.util.Collection |
findFisheryByFishingArea(int pageNumber,
int pageSize,
FishingArea fishingArea)
Does the same thing as findFisheryByFishingArea(fr.ifremer.allegro.data.fishingArea.FishingArea) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findFisheryByFishingArea(int transform,
int pageNumber,
int pageSize,
FishingArea fishingArea)
Does the same thing as findFisheryByFishingArea(int, fr.ifremer.allegro.data.fishingArea.FishingArea) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findFisheryByFishingArea(int transform,
java.lang.String queryString,
FishingArea fishingArea)
Does the same thing as findFisheryByFishingArea(int, fr.ifremer.allegro.data.fishingArea.FishingArea) with an
additional argument called queryString . |
java.util.Collection |
findFisheryByFishingArea(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
FishingArea fishingArea)
Does the same thing as findFisheryByFishingArea(int, String, fr.ifremer.allegro.data.fishingArea.FishingArea) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findFisheryByFishingArea(java.lang.String queryString,
FishingArea fishingArea)
Does the same thing as findFisheryByFishingArea(fr.ifremer.allegro.data.fishingArea.FishingArea) with an
additional argument called queryString . |
java.util.Collection |
findFisheryByFishingArea(java.lang.String queryString,
int pageNumber,
int pageSize,
FishingArea fishingArea)
Does the same thing as findFisheryByFishingArea(String, fr.ifremer.allegro.data.fishingArea.FishingArea) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findFisheryByGear(Gear gear)
|
java.util.Collection |
findFisheryByGear(int transform,
Gear gear)
Does the same thing as findFisheryByGear(fr.ifremer.allegro.referential.gear.Gear) with an
additional flag called transform . |
java.util.Collection |
findFisheryByGear(int pageNumber,
int pageSize,
Gear gear)
Does the same thing as findFisheryByGear(fr.ifremer.allegro.referential.gear.Gear) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findFisheryByGear(int transform,
int pageNumber,
int pageSize,
Gear gear)
Does the same thing as findFisheryByGear(int, fr.ifremer.allegro.referential.gear.Gear) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findFisheryByGear(int transform,
java.lang.String queryString,
Gear gear)
Does the same thing as findFisheryByGear(int, fr.ifremer.allegro.referential.gear.Gear) with an
additional argument called queryString . |
java.util.Collection |
findFisheryByGear(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
Gear gear)
Does the same thing as findFisheryByGear(int, String, fr.ifremer.allegro.referential.gear.Gear) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findFisheryByGear(java.lang.String queryString,
Gear gear)
Does the same thing as findFisheryByGear(fr.ifremer.allegro.referential.gear.Gear) with an
additional argument called queryString . |
java.util.Collection |
findFisheryByGear(java.lang.String queryString,
int pageNumber,
int pageSize,
Gear gear)
Does the same thing as findFisheryByGear(String, fr.ifremer.allegro.referential.gear.Gear) with an
additional two arguments called pageNumber and pageSize . |
Fishery |
findFisheryById(java.lang.Integer id)
|
java.lang.Object |
findFisheryById(int transform,
java.lang.Integer id)
Does the same thing as findFisheryById(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findFisheryById(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as findFisheryById(int, java.lang.Integer) with an
additional argument called queryString . |
Fishery |
findFisheryById(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as findFisheryById(java.lang.Integer) with an
additional argument called queryString . |
Fishery |
findFisheryByNaturalId(java.lang.Integer id)
|
java.lang.Object |
findFisheryByNaturalId(int transform,
java.lang.Integer id)
Does the same thing as findFisheryByNaturalId(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findFisheryByNaturalId(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as findFisheryByNaturalId(int, java.lang.Integer) with an
additional argument called queryString . |
Fishery |
findFisheryByNaturalId(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as findFisheryByNaturalId(java.lang.Integer) with an
additional argument called queryString . |
java.util.Collection |
findFisheryByTaxonGroup(int transform,
int pageNumber,
int pageSize,
TaxonGroup taxonGroup)
Does the same thing as findFisheryByTaxonGroup(int, fr.ifremer.allegro.referential.taxon.TaxonGroup) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findFisheryByTaxonGroup(int pageNumber,
int pageSize,
TaxonGroup taxonGroup)
Does the same thing as findFisheryByTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findFisheryByTaxonGroup(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
TaxonGroup taxonGroup)
Does the same thing as findFisheryByTaxonGroup(int, String, fr.ifremer.allegro.referential.taxon.TaxonGroup) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findFisheryByTaxonGroup(int transform,
java.lang.String queryString,
TaxonGroup taxonGroup)
Does the same thing as findFisheryByTaxonGroup(int, fr.ifremer.allegro.referential.taxon.TaxonGroup) with an
additional argument called queryString . |
java.util.Collection |
findFisheryByTaxonGroup(int transform,
TaxonGroup taxonGroup)
Does the same thing as findFisheryByTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup) with an
additional flag called transform . |
java.util.Collection |
findFisheryByTaxonGroup(java.lang.String queryString,
int pageNumber,
int pageSize,
TaxonGroup taxonGroup)
Does the same thing as findFisheryByTaxonGroup(String, fr.ifremer.allegro.referential.taxon.TaxonGroup) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findFisheryByTaxonGroup(java.lang.String queryString,
TaxonGroup taxonGroup)
Does the same thing as findFisheryByTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup) with an
additional argument called queryString . |
java.util.Collection |
findFisheryByTaxonGroup(TaxonGroup taxonGroup)
|
ClusterFishery[] |
getAllClusterFisherySinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize)
|
java.util.Collection |
getAllFishery()
|
java.util.Collection |
getAllFishery(int transform)
Does the same thing as getAllFishery() with an
additional flag called transform . |
java.util.Collection |
getAllFishery(int pageNumber,
int pageSize)
Does the same thing as getAllFishery() with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllFishery(int transform,
int pageNumber,
int pageSize)
Does the same thing as getAllFishery(int) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllFishery(int transform,
java.lang.String queryString)
Does the same thing as getAllFishery(int) with an
additional argument called queryString . |
java.util.Collection |
getAllFishery(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as getAllFishery(int, String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllFishery(java.lang.String queryString)
Does the same thing as getAllFishery() with an
additional argument called queryString . |
java.util.Collection |
getAllFishery(java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as getAllFishery(String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllFisherySinceDateSynchro(int transform,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as getAllFisherySinceDateSynchro(int, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllFisherySinceDateSynchro(int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as getAllFisherySinceDateSynchro(java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllFisherySinceDateSynchro(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as getAllFisherySinceDateSynchro(int, String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllFisherySinceDateSynchro(int transform,
java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as getAllFisherySinceDateSynchro(int, java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllFisherySinceDateSynchro(int transform,
java.sql.Timestamp updateDate)
Does the same thing as getAllFisherySinceDateSynchro(java.sql.Timestamp) with an
additional flag called transform . |
java.util.Collection |
getAllFisherySinceDateSynchro(java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as getAllFisherySinceDateSynchro(String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllFisherySinceDateSynchro(java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as getAllFisherySinceDateSynchro(java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllFisherySinceDateSynchro(java.sql.Timestamp updateDate)
|
Fishery |
load(java.lang.Integer id)
Loads an instance of fr.ifremer.allegro.referential.regulation.Fishery from the persistent store. |
java.lang.Object |
load(int transform,
java.lang.Integer id)
Does the same thing as load(java.lang.Integer) with an
additional flag called transform . |
java.util.Collection |
loadAll()
Loads all entities of type Fishery . |
java.util.Collection |
loadAll(int transform)
Does the same thing as loadAll() with an
additional flag called transform . |
java.util.Collection |
loadAll(int pageNumber,
int pageSize)
Does the same thing as 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 loadAll(int) with an
additional two arguments called pageNumber and pageSize . |
Fishery |
remoteFisheryFullVOToEntity(RemoteFisheryFullVO remoteFisheryFullVO)
Converts an instance of type RemoteFisheryFullVO to this DAO's entity. |
void |
remoteFisheryFullVOToEntity(RemoteFisheryFullVO source,
Fishery target,
boolean copyIfNull)
Copies the fields of RemoteFisheryFullVO to the specified entity. |
void |
remoteFisheryFullVOToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteFisheryFullVO to this
DAO's entity. |
Fishery |
remoteFisheryNaturalIdToEntity(RemoteFisheryNaturalId remoteFisheryNaturalId)
Converts an instance of type RemoteFisheryNaturalId to this DAO's entity. |
void |
remoteFisheryNaturalIdToEntity(RemoteFisheryNaturalId source,
Fishery target,
boolean copyIfNull)
Copies the fields of RemoteFisheryNaturalId to the specified entity. |
void |
remoteFisheryNaturalIdToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteFisheryNaturalId to this
DAO's entity. |
void |
remove(java.util.Collection entities)
Removes all entities in the given entities |
void |
remove(Fishery fishery)
Removes the instance of fr.ifremer.allegro.referential.regulation.Fishery from the persistent store. |
void |
remove(java.lang.Integer id)
Removes the instance of fr.ifremer.allegro.referential.regulation.Fishery 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 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. |
ClusterFishery |
toClusterFishery(Fishery entity)
Converts this DAO's entity to an object of type ClusterFishery . |
void |
toClusterFishery(Fishery source,
ClusterFishery target)
Copies the fields of the specified entity to the target value object. |
ClusterFishery[] |
toClusterFisheryArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type ClusterFishery . |
void |
toClusterFisheryCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type ClusterFishery . |
RemoteFisheryFullVO |
toRemoteFisheryFullVO(Fishery entity)
Converts this DAO's entity to an object of type RemoteFisheryFullVO . |
void |
toRemoteFisheryFullVO(Fishery source,
RemoteFisheryFullVO target)
Copies the fields of the specified entity to the target value object. |
RemoteFisheryFullVO[] |
toRemoteFisheryFullVOArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteFisheryFullVO . |
void |
toRemoteFisheryFullVOCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteFisheryFullVO . |
RemoteFisheryNaturalId |
toRemoteFisheryNaturalId(Fishery entity)
Converts this DAO's entity to an object of type RemoteFisheryNaturalId . |
void |
toRemoteFisheryNaturalId(Fishery source,
RemoteFisheryNaturalId target)
Copies the fields of the specified entity to the target value object. |
RemoteFisheryNaturalId[] |
toRemoteFisheryNaturalIdArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteFisheryNaturalId . |
void |
toRemoteFisheryNaturalIdCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteFisheryNaturalId . |
void |
update(java.util.Collection entities)
Updates all instances in the entities collection in the persistent store. |
void |
update(Fishery fishery)
Updates the fishery instance in the persistent store. |
Field Detail |
---|
static final int TRANSFORM_NONE
int
parameter called transform
.
This specific flag denotes no transformation will occur.
static final int TRANSFORM_REMOTEFISHERYFULLVO
int
parameter called transform
.
This specific flag denotes entities must be transformed into objects of type
RemoteFisheryFullVO
.
static final int TRANSFORM_REMOTEFISHERYNATURALID
int
parameter called transform
.
This specific flag denotes entities must be transformed into objects of type
RemoteFisheryNaturalId
.
static final int TRANSFORM_CLUSTERFISHERY
int
parameter called transform
.
This specific flag denotes entities must be transformed into objects of type
ClusterFishery
.
Method Detail |
---|
void toRemoteFisheryFullVO(Fishery source, RemoteFisheryFullVO target)
RemoteFisheryFullVO toRemoteFisheryFullVO(Fishery entity)
RemoteFisheryFullVO
.
void toRemoteFisheryFullVOCollection(java.util.Collection entities)
RemoteFisheryFullVO
.
RemoteFisheryFullVO[] toRemoteFisheryFullVOArray(java.util.Collection entities)
RemoteFisheryFullVO
.
void remoteFisheryFullVOToEntity(RemoteFisheryFullVO source, Fishery target, boolean copyIfNull)
RemoteFisheryFullVO
to the specified entity.
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.Fishery remoteFisheryFullVOToEntity(RemoteFisheryFullVO remoteFisheryFullVO)
RemoteFisheryFullVO
to this DAO's entity.
void remoteFisheryFullVOToEntityCollection(java.util.Collection instances)
RemoteFisheryFullVO
to this
DAO's entity.
void toRemoteFisheryNaturalId(Fishery source, RemoteFisheryNaturalId target)
RemoteFisheryNaturalId toRemoteFisheryNaturalId(Fishery entity)
RemoteFisheryNaturalId
.
void toRemoteFisheryNaturalIdCollection(java.util.Collection entities)
RemoteFisheryNaturalId
.
RemoteFisheryNaturalId[] toRemoteFisheryNaturalIdArray(java.util.Collection entities)
RemoteFisheryNaturalId
.
void remoteFisheryNaturalIdToEntity(RemoteFisheryNaturalId source, Fishery target, boolean copyIfNull)
RemoteFisheryNaturalId
to the specified entity.
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.Fishery remoteFisheryNaturalIdToEntity(RemoteFisheryNaturalId remoteFisheryNaturalId)
RemoteFisheryNaturalId
to this DAO's entity.
void remoteFisheryNaturalIdToEntityCollection(java.util.Collection instances)
RemoteFisheryNaturalId
to this
DAO's entity.
void toClusterFishery(Fishery source, ClusterFishery target)
ClusterFishery toClusterFishery(Fishery entity)
ClusterFishery
.
void toClusterFisheryCollection(java.util.Collection entities)
ClusterFishery
.
ClusterFishery[] toClusterFisheryArray(java.util.Collection entities)
ClusterFishery
.
void clusterFisheryToEntity(ClusterFishery source, Fishery target, boolean copyIfNull)
ClusterFishery
to the specified entity.
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.Fishery clusterFisheryToEntity(ClusterFishery clusterFishery)
ClusterFishery
to this DAO's entity.
void clusterFisheryToEntityCollection(java.util.Collection instances)
ClusterFishery
to this
DAO's entity.
Fishery load(java.lang.Integer id)
java.lang.Object load(int transform, java.lang.Integer id)
Does the same thing as 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.
id
- identifier of the entity to load
java.util.Collection loadAll()
Fishery
.
java.util.Collection loadAll(int transform)
Does the same thing as 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.
transform
- the flag indicating what transformation to use.
java.util.Collection loadAll(int pageNumber, int pageSize)
Does the same thing as 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.
pageNumber
- the page number to retrieve when paging results.pageSize
- the size of the page to retrieve when paging results.
java.util.Collection loadAll(int transform, int pageNumber, int pageSize)
Does the same thing as 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.
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.
Fishery create(Fishery fishery)
java.lang.Object create(int transform, Fishery fishery)
Does the same thing as create(fr.ifremer.allegro.referential.regulation.Fishery)
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.
java.util.Collection create(java.util.Collection entities)
entities
collection
entities
- the collection of fr.ifremer.allegro.referential.regulation.Fishery
instances to create.
java.util.Collection create(int transform, java.util.Collection entities)
Does the same thing as create(fr.ifremer.allegro.referential.regulation.Fishery)
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.
Fishery create(java.lang.String name, java.sql.Timestamp updateDate, java.util.Collection corpus, TaxonGroup taxonGroup, Gear gear, FishingArea fishingArea)
Creates a new fr.ifremer.allegro.referential.regulation.Fishery
instance from all attributes and
properties and adds it to the persistent store.
java.lang.Object create(int transform, java.lang.String name, java.sql.Timestamp updateDate, java.util.Collection corpus, TaxonGroup taxonGroup, Gear gear, FishingArea fishingArea)
Does the same thing as create(java.lang.String,java.sql.Timestamp,java.util.Collection,fr.ifremer.allegro.referential.taxon.TaxonGroup,fr.ifremer.allegro.referential.gear.Gear,fr.ifremer.allegro.data.fishingArea.FishingArea)
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.
Fishery create(java.lang.String name)
Creates a new fr.ifremer.allegro.referential.regulation.Fishery
instance from only required properties (attributes
and association ends) and adds it to the persistent store.
java.lang.Object create(int transform, java.lang.String name)
Does the same thing as create(java.lang.String)
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.
void update(Fishery fishery)
fishery
instance in the persistent store.
void update(java.util.Collection entities)
entities
collection in the persistent store.
void remove(Fishery fishery)
void remove(java.lang.Integer id)
identifier
from the persistent store.
void remove(java.util.Collection entities)
entities collection.
java.util.Collection getAllFishery()
java.util.Collection getAllFishery(java.lang.String queryString)
Does the same thing as getAllFishery()
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in getAllFishery()
.
java.util.Collection getAllFishery(int pageNumber, int pageSize)
Does the same thing as getAllFishery()
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.
java.util.Collection getAllFishery(java.lang.String queryString, int pageNumber, int pageSize)
Does the same thing as getAllFishery(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.
java.util.Collection getAllFishery(int transform)
Does the same thing as getAllFishery()
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.
java.util.Collection getAllFishery(int transform, int pageNumber, int pageSize)
Does the same thing as getAllFishery(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.
java.util.Collection getAllFishery(int transform, java.lang.String queryString)
Does the same thing as getAllFishery(int)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in getAllFishery(int)
.
java.util.Collection getAllFishery(int transform, java.lang.String queryString, int pageNumber, int pageSize)
Does the same thing as getAllFishery(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.
Fishery findFisheryById(java.lang.Integer id)
Fishery findFisheryById(java.lang.String queryString, java.lang.Integer id)
Does the same thing as findFisheryById(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findFisheryById(java.lang.Integer)
.
java.lang.Object findFisheryById(int transform, java.lang.Integer id)
Does the same thing as findFisheryById(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.
java.lang.Object findFisheryById(int transform, java.lang.String queryString, java.lang.Integer id)
Does the same thing as findFisheryById(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findFisheryById(int, java.lang.Integer id)
.
java.util.Collection findFisheryByTaxonGroup(TaxonGroup taxonGroup)
java.util.Collection findFisheryByTaxonGroup(java.lang.String queryString, TaxonGroup taxonGroup)
Does the same thing as findFisheryByTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findFisheryByTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup)
.
java.util.Collection findFisheryByTaxonGroup(int pageNumber, int pageSize, TaxonGroup taxonGroup)
Does the same thing as findFisheryByTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup)
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.
java.util.Collection findFisheryByTaxonGroup(java.lang.String queryString, int pageNumber, int pageSize, TaxonGroup taxonGroup)
Does the same thing as findFisheryByTaxonGroup(String, fr.ifremer.allegro.referential.taxon.TaxonGroup)
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.
java.util.Collection findFisheryByTaxonGroup(int transform, TaxonGroup taxonGroup)
Does the same thing as findFisheryByTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup)
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.
java.util.Collection findFisheryByTaxonGroup(int transform, int pageNumber, int pageSize, TaxonGroup taxonGroup)
Does the same thing as findFisheryByTaxonGroup(int, fr.ifremer.allegro.referential.taxon.TaxonGroup)
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.
java.util.Collection findFisheryByTaxonGroup(int transform, java.lang.String queryString, TaxonGroup taxonGroup)
Does the same thing as findFisheryByTaxonGroup(int, fr.ifremer.allegro.referential.taxon.TaxonGroup)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findFisheryByTaxonGroup(int, fr.ifremer.allegro.referential.taxon.TaxonGroup taxonGroup)
.
java.util.Collection findFisheryByTaxonGroup(int transform, java.lang.String queryString, int pageNumber, int pageSize, TaxonGroup taxonGroup)
Does the same thing as findFisheryByTaxonGroup(int, String, fr.ifremer.allegro.referential.taxon.TaxonGroup)
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.
java.util.Collection findFisheryByGear(Gear gear)
java.util.Collection findFisheryByGear(java.lang.String queryString, Gear gear)
Does the same thing as findFisheryByGear(fr.ifremer.allegro.referential.gear.Gear)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findFisheryByGear(fr.ifremer.allegro.referential.gear.Gear)
.
java.util.Collection findFisheryByGear(int pageNumber, int pageSize, Gear gear)
Does the same thing as findFisheryByGear(fr.ifremer.allegro.referential.gear.Gear)
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.
java.util.Collection findFisheryByGear(java.lang.String queryString, int pageNumber, int pageSize, Gear gear)
Does the same thing as findFisheryByGear(String, fr.ifremer.allegro.referential.gear.Gear)
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.
java.util.Collection findFisheryByGear(int transform, Gear gear)
Does the same thing as findFisheryByGear(fr.ifremer.allegro.referential.gear.Gear)
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.
java.util.Collection findFisheryByGear(int transform, int pageNumber, int pageSize, Gear gear)
Does the same thing as findFisheryByGear(int, fr.ifremer.allegro.referential.gear.Gear)
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.
java.util.Collection findFisheryByGear(int transform, java.lang.String queryString, Gear gear)
Does the same thing as findFisheryByGear(int, fr.ifremer.allegro.referential.gear.Gear)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findFisheryByGear(int, fr.ifremer.allegro.referential.gear.Gear gear)
.
java.util.Collection findFisheryByGear(int transform, java.lang.String queryString, int pageNumber, int pageSize, Gear gear)
Does the same thing as findFisheryByGear(int, String, fr.ifremer.allegro.referential.gear.Gear)
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.
java.util.Collection findFisheryByFishingArea(FishingArea fishingArea)
java.util.Collection findFisheryByFishingArea(java.lang.String queryString, FishingArea fishingArea)
Does the same thing as findFisheryByFishingArea(fr.ifremer.allegro.data.fishingArea.FishingArea)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findFisheryByFishingArea(fr.ifremer.allegro.data.fishingArea.FishingArea)
.
java.util.Collection findFisheryByFishingArea(int pageNumber, int pageSize, FishingArea fishingArea)
Does the same thing as findFisheryByFishingArea(fr.ifremer.allegro.data.fishingArea.FishingArea)
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.
java.util.Collection findFisheryByFishingArea(java.lang.String queryString, int pageNumber, int pageSize, FishingArea fishingArea)
Does the same thing as findFisheryByFishingArea(String, fr.ifremer.allegro.data.fishingArea.FishingArea)
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.
java.util.Collection findFisheryByFishingArea(int transform, FishingArea fishingArea)
Does the same thing as findFisheryByFishingArea(fr.ifremer.allegro.data.fishingArea.FishingArea)
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.
java.util.Collection findFisheryByFishingArea(int transform, int pageNumber, int pageSize, FishingArea fishingArea)
Does the same thing as findFisheryByFishingArea(int, fr.ifremer.allegro.data.fishingArea.FishingArea)
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.
java.util.Collection findFisheryByFishingArea(int transform, java.lang.String queryString, FishingArea fishingArea)
Does the same thing as findFisheryByFishingArea(int, fr.ifremer.allegro.data.fishingArea.FishingArea)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findFisheryByFishingArea(int, fr.ifremer.allegro.data.fishingArea.FishingArea fishingArea)
.
java.util.Collection findFisheryByFishingArea(int transform, java.lang.String queryString, int pageNumber, int pageSize, FishingArea fishingArea)
Does the same thing as findFisheryByFishingArea(int, String, fr.ifremer.allegro.data.fishingArea.FishingArea)
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.
Fishery findFisheryByNaturalId(java.lang.Integer id)
Fishery findFisheryByNaturalId(java.lang.String queryString, java.lang.Integer id)
Does the same thing as findFisheryByNaturalId(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findFisheryByNaturalId(java.lang.Integer)
.
java.lang.Object findFisheryByNaturalId(int transform, java.lang.Integer id)
Does the same thing as findFisheryByNaturalId(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.
java.lang.Object findFisheryByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
Does the same thing as findFisheryByNaturalId(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findFisheryByNaturalId(int, java.lang.Integer id)
.
java.util.Collection getAllFisherySinceDateSynchro(java.sql.Timestamp updateDate)
java.util.Collection getAllFisherySinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
Does the same thing as getAllFisherySinceDateSynchro(java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in getAllFisherySinceDateSynchro(java.sql.Timestamp)
.
java.util.Collection getAllFisherySinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
Does the same thing as getAllFisherySinceDateSynchro(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.
java.util.Collection getAllFisherySinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
Does the same thing as getAllFisherySinceDateSynchro(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.
java.util.Collection getAllFisherySinceDateSynchro(int transform, java.sql.Timestamp updateDate)
Does the same thing as getAllFisherySinceDateSynchro(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.
java.util.Collection getAllFisherySinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
Does the same thing as getAllFisherySinceDateSynchro(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.
java.util.Collection getAllFisherySinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
Does the same thing as getAllFisherySinceDateSynchro(int, java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in getAllFisherySinceDateSynchro(int, java.sql.Timestamp updateDate)
.
java.util.Collection getAllFisherySinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
Does the same thing as getAllFisherySinceDateSynchro(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.
Fishery createFromClusterFishery(ClusterFishery clusterFishery)
ClusterFishery[] getAllClusterFisherySinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
PaginationResult search(int transform, int pageNumber, int pageSize, Search search)
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
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.PaginationResult search(int pageNumber, int pageSize, Search search)
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
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.java.util.Set search(int transform, Search search)
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.
transform
- the transformation flag.search
- the search object which provides the search parameters and pagination specification.
java.util.Set search(Search search)
search
object.
search
- the search object which provides the search parameters and pagination specification.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |