|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FishingGearDao
FishingGear
Field Summary | |
---|---|
static int |
TRANSFORM_CLUSTERFISHINGGEAR
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_REMOTEFISHINGGEARFULLVO
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_REMOTEFISHINGGEARNATURALID
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 . |
Fields inherited from interface fr.ifremer.allegro.referential.gear.GearDao |
---|
TRANSFORM_CLUSTERGEAR, TRANSFORM_NONE, TRANSFORM_REMOTEGEARFULLVO, TRANSFORM_REMOTEGEARNATURALID |
Method Summary | |
---|---|
FishingGear |
clusterFishingGearToEntity(ClusterFishingGear clusterFishingGear)
Converts an instance of type ClusterFishingGear to this DAO's entity. |
void |
clusterFishingGearToEntity(ClusterFishingGear source,
FishingGear target,
boolean copyIfNull)
Copies the fields of ClusterFishingGear to the specified entity. |
void |
clusterFishingGearToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type ClusterFishingGear to this
DAO's entity. |
java.util.Collection |
create(java.util.Collection entities)
Creates a new instance of fr.ifremer.allegro.referential.gear.FishingGear and adds from the passed in entities collection |
Gear |
create(FishingGear fishingGear)
Creates an instance of fr.ifremer.allegro.referential.gear.FishingGear and adds it to the persistent store. |
Gear |
create(GearClassification gearClassification,
java.lang.String label,
java.lang.String name,
Status status)
Creates a new fr.ifremer.allegro.referential.gear.FishingGear
instance from only required properties (attributes
and association ends) 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.gear.FishingGear) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
FishingGear fishingGear)
Does the same thing as create(fr.ifremer.allegro.referential.gear.FishingGear) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
GearClassification gearClassification,
java.lang.String label,
java.lang.String name,
Status status)
Does the same thing as create(fr.ifremer.allegro.referential.gear.GearClassification,java.lang.String,java.lang.String,fr.ifremer.allegro.referential.Status) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
java.lang.String label,
java.lang.String name,
java.lang.String description,
java.sql.Timestamp updateDate,
GearClassification gearClassification,
java.util.Collection childGears,
Gear parentGear,
Status status,
java.util.Collection associatedGears,
java.lang.Boolean isActive,
java.lang.Boolean isTowed)
Does the same thing as create(java.lang.String,java.lang.String,java.lang.String,java.sql.Timestamp,fr.ifremer.allegro.referential.gear.GearClassification,java.util.Collection,fr.ifremer.allegro.referential.gear.Gear,fr.ifremer.allegro.referential.Status,java.util.Collection,java.lang.Boolean,java.lang.Boolean) with an
additional flag called transform . |
Gear |
create(java.lang.String label,
java.lang.String name,
java.lang.String description,
java.sql.Timestamp updateDate,
GearClassification gearClassification,
java.util.Collection childGears,
Gear parentGear,
Status status,
java.util.Collection associatedGears,
java.lang.Boolean isActive,
java.lang.Boolean isTowed)
Creates a new fr.ifremer.allegro.referential.gear.FishingGear
instance from all attributes and
properties and adds it to the persistent store. |
FishingGear |
createFromClusterFishingGear(ClusterFishingGear clusterFishingGear)
|
java.util.Collection |
findFishingGearByGearClassification(GearClassification gearClassification)
|
java.util.Collection |
findFishingGearByGearClassification(int transform,
GearClassification gearClassification)
Does the same thing as findFishingGearByGearClassification(fr.ifremer.allegro.referential.gear.GearClassification) with an
additional flag called transform . |
java.util.Collection |
findFishingGearByGearClassification(int pageNumber,
int pageSize,
GearClassification gearClassification)
Does the same thing as findFishingGearByGearClassification(fr.ifremer.allegro.referential.gear.GearClassification) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findFishingGearByGearClassification(int transform,
int pageNumber,
int pageSize,
GearClassification gearClassification)
Does the same thing as findFishingGearByGearClassification(int, fr.ifremer.allegro.referential.gear.GearClassification) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findFishingGearByGearClassification(int transform,
java.lang.String queryString,
GearClassification gearClassification)
Does the same thing as findFishingGearByGearClassification(int, fr.ifremer.allegro.referential.gear.GearClassification) with an
additional argument called queryString . |
java.util.Collection |
findFishingGearByGearClassification(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
GearClassification gearClassification)
Does the same thing as findFishingGearByGearClassification(int, String, fr.ifremer.allegro.referential.gear.GearClassification) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findFishingGearByGearClassification(java.lang.String queryString,
GearClassification gearClassification)
Does the same thing as findFishingGearByGearClassification(fr.ifremer.allegro.referential.gear.GearClassification) with an
additional argument called queryString . |
java.util.Collection |
findFishingGearByGearClassification(java.lang.String queryString,
int pageNumber,
int pageSize,
GearClassification gearClassification)
Does the same thing as findFishingGearByGearClassification(String, fr.ifremer.allegro.referential.gear.GearClassification) with an
additional two arguments called pageNumber and pageSize . |
FishingGear |
findFishingGearById(java.lang.Integer id)
|
java.lang.Object |
findFishingGearById(int transform,
java.lang.Integer id)
Does the same thing as findFishingGearById(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findFishingGearById(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as findFishingGearById(int, java.lang.Integer) with an
additional argument called queryString . |
FishingGear |
findFishingGearById(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as findFishingGearById(java.lang.Integer) with an
additional argument called queryString . |
FishingGear |
findFishingGearByNaturalId(java.lang.Integer id)
|
java.lang.Object |
findFishingGearByNaturalId(int transform,
java.lang.Integer id)
Does the same thing as findFishingGearByNaturalId(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findFishingGearByNaturalId(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as findFishingGearByNaturalId(int, java.lang.Integer) with an
additional argument called queryString . |
FishingGear |
findFishingGearByNaturalId(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as findFishingGearByNaturalId(java.lang.Integer) with an
additional argument called queryString . |
java.util.Collection |
findFishingGearByParentGear(Gear parentGear)
|
java.util.Collection |
findFishingGearByParentGear(int transform,
Gear parentGear)
Does the same thing as findFishingGearByParentGear(fr.ifremer.allegro.referential.gear.Gear) with an
additional flag called transform . |
java.util.Collection |
findFishingGearByParentGear(int pageNumber,
int pageSize,
Gear parentGear)
Does the same thing as findFishingGearByParentGear(fr.ifremer.allegro.referential.gear.Gear) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findFishingGearByParentGear(int transform,
int pageNumber,
int pageSize,
Gear parentGear)
Does the same thing as findFishingGearByParentGear(int, fr.ifremer.allegro.referential.gear.Gear) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findFishingGearByParentGear(int transform,
java.lang.String queryString,
Gear parentGear)
Does the same thing as findFishingGearByParentGear(int, fr.ifremer.allegro.referential.gear.Gear) with an
additional argument called queryString . |
java.util.Collection |
findFishingGearByParentGear(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
Gear parentGear)
Does the same thing as findFishingGearByParentGear(int, String, fr.ifremer.allegro.referential.gear.Gear) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findFishingGearByParentGear(java.lang.String queryString,
Gear parentGear)
Does the same thing as findFishingGearByParentGear(fr.ifremer.allegro.referential.gear.Gear) with an
additional argument called queryString . |
java.util.Collection |
findFishingGearByParentGear(java.lang.String queryString,
int pageNumber,
int pageSize,
Gear parentGear)
Does the same thing as findFishingGearByParentGear(String, fr.ifremer.allegro.referential.gear.Gear) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findFishingGearByStatus(int transform,
int pageNumber,
int pageSize,
Status status)
Does the same thing as findFishingGearByStatus(int, fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findFishingGearByStatus(int pageNumber,
int pageSize,
Status status)
Does the same thing as findFishingGearByStatus(fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findFishingGearByStatus(int transform,
Status status)
Does the same thing as findFishingGearByStatus(fr.ifremer.allegro.referential.Status) with an
additional flag called transform . |
java.util.Collection |
findFishingGearByStatus(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
Status status)
Does the same thing as findFishingGearByStatus(int, String, fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findFishingGearByStatus(int transform,
java.lang.String queryString,
Status status)
Does the same thing as findFishingGearByStatus(int, fr.ifremer.allegro.referential.Status) with an
additional argument called queryString . |
java.util.Collection |
findFishingGearByStatus(Status status)
|
java.util.Collection |
findFishingGearByStatus(java.lang.String queryString,
int pageNumber,
int pageSize,
Status status)
Does the same thing as findFishingGearByStatus(String, fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findFishingGearByStatus(java.lang.String queryString,
Status status)
Does the same thing as findFishingGearByStatus(fr.ifremer.allegro.referential.Status) with an
additional argument called queryString . |
ClusterFishingGear[] |
getAllClusterFishingGearSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize)
|
java.util.Collection |
getAllFishingGear()
|
java.util.Collection |
getAllFishingGear(int transform)
Does the same thing as getAllFishingGear() with an
additional flag called transform . |
java.util.Collection |
getAllFishingGear(int pageNumber,
int pageSize)
Does the same thing as getAllFishingGear() with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllFishingGear(int transform,
int pageNumber,
int pageSize)
Does the same thing as getAllFishingGear(int) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllFishingGear(int transform,
java.lang.String queryString)
Does the same thing as getAllFishingGear(int) with an
additional argument called queryString . |
java.util.Collection |
getAllFishingGear(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as getAllFishingGear(int, String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllFishingGear(java.lang.String queryString)
Does the same thing as getAllFishingGear() with an
additional argument called queryString . |
java.util.Collection |
getAllFishingGear(java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as getAllFishingGear(String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllFishingGearSinceDateSynchro(int transform,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as getAllFishingGearSinceDateSynchro(int, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllFishingGearSinceDateSynchro(int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as getAllFishingGearSinceDateSynchro(java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllFishingGearSinceDateSynchro(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as getAllFishingGearSinceDateSynchro(int, String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllFishingGearSinceDateSynchro(int transform,
java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as getAllFishingGearSinceDateSynchro(int, java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllFishingGearSinceDateSynchro(int transform,
java.sql.Timestamp updateDate)
Does the same thing as getAllFishingGearSinceDateSynchro(java.sql.Timestamp) with an
additional flag called transform . |
java.util.Collection |
getAllFishingGearSinceDateSynchro(java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as getAllFishingGearSinceDateSynchro(String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllFishingGearSinceDateSynchro(java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as getAllFishingGearSinceDateSynchro(java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllFishingGearSinceDateSynchro(java.sql.Timestamp updateDate)
|
Gear |
load(java.lang.Integer id)
Loads an instance of fr.ifremer.allegro.referential.gear.FishingGear 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 FishingGear . |
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 . |
FishingGear |
remoteFishingGearFullVOToEntity(RemoteFishingGearFullVO remoteFishingGearFullVO)
Converts an instance of type RemoteFishingGearFullVO to this DAO's entity. |
void |
remoteFishingGearFullVOToEntity(RemoteFishingGearFullVO source,
FishingGear target,
boolean copyIfNull)
Copies the fields of RemoteFishingGearFullVO to the specified entity. |
void |
remoteFishingGearFullVOToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteFishingGearFullVO to this
DAO's entity. |
FishingGear |
remoteFishingGearNaturalIdToEntity(RemoteFishingGearNaturalId remoteFishingGearNaturalId)
Converts an instance of type RemoteFishingGearNaturalId to this DAO's entity. |
void |
remoteFishingGearNaturalIdToEntity(RemoteFishingGearNaturalId source,
FishingGear target,
boolean copyIfNull)
Copies the fields of RemoteFishingGearNaturalId to the specified entity. |
void |
remoteFishingGearNaturalIdToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteFishingGearNaturalId to this
DAO's entity. |
void |
remove(java.util.Collection entities)
Removes all entities in the given entities |
void |
remove(FishingGear fishingGear)
Removes the instance of fr.ifremer.allegro.referential.gear.FishingGear from the persistent store. |
void |
remove(java.lang.Integer id)
Removes the instance of fr.ifremer.allegro.referential.gear.FishingGear 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. |
ClusterFishingGear |
toClusterFishingGear(FishingGear entity)
Converts this DAO's entity to an object of type ClusterFishingGear . |
void |
toClusterFishingGear(FishingGear source,
ClusterFishingGear target)
Copies the fields of the specified entity to the target value object. |
ClusterFishingGear[] |
toClusterFishingGearArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type ClusterFishingGear . |
void |
toClusterFishingGearCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type ClusterFishingGear . |
RemoteFishingGearFullVO |
toRemoteFishingGearFullVO(FishingGear entity)
Converts this DAO's entity to an object of type RemoteFishingGearFullVO . |
void |
toRemoteFishingGearFullVO(FishingGear source,
RemoteFishingGearFullVO target)
Copies the fields of the specified entity to the target value object. |
RemoteFishingGearFullVO[] |
toRemoteFishingGearFullVOArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteFishingGearFullVO . |
void |
toRemoteFishingGearFullVOCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteFishingGearFullVO . |
RemoteFishingGearNaturalId |
toRemoteFishingGearNaturalId(FishingGear entity)
Converts this DAO's entity to an object of type RemoteFishingGearNaturalId . |
void |
toRemoteFishingGearNaturalId(FishingGear source,
RemoteFishingGearNaturalId target)
Copies the fields of the specified entity to the target value object. |
RemoteFishingGearNaturalId[] |
toRemoteFishingGearNaturalIdArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteFishingGearNaturalId . |
void |
toRemoteFishingGearNaturalIdCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteFishingGearNaturalId . |
void |
update(java.util.Collection entities)
Updates all instances in the entities collection in the persistent store. |
void |
update(FishingGear fishingGear)
Updates the fishingGear instance in the persistent store. |
Field Detail |
---|
static final int TRANSFORM_REMOTEFISHINGGEARFULLVO
int
parameter called transform
.
This specific flag denotes entities must be transformed into objects of type
RemoteFishingGearFullVO
.
static final int TRANSFORM_REMOTEFISHINGGEARNATURALID
int
parameter called transform
.
This specific flag denotes entities must be transformed into objects of type
RemoteFishingGearNaturalId
.
static final int TRANSFORM_CLUSTERFISHINGGEAR
int
parameter called transform
.
This specific flag denotes entities must be transformed into objects of type
ClusterFishingGear
.
Method Detail |
---|
void toRemoteFishingGearFullVO(FishingGear source, RemoteFishingGearFullVO target)
RemoteFishingGearFullVO toRemoteFishingGearFullVO(FishingGear entity)
RemoteFishingGearFullVO
.
void toRemoteFishingGearFullVOCollection(java.util.Collection entities)
RemoteFishingGearFullVO
.
RemoteFishingGearFullVO[] toRemoteFishingGearFullVOArray(java.util.Collection entities)
RemoteFishingGearFullVO
.
void remoteFishingGearFullVOToEntity(RemoteFishingGearFullVO source, FishingGear target, boolean copyIfNull)
RemoteFishingGearFullVO
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.FishingGear remoteFishingGearFullVOToEntity(RemoteFishingGearFullVO remoteFishingGearFullVO)
RemoteFishingGearFullVO
to this DAO's entity.
void remoteFishingGearFullVOToEntityCollection(java.util.Collection instances)
RemoteFishingGearFullVO
to this
DAO's entity.
void toRemoteFishingGearNaturalId(FishingGear source, RemoteFishingGearNaturalId target)
RemoteFishingGearNaturalId toRemoteFishingGearNaturalId(FishingGear entity)
RemoteFishingGearNaturalId
.
void toRemoteFishingGearNaturalIdCollection(java.util.Collection entities)
RemoteFishingGearNaturalId
.
RemoteFishingGearNaturalId[] toRemoteFishingGearNaturalIdArray(java.util.Collection entities)
RemoteFishingGearNaturalId
.
void remoteFishingGearNaturalIdToEntity(RemoteFishingGearNaturalId source, FishingGear target, boolean copyIfNull)
RemoteFishingGearNaturalId
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.FishingGear remoteFishingGearNaturalIdToEntity(RemoteFishingGearNaturalId remoteFishingGearNaturalId)
RemoteFishingGearNaturalId
to this DAO's entity.
void remoteFishingGearNaturalIdToEntityCollection(java.util.Collection instances)
RemoteFishingGearNaturalId
to this
DAO's entity.
void toClusterFishingGear(FishingGear source, ClusterFishingGear target)
ClusterFishingGear toClusterFishingGear(FishingGear entity)
ClusterFishingGear
.
void toClusterFishingGearCollection(java.util.Collection entities)
ClusterFishingGear
.
ClusterFishingGear[] toClusterFishingGearArray(java.util.Collection entities)
ClusterFishingGear
.
void clusterFishingGearToEntity(ClusterFishingGear source, FishingGear target, boolean copyIfNull)
ClusterFishingGear
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.FishingGear clusterFishingGearToEntity(ClusterFishingGear clusterFishingGear)
ClusterFishingGear
to this DAO's entity.
void clusterFishingGearToEntityCollection(java.util.Collection instances)
ClusterFishingGear
to this
DAO's entity.
Gear load(java.lang.Integer id)
load
in interface GearDao
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.
load
in interface GearDao
id
- identifier of the entity to load
java.util.Collection loadAll()
FishingGear
.
loadAll
in interface GearDao
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.
loadAll
in interface GearDao
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.
loadAll
in interface GearDao
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.
loadAll
in interface GearDao
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.
Gear create(FishingGear fishingGear)
java.lang.Object create(int transform, FishingGear fishingGear)
Does the same thing as create(fr.ifremer.allegro.referential.gear.FishingGear)
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
create
in interface GearDao
entities
- the collection of fr.ifremer.allegro.referential.gear.FishingGear
instances to create.
java.util.Collection create(int transform, java.util.Collection entities)
Does the same thing as create(fr.ifremer.allegro.referential.gear.FishingGear)
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 GearDao
Gear create(java.lang.String label, java.lang.String name, java.lang.String description, java.sql.Timestamp updateDate, GearClassification gearClassification, java.util.Collection childGears, Gear parentGear, Status status, java.util.Collection associatedGears, java.lang.Boolean isActive, java.lang.Boolean isTowed)
Creates a new fr.ifremer.allegro.referential.gear.FishingGear
instance from all attributes and
properties and adds it to the persistent store.
java.lang.Object create(int transform, java.lang.String label, java.lang.String name, java.lang.String description, java.sql.Timestamp updateDate, GearClassification gearClassification, java.util.Collection childGears, Gear parentGear, Status status, java.util.Collection associatedGears, java.lang.Boolean isActive, java.lang.Boolean isTowed)
Does the same thing as create(java.lang.String,java.lang.String,java.lang.String,java.sql.Timestamp,fr.ifremer.allegro.referential.gear.GearClassification,java.util.Collection,fr.ifremer.allegro.referential.gear.Gear,fr.ifremer.allegro.referential.Status,java.util.Collection,java.lang.Boolean,java.lang.Boolean)
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.
Gear create(GearClassification gearClassification, java.lang.String label, java.lang.String name, Status status)
Creates a new fr.ifremer.allegro.referential.gear.FishingGear
instance from only required properties (attributes
and association ends) and adds it to the persistent store.
create
in interface GearDao
java.lang.Object create(int transform, GearClassification gearClassification, java.lang.String label, java.lang.String name, Status status)
Does the same thing as create(fr.ifremer.allegro.referential.gear.GearClassification,java.lang.String,java.lang.String,fr.ifremer.allegro.referential.Status)
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 GearDao
void update(FishingGear fishingGear)
fishingGear
instance in the persistent store.
void update(java.util.Collection entities)
entities
collection in the persistent store.
update
in interface GearDao
void remove(FishingGear fishingGear)
void remove(java.lang.Integer id)
identifier
from the persistent store.
remove
in interface GearDao
void remove(java.util.Collection entities)
entities collection.
- Specified by:
remove
in interface GearDao
java.util.Collection getAllFishingGear()
java.util.Collection getAllFishingGear(java.lang.String queryString)
Does the same thing as getAllFishingGear()
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in getAllFishingGear()
.
java.util.Collection getAllFishingGear(int pageNumber, int pageSize)
Does the same thing as getAllFishingGear()
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 getAllFishingGear(java.lang.String queryString, int pageNumber, int pageSize)
Does the same thing as getAllFishingGear(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 getAllFishingGear(int transform)
Does the same thing as getAllFishingGear()
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 getAllFishingGear(int transform, int pageNumber, int pageSize)
Does the same thing as getAllFishingGear(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 getAllFishingGear(int transform, java.lang.String queryString)
Does the same thing as getAllFishingGear(int)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in getAllFishingGear(int)
.
java.util.Collection getAllFishingGear(int transform, java.lang.String queryString, int pageNumber, int pageSize)
Does the same thing as getAllFishingGear(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.
FishingGear findFishingGearById(java.lang.Integer id)
FishingGear findFishingGearById(java.lang.String queryString, java.lang.Integer id)
Does the same thing as findFishingGearById(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findFishingGearById(java.lang.Integer)
.
java.lang.Object findFishingGearById(int transform, java.lang.Integer id)
Does the same thing as findFishingGearById(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 findFishingGearById(int transform, java.lang.String queryString, java.lang.Integer id)
Does the same thing as findFishingGearById(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findFishingGearById(int, java.lang.Integer id)
.
java.util.Collection findFishingGearByParentGear(Gear parentGear)
java.util.Collection findFishingGearByParentGear(java.lang.String queryString, Gear parentGear)
Does the same thing as findFishingGearByParentGear(fr.ifremer.allegro.referential.gear.Gear)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findFishingGearByParentGear(fr.ifremer.allegro.referential.gear.Gear)
.
java.util.Collection findFishingGearByParentGear(int pageNumber, int pageSize, Gear parentGear)
Does the same thing as findFishingGearByParentGear(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 findFishingGearByParentGear(java.lang.String queryString, int pageNumber, int pageSize, Gear parentGear)
Does the same thing as findFishingGearByParentGear(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 findFishingGearByParentGear(int transform, Gear parentGear)
Does the same thing as findFishingGearByParentGear(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 findFishingGearByParentGear(int transform, int pageNumber, int pageSize, Gear parentGear)
Does the same thing as findFishingGearByParentGear(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 findFishingGearByParentGear(int transform, java.lang.String queryString, Gear parentGear)
Does the same thing as findFishingGearByParentGear(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 findFishingGearByParentGear(int, fr.ifremer.allegro.referential.gear.Gear parentGear)
.
java.util.Collection findFishingGearByParentGear(int transform, java.lang.String queryString, int pageNumber, int pageSize, Gear parentGear)
Does the same thing as findFishingGearByParentGear(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 findFishingGearByGearClassification(GearClassification gearClassification)
java.util.Collection findFishingGearByGearClassification(java.lang.String queryString, GearClassification gearClassification)
Does the same thing as findFishingGearByGearClassification(fr.ifremer.allegro.referential.gear.GearClassification)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findFishingGearByGearClassification(fr.ifremer.allegro.referential.gear.GearClassification)
.
java.util.Collection findFishingGearByGearClassification(int pageNumber, int pageSize, GearClassification gearClassification)
Does the same thing as findFishingGearByGearClassification(fr.ifremer.allegro.referential.gear.GearClassification)
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 findFishingGearByGearClassification(java.lang.String queryString, int pageNumber, int pageSize, GearClassification gearClassification)
Does the same thing as findFishingGearByGearClassification(String, fr.ifremer.allegro.referential.gear.GearClassification)
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 findFishingGearByGearClassification(int transform, GearClassification gearClassification)
Does the same thing as findFishingGearByGearClassification(fr.ifremer.allegro.referential.gear.GearClassification)
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 findFishingGearByGearClassification(int transform, int pageNumber, int pageSize, GearClassification gearClassification)
Does the same thing as findFishingGearByGearClassification(int, fr.ifremer.allegro.referential.gear.GearClassification)
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 findFishingGearByGearClassification(int transform, java.lang.String queryString, GearClassification gearClassification)
Does the same thing as findFishingGearByGearClassification(int, fr.ifremer.allegro.referential.gear.GearClassification)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findFishingGearByGearClassification(int, fr.ifremer.allegro.referential.gear.GearClassification gearClassification)
.
java.util.Collection findFishingGearByGearClassification(int transform, java.lang.String queryString, int pageNumber, int pageSize, GearClassification gearClassification)
Does the same thing as findFishingGearByGearClassification(int, String, fr.ifremer.allegro.referential.gear.GearClassification)
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 findFishingGearByStatus(Status status)
java.util.Collection findFishingGearByStatus(java.lang.String queryString, Status status)
Does the same thing as findFishingGearByStatus(fr.ifremer.allegro.referential.Status)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findFishingGearByStatus(fr.ifremer.allegro.referential.Status)
.
java.util.Collection findFishingGearByStatus(int pageNumber, int pageSize, Status status)
Does the same thing as findFishingGearByStatus(fr.ifremer.allegro.referential.Status)
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 findFishingGearByStatus(java.lang.String queryString, int pageNumber, int pageSize, Status status)
Does the same thing as findFishingGearByStatus(String, fr.ifremer.allegro.referential.Status)
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 findFishingGearByStatus(int transform, Status status)
Does the same thing as findFishingGearByStatus(fr.ifremer.allegro.referential.Status)
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 findFishingGearByStatus(int transform, int pageNumber, int pageSize, Status status)
Does the same thing as findFishingGearByStatus(int, fr.ifremer.allegro.referential.Status)
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 findFishingGearByStatus(int transform, java.lang.String queryString, Status status)
Does the same thing as findFishingGearByStatus(int, fr.ifremer.allegro.referential.Status)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findFishingGearByStatus(int, fr.ifremer.allegro.referential.Status status)
.
java.util.Collection findFishingGearByStatus(int transform, java.lang.String queryString, int pageNumber, int pageSize, Status status)
Does the same thing as findFishingGearByStatus(int, String, fr.ifremer.allegro.referential.Status)
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.
FishingGear findFishingGearByNaturalId(java.lang.Integer id)
FishingGear findFishingGearByNaturalId(java.lang.String queryString, java.lang.Integer id)
Does the same thing as findFishingGearByNaturalId(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findFishingGearByNaturalId(java.lang.Integer)
.
java.lang.Object findFishingGearByNaturalId(int transform, java.lang.Integer id)
Does the same thing as findFishingGearByNaturalId(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 findFishingGearByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
Does the same thing as findFishingGearByNaturalId(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findFishingGearByNaturalId(int, java.lang.Integer id)
.
java.util.Collection getAllFishingGearSinceDateSynchro(java.sql.Timestamp updateDate)
java.util.Collection getAllFishingGearSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
Does the same thing as getAllFishingGearSinceDateSynchro(java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in getAllFishingGearSinceDateSynchro(java.sql.Timestamp)
.
java.util.Collection getAllFishingGearSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
Does the same thing as getAllFishingGearSinceDateSynchro(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 getAllFishingGearSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
Does the same thing as getAllFishingGearSinceDateSynchro(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 getAllFishingGearSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
Does the same thing as getAllFishingGearSinceDateSynchro(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 getAllFishingGearSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
Does the same thing as getAllFishingGearSinceDateSynchro(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 getAllFishingGearSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
Does the same thing as getAllFishingGearSinceDateSynchro(int, java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in getAllFishingGearSinceDateSynchro(int, java.sql.Timestamp updateDate)
.
java.util.Collection getAllFishingGearSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
Does the same thing as getAllFishingGearSinceDateSynchro(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.
FishingGear createFromClusterFishingGear(ClusterFishingGear clusterFishingGear)
ClusterFishingGear[] getAllClusterFishingGearSinceDateSynchro(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.
search
in interface GearDao
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.
search
in interface GearDao
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.
search
in interface GearDao
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
in interface GearDao
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 |