Uses of Interface
org.apache.wiki.api.core.Context
-
Packages that use Context Package Description org.apache.wiki The chief package of JSPWiki.org.apache.wiki.api.core JSPWiki's central API.org.apache.wiki.api.engine JSPWiki's Engine's component related classes.org.apache.wiki.api.filters Filter's API package of JSPWiki.org.apache.wiki.api.plugin Plugin's API package of JSPWiki.org.apache.wiki.api.spi JSPWiki's SPI package.org.apache.wiki.attachment Attachment management, uploading and downloading.org.apache.wiki.auth Authentication, Authorization and the third A thing.org.apache.wiki.auth.authorize Authorizer implementation.org.apache.wiki.content Provides content management functionality for JSPWiki.org.apache.wiki.diff org.apache.wiki.filters Provides page and content filtering functionality for JSPWiki.org.apache.wiki.forms Contains classes for doing form handling within JSPWiki.org.apache.wiki.htmltowiki HTML to wiki syntax translation related classes.org.apache.wiki.markdown Entry point for JSPWiki Flexmark's custom extensions.org.apache.wiki.markdown.extensions.jspwikilinks.attributeprovider Wikilinks' attributes custom decoration.org.apache.wiki.markdown.extensions.jspwikilinks.postprocessor Wikilinks' nodes custom post processing.org.apache.wiki.markdown.renderer org.apache.wiki.pages Entry point for JSPWiki's Page Objects.org.apache.wiki.parser org.apache.wiki.parser.markdown Markdown parsing.org.apache.wiki.plugin Provides plugins to the JSPWiki.org.apache.wiki.preferences Preferences storage.org.apache.wiki.references Provides the JSPWiki track of pages' references.org.apache.wiki.render Provides the JSPWiki rendering functionality.org.apache.wiki.render.markdown Markdown rendering.org.apache.wiki.rss Provides the JSPWiki RSS feeds functionality.org.apache.wiki.search Provides the JSPWiki search functionality.org.apache.wiki.search.kendra org.apache.wiki.spi org.apache.wiki.tags Provides standard JSP tags for JSPWiki.org.apache.wiki.tasks.auth Provides auth-related Tasks, meant to be executed by the workflow framework.org.apache.wiki.tasks.pages Provides WikiPages' saving related Tasks, meant to be executed by the workflow framework.org.apache.wiki.ui Java classes for management of the JSP user interface.org.apache.wiki.ui.admin Contains classes for the JSPWiki administrative interface.org.apache.wiki.ui.admin.beans org.apache.wiki.variables org.apache.wiki.workflow org.apache.wiki.xmlrpc -
-
Uses of Context in org.apache.wiki
Classes in org.apache.wiki that implement Context Modifier and Type Class Description class
WikiContext
Provides state information throughout the processing of a page.Methods in org.apache.wiki with parameters of type Context Modifier and Type Method Description java.lang.String
LinkCollector. mutate(Context context, java.lang.String in)
Returns a changed String, suitable for Wiki context.java.lang.String
StringTransmutator. mutate(Context context, java.lang.String source)
Returns a changed String, suitable for Wiki context. -
Uses of Context in org.apache.wiki.api.core
Methods in org.apache.wiki.api.core that return Context Modifier and Type Method Description Context
Context. clone()
Context
Context. deepClone()
Creates a deep clone of the Context.static Context
Context. findContext(javax.servlet.jsp.PageContext pageContext)
This method can be used to find the WikiContext programmatically from a JSP PageContext. -
Uses of Context in org.apache.wiki.api.engine
Methods in org.apache.wiki.api.engine with parameters of type Context Modifier and Type Method Description java.lang.String
RenderApi. textToHTML(Context context, java.lang.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 Context Modifier and Type Method Description void
BasicPageFilter. postSave(Context wikiContext, java.lang.String content)
Deprecated.default void
PageFilter. postSave(Context context, java.lang.String content)
This method is called after the page has been successfully saved.java.lang.String
BasicPageFilter. postTranslate(Context wikiContext, java.lang.String htmlContent)
Deprecated.default java.lang.String
PageFilter. postTranslate(Context context, java.lang.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.java.lang.String
BasicPageFilter. preSave(Context wikiContext, java.lang.String content)
Deprecated.default java.lang.String
PageFilter. preSave(Context context, java.lang.String content)
This method is called before the page has been saved to the PageProvider.java.lang.String
BasicPageFilter. preTranslate(Context wikiContext, java.lang.String content)
Deprecated.default java.lang.String
PageFilter. preTranslate(Context context, java.lang.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 Context Modifier and Type Method Description java.lang.String
Plugin. execute(Context context, java.util.Map<java.lang.String,java.lang.String> params)
This is the main entry point for any plugin.default java.lang.String
WikiPlugin. execute(Context context, java.util.Map<java.lang.String,java.lang.String> params)
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, java.util.Map<java.lang.String,java.lang.String> params)
Method which is executed during parsing.java.lang.String
PluginElement. invoke(Context context)
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 Context Modifier and Type Method Description Context
ContextDSL. create(Engine engine, javax.servlet.http.HttpServletRequest request, java.lang.String requestContext)
Creates a new Context from a supplied HTTP request, using a default wiki context.Context
ContextDSL. create(Engine engine, javax.servlet.http.HttpServletRequest request, Command command)
Creates a new Context for the given Engine, Command and HttpServletRequest.Context
ContextDSL. create(Engine engine, javax.servlet.http.HttpServletRequest request, Page page)
Creates a new Context for the given Engine, Page and HttpServletRequest.Context
ContextDSL. create(Engine engine, Page page)
Create a new Context for the given Page.Context
ContextSPI. create(Engine engine, javax.servlet.http.HttpServletRequest request, java.lang.String requestContext)
Creates a new Context from a supplied HTTP request, using a default wiki context.Context
ContextSPI. 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, Page page)
Creates a new Context for the given Engine, Page and HttpServletRequest.Context
ContextSPI. create(Engine engine, Page page)
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 Context Modifier and Type Method Description protected boolean
AttachmentServlet. executeUpload(Context context, java.io.InputStream data, java.lang.String filename, java.lang.String errorPage, java.lang.String parentPage, java.lang.String changenote, long contentLength)
java.io.InputStream
DynamicAttachmentProvider. getAttachmentData(Context context, Attachment att)
Returns a stream of data for this attachment.default Attachment
AttachmentManager. getAttachmentInfo(Context context, java.lang.String attachmentname)
Figures out the full attachment name from the context and attachment name.Attachment
AttachmentManager. getAttachmentInfo(Context context, java.lang.String attachmentname, int version)
Figures out the full attachment name from the context and attachment name.Attachment
DefaultAttachmentManager. getAttachmentInfo(Context context, java.lang.String attachmentname, int version)
Figures out the full attachment name from the context and attachment name.java.lang.String
AttachmentManager. getAttachmentInfoName(Context context, java.lang.String attachmentname)
Figures out the full attachment name from the context and attachment name.java.lang.String
DefaultAttachmentManager. getAttachmentInfoName(Context context, java.lang.String attachmentname)
Figures out the full attachment name from the context and attachment name.java.io.InputStream
AttachmentManager. getAttachmentStream(Context ctx, Attachment att)
Returns an attachment stream using the particular WikiContext.java.io.InputStream
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 Context Modifier and Type Method Description default boolean
AuthorizationManager. hasAccess(Context context, javax.servlet.http.HttpServletResponse response)
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)
.UserProfile
DefaultUserManager. parseProfile(Context context)
Extracts user profile parameters from the HTTP request and populates a UserProfile with them.UserProfile
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 Context Modifier and Type Method Description void
DefaultGroupManager. checkGroupName(Context context, java.lang.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, java.lang.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 Context Modifier and Type Method Description java.lang.String
DefaultPageRenamer. renamePage(Context context, java.lang.String renameFrom, java.lang.String renameTo, boolean changeReferrers)
Renames a page.java.lang.String
PageRenamer. renamePage(Context context, java.lang.String renameFrom, java.lang.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 Context Modifier and Type Method Description java.lang.String
DefaultDifferenceManager. getDiff(Context context, int version1, int version2)
Returns a diff of two versions of a page.java.lang.String
DifferenceManager. getDiff(Context context, int version1, int version2)
Returns a diff of two versions of a page.java.lang.String
DefaultDifferenceManager. makeDiff(Context context, java.lang.String firstWikiText, java.lang.String secondWikiText)
Returns valid XHTML string to be used in any way you please.java.lang.String
DifferenceManager. makeDiff(Context context, java.lang.String firstWikiText, java.lang.String secondWikiText)
Returns valid XHTML string to be used in any way you please.java.lang.String
ContextualDiffProvider. makeDiffHtml(Context ctx, java.lang.String wikiOld, java.lang.String wikiNew)
Do a colored diff of the two regions.java.lang.String
DiffProvider. makeDiffHtml(Context context, java.lang.String oldWikiText, java.lang.String newWikiText)
The return string is to be XHTML compliant ready to display html.java.lang.String
DiffProvider.NullDiffProvider. makeDiffHtml(Context ctx, java.lang.String oldWikiText, java.lang.String newWikiText)
The return string is to be XHTML compliant ready to display html.java.lang.String
ExternalDiffProvider. makeDiffHtml(Context ctx, java.lang.String p1, java.lang.String p2)
Makes the diff by calling "diff" program.java.lang.String
TraditionalDiffProvider. makeDiffHtml(Context ctx, java.lang.String p1, java.lang.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 Context Modifier and Type Method Description static boolean
SpamFilter. checkHash(Context context, javax.servlet.jsp.PageContext pageContext)
This method checks if the hash value is still valid, i.e. if it exists at all.void
DefaultFilterManager. doPostSaveFiltering(Context context, java.lang.String pageData)
Does the page filtering after the page has been saved.void
FilterManager. doPostSaveFiltering(Context context, java.lang.String pageData)
Does the page filtering after the page has been saved.java.lang.String
DefaultFilterManager. doPostTranslateFiltering(Context context, java.lang.String htmlData)
Does the filtering after HTML translation.java.lang.String
FilterManager. doPostTranslateFiltering(Context context, java.lang.String htmlData)
Does the filtering after HTML translation.java.lang.String
DefaultFilterManager. doPreSaveFiltering(Context context, java.lang.String pageData)
Does the filtering before a save to the page repository.java.lang.String
FilterManager. doPreSaveFiltering(Context context, java.lang.String pageData)
Does the filtering before a save to the page repository.java.lang.String
DefaultFilterManager. doPreTranslateFiltering(Context context, java.lang.String pageData)
Does the filtering before a translation.java.lang.String
FilterManager. doPreTranslateFiltering(Context context, java.lang.String pageData)
Does the filtering before a translation.void
DefaultFilterManager. fireEvent(int type, Context context)
Fires a WikiPageEvent of the provided type and WikiContext.protected void
PageEventFilter. fireEvent(int type, Context context)
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
PageEventFilter. postSave(Context wikiContext, java.lang.String content)
This method is called after the page has been successfully saved.void
PingWeblogsComFilter. postSave(Context context, java.lang.String pagecontent)
This method is called after the page has been successfully saved.java.lang.String
PageEventFilter. postTranslate(Context wikiContext, java.lang.String htmlContent)
This method is called after a page has been fed through the TranslatorReader, so anything you are seeing here is translated content.java.lang.String
CreoleFilter. preSave(Context wikiContext, java.lang.String content)
This method is called before the page has been saved to the PageProvider.java.lang.String
PageEventFilter. preSave(Context wikiContext, java.lang.String content)
This method is called before the page has been saved to the PageProvider.java.lang.String
SpamFilter. preSave(Context context, java.lang.String content)
This method is called before the page has been saved to the PageProvider.java.lang.String
CreoleFilter. preTranslate(Context wikiContext, java.lang.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.java.lang.String
PageEventFilter. preTranslate(Context wikiContext, java.lang.String content)
This method is called whenever a page has been loaded from the provider, but not yet been sent through the TranslatorReader.java.lang.String
ProfanityFilter. preTranslate(Context context, java.lang.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 Context Modifier and Type Method Description java.lang.String
FormClose. execute(Context ctx, java.util.Map<java.lang.String,java.lang.String> params)
Builds a Form close tag.java.lang.String
FormInput. execute(Context ctx, java.util.Map<java.lang.String,java.lang.String> params)
Generates a dynamic form element on the WikiPage.java.lang.String
FormOpen. execute(Context ctx, java.util.Map<java.lang.String,java.lang.String> params)
This is the main entry point for any plugin.java.lang.String
FormOutput. execute(Context ctx, java.util.Map<java.lang.String,java.lang.String> params)
Executes the FormHandler specified in a Form 'output' plugin, using entries provided in the HttpRequest as FormHandler parameters.java.lang.String
FormSelect. execute(Context ctx, java.util.Map<java.lang.String,java.lang.String> params)
This is the main entry point for any plugin.java.lang.String
FormSet. execute(Context ctx, java.util.Map<java.lang.String,java.lang.String> params)
This is the main entry point for any plugin.java.lang.String
FormTextarea. execute(Context ctx, java.util.Map<java.lang.String,java.lang.String> params)
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 Context Modifier and Type Method Description java.lang.String
HtmlStringToWikiTranslator. translate(java.lang.String html, Context wikiContext)
Translates text from HTML into WikiMarkup with a WikiContext.Constructors in org.apache.wiki.htmltowiki with parameters of type Context Constructor Description XHtmlToWikiConfig(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 Context Constructor Description MarkdownForJSPWikiExtension(Context context, boolean isImageInlining, java.util.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 Context Modifier and Type Field Description protected Context
JSPWikiLinkAttributeProvider. wikiContext
Constructors in org.apache.wiki.markdown.extensions.jspwikilinks.attributeprovider with parameters of type Context Constructor Description ExternalLinkAttributeProviderState(Context wikiContext, boolean hasRef, boolean isImageInlining, java.util.List<org.apache.oro.text.regex.Pattern> inlineImagePatterns)
ImageLinkAttributeProviderState(Context wikiContext, java.lang.String urlRef, boolean isLinkFromText)
InterWikiLinkAttributeProviderState(Context wikiContext, boolean hasRef, boolean isImageInlining, java.util.List<org.apache.oro.text.regex.Pattern> inlineImagePatterns)
JSPWikiLinkAttributeProvider(Context wikiContext, boolean isImageInlining, java.util.List<org.apache.oro.text.regex.Pattern> inlineImagePatterns)
JSPWikiLinkAttributeProviderFactory(Context wikiContext, boolean isImageInlining, java.util.List<org.apache.oro.text.regex.Pattern> inlineImagePatterns)
LocalEditLinkAttributeProviderState(Context wikiContext, java.lang.String url)
LocalFootnoteLinkAttributeProviderState(Context wikiContext)
LocalFootnoteRefLinkAttributeProviderState(Context wikiContext)
LocalLinkAttributeProviderState(Context wikiContext, boolean hasRef, boolean isImageInlining, java.util.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 Context Modifier and Type Field Description protected Context
JSPWikiLinkNodePostProcessor. m_context
Constructors in org.apache.wiki.markdown.extensions.jspwikilinks.postprocessor with parameters of type Context Constructor Description AccessRuleLinkNodePostProcessorState(Context wikiContext)
ExternalLinkNodePostProcessorState(Context wikiContext, boolean isImageInlining, java.util.List<org.apache.oro.text.regex.Pattern> inlineImagePatterns)
ImageLinkNodePostProcessorState(Context wikiContext, java.lang.String urlRef, boolean isLinkFromText)
InterWikiLinkNodePostProcessorState(Context wikiContext, com.vladsch.flexmark.util.ast.Document document, boolean isImageInlining, java.util.List<org.apache.oro.text.regex.Pattern> inlineImagePatterns)
JSPWikiLinkNodePostProcessor(Context m_context, com.vladsch.flexmark.util.ast.Document document, boolean isImageInlining, java.util.List<org.apache.oro.text.regex.Pattern> inlineImagePatterns)
JSPWikiNodePostProcessorFactory(Context m_context, com.vladsch.flexmark.util.data.DataHolder options, boolean isImageInlining, java.util.List<org.apache.oro.text.regex.Pattern> inlineImagePatterns)
LocalFootnoteLinkNodePostProcessorState(Context wikiContext)
LocalFootnoteRefLinkNodePostProcessorState(Context wikiContext)
LocalLinkNodePostProcessorState(Context wikiContext, boolean isImageInlining, java.util.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 Constructor Description JSPWikiNodeRendererFactory(Context wikiContext)
-
Uses of Context in org.apache.wiki.pages
Methods in org.apache.wiki.pages with parameters of type Context Modifier and Type Method Description void
DefaultPageManager. saveText(Context context, java.lang.String text)
void
PageManager. saveText(Context context, java.lang.String text)
Writes the WikiText of a page into the page repository. -
Uses of Context in org.apache.wiki.parser
Fields in org.apache.wiki.parser declared as Context Modifier and Type Field Description protected Context
MarkupParser. m_context
Methods in org.apache.wiki.parser that return Context Modifier and Type Method Description Context
WikiDocument. getContext()
Returns the wiki context for this document.Methods in org.apache.wiki.parser with parameters of type Context Modifier and Type Method Description void
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.java.lang.String
PluginContent. invoke(Context context)
Performs plugin invocation and return its contents.static PluginContent
PluginContent. parsePluginLine(Context context, java.lang.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 Context Constructor Description JSPWikiMarkupParser(Context context, java.io.Reader in)
Creates a markup parser.LinkParsingOperations(Context wikiContext)
MarkupParser(Context context, java.io.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 Context Modifier and Type Method Description static com.vladsch.flexmark.util.data.MutableDataSet
MarkdownDocument. options(Context context, boolean isImageInlining, java.util.List<org.apache.oro.text.regex.Pattern> inlineImagePatterns)
Configuration options for MarkdownRenderers.Constructors in org.apache.wiki.parser.markdown with parameters of type Context Constructor Description MarkdownParser(Context context, java.io.Reader in)
-
Uses of Context in org.apache.wiki.plugin
Methods in org.apache.wiki.plugin with parameters of type Context Modifier and Type Method Description java.lang.String
BugReportHandler. execute(Context context, java.util.Map<java.lang.String,java.lang.String> params)
This is the main entry point for any plugin.java.lang.String
Counter. execute(Context context, java.util.Map<java.lang.String,java.lang.String> params)
This is the main entry point for any plugin.java.lang.String
CurrentTimePlugin. execute(Context context, java.util.Map<java.lang.String,java.lang.String> params)
This is the main entry point for any plugin.java.lang.String
DefaultPluginManager. execute(Context context, java.lang.String commandline)
Parses a plugin.java.lang.String
DefaultPluginManager. execute(Context context, java.lang.String classname, java.util.Map<java.lang.String,java.lang.String> params)
Executes a plugin class in the given context.java.lang.String
Denounce. execute(Context context, java.util.Map<java.lang.String,java.lang.String> params)
This is the main entry point for any plugin.java.lang.String
Groups. execute(Context context, java.util.Map<java.lang.String,java.lang.String> params)
This is the main entry point for any plugin.java.lang.String
IfPlugin. execute(Context context, java.util.Map<java.lang.String,java.lang.String> params)
This is the main entry point for any plugin.java.lang.String
Image. execute(Context context, java.util.Map<java.lang.String,java.lang.String> params)
This is the main entry point for any plugin.java.lang.String
IndexPlugin. execute(Context context, java.util.Map<java.lang.String,java.lang.String> params)
This is the main entry point for any plugin.java.lang.String
InsertPage. execute(Context context, java.util.Map<java.lang.String,java.lang.String> params)
This is the main entry point for any plugin.java.lang.String
ListLocksPlugin. execute(Context context, java.util.Map<java.lang.String,java.lang.String> params)
This is the main entry point for any plugin.java.lang.String
Note. execute(Context context, java.util.Map<java.lang.String,java.lang.String> params)
This is the main entry point for any plugin.java.lang.String
PageViewPlugin. execute(Context context, java.util.Map<java.lang.String,java.lang.String> params)
This is the main entry point for any plugin.java.lang.String
PageViewPlugin.PageViewManager. execute(Context context, java.util.Map<java.lang.String,java.lang.String> params)
Count a page hit, present a pages' counter or output a list of page counts.java.lang.String
PluginManager. execute(Context context, java.lang.String commandline)
Parses a plugin.java.lang.String
PluginManager. execute(Context context, java.lang.String classname, java.util.Map<java.lang.String,java.lang.String> params)
Executes a plugin class in the given context.java.lang.String
RecentChangesPlugin. execute(Context context, java.util.Map<java.lang.String,java.lang.String> params)
This is the main entry point for any plugin.java.lang.String
ReferredPagesPlugin. execute(Context context, java.util.Map<java.lang.String,java.lang.String> params)
This is the main entry point for any plugin.java.lang.String
ReferringPagesPlugin. execute(Context context, java.util.Map<java.lang.String,java.lang.String> params)
This is the main entry point for any plugin.java.lang.String
ReferringUndefinedPagesPlugin. execute(Context context, java.util.Map<java.lang.String,java.lang.String> params)
java.lang.String
SampleAjaxPlugin. execute(Context context, java.util.Map<java.lang.String,java.lang.String> params)
java.lang.String
Search. execute(Context context, java.util.Map<java.lang.String,java.lang.String> params)
This is the main entry point for any plugin.java.lang.String
SessionsPlugin. execute(Context context, java.util.Map<java.lang.String,java.lang.String> params)
This is the main entry point for any plugin.java.lang.String
TableOfContents. execute(Context context, java.util.Map<java.lang.String,java.lang.String> params)
This is the main entry point for any plugin.java.lang.String
UndefinedPagesPlugin. execute(Context context, java.util.Map<java.lang.String,java.lang.String> params)
This is the main entry point for any plugin.java.lang.String
UnusedPagesPlugin. execute(Context context, java.util.Map<java.lang.String,java.lang.String> params)
This is the main entry point for any plugin.java.lang.String
WeblogArchivePlugin. execute(Context context, java.util.Map<java.lang.String,java.lang.String> params)
This is the main entry point for any plugin.java.lang.String
WeblogEntryPlugin. execute(Context context, java.util.Map<java.lang.String,java.lang.String> params)
This is the main entry point for any plugin.java.lang.String
WeblogPlugin. execute(Context context, java.util.Map<java.lang.String,java.lang.String> params)
This is the main entry point for any plugin.void
WeblogPlugin. executeParser(PluginElement element, Context context, java.util.Map<java.lang.String,java.lang.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
IfPlugin. ifInclude(Context context, java.util.Map<java.lang.String,java.lang.String> params)
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, java.util.Map<java.lang.String,java.lang.String> params)
protected java.lang.String
AbstractReferralPlugin. makeHTML(Context context, java.lang.String wikitext)
Makes HTML with common parameters. -
Uses of Context in org.apache.wiki.preferences
Methods in org.apache.wiki.preferences with parameters of type Context Modifier and Type Method Description static java.util.ResourceBundle
Preferences. getBundle(Context context, java.lang.String bundle)
Locates the i18n ResourceBundle given.static java.text.SimpleDateFormat
Preferences. getDateFormat(Context context, Preferences.TimeFormat tf)
Get SimpleTimeFormat according to user browser locale and preferred time formats.static java.util.Locale
Preferences. getLocale(Context context)
Get Locale according to user-preference settings or the user browser localestatic java.lang.String
Preferences. getPreference(Context wikiContext, java.lang.String name)
Returns a preference value programmatically.static java.lang.String
Preferences. renderDate(Context context, java.util.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 Modifier and Type Method Description void
DefaultReferenceManager. postSave(Context context, java.lang.String content)
After the page has been saved, updates the reference lists. -
Uses of Context in org.apache.wiki.render
Fields in org.apache.wiki.render declared as Context Modifier and Type Field Description protected Context
WikiRenderer. m_context
Methods in org.apache.wiki.render with parameters of type Context Modifier and Type Method Description java.lang.String
DefaultRenderingManager. getHTML(Context context, Page page)
Returns the converted HTML of the page using a different context than the default context.java.lang.String
DefaultRenderingManager. getHTML(Context context, WikiDocument doc)
Simply renders a WikiDocument to a String.default java.lang.String
RenderingManager. getHTML(Context context, java.lang.String pagedata)
Convenience method for rendering, using the default parser and renderer.java.lang.String
RenderingManager. getHTML(Context context, Page page)
Returns the converted HTML of the page using a different context than the default context.java.lang.String
RenderingManager. getHTML(Context context, WikiDocument doc)
Simply renders a WikiDocument to a String.MarkupParser
DefaultRenderingManager. getParser(Context context, java.lang.String pagedata)
Returns the wiki ParserMarkupParser
RenderingManager. getParser(Context context, java.lang.String pagedata)
Returns the wiki ParserWikiDocument
DefaultRenderingManager. getRenderedDocument(Context context, java.lang.String pagedata)
Returns a cached document, if one is found.WikiDocument
RenderingManager. getRenderedDocument(Context context, java.lang.String pagedata)
Returns a cached document, if one is found.WikiRenderer
DefaultRenderingManager. getRenderer(Context context, WikiDocument doc)
Returns a WikiRenderer instance, initialized with the given context and doc.WikiRenderer
RenderingManager. getRenderer(Context context, WikiDocument doc)
Returns a WikiRenderer instance, initialized with the given context and doc.WikiRenderer
DefaultRenderingManager. getWysiwygRenderer(Context context, WikiDocument doc)
Returns a WikiRenderer instance meant for WYSIWYG editing, initialized with the given context and doc.WikiRenderer
RenderingManager. getWysiwygRenderer(Context context, WikiDocument doc)
Returns a WikiRenderer instance meant for WYSIWYG editing, initialized with the given context and doc.java.lang.String
DefaultRenderingManager. textToHTML(Context context, java.lang.String pagedata)
Converts raw page data to HTML.java.lang.String
DefaultRenderingManager. textToHTML(Context context, java.lang.String pagedata, StringTransmutator localLinkHook, StringTransmutator extLinkHook, StringTransmutator attLinkHook, boolean parseAccessRules, boolean justParse)
Helper method for doing the HTML translation.default java.lang.String
RenderingManager. textToHTML(Context context, java.lang.String pagedata, StringTransmutator localLinkHook, StringTransmutator extLinkHook)
Just convert WikiText to HTML.default java.lang.String
RenderingManager. textToHTML(Context context, java.lang.String pagedata, StringTransmutator localLinkHook, StringTransmutator extLinkHook, StringTransmutator attLinkHook)
Just convert WikiText to HTML.java.lang.String
RenderingManager. textToHTML(Context context, java.lang.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 Context Constructor Description CleanTextRenderer(Context context, WikiDocument doc)
Create a renderer.CreoleRenderer(Context ctx, WikiDocument doc)
Creates a new Creole Renderer.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 Constructor Description MarkdownRenderer(Context context, WikiDocument doc)
-
Uses of Context in org.apache.wiki.rss
Fields in org.apache.wiki.rss declared as Context Modifier and Type Field Description protected Context
Feed. m_wikiContext
Methods in org.apache.wiki.rss with parameters of type Context Modifier and Type Method Description java.lang.String
DefaultRSSGenerator. generateBlogRSS(Context wikiContext, java.util.List<Page> changed, Feed feed)
Creates RSS from modifications as if this page was a blog (using the WeblogPlugin).java.lang.String
RSSGenerator. generateBlogRSS(Context wikiContext, java.util.List<Page> changed, Feed feed)
Creates RSS from modifications as if this page was a blog (using the WeblogPlugin).java.lang.String
DefaultRSSGenerator. generateFeed(Context wikiContext, java.util.List<Page> changed, java.lang.String mode, java.lang.String type)
Generates a feed based on a context and list of changes.java.lang.String
RSSGenerator. generateFeed(Context wikiContext, java.util.List<Page> changed, java.lang.String mode, java.lang.String type)
Generates a feed based on a context and list of changes.java.lang.String
DefaultRSSGenerator. generateFullWikiRSS(Context wikiContext, Feed feed)
Generates an RSS feed for the entire wiki.java.lang.String
RSSGenerator. generateFullWikiRSS(Context wikiContext, Feed feed)
Generates an RSS feed for the entire wiki.java.lang.String
DefaultRSSGenerator. generateWikiPageRSS(Context wikiContext, java.util.List<Page> changed, Feed feed)
Create RSS/Atom as if this page was a wikipage (in contrast to Blog mode).java.lang.String
RSSGenerator. generateWikiPageRSS(Context wikiContext, java.util.List<Page> changed, Feed feed)
Create RSS/Atom as if this page was a wikipage (in contrast to Blog mode).static java.lang.String
Feed. getSiteName(Context context)
Figure out a site name for a feed.Constructors in org.apache.wiki.rss with parameters of type Context Constructor Description AtomFeed(Context c)
Create a new AtomFeed for a given WikiContext.Feed(Context context)
Create a new Feed for a particular WikiContext.RSS10Feed(Context context)
Create an RSS 1.0 feed for a given context.RSS20Feed(Context 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 Context Modifier and Type Method Description java.util.Collection<SearchResult>
BasicSearchProvider. findPages(java.lang.String query, Context wikiContext)
Search for pages matching a search query.java.util.List<java.util.Map<java.lang.String,java.lang.Object>>
DefaultSearchManager.JSONSearch. findPages(java.lang.String searchString, int maxLength, Context wikiContext)
Performs a full search of pages.java.util.Collection<SearchResult>
LuceneSearchProvider. findPages(java.lang.String query, int flags, Context wikiContext)
Searches pages using a particular combination of flags.java.util.Collection<SearchResult>
LuceneSearchProvider. findPages(java.lang.String query, Context wikiContext)
Search for pages matching a search query.default java.util.Collection<SearchResult>
SearchManager. findPages(java.lang.String query, Context wikiContext)
Sends a search to the current search provider.java.util.Collection<SearchResult>
SearchProvider. findPages(java.lang.String query, Context wikiContext)
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 Context Modifier and Type Method Description java.util.Collection<SearchResult>
KendraSearchProvider. findPages(java.lang.String query, Context wikiContext)
Search for pages matching a search query. -
Uses of Context in org.apache.wiki.spi
Methods in org.apache.wiki.spi that return Context Modifier and Type Method Description Context
ContextSPIDefaultImpl. create(Engine engine, javax.servlet.http.HttpServletRequest request, java.lang.String requestContext)
Creates a new Context from a supplied HTTP request, using a default wiki context.Context
ContextSPIDefaultImpl. create(Engine engine, javax.servlet.http.HttpServletRequest request, Command command)
Creates a new Context for the given Engine, Command and HttpServletRequest.Context
ContextSPIDefaultImpl. create(Engine engine, javax.servlet.http.HttpServletRequest request, Page page)
Creates a new Context for the given Engine, Page and HttpServletRequest.Context
ContextSPIDefaultImpl. create(Engine engine, Page page)
Create a new Context for the given Page. -
Uses of Context in org.apache.wiki.tags
Fields in org.apache.wiki.tags declared as Context Modifier and Type Field Description protected Context
IteratorTag. m_wikiContext
protected Context
WikiTagBase. m_wikiContext
Methods in org.apache.wiki.tags with parameters of type Context Modifier and Type Method Description static java.lang.String
UserProfileTag. printGroups(Context context)
Returns a sorted list of theGroup
objects a user possesses in his or her Session.static java.lang.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 Modifier and Type Method Description Outcome
SaveUserProfileTask. execute(Context context)
Saves the user profile to the user database. -
Uses of Context in org.apache.wiki.tasks.pages
Methods in org.apache.wiki.tasks.pages with parameters of type Context Modifier and Type Method Description Outcome
PreSaveWikiPageTask. execute(Context context)
Executes the processing for this Step and returns an Outcome indicating if it succeeded (Outcome.STEP_COMPLETE
orOutcome.STEP_ABORT
).Outcome
SaveWikiPageTask. execute(Context context)
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 with parameters of type Context Modifier and Type Method Description static void
TemplateManager. addResourceRequest(Context ctx, java.lang.String type, java.lang.String resource)
Adds a resource request to the current request context.java.lang.String
GenericHTTPHandler. doGet(Context context)
Return basic HTML.java.lang.String
GenericHTTPHandler. doPost(Context context)
Handles a POST response.java.lang.String
DefaultTemplateManager. findResource(Context ctx, java.lang.String template, java.lang.String name)
Attempts to locate a resource under the given template.java.lang.String
TemplateManager. findResource(Context ctx, java.lang.String template, java.lang.String name)
Attempts to locate a resource under the given template.java.lang.String
DefaultEditorManager. getEditorName(Context context)
Returns an editor for the current context.java.lang.String
EditorManager. getEditorName(Context context)
Returns an editor for the current context.java.lang.String
DefaultEditorManager. getEditorPath(Context context)
Convenience method for getting the path to the editor JSP file.java.lang.String
EditorManager. getEditorPath(Context context)
Convenience method for getting the path to the editor JSP file.static java.lang.String
TemplateManager. getJSLocalizedStrings(Context context)
Extract all i18n strings in the javascript domain.static java.lang.String
TemplateManager. getMarker(Context context, java.lang.String type)
Returns the include resources marker for a given type.static java.lang.String[]
TemplateManager. getResourceRequests(Context ctx, java.lang.String type)
Returns resource requests for a particular type.static java.lang.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 Constructor Description Editor(Context wikiContext, java.lang.String editorName)
InputValidator(java.lang.String form, Context context)
Constructs a new input validator for a specific form and wiki session. -
Uses of Context in org.apache.wiki.ui.admin
Methods in org.apache.wiki.ui.admin with parameters of type Context Modifier and Type Method Description java.lang.String
SimpleAdminBean. doGet(Context context)
By default, this method creates a blob of HTML, listing all the attributes which can be read or written to.java.lang.String
WikiFormAdminBean. doGet(Context context)
java.lang.String
SimpleAdminBean. doPost(Context context)
Not implemented yet.abstract java.lang.String
WikiFormAdminBean. getForm(Context context)
java.lang.String
WikiFormAdminBean. handlePost(Context context, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
abstract void
WikiFormAdminBean. handleResponse(Context context, java.util.Map<?,?> params)
-
Uses of Context in org.apache.wiki.ui.admin.beans
Methods in org.apache.wiki.ui.admin.beans with parameters of type Context Modifier and Type Method Description java.lang.String
ModuleBean. doGet(Context context)
By default, this method creates a blob of HTML, listing all the attributes which can be read or written to.java.lang.String
PlainEditorAdminBean. doGet(Context context)
java.lang.String
SearchManagerBean. doGet(Context context)
java.lang.String
PlainEditorAdminBean. doPost(Context context)
java.lang.String
SearchManagerBean. doPost(Context context)
java.lang.String
UserBean. doPost(Context context)
-
Uses of Context in org.apache.wiki.variables
Methods in org.apache.wiki.variables with parameters of type Context Modifier and Type Method Description java.lang.String
DefaultVariableManager. expandVariables(Context context, java.lang.String source)
This method does in-place expansion of any variables.java.lang.String
VariableManager. expandVariables(Context context, java.lang.String source)
This method does in-place expansion of any variables.java.lang.String
DefaultVariableManager. getValue(Context context, java.lang.String varName)
Returns a value of the named variable.java.lang.String
DefaultVariableManager. getValue(Context context, java.lang.String varName, java.lang.String defValue)
Returns the value of a named variable.java.lang.String
VariableManager. getValue(Context context, java.lang.String varName)
Returns a value of the named variable.java.lang.String
VariableManager. getValue(Context context, java.lang.String varName, java.lang.String defValue)
Returns the value of a named variable.java.lang.String
DefaultVariableManager. getVariable(Context context, java.lang.String name)
Shortcut to getValue().java.lang.String
VariableManager. getVariable(Context context, java.lang.String name)
Shortcut to getValue().java.lang.String
DefaultVariableManager. parseAndGetValue(Context context, java.lang.String link)
Parses the link and finds a value.java.lang.String
VariableManager. parseAndGetValue(Context context, java.lang.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 Context Modifier and Type Method Description void
Workflow. abort(Context context)
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
Decision. decide(Outcome outcome, Context context)
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
DecisionQueue. decide(Decision decision, Outcome outcome, Context context)
Attempts to complete a Decision by callingDecision.decide(Outcome, Context)
.abstract Outcome
AbstractStep. execute(Context ctx)
Executes the processing for this Step and returns an Outcome indicating if it succeeded (Outcome.STEP_COMPLETE
orOutcome.STEP_ABORT
).Outcome
Decision. execute(Context context)
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.Outcome
Step. execute(Context ctx)
Executes the processing for this Step and returns an Outcome indicating if it succeeded (Outcome.STEP_COMPLETE
orOutcome.STEP_ABORT
).protected void
Workflow. processCurrentStep(Context context)
Protected method that processes the current Step by callingStep.execute( Context )
.protected void
DefaultWorkflowManager. removeFromDecisionQueue(Decision decision, Context context)
void
Workflow. restart(Context context)
Restarts the Workflow from theWorkflow.WAITING
state and puts it into theWorkflow.RUNNING
state again.void
Workflow. start(Context context)
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 Context Modifier and Type Field Description protected Context
AbstractRPCHandler. m_context
Methods in org.apache.wiki.xmlrpc with parameters of type Context Modifier and Type Method Description void
AbstractRPCHandler. initialize(Context context)
void
MetaWeblogHandler. initialize(Context context)
void
WikiRPCHandler. initialize(Context context)
-