@Role
public interface XWikiStoreInterface
Modifier and Type | Method and Description |
---|---|
void |
cleanUp(XWikiContext context) |
int |
countDocuments(String parametrizedSqlClause,
List<?> parameterValues,
XWikiContext context)
API allowing to count the total number of documents that would be returned by a parameterized query.
|
int |
countDocuments(String wheresql,
XWikiContext context)
API allowing to count the total number of documents that would be returned by a query.
|
void |
createWiki(String wikiName,
XWikiContext context)
Allows to create a new wiki database and initialize the default tables.
|
void |
deleteLinks(long docId,
XWikiContext context,
boolean bTransaction) |
void |
deleteLock(XWikiLock lock,
XWikiContext context,
boolean bTransaction) |
void |
deleteWiki(String wikiName,
XWikiContext context)
Delete a wiki database.
|
void |
deleteXWikiDoc(XWikiDocument doc,
XWikiContext context) |
boolean |
exists(XWikiDocument doc,
XWikiContext context) |
List<String> |
getClassList(XWikiContext context) |
List<String> |
getCustomMappingPropertyList(BaseClass bclass) |
int |
getLimitSize(XWikiContext context,
Class<?> entityType,
String property)
Get the limit size of a property.
|
QueryManager |
getQueryManager() |
List<String> |
getTranslationList(XWikiDocument doc,
XWikiContext context) |
default boolean |
injectCustomMapping(BaseClass doc1class) |
boolean |
injectCustomMapping(BaseClass doc1class,
XWikiContext xWikiContext)
Deprecated.
since 11.5RC1, use
injectCustomMapping(BaseClass) instead |
void |
injectCustomMappings(XWikiContext context) |
boolean |
injectCustomMappings(XWikiDocument doc,
XWikiContext context) |
void |
injectUpdatedCustomMappings(XWikiContext context) |
default boolean |
isCustomMappingValid(BaseClass bclass,
String custommapping1) |
boolean |
isCustomMappingValid(BaseClass bclass,
String custommapping1,
XWikiContext context)
Deprecated.
since 11.5RC1, use
isCustomMappingValid(BaseClass, String) |
boolean |
isWikiNameAvailable(String wikiName,
XWikiContext context)
Indicate if the provided wiki name could be used to create a new wiki.
|
List<DocumentReference> |
loadBacklinks(DocumentReference documentReference,
boolean bTransaction,
XWikiContext context) |
List<String> |
loadBacklinks(String fullName,
XWikiContext context,
boolean bTransaction)
Deprecated.
since 2.2M2 use
loadBacklinks(DocumentReference, boolean, XWikiContext) |
List<XWikiLink> |
loadLinks(long docId,
XWikiContext context,
boolean bTransaction) |
XWikiLock |
loadLock(long docId,
XWikiContext context,
boolean bTransaction) |
XWikiDocument |
loadXWikiDoc(XWikiDocument doc,
XWikiContext context) |
default void |
renameXWikiDoc(XWikiDocument doc,
DocumentReference newReference,
XWikiContext context)
Atomic operation for renaming a document.
|
void |
saveLinks(XWikiDocument doc,
XWikiContext context,
boolean bTransaction) |
void |
saveLock(XWikiLock lock,
XWikiContext context,
boolean bTransaction) |
void |
saveXWikiDoc(XWikiDocument doc,
XWikiContext context) |
void |
saveXWikiDoc(XWikiDocument doc,
XWikiContext context,
boolean bTransaction) |
<T> List<T> |
search(String sql,
int nb,
int start,
List<?> parameterValues,
XWikiContext context)
Execute a reading request with parameters and return result.
|
<T> List<T> |
search(String sql,
int nb,
int start,
Object[][] whereParams,
List<?> parameterValues,
XWikiContext context)
Execute a reading request with parameters and return result.
|
<T> List<T> |
search(String sql,
int nb,
int start,
Object[][] whereParams,
XWikiContext context)
Execute a reading request and return result.
|
<T> List<T> |
search(String sql,
int nb,
int start,
XWikiContext context)
Execute a reading request and return result.
|
List<DocumentReference> |
searchDocumentReferences(String parametrizedSqlClause,
int nb,
int start,
List<?> parameterValues,
XWikiContext context)
Search documents by passing HQL where clause values as parameters.
|
List<DocumentReference> |
searchDocumentReferences(String wheresql,
int nb,
int start,
String selectColumns,
XWikiContext context) |
List<DocumentReference> |
searchDocumentReferences(String wheresql,
int nb,
int start,
XWikiContext context) |
List<DocumentReference> |
searchDocumentReferences(String parametrizedSqlClause,
List<?> parameterValues,
XWikiContext context)
Same as
searchDocumentReferences(String, int, int, List, XWikiContext) but returns all rows. |
List<DocumentReference> |
searchDocumentReferences(String wheresql,
XWikiContext context) |
List<XWikiDocument> |
searchDocuments(String wheresql,
boolean distinctbylanguage,
boolean customMapping,
boolean checkRight,
int nb,
int start,
List<?> parameterValues,
XWikiContext context)
Search documents in the storing system.
|
List<XWikiDocument> |
searchDocuments(String wheresql,
boolean distinctbylanguage,
boolean customMapping,
boolean checkRight,
int nb,
int start,
XWikiContext context)
Search documents in the storing system.
|
List<XWikiDocument> |
searchDocuments(String wheresql,
boolean distinctbylanguage,
boolean customMapping,
int nb,
int start,
List<?> parameterValues,
XWikiContext context)
Search documents in the storing system.
|
List<XWikiDocument> |
searchDocuments(String wheresql,
boolean distinctbylanguage,
boolean customMapping,
int nb,
int start,
XWikiContext context)
Search documents in the storing system.
|
List<XWikiDocument> |
searchDocuments(String wheresql,
boolean distinctbylanguage,
boolean customMapping,
XWikiContext context)
Search documents in the storing system.
|
List<XWikiDocument> |
searchDocuments(String wheresql,
boolean distinctbylanguage,
int nb,
int start,
List<?> parameterValues,
XWikiContext context)
Search documents in the storing system.
|
List<XWikiDocument> |
searchDocuments(String wheresql,
boolean distinctbylanguage,
int nb,
int start,
XWikiContext context)
Search documents in the storing system.
|
List<XWikiDocument> |
searchDocuments(String wheresql,
boolean distinctbylanguage,
XWikiContext context)
Search documents in the storing system.
|
List<XWikiDocument> |
searchDocuments(String wheresql,
int nb,
int start,
List<?> parameterValues,
XWikiContext context)
Search documents in the storing system.
|
List<XWikiDocument> |
searchDocuments(String wheresql,
int nb,
int start,
XWikiContext context)
Search documents in the storing system.
|
List<XWikiDocument> |
searchDocuments(String wheresql,
List<?> parameterValues,
XWikiContext context)
Search documents in the storing system.
|
List<XWikiDocument> |
searchDocuments(String wheresql,
XWikiContext context)
Search documents in the storing system.
|
List<String> |
searchDocumentsNames(String parametrizedSqlClause,
int nb,
int start,
List<?> parameterValues,
XWikiContext context)
Deprecated.
since 2.2M2 use
searchDocumentReferences(String, int, int, List, XWikiContext) |
List<String> |
searchDocumentsNames(String wheresql,
int nb,
int start,
String selectColumns,
XWikiContext context)
Deprecated.
since 2.2M2 use
searchDocumentReferences(String, int, int, String, XWikiContext) |
List<String> |
searchDocumentsNames(String wheresql,
int nb,
int start,
XWikiContext context)
Deprecated.
|
List<String> |
searchDocumentsNames(String parametrizedSqlClause,
List<?> parameterValues,
XWikiContext context)
Deprecated.
since 2.2M2 use
searchDocumentReferences(String, List, XWikiContext) |
List<String> |
searchDocumentsNames(String wheresql,
XWikiContext context)
Deprecated.
since 2.2M2 use
searchDocumentReferences(String, com.xpn.xwiki.XWikiContext) |
void saveXWikiDoc(XWikiDocument doc, XWikiContext context) throws XWikiException
XWikiException
@Unstable default void renameXWikiDoc(XWikiDocument doc, DocumentReference newReference, XWikiContext context) throws XWikiException
doc
- the actual document instance to rename.newReference
- the new reference to use for renaming.context
- the current context.XWikiException
- in case of problem during the rename.void saveXWikiDoc(XWikiDocument doc, XWikiContext context, boolean bTransaction) throws XWikiException
XWikiException
XWikiDocument loadXWikiDoc(XWikiDocument doc, XWikiContext context) throws XWikiException
XWikiException
void deleteXWikiDoc(XWikiDocument doc, XWikiContext context) throws XWikiException
XWikiException
List<String> getClassList(XWikiContext context) throws XWikiException
XWikiException
int countDocuments(String wheresql, XWikiContext context) throws XWikiException
wheresql
- Query to use, similar to the ones accepted by searchDocuments(String, XWikiContext)
. It
should not contain order by
or group
clauses, since this kind of queries are not
portable.context
- The current request context.XWikiException
- if there was a problem executing the query.List<DocumentReference> searchDocumentReferences(String wheresql, XWikiContext context) throws XWikiException
XWikiException
@Deprecated List<String> searchDocumentsNames(String wheresql, XWikiContext context) throws XWikiException
searchDocumentReferences(String, com.xpn.xwiki.XWikiContext)
XWikiException
List<DocumentReference> searchDocumentReferences(String wheresql, int nb, int start, XWikiContext context) throws XWikiException
XWikiException
@Deprecated List<String> searchDocumentsNames(String wheresql, int nb, int start, XWikiContext context) throws XWikiException
searchDocumentReferences(String, int, int, com.xpn.xwiki.XWikiContext)
XWikiException
List<DocumentReference> searchDocumentReferences(String wheresql, int nb, int start, String selectColumns, XWikiContext context) throws XWikiException
XWikiException
@Deprecated List<String> searchDocumentsNames(String wheresql, int nb, int start, String selectColumns, XWikiContext context) throws XWikiException
searchDocumentReferences(String, int, int, String, XWikiContext)
XWikiException
List<DocumentReference> searchDocumentReferences(String parametrizedSqlClause, int nb, int start, List<?> parameterValues, XWikiContext context) throws XWikiException
Example:
#set($orphans = $xwiki.searchDocuments(" where doc.fullName <> ?1 and (doc.parent = ?2 or "
+ "(doc.parent = ?3 and doc.space = ?4))",
["${doc.fullName}as", ${doc.fullName}, ${doc.name}, ${doc.space}]))
parametrizedSqlClause
- the HQL where clause. For example: where doc.fullName
<> ?1 and (doc.parent = ?2 or (doc.parent = ?3 and doc.space = ?4))
nb
- the number of rows to return. If 0 then all rows are returnedstart
- the number of rows to skip. If 0 don't skip any rowparameterValues
- the where clause values that replace the question marks (?)context
- the XWiki context required for getting information about the execution contextXWikiException
- in case of error while performing the query@Deprecated List<String> searchDocumentsNames(String parametrizedSqlClause, int nb, int start, List<?> parameterValues, XWikiContext context) throws XWikiException
searchDocumentReferences(String, int, int, List, XWikiContext)
XWikiException
List<DocumentReference> searchDocumentReferences(String parametrizedSqlClause, List<?> parameterValues, XWikiContext context) throws XWikiException
searchDocumentReferences(String, int, int, List, XWikiContext)
but returns all rows.XWikiException
searchDocumentReferences(String, int, int, java.util.List, com.xpn.xwiki.XWikiContext)
@Deprecated List<String> searchDocumentsNames(String parametrizedSqlClause, List<?> parameterValues, XWikiContext context) throws XWikiException
searchDocumentReferences(String, List, XWikiContext)
XWikiException
int countDocuments(String parametrizedSqlClause, List<?> parameterValues, XWikiContext context) throws XWikiException
parametrizedSqlClause
- Parameterized query to use, similar to the ones accepted by
searchDocuments(String, List, XWikiContext)
. It should not contain order by
or
group
clauses, since this kind of queries are not portable.parameterValues
- The parameter values that replace the question marks.context
- The current request context.XWikiException
- if there was a problem executing the query.List<XWikiDocument> searchDocuments(String wheresql, boolean distinctbylanguage, XWikiContext context) throws XWikiException
wheresql
- the HQL where clause. For example: where doc.fullName
<> ?1 and (doc.parent = ?2 or (doc.parent = ?3 and doc.space = ?4))
distinctbylanguage
- when a document has multiple version for each language it is returned as one document a
language.context
- the XWiki context required for getting information about the execution context.XWikiException
- in case of error while performing the query.List<XWikiDocument> searchDocuments(String wheresql, int nb, int start, XWikiContext context) throws XWikiException
wheresql
- the HQL where clause. For example: where doc.fullName
<> ?1 and (doc.parent = ?2 or (doc.parent = ?3 and doc.space = ?4))
nb
- the number of rows to return. If 0 then all rows are returned.start
- the number of rows to skip. If 0 don't skip any row.context
- the XWiki context required for getting information about the execution context.XWikiException
- in case of error while performing the query.List<XWikiDocument> searchDocuments(String wheresql, boolean distinctbylanguage, boolean customMapping, XWikiContext context) throws XWikiException
wheresql
- the HQL where clause. For example: where doc.fullName
<> ?1 and (doc.parent = ?2 or (doc.parent = ?3 and doc.space = ?4))
distinctbylanguage
- when a document has multiple version for each language it is returned as one document a
language.customMapping
- inject custom mapping in session.context
- the XWiki context required for getting information about the execution context.XWikiException
- in case of error while performing the query.List<XWikiDocument> searchDocuments(String wheresql, boolean distinctbylanguage, int nb, int start, XWikiContext context) throws XWikiException
wheresql
- the HQL where clause. For example: where doc.fullName
<> ?1 and (doc.parent = ?2 or (doc.parent = ?3 and doc.space = ?4))
distinctbylanguage
- when a document has multiple version for each language it is returned as one document a
language.nb
- the number of rows to return. If 0 then all rows are returned.start
- the number of rows to skip. If 0 don't skip any row.context
- the XWiki context required for getting information about the execution context.XWikiException
- in case of error while performing the query.List<XWikiDocument> searchDocuments(String wheresql, boolean distinctbylanguage, int nb, int start, List<?> parameterValues, XWikiContext context) throws XWikiException
wheresql
- the HQL where clause. For example: where doc.fullName
<> ?1 and (doc.parent = ?2 or (doc.parent = ?3 and doc.space = ?4))
distinctbylanguage
- when a document has multiple version for each language it is returned as one document a
language.nb
- the number of rows to return. If 0 then all rows are returned.start
- the number of rows to skip. If 0 don't skip any row.parameterValues
- the where clause values that replace the question marks (?).context
- the XWiki context required for getting information about the execution context.XWikiException
- in case of error while performing the query.List<XWikiDocument> searchDocuments(String wheresql, boolean distinctbylanguage, boolean customMapping, int nb, int start, XWikiContext context) throws XWikiException
wheresql
- the HQL where clause. For example: where doc.fullName
<> ?1 and (doc.parent = ?2 or (doc.parent = ?3 and doc.space = ?4))
distinctbylanguage
- when a document has multiple version for each language it is returned as one document a
language.customMapping
- inject custom mapping in session.nb
- the number of rows to return. If 0 then all rows are returned.start
- the number of rows to skip. If 0 don't skip any row.context
- the XWiki context required for getting information about the execution context.XWikiException
- in case of error while performing the query.List<XWikiDocument> searchDocuments(String wheresql, XWikiContext context) throws XWikiException
wheresql
- the HQL where clause. For example: where doc.fullName
<> ?1 and (doc.parent = ?2 or (doc.parent = ?3 and doc.space = ?4))
context
- the XWiki context required for getting information about the execution context.XWikiException
- in case of error while performing the query.List<XWikiDocument> searchDocuments(String wheresql, boolean distinctbylanguage, boolean customMapping, boolean checkRight, int nb, int start, XWikiContext context) throws XWikiException
wheresql
- the HQL where clause. For example: where doc.fullName
<> ?1 and (doc.parent = ?2 or (doc.parent = ?3 and doc.space = ?4))
distinctbylanguage
- when a document has multiple version for each language it is returned as one document a
language.customMapping
- inject custom mapping in session.checkRight
- if true check for each found document if context's user has "view" rights for it.nb
- the number of rows to return. If 0 then all rows are returned.start
- the number of rows to skip. If 0 don't skip any row.context
- the XWiki context required for getting information about the execution context.XWikiException
- in case of error while performing the query.List<XWikiDocument> searchDocuments(String wheresql, List<?> parameterValues, XWikiContext context) throws XWikiException
Search documents by passing HQL where clause values as parameters. This allows generating a Named HQL query which will automatically encode the passed values (like escaping single quotes). This API is recommended to be used over the other similar methods where the values are passed inside the where clause and for which you'll need to do the encoding/escpaing yourself before calling them.
wheresql
- the HQL where clause. For example: where doc.fullName
<> ?1 and (doc.parent = ?2 or (doc.parent = ?3 and doc.space = ?4))
parameterValues
- the where clause values that replace the question marks (?).context
- the XWiki context required for getting information about the execution context.XWikiException
- in case of error while performing the query.List<XWikiDocument> searchDocuments(String wheresql, boolean distinctbylanguage, boolean customMapping, int nb, int start, List<?> parameterValues, XWikiContext context) throws XWikiException
Search documents by passing HQL where clause values as parameters. This allows generating a Named HQL query which will automatically encode the passed values (like escaping single quotes). This API is recommended to be used over the other similar methods where the values are passed inside the where clause and for which you'll need to do the encoding/escpaing yourself before calling them.
wheresql
- the HQL where clause. For example: where doc.fullName
<> ?1 and (doc.parent = ?2 or (doc.parent = ?3 and doc.space = ?4))
distinctbylanguage
- when a document has multiple version for each language it is returned as one document a
language.customMapping
- inject custom mapping in session.nb
- the number of rows to return. If 0 then all rows are returned.start
- the number of rows to skip. If 0 don't skip any row.parameterValues
- the where clause values that replace the question marks (?).context
- the XWiki context required for getting information about the execution context.XWikiException
- in case of error while performing the query.List<XWikiDocument> searchDocuments(String wheresql, int nb, int start, List<?> parameterValues, XWikiContext context) throws XWikiException
Search documents by passing HQL where clause values as parameters. This allows generating a Named HQL query which will automatically encode the passed values (like escaping single quotes). This API is recommended to be used over the other similar methods where the values are passed inside the where clause and for which you'll need to do the encoding/escpaing yourself before calling them.
wheresql
- the HQL where clause. For example: where doc.fullName
<> ?1 and (doc.parent = ?2 or (doc.parent = ?3 and doc.space = ?4))
nb
- the number of rows to return. If 0 then all rows are returned.start
- the number of rows to skip. If 0 don't skip any row.parameterValues
- the where clause values that replace the question marks (?).context
- the XWiki context required for getting information about the execution context.XWikiException
- in case of error while performing the query.List<XWikiDocument> searchDocuments(String wheresql, boolean distinctbylanguage, boolean customMapping, boolean checkRight, int nb, int start, List<?> parameterValues, XWikiContext context) throws XWikiException
Search documents by passing HQL where clause values as parameters. This allows generating a Named HQL query which will automatically encode the passed values (like escaping single quotes). This API is recommended to be used over the other similar methods where the values are passed inside the where clause and for which you'll need to do the encoding/escpaing yourself before calling them.
wheresql
- the HQL where clause. For example: where doc.fullName
<> ?1 and (doc.parent = ?2 or (doc.parent = ?3 and doc.space = ?4))
distinctbylanguage
- when a document has multiple version for each language it is returned as one document a
language.customMapping
- inject custom mapping in session.checkRight
- if true check for each found document if context's user has "view" rights for it.nb
- the number of rows to return. If 0 then all rows are returned.start
- the number of rows to skip. If 0 don't skip any row.parameterValues
- the where clause values that replace the question marks (?).context
- the XWiki context required for getting information about the execution context.XWikiException
- in case of error while performing the query.XWikiLock loadLock(long docId, XWikiContext context, boolean bTransaction) throws XWikiException
XWikiException
void saveLock(XWikiLock lock, XWikiContext context, boolean bTransaction) throws XWikiException
XWikiException
void deleteLock(XWikiLock lock, XWikiContext context, boolean bTransaction) throws XWikiException
XWikiException
List<XWikiLink> loadLinks(long docId, XWikiContext context, boolean bTransaction) throws XWikiException
XWikiException
List<DocumentReference> loadBacklinks(DocumentReference documentReference, boolean bTransaction, XWikiContext context) throws XWikiException
XWikiException
@Deprecated List<String> loadBacklinks(String fullName, XWikiContext context, boolean bTransaction) throws XWikiException
loadBacklinks(DocumentReference, boolean, XWikiContext)
XWikiException
void saveLinks(XWikiDocument doc, XWikiContext context, boolean bTransaction) throws XWikiException
XWikiException
void deleteLinks(long docId, XWikiContext context, boolean bTransaction) throws XWikiException
XWikiException
<T> List<T> search(String sql, int nb, int start, XWikiContext context) throws XWikiException
sql
- the HQL request clause. For example: where doc.fullName
<> ?1 and (doc.parent = ?2 or (doc.parent = ?3 and doc.space = ?4))
nb
- the number of rows to return. If 0 then all rows are returned.start
- the number of rows to skip. If 0 don't skip any row.context
- the XWiki context required for getting information about the execution context.XWikiException
- in case of error while performing the query.<T> List<T> search(String sql, int nb, int start, List<?> parameterValues, XWikiContext context) throws XWikiException
Execute query by passing HQL request values as parameters. This allows generating a Named HQL query which will automatically encode the passed values (like escaping single quotes). This API is recommended to be used over the other similar methods where the values are passed inside the where clause and for which you'll need to do the encoding/escaping yourself before calling them.
sql
- the HQL request.nb
- the number of rows to return. If 0 then all rows are returned.start
- the number of rows to skip. If 0 don't skip any row.parameterValues
- the where clause values that replace the question marks (?).context
- the XWiki context required for getting information about the execution context.XWikiException
- in case of error while performing the query.<T> List<T> search(String sql, int nb, int start, Object[][] whereParams, XWikiContext context) throws XWikiException
sql
- the HQL request.nb
- the number of rows to return. If 0 then all rows are returned.start
- the number of rows to skip. If 0 don't skip any row.whereParams
- if not null add to sql
a where clause based on a table of table containing field name,
field value and compared symbol (=
, >
, etc.).context
- the XWiki context required for getting information about the execution context.XWikiException
- in case of error while performing the query.<T> List<T> search(String sql, int nb, int start, Object[][] whereParams, List<?> parameterValues, XWikiContext context) throws XWikiException
Execute query by passing HQL request values as parameters. This allows generating a Named HQL query which will automatically encode the passed values (like escaping single quotes). This API is recommended to be used over the other similar methods where the values are passed inside the where clause and for which you'll need to do the encoding/escaping yourself before calling them.
sql
- the HQL request.nb
- the number of rows to return. If 0 then all rows are returned.start
- the number of rows to skip. If 0 don't skip any row.whereParams
- if not null add to sql
a where clause based on a table of table containing field name,
field value and compared symbol (=
, >
, etc.).parameterValues
- the where clause values that replace the question marks (?).context
- the XWiki context required for getting information about the execution context.XWikiException
- in case of error while performing the query.void cleanUp(XWikiContext context)
boolean isWikiNameAvailable(String wikiName, XWikiContext context) throws XWikiException
wikiName
- the name of the wiki.context
- the XWiki context.XWikiException
- error when looking if wiki name already used.void createWiki(String wikiName, XWikiContext context) throws XWikiException
wikiName
- the name of the new wiki.context
- the XWiki context.XWikiException
- error when creating new wiki.void deleteWiki(String wikiName, XWikiContext context) throws XWikiException
wikiName
- the name of the wiki.context
- the XWiki context.XWikiException
- error when deleting wiki database.boolean exists(XWikiDocument doc, XWikiContext context) throws XWikiException
XWikiException
@Deprecated boolean isCustomMappingValid(BaseClass bclass, String custommapping1, XWikiContext context) throws XWikiException
isCustomMappingValid(BaseClass, String)
XWikiException
default boolean isCustomMappingValid(BaseClass bclass, String custommapping1)
@Deprecated boolean injectCustomMapping(BaseClass doc1class, XWikiContext xWikiContext) throws XWikiException
injectCustomMapping(BaseClass)
insteadXWikiException
default boolean injectCustomMapping(BaseClass doc1class) throws XWikiException
XWikiException
boolean injectCustomMappings(XWikiDocument doc, XWikiContext context) throws XWikiException
XWikiException
void injectCustomMappings(XWikiContext context) throws XWikiException
XWikiException
void injectUpdatedCustomMappings(XWikiContext context) throws XWikiException
XWikiException
List<String> getTranslationList(XWikiDocument doc, XWikiContext context) throws XWikiException
XWikiException
QueryManager getQueryManager()
int getLimitSize(XWikiContext context, Class<?> entityType, String property)
entityType
- the entityType where the property is located.property
- the property on which we want the limit size.context
- the context of the wiki to retrieve the propertyCopyright © 2004–2021 XWiki. All rights reserved.