|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.orm.hibernate3.support.HibernateDaoSupport
fr.ifremer.allegro.referential.gear.GearDaoBase
public abstract class GearDaoBase
Base Spring DAO Class: is able to create, update, remove, load, and find
objects of type fr.ifremer.allegro.referential.gear.Gear
.
Gear
Field Summary |
---|
Fields inherited from interface fr.ifremer.allegro.referential.gear.GearDao |
---|
TRANSFORM_CLUSTERGEAR, TRANSFORM_NONE, TRANSFORM_REMOTEGEARFULLVO, TRANSFORM_REMOTEGEARNATURALID |
Constructor Summary | |
---|---|
GearDaoBase()
|
Method Summary | |
---|---|
void |
clusterGearToEntity(ClusterGear source,
Gear target,
boolean copyIfNull)
Copies the fields of ClusterGear to the specified entity. |
void |
clusterGearToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type ClusterGear to this
DAO's entity. |
java.util.Collection |
create(java.util.Collection entities)
Creates a new instance of fr.ifremer.allegro.referential.gear.Gear and adds from the passed in entities collection |
Gear |
create(Gear gear)
Creates an instance of fr.ifremer.allegro.referential.gear.Gear 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.Gear
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 GearDao.create(fr.ifremer.allegro.referential.gear.Gear) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
Gear gear)
Does the same thing as GearDao.create(fr.ifremer.allegro.referential.gear.Gear) 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 GearDao.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)
Does the same thing as GearDao.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) 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)
Creates a new fr.ifremer.allegro.referential.gear.Gear
instance from all attributes and
properties and adds it to the persistent store. |
Gear |
createFromClusterGear(ClusterGear clusterGear)
|
java.util.Collection |
findGearByGearClassification(GearClassification gearClassification)
|
java.util.Collection |
findGearByGearClassification(int transform,
GearClassification gearClassification)
Does the same thing as GearDao.findGearByGearClassification(fr.ifremer.allegro.referential.gear.GearClassification) with an
additional flag called transform . |
java.util.Collection |
findGearByGearClassification(int pageNumber,
int pageSize,
GearClassification gearClassification)
Does the same thing as GearDao.findGearByGearClassification(fr.ifremer.allegro.referential.gear.GearClassification) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findGearByGearClassification(int transform,
int pageNumber,
int pageSize,
GearClassification gearClassification)
Does the same thing as GearDao.findGearByGearClassification(int, fr.ifremer.allegro.referential.gear.GearClassification) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findGearByGearClassification(int transform,
java.lang.String queryString,
GearClassification gearClassification)
Does the same thing as GearDao.findGearByGearClassification(int, fr.ifremer.allegro.referential.gear.GearClassification) with an
additional argument called queryString . |
java.util.Collection |
findGearByGearClassification(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
GearClassification gearClassification)
Does the same thing as GearDao.findGearByGearClassification(int, String, fr.ifremer.allegro.referential.gear.GearClassification) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findGearByGearClassification(java.lang.String queryString,
GearClassification gearClassification)
Does the same thing as GearDao.findGearByGearClassification(fr.ifremer.allegro.referential.gear.GearClassification) with an
additional argument called queryString . |
java.util.Collection |
findGearByGearClassification(java.lang.String queryString,
int pageNumber,
int pageSize,
GearClassification gearClassification)
Does the same thing as GearDao.findGearByGearClassification(String, fr.ifremer.allegro.referential.gear.GearClassification) with an
additional two arguments called pageNumber and pageSize . |
Gear |
findGearById(java.lang.Integer id)
|
java.lang.Object |
findGearById(int transform,
java.lang.Integer id)
Does the same thing as GearDao.findGearById(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findGearById(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as GearDao.findGearById(int, java.lang.Integer) with an
additional argument called queryString . |
Gear |
findGearById(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as GearDao.findGearById(java.lang.Integer) with an
additional argument called queryString . |
Gear |
findGearByNaturalId(java.lang.Integer id)
|
java.lang.Object |
findGearByNaturalId(int transform,
java.lang.Integer id)
Does the same thing as GearDao.findGearByNaturalId(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findGearByNaturalId(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as GearDao.findGearByNaturalId(int, java.lang.Integer) with an
additional argument called queryString . |
Gear |
findGearByNaturalId(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as GearDao.findGearByNaturalId(java.lang.Integer) with an
additional argument called queryString . |
java.util.Collection |
findGearByParentGear(Gear parentGear)
|
java.util.Collection |
findGearByParentGear(int transform,
Gear parentGear)
Does the same thing as GearDao.findGearByParentGear(fr.ifremer.allegro.referential.gear.Gear) with an
additional flag called transform . |
java.util.Collection |
findGearByParentGear(int pageNumber,
int pageSize,
Gear parentGear)
Does the same thing as GearDao.findGearByParentGear(fr.ifremer.allegro.referential.gear.Gear) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findGearByParentGear(int transform,
int pageNumber,
int pageSize,
Gear parentGear)
Does the same thing as GearDao.findGearByParentGear(int, fr.ifremer.allegro.referential.gear.Gear) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findGearByParentGear(int transform,
java.lang.String queryString,
Gear parentGear)
Does the same thing as GearDao.findGearByParentGear(int, fr.ifremer.allegro.referential.gear.Gear) with an
additional argument called queryString . |
java.util.Collection |
findGearByParentGear(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
Gear parentGear)
Does the same thing as GearDao.findGearByParentGear(int, String, fr.ifremer.allegro.referential.gear.Gear) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findGearByParentGear(java.lang.String queryString,
Gear parentGear)
Does the same thing as GearDao.findGearByParentGear(fr.ifremer.allegro.referential.gear.Gear) with an
additional argument called queryString . |
java.util.Collection |
findGearByParentGear(java.lang.String queryString,
int pageNumber,
int pageSize,
Gear parentGear)
Does the same thing as GearDao.findGearByParentGear(String, fr.ifremer.allegro.referential.gear.Gear) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findGearByStatus(int transform,
int pageNumber,
int pageSize,
Status status)
Does the same thing as GearDao.findGearByStatus(int, fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findGearByStatus(int pageNumber,
int pageSize,
Status status)
Does the same thing as GearDao.findGearByStatus(fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findGearByStatus(int transform,
Status status)
Does the same thing as GearDao.findGearByStatus(fr.ifremer.allegro.referential.Status) with an
additional flag called transform . |
java.util.Collection |
findGearByStatus(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
Status status)
Does the same thing as GearDao.findGearByStatus(int, String, fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findGearByStatus(int transform,
java.lang.String queryString,
Status status)
Does the same thing as GearDao.findGearByStatus(int, fr.ifremer.allegro.referential.Status) with an
additional argument called queryString . |
java.util.Collection |
findGearByStatus(Status status)
|
java.util.Collection |
findGearByStatus(java.lang.String queryString,
int pageNumber,
int pageSize,
Status status)
Does the same thing as GearDao.findGearByStatus(String, fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findGearByStatus(java.lang.String queryString,
Status status)
Does the same thing as GearDao.findGearByStatus(fr.ifremer.allegro.referential.Status) with an
additional argument called queryString . |
ClusterGear[] |
getAllClusterGearSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize)
|
java.util.Collection |
getAllGear()
|
java.util.Collection |
getAllGear(int transform)
Does the same thing as GearDao.getAllGear() with an
additional flag called transform . |
java.util.Collection |
getAllGear(int pageNumber,
int pageSize)
Does the same thing as GearDao.getAllGear() with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllGear(int transform,
int pageNumber,
int pageSize)
Does the same thing as GearDao.getAllGear(int) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllGear(int transform,
java.lang.String queryString)
Does the same thing as GearDao.getAllGear(int) with an
additional argument called queryString . |
java.util.Collection |
getAllGear(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as GearDao.getAllGear(int, String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllGear(java.lang.String queryString)
Does the same thing as GearDao.getAllGear() with an
additional argument called queryString . |
java.util.Collection |
getAllGear(java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as GearDao.getAllGear(String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllGearSinceDateSynchro(int transform,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as GearDao.getAllGearSinceDateSynchro(int, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllGearSinceDateSynchro(int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as GearDao.getAllGearSinceDateSynchro(java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllGearSinceDateSynchro(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as GearDao.getAllGearSinceDateSynchro(int, String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllGearSinceDateSynchro(int transform,
java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as GearDao.getAllGearSinceDateSynchro(int, java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllGearSinceDateSynchro(int transform,
java.sql.Timestamp updateDate)
Does the same thing as GearDao.getAllGearSinceDateSynchro(java.sql.Timestamp) with an
additional flag called transform . |
java.util.Collection |
getAllGearSinceDateSynchro(java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as GearDao.getAllGearSinceDateSynchro(String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllGearSinceDateSynchro(java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as GearDao.getAllGearSinceDateSynchro(java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllGearSinceDateSynchro(java.sql.Timestamp updateDate)
|
protected GearAssociationDao |
getGearAssociationDao()
Gets the reference to gearAssociationDao . |
protected GearClassificationDao |
getGearClassificationDao()
Gets the reference to gearClassificationDao . |
protected GearDao |
getGearDao()
Gets the reference to gearDao . |
protected java.security.Principal |
getPrincipal()
Gets the current principal if one has been set,
otherwise returns null . |
protected StatusDao |
getStatusDao()
Gets the reference to statusDao . |
protected abstract Gear |
handleCreateFromClusterGear(ClusterGear clusterGear)
Performs the core logic for createFromClusterGear(fr.ifremer.allegro.referential.gear.generic.cluster.ClusterGear) |
protected abstract ClusterGear[] |
handleGetAllClusterGearSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize)
Performs the core logic for getAllClusterGearSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer) |
Gear |
load(java.lang.Integer id)
Loads an instance of fr.ifremer.allegro.referential.gear.Gear from the persistent store. |
java.lang.Object |
load(int transform,
java.lang.Integer id)
Does the same thing as GearDao.load(java.lang.Integer) with an
additional flag called transform . |
java.util.Collection |
loadAll()
Loads all entities of type Gear . |
java.util.Collection |
loadAll(int transform)
Does the same thing as GearDao.loadAll() with an
additional flag called transform . |
java.util.Collection |
loadAll(int pageNumber,
int pageSize)
Does the same thing as GearDao.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 GearDao.loadAll(int) with an
additional two arguments called pageNumber and pageSize . |
void |
remoteGearFullVOToEntity(RemoteGearFullVO source,
Gear target,
boolean copyIfNull)
Copies the fields of RemoteGearFullVO to the specified entity. |
void |
remoteGearFullVOToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteGearFullVO to this
DAO's entity. |
void |
remoteGearNaturalIdToEntity(RemoteGearNaturalId source,
Gear target,
boolean copyIfNull)
Copies the fields of RemoteGearNaturalId to the specified entity. |
void |
remoteGearNaturalIdToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteGearNaturalId to this
DAO's entity. |
void |
remove(java.util.Collection entities)
Removes all entities in the given entities |
void |
remove(Gear gear)
Removes the instance of fr.ifremer.allegro.referential.gear.Gear from the persistent store. |
void |
remove(java.lang.Integer id)
Removes the instance of fr.ifremer.allegro.referential.gear.Gear 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 GearDao.search(fr.ifremer.allegro.Search) but with an
additional flag called transform . |
java.util.Set |
search(Search search)
Performs a search using the parameters specified in the given search object. |
void |
setGearAssociationDao(GearAssociationDao gearAssociationDao)
Sets the reference to gearAssociationDao . |
void |
setGearClassificationDao(GearClassificationDao gearClassificationDao)
Sets the reference to gearClassificationDao . |
void |
setGearDao(GearDao gearDao)
Sets the reference to gearDao . |
void |
setStatusDao(StatusDao statusDao)
Sets the reference to statusDao . |
ClusterGear |
toClusterGear(Gear entity)
Converts this DAO's entity to an object of type ClusterGear . |
void |
toClusterGear(Gear source,
ClusterGear target)
Copies the fields of the specified entity to the target value object. |
protected ClusterGear |
toClusterGear(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
ClusterGear[] |
toClusterGearArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type ClusterGear . |
void |
toClusterGearCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type ClusterGear . |
protected Gear |
toEntity(java.lang.Object[] row)
|
RemoteGearFullVO |
toRemoteGearFullVO(Gear entity)
Converts this DAO's entity to an object of type RemoteGearFullVO . |
void |
toRemoteGearFullVO(Gear source,
RemoteGearFullVO target)
Copies the fields of the specified entity to the target value object. |
protected RemoteGearFullVO |
toRemoteGearFullVO(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteGearFullVO[] |
toRemoteGearFullVOArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteGearFullVO . |
void |
toRemoteGearFullVOCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteGearFullVO . |
RemoteGearNaturalId |
toRemoteGearNaturalId(Gear entity)
Converts this DAO's entity to an object of type RemoteGearNaturalId . |
void |
toRemoteGearNaturalId(Gear source,
RemoteGearNaturalId target)
Copies the fields of the specified entity to the target value object. |
protected RemoteGearNaturalId |
toRemoteGearNaturalId(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteGearNaturalId[] |
toRemoteGearNaturalIdArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteGearNaturalId . |
void |
toRemoteGearNaturalIdCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteGearNaturalId . |
protected void |
transformEntities(int transform,
java.util.Collection entities)
Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.gear.Gear)
method. |
protected java.lang.Object |
transformEntity(int transform,
Gear entity)
Allows transformation of entities into value objects (or something else for that matter), when the transform
flag is set to one of the constants defined in fr.ifremer.allegro.referential.gear.GearDao , please note
that the GearDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself
will be returned. |
void |
update(java.util.Collection entities)
Updates all instances in the entities collection in the persistent store. |
void |
update(Gear gear)
Updates the gear instance in the persistent store. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface fr.ifremer.allegro.referential.gear.GearDao |
---|
clusterGearToEntity, remoteGearFullVOToEntity, remoteGearNaturalIdToEntity |
Constructor Detail |
---|
public GearDaoBase()
Method Detail |
---|
public void setGearDao(GearDao gearDao)
gearDao
.
protected GearDao getGearDao()
gearDao
.
public void setGearClassificationDao(GearClassificationDao gearClassificationDao)
gearClassificationDao
.
protected GearClassificationDao getGearClassificationDao()
gearClassificationDao
.
public void setStatusDao(StatusDao statusDao)
statusDao
.
protected StatusDao getStatusDao()
statusDao
.
public void setGearAssociationDao(GearAssociationDao gearAssociationDao)
gearAssociationDao
.
protected GearAssociationDao getGearAssociationDao()
gearAssociationDao
.
public java.lang.Object load(int transform, java.lang.Integer id)
GearDao
Does the same thing as GearDao.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
GearDao.load(int, java.lang.Integer)
public Gear load(java.lang.Integer id)
GearDao
load
in interface GearDao
GearDao.load(java.lang.Integer)
public java.util.Collection loadAll()
GearDao
Gear
.
loadAll
in interface GearDao
GearDao.loadAll()
public java.util.Collection loadAll(int transform)
GearDao
Does the same thing as GearDao.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.
GearDao.loadAll(int)
public java.util.Collection loadAll(int pageNumber, int pageSize)
GearDao
Does the same thing as GearDao.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.
GearDao.loadAll(int, int)
public java.util.Collection loadAll(int transform, int pageNumber, int pageSize)
GearDao
Does the same thing as GearDao.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.
GearDao.loadAll(int, int, int)
public Gear create(Gear gear)
GearDao
create
in interface GearDao
GearDao.create(fr.ifremer.allegro.referential.gear.Gear)
public java.lang.Object create(int transform, Gear gear)
GearDao
Does the same thing as GearDao.create(fr.ifremer.allegro.referential.gear.Gear)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined here then the result WILL BE passed through an operation which can optionally
transform the entity (into a value object for example). By default, transformation does
not occur.
create
in interface GearDao
GearDao.create(int transform, fr.ifremer.allegro.referential.gear.Gear)
public java.util.Collection create(java.util.Collection entities)
GearDao
entities
collection
create
in interface GearDao
entities
- the collection of fr.ifremer.allegro.referential.gear.Gear
instances to create.
GearDao.create(java.util.Collection)
public java.util.Collection create(int transform, java.util.Collection entities)
GearDao
Does the same thing as GearDao.create(fr.ifremer.allegro.referential.gear.Gear)
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
GearDao.create(int, java.util.Collection)
public 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)
GearDao
Creates a new fr.ifremer.allegro.referential.gear.Gear
instance from all attributes and
properties and adds it to the persistent store.
create
in interface GearDao
GearDao.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)
public 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)
GearDao
Does the same thing as GearDao.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)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined here then the result WILL BE passed through an operation which can optionally
transform the entity (into a value object for example). By default, transformation does
not occur.
create
in interface GearDao
GearDao.create(int, 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)
public Gear create(GearClassification gearClassification, java.lang.String label, java.lang.String name, Status status)
GearDao
Creates a new fr.ifremer.allegro.referential.gear.Gear
instance from only required properties (attributes
and association ends) and adds it to the persistent store.
create
in interface GearDao
GearDao.create(fr.ifremer.allegro.referential.gear.GearClassification,java.lang.String,java.lang.String,fr.ifremer.allegro.referential.Status)
public java.lang.Object create(int transform, GearClassification gearClassification, java.lang.String label, java.lang.String name, Status status)
GearDao
Does the same thing as GearDao.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
GearDao.create(int, fr.ifremer.allegro.referential.gear.GearClassification,java.lang.String,java.lang.String,fr.ifremer.allegro.referential.Status)
public void update(Gear gear)
GearDao
gear
instance in the persistent store.
update
in interface GearDao
GearDao.update(fr.ifremer.allegro.referential.gear.Gear)
public void update(java.util.Collection entities)
GearDao
entities
collection in the persistent store.
update
in interface GearDao
GearDao.update(java.util.Collection)
public void remove(Gear gear)
GearDao
remove
in interface GearDao
GearDao.remove(fr.ifremer.allegro.referential.gear.Gear)
public void remove(java.lang.Integer id)
GearDao
identifier
from the persistent store.
remove
in interface GearDao
GearDao.remove(java.lang.Integer)
public void remove(java.util.Collection entities)
GearDao
entities collection.
- Specified by:
remove
in interface GearDao
- See Also:
GearDao.remove(java.util.Collection)
public java.util.Collection getAllGear()
getAllGear
in interface GearDao
GearDao.getAllGear()
public java.util.Collection getAllGear(int transform)
GearDao
Does the same thing as GearDao.getAllGear()
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.
getAllGear
in interface GearDao
GearDao.getAllGear(int)
public java.util.Collection getAllGear(java.lang.String queryString)
GearDao
Does the same thing as GearDao.getAllGear()
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in GearDao.getAllGear()
.
getAllGear
in interface GearDao
GearDao.getAllGear(java.lang.String)
public java.util.Collection getAllGear(int pageNumber, int pageSize)
GearDao
Does the same thing as GearDao.getAllGear()
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.
getAllGear
in interface GearDao
GearDao.getAllGear(int, int)
public java.util.Collection getAllGear(java.lang.String queryString, int pageNumber, int pageSize)
GearDao
Does the same thing as GearDao.getAllGear(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.
getAllGear
in interface GearDao
GearDao.getAllGear(String, int, int)
public java.util.Collection getAllGear(int transform, java.lang.String queryString)
GearDao
Does the same thing as GearDao.getAllGear(int)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in GearDao.getAllGear(int)
.
getAllGear
in interface GearDao
GearDao.getAllGear(int, String)
public java.util.Collection getAllGear(int transform, int pageNumber, int pageSize)
GearDao
Does the same thing as GearDao.getAllGear(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.
getAllGear
in interface GearDao
GearDao.getAllGear(int, int, int)
public java.util.Collection getAllGear(int transform, java.lang.String queryString, int pageNumber, int pageSize)
GearDao
Does the same thing as GearDao.getAllGear(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.
getAllGear
in interface GearDao
GearDao.getAllGear(int, java.lang.String, int, int)
public Gear findGearById(java.lang.Integer id)
findGearById
in interface GearDao
GearDao.findGearById(java.lang.Integer)
public java.lang.Object findGearById(int transform, java.lang.Integer id)
GearDao
Does the same thing as GearDao.findGearById(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.
findGearById
in interface GearDao
GearDao.findGearById(int, java.lang.Integer)
public Gear findGearById(java.lang.String queryString, java.lang.Integer id)
GearDao
Does the same thing as GearDao.findGearById(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in GearDao.findGearById(java.lang.Integer)
.
findGearById
in interface GearDao
GearDao.findGearById(java.lang.String, java.lang.Integer)
public java.lang.Object findGearById(int transform, java.lang.String queryString, java.lang.Integer id)
GearDao
Does the same thing as GearDao.findGearById(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in GearDao.findGearById(int, java.lang.Integer id)
.
findGearById
in interface GearDao
GearDao.findGearById(int, java.lang.String, java.lang.Integer)
public java.util.Collection findGearByParentGear(Gear parentGear)
findGearByParentGear
in interface GearDao
GearDao.findGearByParentGear(fr.ifremer.allegro.referential.gear.Gear)
public java.util.Collection findGearByParentGear(int transform, Gear parentGear)
GearDao
Does the same thing as GearDao.findGearByParentGear(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.
findGearByParentGear
in interface GearDao
GearDao.findGearByParentGear(int, fr.ifremer.allegro.referential.gear.Gear)
public java.util.Collection findGearByParentGear(java.lang.String queryString, Gear parentGear)
GearDao
Does the same thing as GearDao.findGearByParentGear(fr.ifremer.allegro.referential.gear.Gear)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in GearDao.findGearByParentGear(fr.ifremer.allegro.referential.gear.Gear)
.
findGearByParentGear
in interface GearDao
GearDao.findGearByParentGear(java.lang.String, fr.ifremer.allegro.referential.gear.Gear)
public java.util.Collection findGearByParentGear(int pageNumber, int pageSize, Gear parentGear)
GearDao
Does the same thing as GearDao.findGearByParentGear(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.
findGearByParentGear
in interface GearDao
GearDao.findGearByParentGear(int, int, fr.ifremer.allegro.referential.gear.Gear)
public java.util.Collection findGearByParentGear(java.lang.String queryString, int pageNumber, int pageSize, Gear parentGear)
GearDao
Does the same thing as GearDao.findGearByParentGear(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.
findGearByParentGear
in interface GearDao
GearDao.findGearByParentGear(String, int, int, fr.ifremer.allegro.referential.gear.Gear)
public java.util.Collection findGearByParentGear(int transform, java.lang.String queryString, Gear parentGear)
GearDao
Does the same thing as GearDao.findGearByParentGear(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 GearDao.findGearByParentGear(int, fr.ifremer.allegro.referential.gear.Gear parentGear)
.
findGearByParentGear
in interface GearDao
GearDao.findGearByParentGear(int, String, fr.ifremer.allegro.referential.gear.Gear)
public java.util.Collection findGearByParentGear(int transform, int pageNumber, int pageSize, Gear parentGear)
GearDao
Does the same thing as GearDao.findGearByParentGear(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.
findGearByParentGear
in interface GearDao
GearDao.findGearByParentGear(int, int, int, fr.ifremer.allegro.referential.gear.Gear)
public java.util.Collection findGearByParentGear(int transform, java.lang.String queryString, int pageNumber, int pageSize, Gear parentGear)
GearDao
Does the same thing as GearDao.findGearByParentGear(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.
findGearByParentGear
in interface GearDao
GearDao.findGearByParentGear(int, java.lang.String, int, int, fr.ifremer.allegro.referential.gear.Gear)
public java.util.Collection findGearByGearClassification(GearClassification gearClassification)
findGearByGearClassification
in interface GearDao
GearDao.findGearByGearClassification(fr.ifremer.allegro.referential.gear.GearClassification)
public java.util.Collection findGearByGearClassification(int transform, GearClassification gearClassification)
GearDao
Does the same thing as GearDao.findGearByGearClassification(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.
findGearByGearClassification
in interface GearDao
GearDao.findGearByGearClassification(int, fr.ifremer.allegro.referential.gear.GearClassification)
public java.util.Collection findGearByGearClassification(java.lang.String queryString, GearClassification gearClassification)
GearDao
Does the same thing as GearDao.findGearByGearClassification(fr.ifremer.allegro.referential.gear.GearClassification)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in GearDao.findGearByGearClassification(fr.ifremer.allegro.referential.gear.GearClassification)
.
findGearByGearClassification
in interface GearDao
GearDao.findGearByGearClassification(java.lang.String, fr.ifremer.allegro.referential.gear.GearClassification)
public java.util.Collection findGearByGearClassification(int pageNumber, int pageSize, GearClassification gearClassification)
GearDao
Does the same thing as GearDao.findGearByGearClassification(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.
findGearByGearClassification
in interface GearDao
GearDao.findGearByGearClassification(int, int, fr.ifremer.allegro.referential.gear.GearClassification)
public java.util.Collection findGearByGearClassification(java.lang.String queryString, int pageNumber, int pageSize, GearClassification gearClassification)
GearDao
Does the same thing as GearDao.findGearByGearClassification(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.
findGearByGearClassification
in interface GearDao
GearDao.findGearByGearClassification(String, int, int, fr.ifremer.allegro.referential.gear.GearClassification)
public java.util.Collection findGearByGearClassification(int transform, java.lang.String queryString, GearClassification gearClassification)
GearDao
Does the same thing as GearDao.findGearByGearClassification(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 GearDao.findGearByGearClassification(int, fr.ifremer.allegro.referential.gear.GearClassification gearClassification)
.
findGearByGearClassification
in interface GearDao
GearDao.findGearByGearClassification(int, String, fr.ifremer.allegro.referential.gear.GearClassification)
public java.util.Collection findGearByGearClassification(int transform, int pageNumber, int pageSize, GearClassification gearClassification)
GearDao
Does the same thing as GearDao.findGearByGearClassification(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.
findGearByGearClassification
in interface GearDao
GearDao.findGearByGearClassification(int, int, int, fr.ifremer.allegro.referential.gear.GearClassification)
public java.util.Collection findGearByGearClassification(int transform, java.lang.String queryString, int pageNumber, int pageSize, GearClassification gearClassification)
GearDao
Does the same thing as GearDao.findGearByGearClassification(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.
findGearByGearClassification
in interface GearDao
GearDao.findGearByGearClassification(int, java.lang.String, int, int, fr.ifremer.allegro.referential.gear.GearClassification)
public java.util.Collection findGearByStatus(Status status)
findGearByStatus
in interface GearDao
GearDao.findGearByStatus(fr.ifremer.allegro.referential.Status)
public java.util.Collection findGearByStatus(int transform, Status status)
GearDao
Does the same thing as GearDao.findGearByStatus(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.
findGearByStatus
in interface GearDao
GearDao.findGearByStatus(int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findGearByStatus(java.lang.String queryString, Status status)
GearDao
Does the same thing as GearDao.findGearByStatus(fr.ifremer.allegro.referential.Status)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in GearDao.findGearByStatus(fr.ifremer.allegro.referential.Status)
.
findGearByStatus
in interface GearDao
GearDao.findGearByStatus(java.lang.String, fr.ifremer.allegro.referential.Status)
public java.util.Collection findGearByStatus(int pageNumber, int pageSize, Status status)
GearDao
Does the same thing as GearDao.findGearByStatus(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.
findGearByStatus
in interface GearDao
GearDao.findGearByStatus(int, int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findGearByStatus(java.lang.String queryString, int pageNumber, int pageSize, Status status)
GearDao
Does the same thing as GearDao.findGearByStatus(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.
findGearByStatus
in interface GearDao
GearDao.findGearByStatus(String, int, int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findGearByStatus(int transform, java.lang.String queryString, Status status)
GearDao
Does the same thing as GearDao.findGearByStatus(int, fr.ifremer.allegro.referential.Status)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in GearDao.findGearByStatus(int, fr.ifremer.allegro.referential.Status status)
.
findGearByStatus
in interface GearDao
GearDao.findGearByStatus(int, String, fr.ifremer.allegro.referential.Status)
public java.util.Collection findGearByStatus(int transform, int pageNumber, int pageSize, Status status)
GearDao
Does the same thing as GearDao.findGearByStatus(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.
findGearByStatus
in interface GearDao
GearDao.findGearByStatus(int, int, int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findGearByStatus(int transform, java.lang.String queryString, int pageNumber, int pageSize, Status status)
GearDao
Does the same thing as GearDao.findGearByStatus(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.
findGearByStatus
in interface GearDao
GearDao.findGearByStatus(int, java.lang.String, int, int, fr.ifremer.allegro.referential.Status)
public Gear findGearByNaturalId(java.lang.Integer id)
findGearByNaturalId
in interface GearDao
GearDao.findGearByNaturalId(java.lang.Integer)
public java.lang.Object findGearByNaturalId(int transform, java.lang.Integer id)
GearDao
Does the same thing as GearDao.findGearByNaturalId(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.
findGearByNaturalId
in interface GearDao
GearDao.findGearByNaturalId(int, java.lang.Integer)
public Gear findGearByNaturalId(java.lang.String queryString, java.lang.Integer id)
GearDao
Does the same thing as GearDao.findGearByNaturalId(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in GearDao.findGearByNaturalId(java.lang.Integer)
.
findGearByNaturalId
in interface GearDao
GearDao.findGearByNaturalId(java.lang.String, java.lang.Integer)
public java.lang.Object findGearByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
GearDao
Does the same thing as GearDao.findGearByNaturalId(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in GearDao.findGearByNaturalId(int, java.lang.Integer id)
.
findGearByNaturalId
in interface GearDao
GearDao.findGearByNaturalId(int, java.lang.String, java.lang.Integer)
public java.util.Collection getAllGearSinceDateSynchro(java.sql.Timestamp updateDate)
getAllGearSinceDateSynchro
in interface GearDao
GearDao.getAllGearSinceDateSynchro(java.sql.Timestamp)
public java.util.Collection getAllGearSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
GearDao
Does the same thing as GearDao.getAllGearSinceDateSynchro(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.
getAllGearSinceDateSynchro
in interface GearDao
GearDao.getAllGearSinceDateSynchro(int, java.sql.Timestamp)
public java.util.Collection getAllGearSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
GearDao
Does the same thing as GearDao.getAllGearSinceDateSynchro(java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in GearDao.getAllGearSinceDateSynchro(java.sql.Timestamp)
.
getAllGearSinceDateSynchro
in interface GearDao
GearDao.getAllGearSinceDateSynchro(java.lang.String, java.sql.Timestamp)
public java.util.Collection getAllGearSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
GearDao
Does the same thing as GearDao.getAllGearSinceDateSynchro(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.
getAllGearSinceDateSynchro
in interface GearDao
GearDao.getAllGearSinceDateSynchro(int, int, java.sql.Timestamp)
public java.util.Collection getAllGearSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
GearDao
Does the same thing as GearDao.getAllGearSinceDateSynchro(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.
getAllGearSinceDateSynchro
in interface GearDao
GearDao.getAllGearSinceDateSynchro(String, int, int, java.sql.Timestamp)
public java.util.Collection getAllGearSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
GearDao
Does the same thing as GearDao.getAllGearSinceDateSynchro(int, java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in GearDao.getAllGearSinceDateSynchro(int, java.sql.Timestamp updateDate)
.
getAllGearSinceDateSynchro
in interface GearDao
GearDao.getAllGearSinceDateSynchro(int, String, java.sql.Timestamp)
public java.util.Collection getAllGearSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
GearDao
Does the same thing as GearDao.getAllGearSinceDateSynchro(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.
getAllGearSinceDateSynchro
in interface GearDao
GearDao.getAllGearSinceDateSynchro(int, int, int, java.sql.Timestamp)
public java.util.Collection getAllGearSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
GearDao
Does the same thing as GearDao.getAllGearSinceDateSynchro(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.
getAllGearSinceDateSynchro
in interface GearDao
GearDao.getAllGearSinceDateSynchro(int, java.lang.String, int, int, java.sql.Timestamp)
public Gear createFromClusterGear(ClusterGear clusterGear)
createFromClusterGear
in interface GearDao
GearDao.createFromClusterGear(fr.ifremer.allegro.referential.gear.generic.cluster.ClusterGear)
protected abstract Gear handleCreateFromClusterGear(ClusterGear clusterGear) throws java.lang.Exception
createFromClusterGear(fr.ifremer.allegro.referential.gear.generic.cluster.ClusterGear)
java.lang.Exception
public ClusterGear[] getAllClusterGearSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
getAllClusterGearSinceDateSynchro
in interface GearDao
GearDao.getAllClusterGearSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected abstract ClusterGear[] handleGetAllClusterGearSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize) throws java.lang.Exception
getAllClusterGearSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
java.lang.Exception
protected java.lang.Object transformEntity(int transform, Gear entity)
transform
flag is set to one of the constants defined in fr.ifremer.allegro.referential.gear.GearDao
, please note
that the GearDao.TRANSFORM_NONE
constant denotes no transformation, so the entity itself
will be returned.
This method will return instances of these types:
Gear
- GearDao.TRANSFORM_NONE
RemoteGearFullVO
- TRANSFORM_REMOTEGEARFULLVO
RemoteGearNaturalId
- TRANSFORM_REMOTEGEARNATURALID
ClusterGear
- TRANSFORM_CLUSTERGEAR
GearDao.TRANSFORM_NONE
is assumed.
transform
- one of the constants declared in GearDao
entity
- an entity that was found
transformEntities(int,java.util.Collection)
protected void transformEntities(int transform, java.util.Collection entities)
transformEntity(int,fr.ifremer.allegro.referential.gear.Gear)
method. This method does not instantiate a new collection.
This method is to be used internally only.
transform
- one of the constants declared in fr.ifremer.allegro.referential.gear.GearDao
entities
- the collection of entities to transformtransformEntity(int,fr.ifremer.allegro.referential.gear.Gear)
protected Gear toEntity(java.lang.Object[] row)
public final void toRemoteGearFullVOCollection(java.util.Collection entities)
GearDao
RemoteGearFullVO
.
toRemoteGearFullVOCollection
in interface GearDao
GearDao.toRemoteGearFullVOCollection(java.util.Collection)
public final RemoteGearFullVO[] toRemoteGearFullVOArray(java.util.Collection entities)
GearDao
RemoteGearFullVO
.
toRemoteGearFullVOArray
in interface GearDao
GearDao.toRemoteGearFullVOArray(java.util.Collection)
protected RemoteGearFullVO toRemoteGearFullVO(java.lang.Object[] row)
GearDaoImpl
class if you intend to use reporting queries.
GearDao.toRemoteGearFullVO(fr.ifremer.allegro.referential.gear.Gear)
public final void remoteGearFullVOToEntityCollection(java.util.Collection instances)
GearDao
RemoteGearFullVO
to this
DAO's entity.
remoteGearFullVOToEntityCollection
in interface GearDao
GearDao.remoteGearFullVOToEntityCollection(java.util.Collection)
public void toRemoteGearFullVO(Gear source, RemoteGearFullVO target)
GearDao
toRemoteGearFullVO
in interface GearDao
GearDao.toRemoteGearFullVO(fr.ifremer.allegro.referential.gear.Gear, fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearFullVO)
public RemoteGearFullVO toRemoteGearFullVO(Gear entity)
GearDao
RemoteGearFullVO
.
toRemoteGearFullVO
in interface GearDao
GearDao.toRemoteGearFullVO(fr.ifremer.allegro.referential.gear.Gear)
public void remoteGearFullVOToEntity(RemoteGearFullVO source, Gear target, boolean copyIfNull)
GearDao
RemoteGearFullVO
to the specified entity.
remoteGearFullVOToEntity
in interface GearDao
copyIfNull
- If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE,
it will be copied regardless of its value.fr.ifremer.allegro.referential.gear.GearDao#remoteGearFullVOToEntity(fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearFullVO, fr.ifremer.allegro.referential.gear.Gear)
public final void toRemoteGearNaturalIdCollection(java.util.Collection entities)
GearDao
RemoteGearNaturalId
.
toRemoteGearNaturalIdCollection
in interface GearDao
GearDao.toRemoteGearNaturalIdCollection(java.util.Collection)
public final RemoteGearNaturalId[] toRemoteGearNaturalIdArray(java.util.Collection entities)
GearDao
RemoteGearNaturalId
.
toRemoteGearNaturalIdArray
in interface GearDao
GearDao.toRemoteGearNaturalIdArray(java.util.Collection)
protected RemoteGearNaturalId toRemoteGearNaturalId(java.lang.Object[] row)
GearDaoImpl
class if you intend to use reporting queries.
GearDao.toRemoteGearNaturalId(fr.ifremer.allegro.referential.gear.Gear)
public final void remoteGearNaturalIdToEntityCollection(java.util.Collection instances)
GearDao
RemoteGearNaturalId
to this
DAO's entity.
remoteGearNaturalIdToEntityCollection
in interface GearDao
GearDao.remoteGearNaturalIdToEntityCollection(java.util.Collection)
public void toRemoteGearNaturalId(Gear source, RemoteGearNaturalId target)
GearDao
toRemoteGearNaturalId
in interface GearDao
GearDao.toRemoteGearNaturalId(fr.ifremer.allegro.referential.gear.Gear, fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearNaturalId)
public RemoteGearNaturalId toRemoteGearNaturalId(Gear entity)
GearDao
RemoteGearNaturalId
.
toRemoteGearNaturalId
in interface GearDao
GearDao.toRemoteGearNaturalId(fr.ifremer.allegro.referential.gear.Gear)
public void remoteGearNaturalIdToEntity(RemoteGearNaturalId source, Gear target, boolean copyIfNull)
GearDao
RemoteGearNaturalId
to the specified entity.
remoteGearNaturalIdToEntity
in interface GearDao
copyIfNull
- If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE,
it will be copied regardless of its value.fr.ifremer.allegro.referential.gear.GearDao#remoteGearNaturalIdToEntity(fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearNaturalId, fr.ifremer.allegro.referential.gear.Gear)
public final void toClusterGearCollection(java.util.Collection entities)
GearDao
ClusterGear
.
toClusterGearCollection
in interface GearDao
GearDao.toClusterGearCollection(java.util.Collection)
public final ClusterGear[] toClusterGearArray(java.util.Collection entities)
GearDao
ClusterGear
.
toClusterGearArray
in interface GearDao
GearDao.toClusterGearArray(java.util.Collection)
protected ClusterGear toClusterGear(java.lang.Object[] row)
GearDaoImpl
class if you intend to use reporting queries.
GearDao.toClusterGear(fr.ifremer.allegro.referential.gear.Gear)
public final void clusterGearToEntityCollection(java.util.Collection instances)
GearDao
ClusterGear
to this
DAO's entity.
clusterGearToEntityCollection
in interface GearDao
GearDao.clusterGearToEntityCollection(java.util.Collection)
public void toClusterGear(Gear source, ClusterGear target)
GearDao
toClusterGear
in interface GearDao
GearDao.toClusterGear(fr.ifremer.allegro.referential.gear.Gear, fr.ifremer.allegro.referential.gear.generic.cluster.ClusterGear)
public ClusterGear toClusterGear(Gear entity)
GearDao
ClusterGear
.
toClusterGear
in interface GearDao
GearDao.toClusterGear(fr.ifremer.allegro.referential.gear.Gear)
public void clusterGearToEntity(ClusterGear source, Gear target, boolean copyIfNull)
GearDao
ClusterGear
to the specified entity.
clusterGearToEntity
in interface GearDao
copyIfNull
- If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE,
it will be copied regardless of its value.fr.ifremer.allegro.referential.gear.GearDao#clusterGearToEntity(fr.ifremer.allegro.referential.gear.generic.cluster.ClusterGear, fr.ifremer.allegro.referential.gear.Gear)
protected java.security.Principal getPrincipal()
principal
if one has been set,
otherwise returns null
.
public PaginationResult search(int transform, int pageNumber, int pageSize, Search search)
GearDao
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.GearDao.search(int, int, int, fr.ifremer.allegro.Search)
public PaginationResult search(int pageNumber, int pageSize, Search search)
GearDao
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.GearDao.search(int, int, fr.ifremer.allegro.Search)
public java.util.Set search(int transform, Search search)
GearDao
GearDao.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.
GearDao.search(int, fr.ifremer.allegro.Search)
public java.util.Set search(Search search)
GearDao
search
object.
search
in interface GearDao
search
- the search object which provides the search parameters and pagination specification.
GearDao.search(fr.ifremer.allegro.Search)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |