|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface VesselGroupDao
VesselGroup
Field Summary | |
---|---|
static int |
TRANSFORM_CLUSTERVESSELGROUP
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_REMOTEVESSELGROUPFULLVO
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_REMOTEVESSELGROUPNATURALID
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.vessel.VesselDao |
---|
TRANSFORM_CLUSTERVESSEL, TRANSFORM_NONE, TRANSFORM_REMOTEVESSELFULLVO, TRANSFORM_REMOTEVESSELNATURALID |
Method Summary | |
---|---|
VesselGroup |
clusterVesselGroupToEntity(ClusterVesselGroup clusterVesselGroup)
Converts an instance of type ClusterVesselGroup to this DAO's entity. |
void |
clusterVesselGroupToEntity(ClusterVesselGroup source,
VesselGroup target,
boolean copyIfNull)
Copies the fields of ClusterVesselGroup to the specified entity. |
void |
clusterVesselGroupToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type ClusterVesselGroup to this
DAO's entity. |
java.util.Collection |
create(java.util.Collection entities)
Creates a new instance of fr.ifremer.allegro.referential.vessel.VesselGroup and adds from the passed in entities collection |
java.util.Collection |
create(int transform,
java.util.Collection entities)
Does the same thing as create(fr.ifremer.allegro.referential.vessel.VesselGroup) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
java.lang.String code,
Status status,
VesselType vesselType)
Does the same thing as create(java.lang.String,fr.ifremer.allegro.referential.Status,fr.ifremer.allegro.referential.VesselType) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
java.lang.String code,
java.sql.Timestamp updateDate,
java.util.Collection rightToProduces,
java.util.Collection vesselOwnerPeriods,
java.util.Collection vesselRegistrationPeriods,
Status status,
VesselType vesselType)
Does the same thing as create(java.lang.String,java.sql.Timestamp,java.util.Collection,java.util.Collection,java.util.Collection,fr.ifremer.allegro.referential.Status,fr.ifremer.allegro.referential.VesselType) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
VesselGroup vesselGroup)
Does the same thing as create(fr.ifremer.allegro.referential.vessel.VesselGroup) with an
additional flag called transform . |
Vessel |
create(java.lang.String code,
Status status,
VesselType vesselType)
Creates a new fr.ifremer.allegro.referential.vessel.VesselGroup
instance from only required properties (attributes
and association ends) and adds it to the persistent store. |
Vessel |
create(java.lang.String code,
java.sql.Timestamp updateDate,
java.util.Collection rightToProduces,
java.util.Collection vesselOwnerPeriods,
java.util.Collection vesselRegistrationPeriods,
Status status,
VesselType vesselType)
Creates a new fr.ifremer.allegro.referential.vessel.VesselGroup
instance from all attributes and
properties and adds it to the persistent store. |
Vessel |
create(VesselGroup vesselGroup)
Creates an instance of fr.ifremer.allegro.referential.vessel.VesselGroup and adds it to the persistent store. |
VesselGroup |
createFromClusterVesselGroup(ClusterVesselGroup clusterVesselGroup)
|
java.lang.Object |
findVesselGroupByCode(int transform,
java.lang.String code)
Does the same thing as findVesselGroupByCode(java.lang.String) with an
additional flag called transform . |
java.lang.Object |
findVesselGroupByCode(int transform,
java.lang.String queryString,
java.lang.String code)
Does the same thing as findVesselGroupByCode(int, java.lang.String) with an
additional argument called queryString . |
VesselGroup |
findVesselGroupByCode(java.lang.String code)
|
VesselGroup |
findVesselGroupByCode(java.lang.String queryString,
java.lang.String code)
Does the same thing as findVesselGroupByCode(java.lang.String) with an
additional argument called queryString . |
java.lang.Object |
findVesselGroupByNaturalId(int transform,
java.lang.String code)
Does the same thing as findVesselGroupByNaturalId(java.lang.String) with an
additional flag called transform . |
java.lang.Object |
findVesselGroupByNaturalId(int transform,
java.lang.String queryString,
java.lang.String code)
Does the same thing as findVesselGroupByNaturalId(int, java.lang.String) with an
additional argument called queryString . |
VesselGroup |
findVesselGroupByNaturalId(java.lang.String code)
|
VesselGroup |
findVesselGroupByNaturalId(java.lang.String queryString,
java.lang.String code)
Does the same thing as findVesselGroupByNaturalId(java.lang.String) with an
additional argument called queryString . |
java.util.Collection |
findVesselGroupByStatus(int transform,
int pageNumber,
int pageSize,
Status status)
Does the same thing as findVesselGroupByStatus(int, fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findVesselGroupByStatus(int pageNumber,
int pageSize,
Status status)
Does the same thing as findVesselGroupByStatus(fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findVesselGroupByStatus(int transform,
Status status)
Does the same thing as findVesselGroupByStatus(fr.ifremer.allegro.referential.Status) with an
additional flag called transform . |
java.util.Collection |
findVesselGroupByStatus(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
Status status)
Does the same thing as findVesselGroupByStatus(int, String, fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findVesselGroupByStatus(int transform,
java.lang.String queryString,
Status status)
Does the same thing as findVesselGroupByStatus(int, fr.ifremer.allegro.referential.Status) with an
additional argument called queryString . |
java.util.Collection |
findVesselGroupByStatus(Status status)
|
java.util.Collection |
findVesselGroupByStatus(java.lang.String queryString,
int pageNumber,
int pageSize,
Status status)
Does the same thing as findVesselGroupByStatus(String, fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findVesselGroupByStatus(java.lang.String queryString,
Status status)
Does the same thing as findVesselGroupByStatus(fr.ifremer.allegro.referential.Status) with an
additional argument called queryString . |
java.util.Collection |
findVesselGroupByVesselType(int transform,
int pageNumber,
int pageSize,
VesselType vesselType)
Does the same thing as findVesselGroupByVesselType(int, fr.ifremer.allegro.referential.VesselType) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findVesselGroupByVesselType(int pageNumber,
int pageSize,
VesselType vesselType)
Does the same thing as findVesselGroupByVesselType(fr.ifremer.allegro.referential.VesselType) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findVesselGroupByVesselType(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
VesselType vesselType)
Does the same thing as findVesselGroupByVesselType(int, String, fr.ifremer.allegro.referential.VesselType) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findVesselGroupByVesselType(int transform,
java.lang.String queryString,
VesselType vesselType)
Does the same thing as findVesselGroupByVesselType(int, fr.ifremer.allegro.referential.VesselType) with an
additional argument called queryString . |
java.util.Collection |
findVesselGroupByVesselType(int transform,
VesselType vesselType)
Does the same thing as findVesselGroupByVesselType(fr.ifremer.allegro.referential.VesselType) with an
additional flag called transform . |
java.util.Collection |
findVesselGroupByVesselType(java.lang.String queryString,
int pageNumber,
int pageSize,
VesselType vesselType)
Does the same thing as findVesselGroupByVesselType(String, fr.ifremer.allegro.referential.VesselType) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findVesselGroupByVesselType(java.lang.String queryString,
VesselType vesselType)
Does the same thing as findVesselGroupByVesselType(fr.ifremer.allegro.referential.VesselType) with an
additional argument called queryString . |
java.util.Collection |
findVesselGroupByVesselType(VesselType vesselType)
|
ClusterVesselGroup[] |
getAllClusterVesselGroupSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize)
|
java.util.Collection |
getAllVesselGroup()
|
java.util.Collection |
getAllVesselGroup(int transform)
Does the same thing as getAllVesselGroup() with an
additional flag called transform . |
java.util.Collection |
getAllVesselGroup(int pageNumber,
int pageSize)
Does the same thing as getAllVesselGroup() with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllVesselGroup(int transform,
int pageNumber,
int pageSize)
Does the same thing as getAllVesselGroup(int) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllVesselGroup(int transform,
java.lang.String queryString)
Does the same thing as getAllVesselGroup(int) with an
additional argument called queryString . |
java.util.Collection |
getAllVesselGroup(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as getAllVesselGroup(int, String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllVesselGroup(java.lang.String queryString)
Does the same thing as getAllVesselGroup() with an
additional argument called queryString . |
java.util.Collection |
getAllVesselGroup(java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as getAllVesselGroup(String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllVesselGroupSinceDateSynchro(int transform,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as getAllVesselGroupSinceDateSynchro(int, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllVesselGroupSinceDateSynchro(int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as getAllVesselGroupSinceDateSynchro(java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllVesselGroupSinceDateSynchro(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as getAllVesselGroupSinceDateSynchro(int, String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllVesselGroupSinceDateSynchro(int transform,
java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as getAllVesselGroupSinceDateSynchro(int, java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllVesselGroupSinceDateSynchro(int transform,
java.sql.Timestamp updateDate)
Does the same thing as getAllVesselGroupSinceDateSynchro(java.sql.Timestamp) with an
additional flag called transform . |
java.util.Collection |
getAllVesselGroupSinceDateSynchro(java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as getAllVesselGroupSinceDateSynchro(String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllVesselGroupSinceDateSynchro(java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as getAllVesselGroupSinceDateSynchro(java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllVesselGroupSinceDateSynchro(java.sql.Timestamp updateDate)
|
java.lang.Object |
load(int transform,
java.lang.String code)
Does the same thing as load(java.lang.String) with an
additional flag called transform . |
Vessel |
load(java.lang.String code)
Loads an instance of fr.ifremer.allegro.referential.vessel.VesselGroup from the persistent store. |
java.util.Collection |
loadAll()
Loads all entities of type VesselGroup . |
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 . |
VesselGroup |
remoteVesselGroupFullVOToEntity(RemoteVesselGroupFullVO remoteVesselGroupFullVO)
Converts an instance of type RemoteVesselGroupFullVO to this DAO's entity. |
void |
remoteVesselGroupFullVOToEntity(RemoteVesselGroupFullVO source,
VesselGroup target,
boolean copyIfNull)
Copies the fields of RemoteVesselGroupFullVO to the specified entity. |
void |
remoteVesselGroupFullVOToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteVesselGroupFullVO to this
DAO's entity. |
VesselGroup |
remoteVesselGroupNaturalIdToEntity(RemoteVesselGroupNaturalId remoteVesselGroupNaturalId)
Converts an instance of type RemoteVesselGroupNaturalId to this DAO's entity. |
void |
remoteVesselGroupNaturalIdToEntity(RemoteVesselGroupNaturalId source,
VesselGroup target,
boolean copyIfNull)
Copies the fields of RemoteVesselGroupNaturalId to the specified entity. |
void |
remoteVesselGroupNaturalIdToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteVesselGroupNaturalId to this
DAO's entity. |
void |
remove(java.util.Collection entities)
Removes all entities in the given entities |
void |
remove(java.lang.String code)
Removes the instance of fr.ifremer.allegro.referential.vessel.VesselGroup having the given identifier from the persistent store. |
void |
remove(VesselGroup vesselGroup)
Removes the instance of fr.ifremer.allegro.referential.vessel.VesselGroup 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. |
ClusterVesselGroup |
toClusterVesselGroup(VesselGroup entity)
Converts this DAO's entity to an object of type ClusterVesselGroup . |
void |
toClusterVesselGroup(VesselGroup source,
ClusterVesselGroup target)
Copies the fields of the specified entity to the target value object. |
ClusterVesselGroup[] |
toClusterVesselGroupArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type ClusterVesselGroup . |
void |
toClusterVesselGroupCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type ClusterVesselGroup . |
RemoteVesselGroupFullVO |
toRemoteVesselGroupFullVO(VesselGroup entity)
Converts this DAO's entity to an object of type RemoteVesselGroupFullVO . |
void |
toRemoteVesselGroupFullVO(VesselGroup source,
RemoteVesselGroupFullVO target)
Copies the fields of the specified entity to the target value object. |
RemoteVesselGroupFullVO[] |
toRemoteVesselGroupFullVOArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteVesselGroupFullVO . |
void |
toRemoteVesselGroupFullVOCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteVesselGroupFullVO . |
RemoteVesselGroupNaturalId |
toRemoteVesselGroupNaturalId(VesselGroup entity)
Converts this DAO's entity to an object of type RemoteVesselGroupNaturalId . |
void |
toRemoteVesselGroupNaturalId(VesselGroup source,
RemoteVesselGroupNaturalId target)
Copies the fields of the specified entity to the target value object. |
RemoteVesselGroupNaturalId[] |
toRemoteVesselGroupNaturalIdArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteVesselGroupNaturalId . |
void |
toRemoteVesselGroupNaturalIdCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteVesselGroupNaturalId . |
void |
update(java.util.Collection entities)
Updates all instances in the entities collection in the persistent store. |
void |
update(VesselGroup vesselGroup)
Updates the vesselGroup instance in the persistent store. |
Field Detail |
---|
static final int TRANSFORM_REMOTEVESSELGROUPFULLVO
int
parameter called transform
.
This specific flag denotes entities must be transformed into objects of type
RemoteVesselGroupFullVO
.
static final int TRANSFORM_REMOTEVESSELGROUPNATURALID
int
parameter called transform
.
This specific flag denotes entities must be transformed into objects of type
RemoteVesselGroupNaturalId
.
static final int TRANSFORM_CLUSTERVESSELGROUP
int
parameter called transform
.
This specific flag denotes entities must be transformed into objects of type
ClusterVesselGroup
.
Method Detail |
---|
void toRemoteVesselGroupFullVO(VesselGroup source, RemoteVesselGroupFullVO target)
RemoteVesselGroupFullVO toRemoteVesselGroupFullVO(VesselGroup entity)
RemoteVesselGroupFullVO
.
void toRemoteVesselGroupFullVOCollection(java.util.Collection entities)
RemoteVesselGroupFullVO
.
RemoteVesselGroupFullVO[] toRemoteVesselGroupFullVOArray(java.util.Collection entities)
RemoteVesselGroupFullVO
.
void remoteVesselGroupFullVOToEntity(RemoteVesselGroupFullVO source, VesselGroup target, boolean copyIfNull)
RemoteVesselGroupFullVO
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.VesselGroup remoteVesselGroupFullVOToEntity(RemoteVesselGroupFullVO remoteVesselGroupFullVO)
RemoteVesselGroupFullVO
to this DAO's entity.
void remoteVesselGroupFullVOToEntityCollection(java.util.Collection instances)
RemoteVesselGroupFullVO
to this
DAO's entity.
void toRemoteVesselGroupNaturalId(VesselGroup source, RemoteVesselGroupNaturalId target)
RemoteVesselGroupNaturalId toRemoteVesselGroupNaturalId(VesselGroup entity)
RemoteVesselGroupNaturalId
.
void toRemoteVesselGroupNaturalIdCollection(java.util.Collection entities)
RemoteVesselGroupNaturalId
.
RemoteVesselGroupNaturalId[] toRemoteVesselGroupNaturalIdArray(java.util.Collection entities)
RemoteVesselGroupNaturalId
.
void remoteVesselGroupNaturalIdToEntity(RemoteVesselGroupNaturalId source, VesselGroup target, boolean copyIfNull)
RemoteVesselGroupNaturalId
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.VesselGroup remoteVesselGroupNaturalIdToEntity(RemoteVesselGroupNaturalId remoteVesselGroupNaturalId)
RemoteVesselGroupNaturalId
to this DAO's entity.
void remoteVesselGroupNaturalIdToEntityCollection(java.util.Collection instances)
RemoteVesselGroupNaturalId
to this
DAO's entity.
void toClusterVesselGroup(VesselGroup source, ClusterVesselGroup target)
ClusterVesselGroup toClusterVesselGroup(VesselGroup entity)
ClusterVesselGroup
.
void toClusterVesselGroupCollection(java.util.Collection entities)
ClusterVesselGroup
.
ClusterVesselGroup[] toClusterVesselGroupArray(java.util.Collection entities)
ClusterVesselGroup
.
void clusterVesselGroupToEntity(ClusterVesselGroup source, VesselGroup target, boolean copyIfNull)
ClusterVesselGroup
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.VesselGroup clusterVesselGroupToEntity(ClusterVesselGroup clusterVesselGroup)
ClusterVesselGroup
to this DAO's entity.
void clusterVesselGroupToEntityCollection(java.util.Collection instances)
ClusterVesselGroup
to this
DAO's entity.
Vessel load(java.lang.String code)
load
in interface VesselDao
java.lang.Object load(int transform, java.lang.String code)
Does the same thing as load(java.lang.String)
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 VesselDao
code
- identifier of the entity to load
java.util.Collection loadAll()
VesselGroup
.
loadAll
in interface VesselDao
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 VesselDao
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 VesselDao
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 VesselDao
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.
Vessel create(VesselGroup vesselGroup)
java.lang.Object create(int transform, VesselGroup vesselGroup)
Does the same thing as create(fr.ifremer.allegro.referential.vessel.VesselGroup)
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.vessel.VesselGroup
instances to create.
java.util.Collection create(int transform, java.util.Collection entities)
Does the same thing as create(fr.ifremer.allegro.referential.vessel.VesselGroup)
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.
Vessel create(java.lang.String code, java.sql.Timestamp updateDate, java.util.Collection rightToProduces, java.util.Collection vesselOwnerPeriods, java.util.Collection vesselRegistrationPeriods, Status status, VesselType vesselType)
Creates a new fr.ifremer.allegro.referential.vessel.VesselGroup
instance from all attributes and
properties and adds it to the persistent store.
java.lang.Object create(int transform, java.lang.String code, java.sql.Timestamp updateDate, java.util.Collection rightToProduces, java.util.Collection vesselOwnerPeriods, java.util.Collection vesselRegistrationPeriods, Status status, VesselType vesselType)
Does the same thing as create(java.lang.String,java.sql.Timestamp,java.util.Collection,java.util.Collection,java.util.Collection,fr.ifremer.allegro.referential.Status,fr.ifremer.allegro.referential.VesselType)
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.
Vessel create(java.lang.String code, Status status, VesselType vesselType)
Creates a new fr.ifremer.allegro.referential.vessel.VesselGroup
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 code, Status status, VesselType vesselType)
Does the same thing as create(java.lang.String,fr.ifremer.allegro.referential.Status,fr.ifremer.allegro.referential.VesselType)
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(VesselGroup vesselGroup)
vesselGroup
instance in the persistent store.
void update(java.util.Collection entities)
entities
collection in the persistent store.
update
in interface VesselDao
void remove(VesselGroup vesselGroup)
void remove(java.lang.String code)
identifier
from the persistent store.
remove
in interface VesselDao
void remove(java.util.Collection entities)
entities collection.
- Specified by:
remove
in interface VesselDao
java.util.Collection getAllVesselGroup()
java.util.Collection getAllVesselGroup(java.lang.String queryString)
Does the same thing as getAllVesselGroup()
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in getAllVesselGroup()
.
java.util.Collection getAllVesselGroup(int pageNumber, int pageSize)
Does the same thing as getAllVesselGroup()
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 getAllVesselGroup(java.lang.String queryString, int pageNumber, int pageSize)
Does the same thing as getAllVesselGroup(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 getAllVesselGroup(int transform)
Does the same thing as getAllVesselGroup()
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 getAllVesselGroup(int transform, int pageNumber, int pageSize)
Does the same thing as getAllVesselGroup(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 getAllVesselGroup(int transform, java.lang.String queryString)
Does the same thing as getAllVesselGroup(int)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in getAllVesselGroup(int)
.
java.util.Collection getAllVesselGroup(int transform, java.lang.String queryString, int pageNumber, int pageSize)
Does the same thing as getAllVesselGroup(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.
VesselGroup findVesselGroupByCode(java.lang.String code)
VesselGroup findVesselGroupByCode(java.lang.String queryString, java.lang.String code)
Does the same thing as findVesselGroupByCode(java.lang.String)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findVesselGroupByCode(java.lang.String)
.
java.lang.Object findVesselGroupByCode(int transform, java.lang.String code)
Does the same thing as findVesselGroupByCode(java.lang.String)
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 findVesselGroupByCode(int transform, java.lang.String queryString, java.lang.String code)
Does the same thing as findVesselGroupByCode(int, java.lang.String)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findVesselGroupByCode(int, java.lang.String code)
.
java.util.Collection findVesselGroupByStatus(Status status)
java.util.Collection findVesselGroupByStatus(java.lang.String queryString, Status status)
Does the same thing as findVesselGroupByStatus(fr.ifremer.allegro.referential.Status)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findVesselGroupByStatus(fr.ifremer.allegro.referential.Status)
.
java.util.Collection findVesselGroupByStatus(int pageNumber, int pageSize, Status status)
Does the same thing as findVesselGroupByStatus(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 findVesselGroupByStatus(java.lang.String queryString, int pageNumber, int pageSize, Status status)
Does the same thing as findVesselGroupByStatus(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 findVesselGroupByStatus(int transform, Status status)
Does the same thing as findVesselGroupByStatus(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 findVesselGroupByStatus(int transform, int pageNumber, int pageSize, Status status)
Does the same thing as findVesselGroupByStatus(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 findVesselGroupByStatus(int transform, java.lang.String queryString, Status status)
Does the same thing as findVesselGroupByStatus(int, fr.ifremer.allegro.referential.Status)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findVesselGroupByStatus(int, fr.ifremer.allegro.referential.Status status)
.
java.util.Collection findVesselGroupByStatus(int transform, java.lang.String queryString, int pageNumber, int pageSize, Status status)
Does the same thing as findVesselGroupByStatus(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.
java.util.Collection findVesselGroupByVesselType(VesselType vesselType)
java.util.Collection findVesselGroupByVesselType(java.lang.String queryString, VesselType vesselType)
Does the same thing as findVesselGroupByVesselType(fr.ifremer.allegro.referential.VesselType)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findVesselGroupByVesselType(fr.ifremer.allegro.referential.VesselType)
.
java.util.Collection findVesselGroupByVesselType(int pageNumber, int pageSize, VesselType vesselType)
Does the same thing as findVesselGroupByVesselType(fr.ifremer.allegro.referential.VesselType)
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 findVesselGroupByVesselType(java.lang.String queryString, int pageNumber, int pageSize, VesselType vesselType)
Does the same thing as findVesselGroupByVesselType(String, fr.ifremer.allegro.referential.VesselType)
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 findVesselGroupByVesselType(int transform, VesselType vesselType)
Does the same thing as findVesselGroupByVesselType(fr.ifremer.allegro.referential.VesselType)
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 findVesselGroupByVesselType(int transform, int pageNumber, int pageSize, VesselType vesselType)
Does the same thing as findVesselGroupByVesselType(int, fr.ifremer.allegro.referential.VesselType)
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 findVesselGroupByVesselType(int transform, java.lang.String queryString, VesselType vesselType)
Does the same thing as findVesselGroupByVesselType(int, fr.ifremer.allegro.referential.VesselType)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findVesselGroupByVesselType(int, fr.ifremer.allegro.referential.VesselType vesselType)
.
java.util.Collection findVesselGroupByVesselType(int transform, java.lang.String queryString, int pageNumber, int pageSize, VesselType vesselType)
Does the same thing as findVesselGroupByVesselType(int, String, fr.ifremer.allegro.referential.VesselType)
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.
VesselGroup findVesselGroupByNaturalId(java.lang.String code)
VesselGroup findVesselGroupByNaturalId(java.lang.String queryString, java.lang.String code)
Does the same thing as findVesselGroupByNaturalId(java.lang.String)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findVesselGroupByNaturalId(java.lang.String)
.
java.lang.Object findVesselGroupByNaturalId(int transform, java.lang.String code)
Does the same thing as findVesselGroupByNaturalId(java.lang.String)
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 findVesselGroupByNaturalId(int transform, java.lang.String queryString, java.lang.String code)
Does the same thing as findVesselGroupByNaturalId(int, java.lang.String)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findVesselGroupByNaturalId(int, java.lang.String code)
.
java.util.Collection getAllVesselGroupSinceDateSynchro(java.sql.Timestamp updateDate)
java.util.Collection getAllVesselGroupSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
Does the same thing as getAllVesselGroupSinceDateSynchro(java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in getAllVesselGroupSinceDateSynchro(java.sql.Timestamp)
.
java.util.Collection getAllVesselGroupSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
Does the same thing as getAllVesselGroupSinceDateSynchro(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 getAllVesselGroupSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
Does the same thing as getAllVesselGroupSinceDateSynchro(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 getAllVesselGroupSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
Does the same thing as getAllVesselGroupSinceDateSynchro(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 getAllVesselGroupSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
Does the same thing as getAllVesselGroupSinceDateSynchro(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 getAllVesselGroupSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
Does the same thing as getAllVesselGroupSinceDateSynchro(int, java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in getAllVesselGroupSinceDateSynchro(int, java.sql.Timestamp updateDate)
.
java.util.Collection getAllVesselGroupSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
Does the same thing as getAllVesselGroupSinceDateSynchro(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.
VesselGroup createFromClusterVesselGroup(ClusterVesselGroup clusterVesselGroup)
ClusterVesselGroup[] getAllClusterVesselGroupSinceDateSynchro(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 VesselDao
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 VesselDao
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 VesselDao
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 VesselDao
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 |