@Component @Named(value="extension.index") @Singleton public class ExtensionIndexScriptService extends AbstractExtensionScriptService
Modifier and Type | Field and Description |
---|---|
static String |
ID
The identifier of the sub extension
ScriptService . |
authorization, documentAccessBridge, execution, EXTENSIONERROR_KEY, jobExecutor, PROPERTY_CALLERREFERENCE, PROPERTY_CHECKRIGHTS, PROPERTY_CONTEXT_ACTION, PROPERTY_CONTEXT_WIKI, PROPERTY_USERREFERENCE, scriptProvider, WIKI_NAMESPACE_PREFIX, xcontextProvider
Constructor and Description |
---|
ExtensionIndexScriptService() |
Modifier and Type | Method and Description |
---|---|
org.xwiki.extension.index.ExtensionIndex |
getRepository() |
org.xwiki.extension.index.IndexedExtensionQuery |
newQuery(String query)
Create a new instance of a
IndexedExtensionQuery to be used in other APIs. |
contextualize, fromWikitoNamespace, getCallerDocument, getJobStatus, getLastError, safe, safeWrapError, setError, setRightsProperties, toWikiId, wrapError
public static final String ID
ScriptService
.public org.xwiki.extension.index.ExtensionIndex getRepository()
public org.xwiki.extension.index.IndexedExtensionQuery newQuery(String query)
IndexedExtensionQuery
to be used in other APIs.query
- the query to executeExtensionQuery
instanceCopyright © 2004–2021 XWiki. All rights reserved.