@Component @Named(value="extension.local") @Singleton public class LocalExtensionScriptService 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 |
---|
LocalExtensionScriptService() |
Modifier and Type | Method and Description |
---|---|
Collection<org.xwiki.extension.LocalExtension> |
getLocalExtensions()
Get a list of cached extensions from the local extension repository.
|
org.xwiki.extension.repository.LocalExtensionRepository |
getRepository() |
contextualize, fromWikitoNamespace, getCallerDocument, getJobStatus, getLastError, safe, safeWrapError, setError, setRightsProperties, toWikiId, wrapError
public static final String ID
ScriptService
.public org.xwiki.extension.repository.LocalExtensionRepository getRepository()
public Collection<org.xwiki.extension.LocalExtension> getLocalExtensions()
Copyright © 2004–2021 XWiki. All rights reserved.