Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
184 lines (145 sloc) 7.85 KB
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# This file contains defaults for development. If you are cross-
# developing in multiple environments, just change the defaults
# in this file.
# Any changes in this file will be reflected in the default
# when it is run.
1. JSPWiki API
The package aims to provide an API to extend JSPWiki. As for 2.10.x, it's still unfinished,
with work still in progress.
1.1. API modules
-> new package, which should compile without depending on other packages
-> new package with copies of the original Exceptions declared by
the API methods
* moved o.a.w.NoRequiredPropertyException to o.a.w.api.exceptions.NoRequiredPropertyException
* moved o.a.w.NoSuchVariableException to o.a.w.api.exceptions.NoSuchVariableException
* moved o.a.w.filters.FilterException to o.a.w.api.exceptions.FilterException
* moved o.a.w.filters.RedirectException to o.a.w.api.exceptions.RedirectException
* moved o.a.w.plugin.PluginException to o.a.w.api.exceptions.PluginException
* moved o.a.w.providers.ProviderException to o.a.w.api.exceptions.ProviderException
-> Interface and base classes needed to develop WikiFilters
-> cfr. with
-> Interfaces needed to develop WikiPlugins
-> cfr. with
1.2. Other classes affected
-> all classes / methods anotated with @Deprecated because of the API changes will be removed
in 2.10 timeframe
-> getActiveLocks() returns List<PageLock> instead of List (internally it was returning List<PageLock> anyway)
-> moved to package
-> moved to
-> moved to package
-> moved to package
-> moved to package
-> moved to package
-> removed WikiContext.getBundle( String ) in favour of Preferences.getBundle( String )
-> removed WikiContext.getLocale( WikiContext ) in favour of Preferences.getLocale( WikiContext )
-> removed WikiContext.hasAccess( HttpServletResponse ) in favour of
AuthorizationManager.hasAccess( HttpServletResponse )
-> removed WikiContext.hasAccess( HttpServletResponse, boolean ) in favour of
AuthorizationManager.hasAccess( HttpServletResponse, boolean )
-> removed WikiEngine.getRequiredProperty( props, key ) in favour of
TextUtil.getRequiredProperty( props, key )
-> moved WikiEngine.getPluginSearchPath() to PluginManager.getPluginSearchPath() and
-> moved to and respectively
-> removed getWorkflow() in favour of the generified WikiEvent#getSrc()
-> new interface
-> moved to
-> WikiEngine.getFilterManager returns
-> moved to new class
-> moved to new interface
-> all core wikifilters implementing the "old" interface now implement the new one
-> moved method public static Collection getImagePatterns( WikiEngine ) to
-> getParameter returns String instead of Object ( internally, it was returning a String )
-> gains executeParse( WikiContext ), moved from o.a.w.p.PluginManager
-> gains PluginContent.executeParseLine( WikiContext, String, int ), moved from o.a.w.p.PluginManager
-> moved to
-> new interface
-> removed public static boolean isPluginLink( String link )
* equivalent method on
-> removed public void executeParse( PluginContent content, WikiContext context )
* consider using PluginContent.executeParse( WikiContext ) instead
-> removed parsePluginLine( WikiContext, String, int )
* consider using PluginContent.executeParseLine( WikiContext, String, int ) instead
-> added public Pattern getPluginPattern(), which is part of the API
-> WikiPlugin newWikiPlugin( String pluginName, ResourceBundle rb ) is now public
and part of the API
-> WikiEngine.getPluginManager returns
-> obtained PluginManager.getPluginSearchPath() from WikiEngine.getPluginSearchPath()
-> moved to new interface
-> all core wikiplugins and wikiforms implementing the "old" interface now implement the new one
-> moved to new interface
-> all core wikiplugins and wikiforms implementing the "old" interface now implement the new one
-> moved to new interface
-> all core wikiplugins and wikiforms implement the new interface
-> receives static method getSiteName() from o.a.w.util.BlogUtil
-> moved to new interface
-> new interface
-> public static int getTypeFromString( String type ) not static anymore
-> removed; its only method is moved to o.a.w.rss.Feed#getSiteName()
-> HttpUtil.createETag and HttpUtil.checkFor304 now receive String name, Date lastModified instead of WikiPage
-> use wikipage.getName(), wikipage.getLastModified() to pass the appropiate objects
-> sendMessage(WikiEngine, String, String, String) changed to sendMessage(Properties, String, String, String)
-> use WikiEngine.getWikiProperties() to pass the appropiate object
-> moved to o.a.w.PageSorter
-> moved to o.a.w.providers
-> moved to package
-> moved to package
-> moved to package