public abstract class XWikiDefaultStore extends Object implements XWikiStoreInterface
Constructor and Description |
---|
XWikiDefaultStore() |
Modifier and Type | Method and Description |
---|---|
List |
getCustomMappingPropertyList(BaseClass bclass) |
boolean |
injectCustomMapping(BaseClass doc1class,
XWikiContext xWikiContext) |
void |
injectCustomMappings(XWikiContext context) |
boolean |
injectCustomMappings(XWikiDocument doc,
XWikiContext xWikiContext) |
void |
injectUpdatedCustomMappings(XWikiContext context) |
List<XWikiDocument> |
searchDocuments(String wheresql,
boolean distinctbyname,
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 distinctbyname,
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,
XWikiContext context)
Search documents in the storing system.
|
List<XWikiDocument> |
searchDocuments(String wheresql,
XWikiContext context)
Search documents in the storing system.
|
List |
searchDocumentsNames(String wheresql,
int nb,
int start,
XWikiContext context) |
List |
searchDocumentsNames(String wheresql,
XWikiContext context) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cleanUp, countDocuments, countDocuments, createWiki, deleteLinks, deleteLock, deleteWiki, deleteXWikiDoc, exists, getClassList, getLimitSize, getQueryManager, getTranslationList, injectCustomMapping, isCustomMappingValid, isCustomMappingValid, isWikiNameAvailable, loadBacklinks, loadBacklinks, loadLinks, loadLock, loadXWikiDoc, renameXWikiDoc, saveLinks, saveLock, saveXWikiDoc, saveXWikiDoc, search, search, search, search, searchDocumentReferences, searchDocumentReferences, searchDocumentReferences, searchDocumentReferences, searchDocumentReferences, searchDocuments, searchDocuments, searchDocuments, searchDocuments, searchDocuments, searchDocuments, searchDocumentsNames, searchDocumentsNames, searchDocumentsNames
public List searchDocumentsNames(String wheresql, XWikiContext context) throws XWikiException
searchDocumentsNames
in interface XWikiStoreInterface
XWikiException
public List searchDocumentsNames(String wheresql, int nb, int start, XWikiContext context) throws XWikiException
searchDocumentsNames
in interface XWikiStoreInterface
XWikiException
public List<XWikiDocument> searchDocuments(String wheresql, XWikiContext context) throws XWikiException
XWikiStoreInterface
searchDocuments
in interface XWikiStoreInterface
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.public List<XWikiDocument> searchDocuments(String wheresql, boolean distinctbylanguage, XWikiContext context) throws XWikiException
XWikiStoreInterface
searchDocuments
in interface XWikiStoreInterface
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.public List<XWikiDocument> searchDocuments(String wheresql, boolean distinctbylanguage, boolean customMapping, XWikiContext context) throws XWikiException
XWikiStoreInterface
searchDocuments
in interface XWikiStoreInterface
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.public List<XWikiDocument> searchDocuments(String wheresql, int nb, int start, XWikiContext context) throws XWikiException
XWikiStoreInterface
searchDocuments
in interface XWikiStoreInterface
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.public List<XWikiDocument> searchDocuments(String wheresql, boolean distinctbyname, int nb, int start, XWikiContext context) throws XWikiException
XWikiStoreInterface
searchDocuments
in interface XWikiStoreInterface
wheresql
- the HQL where clause. For example: where doc.fullName
<> ?1 and (doc.parent = ?2 or (doc.parent = ?3 and doc.space = ?4))
distinctbyname
- 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.public boolean injectCustomMapping(BaseClass doc1class, XWikiContext xWikiContext) throws XWikiException
injectCustomMapping
in interface XWikiStoreInterface
XWikiException
public boolean injectCustomMappings(XWikiDocument doc, XWikiContext xWikiContext) throws XWikiException
injectCustomMappings
in interface XWikiStoreInterface
XWikiException
public void injectCustomMappings(XWikiContext context) throws XWikiException
injectCustomMappings
in interface XWikiStoreInterface
XWikiException
public void injectUpdatedCustomMappings(XWikiContext context) throws XWikiException
injectUpdatedCustomMappings
in interface XWikiStoreInterface
XWikiException
public List getCustomMappingPropertyList(BaseClass bclass)
getCustomMappingPropertyList
in interface XWikiStoreInterface
public List<XWikiDocument> searchDocuments(String wheresql, boolean distinctbyname, boolean customMapping, int nb, int start, XWikiContext context) throws XWikiException
XWikiStoreInterface
searchDocuments
in interface XWikiStoreInterface
wheresql
- the HQL where clause. For example: where doc.fullName
<> ?1 and (doc.parent = ?2 or (doc.parent = ?3 and doc.space = ?4))
distinctbyname
- 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.Copyright © 2004–2022 XWiki. All rights reserved.