Package org.apache.wiki.xmlrpc
Class AbstractRPCHandler
java.lang.Object
org.apache.wiki.xmlrpc.AbstractRPCHandler
- All Implemented Interfaces:
WikiRPCHandler
- Direct Known Subclasses:
RPCHandler
,RPCHandlerUTF8
Provides definitions for RPC handler routines.
- Since:
- 1.6.13
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Error code: no such page.static final int
static final String
Link to an external resource.static final String
This is an inlined image.static final String
Link to a local wiki page.protected Context
protected Engine
static final int
This is the currently implemented JSPWiki XML-RPC code revision. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
checkPermission
(Permission perm) Checks whether the current user has permission to perform the RPC action; throws an exception if not allowed byAuthorizationManager
.protected abstract Hashtable
getRecentChanges
(Date since) int
Returns the current supported JSPWiki XML-RPC API.void
initialize
(Context context)
-
Field Details
-
ERR_NOPAGE
Error code: no such page.- See Also:
-
ERR_NOPERMISSION
- See Also:
-
LINK_LOCAL
Link to a local wiki page.- See Also:
-
LINK_EXTERNAL
Link to an external resource.- See Also:
-
LINK_INLINE
This is an inlined image.- See Also:
-
m_engine
-
m_context
-
RPC_VERSION
This is the currently implemented JSPWiki XML-RPC code revision.- See Also:
-
-
Constructor Details
-
AbstractRPCHandler
public AbstractRPCHandler()
-
-
Method Details
-
initialize
- Specified by:
initialize
in interfaceWikiRPCHandler
-
encodeWikiPage
-
getRecentChanges
-
checkPermission
Checks whether the current user has permission to perform the RPC action; throws an exception if not allowed byAuthorizationManager
.- Parameters:
perm
- the Permission to check
-
getRPCVersionSupported
Returns the current supported JSPWiki XML-RPC API.
-