|
||||||||||
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.administration.programStrategy.AcquisitionLevelDaoBase
public abstract class AcquisitionLevelDaoBase
Base Spring DAO Class: is able to create, update, remove, load, and find
objects of type fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel
.
AcquisitionLevel
Field Summary |
---|
Fields inherited from interface fr.ifremer.allegro.administration.programStrategy.AcquisitionLevelDao |
---|
TRANSFORM_CLUSTERACQUISITIONLEVEL, TRANSFORM_NONE, TRANSFORM_REMOTEACQUISITIONLEVELFULLVO, TRANSFORM_REMOTEACQUISITIONLEVELNATURALID |
Constructor Summary | |
---|---|
AcquisitionLevelDaoBase()
|
Method Summary | |
---|---|
void |
clusterAcquisitionLevelToEntity(ClusterAcquisitionLevel source,
AcquisitionLevel target,
boolean copyIfNull)
Copies the fields of ClusterAcquisitionLevel to the specified entity. |
void |
clusterAcquisitionLevelToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type ClusterAcquisitionLevel to this
DAO's entity. |
AcquisitionLevel |
create(AcquisitionLevel acquisitionLevel)
Creates an instance of fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel and adds it to the persistent store. |
java.util.Collection |
create(java.util.Collection entities)
Creates a new instance of fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel and adds from the passed in entities collection |
java.lang.Object |
create(int transform,
AcquisitionLevel acquisitionLevel)
Does the same thing as AcquisitionLevelDao.create(fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel) with an
additional flag called transform . |
java.util.Collection |
create(int transform,
java.util.Collection entities)
Does the same thing as AcquisitionLevelDao.create(fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
java.lang.String code,
java.lang.String name)
Does the same thing as AcquisitionLevelDao.create(java.lang.String,java.lang.String) with an
additional flag called transform . |
AcquisitionLevel |
create(java.lang.String code,
java.lang.String name)
Creates a new fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel
instance from all attributes and
properties and adds it to the persistent store. |
AcquisitionLevel |
createFromClusterAcquisitionLevel(ClusterAcquisitionLevel clusterAcquisitionLevel)
|
java.lang.Object |
findAcquisitionLevelByCode(int transform,
java.lang.String code)
Does the same thing as AcquisitionLevelDao.findAcquisitionLevelByCode(java.lang.String) with an
additional flag called transform . |
java.lang.Object |
findAcquisitionLevelByCode(int transform,
java.lang.String queryString,
java.lang.String code)
Does the same thing as AcquisitionLevelDao.findAcquisitionLevelByCode(int, java.lang.String) with an
additional argument called queryString . |
AcquisitionLevel |
findAcquisitionLevelByCode(java.lang.String code)
|
AcquisitionLevel |
findAcquisitionLevelByCode(java.lang.String queryString,
java.lang.String code)
Does the same thing as AcquisitionLevelDao.findAcquisitionLevelByCode(java.lang.String) with an
additional argument called queryString . |
java.lang.Object |
findAcquisitionLevelByNaturalId(int transform,
java.lang.String code)
Does the same thing as AcquisitionLevelDao.findAcquisitionLevelByNaturalId(java.lang.String) with an
additional flag called transform . |
java.lang.Object |
findAcquisitionLevelByNaturalId(int transform,
java.lang.String queryString,
java.lang.String code)
Does the same thing as AcquisitionLevelDao.findAcquisitionLevelByNaturalId(int, java.lang.String) with an
additional argument called queryString . |
AcquisitionLevel |
findAcquisitionLevelByNaturalId(java.lang.String code)
|
AcquisitionLevel |
findAcquisitionLevelByNaturalId(java.lang.String queryString,
java.lang.String code)
Does the same thing as AcquisitionLevelDao.findAcquisitionLevelByNaturalId(java.lang.String) with an
additional argument called queryString . |
java.util.Collection |
getAllAcquisitionLevel()
|
java.util.Collection |
getAllAcquisitionLevel(int transform)
Does the same thing as AcquisitionLevelDao.getAllAcquisitionLevel() with an
additional flag called transform . |
java.util.Collection |
getAllAcquisitionLevel(int pageNumber,
int pageSize)
Does the same thing as AcquisitionLevelDao.getAllAcquisitionLevel() with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllAcquisitionLevel(int transform,
int pageNumber,
int pageSize)
Does the same thing as AcquisitionLevelDao.getAllAcquisitionLevel(int) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllAcquisitionLevel(int transform,
java.lang.String queryString)
Does the same thing as AcquisitionLevelDao.getAllAcquisitionLevel(int) with an
additional argument called queryString . |
java.util.Collection |
getAllAcquisitionLevel(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as AcquisitionLevelDao.getAllAcquisitionLevel(int, String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllAcquisitionLevel(java.lang.String queryString)
Does the same thing as AcquisitionLevelDao.getAllAcquisitionLevel() with an
additional argument called queryString . |
java.util.Collection |
getAllAcquisitionLevel(java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as AcquisitionLevelDao.getAllAcquisitionLevel(String) with an
additional two arguments called pageNumber and pageSize . |
ClusterAcquisitionLevel[] |
getAllClusterAcquisitionLevel(java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize)
|
protected java.security.Principal |
getPrincipal()
Gets the current principal if one has been set,
otherwise returns null . |
protected abstract AcquisitionLevel |
handleCreateFromClusterAcquisitionLevel(ClusterAcquisitionLevel clusterAcquisitionLevel)
Performs the core logic for createFromClusterAcquisitionLevel(fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterAcquisitionLevel) |
protected abstract ClusterAcquisitionLevel[] |
handleGetAllClusterAcquisitionLevel(java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize)
Performs the core logic for getAllClusterAcquisitionLevel(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer) |
java.lang.Object |
load(int transform,
java.lang.String code)
Does the same thing as AcquisitionLevelDao.load(java.lang.String) with an
additional flag called transform . |
AcquisitionLevel |
load(java.lang.String code)
Loads an instance of fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel from the persistent store. |
java.util.Collection |
loadAll()
Loads all entities of type AcquisitionLevel . |
java.util.Collection |
loadAll(int transform)
Does the same thing as AcquisitionLevelDao.loadAll() with an
additional flag called transform . |
java.util.Collection |
loadAll(int pageNumber,
int pageSize)
Does the same thing as AcquisitionLevelDao.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 AcquisitionLevelDao.loadAll(int) with an
additional two arguments called pageNumber and pageSize . |
void |
remoteAcquisitionLevelFullVOToEntity(RemoteAcquisitionLevelFullVO source,
AcquisitionLevel target,
boolean copyIfNull)
Copies the fields of RemoteAcquisitionLevelFullVO to the specified entity. |
void |
remoteAcquisitionLevelFullVOToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteAcquisitionLevelFullVO to this
DAO's entity. |
void |
remoteAcquisitionLevelNaturalIdToEntity(RemoteAcquisitionLevelNaturalId source,
AcquisitionLevel target,
boolean copyIfNull)
Copies the fields of RemoteAcquisitionLevelNaturalId to the specified entity. |
void |
remoteAcquisitionLevelNaturalIdToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteAcquisitionLevelNaturalId to this
DAO's entity. |
void |
remove(AcquisitionLevel acquisitionLevel)
Removes the instance of fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel from the persistent store. |
void |
remove(java.util.Collection entities)
Removes all entities in the given entities |
void |
remove(java.lang.String code)
Removes the instance of fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel 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 AcquisitionLevelDao.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. |
ClusterAcquisitionLevel |
toClusterAcquisitionLevel(AcquisitionLevel entity)
Converts this DAO's entity to an object of type ClusterAcquisitionLevel . |
void |
toClusterAcquisitionLevel(AcquisitionLevel source,
ClusterAcquisitionLevel target)
Copies the fields of the specified entity to the target value object. |
protected ClusterAcquisitionLevel |
toClusterAcquisitionLevel(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
ClusterAcquisitionLevel[] |
toClusterAcquisitionLevelArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type ClusterAcquisitionLevel . |
void |
toClusterAcquisitionLevelCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type ClusterAcquisitionLevel . |
protected AcquisitionLevel |
toEntity(java.lang.Object[] row)
|
RemoteAcquisitionLevelFullVO |
toRemoteAcquisitionLevelFullVO(AcquisitionLevel entity)
Converts this DAO's entity to an object of type RemoteAcquisitionLevelFullVO . |
void |
toRemoteAcquisitionLevelFullVO(AcquisitionLevel source,
RemoteAcquisitionLevelFullVO target)
Copies the fields of the specified entity to the target value object. |
protected RemoteAcquisitionLevelFullVO |
toRemoteAcquisitionLevelFullVO(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteAcquisitionLevelFullVO[] |
toRemoteAcquisitionLevelFullVOArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteAcquisitionLevelFullVO . |
void |
toRemoteAcquisitionLevelFullVOCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteAcquisitionLevelFullVO . |
RemoteAcquisitionLevelNaturalId |
toRemoteAcquisitionLevelNaturalId(AcquisitionLevel entity)
Converts this DAO's entity to an object of type RemoteAcquisitionLevelNaturalId . |
void |
toRemoteAcquisitionLevelNaturalId(AcquisitionLevel source,
RemoteAcquisitionLevelNaturalId target)
Copies the fields of the specified entity to the target value object. |
protected RemoteAcquisitionLevelNaturalId |
toRemoteAcquisitionLevelNaturalId(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteAcquisitionLevelNaturalId[] |
toRemoteAcquisitionLevelNaturalIdArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteAcquisitionLevelNaturalId . |
void |
toRemoteAcquisitionLevelNaturalIdCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteAcquisitionLevelNaturalId . |
protected void |
transformEntities(int transform,
java.util.Collection entities)
Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel)
method. |
protected java.lang.Object |
transformEntity(int transform,
AcquisitionLevel 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.administration.programStrategy.AcquisitionLevelDao , please note
that the AcquisitionLevelDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself
will be returned. |
void |
update(AcquisitionLevel acquisitionLevel)
Updates the acquisitionLevel instance in the persistent store. |
void |
update(java.util.Collection entities)
Updates all instances in the entities collection 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.administration.programStrategy.AcquisitionLevelDao |
---|
clusterAcquisitionLevelToEntity, remoteAcquisitionLevelFullVOToEntity, remoteAcquisitionLevelNaturalIdToEntity |
Constructor Detail |
---|
public AcquisitionLevelDaoBase()
Method Detail |
---|
public java.lang.Object load(int transform, java.lang.String code)
AcquisitionLevelDao
Does the same thing as AcquisitionLevelDao.load(java.lang.String)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined in this class then the result WILL BE passed through an operation which can
optionally transform the entity (into a value object for example). By default, transformation does
not occur.
load
in interface AcquisitionLevelDao
code
- identifier of the entity to load
AcquisitionLevelDao.load(int, java.lang.String)
public AcquisitionLevel load(java.lang.String code)
AcquisitionLevelDao
load
in interface AcquisitionLevelDao
AcquisitionLevelDao.load(java.lang.String)
public java.util.Collection loadAll()
AcquisitionLevelDao
AcquisitionLevel
.
loadAll
in interface AcquisitionLevelDao
AcquisitionLevelDao.loadAll()
public java.util.Collection loadAll(int transform)
AcquisitionLevelDao
Does the same thing as AcquisitionLevelDao.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 AcquisitionLevelDao
transform
- the flag indicating what transformation to use.
AcquisitionLevelDao.loadAll(int)
public java.util.Collection loadAll(int pageNumber, int pageSize)
AcquisitionLevelDao
Does the same thing as AcquisitionLevelDao.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 AcquisitionLevelDao
pageNumber
- the page number to retrieve when paging results.pageSize
- the size of the page to retrieve when paging results.
AcquisitionLevelDao.loadAll(int, int)
public java.util.Collection loadAll(int transform, int pageNumber, int pageSize)
AcquisitionLevelDao
Does the same thing as AcquisitionLevelDao.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 AcquisitionLevelDao
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.
AcquisitionLevelDao.loadAll(int, int, int)
public AcquisitionLevel create(AcquisitionLevel acquisitionLevel)
AcquisitionLevelDao
create
in interface AcquisitionLevelDao
AcquisitionLevelDao.create(fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel)
public java.lang.Object create(int transform, AcquisitionLevel acquisitionLevel)
AcquisitionLevelDao
Does the same thing as AcquisitionLevelDao.create(fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel)
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 AcquisitionLevelDao
AcquisitionLevelDao.create(int transform, fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel)
public java.util.Collection create(java.util.Collection entities)
AcquisitionLevelDao
entities
collection
create
in interface AcquisitionLevelDao
entities
- the collection of fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel
instances to create.
AcquisitionLevelDao.create(java.util.Collection)
public java.util.Collection create(int transform, java.util.Collection entities)
AcquisitionLevelDao
Does the same thing as AcquisitionLevelDao.create(fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel)
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 AcquisitionLevelDao
AcquisitionLevelDao.create(int, java.util.Collection)
public AcquisitionLevel create(java.lang.String code, java.lang.String name)
AcquisitionLevelDao
Creates a new fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel
instance from all attributes and
properties and adds it to the persistent store.
create
in interface AcquisitionLevelDao
AcquisitionLevelDao.create(java.lang.String,java.lang.String)
public java.lang.Object create(int transform, java.lang.String code, java.lang.String name)
AcquisitionLevelDao
Does the same thing as AcquisitionLevelDao.create(java.lang.String,java.lang.String)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined 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 AcquisitionLevelDao
AcquisitionLevelDao.create(int, java.lang.String,java.lang.String)
public void update(AcquisitionLevel acquisitionLevel)
AcquisitionLevelDao
acquisitionLevel
instance in the persistent store.
update
in interface AcquisitionLevelDao
AcquisitionLevelDao.update(fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel)
public void update(java.util.Collection entities)
AcquisitionLevelDao
entities
collection in the persistent store.
update
in interface AcquisitionLevelDao
AcquisitionLevelDao.update(java.util.Collection)
public void remove(AcquisitionLevel acquisitionLevel)
AcquisitionLevelDao
remove
in interface AcquisitionLevelDao
AcquisitionLevelDao.remove(fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel)
public void remove(java.lang.String code)
AcquisitionLevelDao
identifier
from the persistent store.
remove
in interface AcquisitionLevelDao
AcquisitionLevelDao.remove(java.lang.String)
public void remove(java.util.Collection entities)
AcquisitionLevelDao
entities collection.
- Specified by:
remove
in interface AcquisitionLevelDao
- See Also:
AcquisitionLevelDao.remove(java.util.Collection)
public java.util.Collection getAllAcquisitionLevel()
getAllAcquisitionLevel
in interface AcquisitionLevelDao
AcquisitionLevelDao.getAllAcquisitionLevel()
public java.util.Collection getAllAcquisitionLevel(int transform)
AcquisitionLevelDao
Does the same thing as AcquisitionLevelDao.getAllAcquisitionLevel()
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.
getAllAcquisitionLevel
in interface AcquisitionLevelDao
AcquisitionLevelDao.getAllAcquisitionLevel(int)
public java.util.Collection getAllAcquisitionLevel(java.lang.String queryString)
AcquisitionLevelDao
Does the same thing as AcquisitionLevelDao.getAllAcquisitionLevel()
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in AcquisitionLevelDao.getAllAcquisitionLevel()
.
getAllAcquisitionLevel
in interface AcquisitionLevelDao
AcquisitionLevelDao.getAllAcquisitionLevel(java.lang.String)
public java.util.Collection getAllAcquisitionLevel(int pageNumber, int pageSize)
AcquisitionLevelDao
Does the same thing as AcquisitionLevelDao.getAllAcquisitionLevel()
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.
getAllAcquisitionLevel
in interface AcquisitionLevelDao
AcquisitionLevelDao.getAllAcquisitionLevel(int, int)
public java.util.Collection getAllAcquisitionLevel(java.lang.String queryString, int pageNumber, int pageSize)
AcquisitionLevelDao
Does the same thing as AcquisitionLevelDao.getAllAcquisitionLevel(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.
getAllAcquisitionLevel
in interface AcquisitionLevelDao
AcquisitionLevelDao.getAllAcquisitionLevel(String, int, int)
public java.util.Collection getAllAcquisitionLevel(int transform, java.lang.String queryString)
AcquisitionLevelDao
Does the same thing as AcquisitionLevelDao.getAllAcquisitionLevel(int)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in AcquisitionLevelDao.getAllAcquisitionLevel(int)
.
getAllAcquisitionLevel
in interface AcquisitionLevelDao
AcquisitionLevelDao.getAllAcquisitionLevel(int, String)
public java.util.Collection getAllAcquisitionLevel(int transform, int pageNumber, int pageSize)
AcquisitionLevelDao
Does the same thing as AcquisitionLevelDao.getAllAcquisitionLevel(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.
getAllAcquisitionLevel
in interface AcquisitionLevelDao
AcquisitionLevelDao.getAllAcquisitionLevel(int, int, int)
public java.util.Collection getAllAcquisitionLevel(int transform, java.lang.String queryString, int pageNumber, int pageSize)
AcquisitionLevelDao
Does the same thing as AcquisitionLevelDao.getAllAcquisitionLevel(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.
getAllAcquisitionLevel
in interface AcquisitionLevelDao
AcquisitionLevelDao.getAllAcquisitionLevel(int, java.lang.String, int, int)
public AcquisitionLevel findAcquisitionLevelByCode(java.lang.String code)
findAcquisitionLevelByCode
in interface AcquisitionLevelDao
AcquisitionLevelDao.findAcquisitionLevelByCode(java.lang.String)
public java.lang.Object findAcquisitionLevelByCode(int transform, java.lang.String code)
AcquisitionLevelDao
Does the same thing as AcquisitionLevelDao.findAcquisitionLevelByCode(java.lang.String)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
findAcquisitionLevelByCode
in interface AcquisitionLevelDao
AcquisitionLevelDao.findAcquisitionLevelByCode(int, java.lang.String)
public AcquisitionLevel findAcquisitionLevelByCode(java.lang.String queryString, java.lang.String code)
AcquisitionLevelDao
Does the same thing as AcquisitionLevelDao.findAcquisitionLevelByCode(java.lang.String)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in AcquisitionLevelDao.findAcquisitionLevelByCode(java.lang.String)
.
findAcquisitionLevelByCode
in interface AcquisitionLevelDao
AcquisitionLevelDao.findAcquisitionLevelByCode(java.lang.String, java.lang.String)
public java.lang.Object findAcquisitionLevelByCode(int transform, java.lang.String queryString, java.lang.String code)
AcquisitionLevelDao
Does the same thing as AcquisitionLevelDao.findAcquisitionLevelByCode(int, java.lang.String)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in AcquisitionLevelDao.findAcquisitionLevelByCode(int, java.lang.String code)
.
findAcquisitionLevelByCode
in interface AcquisitionLevelDao
AcquisitionLevelDao.findAcquisitionLevelByCode(int, java.lang.String, java.lang.String)
public AcquisitionLevel findAcquisitionLevelByNaturalId(java.lang.String code)
findAcquisitionLevelByNaturalId
in interface AcquisitionLevelDao
AcquisitionLevelDao.findAcquisitionLevelByNaturalId(java.lang.String)
public java.lang.Object findAcquisitionLevelByNaturalId(int transform, java.lang.String code)
AcquisitionLevelDao
Does the same thing as AcquisitionLevelDao.findAcquisitionLevelByNaturalId(java.lang.String)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
findAcquisitionLevelByNaturalId
in interface AcquisitionLevelDao
AcquisitionLevelDao.findAcquisitionLevelByNaturalId(int, java.lang.String)
public AcquisitionLevel findAcquisitionLevelByNaturalId(java.lang.String queryString, java.lang.String code)
AcquisitionLevelDao
Does the same thing as AcquisitionLevelDao.findAcquisitionLevelByNaturalId(java.lang.String)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in AcquisitionLevelDao.findAcquisitionLevelByNaturalId(java.lang.String)
.
findAcquisitionLevelByNaturalId
in interface AcquisitionLevelDao
AcquisitionLevelDao.findAcquisitionLevelByNaturalId(java.lang.String, java.lang.String)
public java.lang.Object findAcquisitionLevelByNaturalId(int transform, java.lang.String queryString, java.lang.String code)
AcquisitionLevelDao
Does the same thing as AcquisitionLevelDao.findAcquisitionLevelByNaturalId(int, java.lang.String)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in AcquisitionLevelDao.findAcquisitionLevelByNaturalId(int, java.lang.String code)
.
findAcquisitionLevelByNaturalId
in interface AcquisitionLevelDao
AcquisitionLevelDao.findAcquisitionLevelByNaturalId(int, java.lang.String, java.lang.String)
public AcquisitionLevel createFromClusterAcquisitionLevel(ClusterAcquisitionLevel clusterAcquisitionLevel)
createFromClusterAcquisitionLevel
in interface AcquisitionLevelDao
AcquisitionLevelDao.createFromClusterAcquisitionLevel(fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterAcquisitionLevel)
protected abstract AcquisitionLevel handleCreateFromClusterAcquisitionLevel(ClusterAcquisitionLevel clusterAcquisitionLevel) throws java.lang.Exception
createFromClusterAcquisitionLevel(fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterAcquisitionLevel)
java.lang.Exception
public ClusterAcquisitionLevel[] getAllClusterAcquisitionLevel(java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
getAllClusterAcquisitionLevel
in interface AcquisitionLevelDao
AcquisitionLevelDao.getAllClusterAcquisitionLevel(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected abstract ClusterAcquisitionLevel[] handleGetAllClusterAcquisitionLevel(java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize) throws java.lang.Exception
getAllClusterAcquisitionLevel(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
java.lang.Exception
protected java.lang.Object transformEntity(int transform, AcquisitionLevel entity)
transform
flag is set to one of the constants defined in fr.ifremer.allegro.administration.programStrategy.AcquisitionLevelDao
, please note
that the AcquisitionLevelDao.TRANSFORM_NONE
constant denotes no transformation, so the entity itself
will be returned.
This method will return instances of these types:
AcquisitionLevel
- AcquisitionLevelDao.TRANSFORM_NONE
RemoteAcquisitionLevelFullVO
- TRANSFORM_REMOTEACQUISITIONLEVELFULLVO
RemoteAcquisitionLevelNaturalId
- TRANSFORM_REMOTEACQUISITIONLEVELNATURALID
ClusterAcquisitionLevel
- TRANSFORM_CLUSTERACQUISITIONLEVEL
AcquisitionLevelDao.TRANSFORM_NONE
is assumed.
transform
- one of the constants declared in AcquisitionLevelDao
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.administration.programStrategy.AcquisitionLevel)
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.administration.programStrategy.AcquisitionLevelDao
entities
- the collection of entities to transformtransformEntity(int,fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel)
protected AcquisitionLevel toEntity(java.lang.Object[] row)
public final void toRemoteAcquisitionLevelFullVOCollection(java.util.Collection entities)
AcquisitionLevelDao
RemoteAcquisitionLevelFullVO
.
toRemoteAcquisitionLevelFullVOCollection
in interface AcquisitionLevelDao
AcquisitionLevelDao.toRemoteAcquisitionLevelFullVOCollection(java.util.Collection)
public final RemoteAcquisitionLevelFullVO[] toRemoteAcquisitionLevelFullVOArray(java.util.Collection entities)
AcquisitionLevelDao
RemoteAcquisitionLevelFullVO
.
toRemoteAcquisitionLevelFullVOArray
in interface AcquisitionLevelDao
AcquisitionLevelDao.toRemoteAcquisitionLevelFullVOArray(java.util.Collection)
protected RemoteAcquisitionLevelFullVO toRemoteAcquisitionLevelFullVO(java.lang.Object[] row)
AcquisitionLevelDaoImpl
class if you intend to use reporting queries.
AcquisitionLevelDao.toRemoteAcquisitionLevelFullVO(fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel)
public final void remoteAcquisitionLevelFullVOToEntityCollection(java.util.Collection instances)
AcquisitionLevelDao
RemoteAcquisitionLevelFullVO
to this
DAO's entity.
remoteAcquisitionLevelFullVOToEntityCollection
in interface AcquisitionLevelDao
AcquisitionLevelDao.remoteAcquisitionLevelFullVOToEntityCollection(java.util.Collection)
public void toRemoteAcquisitionLevelFullVO(AcquisitionLevel source, RemoteAcquisitionLevelFullVO target)
AcquisitionLevelDao
toRemoteAcquisitionLevelFullVO
in interface AcquisitionLevelDao
AcquisitionLevelDao.toRemoteAcquisitionLevelFullVO(fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel, fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteAcquisitionLevelFullVO)
public RemoteAcquisitionLevelFullVO toRemoteAcquisitionLevelFullVO(AcquisitionLevel entity)
AcquisitionLevelDao
RemoteAcquisitionLevelFullVO
.
toRemoteAcquisitionLevelFullVO
in interface AcquisitionLevelDao
AcquisitionLevelDao.toRemoteAcquisitionLevelFullVO(fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel)
public void remoteAcquisitionLevelFullVOToEntity(RemoteAcquisitionLevelFullVO source, AcquisitionLevel target, boolean copyIfNull)
AcquisitionLevelDao
RemoteAcquisitionLevelFullVO
to the specified entity.
remoteAcquisitionLevelFullVOToEntity
in interface AcquisitionLevelDao
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.administration.programStrategy.AcquisitionLevelDao#remoteAcquisitionLevelFullVOToEntity(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteAcquisitionLevelFullVO, fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel)
public final void toRemoteAcquisitionLevelNaturalIdCollection(java.util.Collection entities)
AcquisitionLevelDao
RemoteAcquisitionLevelNaturalId
.
toRemoteAcquisitionLevelNaturalIdCollection
in interface AcquisitionLevelDao
AcquisitionLevelDao.toRemoteAcquisitionLevelNaturalIdCollection(java.util.Collection)
public final RemoteAcquisitionLevelNaturalId[] toRemoteAcquisitionLevelNaturalIdArray(java.util.Collection entities)
AcquisitionLevelDao
RemoteAcquisitionLevelNaturalId
.
toRemoteAcquisitionLevelNaturalIdArray
in interface AcquisitionLevelDao
AcquisitionLevelDao.toRemoteAcquisitionLevelNaturalIdArray(java.util.Collection)
protected RemoteAcquisitionLevelNaturalId toRemoteAcquisitionLevelNaturalId(java.lang.Object[] row)
AcquisitionLevelDaoImpl
class if you intend to use reporting queries.
AcquisitionLevelDao.toRemoteAcquisitionLevelNaturalId(fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel)
public final void remoteAcquisitionLevelNaturalIdToEntityCollection(java.util.Collection instances)
AcquisitionLevelDao
RemoteAcquisitionLevelNaturalId
to this
DAO's entity.
remoteAcquisitionLevelNaturalIdToEntityCollection
in interface AcquisitionLevelDao
AcquisitionLevelDao.remoteAcquisitionLevelNaturalIdToEntityCollection(java.util.Collection)
public void toRemoteAcquisitionLevelNaturalId(AcquisitionLevel source, RemoteAcquisitionLevelNaturalId target)
AcquisitionLevelDao
toRemoteAcquisitionLevelNaturalId
in interface AcquisitionLevelDao
AcquisitionLevelDao.toRemoteAcquisitionLevelNaturalId(fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel, fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteAcquisitionLevelNaturalId)
public RemoteAcquisitionLevelNaturalId toRemoteAcquisitionLevelNaturalId(AcquisitionLevel entity)
AcquisitionLevelDao
RemoteAcquisitionLevelNaturalId
.
toRemoteAcquisitionLevelNaturalId
in interface AcquisitionLevelDao
AcquisitionLevelDao.toRemoteAcquisitionLevelNaturalId(fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel)
public void remoteAcquisitionLevelNaturalIdToEntity(RemoteAcquisitionLevelNaturalId source, AcquisitionLevel target, boolean copyIfNull)
AcquisitionLevelDao
RemoteAcquisitionLevelNaturalId
to the specified entity.
remoteAcquisitionLevelNaturalIdToEntity
in interface AcquisitionLevelDao
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.administration.programStrategy.AcquisitionLevelDao#remoteAcquisitionLevelNaturalIdToEntity(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteAcquisitionLevelNaturalId, fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel)
public final void toClusterAcquisitionLevelCollection(java.util.Collection entities)
AcquisitionLevelDao
ClusterAcquisitionLevel
.
toClusterAcquisitionLevelCollection
in interface AcquisitionLevelDao
AcquisitionLevelDao.toClusterAcquisitionLevelCollection(java.util.Collection)
public final ClusterAcquisitionLevel[] toClusterAcquisitionLevelArray(java.util.Collection entities)
AcquisitionLevelDao
ClusterAcquisitionLevel
.
toClusterAcquisitionLevelArray
in interface AcquisitionLevelDao
AcquisitionLevelDao.toClusterAcquisitionLevelArray(java.util.Collection)
protected ClusterAcquisitionLevel toClusterAcquisitionLevel(java.lang.Object[] row)
AcquisitionLevelDaoImpl
class if you intend to use reporting queries.
AcquisitionLevelDao.toClusterAcquisitionLevel(fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel)
public final void clusterAcquisitionLevelToEntityCollection(java.util.Collection instances)
AcquisitionLevelDao
ClusterAcquisitionLevel
to this
DAO's entity.
clusterAcquisitionLevelToEntityCollection
in interface AcquisitionLevelDao
AcquisitionLevelDao.clusterAcquisitionLevelToEntityCollection(java.util.Collection)
public void toClusterAcquisitionLevel(AcquisitionLevel source, ClusterAcquisitionLevel target)
AcquisitionLevelDao
toClusterAcquisitionLevel
in interface AcquisitionLevelDao
AcquisitionLevelDao.toClusterAcquisitionLevel(fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel, fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterAcquisitionLevel)
public ClusterAcquisitionLevel toClusterAcquisitionLevel(AcquisitionLevel entity)
AcquisitionLevelDao
ClusterAcquisitionLevel
.
toClusterAcquisitionLevel
in interface AcquisitionLevelDao
AcquisitionLevelDao.toClusterAcquisitionLevel(fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel)
public void clusterAcquisitionLevelToEntity(ClusterAcquisitionLevel source, AcquisitionLevel target, boolean copyIfNull)
AcquisitionLevelDao
ClusterAcquisitionLevel
to the specified entity.
clusterAcquisitionLevelToEntity
in interface AcquisitionLevelDao
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.administration.programStrategy.AcquisitionLevelDao#clusterAcquisitionLevelToEntity(fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterAcquisitionLevel, fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel)
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)
AcquisitionLevelDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface AcquisitionLevelDao
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.AcquisitionLevelDao.search(int, int, int, fr.ifremer.allegro.Search)
public PaginationResult search(int pageNumber, int pageSize, Search search)
AcquisitionLevelDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface AcquisitionLevelDao
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.AcquisitionLevelDao.search(int, int, fr.ifremer.allegro.Search)
public java.util.Set search(int transform, Search search)
AcquisitionLevelDao
AcquisitionLevelDao.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 AcquisitionLevelDao
transform
- the transformation flag.search
- the search object which provides the search parameters and pagination specification.
AcquisitionLevelDao.search(int, fr.ifremer.allegro.Search)
public java.util.Set search(Search search)
AcquisitionLevelDao
search
object.
search
in interface AcquisitionLevelDao
search
- the search object which provides the search parameters and pagination specification.
AcquisitionLevelDao.search(fr.ifremer.allegro.Search)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |