Uses of Interface
org.apache.wiki.api.core.Command
-
Packages that use Command Package Description org.apache.wiki The chief package of JSPWiki.org.apache.wiki.api.core JSPWiki's central API.org.apache.wiki.api.spi JSPWiki's SPI package.org.apache.wiki.spi org.apache.wiki.ui Java classes for management of the JSP user interface. -
-
Uses of Command in org.apache.wiki
Classes in org.apache.wiki that implement Command Modifier and Type Class Description class
WikiContext
Provides state information throughout the processing of a page.Methods in org.apache.wiki that return Command Modifier and Type Method Description protected static Command
WikiContext. findCommand(Engine engine, javax.servlet.http.HttpServletRequest request, Page 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(java.lang.Object target)
Associates a target with the current Command and returns the new targeted Command.Constructors in org.apache.wiki with parameters of type Command Constructor Description WikiContext(Engine engine, javax.servlet.http.HttpServletRequest request, Command command)
Creates a new WikiContext for the given Engine, Command and HttpServletRequest. -
Uses of Command in org.apache.wiki.api.core
Subinterfaces of Command in org.apache.wiki.api.core Modifier and Type Interface Description interface
Context
Provides state information throughout the processing of a page.Methods in org.apache.wiki.api.core that return Command Modifier and Type Method Description Command
Context. getCommand()
Returns the Command associated with this Context.Command
Command. targetedCommand(java.lang.Object target)
Creates and returns a targeted Command by combining a target, such as a WikiPage or GroupPrincipal into the existing Command. -
Uses of Command in org.apache.wiki.api.spi
Methods in org.apache.wiki.api.spi with parameters of type Command Modifier and Type Method Description Context
ContextDSL. create(Engine engine, javax.servlet.http.HttpServletRequest request, Command command)
Creates a new Context for the given Engine, Command and HttpServletRequest.Context
ContextSPI. create(Engine engine, javax.servlet.http.HttpServletRequest request, Command command)
Creates a new Context for the given Engine, Command and HttpServletRequest. -
Uses of Command in org.apache.wiki.spi
Methods in org.apache.wiki.spi with parameters of type Command Modifier and Type Method Description Context
ContextSPIDefaultImpl. create(Engine engine, javax.servlet.http.HttpServletRequest request, Command command)
Creates a new Context for the given Engine, Command and HttpServletRequest. -
Uses of Command in org.apache.wiki.ui
Classes in org.apache.wiki.ui that implement Command Modifier and Type Class 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.Fields in org.apache.wiki.ui declared as Command Modifier and Type Field 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
Methods in org.apache.wiki.ui that return Command Modifier and Type Method Description protected Command
DefaultCommandResolver. extractCommandFromPath(javax.servlet.http.HttpServletRequest request)
Extracts a Command based on the JSP path of an HTTP request.static Command
CommandResolver. findCommand(java.lang.String context)
Attempts to locate a wiki command for a supplied request context.Command
CommandResolver. findCommand(javax.servlet.http.HttpServletRequest request, java.lang.String defaultContext)
Attempts to locate a Command for a supplied wiki context and HTTP request, incorporating the correct WikiPage into the command if required.Command
DefaultCommandResolver. findCommand(javax.servlet.http.HttpServletRequest request, java.lang.String defaultContext)
Attempts to locate a Command for a supplied wiki context and HTTP request, incorporating the correct WikiPage into the command if required.static Command[]
AllCommands. get()
Returns a defensively-created array of all static Commands.abstract Command
AbstractCommand. targetedCommand(java.lang.Object target)
Command
GroupCommand. targetedCommand(java.lang.Object target)
Creates and returns a targeted Command by combining a GroupPrincipal with this Command.Command
PageCommand. targetedCommand(java.lang.Object target)
Creates and returns a targeted Command by combining a WikiPage with this Command.Command
RedirectCommand. targetedCommand(java.lang.Object target)
Creates and returns a targeted Command by combining a URL (as String) with this Command.Command
WikiCommand. targetedCommand(java.lang.Object target)
Creates and returns a targeted Command by combining a wiki (a String) with this Command.
-