|
||||||||||
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.GearAssociationDaoBase
public abstract class GearAssociationDaoBase
Base Spring DAO Class: is able to create, update, remove, load, and find
objects of type fr.ifremer.allegro.referential.gear.GearAssociation
.
GearAssociation
Field Summary |
---|
Fields inherited from interface fr.ifremer.allegro.referential.gear.GearAssociationDao |
---|
TRANSFORM_CLUSTERGEARASSOCIATION, TRANSFORM_NONE, TRANSFORM_REMOTEGEARASSOCIATIONFULLVO, TRANSFORM_REMOTEGEARASSOCIATIONNATURALID |
Constructor Summary | |
---|---|
GearAssociationDaoBase()
|
Method Summary | |
---|---|
void |
clusterGearAssociationToEntity(ClusterGearAssociation source,
GearAssociation target,
boolean copyIfNull)
Copies the fields of ClusterGearAssociation to the specified entity. |
void |
clusterGearAssociationToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type ClusterGearAssociation to this
DAO's entity. |
java.util.Collection |
create(java.util.Collection entities)
Creates a new instance of fr.ifremer.allegro.referential.gear.GearAssociation and adds from the passed in entities collection |
GearAssociation |
create(GearAssociation gearAssociation)
Creates an instance of fr.ifremer.allegro.referential.gear.GearAssociation and adds it to the persistent store. |
GearAssociation |
create(Gear fromGear,
Gear toGear)
Creates a new fr.ifremer.allegro.referential.gear.GearAssociation
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 GearAssociationDao.create(fr.ifremer.allegro.referential.gear.GearAssociation) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
GearAssociation gearAssociation)
Does the same thing as GearAssociationDao.create(fr.ifremer.allegro.referential.gear.GearAssociation) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
Gear fromGear,
Gear toGear)
Does the same thing as GearAssociationDao.create(fr.ifremer.allegro.referential.gear.Gear,fr.ifremer.allegro.referential.gear.Gear) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
java.sql.Timestamp updateDate,
Gear fromGear,
Gear toGear)
Does the same thing as GearAssociationDao.create(java.sql.Timestamp,fr.ifremer.allegro.referential.gear.Gear,fr.ifremer.allegro.referential.gear.Gear) with an
additional flag called transform . |
GearAssociation |
create(java.sql.Timestamp updateDate,
Gear fromGear,
Gear toGear)
Creates a new fr.ifremer.allegro.referential.gear.GearAssociation
instance from all attributes and
properties and adds it to the persistent store. |
GearAssociation |
createFromClusterGearAssociation(ClusterGearAssociation clusterGearAssociation)
|
java.util.Collection |
findGearAssociationByFromGear(Gear fromGear)
|
java.util.Collection |
findGearAssociationByFromGear(int transform,
Gear fromGear)
Does the same thing as GearAssociationDao.findGearAssociationByFromGear(fr.ifremer.allegro.referential.gear.Gear) with an
additional flag called transform . |
java.util.Collection |
findGearAssociationByFromGear(int pageNumber,
int pageSize,
Gear fromGear)
Does the same thing as GearAssociationDao.findGearAssociationByFromGear(fr.ifremer.allegro.referential.gear.Gear) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findGearAssociationByFromGear(int transform,
int pageNumber,
int pageSize,
Gear fromGear)
Does the same thing as GearAssociationDao.findGearAssociationByFromGear(int, fr.ifremer.allegro.referential.gear.Gear) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findGearAssociationByFromGear(int transform,
java.lang.String queryString,
Gear fromGear)
Does the same thing as GearAssociationDao.findGearAssociationByFromGear(int, fr.ifremer.allegro.referential.gear.Gear) with an
additional argument called queryString . |
java.util.Collection |
findGearAssociationByFromGear(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
Gear fromGear)
Does the same thing as GearAssociationDao.findGearAssociationByFromGear(int, String, fr.ifremer.allegro.referential.gear.Gear) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findGearAssociationByFromGear(java.lang.String queryString,
Gear fromGear)
Does the same thing as GearAssociationDao.findGearAssociationByFromGear(fr.ifremer.allegro.referential.gear.Gear) with an
additional argument called queryString . |
java.util.Collection |
findGearAssociationByFromGear(java.lang.String queryString,
int pageNumber,
int pageSize,
Gear fromGear)
Does the same thing as GearAssociationDao.findGearAssociationByFromGear(String, fr.ifremer.allegro.referential.gear.Gear) with an
additional two arguments called pageNumber and pageSize . |
GearAssociation |
findGearAssociationByIdentifiers(Gear toGear,
Gear fromGear)
|
java.lang.Object |
findGearAssociationByIdentifiers(int transform,
Gear toGear,
Gear fromGear)
Does the same thing as GearAssociationDao.findGearAssociationByIdentifiers(fr.ifremer.allegro.referential.gear.Gear, fr.ifremer.allegro.referential.gear.Gear) with an
additional flag called transform . |
java.lang.Object |
findGearAssociationByIdentifiers(int transform,
java.lang.String queryString,
Gear toGear,
Gear fromGear)
Does the same thing as GearAssociationDao.findGearAssociationByIdentifiers(int, fr.ifremer.allegro.referential.gear.Gear, fr.ifremer.allegro.referential.gear.Gear) with an
additional argument called queryString . |
GearAssociation |
findGearAssociationByIdentifiers(java.lang.String queryString,
Gear toGear,
Gear fromGear)
Does the same thing as GearAssociationDao.findGearAssociationByIdentifiers(fr.ifremer.allegro.referential.gear.Gear, fr.ifremer.allegro.referential.gear.Gear) with an
additional argument called queryString . |
GearAssociation |
findGearAssociationByNaturalId(Gear toGear,
Gear fromGear)
|
java.lang.Object |
findGearAssociationByNaturalId(int transform,
Gear toGear,
Gear fromGear)
Does the same thing as GearAssociationDao.findGearAssociationByNaturalId(fr.ifremer.allegro.referential.gear.Gear, fr.ifremer.allegro.referential.gear.Gear) with an
additional flag called transform . |
java.lang.Object |
findGearAssociationByNaturalId(int transform,
java.lang.String queryString,
Gear toGear,
Gear fromGear)
Does the same thing as GearAssociationDao.findGearAssociationByNaturalId(int, fr.ifremer.allegro.referential.gear.Gear, fr.ifremer.allegro.referential.gear.Gear) with an
additional argument called queryString . |
GearAssociation |
findGearAssociationByNaturalId(java.lang.String queryString,
Gear toGear,
Gear fromGear)
Does the same thing as GearAssociationDao.findGearAssociationByNaturalId(fr.ifremer.allegro.referential.gear.Gear, fr.ifremer.allegro.referential.gear.Gear) with an
additional argument called queryString . |
java.util.Collection |
findGearAssociationByToGear(Gear toGear)
|
java.util.Collection |
findGearAssociationByToGear(int transform,
Gear toGear)
Does the same thing as GearAssociationDao.findGearAssociationByToGear(fr.ifremer.allegro.referential.gear.Gear) with an
additional flag called transform . |
java.util.Collection |
findGearAssociationByToGear(int pageNumber,
int pageSize,
Gear toGear)
Does the same thing as GearAssociationDao.findGearAssociationByToGear(fr.ifremer.allegro.referential.gear.Gear) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findGearAssociationByToGear(int transform,
int pageNumber,
int pageSize,
Gear toGear)
Does the same thing as GearAssociationDao.findGearAssociationByToGear(int, fr.ifremer.allegro.referential.gear.Gear) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findGearAssociationByToGear(int transform,
java.lang.String queryString,
Gear toGear)
Does the same thing as GearAssociationDao.findGearAssociationByToGear(int, fr.ifremer.allegro.referential.gear.Gear) with an
additional argument called queryString . |
java.util.Collection |
findGearAssociationByToGear(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
Gear toGear)
Does the same thing as GearAssociationDao.findGearAssociationByToGear(int, String, fr.ifremer.allegro.referential.gear.Gear) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findGearAssociationByToGear(java.lang.String queryString,
Gear toGear)
Does the same thing as GearAssociationDao.findGearAssociationByToGear(fr.ifremer.allegro.referential.gear.Gear) with an
additional argument called queryString . |
java.util.Collection |
findGearAssociationByToGear(java.lang.String queryString,
int pageNumber,
int pageSize,
Gear toGear)
Does the same thing as GearAssociationDao.findGearAssociationByToGear(String, fr.ifremer.allegro.referential.gear.Gear) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllGearAssociation()
|
java.util.Collection |
getAllGearAssociation(int transform)
Does the same thing as GearAssociationDao.getAllGearAssociation() with an
additional flag called transform . |
java.util.Collection |
getAllGearAssociation(int pageNumber,
int pageSize)
Does the same thing as GearAssociationDao.getAllGearAssociation() with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllGearAssociation(int transform,
int pageNumber,
int pageSize)
Does the same thing as GearAssociationDao.getAllGearAssociation(int) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllGearAssociation(int transform,
java.lang.String queryString)
Does the same thing as GearAssociationDao.getAllGearAssociation(int) with an
additional argument called queryString . |
java.util.Collection |
getAllGearAssociation(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as GearAssociationDao.getAllGearAssociation(int, String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllGearAssociation(java.lang.String queryString)
Does the same thing as GearAssociationDao.getAllGearAssociation() with an
additional argument called queryString . |
java.util.Collection |
getAllGearAssociation(java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as GearAssociationDao.getAllGearAssociation(String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllGearAssociationSinceDateSynchro(int transform,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as GearAssociationDao.getAllGearAssociationSinceDateSynchro(int, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllGearAssociationSinceDateSynchro(int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as GearAssociationDao.getAllGearAssociationSinceDateSynchro(java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllGearAssociationSinceDateSynchro(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as GearAssociationDao.getAllGearAssociationSinceDateSynchro(int, String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllGearAssociationSinceDateSynchro(int transform,
java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as GearAssociationDao.getAllGearAssociationSinceDateSynchro(int, java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllGearAssociationSinceDateSynchro(int transform,
java.sql.Timestamp updateDate)
Does the same thing as GearAssociationDao.getAllGearAssociationSinceDateSynchro(java.sql.Timestamp) with an
additional flag called transform . |
java.util.Collection |
getAllGearAssociationSinceDateSynchro(java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as GearAssociationDao.getAllGearAssociationSinceDateSynchro(String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllGearAssociationSinceDateSynchro(java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as GearAssociationDao.getAllGearAssociationSinceDateSynchro(java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllGearAssociationSinceDateSynchro(java.sql.Timestamp updateDate)
|
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 abstract GearAssociation |
handleCreateFromClusterGearAssociation(ClusterGearAssociation clusterGearAssociation)
Performs the core logic for createFromClusterGearAssociation(fr.ifremer.allegro.referential.gear.generic.cluster.ClusterGearAssociation) |
GearAssociation |
load(Gear fromGear,
Gear toGear)
Loads an instance of fr.ifremer.allegro.referential.gear.GearAssociation from the persistent store. |
java.lang.Object |
load(int transform,
Gear fromGear,
Gear toGear)
Does the same thing as GearAssociationDao.load(fr.ifremer.allegro.referential.gear.Gear,fr.ifremer.allegro.referential.gear.Gear) with an
additional flag called transform . |
java.util.Collection |
loadAll()
Loads all entities of type GearAssociation . |
java.util.Collection |
loadAll(int transform)
Does the same thing as GearAssociationDao.loadAll() with an
additional flag called transform . |
java.util.Collection |
loadAll(int pageNumber,
int pageSize)
Does the same thing as GearAssociationDao.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 GearAssociationDao.loadAll(int) with an
additional two arguments called pageNumber and pageSize . |
void |
remoteGearAssociationFullVOToEntity(RemoteGearAssociationFullVO source,
GearAssociation target,
boolean copyIfNull)
Copies the fields of RemoteGearAssociationFullVO to the specified entity. |
void |
remoteGearAssociationFullVOToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteGearAssociationFullVO to this
DAO's entity. |
void |
remoteGearAssociationNaturalIdToEntity(RemoteGearAssociationNaturalId source,
GearAssociation target,
boolean copyIfNull)
Copies the fields of RemoteGearAssociationNaturalId to the specified entity. |
void |
remoteGearAssociationNaturalIdToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteGearAssociationNaturalId to this
DAO's entity. |
void |
remove(java.util.Collection entities)
Removes all entities in the given entities |
void |
remove(GearAssociation gearAssociation)
Removes the instance of fr.ifremer.allegro.referential.gear.GearAssociation from the persistent store. |
void |
remove(Gear fromGear,
Gear toGear)
Removes the instance of fr.ifremer.allegro.referential.gear.GearAssociation having the given identifiers 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 GearAssociationDao.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 |
setGearDao(GearDao gearDao)
Sets the reference to gearDao . |
ClusterGearAssociation |
toClusterGearAssociation(GearAssociation entity)
Converts this DAO's entity to an object of type ClusterGearAssociation . |
void |
toClusterGearAssociation(GearAssociation source,
ClusterGearAssociation target)
Copies the fields of the specified entity to the target value object. |
protected ClusterGearAssociation |
toClusterGearAssociation(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
ClusterGearAssociation[] |
toClusterGearAssociationArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type ClusterGearAssociation . |
void |
toClusterGearAssociationCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type ClusterGearAssociation . |
protected GearAssociation |
toEntity(java.lang.Object[] row)
|
RemoteGearAssociationFullVO |
toRemoteGearAssociationFullVO(GearAssociation entity)
Converts this DAO's entity to an object of type RemoteGearAssociationFullVO . |
void |
toRemoteGearAssociationFullVO(GearAssociation source,
RemoteGearAssociationFullVO target)
Copies the fields of the specified entity to the target value object. |
protected RemoteGearAssociationFullVO |
toRemoteGearAssociationFullVO(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteGearAssociationFullVO[] |
toRemoteGearAssociationFullVOArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteGearAssociationFullVO . |
void |
toRemoteGearAssociationFullVOCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteGearAssociationFullVO . |
RemoteGearAssociationNaturalId |
toRemoteGearAssociationNaturalId(GearAssociation entity)
Converts this DAO's entity to an object of type RemoteGearAssociationNaturalId . |
void |
toRemoteGearAssociationNaturalId(GearAssociation source,
RemoteGearAssociationNaturalId target)
Copies the fields of the specified entity to the target value object. |
protected RemoteGearAssociationNaturalId |
toRemoteGearAssociationNaturalId(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteGearAssociationNaturalId[] |
toRemoteGearAssociationNaturalIdArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteGearAssociationNaturalId . |
void |
toRemoteGearAssociationNaturalIdCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteGearAssociationNaturalId . |
protected void |
transformEntities(int transform,
java.util.Collection entities)
Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.gear.GearAssociation)
method. |
protected java.lang.Object |
transformEntity(int transform,
GearAssociation 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.GearAssociationDao , please note
that the GearAssociationDao.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(GearAssociation gearAssociation)
Updates the gearAssociation 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.GearAssociationDao |
---|
clusterGearAssociationToEntity, remoteGearAssociationFullVOToEntity, remoteGearAssociationNaturalIdToEntity |
Constructor Detail |
---|
public GearAssociationDaoBase()
Method Detail |
---|
public void setGearDao(GearDao gearDao)
gearDao
.
protected GearDao getGearDao()
gearDao
.
public java.lang.Object load(int transform, Gear fromGear, Gear toGear)
GearAssociationDao
Does the same thing as GearAssociationDao.load(fr.ifremer.allegro.referential.gear.Gear,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 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 GearAssociationDao
fromGear
- identifier of the entity to loadtoGear
- identifier of the entity to load
GearAssociationDao.load(int, fr.ifremer.allegro.referential.gear.Gear,fr.ifremer.allegro.referential.gear.Gear)
public GearAssociation load(Gear fromGear, Gear toGear)
GearAssociationDao
load
in interface GearAssociationDao
GearAssociationDao.load(fr.ifremer.allegro.referential.gear.Gear,fr.ifremer.allegro.referential.gear.Gear)
public java.util.Collection loadAll()
GearAssociationDao
GearAssociation
.
loadAll
in interface GearAssociationDao
GearAssociationDao.loadAll()
public java.util.Collection loadAll(int transform)
GearAssociationDao
Does the same thing as GearAssociationDao.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 GearAssociationDao
transform
- the flag indicating what transformation to use.
GearAssociationDao.loadAll(int)
public java.util.Collection loadAll(int pageNumber, int pageSize)
GearAssociationDao
Does the same thing as GearAssociationDao.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 GearAssociationDao
pageNumber
- the page number to retrieve when paging results.pageSize
- the size of the page to retrieve when paging results.
GearAssociationDao.loadAll(int, int)
public java.util.Collection loadAll(int transform, int pageNumber, int pageSize)
GearAssociationDao
Does the same thing as GearAssociationDao.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 GearAssociationDao
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.
GearAssociationDao.loadAll(int, int, int)
public GearAssociation create(GearAssociation gearAssociation)
GearAssociationDao
create
in interface GearAssociationDao
GearAssociationDao.create(fr.ifremer.allegro.referential.gear.GearAssociation)
public java.lang.Object create(int transform, GearAssociation gearAssociation)
GearAssociationDao
Does the same thing as GearAssociationDao.create(fr.ifremer.allegro.referential.gear.GearAssociation)
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 GearAssociationDao
GearAssociationDao.create(int transform, fr.ifremer.allegro.referential.gear.GearAssociation)
public java.util.Collection create(java.util.Collection entities)
GearAssociationDao
entities
collection
create
in interface GearAssociationDao
entities
- the collection of fr.ifremer.allegro.referential.gear.GearAssociation
instances to create.
GearAssociationDao.create(java.util.Collection)
public java.util.Collection create(int transform, java.util.Collection entities)
GearAssociationDao
Does the same thing as GearAssociationDao.create(fr.ifremer.allegro.referential.gear.GearAssociation)
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 GearAssociationDao
GearAssociationDao.create(int, java.util.Collection)
public GearAssociation create(java.sql.Timestamp updateDate, Gear fromGear, Gear toGear)
GearAssociationDao
Creates a new fr.ifremer.allegro.referential.gear.GearAssociation
instance from all attributes and
properties and adds it to the persistent store.
create
in interface GearAssociationDao
GearAssociationDao.create(java.sql.Timestamp,fr.ifremer.allegro.referential.gear.Gear,fr.ifremer.allegro.referential.gear.Gear)
public java.lang.Object create(int transform, java.sql.Timestamp updateDate, Gear fromGear, Gear toGear)
GearAssociationDao
Does the same thing as GearAssociationDao.create(java.sql.Timestamp,fr.ifremer.allegro.referential.gear.Gear,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 GearAssociationDao
GearAssociationDao.create(int, java.sql.Timestamp,fr.ifremer.allegro.referential.gear.Gear,fr.ifremer.allegro.referential.gear.Gear)
public GearAssociation create(Gear fromGear, Gear toGear)
GearAssociationDao
Creates a new fr.ifremer.allegro.referential.gear.GearAssociation
instance from only required properties (attributes
and association ends) and adds it to the persistent store.
create
in interface GearAssociationDao
GearAssociationDao.create(fr.ifremer.allegro.referential.gear.Gear,fr.ifremer.allegro.referential.gear.Gear)
public java.lang.Object create(int transform, Gear fromGear, Gear toGear)
GearAssociationDao
Does the same thing as GearAssociationDao.create(fr.ifremer.allegro.referential.gear.Gear,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 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 GearAssociationDao
GearAssociationDao.create(int, fr.ifremer.allegro.referential.gear.Gear,fr.ifremer.allegro.referential.gear.Gear)
public void update(GearAssociation gearAssociation)
GearAssociationDao
gearAssociation
instance in the persistent store.
update
in interface GearAssociationDao
GearAssociationDao.update(fr.ifremer.allegro.referential.gear.GearAssociation)
public void update(java.util.Collection entities)
GearAssociationDao
entities
collection in the persistent store.
update
in interface GearAssociationDao
GearAssociationDao.update(java.util.Collection)
public void remove(GearAssociation gearAssociation)
GearAssociationDao
remove
in interface GearAssociationDao
GearAssociationDao.remove(fr.ifremer.allegro.referential.gear.GearAssociation)
public void remove(Gear fromGear, Gear toGear)
GearAssociationDao
identifiers
from the persistent store.
remove
in interface GearAssociationDao
GearAssociationDao.remove(fr.ifremer.allegro.referential.gear.Gear,fr.ifremer.allegro.referential.gear.Gear)
public void remove(java.util.Collection entities)
GearAssociationDao
entities collection.
- Specified by:
remove
in interface GearAssociationDao
- See Also:
GearAssociationDao.remove(java.util.Collection)
public java.util.Collection getAllGearAssociation()
getAllGearAssociation
in interface GearAssociationDao
GearAssociationDao.getAllGearAssociation()
public java.util.Collection getAllGearAssociation(int transform)
GearAssociationDao
Does the same thing as GearAssociationDao.getAllGearAssociation()
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.
getAllGearAssociation
in interface GearAssociationDao
GearAssociationDao.getAllGearAssociation(int)
public java.util.Collection getAllGearAssociation(java.lang.String queryString)
GearAssociationDao
Does the same thing as GearAssociationDao.getAllGearAssociation()
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in GearAssociationDao.getAllGearAssociation()
.
getAllGearAssociation
in interface GearAssociationDao
GearAssociationDao.getAllGearAssociation(java.lang.String)
public java.util.Collection getAllGearAssociation(int pageNumber, int pageSize)
GearAssociationDao
Does the same thing as GearAssociationDao.getAllGearAssociation()
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.
getAllGearAssociation
in interface GearAssociationDao
GearAssociationDao.getAllGearAssociation(int, int)
public java.util.Collection getAllGearAssociation(java.lang.String queryString, int pageNumber, int pageSize)
GearAssociationDao
Does the same thing as GearAssociationDao.getAllGearAssociation(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.
getAllGearAssociation
in interface GearAssociationDao
GearAssociationDao.getAllGearAssociation(String, int, int)
public java.util.Collection getAllGearAssociation(int transform, java.lang.String queryString)
GearAssociationDao
Does the same thing as GearAssociationDao.getAllGearAssociation(int)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in GearAssociationDao.getAllGearAssociation(int)
.
getAllGearAssociation
in interface GearAssociationDao
GearAssociationDao.getAllGearAssociation(int, String)
public java.util.Collection getAllGearAssociation(int transform, int pageNumber, int pageSize)
GearAssociationDao
Does the same thing as GearAssociationDao.getAllGearAssociation(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.
getAllGearAssociation
in interface GearAssociationDao
GearAssociationDao.getAllGearAssociation(int, int, int)
public java.util.Collection getAllGearAssociation(int transform, java.lang.String queryString, int pageNumber, int pageSize)
GearAssociationDao
Does the same thing as GearAssociationDao.getAllGearAssociation(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.
getAllGearAssociation
in interface GearAssociationDao
GearAssociationDao.getAllGearAssociation(int, java.lang.String, int, int)
public java.util.Collection findGearAssociationByToGear(Gear toGear)
findGearAssociationByToGear
in interface GearAssociationDao
GearAssociationDao.findGearAssociationByToGear(fr.ifremer.allegro.referential.gear.Gear)
public java.util.Collection findGearAssociationByToGear(int transform, Gear toGear)
GearAssociationDao
Does the same thing as GearAssociationDao.findGearAssociationByToGear(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.
findGearAssociationByToGear
in interface GearAssociationDao
GearAssociationDao.findGearAssociationByToGear(int, fr.ifremer.allegro.referential.gear.Gear)
public java.util.Collection findGearAssociationByToGear(java.lang.String queryString, Gear toGear)
GearAssociationDao
Does the same thing as GearAssociationDao.findGearAssociationByToGear(fr.ifremer.allegro.referential.gear.Gear)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in GearAssociationDao.findGearAssociationByToGear(fr.ifremer.allegro.referential.gear.Gear)
.
findGearAssociationByToGear
in interface GearAssociationDao
GearAssociationDao.findGearAssociationByToGear(java.lang.String, fr.ifremer.allegro.referential.gear.Gear)
public java.util.Collection findGearAssociationByToGear(int pageNumber, int pageSize, Gear toGear)
GearAssociationDao
Does the same thing as GearAssociationDao.findGearAssociationByToGear(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.
findGearAssociationByToGear
in interface GearAssociationDao
GearAssociationDao.findGearAssociationByToGear(int, int, fr.ifremer.allegro.referential.gear.Gear)
public java.util.Collection findGearAssociationByToGear(java.lang.String queryString, int pageNumber, int pageSize, Gear toGear)
GearAssociationDao
Does the same thing as GearAssociationDao.findGearAssociationByToGear(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.
findGearAssociationByToGear
in interface GearAssociationDao
GearAssociationDao.findGearAssociationByToGear(String, int, int, fr.ifremer.allegro.referential.gear.Gear)
public java.util.Collection findGearAssociationByToGear(int transform, java.lang.String queryString, Gear toGear)
GearAssociationDao
Does the same thing as GearAssociationDao.findGearAssociationByToGear(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 GearAssociationDao.findGearAssociationByToGear(int, fr.ifremer.allegro.referential.gear.Gear toGear)
.
findGearAssociationByToGear
in interface GearAssociationDao
GearAssociationDao.findGearAssociationByToGear(int, String, fr.ifremer.allegro.referential.gear.Gear)
public java.util.Collection findGearAssociationByToGear(int transform, int pageNumber, int pageSize, Gear toGear)
GearAssociationDao
Does the same thing as GearAssociationDao.findGearAssociationByToGear(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.
findGearAssociationByToGear
in interface GearAssociationDao
GearAssociationDao.findGearAssociationByToGear(int, int, int, fr.ifremer.allegro.referential.gear.Gear)
public java.util.Collection findGearAssociationByToGear(int transform, java.lang.String queryString, int pageNumber, int pageSize, Gear toGear)
GearAssociationDao
Does the same thing as GearAssociationDao.findGearAssociationByToGear(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.
findGearAssociationByToGear
in interface GearAssociationDao
GearAssociationDao.findGearAssociationByToGear(int, java.lang.String, int, int, fr.ifremer.allegro.referential.gear.Gear)
public java.util.Collection findGearAssociationByFromGear(Gear fromGear)
findGearAssociationByFromGear
in interface GearAssociationDao
GearAssociationDao.findGearAssociationByFromGear(fr.ifremer.allegro.referential.gear.Gear)
public java.util.Collection findGearAssociationByFromGear(int transform, Gear fromGear)
GearAssociationDao
Does the same thing as GearAssociationDao.findGearAssociationByFromGear(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.
findGearAssociationByFromGear
in interface GearAssociationDao
GearAssociationDao.findGearAssociationByFromGear(int, fr.ifremer.allegro.referential.gear.Gear)
public java.util.Collection findGearAssociationByFromGear(java.lang.String queryString, Gear fromGear)
GearAssociationDao
Does the same thing as GearAssociationDao.findGearAssociationByFromGear(fr.ifremer.allegro.referential.gear.Gear)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in GearAssociationDao.findGearAssociationByFromGear(fr.ifremer.allegro.referential.gear.Gear)
.
findGearAssociationByFromGear
in interface GearAssociationDao
GearAssociationDao.findGearAssociationByFromGear(java.lang.String, fr.ifremer.allegro.referential.gear.Gear)
public java.util.Collection findGearAssociationByFromGear(int pageNumber, int pageSize, Gear fromGear)
GearAssociationDao
Does the same thing as GearAssociationDao.findGearAssociationByFromGear(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.
findGearAssociationByFromGear
in interface GearAssociationDao
GearAssociationDao.findGearAssociationByFromGear(int, int, fr.ifremer.allegro.referential.gear.Gear)
public java.util.Collection findGearAssociationByFromGear(java.lang.String queryString, int pageNumber, int pageSize, Gear fromGear)
GearAssociationDao
Does the same thing as GearAssociationDao.findGearAssociationByFromGear(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.
findGearAssociationByFromGear
in interface GearAssociationDao
GearAssociationDao.findGearAssociationByFromGear(String, int, int, fr.ifremer.allegro.referential.gear.Gear)
public java.util.Collection findGearAssociationByFromGear(int transform, java.lang.String queryString, Gear fromGear)
GearAssociationDao
Does the same thing as GearAssociationDao.findGearAssociationByFromGear(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 GearAssociationDao.findGearAssociationByFromGear(int, fr.ifremer.allegro.referential.gear.Gear fromGear)
.
findGearAssociationByFromGear
in interface GearAssociationDao
GearAssociationDao.findGearAssociationByFromGear(int, String, fr.ifremer.allegro.referential.gear.Gear)
public java.util.Collection findGearAssociationByFromGear(int transform, int pageNumber, int pageSize, Gear fromGear)
GearAssociationDao
Does the same thing as GearAssociationDao.findGearAssociationByFromGear(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.
findGearAssociationByFromGear
in interface GearAssociationDao
GearAssociationDao.findGearAssociationByFromGear(int, int, int, fr.ifremer.allegro.referential.gear.Gear)
public java.util.Collection findGearAssociationByFromGear(int transform, java.lang.String queryString, int pageNumber, int pageSize, Gear fromGear)
GearAssociationDao
Does the same thing as GearAssociationDao.findGearAssociationByFromGear(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.
findGearAssociationByFromGear
in interface GearAssociationDao
GearAssociationDao.findGearAssociationByFromGear(int, java.lang.String, int, int, fr.ifremer.allegro.referential.gear.Gear)
public GearAssociation findGearAssociationByIdentifiers(Gear toGear, Gear fromGear)
findGearAssociationByIdentifiers
in interface GearAssociationDao
GearAssociationDao.findGearAssociationByIdentifiers(fr.ifremer.allegro.referential.gear.Gear, fr.ifremer.allegro.referential.gear.Gear)
public java.lang.Object findGearAssociationByIdentifiers(int transform, Gear toGear, Gear fromGear)
GearAssociationDao
Does the same thing as GearAssociationDao.findGearAssociationByIdentifiers(fr.ifremer.allegro.referential.gear.Gear, 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.
findGearAssociationByIdentifiers
in interface GearAssociationDao
GearAssociationDao.findGearAssociationByIdentifiers(int, fr.ifremer.allegro.referential.gear.Gear, fr.ifremer.allegro.referential.gear.Gear)
public GearAssociation findGearAssociationByIdentifiers(java.lang.String queryString, Gear toGear, Gear fromGear)
GearAssociationDao
Does the same thing as GearAssociationDao.findGearAssociationByIdentifiers(fr.ifremer.allegro.referential.gear.Gear, fr.ifremer.allegro.referential.gear.Gear)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in GearAssociationDao.findGearAssociationByIdentifiers(fr.ifremer.allegro.referential.gear.Gear, fr.ifremer.allegro.referential.gear.Gear)
.
findGearAssociationByIdentifiers
in interface GearAssociationDao
GearAssociationDao.findGearAssociationByIdentifiers(java.lang.String, fr.ifremer.allegro.referential.gear.Gear, fr.ifremer.allegro.referential.gear.Gear)
public java.lang.Object findGearAssociationByIdentifiers(int transform, java.lang.String queryString, Gear toGear, Gear fromGear)
GearAssociationDao
Does the same thing as GearAssociationDao.findGearAssociationByIdentifiers(int, fr.ifremer.allegro.referential.gear.Gear, fr.ifremer.allegro.referential.gear.Gear)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in GearAssociationDao.findGearAssociationByIdentifiers(int, fr.ifremer.allegro.referential.gear.Gear toGear, fr.ifremer.allegro.referential.gear.Gear fromGear)
.
findGearAssociationByIdentifiers
in interface GearAssociationDao
GearAssociationDao.findGearAssociationByIdentifiers(int, java.lang.String, fr.ifremer.allegro.referential.gear.Gear, fr.ifremer.allegro.referential.gear.Gear)
public GearAssociation findGearAssociationByNaturalId(Gear toGear, Gear fromGear)
findGearAssociationByNaturalId
in interface GearAssociationDao
GearAssociationDao.findGearAssociationByNaturalId(fr.ifremer.allegro.referential.gear.Gear, fr.ifremer.allegro.referential.gear.Gear)
public java.lang.Object findGearAssociationByNaturalId(int transform, Gear toGear, Gear fromGear)
GearAssociationDao
Does the same thing as GearAssociationDao.findGearAssociationByNaturalId(fr.ifremer.allegro.referential.gear.Gear, 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.
findGearAssociationByNaturalId
in interface GearAssociationDao
GearAssociationDao.findGearAssociationByNaturalId(int, fr.ifremer.allegro.referential.gear.Gear, fr.ifremer.allegro.referential.gear.Gear)
public GearAssociation findGearAssociationByNaturalId(java.lang.String queryString, Gear toGear, Gear fromGear)
GearAssociationDao
Does the same thing as GearAssociationDao.findGearAssociationByNaturalId(fr.ifremer.allegro.referential.gear.Gear, fr.ifremer.allegro.referential.gear.Gear)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in GearAssociationDao.findGearAssociationByNaturalId(fr.ifremer.allegro.referential.gear.Gear, fr.ifremer.allegro.referential.gear.Gear)
.
findGearAssociationByNaturalId
in interface GearAssociationDao
GearAssociationDao.findGearAssociationByNaturalId(java.lang.String, fr.ifremer.allegro.referential.gear.Gear, fr.ifremer.allegro.referential.gear.Gear)
public java.lang.Object findGearAssociationByNaturalId(int transform, java.lang.String queryString, Gear toGear, Gear fromGear)
GearAssociationDao
Does the same thing as GearAssociationDao.findGearAssociationByNaturalId(int, fr.ifremer.allegro.referential.gear.Gear, fr.ifremer.allegro.referential.gear.Gear)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in GearAssociationDao.findGearAssociationByNaturalId(int, fr.ifremer.allegro.referential.gear.Gear toGear, fr.ifremer.allegro.referential.gear.Gear fromGear)
.
findGearAssociationByNaturalId
in interface GearAssociationDao
GearAssociationDao.findGearAssociationByNaturalId(int, java.lang.String, fr.ifremer.allegro.referential.gear.Gear, fr.ifremer.allegro.referential.gear.Gear)
public java.util.Collection getAllGearAssociationSinceDateSynchro(java.sql.Timestamp updateDate)
getAllGearAssociationSinceDateSynchro
in interface GearAssociationDao
GearAssociationDao.getAllGearAssociationSinceDateSynchro(java.sql.Timestamp)
public java.util.Collection getAllGearAssociationSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
GearAssociationDao
Does the same thing as GearAssociationDao.getAllGearAssociationSinceDateSynchro(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.
getAllGearAssociationSinceDateSynchro
in interface GearAssociationDao
GearAssociationDao.getAllGearAssociationSinceDateSynchro(int, java.sql.Timestamp)
public java.util.Collection getAllGearAssociationSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
GearAssociationDao
Does the same thing as GearAssociationDao.getAllGearAssociationSinceDateSynchro(java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in GearAssociationDao.getAllGearAssociationSinceDateSynchro(java.sql.Timestamp)
.
getAllGearAssociationSinceDateSynchro
in interface GearAssociationDao
GearAssociationDao.getAllGearAssociationSinceDateSynchro(java.lang.String, java.sql.Timestamp)
public java.util.Collection getAllGearAssociationSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
GearAssociationDao
Does the same thing as GearAssociationDao.getAllGearAssociationSinceDateSynchro(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.
getAllGearAssociationSinceDateSynchro
in interface GearAssociationDao
GearAssociationDao.getAllGearAssociationSinceDateSynchro(int, int, java.sql.Timestamp)
public java.util.Collection getAllGearAssociationSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
GearAssociationDao
Does the same thing as GearAssociationDao.getAllGearAssociationSinceDateSynchro(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.
getAllGearAssociationSinceDateSynchro
in interface GearAssociationDao
GearAssociationDao.getAllGearAssociationSinceDateSynchro(String, int, int, java.sql.Timestamp)
public java.util.Collection getAllGearAssociationSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
GearAssociationDao
Does the same thing as GearAssociationDao.getAllGearAssociationSinceDateSynchro(int, java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in GearAssociationDao.getAllGearAssociationSinceDateSynchro(int, java.sql.Timestamp updateDate)
.
getAllGearAssociationSinceDateSynchro
in interface GearAssociationDao
GearAssociationDao.getAllGearAssociationSinceDateSynchro(int, String, java.sql.Timestamp)
public java.util.Collection getAllGearAssociationSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
GearAssociationDao
Does the same thing as GearAssociationDao.getAllGearAssociationSinceDateSynchro(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.
getAllGearAssociationSinceDateSynchro
in interface GearAssociationDao
GearAssociationDao.getAllGearAssociationSinceDateSynchro(int, int, int, java.sql.Timestamp)
public java.util.Collection getAllGearAssociationSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
GearAssociationDao
Does the same thing as GearAssociationDao.getAllGearAssociationSinceDateSynchro(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.
getAllGearAssociationSinceDateSynchro
in interface GearAssociationDao
GearAssociationDao.getAllGearAssociationSinceDateSynchro(int, java.lang.String, int, int, java.sql.Timestamp)
public GearAssociation createFromClusterGearAssociation(ClusterGearAssociation clusterGearAssociation)
createFromClusterGearAssociation
in interface GearAssociationDao
GearAssociationDao.createFromClusterGearAssociation(fr.ifremer.allegro.referential.gear.generic.cluster.ClusterGearAssociation)
protected abstract GearAssociation handleCreateFromClusterGearAssociation(ClusterGearAssociation clusterGearAssociation) throws java.lang.Exception
createFromClusterGearAssociation(fr.ifremer.allegro.referential.gear.generic.cluster.ClusterGearAssociation)
java.lang.Exception
protected java.lang.Object transformEntity(int transform, GearAssociation entity)
transform
flag is set to one of the constants defined in fr.ifremer.allegro.referential.gear.GearAssociationDao
, please note
that the GearAssociationDao.TRANSFORM_NONE
constant denotes no transformation, so the entity itself
will be returned.
This method will return instances of these types:
GearAssociation
- GearAssociationDao.TRANSFORM_NONE
RemoteGearAssociationFullVO
- TRANSFORM_REMOTEGEARASSOCIATIONFULLVO
RemoteGearAssociationNaturalId
- TRANSFORM_REMOTEGEARASSOCIATIONNATURALID
ClusterGearAssociation
- TRANSFORM_CLUSTERGEARASSOCIATION
GearAssociationDao.TRANSFORM_NONE
is assumed.
transform
- one of the constants declared in GearAssociationDao
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.GearAssociation)
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.GearAssociationDao
entities
- the collection of entities to transformtransformEntity(int,fr.ifremer.allegro.referential.gear.GearAssociation)
protected GearAssociation toEntity(java.lang.Object[] row)
public final void toRemoteGearAssociationFullVOCollection(java.util.Collection entities)
GearAssociationDao
RemoteGearAssociationFullVO
.
toRemoteGearAssociationFullVOCollection
in interface GearAssociationDao
GearAssociationDao.toRemoteGearAssociationFullVOCollection(java.util.Collection)
public final RemoteGearAssociationFullVO[] toRemoteGearAssociationFullVOArray(java.util.Collection entities)
GearAssociationDao
RemoteGearAssociationFullVO
.
toRemoteGearAssociationFullVOArray
in interface GearAssociationDao
GearAssociationDao.toRemoteGearAssociationFullVOArray(java.util.Collection)
protected RemoteGearAssociationFullVO toRemoteGearAssociationFullVO(java.lang.Object[] row)
GearAssociationDaoImpl
class if you intend to use reporting queries.
GearAssociationDao.toRemoteGearAssociationFullVO(fr.ifremer.allegro.referential.gear.GearAssociation)
public final void remoteGearAssociationFullVOToEntityCollection(java.util.Collection instances)
GearAssociationDao
RemoteGearAssociationFullVO
to this
DAO's entity.
remoteGearAssociationFullVOToEntityCollection
in interface GearAssociationDao
GearAssociationDao.remoteGearAssociationFullVOToEntityCollection(java.util.Collection)
public void toRemoteGearAssociationFullVO(GearAssociation source, RemoteGearAssociationFullVO target)
GearAssociationDao
toRemoteGearAssociationFullVO
in interface GearAssociationDao
GearAssociationDao.toRemoteGearAssociationFullVO(fr.ifremer.allegro.referential.gear.GearAssociation, fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearAssociationFullVO)
public RemoteGearAssociationFullVO toRemoteGearAssociationFullVO(GearAssociation entity)
GearAssociationDao
RemoteGearAssociationFullVO
.
toRemoteGearAssociationFullVO
in interface GearAssociationDao
GearAssociationDao.toRemoteGearAssociationFullVO(fr.ifremer.allegro.referential.gear.GearAssociation)
public void remoteGearAssociationFullVOToEntity(RemoteGearAssociationFullVO source, GearAssociation target, boolean copyIfNull)
GearAssociationDao
RemoteGearAssociationFullVO
to the specified entity.
remoteGearAssociationFullVOToEntity
in interface GearAssociationDao
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.GearAssociationDao#remoteGearAssociationFullVOToEntity(fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearAssociationFullVO, fr.ifremer.allegro.referential.gear.GearAssociation)
public final void toRemoteGearAssociationNaturalIdCollection(java.util.Collection entities)
GearAssociationDao
RemoteGearAssociationNaturalId
.
toRemoteGearAssociationNaturalIdCollection
in interface GearAssociationDao
GearAssociationDao.toRemoteGearAssociationNaturalIdCollection(java.util.Collection)
public final RemoteGearAssociationNaturalId[] toRemoteGearAssociationNaturalIdArray(java.util.Collection entities)
GearAssociationDao
RemoteGearAssociationNaturalId
.
toRemoteGearAssociationNaturalIdArray
in interface GearAssociationDao
GearAssociationDao.toRemoteGearAssociationNaturalIdArray(java.util.Collection)
protected RemoteGearAssociationNaturalId toRemoteGearAssociationNaturalId(java.lang.Object[] row)
GearAssociationDaoImpl
class if you intend to use reporting queries.
GearAssociationDao.toRemoteGearAssociationNaturalId(fr.ifremer.allegro.referential.gear.GearAssociation)
public final void remoteGearAssociationNaturalIdToEntityCollection(java.util.Collection instances)
GearAssociationDao
RemoteGearAssociationNaturalId
to this
DAO's entity.
remoteGearAssociationNaturalIdToEntityCollection
in interface GearAssociationDao
GearAssociationDao.remoteGearAssociationNaturalIdToEntityCollection(java.util.Collection)
public void toRemoteGearAssociationNaturalId(GearAssociation source, RemoteGearAssociationNaturalId target)
GearAssociationDao
toRemoteGearAssociationNaturalId
in interface GearAssociationDao
GearAssociationDao.toRemoteGearAssociationNaturalId(fr.ifremer.allegro.referential.gear.GearAssociation, fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearAssociationNaturalId)
public RemoteGearAssociationNaturalId toRemoteGearAssociationNaturalId(GearAssociation entity)
GearAssociationDao
RemoteGearAssociationNaturalId
.
toRemoteGearAssociationNaturalId
in interface GearAssociationDao
GearAssociationDao.toRemoteGearAssociationNaturalId(fr.ifremer.allegro.referential.gear.GearAssociation)
public void remoteGearAssociationNaturalIdToEntity(RemoteGearAssociationNaturalId source, GearAssociation target, boolean copyIfNull)
GearAssociationDao
RemoteGearAssociationNaturalId
to the specified entity.
remoteGearAssociationNaturalIdToEntity
in interface GearAssociationDao
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.GearAssociationDao#remoteGearAssociationNaturalIdToEntity(fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearAssociationNaturalId, fr.ifremer.allegro.referential.gear.GearAssociation)
public final void toClusterGearAssociationCollection(java.util.Collection entities)
GearAssociationDao
ClusterGearAssociation
.
toClusterGearAssociationCollection
in interface GearAssociationDao
GearAssociationDao.toClusterGearAssociationCollection(java.util.Collection)
public final ClusterGearAssociation[] toClusterGearAssociationArray(java.util.Collection entities)
GearAssociationDao
ClusterGearAssociation
.
toClusterGearAssociationArray
in interface GearAssociationDao
GearAssociationDao.toClusterGearAssociationArray(java.util.Collection)
protected ClusterGearAssociation toClusterGearAssociation(java.lang.Object[] row)
GearAssociationDaoImpl
class if you intend to use reporting queries.
GearAssociationDao.toClusterGearAssociation(fr.ifremer.allegro.referential.gear.GearAssociation)
public final void clusterGearAssociationToEntityCollection(java.util.Collection instances)
GearAssociationDao
ClusterGearAssociation
to this
DAO's entity.
clusterGearAssociationToEntityCollection
in interface GearAssociationDao
GearAssociationDao.clusterGearAssociationToEntityCollection(java.util.Collection)
public void toClusterGearAssociation(GearAssociation source, ClusterGearAssociation target)
GearAssociationDao
toClusterGearAssociation
in interface GearAssociationDao
GearAssociationDao.toClusterGearAssociation(fr.ifremer.allegro.referential.gear.GearAssociation, fr.ifremer.allegro.referential.gear.generic.cluster.ClusterGearAssociation)
public ClusterGearAssociation toClusterGearAssociation(GearAssociation entity)
GearAssociationDao
ClusterGearAssociation
.
toClusterGearAssociation
in interface GearAssociationDao
GearAssociationDao.toClusterGearAssociation(fr.ifremer.allegro.referential.gear.GearAssociation)
public void clusterGearAssociationToEntity(ClusterGearAssociation source, GearAssociation target, boolean copyIfNull)
GearAssociationDao
ClusterGearAssociation
to the specified entity.
clusterGearAssociationToEntity
in interface GearAssociationDao
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.GearAssociationDao#clusterGearAssociationToEntity(fr.ifremer.allegro.referential.gear.generic.cluster.ClusterGearAssociation, fr.ifremer.allegro.referential.gear.GearAssociation)
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)
GearAssociationDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface GearAssociationDao
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.GearAssociationDao.search(int, int, int, fr.ifremer.allegro.Search)
public PaginationResult search(int pageNumber, int pageSize, Search search)
GearAssociationDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface GearAssociationDao
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.GearAssociationDao.search(int, int, fr.ifremer.allegro.Search)
public java.util.Set search(int transform, Search search)
GearAssociationDao
GearAssociationDao.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 GearAssociationDao
transform
- the transformation flag.search
- the search object which provides the search parameters and pagination specification.
GearAssociationDao.search(int, fr.ifremer.allegro.Search)
public java.util.Set search(Search search)
GearAssociationDao
search
object.
search
in interface GearAssociationDao
search
- the search object which provides the search parameters and pagination specification.
GearAssociationDao.search(fr.ifremer.allegro.Search)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |