|
||||||||||
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.GearClassificationDaoBase
public abstract class GearClassificationDaoBase
Base Spring DAO Class: is able to create, update, remove, load, and find
objects of type fr.ifremer.allegro.referential.gear.GearClassification
.
GearClassification
Field Summary |
---|
Fields inherited from interface fr.ifremer.allegro.referential.gear.GearClassificationDao |
---|
TRANSFORM_CLUSTERGEARCLASSIFICATION, TRANSFORM_NONE, TRANSFORM_REMOTEGEARCLASSIFICATIONFULLVO, TRANSFORM_REMOTEGEARCLASSIFICATIONNATURALID |
Constructor Summary | |
---|---|
GearClassificationDaoBase()
|
Method Summary | |
---|---|
void |
clusterGearClassificationToEntity(ClusterGearClassification source,
GearClassification target,
boolean copyIfNull)
Copies the fields of ClusterGearClassification to the specified entity. |
void |
clusterGearClassificationToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type ClusterGearClassification to this
DAO's entity. |
GearClassification |
create(java.lang.Boolean isAggregation,
java.lang.String name)
Creates a new fr.ifremer.allegro.referential.gear.GearClassification
instance from only required properties (attributes
and association ends) and adds it to the persistent store. |
java.util.Collection |
create(java.util.Collection entities)
Creates a new instance of fr.ifremer.allegro.referential.gear.GearClassification and adds from the passed in entities collection |
GearClassification |
create(GearClassification gearClassification)
Creates an instance of fr.ifremer.allegro.referential.gear.GearClassification and adds it to the persistent store. |
java.lang.Object |
create(int transform,
java.lang.Boolean isAggregation,
java.lang.String name)
Does the same thing as GearClassificationDao.create(java.lang.Boolean,java.lang.String) with an
additional flag called transform . |
java.util.Collection |
create(int transform,
java.util.Collection entities)
Does the same thing as GearClassificationDao.create(fr.ifremer.allegro.referential.gear.GearClassification) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
GearClassification gearClassification)
Does the same thing as GearClassificationDao.create(fr.ifremer.allegro.referential.gear.GearClassification) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
java.lang.String name,
java.lang.String description,
java.lang.Boolean isAggregation,
java.sql.Timestamp updateDate,
java.util.Collection gears,
java.util.Collection associatedGearClassifications)
Does the same thing as GearClassificationDao.create(java.lang.String,java.lang.String,java.lang.Boolean,java.sql.Timestamp,java.util.Collection,java.util.Collection) with an
additional flag called transform . |
GearClassification |
create(java.lang.String name,
java.lang.String description,
java.lang.Boolean isAggregation,
java.sql.Timestamp updateDate,
java.util.Collection gears,
java.util.Collection associatedGearClassifications)
Creates a new fr.ifremer.allegro.referential.gear.GearClassification
instance from all attributes and
properties and adds it to the persistent store. |
GearClassification |
createFromClusterGearClassification(ClusterGearClassification clusterGearClassification)
|
GearClassification |
findGearClassificationById(java.lang.Integer id)
|
java.lang.Object |
findGearClassificationById(int transform,
java.lang.Integer id)
Does the same thing as GearClassificationDao.findGearClassificationById(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findGearClassificationById(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as GearClassificationDao.findGearClassificationById(int, java.lang.Integer) with an
additional argument called queryString . |
GearClassification |
findGearClassificationById(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as GearClassificationDao.findGearClassificationById(java.lang.Integer) with an
additional argument called queryString . |
GearClassification |
findGearClassificationByNaturalId(java.lang.Integer id)
|
java.lang.Object |
findGearClassificationByNaturalId(int transform,
java.lang.Integer id)
Does the same thing as GearClassificationDao.findGearClassificationByNaturalId(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findGearClassificationByNaturalId(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as GearClassificationDao.findGearClassificationByNaturalId(int, java.lang.Integer) with an
additional argument called queryString . |
GearClassification |
findGearClassificationByNaturalId(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as GearClassificationDao.findGearClassificationByNaturalId(java.lang.Integer) with an
additional argument called queryString . |
ClusterGearClassification[] |
getAllClusterGearClassificationSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize)
|
java.util.Collection |
getAllGearClassification()
|
java.util.Collection |
getAllGearClassification(int transform)
Does the same thing as GearClassificationDao.getAllGearClassification() with an
additional flag called transform . |
java.util.Collection |
getAllGearClassification(int pageNumber,
int pageSize)
Does the same thing as GearClassificationDao.getAllGearClassification() with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllGearClassification(int transform,
int pageNumber,
int pageSize)
Does the same thing as GearClassificationDao.getAllGearClassification(int) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllGearClassification(int transform,
java.lang.String queryString)
Does the same thing as GearClassificationDao.getAllGearClassification(int) with an
additional argument called queryString . |
java.util.Collection |
getAllGearClassification(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as GearClassificationDao.getAllGearClassification(int, String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllGearClassification(java.lang.String queryString)
Does the same thing as GearClassificationDao.getAllGearClassification() with an
additional argument called queryString . |
java.util.Collection |
getAllGearClassification(java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as GearClassificationDao.getAllGearClassification(String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllGearClassificationSinceDateSynchro(int transform,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as GearClassificationDao.getAllGearClassificationSinceDateSynchro(int, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllGearClassificationSinceDateSynchro(int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as GearClassificationDao.getAllGearClassificationSinceDateSynchro(java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllGearClassificationSinceDateSynchro(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as GearClassificationDao.getAllGearClassificationSinceDateSynchro(int, String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllGearClassificationSinceDateSynchro(int transform,
java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as GearClassificationDao.getAllGearClassificationSinceDateSynchro(int, java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllGearClassificationSinceDateSynchro(int transform,
java.sql.Timestamp updateDate)
Does the same thing as GearClassificationDao.getAllGearClassificationSinceDateSynchro(java.sql.Timestamp) with an
additional flag called transform . |
java.util.Collection |
getAllGearClassificationSinceDateSynchro(java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as GearClassificationDao.getAllGearClassificationSinceDateSynchro(String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllGearClassificationSinceDateSynchro(java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as GearClassificationDao.getAllGearClassificationSinceDateSynchro(java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllGearClassificationSinceDateSynchro(java.sql.Timestamp updateDate)
|
protected GearClassificationAssociationDao |
getGearClassificationAssociationDao()
Gets the reference to gearClassificationAssociationDao . |
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 GearClassification |
handleCreateFromClusterGearClassification(ClusterGearClassification clusterGearClassification)
Performs the core logic for createFromClusterGearClassification(fr.ifremer.allegro.referential.gear.generic.cluster.ClusterGearClassification) |
protected abstract ClusterGearClassification[] |
handleGetAllClusterGearClassificationSinceDateSynchro(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 getAllClusterGearClassificationSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer) |
GearClassification |
load(java.lang.Integer id)
Loads an instance of fr.ifremer.allegro.referential.gear.GearClassification from the persistent store. |
java.lang.Object |
load(int transform,
java.lang.Integer id)
Does the same thing as GearClassificationDao.load(java.lang.Integer) with an
additional flag called transform . |
java.util.Collection |
loadAll()
Loads all entities of type GearClassification . |
java.util.Collection |
loadAll(int transform)
Does the same thing as GearClassificationDao.loadAll() with an
additional flag called transform . |
java.util.Collection |
loadAll(int pageNumber,
int pageSize)
Does the same thing as GearClassificationDao.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 GearClassificationDao.loadAll(int) with an
additional two arguments called pageNumber and pageSize . |
void |
remoteGearClassificationFullVOToEntity(RemoteGearClassificationFullVO source,
GearClassification target,
boolean copyIfNull)
Copies the fields of RemoteGearClassificationFullVO to the specified entity. |
void |
remoteGearClassificationFullVOToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteGearClassificationFullVO to this
DAO's entity. |
void |
remoteGearClassificationNaturalIdToEntity(RemoteGearClassificationNaturalId source,
GearClassification target,
boolean copyIfNull)
Copies the fields of RemoteGearClassificationNaturalId to the specified entity. |
void |
remoteGearClassificationNaturalIdToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteGearClassificationNaturalId to this
DAO's entity. |
void |
remove(java.util.Collection entities)
Removes all entities in the given entities |
void |
remove(GearClassification gearClassification)
Removes the instance of fr.ifremer.allegro.referential.gear.GearClassification from the persistent store. |
void |
remove(java.lang.Integer id)
Removes the instance of fr.ifremer.allegro.referential.gear.GearClassification 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 GearClassificationDao.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 |
setGearClassificationAssociationDao(GearClassificationAssociationDao gearClassificationAssociationDao)
Sets the reference to gearClassificationAssociationDao . |
void |
setGearDao(GearDao gearDao)
Sets the reference to gearDao . |
ClusterGearClassification |
toClusterGearClassification(GearClassification entity)
Converts this DAO's entity to an object of type ClusterGearClassification . |
void |
toClusterGearClassification(GearClassification source,
ClusterGearClassification target)
Copies the fields of the specified entity to the target value object. |
protected ClusterGearClassification |
toClusterGearClassification(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
ClusterGearClassification[] |
toClusterGearClassificationArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type ClusterGearClassification . |
void |
toClusterGearClassificationCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type ClusterGearClassification . |
protected GearClassification |
toEntity(java.lang.Object[] row)
|
RemoteGearClassificationFullVO |
toRemoteGearClassificationFullVO(GearClassification entity)
Converts this DAO's entity to an object of type RemoteGearClassificationFullVO . |
void |
toRemoteGearClassificationFullVO(GearClassification source,
RemoteGearClassificationFullVO target)
Copies the fields of the specified entity to the target value object. |
protected RemoteGearClassificationFullVO |
toRemoteGearClassificationFullVO(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteGearClassificationFullVO[] |
toRemoteGearClassificationFullVOArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteGearClassificationFullVO . |
void |
toRemoteGearClassificationFullVOCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteGearClassificationFullVO . |
RemoteGearClassificationNaturalId |
toRemoteGearClassificationNaturalId(GearClassification entity)
Converts this DAO's entity to an object of type RemoteGearClassificationNaturalId . |
void |
toRemoteGearClassificationNaturalId(GearClassification source,
RemoteGearClassificationNaturalId target)
Copies the fields of the specified entity to the target value object. |
protected RemoteGearClassificationNaturalId |
toRemoteGearClassificationNaturalId(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteGearClassificationNaturalId[] |
toRemoteGearClassificationNaturalIdArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteGearClassificationNaturalId . |
void |
toRemoteGearClassificationNaturalIdCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteGearClassificationNaturalId . |
protected void |
transformEntities(int transform,
java.util.Collection entities)
Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.gear.GearClassification)
method. |
protected java.lang.Object |
transformEntity(int transform,
GearClassification 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.GearClassificationDao , please note
that the GearClassificationDao.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(GearClassification gearClassification)
Updates the gearClassification 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.GearClassificationDao |
---|
clusterGearClassificationToEntity, remoteGearClassificationFullVOToEntity, remoteGearClassificationNaturalIdToEntity |
Constructor Detail |
---|
public GearClassificationDaoBase()
Method Detail |
---|
public void setGearDao(GearDao gearDao)
gearDao
.
protected GearDao getGearDao()
gearDao
.
public void setGearClassificationAssociationDao(GearClassificationAssociationDao gearClassificationAssociationDao)
gearClassificationAssociationDao
.
protected GearClassificationAssociationDao getGearClassificationAssociationDao()
gearClassificationAssociationDao
.
public java.lang.Object load(int transform, java.lang.Integer id)
GearClassificationDao
Does the same thing as GearClassificationDao.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 GearClassificationDao
id
- identifier of the entity to load
GearClassificationDao.load(int, java.lang.Integer)
public GearClassification load(java.lang.Integer id)
GearClassificationDao
load
in interface GearClassificationDao
GearClassificationDao.load(java.lang.Integer)
public java.util.Collection loadAll()
GearClassificationDao
GearClassification
.
loadAll
in interface GearClassificationDao
GearClassificationDao.loadAll()
public java.util.Collection loadAll(int transform)
GearClassificationDao
Does the same thing as GearClassificationDao.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 GearClassificationDao
transform
- the flag indicating what transformation to use.
GearClassificationDao.loadAll(int)
public java.util.Collection loadAll(int pageNumber, int pageSize)
GearClassificationDao
Does the same thing as GearClassificationDao.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 GearClassificationDao
pageNumber
- the page number to retrieve when paging results.pageSize
- the size of the page to retrieve when paging results.
GearClassificationDao.loadAll(int, int)
public java.util.Collection loadAll(int transform, int pageNumber, int pageSize)
GearClassificationDao
Does the same thing as GearClassificationDao.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 GearClassificationDao
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.
GearClassificationDao.loadAll(int, int, int)
public GearClassification create(GearClassification gearClassification)
GearClassificationDao
create
in interface GearClassificationDao
GearClassificationDao.create(fr.ifremer.allegro.referential.gear.GearClassification)
public java.lang.Object create(int transform, GearClassification gearClassification)
GearClassificationDao
Does the same thing as GearClassificationDao.create(fr.ifremer.allegro.referential.gear.GearClassification)
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 GearClassificationDao
GearClassificationDao.create(int transform, fr.ifremer.allegro.referential.gear.GearClassification)
public java.util.Collection create(java.util.Collection entities)
GearClassificationDao
entities
collection
create
in interface GearClassificationDao
entities
- the collection of fr.ifremer.allegro.referential.gear.GearClassification
instances to create.
GearClassificationDao.create(java.util.Collection)
public java.util.Collection create(int transform, java.util.Collection entities)
GearClassificationDao
Does the same thing as GearClassificationDao.create(fr.ifremer.allegro.referential.gear.GearClassification)
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 GearClassificationDao
GearClassificationDao.create(int, java.util.Collection)
public GearClassification create(java.lang.String name, java.lang.String description, java.lang.Boolean isAggregation, java.sql.Timestamp updateDate, java.util.Collection gears, java.util.Collection associatedGearClassifications)
GearClassificationDao
Creates a new fr.ifremer.allegro.referential.gear.GearClassification
instance from all attributes and
properties and adds it to the persistent store.
create
in interface GearClassificationDao
GearClassificationDao.create(java.lang.String,java.lang.String,java.lang.Boolean,java.sql.Timestamp,java.util.Collection,java.util.Collection)
public java.lang.Object create(int transform, java.lang.String name, java.lang.String description, java.lang.Boolean isAggregation, java.sql.Timestamp updateDate, java.util.Collection gears, java.util.Collection associatedGearClassifications)
GearClassificationDao
Does the same thing as GearClassificationDao.create(java.lang.String,java.lang.String,java.lang.Boolean,java.sql.Timestamp,java.util.Collection,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 GearClassificationDao
GearClassificationDao.create(int, java.lang.String,java.lang.String,java.lang.Boolean,java.sql.Timestamp,java.util.Collection,java.util.Collection)
public GearClassification create(java.lang.Boolean isAggregation, java.lang.String name)
GearClassificationDao
Creates a new fr.ifremer.allegro.referential.gear.GearClassification
instance from only required properties (attributes
and association ends) and adds it to the persistent store.
create
in interface GearClassificationDao
GearClassificationDao.create(java.lang.Boolean,java.lang.String)
public java.lang.Object create(int transform, java.lang.Boolean isAggregation, java.lang.String name)
GearClassificationDao
Does the same thing as GearClassificationDao.create(java.lang.Boolean,java.lang.String)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOTWILL BE passed through an operation which can optionally
transform the entity (into a value object for example). By default, transformation does
not occur.
create
in interface GearClassificationDao
GearClassificationDao.create(int, java.lang.Boolean,java.lang.String)
public void update(GearClassification gearClassification)
GearClassificationDao
gearClassification
instance in the persistent store.
update
in interface GearClassificationDao
GearClassificationDao.update(fr.ifremer.allegro.referential.gear.GearClassification)
public void update(java.util.Collection entities)
GearClassificationDao
entities
collection in the persistent store.
update
in interface GearClassificationDao
GearClassificationDao.update(java.util.Collection)
public void remove(GearClassification gearClassification)
GearClassificationDao
remove
in interface GearClassificationDao
GearClassificationDao.remove(fr.ifremer.allegro.referential.gear.GearClassification)
public void remove(java.lang.Integer id)
GearClassificationDao
identifier
from the persistent store.
remove
in interface GearClassificationDao
GearClassificationDao.remove(java.lang.Integer)
public void remove(java.util.Collection entities)
GearClassificationDao
entities collection.
- Specified by:
remove
in interface GearClassificationDao
- See Also:
GearClassificationDao.remove(java.util.Collection)
public java.util.Collection getAllGearClassification()
getAllGearClassification
in interface GearClassificationDao
GearClassificationDao.getAllGearClassification()
public java.util.Collection getAllGearClassification(int transform)
GearClassificationDao
Does the same thing as GearClassificationDao.getAllGearClassification()
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.
getAllGearClassification
in interface GearClassificationDao
GearClassificationDao.getAllGearClassification(int)
public java.util.Collection getAllGearClassification(java.lang.String queryString)
GearClassificationDao
Does the same thing as GearClassificationDao.getAllGearClassification()
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in GearClassificationDao.getAllGearClassification()
.
getAllGearClassification
in interface GearClassificationDao
GearClassificationDao.getAllGearClassification(java.lang.String)
public java.util.Collection getAllGearClassification(int pageNumber, int pageSize)
GearClassificationDao
Does the same thing as GearClassificationDao.getAllGearClassification()
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.
getAllGearClassification
in interface GearClassificationDao
GearClassificationDao.getAllGearClassification(int, int)
public java.util.Collection getAllGearClassification(java.lang.String queryString, int pageNumber, int pageSize)
GearClassificationDao
Does the same thing as GearClassificationDao.getAllGearClassification(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.
getAllGearClassification
in interface GearClassificationDao
GearClassificationDao.getAllGearClassification(String, int, int)
public java.util.Collection getAllGearClassification(int transform, java.lang.String queryString)
GearClassificationDao
Does the same thing as GearClassificationDao.getAllGearClassification(int)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in GearClassificationDao.getAllGearClassification(int)
.
getAllGearClassification
in interface GearClassificationDao
GearClassificationDao.getAllGearClassification(int, String)
public java.util.Collection getAllGearClassification(int transform, int pageNumber, int pageSize)
GearClassificationDao
Does the same thing as GearClassificationDao.getAllGearClassification(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.
getAllGearClassification
in interface GearClassificationDao
GearClassificationDao.getAllGearClassification(int, int, int)
public java.util.Collection getAllGearClassification(int transform, java.lang.String queryString, int pageNumber, int pageSize)
GearClassificationDao
Does the same thing as GearClassificationDao.getAllGearClassification(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.
getAllGearClassification
in interface GearClassificationDao
GearClassificationDao.getAllGearClassification(int, java.lang.String, int, int)
public GearClassification findGearClassificationById(java.lang.Integer id)
findGearClassificationById
in interface GearClassificationDao
GearClassificationDao.findGearClassificationById(java.lang.Integer)
public java.lang.Object findGearClassificationById(int transform, java.lang.Integer id)
GearClassificationDao
Does the same thing as GearClassificationDao.findGearClassificationById(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.
findGearClassificationById
in interface GearClassificationDao
GearClassificationDao.findGearClassificationById(int, java.lang.Integer)
public GearClassification findGearClassificationById(java.lang.String queryString, java.lang.Integer id)
GearClassificationDao
Does the same thing as GearClassificationDao.findGearClassificationById(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in GearClassificationDao.findGearClassificationById(java.lang.Integer)
.
findGearClassificationById
in interface GearClassificationDao
GearClassificationDao.findGearClassificationById(java.lang.String, java.lang.Integer)
public java.lang.Object findGearClassificationById(int transform, java.lang.String queryString, java.lang.Integer id)
GearClassificationDao
Does the same thing as GearClassificationDao.findGearClassificationById(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in GearClassificationDao.findGearClassificationById(int, java.lang.Integer id)
.
findGearClassificationById
in interface GearClassificationDao
GearClassificationDao.findGearClassificationById(int, java.lang.String, java.lang.Integer)
public GearClassification findGearClassificationByNaturalId(java.lang.Integer id)
findGearClassificationByNaturalId
in interface GearClassificationDao
GearClassificationDao.findGearClassificationByNaturalId(java.lang.Integer)
public java.lang.Object findGearClassificationByNaturalId(int transform, java.lang.Integer id)
GearClassificationDao
Does the same thing as GearClassificationDao.findGearClassificationByNaturalId(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.
findGearClassificationByNaturalId
in interface GearClassificationDao
GearClassificationDao.findGearClassificationByNaturalId(int, java.lang.Integer)
public GearClassification findGearClassificationByNaturalId(java.lang.String queryString, java.lang.Integer id)
GearClassificationDao
Does the same thing as GearClassificationDao.findGearClassificationByNaturalId(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in GearClassificationDao.findGearClassificationByNaturalId(java.lang.Integer)
.
findGearClassificationByNaturalId
in interface GearClassificationDao
GearClassificationDao.findGearClassificationByNaturalId(java.lang.String, java.lang.Integer)
public java.lang.Object findGearClassificationByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
GearClassificationDao
Does the same thing as GearClassificationDao.findGearClassificationByNaturalId(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in GearClassificationDao.findGearClassificationByNaturalId(int, java.lang.Integer id)
.
findGearClassificationByNaturalId
in interface GearClassificationDao
GearClassificationDao.findGearClassificationByNaturalId(int, java.lang.String, java.lang.Integer)
public java.util.Collection getAllGearClassificationSinceDateSynchro(java.sql.Timestamp updateDate)
getAllGearClassificationSinceDateSynchro
in interface GearClassificationDao
GearClassificationDao.getAllGearClassificationSinceDateSynchro(java.sql.Timestamp)
public java.util.Collection getAllGearClassificationSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
GearClassificationDao
Does the same thing as GearClassificationDao.getAllGearClassificationSinceDateSynchro(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.
getAllGearClassificationSinceDateSynchro
in interface GearClassificationDao
GearClassificationDao.getAllGearClassificationSinceDateSynchro(int, java.sql.Timestamp)
public java.util.Collection getAllGearClassificationSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
GearClassificationDao
Does the same thing as GearClassificationDao.getAllGearClassificationSinceDateSynchro(java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in GearClassificationDao.getAllGearClassificationSinceDateSynchro(java.sql.Timestamp)
.
getAllGearClassificationSinceDateSynchro
in interface GearClassificationDao
GearClassificationDao.getAllGearClassificationSinceDateSynchro(java.lang.String, java.sql.Timestamp)
public java.util.Collection getAllGearClassificationSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
GearClassificationDao
Does the same thing as GearClassificationDao.getAllGearClassificationSinceDateSynchro(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.
getAllGearClassificationSinceDateSynchro
in interface GearClassificationDao
GearClassificationDao.getAllGearClassificationSinceDateSynchro(int, int, java.sql.Timestamp)
public java.util.Collection getAllGearClassificationSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
GearClassificationDao
Does the same thing as GearClassificationDao.getAllGearClassificationSinceDateSynchro(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.
getAllGearClassificationSinceDateSynchro
in interface GearClassificationDao
GearClassificationDao.getAllGearClassificationSinceDateSynchro(String, int, int, java.sql.Timestamp)
public java.util.Collection getAllGearClassificationSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
GearClassificationDao
Does the same thing as GearClassificationDao.getAllGearClassificationSinceDateSynchro(int, java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in GearClassificationDao.getAllGearClassificationSinceDateSynchro(int, java.sql.Timestamp updateDate)
.
getAllGearClassificationSinceDateSynchro
in interface GearClassificationDao
GearClassificationDao.getAllGearClassificationSinceDateSynchro(int, String, java.sql.Timestamp)
public java.util.Collection getAllGearClassificationSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
GearClassificationDao
Does the same thing as GearClassificationDao.getAllGearClassificationSinceDateSynchro(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.
getAllGearClassificationSinceDateSynchro
in interface GearClassificationDao
GearClassificationDao.getAllGearClassificationSinceDateSynchro(int, int, int, java.sql.Timestamp)
public java.util.Collection getAllGearClassificationSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
GearClassificationDao
Does the same thing as GearClassificationDao.getAllGearClassificationSinceDateSynchro(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.
getAllGearClassificationSinceDateSynchro
in interface GearClassificationDao
GearClassificationDao.getAllGearClassificationSinceDateSynchro(int, java.lang.String, int, int, java.sql.Timestamp)
public GearClassification createFromClusterGearClassification(ClusterGearClassification clusterGearClassification)
createFromClusterGearClassification
in interface GearClassificationDao
GearClassificationDao.createFromClusterGearClassification(fr.ifremer.allegro.referential.gear.generic.cluster.ClusterGearClassification)
protected abstract GearClassification handleCreateFromClusterGearClassification(ClusterGearClassification clusterGearClassification) throws java.lang.Exception
createFromClusterGearClassification(fr.ifremer.allegro.referential.gear.generic.cluster.ClusterGearClassification)
java.lang.Exception
public ClusterGearClassification[] getAllClusterGearClassificationSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
getAllClusterGearClassificationSinceDateSynchro
in interface GearClassificationDao
GearClassificationDao.getAllClusterGearClassificationSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected abstract ClusterGearClassification[] handleGetAllClusterGearClassificationSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize) throws java.lang.Exception
getAllClusterGearClassificationSinceDateSynchro(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, GearClassification entity)
transform
flag is set to one of the constants defined in fr.ifremer.allegro.referential.gear.GearClassificationDao
, please note
that the GearClassificationDao.TRANSFORM_NONE
constant denotes no transformation, so the entity itself
will be returned.
This method will return instances of these types:
GearClassification
- GearClassificationDao.TRANSFORM_NONE
RemoteGearClassificationFullVO
- TRANSFORM_REMOTEGEARCLASSIFICATIONFULLVO
RemoteGearClassificationNaturalId
- TRANSFORM_REMOTEGEARCLASSIFICATIONNATURALID
ClusterGearClassification
- TRANSFORM_CLUSTERGEARCLASSIFICATION
GearClassificationDao.TRANSFORM_NONE
is assumed.
transform
- one of the constants declared in GearClassificationDao
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.GearClassification)
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.GearClassificationDao
entities
- the collection of entities to transformtransformEntity(int,fr.ifremer.allegro.referential.gear.GearClassification)
protected GearClassification toEntity(java.lang.Object[] row)
public final void toRemoteGearClassificationFullVOCollection(java.util.Collection entities)
GearClassificationDao
RemoteGearClassificationFullVO
.
toRemoteGearClassificationFullVOCollection
in interface GearClassificationDao
GearClassificationDao.toRemoteGearClassificationFullVOCollection(java.util.Collection)
public final RemoteGearClassificationFullVO[] toRemoteGearClassificationFullVOArray(java.util.Collection entities)
GearClassificationDao
RemoteGearClassificationFullVO
.
toRemoteGearClassificationFullVOArray
in interface GearClassificationDao
GearClassificationDao.toRemoteGearClassificationFullVOArray(java.util.Collection)
protected RemoteGearClassificationFullVO toRemoteGearClassificationFullVO(java.lang.Object[] row)
GearClassificationDaoImpl
class if you intend to use reporting queries.
GearClassificationDao.toRemoteGearClassificationFullVO(fr.ifremer.allegro.referential.gear.GearClassification)
public final void remoteGearClassificationFullVOToEntityCollection(java.util.Collection instances)
GearClassificationDao
RemoteGearClassificationFullVO
to this
DAO's entity.
remoteGearClassificationFullVOToEntityCollection
in interface GearClassificationDao
GearClassificationDao.remoteGearClassificationFullVOToEntityCollection(java.util.Collection)
public void toRemoteGearClassificationFullVO(GearClassification source, RemoteGearClassificationFullVO target)
GearClassificationDao
toRemoteGearClassificationFullVO
in interface GearClassificationDao
GearClassificationDao.toRemoteGearClassificationFullVO(fr.ifremer.allegro.referential.gear.GearClassification, fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearClassificationFullVO)
public RemoteGearClassificationFullVO toRemoteGearClassificationFullVO(GearClassification entity)
GearClassificationDao
RemoteGearClassificationFullVO
.
toRemoteGearClassificationFullVO
in interface GearClassificationDao
GearClassificationDao.toRemoteGearClassificationFullVO(fr.ifremer.allegro.referential.gear.GearClassification)
public void remoteGearClassificationFullVOToEntity(RemoteGearClassificationFullVO source, GearClassification target, boolean copyIfNull)
GearClassificationDao
RemoteGearClassificationFullVO
to the specified entity.
remoteGearClassificationFullVOToEntity
in interface GearClassificationDao
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.GearClassificationDao#remoteGearClassificationFullVOToEntity(fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearClassificationFullVO, fr.ifremer.allegro.referential.gear.GearClassification)
public final void toRemoteGearClassificationNaturalIdCollection(java.util.Collection entities)
GearClassificationDao
RemoteGearClassificationNaturalId
.
toRemoteGearClassificationNaturalIdCollection
in interface GearClassificationDao
GearClassificationDao.toRemoteGearClassificationNaturalIdCollection(java.util.Collection)
public final RemoteGearClassificationNaturalId[] toRemoteGearClassificationNaturalIdArray(java.util.Collection entities)
GearClassificationDao
RemoteGearClassificationNaturalId
.
toRemoteGearClassificationNaturalIdArray
in interface GearClassificationDao
GearClassificationDao.toRemoteGearClassificationNaturalIdArray(java.util.Collection)
protected RemoteGearClassificationNaturalId toRemoteGearClassificationNaturalId(java.lang.Object[] row)
GearClassificationDaoImpl
class if you intend to use reporting queries.
GearClassificationDao.toRemoteGearClassificationNaturalId(fr.ifremer.allegro.referential.gear.GearClassification)
public final void remoteGearClassificationNaturalIdToEntityCollection(java.util.Collection instances)
GearClassificationDao
RemoteGearClassificationNaturalId
to this
DAO's entity.
remoteGearClassificationNaturalIdToEntityCollection
in interface GearClassificationDao
GearClassificationDao.remoteGearClassificationNaturalIdToEntityCollection(java.util.Collection)
public void toRemoteGearClassificationNaturalId(GearClassification source, RemoteGearClassificationNaturalId target)
GearClassificationDao
toRemoteGearClassificationNaturalId
in interface GearClassificationDao
GearClassificationDao.toRemoteGearClassificationNaturalId(fr.ifremer.allegro.referential.gear.GearClassification, fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearClassificationNaturalId)
public RemoteGearClassificationNaturalId toRemoteGearClassificationNaturalId(GearClassification entity)
GearClassificationDao
RemoteGearClassificationNaturalId
.
toRemoteGearClassificationNaturalId
in interface GearClassificationDao
GearClassificationDao.toRemoteGearClassificationNaturalId(fr.ifremer.allegro.referential.gear.GearClassification)
public void remoteGearClassificationNaturalIdToEntity(RemoteGearClassificationNaturalId source, GearClassification target, boolean copyIfNull)
GearClassificationDao
RemoteGearClassificationNaturalId
to the specified entity.
remoteGearClassificationNaturalIdToEntity
in interface GearClassificationDao
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.GearClassificationDao#remoteGearClassificationNaturalIdToEntity(fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearClassificationNaturalId, fr.ifremer.allegro.referential.gear.GearClassification)
public final void toClusterGearClassificationCollection(java.util.Collection entities)
GearClassificationDao
ClusterGearClassification
.
toClusterGearClassificationCollection
in interface GearClassificationDao
GearClassificationDao.toClusterGearClassificationCollection(java.util.Collection)
public final ClusterGearClassification[] toClusterGearClassificationArray(java.util.Collection entities)
GearClassificationDao
ClusterGearClassification
.
toClusterGearClassificationArray
in interface GearClassificationDao
GearClassificationDao.toClusterGearClassificationArray(java.util.Collection)
protected ClusterGearClassification toClusterGearClassification(java.lang.Object[] row)
GearClassificationDaoImpl
class if you intend to use reporting queries.
GearClassificationDao.toClusterGearClassification(fr.ifremer.allegro.referential.gear.GearClassification)
public final void clusterGearClassificationToEntityCollection(java.util.Collection instances)
GearClassificationDao
ClusterGearClassification
to this
DAO's entity.
clusterGearClassificationToEntityCollection
in interface GearClassificationDao
GearClassificationDao.clusterGearClassificationToEntityCollection(java.util.Collection)
public void toClusterGearClassification(GearClassification source, ClusterGearClassification target)
GearClassificationDao
toClusterGearClassification
in interface GearClassificationDao
GearClassificationDao.toClusterGearClassification(fr.ifremer.allegro.referential.gear.GearClassification, fr.ifremer.allegro.referential.gear.generic.cluster.ClusterGearClassification)
public ClusterGearClassification toClusterGearClassification(GearClassification entity)
GearClassificationDao
ClusterGearClassification
.
toClusterGearClassification
in interface GearClassificationDao
GearClassificationDao.toClusterGearClassification(fr.ifremer.allegro.referential.gear.GearClassification)
public void clusterGearClassificationToEntity(ClusterGearClassification source, GearClassification target, boolean copyIfNull)
GearClassificationDao
ClusterGearClassification
to the specified entity.
clusterGearClassificationToEntity
in interface GearClassificationDao
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.GearClassificationDao#clusterGearClassificationToEntity(fr.ifremer.allegro.referential.gear.generic.cluster.ClusterGearClassification, fr.ifremer.allegro.referential.gear.GearClassification)
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)
GearClassificationDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface GearClassificationDao
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.GearClassificationDao.search(int, int, int, fr.ifremer.allegro.Search)
public PaginationResult search(int pageNumber, int pageSize, Search search)
GearClassificationDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface GearClassificationDao
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.GearClassificationDao.search(int, int, fr.ifremer.allegro.Search)
public java.util.Set search(int transform, Search search)
GearClassificationDao
GearClassificationDao.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 GearClassificationDao
transform
- the transformation flag.search
- the search object which provides the search parameters and pagination specification.
GearClassificationDao.search(int, fr.ifremer.allegro.Search)
public java.util.Set search(Search search)
GearClassificationDao
search
object.
search
in interface GearClassificationDao
search
- the search object which provides the search parameters and pagination specification.
GearClassificationDao.search(fr.ifremer.allegro.Search)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |