Package | Description |
---|---|
org.apache.wiki |
The chief package of JSPWiki.
|
org.apache.wiki.ui |
Java classes for management of the JSP user interface.
|
Modifier and Type | Class and Description |
---|---|
class |
WikiContext
Provides state information throughout the processing of a page.
|
Modifier and Type | Method and Description |
---|---|
protected static Command |
WikiContext.findCommand(WikiEngine engine,
javax.servlet.http.HttpServletRequest request,
WikiPage page)
Looks up and returns a PageCommand based on a supplied WikiPage and HTTP
request.
|
Command |
WikiContext.getCommand()
Returns the Command associated with this WikiContext.
|
Command |
WikiContext.targetedCommand(Object target)
Associates a target with the current Command and returns
the new targeted Command.
|
Constructor and Description |
---|
WikiContext(WikiEngine engine,
javax.servlet.http.HttpServletRequest request,
Command command)
Creates a new WikiContext for the given WikiEngine, Command and
HttpServletRequest.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractCommand
Abstract, immutable Command implementation class.
|
class |
GroupCommand
Defines Commands for viewing, editing and deleting wiki groups.
|
class |
PageCommand
Defines Commands for editing, renaming, and viewing wiki pages.
|
class |
RedirectCommand
Defines Commands for redirections to off-site special pages.
|
class |
WikiCommand
Defines Commands for wiki-wide operations such as creating groups, editing
preferences and profiles, and logging in/out.
|
Modifier and Type | Field and Description |
---|---|
static Command |
WikiCommand.ADMIN |
static Command |
PageCommand.ATTACH |
static Command |
PageCommand.COMMENT |
static Command |
PageCommand.CONFLICT |
static Command |
WikiCommand.CREATE_GROUP |
static Command |
PageCommand.DELETE |
static Command |
GroupCommand.DELETE_GROUP
GroupCommand for deleting a group.
|
static Command |
PageCommand.DIFF |
static Command |
PageCommand.EDIT |
static Command |
GroupCommand.EDIT_GROUP
GroupCommand for editing a group.
|
static Command |
WikiCommand.ERROR |
static Command |
WikiCommand.FIND |
static Command |
PageCommand.INFO |
static Command |
WikiCommand.INSTALL |
static Command |
WikiCommand.LOGIN |
static Command |
WikiCommand.LOGOUT |
static Command |
WikiCommand.MESSAGE |
static Command |
PageCommand.NONE |
static Command |
PageCommand.OTHER |
static Command |
WikiCommand.PREFS |
static Command |
PageCommand.PREVIEW |
static Command |
RedirectCommand.REDIRECT |
static Command |
PageCommand.RENAME |
static Command |
PageCommand.RSS |
static Command |
PageCommand.UPLOAD |
static Command |
PageCommand.VIEW |
static Command |
GroupCommand.VIEW_GROUP
GroupCommand for viewing a group.
|
static Command |
WikiCommand.WORKFLOW |
Modifier and Type | Method and Description |
---|---|
static Command[] |
AbstractCommand.allCommands()
Returns a defensively-created array of all
static Commands.
|
protected Command |
CommandResolver.extractCommandFromPath(javax.servlet.http.HttpServletRequest request)
Extracts a Command based on the JSP path of an HTTP request.
|
Command |
CommandResolver.findCommand(javax.servlet.http.HttpServletRequest request,
String defaultContext)
Attempts to locate a Command for a supplied wiki context and HTTP
request, incorporating the correct WikiPage into the command if reqiured.
|
static Command |
CommandResolver.findCommand(String context)
Attempts to locate a wiki command for a supplied request context.
|
abstract Command |
AbstractCommand.targetedCommand(Object target) |
Command |
Command.targetedCommand(Object target)
Creates and returns a targeted Command by combining a target, such as a
WikiPage or GroupPrincipal into the existing Command.
|
Command |
GroupCommand.targetedCommand(Object target)
Creates and returns a targeted Command by combining a GroupPrincipal
with this Command.
|
Command |
PageCommand.targetedCommand(Object target)
Creates and returns a targeted Command by combining a WikiPage
with this Command.
|
Command |
RedirectCommand.targetedCommand(Object target)
Creates and returns a targeted Command by combining a URL
(as String) with this Command.
|
Command |
WikiCommand.targetedCommand(Object target)
Creates and returns a targeted Command by combining a wiki
(a String) with this Command.
|
Copyright © 2001-2019 The Apache Software Foundation. All rights reserved.