public abstract class AbstractRPCHandler extends java.lang.Object implements WikiRPCHandler
| Modifier and Type | Field and Description |
|---|---|
static int |
ERR_NOPAGE
Error code: no such page.
|
static int |
ERR_NOPERMISSION |
static java.lang.String |
LINK_EXTERNAL
Link to an external resource.
|
static java.lang.String |
LINK_INLINE
This is an inlined image.
|
static java.lang.String |
LINK_LOCAL
Link to a local wiki page.
|
protected Context |
m_context |
protected Engine |
m_engine |
static int |
RPC_VERSION
This is the currently implemented JSPWiki XML-RPC code revision.
|
| Constructor and Description |
|---|
AbstractRPCHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkPermission(java.security.Permission perm)
Checks whether the current user has permission to perform the RPC action;
throws an exception if not allowed by
AuthorizationManager. |
protected abstract java.util.Hashtable |
encodeWikiPage(Page p) |
java.util.Vector |
getRecentChanges(java.util.Date since) |
int |
getRPCVersionSupported()
Returns the current supported JSPWiki XML-RPC API.
|
void |
initialize(Context context) |
public static final int ERR_NOPAGE
public static final int ERR_NOPERMISSION
public static final java.lang.String LINK_LOCAL
public static final java.lang.String LINK_EXTERNAL
public static final java.lang.String LINK_INLINE
public static final int RPC_VERSION
public AbstractRPCHandler()
public void initialize(Context context)
initialize in interface WikiRPCHandlerprotected abstract java.util.Hashtable encodeWikiPage(Page p)
public java.util.Vector getRecentChanges(java.util.Date since)
protected void checkPermission(java.security.Permission perm)
AuthorizationManager.perm - the Permission to checkpublic int getRPCVersionSupported()
Copyright (c) 2001-2022 The Apache Software Foundation. All rights reserved.