E
- le type de l'entitepublic class TopiaDAOImpl<E extends TopiaEntity> extends Object implements TopiaDAO<E>
Modifier and Type | Class and Description |
---|---|
static class |
TopiaDAOImpl.FindAllIterator<E extends TopiaEntity,R> |
Modifier and Type | Field and Description |
---|---|
protected TopiaContextImplementor |
context
Underlying context used by this dao to do actions on db.
|
protected Class<E> |
entityClass
Type of entity managed by this dao.
|
Constructor and Description |
---|
TopiaDAOImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addTopiaEntityListener(TopiaEntityListener listener) |
void |
addTopiaEntityVetoable(TopiaEntityVetoable vetoable) |
void |
computeAndAddRecordsToPager(String hql,
TopiaPagerBean pager,
Object... params)
Execute the count
hql query and then synch the pager to this
result (says fill the
PagerBean.getRecords() field and then adapt
the number of pages available and the current number page). |
long |
count()
Count the number of existing entities.
|
long |
countByQuery(String hql,
Object... params)
Count the number of entities based on a
hql . |
int |
countByQuery(TopiaQuery query)
Count the number of entities based on
query . |
E |
create(E entity)
Permet de sauver un object instancié sans le DAO.
|
E |
create(Map<String,Object> properties)
Cette methode appelle fireVetoableCreate et fireOnCreated Si vous la
surchargé, faites attention a appeler le super ou a appeler vous aussi
ces deux methodes.
|
E |
create(Object... properties)
Construit une nouvelle instance de l'objet géré par ce DAO
|
TopiaQuery |
createQuery()
Crée une requete basé sur l'entité lié au DAO.
|
TopiaQuery |
createQuery(String entityAlias)
Crée une requête basé sur l'entité lié au DAO et lui assigne un alias
valable dans la requête..
|
String |
createSimpleQuery(String alias)
Create the simple hql query for the entity managed by the dao.
|
void |
delete(E e)
Permet de supprimer une entite.
|
void |
deleteAll(Iterable<E> entities)
Permet de supprimer des entités.
|
boolean |
existByProperties(String propertyName,
Object propertyValue,
Object... others)
Check the existence of an entity with
propertyName with propertyValue . |
boolean |
existByQuery(TopiaQuery query)
Check the existence of an entity using a
query . |
boolean |
existByTopiaId(String id)
Check the existence of an entity with technical
id . |
boolean |
existsByQuery(String hql,
Object... params)
Check the existence of an entity using a
hql query. |
List<E> |
findAll()
Gets all entitys of the dao type in db.
|
List<E> |
findAllByProperties(Map<String,Object> properties)
Gets all entities of the dao type matching all the
properties . |
List<E> |
findAllByProperties(String propertyName,
Object value,
Object... others)
Gets all entities of the dao type matching the
value for the
given propertyName and others . |
List<E> |
findAllByProperty(String propertyName,
Object value)
Gets all entities of the dao type matching the
value for the
given propertyName . |
<R> List<R> |
findAllByQuery(Class<R> type,
String hql,
Object... params)
Gets all entities when executing the given select query for the given
type which may not be a entity type (int, long, map,...). |
List<E> |
findAllByQuery(String hql,
Object... params)
Gets all entities when executing the given select query for the dao
entity type.
|
List<E> |
findAllByQuery(TopiaQuery query)
Execute une requête basé sur l'entité du DAO.
|
<R> List<R> |
findAllByQueryAndPager(Class<R> type,
String hql,
TopiaPagerBean pager,
Object... params)
Gets a page of entities of the given select
hql query using the
pager to obtain the window of entities to return. |
List<E> |
findAllByQueryAndPager(String hql,
TopiaPagerBean pager,
Object... params)
Gets a page of entities of the given select
hql query using the
pager to obtain the window of entities to return. |
<R> List<R> |
findAllByQueryWithBound(Class<R> type,
String hql,
int startIndex,
int endIndex,
Object... params)
Gets a page of entities when executing the given select query for the dao
entity type (will only return the window of
startIndex -
endIndex entities). |
List<E> |
findAllByQueryWithBound(String hql,
int startIndex,
int endIndex,
Object... params)
Gets a page of entities when executing the given select query for the dao
entity type (will only return the window of
startIndex -
endIndex entities). |
List<E> |
findAllContains(String propertyName,
Object property)
Récupère toutes les entités (du type géré par ce dao) dont la
collection nommée
propertyName contient la property
donnée. |
List<String> |
findAllIds()
Recuperation de tous les ids en base pour le type d'entite du dao.
|
<R> Iterable<R> |
findAllLazyByQuery(Class<R> type,
int batchSize,
String hql,
Object... params)
Gets all entities in lazy mode when executing the given select query
for the given
type which may not be a entity type (int, long, map,...). |
<R> Iterable<R> |
findAllLazyByQuery(Class<R> type,
String hql,
Object... params)
Gets all entities in lazy mode when executing the given select query
for the given
type which may not be a entity type (int, long, map,...). |
Iterable<E> |
findAllLazyByQuery(int batchSize,
String hql,
Object... params)
Gets all entities in lazy mode when executing the given select query
for the dao entity type.
|
Iterable<E> |
findAllLazyByQuery(String hql,
Object... params)
Gets all entities in lazy mode when executing the given select query
for the dao entity type.
|
Map<String,E> |
findAllMappedByQuery(TopiaQuery query)
Execute une requête basé sur l'entité du DAO.
|
<K> Map<K,E> |
findAllMappedByQuery(TopiaQuery query,
String keyName,
Class<K> keyClass)
Execute une requête basé sur l'entité du DAO.
|
Map<Class<? extends TopiaEntity>,List<? extends TopiaEntity>> |
findAllUsages(E e)
Find all usages of the given
entity . |
List<E> |
findAllWithOrder(String... propertyNames)
Gets all entites for the dao entity type order by given
propertyNames . |
E |
findByPrimaryKey(Map<String,Object> keys)
Recherche la classe en utilisant la cle naturelle, chaque champs de la
cle naturelle est une entre de la map passe en argument.
|
E |
findByPrimaryKey(Object... k)
Recherche la classe en utilisant la cle naturelle, si la cle naturelle
est composé de plusieurs champs alors les arguments passés doivent être
dans l'ordre de declaration dans le fichier de mapping
|
E |
findByProperties(Map<String,Object> properties)
Find an entity matching
properties . |
E |
findByProperties(String propertyName,
Object value,
Object... others) |
E |
findByProperty(String propertyName,
Object value)
Find an entity matching
value for the given propertyName . |
<R> R |
findByQuery(Class<R> type,
String hql,
Object... params)
Execute une requête basé sur le
type donné. |
E |
findByQuery(String hql,
Object... params)
Execute une requête basé sur l'entité du DAO.
|
E |
findByQuery(TopiaQuery query)
Execute une requête basé sur l'entité du DAO.
|
E |
findByTopiaId(String id)
Find an entity corresponding to the
id . |
E |
findContains(String propertyName,
Object property)
Récupère la première entité (du type géré par ce dao) dont la
collection nommée
propertyName contient la property
donnée. |
<U extends TopiaEntity> |
findUsages(Class<U> type,
E e)
Find usages of the given
entity in the entities of the given
type . |
int |
getBatchSize()
Obtains the batch size used to load data.
|
TopiaContextImplementor |
getContext()
Return context used by this DAO.
|
Class<E> |
getEntityClass()
Get the type of entity managed by this DAO.
|
protected Serializable |
getId(E e)
Retourne l'id de l'entity
|
protected Serializable |
getId(Map map)
Retourne l'id de l'entity representer comme une map
|
List<Permission> |
getRequestPermission(String topiaId,
int actions)
Retourne les permissions a verifier pour l'acces a l'entite pour le
service Taas.
|
TopiaEntityEnum |
getTopiaEntityEnum()
Get the entityEnum of the type of entity managed by this DAO.
|
void |
init(TopiaContextImplementor context,
Class<E> entityClass)
When TopiaContextImpl create the TopiaDAOHibernate, it must call this
method just after.
|
Iterator<E> |
iterator() |
E |
newInstance()
Create a new instance of managed entity not persisted.
|
void |
removeTopiaEntityListener(TopiaEntityListener listener) |
void |
removeTopiaEntityVetoable(TopiaEntityVetoable vetoable) |
void |
setBatchSize(int batchSize)
Set a new default batch size.
|
E |
update(E e)
Permet d'ajouter ou de mettre a jour un objet.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
protected Class<E extends TopiaEntity> entityClass
protected TopiaContextImplementor context
public TopiaEntityEnum getTopiaEntityEnum()
TopiaDAO
getTopiaEntityEnum
in interface TopiaDAO<E extends TopiaEntity>
public Class<E> getEntityClass()
TopiaDAO
getEntityClass
in interface TopiaDAO<E extends TopiaEntity>
public int getBatchSize()
TopiaDAO
getBatchSize
in interface TopiaDAO<E extends TopiaEntity>
public void setBatchSize(int batchSize)
TopiaDAO
setBatchSize
in interface TopiaDAO<E extends TopiaEntity>
batchSize
- new batch size to use when iterating.public Iterator<E> iterator()
iterator
in interface Iterable<E extends TopiaEntity>
protected Serializable getId(E e) throws TopiaException
e
- l'entityTopiaException
- Si une erreur survient durant la rechercheprotected Serializable getId(Map map) throws TopiaException
map
- l'entity en representation mapTopiaException
- Si une erreur survient durant la recherchepublic void init(TopiaContextImplementor context, Class<E> entityClass) throws TopiaException
init
in interface TopiaDAO<E extends TopiaEntity>
entityClass
- context
- contextTopiaException
- if any pb while initpublic TopiaContextImplementor getContext()
TopiaDAO
getContext
in interface TopiaDAO<E extends TopiaEntity>
public String createSimpleQuery(String alias)
TopiaDAO
FROM MyEntityImpl myAlias
createSimpleQuery
in interface TopiaDAO<E extends TopiaEntity>
alias
- optional alias to use in querypublic E newInstance() throws TopiaException
TopiaDAO
newInstance
in interface TopiaDAO<E extends TopiaEntity>
TopiaException
- if any pb while creating the entitypublic <U extends TopiaEntity> List<U> findUsages(Class<U> type, E e) throws TopiaException
TopiaDAO
entity
in the entities of the given
type
.findUsages
in interface TopiaDAO<E extends TopiaEntity>
U
- type of entity to searchtype
- the type of entity to searche
- the entity on which search is doneTopiaException
- if any problem while getting datapublic Map<Class<? extends TopiaEntity>,List<? extends TopiaEntity>> findAllUsages(E e) throws TopiaException
TopiaDAO
entity
.findAllUsages
in interface TopiaDAO<E extends TopiaEntity>
e
- the entityTopiaException
- if any pb while getting datapublic List<Permission> getRequestPermission(String topiaId, int actions) throws TopiaException
TopiaDAODeprecated
getRequestPermission
in interface TopiaDAODeprecated<E extends TopiaEntity>
topiaId
- topiaId d'une entiteactions
- encoded actionsTopiaException
- if any pb while getting dataspublic void addTopiaEntityListener(TopiaEntityListener listener)
addTopiaEntityListener
in interface TopiaDAO<E extends TopiaEntity>
public void addTopiaEntityVetoable(TopiaEntityVetoable vetoable)
addTopiaEntityVetoable
in interface TopiaDAO<E extends TopiaEntity>
public void removeTopiaEntityListener(TopiaEntityListener listener)
removeTopiaEntityListener
in interface TopiaDAO<E extends TopiaEntity>
public void removeTopiaEntityVetoable(TopiaEntityVetoable vetoable)
removeTopiaEntityVetoable
in interface TopiaDAO<E extends TopiaEntity>
public E create(E entity) throws TopiaException
TopiaDAO
TopiaDAO.create(Object...)
serait trop couteux.create
in interface TopiaDAO<E extends TopiaEntity>
entity
- l'entité instanciée à sauverTopiaException
- if any pb while creating dataspublic E create(Object... properties) throws TopiaException
TopiaDAO
create
in interface TopiaDAO<E extends TopiaEntity>
properties
- la liste des propriétés que doit avoir l'objet créé les
arguments vont par paire (propertyName, value)TopiaException
- si un problème est rencontré durant
l'instanciationpublic E create(Map<String,Object> properties) throws TopiaException
create
in interface TopiaDAO<E extends TopiaEntity>
properties
- la liste des propriétés que doit avoir l'objet crééTopiaException
- si un problème est rencontré durant
l'instanciationpublic E update(E e) throws TopiaException
TopiaDAO
update
in interface TopiaDAO<E extends TopiaEntity>
e
- l'entite a ajouter ou mettre a jourTopiaException
- if any pb while updating dataspublic void delete(E e) throws TopiaException
TopiaDAO
delete
in interface TopiaDAO<E extends TopiaEntity>
e
- l'entite a supprimerTopiaException
- if any pb while deleting dataspublic void deleteAll(Iterable<E> entities) throws TopiaException
TopiaDAO
deleteAll
in interface TopiaDAO<E extends TopiaEntity>
entities
- les entités à supprimerTopiaException
- if any pb while deleting dataspublic TopiaQuery createQuery()
TopiaDAODeprecated
createQuery
in interface TopiaDAODeprecated<E extends TopiaEntity>
public TopiaQuery createQuery(String entityAlias)
TopiaDAODeprecated
createQuery
in interface TopiaDAODeprecated<E extends TopiaEntity>
entityAlias
- alias permettant de manipuler l'entité dans la
requêtepublic E findByTopiaId(String id) throws TopiaException
TopiaDAO
id
. If the id
is
null, nothing will be searched.findByTopiaId
in interface TopiaDAO<E extends TopiaEntity>
id
- topiaId of the entity to foundTopiaException
- for Topia errors on querypublic E findByProperty(String propertyName, Object value) throws TopiaException
TopiaDAO
value
for the given propertyName
.findByProperty
in interface TopiaDAO<E extends TopiaEntity>
propertyName
- property name to filtervalue
- value of the property to mathTopiaException
public E findByProperties(String propertyName, Object value, Object... others) throws TopiaException
findByProperties
in interface TopiaDAO<E extends TopiaEntity>
propertyName
- le nom de la propriétévalue
- la valeur à testerothers
- les autres proprietes doivent aller par 2
propertyName, valueTopiaException
- if any pb while getting dataspublic E findByProperties(Map<String,Object> properties) throws TopiaException
TopiaDAO
properties
.findByProperties
in interface TopiaDAO<E extends TopiaEntity>
properties
- les propriétés à matcherTopiaException
- if any pb while getting dataspublic E findByQuery(TopiaQuery query) throws TopiaException
TopiaDAODeprecated
findByQuery
in interface TopiaDAODeprecated<E extends TopiaEntity>
query
- la requêteTopiaException
- if any pb while getting datasTopiaQuery.executeToEntity(TopiaContext, Class)
public List<E> findAll() throws TopiaException
TopiaDAO
findAll
in interface TopiaDAO<E extends TopiaEntity>
TopiaException
public List<String> findAllIds() throws TopiaException
TopiaDAO
findAllIds
in interface TopiaDAO<E extends TopiaEntity>
TopiaException
- si pb en basepublic List<E> findAllByProperty(String propertyName, Object value) throws TopiaException
TopiaDAO
value
for the
given propertyName
.findAllByProperty
in interface TopiaDAO<E extends TopiaEntity>
propertyName
- property name to filtervalue
- value to matchTopiaException
- if any pb while getting dataspublic List<E> findAllByProperties(String propertyName, Object value, Object... others) throws TopiaException
TopiaDAO
value
for the
given propertyName
and others
.findAllByProperties
in interface TopiaDAO<E extends TopiaEntity>
propertyName
- le nom de la propriétévalue
- la valeur à testerothers
- les autres proprietes doivent aller par 2
propertyName, valueTopiaException
- if any pb while getting dataspublic List<E> findAllByProperties(Map<String,Object> properties) throws TopiaException
TopiaDAO
properties
.findAllByProperties
in interface TopiaDAO<E extends TopiaEntity>
properties
- properties to matchTopiaException
- if any pb while getting dataspublic List<E> findAllByQuery(TopiaQuery query) throws TopiaException
TopiaDAODeprecated
findAllByQuery
in interface TopiaDAODeprecated<E extends TopiaEntity>
query
- la requêteTopiaException
- if any pb while getting datasTopiaQuery.executeToEntityList(TopiaContext, Class)
public Map<String,E> findAllMappedByQuery(TopiaQuery query) throws TopiaException
TopiaDAODeprecated
findAllMappedByQuery
in interface TopiaDAODeprecated<E extends TopiaEntity>
query
- la requêteTopiaException
- if any pb while getting datasTopiaQuery.executeToEntityMap(TopiaContext, Class)
public <K> Map<K,E> findAllMappedByQuery(TopiaQuery query, String keyName, Class<K> keyClass) throws TopiaException
TopiaDAODeprecated
findAllMappedByQuery
in interface TopiaDAODeprecated<E extends TopiaEntity>
K
- type de la clé de la mapquery
- la requêtekeyName
- nom de la propriété de l'entité utilisée comme clékeyClass
- type de la propriété de l'entité utilisée comme cléTopiaException
- if any pb while getting datasTopiaQuery.executeToEntityMap(TopiaContext, Class)
public List<E> findAllWithOrder(String... propertyNames) throws TopiaException
TopiaDAO
propertyNames
.
You can add on each property
ASC
ou DESC
to
fix order way (by default is ASC
).findAllWithOrder
in interface TopiaDAO<E extends TopiaEntity>
propertyNames
- property names of order to applyTopiaException
- if any pb while getting dataspublic E findContains(String propertyName, Object property) throws TopiaException
TopiaDAO
propertyName
contient la property
donnée.findContains
in interface TopiaDAO<E extends TopiaEntity>
propertyName
- le nom de la propriétéproperty
- la propriété recherchéeTopiaException
- pour tout erreur lors de la recherchepublic List<E> findAllContains(String propertyName, Object property) throws TopiaException
TopiaDAO
propertyName
contient la property
donnée.findAllContains
in interface TopiaDAO<E extends TopiaEntity>
propertyName
- le nom de la propriétéproperty
- la propriété recherchéeTopiaException
- pour tout erreur lors de la recherchepublic boolean existByTopiaId(String id) throws TopiaException
TopiaDAO
id
.existByTopiaId
in interface TopiaDAO<E extends TopiaEntity>
id
- unique id of the entity to test existence.TopiaException
- for Topia errorspublic boolean existByProperties(String propertyName, Object propertyValue, Object... others) throws TopiaException
TopiaDAO
propertyName
with propertyValue
. others
properties can be added to test
existence.existByProperties
in interface TopiaDAO<E extends TopiaEntity>
propertyName
- first property name to test existencepropertyValue
- first property value to test existenceothers
- altern propertyName and propertyValueTopiaException
- for Topia errorspublic boolean existByQuery(TopiaQuery query) throws TopiaException
TopiaDAODeprecated
query
.existByQuery
in interface TopiaDAODeprecated<E extends TopiaEntity>
query
- query used to test existenceTopiaException
public long count() throws TopiaException
TopiaDAO
count
in interface TopiaDAO<E extends TopiaEntity>
TopiaException
- if any pb while getting dataspublic int countByQuery(TopiaQuery query) throws TopiaException
TopiaDAODeprecated
query
.countByQuery
in interface TopiaDAODeprecated<E extends TopiaEntity>
query
- queryTopiaException
- if any pb while getting dataspublic E findByPrimaryKey(Map<String,Object> keys) throws TopiaException
TopiaDAO
findByPrimaryKey
in interface TopiaDAO<E extends TopiaEntity>
keys
- la liste des champs de la cle naturelle avec leur valeurTopiaException
- if any pb while getting dataspublic E findByPrimaryKey(Object... k) throws TopiaException
TopiaDAO
findByPrimaryKey
in interface TopiaDAO<E extends TopiaEntity>
k
- l'objet cle naturelle de la classeTopiaException
- if any pb while getting dataspublic boolean existsByQuery(String hql, Object... params) throws TopiaException
TopiaDAO
hql
query.existsByQuery
in interface TopiaDAO<E extends TopiaEntity>
hql
- query used to test existenceparams
- params used by the queryTopiaException
public long countByQuery(String hql, Object... params) throws TopiaException
TopiaDAO
hql
.countByQuery
in interface TopiaDAO<E extends TopiaEntity>
hql
- hql query to useTopiaException
- if any pb while getting dataspublic E findByQuery(String hql, Object... params) throws TopiaException
TopiaDAO
findByQuery
in interface TopiaDAO<E extends TopiaEntity>
hql
- la requête hql à executerparams
- les paramètres de la requèteTopiaException
- if any pb while getting dataspublic <R> R findByQuery(Class<R> type, String hql, Object... params) throws TopiaException
TopiaDAO
type
donné.
Permet de récupérer une entité correspondant à la requête.findByQuery
in interface TopiaDAO<E extends TopiaEntity>
hql
- la requête hql à executerparams
- les paramètres de la requèteTopiaException
- if any pb while getting dataspublic List<E> findAllByQuery(String hql, Object... params) throws TopiaException
TopiaDAO
findAllByQuery
in interface TopiaDAO<E extends TopiaEntity>
hql
- hql queryparams
- query paramsTopiaException
- if any pb while getting dataspublic <R> List<R> findAllByQuery(Class<R> type, String hql, Object... params) throws TopiaException
TopiaDAO
type
which may not be a entity type (int, long, map,...).findAllByQuery
in interface TopiaDAO<E extends TopiaEntity>
hql
- hql queryparams
- query paramsTopiaException
- if any pb while getting dataspublic Iterable<E> findAllLazyByQuery(String hql, Object... params) throws TopiaException
TopiaDAO
findAllLazyByQuery
in interface TopiaDAO<E extends TopiaEntity>
hql
- hql queryparams
- query paramsTopiaException
- if any pb while getting dataspublic <R> Iterable<R> findAllLazyByQuery(Class<R> type, String hql, Object... params) throws TopiaException
TopiaDAO
type
which may not be a entity type (int, long, map,...).
Important note:findAllLazyByQuery
in interface TopiaDAO<E extends TopiaEntity>
type
- type of data to returnhql
- hql queryparams
- query paramsTopiaException
- if any pb while getting dataspublic Iterable<E> findAllLazyByQuery(int batchSize, String hql, Object... params) throws TopiaException
TopiaDAO
findAllLazyByQuery
in interface TopiaDAO<E extends TopiaEntity>
batchSize
- batch sizehql
- hql queryparams
- query paramsTopiaException
- if any pb while getting dataspublic <R> Iterable<R> findAllLazyByQuery(Class<R> type, int batchSize, String hql, Object... params) throws TopiaException
TopiaDAO
type
which may not be a entity type (int, long, map,...).
Important note:findAllLazyByQuery
in interface TopiaDAO<E extends TopiaEntity>
type
- type of data to returnbatchSize
- batch sizehql
- hql queryparams
- query paramsTopiaException
- if any pb while getting dataspublic <R> List<R> findAllByQueryWithBound(Class<R> type, String hql, int startIndex, int endIndex, Object... params) throws TopiaException
TopiaDAO
startIndex -
endIndex
entities).findAllByQueryWithBound
in interface TopiaDAO<E extends TopiaEntity>
hql
- hql query to executestartIndex
- first index of entity to returnendIndex
- last index of entity to returnparams
- query paramsTopiaException
- if any pb while getting dataspublic List<E> findAllByQueryWithBound(String hql, int startIndex, int endIndex, Object... params) throws TopiaException
TopiaDAO
startIndex -
endIndex
entities).findAllByQueryWithBound
in interface TopiaDAO<E extends TopiaEntity>
hql
- hql query to executestartIndex
- first index of entity to returnendIndex
- last index of entity to returnparams
- query paramsTopiaException
- if any pb while getting dataspublic <R> List<R> findAllByQueryAndPager(Class<R> type, String hql, TopiaPagerBean pager, Object... params) throws TopiaException
TopiaDAO
hql
query using the
pager
to obtain the window of entities to return.findAllByQueryAndPager
in interface TopiaDAO<E extends TopiaEntity>
type
- type of data to returnhql
- hql query to executepager
- pager to obtan the correct window of dataparams
- params of the queryTopiaException
- if any pb while getting datasTopiaPagerBean
public List<E> findAllByQueryAndPager(String hql, TopiaPagerBean pager, Object... params) throws TopiaException
TopiaDAO
hql
query using the
pager
to obtain the window of entities to return.findAllByQueryAndPager
in interface TopiaDAO<E extends TopiaEntity>
hql
- hql query to executepager
- pager to obtan the correct window of dataparams
- params of the queryTopiaException
- if any pb while getting datasTopiaPagerBean
public void computeAndAddRecordsToPager(String hql, TopiaPagerBean pager, Object... params) throws TopiaException
TopiaDAO
hql
query and then synch the pager to this
result (says fill the
PagerBean.getRecords()
field and then adapt
the number of pages available and the current number page).computeAndAddRecordsToPager
in interface TopiaDAO<E extends TopiaEntity>
hql
- the count hql to executepager
- the page to synchparams
- params of the count queryTopiaException
- if any pb while getting datasTopiaPagerBean
Copyright © 2004–2022 Code Lutin. All rights reserved.