T
- The type of the internal plugin.@Deprecated public class PluginApi<T extends XWikiPluginInterface> extends Api
Constructor and Description |
---|
PluginApi(T plugin,
XWikiContext context)
Deprecated.
API constructor.
|
Modifier and Type | Method and Description |
---|---|
T |
getInternalPlugin()
Deprecated.
Return the inner plugin object, if the user has the required programming rights.
|
protected T |
getProtectedPlugin()
Deprecated.
Return the inner plugin object.
|
void |
setPlugin(T plugin)
Deprecated.
Set the inner plugin object.
|
convert, convert, convert, convertAttachments, getAuthorizationManager, getContextualAuthorizationManager, getXWikiContext, hasAccess, hasAccessLevel, hasAdminRights, hasProgrammingRights, hasWikiAdminRights
public PluginApi(T plugin, XWikiContext context)
plugin
- The wrapped plugin object.context
- Context of the request.protected T getProtectedPlugin()
public T getInternalPlugin()
public void setPlugin(T plugin)
plugin
- The wrapped plugin object.Copyright © 2004–2022 XWiki. All rights reserved.