Uses of Interface
org.apache.wiki.api.core.Context
Packages that use Context
Package
Description
The chief package of JSPWiki.
JSPWiki's central API.
JSPWiki's Engine's component related classes.
Filter's API package of JSPWiki.
Plugin's API package of JSPWiki.
JSPWiki's SPI package.
Attachment management, uploading and downloading.
Authentication, Authorization and the third A thing.
Authorizer implementation.
Provides content management functionality for JSPWiki.
Provides page and content filtering functionality for JSPWiki.
Contains classes for doing form handling within JSPWiki.
HTML to wiki syntax translation related classes.
Entry point for JSPWiki Flexmark's custom extensions.
Wikilinks' attributes custom decoration.
Wikilinks' nodes custom post processing.
Entry point for JSPWiki's Page Objects.
Markdown parsing.
Provides plugins to the JSPWiki.
Preferences storage.
Provides the JSPWiki track of pages' references.
Provides the JSPWiki rendering functionality.
Markdown rendering.
Provides the JSPWiki RSS feeds functionality.
Provides the JSPWiki search functionality.
Provides standard JSP tags for JSPWiki.
Provides auth-related Tasks, meant to be executed by the workflow framework.
Provides WikiPages' saving related Tasks, meant to be executed by the workflow framework.
Java classes for management of the JSP user interface.
Contains classes for the JSPWiki administrative interface.
-
Uses of Context in org.apache.wiki
Classes in org.apache.wiki that implement ContextModifier and TypeClassDescriptionclass
Provides state information throughout the processing of a page.Methods in org.apache.wiki with parameters of type Context -
Uses of Context in org.apache.wiki.api.core
Methods in org.apache.wiki.api.core that return Context -
Uses of Context in org.apache.wiki.api.engine
Methods in org.apache.wiki.api.engine with parameters of type ContextModifier and TypeMethodDescriptionRenderApi.textToHTML
(Context context, String pagedata) Converts raw page data to HTML. -
Uses of Context in org.apache.wiki.api.filters
Methods in org.apache.wiki.api.filters with parameters of type ContextModifier and TypeMethodDescriptionvoid
Deprecated.default void
This method is called after the page has been successfully saved.BasicPageFilter.postTranslate
(Context wikiContext, String htmlContent) Deprecated.default String
PageFilter.postTranslate
(Context context, String htmlContent) This method is called after a page has been fed through the translation process, so anything you are seeing here is translated content.Deprecated.default String
This method is called before the page has been saved to the PageProvider.BasicPageFilter.preTranslate
(Context wikiContext, String content) Deprecated.default String
PageFilter.preTranslate
(Context context, String content) This method is called whenever a page has been loaded from the provider, but not yet been sent through the markup-translation process. -
Uses of Context in org.apache.wiki.api.plugin
Methods in org.apache.wiki.api.plugin with parameters of type ContextModifier and TypeMethodDescriptionThis is the main entry point for any plugin.default String
Deprecated.This is the main entry point for any plugin.void
PluginElement.executeParse
(Context context) Executes the executeParse() method.void
ParserStagePlugin.executeParser
(PluginElement element, Context context, Map<String, String> params) Method which is executed during parsing.Performs plugin invocation and return its contents. -
Uses of Context in org.apache.wiki.api.spi
Methods in org.apache.wiki.api.spi that return ContextModifier and TypeMethodDescriptionContextDSL.create
(Engine engine, javax.servlet.http.HttpServletRequest request, String requestContext) Creates a new Context from a supplied HTTP request, using a default wiki context.Creates a new Context for the given Engine, Command and HttpServletRequest.Creates a new Context for the given Engine, Page and HttpServletRequest.Create a new Context for the given Page.ContextSPI.create
(Engine engine, javax.servlet.http.HttpServletRequest request, String requestContext) Creates a new Context from a supplied HTTP request, using a default wiki context.Creates a new Context for the given Engine, Command and HttpServletRequest.Creates a new Context for the given Engine, Page and HttpServletRequest.Create a new Context for the given Page. -
Uses of Context in org.apache.wiki.attachment
Methods in org.apache.wiki.attachment with parameters of type ContextModifier and TypeMethodDescriptionprotected boolean
AttachmentServlet.executeUpload
(Context context, InputStream data, String filename, String errorPage, String parentPage, String changenote, long contentLength) DynamicAttachmentProvider.getAttachmentData
(Context context, Attachment att) Returns a stream of data for this attachment.default Attachment
AttachmentManager.getAttachmentInfo
(Context context, String attachmentname) Figures out the full attachment name from the context and attachment name.AttachmentManager.getAttachmentInfo
(Context context, String attachmentname, int version) Figures out the full attachment name from the context and attachment name.DefaultAttachmentManager.getAttachmentInfo
(Context context, String attachmentname, int version) Figures out the full attachment name from the context and attachment name.AttachmentManager.getAttachmentInfoName
(Context context, String attachmentname) Figures out the full attachment name from the context and attachment name.DefaultAttachmentManager.getAttachmentInfoName
(Context context, String attachmentname) Figures out the full attachment name from the context and attachment name.AttachmentManager.getAttachmentStream
(Context ctx, Attachment att) Returns an attachment stream using the particular WikiContext.DefaultAttachmentManager.getAttachmentStream
(Context ctx, Attachment att) Returns an attachment stream using the particular WikiContext.void
AttachmentManager.storeDynamicAttachment
(Context ctx, DynamicAttachment att) Stores a dynamic attachment.void
DefaultAttachmentManager.storeDynamicAttachment
(Context ctx, DynamicAttachment att) Stores a dynamic attachment. -
Uses of Context in org.apache.wiki.auth
Methods in org.apache.wiki.auth with parameters of type ContextModifier and TypeMethodDescriptiondefault boolean
Checks whether the current user has access to the wiki context, by obtaining the required Permission (Command.requiredPermission()
) and delegating the access check toAuthorizationManager.checkPermission(Session, Permission)
.boolean
AuthorizationManager.hasAccess
(Context context, javax.servlet.http.HttpServletResponse response, boolean redirect) Checks whether the current user has access to the wiki context (and optionally redirects if not), by obtaining the required Permission (Command.requiredPermission()
) and delegating the access check toAuthorizationManager.checkPermission(Session, Permission)
.boolean
DefaultAuthorizationManager.hasAccess
(Context context, javax.servlet.http.HttpServletResponse response, boolean redirect) Checks whether the current user has access to the wiki context (and optionally redirects if not), by obtaining the required Permission (Command.requiredPermission()
) and delegating the access check toAuthorizationManager.checkPermission(Session, Permission)
.DefaultUserManager.parseProfile
(Context context) Extracts user profile parameters from the HTTP request and populates a UserProfile with them.UserManager.parseProfile
(Context context) Extracts user profile parameters from the HTTP request and populates a UserProfile with them.void
DefaultUserManager.setUserProfile
(Context context, UserProfile profile) Saves theUserProfile
for the user in a wiki session.void
UserManager.setUserProfile
(Context context, UserProfile profile) Saves theUserProfile
for the user in a wiki session.void
DefaultUserManager.startUserProfileCreationWorkflow
(Context context, UserProfile profile) void
UserManager.startUserProfileCreationWorkflow
(Context context, UserProfile profile) void
DefaultUserManager.validateProfile
(Context context, UserProfile profile) Validates a user profile, and appends any errors to the session errors list.void
UserManager.validateProfile
(Context context, UserProfile profile) Validates a user profile, and appends any errors to the session errors list. -
Uses of Context in org.apache.wiki.auth.authorize
Methods in org.apache.wiki.auth.authorize with parameters of type ContextModifier and TypeMethodDescriptionvoid
DefaultGroupManager.checkGroupName
(Context context, String name) Checks if a String is blank or a restricted Group name, and if it is, appends an error to the Session's message list.void
GroupManager.checkGroupName
(Context context, String name) Checks if a String is blank or a restricted Group name, and if it is, appends an error to the Session's message list.default Group
GroupManager.parseGroup
(Context context, boolean create) Extracts group name and members from the HTTP request and populates an existing Group with them.void
DefaultGroupManager.validateGroup
(Context context, Group group) Validates a Group, and appends any errors to the session errors list.void
GroupManager.validateGroup
(Context context, Group group) Validates a Group, and appends any errors to the session errors list. -
Uses of Context in org.apache.wiki.content
Methods in org.apache.wiki.content with parameters of type ContextModifier and TypeMethodDescriptionDefaultPageRenamer.renamePage
(Context context, String renameFrom, String renameTo, boolean changeReferrers) Renames a page.PageRenamer.renamePage
(Context context, String renameFrom, String renameTo, boolean changeReferrers) Renames a page. -
Uses of Context in org.apache.wiki.diff
Methods in org.apache.wiki.diff with parameters of type ContextModifier and TypeMethodDescriptionReturns a diff of two versions of a page.Returns a diff of two versions of a page.Returns valid XHTML string to be used in any way you please.Returns valid XHTML string to be used in any way you please.ContextualDiffProvider.makeDiffHtml
(Context ctx, String wikiOld, String wikiNew) Do a colored diff of the two regions.DiffProvider.makeDiffHtml
(Context context, String oldWikiText, String newWikiText) The return string is to be XHTML compliant ready to display html.DiffProvider.NullDiffProvider.makeDiffHtml
(Context ctx, String oldWikiText, String newWikiText) The return string is to be XHTML compliant ready to display html.ExternalDiffProvider.makeDiffHtml
(Context ctx, String p1, String p2) Makes the diff by calling "diff" program.TraditionalDiffProvider.makeDiffHtml
(Context ctx, String p1, String p2) Makes a diff using the BMSI utility package. -
Uses of Context in org.apache.wiki.filters
Methods in org.apache.wiki.filters with parameters of type ContextModifier and TypeMethodDescriptionstatic boolean
This method checks if the hash value is still valid, i.e. if it exists at all.void
DefaultFilterManager.doPostSaveFiltering
(Context context, String pageData) Does the page filtering after the page has been saved.void
FilterManager.doPostSaveFiltering
(Context context, String pageData) Does the page filtering after the page has been saved.DefaultFilterManager.doPostTranslateFiltering
(Context context, String htmlData) Does the filtering after HTML translation.FilterManager.doPostTranslateFiltering
(Context context, String htmlData) Does the filtering after HTML translation.DefaultFilterManager.doPreSaveFiltering
(Context context, String pageData) Does the filtering before a save to the page repository.FilterManager.doPreSaveFiltering
(Context context, String pageData) Does the filtering before a save to the page repository.DefaultFilterManager.doPreTranslateFiltering
(Context context, String pageData) Does the filtering before a translation.FilterManager.doPreTranslateFiltering
(Context context, String pageData) Does the filtering before a translation.void
Fires a WikiPageEvent of the provided type and WikiContext.protected final void
Fires a WikiPageEvent of the provided type and page name to all registered listeners.boolean
SpamFilter.isValidUserProfile
(Context context, UserProfile profile) Checks whether the UserProfile matches certain checks.void
This method is called after the page has been successfully saved.void
This method is called after the page has been successfully saved.PageEventFilter.postTranslate
(Context wikiContext, String htmlContent) This method is called after a page has been fed through the TranslatorReader, so anything you are seeing here is translated content.This method is called before the page has been saved to the PageProvider.This method is called before the page has been saved to the PageProvider.This method is called before the page has been saved to the PageProvider.CreoleFilter.preTranslate
(Context wikiContext, String content) This method is called whenever a page has been loaded from the provider, but not yet been sent through the markup-translation process.PageEventFilter.preTranslate
(Context wikiContext, String content) This method is called whenever a page has been loaded from the provider, but not yet been sent through the TranslatorReader.ProfanityFilter.preTranslate
(Context context, String content) This method is called whenever a page has been loaded from the provider, but not yet been sent through the markup-translation process. -
Uses of Context in org.apache.wiki.forms
Methods in org.apache.wiki.forms with parameters of type ContextModifier and TypeMethodDescriptionBuilds a Form close tag.Generates a dynamic form element on the WikiPage.This is the main entry point for any plugin.Executes the FormHandler specified in a Form 'output' plugin, using entries provided in the HttpRequest as FormHandler parameters.This is the main entry point for any plugin.This is the main entry point for any plugin.This is the main entry point for any plugin.protected FormInfo
FormElement.getFormInfo
(Context ctx) Attempts to retrieve information on the currently handled form from the Context.protected void
FormElement.storeFormInfo
(Context ctx, FormInfo info) Utility method stores a FormInfo object into the Context. -
Uses of Context in org.apache.wiki.htmltowiki
Methods in org.apache.wiki.htmltowiki with parameters of type ContextModifier and TypeMethodDescriptionTranslates text from HTML into WikiMarkup with a WikiContext.Constructors in org.apache.wiki.htmltowiki with parameters of type ContextModifierConstructorDescriptionXHtmlToWikiConfig
(Context wikiContext) The constructor initializes the different internal fields according to the current URLConstructor. -
Uses of Context in org.apache.wiki.markdown
Constructors in org.apache.wiki.markdown with parameters of type ContextModifierConstructorDescriptionMarkdownForJSPWikiExtension
(Context context, boolean isImageInlining, List<org.apache.oro.text.regex.Pattern> inlineImagePatterns) -
Uses of Context in org.apache.wiki.markdown.extensions.jspwikilinks.attributeprovider
Fields in org.apache.wiki.markdown.extensions.jspwikilinks.attributeprovider declared as ContextModifier and TypeFieldDescriptionprotected final Context
JSPWikiLinkAttributeProvider.wikiContext
Constructors in org.apache.wiki.markdown.extensions.jspwikilinks.attributeprovider with parameters of type ContextModifierConstructorDescriptionExternalLinkAttributeProviderState
(Context wikiContext, boolean hasRef, boolean isImageInlining, List<org.apache.oro.text.regex.Pattern> inlineImagePatterns) ImageLinkAttributeProviderState
(Context wikiContext, String urlRef, boolean isLinkFromText) InterWikiLinkAttributeProviderState
(Context wikiContext, boolean hasRef, boolean isImageInlining, List<org.apache.oro.text.regex.Pattern> inlineImagePatterns) JSPWikiLinkAttributeProvider
(Context wikiContext, boolean isImageInlining, List<org.apache.oro.text.regex.Pattern> inlineImagePatterns) JSPWikiLinkAttributeProviderFactory
(Context wikiContext, boolean isImageInlining, List<org.apache.oro.text.regex.Pattern> inlineImagePatterns) LocalEditLinkAttributeProviderState
(Context wikiContext, String url) LocalFootnoteLinkAttributeProviderState
(Context wikiContext) LocalFootnoteRefLinkAttributeProviderState
(Context wikiContext) LocalLinkAttributeProviderState
(Context wikiContext, boolean hasRef, boolean isImageInlining, List<org.apache.oro.text.regex.Pattern> inlineImagePatterns) LocalReadLinkAttributeProviderState
(Context wikiContext) WysiwygEditingAttributeProviderState
(Context wikiContext) -
Uses of Context in org.apache.wiki.markdown.extensions.jspwikilinks.postprocessor
Fields in org.apache.wiki.markdown.extensions.jspwikilinks.postprocessor declared as ContextMethods in org.apache.wiki.markdown.extensions.jspwikilinks.postprocessor with parameters of type ContextConstructors in org.apache.wiki.markdown.extensions.jspwikilinks.postprocessor with parameters of type ContextModifierConstructorDescriptionAccessRuleLinkNodePostProcessorState
(Context wikiContext) ExternalLinkNodePostProcessorState
(Context wikiContext, boolean isImageInlining, List<org.apache.oro.text.regex.Pattern> inlineImagePatterns) ImageLinkNodePostProcessorState
(Context wikiContext, String urlRef, boolean isLinkFromText) InterWikiLinkNodePostProcessorState
(Context wikiContext, com.vladsch.flexmark.util.ast.Document document, boolean isImageInlining, List<org.apache.oro.text.regex.Pattern> inlineImagePatterns) JSPWikiLinkNodePostProcessor
(Context m_context, com.vladsch.flexmark.util.ast.Document document, boolean isImageInlining, List<org.apache.oro.text.regex.Pattern> inlineImagePatterns) JSPWikiNodePostProcessorFactory
(Context m_context, com.vladsch.flexmark.util.data.DataHolder options, boolean isImageInlining, List<org.apache.oro.text.regex.Pattern> inlineImagePatterns) LocalFootnoteLinkNodePostProcessorState
(Context wikiContext) LocalFootnoteRefLinkNodePostProcessorState
(Context wikiContext) LocalLinkNodePostProcessorState
(Context wikiContext, boolean isImageInlining, List<org.apache.oro.text.regex.Pattern> inlineImagePatterns) MetadataLinkNodePostProcessorState
(Context wikiContext) PluginLinkNodePostProcessorState
(Context wikiContext) VariableLinkNodePostProcessorState
(Context wikiContext) -
Uses of Context in org.apache.wiki.markdown.renderer
Constructors in org.apache.wiki.markdown.renderer with parameters of type Context -
Uses of Context in org.apache.wiki.pages
Methods in org.apache.wiki.pages with parameters of type Context -
Uses of Context in org.apache.wiki.parser
Fields in org.apache.wiki.parser declared as ContextMethods in org.apache.wiki.parser that return ContextModifier and TypeMethodDescriptionWikiDocument.getContext()
Returns the wiki context for this document.Methods in org.apache.wiki.parser with parameters of type ContextModifier and TypeMethodDescriptionvoid
PluginContent.executeParse
(Context context) Executes the executeParse() method.void
HeadingListener.headingAdded
(Context context, Heading hd) Is called whenever a heading is encountered in the stream.Performs plugin invocation and return its contents.static PluginContent
PluginContent.parsePluginLine
(Context context, String commandline, int pos) Parses a plugin invocation and returns a DOM element.void
WikiDocument.setContext
(Context ctx) Set the WikiContext in which the WikiDocument is rendered.Constructors in org.apache.wiki.parser with parameters of type ContextModifierConstructorDescriptionJSPWikiMarkupParser
(Context context, Reader in) Creates a markup parser.LinkParsingOperations
(Context wikiContext) protected
MarkupParser
(Context context, Reader in) Constructs a MarkupParser. -
Uses of Context in org.apache.wiki.parser.markdown
Methods in org.apache.wiki.parser.markdown with parameters of type ContextModifier and TypeMethodDescriptionstatic com.vladsch.flexmark.util.data.MutableDataSet
MarkdownDocument.options
(Context context, boolean isImageInlining, List<org.apache.oro.text.regex.Pattern> inlineImagePatterns) Configuration options for MarkdownRenderers.Constructors in org.apache.wiki.parser.markdown with parameters of type Context -
Uses of Context in org.apache.wiki.plugin
Methods in org.apache.wiki.plugin with parameters of type ContextModifier and TypeMethodDescriptionThis is the main entry point for any plugin.This is the main entry point for any plugin.This is the main entry point for any plugin.Parses a plugin.Executes a plugin class in the given context.This is the main entry point for any plugin.This is the main entry point for any plugin.This is the main entry point for any plugin.This is the main entry point for any plugin.This is the main entry point for any plugin.This is the main entry point for any plugin.This is the main entry point for any plugin.This is the main entry point for any plugin.This is the main entry point for any plugin.Count a page hit, present a pages' counter or output a list of page counts.Parses a plugin.Executes a plugin class in the given context.This is the main entry point for any plugin.This is the main entry point for any plugin.This is the main entry point for any plugin.This is the main entry point for any plugin.This is the main entry point for any plugin.This is the main entry point for any plugin.This is the main entry point for any plugin.This is the main entry point for any plugin.This is the main entry point for any plugin.This is the main entry point for any plugin.This is the main entry point for any plugin.void
WeblogPlugin.executeParser
(PluginElement element, Context context, Map<String, String> params) Mark us as being a real weblog.void
TableOfContents.headingAdded
(Context context, Heading hd) Is called whenever a heading is encountered in the stream.static boolean
Returns a boolean result based on processing the WikiContext and parameter Map as according to the rules stated in the IfPlugin documentation.void
AbstractReferralPlugin.initialize
(Context context, Map<String, String> params) protected String
Makes HTML with common parameters. -
Uses of Context in org.apache.wiki.preferences
Methods in org.apache.wiki.preferences with parameters of type ContextModifier and TypeMethodDescriptionstatic ResourceBundle
Locates the i18n ResourceBundle given.static SimpleDateFormat
Preferences.getDateFormat
(Context context, Preferences.TimeFormat tf) Get SimpleTimeFormat according to user browser locale and preferred time formats.static Locale
Get Locale according to user-preference settings or the user browser localestatic String
Preferences.getPreference
(Context wikiContext, String name) Returns a preference value programmatically.static String
Preferences.renderDate
(Context context, Date date, Preferences.TimeFormat tf) A simple helper function to render a date based on the user preferences. -
Uses of Context in org.apache.wiki.references
Methods in org.apache.wiki.references with parameters of type Context -
Uses of Context in org.apache.wiki.render
Fields in org.apache.wiki.render declared as ContextMethods in org.apache.wiki.render with parameters of type ContextModifier and TypeMethodDescriptionReturns the converted HTML of the page using a different context than the default context.DefaultRenderingManager.getHTML
(Context context, WikiDocument doc) Simply renders a WikiDocument to a String.default String
Convenience method for rendering, using the default parser and renderer.Returns the converted HTML of the page using a different context than the default context.RenderingManager.getHTML
(Context context, WikiDocument doc) Simply renders a WikiDocument to a String.Returns the wiki ParserReturns the wiki ParserDefaultRenderingManager.getRenderedDocument
(Context context, String pagedata) Returns a cached document, if one is found.RenderingManager.getRenderedDocument
(Context context, String pagedata) Returns a cached document, if one is found.DefaultRenderingManager.getRenderer
(Context context, WikiDocument doc) Returns a WikiRenderer instance, initialized with the given context and doc.RenderingManager.getRenderer
(Context context, WikiDocument doc) Returns a WikiRenderer instance, initialized with the given context and doc.DefaultRenderingManager.getWysiwygRenderer
(Context context, WikiDocument doc) Returns a WikiRenderer instance meant for WYSIWYG editing, initialized with the given context and doc.RenderingManager.getWysiwygRenderer
(Context context, WikiDocument doc) Returns a WikiRenderer instance meant for WYSIWYG editing, initialized with the given context and doc.DefaultRenderingManager.textToHTML
(Context context, String pagedata) Converts raw page data to HTML.DefaultRenderingManager.textToHTML
(Context context, String pagedata, StringTransmutator localLinkHook, StringTransmutator extLinkHook, StringTransmutator attLinkHook, boolean parseAccessRules, boolean justParse) Helper method for doing the HTML translation.default String
RenderingManager.textToHTML
(Context context, String pagedata, StringTransmutator localLinkHook, StringTransmutator extLinkHook) Just convert WikiText to HTML.default String
RenderingManager.textToHTML
(Context context, String pagedata, StringTransmutator localLinkHook, StringTransmutator extLinkHook, StringTransmutator attLinkHook) Just convert WikiText to HTML.RenderingManager.textToHTML
(Context context, String pagedata, StringTransmutator localLinkHook, StringTransmutator extLinkHook, StringTransmutator attLinkHook, boolean parseAccessRules, boolean justParse) Helper method for doing the HTML translation.Constructors in org.apache.wiki.render with parameters of type ContextModifierConstructorDescriptionCleanTextRenderer
(Context context, WikiDocument doc) Create a renderer.CreoleRenderer
(Context ctx, WikiDocument doc) Creates a new Creole Renderer.protected
WikiRenderer
(Context context, WikiDocument doc) Create a WikiRenderer.WysiwygEditingRenderer
(Context context, WikiDocument doc) Creates a WYSIWYG editing renderer.XHTMLRenderer
(Context context, WikiDocument doc) Creates an XHTML 1.0 renderer. -
Uses of Context in org.apache.wiki.render.markdown
Constructors in org.apache.wiki.render.markdown with parameters of type Context -
Uses of Context in org.apache.wiki.rss
Fields in org.apache.wiki.rss declared as ContextMethods in org.apache.wiki.rss with parameters of type ContextModifier and TypeMethodDescriptionDefaultRSSGenerator.generateBlogRSS
(Context wikiContext, List<Page> changed, Feed feed) Creates RSS from modifications as if this page was a blog (using the WeblogPlugin).RSSGenerator.generateBlogRSS
(Context wikiContext, List<Page> changed, Feed feed) Creates RSS from modifications as if this page was a blog (using the WeblogPlugin).Generates a feed based on a context and list of changes.Generates a feed based on a context and list of changes.DefaultRSSGenerator.generateFullWikiRSS
(Context wikiContext, Feed feed) Generates an RSS feed for the entire wiki.RSSGenerator.generateFullWikiRSS
(Context wikiContext, Feed feed) Generates an RSS feed for the entire wiki.DefaultRSSGenerator.generateWikiPageRSS
(Context wikiContext, List<Page> changed, Feed feed) Create RSS/Atom as if this page was a wikipage (in contrast to Blog mode).RSSGenerator.generateWikiPageRSS
(Context wikiContext, List<Page> changed, Feed feed) Create RSS/Atom as if this page was a wikipage (in contrast to Blog mode).static String
Feed.getSiteName
(Context context) Figure out a site name for a feed.Constructors in org.apache.wiki.rss with parameters of type ContextModifierConstructorDescriptionCreate a new AtomFeed for a given WikiContext.Create a new Feed for a particular WikiContext.Create an RSS 1.0 feed for a given context.Creates an RSS 2.0 feed for the specified Context. -
Uses of Context in org.apache.wiki.search
Methods in org.apache.wiki.search with parameters of type ContextModifier and TypeMethodDescriptionSearch for pages matching a search query.Performs a full search of pages.Searches pages using a particular combination of flags.Search for pages matching a search query.default Collection<SearchResult>
Sends a search to the current search provider.Search for pages matching a search query. -
Uses of Context in org.apache.wiki.search.kendra
Methods in org.apache.wiki.search.kendra with parameters of type ContextModifier and TypeMethodDescriptionSearch for pages matching a search query. -
Uses of Context in org.apache.wiki.spi
Methods in org.apache.wiki.spi that return ContextModifier and TypeMethodDescriptionContextSPIDefaultImpl.create
(Engine engine, javax.servlet.http.HttpServletRequest request, String requestContext) Creates a new Context from a supplied HTTP request, using a default wiki context.ContextSPIDefaultImpl.create
(Engine engine, javax.servlet.http.HttpServletRequest request, Command command) Creates a new Context for the given Engine, Command and HttpServletRequest.ContextSPIDefaultImpl.create
(Engine engine, javax.servlet.http.HttpServletRequest request, Page page) Creates a new Context for the given Engine, Page and HttpServletRequest.Create a new Context for the given Page. -
Uses of Context in org.apache.wiki.tags
Fields in org.apache.wiki.tags declared as ContextModifier and TypeFieldDescriptionprotected Context
IteratorTag.m_wikiContext
protected Context
WikiTagBase.m_wikiContext
Methods in org.apache.wiki.tags with parameters of type ContextModifier and TypeMethodDescriptionstatic String
UserProfileTag.printGroups
(Context context) Returns a sorted list of theGroup
objects a user possesses in his or her Session.static String
UserProfileTag.printRoles
(Context context) Returns a sorted list of theRole
objects a user possesses in his or her Session. -
Uses of Context in org.apache.wiki.tasks.auth
Methods in org.apache.wiki.tasks.auth with parameters of type Context -
Uses of Context in org.apache.wiki.tasks.pages
Methods in org.apache.wiki.tasks.pages with parameters of type ContextModifier and TypeMethodDescriptionExecutes the processing for this Step and returns an Outcome indicating if it succeeded (Outcome.STEP_COMPLETE
orOutcome.STEP_ABORT
).Executes the processing for this Step and returns an Outcome indicating if it succeeded (Outcome.STEP_COMPLETE
orOutcome.STEP_ABORT
). -
Uses of Context in org.apache.wiki.ui
Methods in org.apache.wiki.ui that return ContextModifier and TypeMethodDescriptionprotected Context
WikiServletFilter.getWikiContext
(javax.servlet.ServletRequest request) Figures out the wiki context from the request.Methods in org.apache.wiki.ui with parameters of type ContextModifier and TypeMethodDescriptionstatic void
TemplateManager.addResourceRequest
(Context ctx, String type, String resource) Adds a resource request to the current request context.Return basic HTML.Handles a POST response.DefaultTemplateManager.findResource
(Context ctx, String template, String name) Attempts to locate a resource under the given template.TemplateManager.findResource
(Context ctx, String template, String name) Attempts to locate a resource under the given template.DefaultEditorManager.getEditorName
(Context context) Returns an editor for the current context.EditorManager.getEditorName
(Context context) Returns an editor for the current context.DefaultEditorManager.getEditorPath
(Context context) Convenience method for getting the path to the editor JSP file.EditorManager.getEditorPath
(Context context) Convenience method for getting the path to the editor JSP file.static String
TemplateManager.getJSLocalizedStrings
(Context context) Extract all i18n strings in the javascript domain.static String
Returns the include resources marker for a given type.static String[]
TemplateManager.getResourceRequests
(Context ctx, String type) Returns resource requests for a particular type.static String[]
TemplateManager.getResourceTypes
(Context ctx) Returns all those types that have been requested so far.Constructors in org.apache.wiki.ui with parameters of type Context -
Uses of Context in org.apache.wiki.ui.admin
Methods in org.apache.wiki.ui.admin with parameters of type ContextModifier and TypeMethodDescriptionBy default, this method creates a blob of HTML, listing all the attributes which can be read or written to.Not implemented yet.abstract String
WikiFormAdminBean.handlePost
(Context context, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) abstract void
WikiFormAdminBean.handleResponse
(Context context, Map<?, ?> params) -
Uses of Context in org.apache.wiki.ui.admin.beans
Methods in org.apache.wiki.ui.admin.beans with parameters of type ContextModifier and TypeMethodDescriptionBy default, this method creates a blob of HTML, listing all the attributes which can be read or written to. -
Uses of Context in org.apache.wiki.variables
Methods in org.apache.wiki.variables with parameters of type ContextModifier and TypeMethodDescriptionDefaultVariableManager.expandVariables
(Context context, String source) This method does in-place expansion of any variables.VariableManager.expandVariables
(Context context, String source) This method does in-place expansion of any variables.Returns a value of the named variable.Returns the value of a named variable.Returns a value of the named variable.Returns the value of a named variable.DefaultVariableManager.getVariable
(Context context, String name) Shortcut to getValue().VariableManager.getVariable
(Context context, String name) Shortcut to getValue().DefaultVariableManager.parseAndGetValue
(Context context, String link) Parses the link and finds a value.VariableManager.parseAndGetValue
(Context context, String link) Parses the link and finds a value. -
Uses of Context in org.apache.wiki.workflow
Methods in org.apache.wiki.workflow with parameters of type ContextModifier and TypeMethodDescriptionfinal void
Aborts the Workflow by setting the current Step's Outcome toOutcome.STEP_ABORT
, and the Workflow's overall state toWorkflow.ABORTED
.void
SimpleNotification.acknowledge
(Context context) Convenience method that simply callsDecision.decide(Outcome, Context)
with the valueOutcome.DECISION_ACKNOWLEDGE
.void
Sets this Decision's outcome, and restarts the parent Workflow if it is in theWorkflow.WAITING
state and this Decision is its currently active Step.void
Attempts to complete a Decision by callingDecision.decide(Outcome, Context)
.abstract Outcome
Executes the processing for this Step and returns an Outcome indicating if it succeeded (Outcome.STEP_COMPLETE
orOutcome.STEP_ABORT
).Default implementation that always returnsOutcome.STEP_CONTINUE
if the current Outcome isn't a completion (which will be true if theDecision.decide(Outcome, Context)
method hasn't been executed yet.Executes the processing for this Step and returns an Outcome indicating if it succeeded (Outcome.STEP_COMPLETE
orOutcome.STEP_ABORT
).protected final void
Workflow.processCurrentStep
(Context context) Protected method that processes the current Step by callingStep.execute(Context)
.protected void
DefaultWorkflowManager.removeFromDecisionQueue
(Decision decision, Context context) final void
Restarts the Workflow from theWorkflow.WAITING
state and puts it into theWorkflow.RUNNING
state again.final void
Starts the Workflow and sets the state toWorkflow.RUNNING
. -
Uses of Context in org.apache.wiki.xmlrpc
Fields in org.apache.wiki.xmlrpc declared as ContextMethods in org.apache.wiki.xmlrpc with parameters of type ContextModifier and TypeMethodDescriptionvoid
AbstractRPCHandler.initialize
(Context context) void
MetaWeblogHandler.initialize
(Context context) void
WikiRPCHandler.initialize
(Context context)