org.ceryle.wiki.handler
Class NewPageHandler

java.lang.Object
  extended by org.ceryle.wiki.handler.NewPageHandler
All Implemented Interfaces:
FormHandler, WikiPlugin
Direct Known Subclasses:
UniqueIdHandler

public class NewPageHandler
extends Object
implements FormHandler, WikiPlugin

Creates a new page using the information provided by a form.

Required parameters are:

Optional parameters are:

Author:
John Volkar (john.volkar at gmail.com)

Field Summary
static String PARAM_AUTO_INCREMENT
           
static String PARAM_NEW_PAGE_NAME
           
static String PARAM_NEW_PAGE_NAME_PREFIX
           
static String PARAM_OVERWRITE
           
 
Fields inherited from interface com.ecyrd.jspwiki.plugin.WikiPlugin
CORE_PLUGINS_RESOURCEBUNDLE
 
Constructor Summary
NewPageHandler()
           
 
Method Summary
 String execute(WikiContext context, Map params)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PARAM_NEW_PAGE_NAME

public static final String PARAM_NEW_PAGE_NAME
See Also:
Constant Field Values

PARAM_NEW_PAGE_NAME_PREFIX

public static final String PARAM_NEW_PAGE_NAME_PREFIX
See Also:
Constant Field Values

PARAM_AUTO_INCREMENT

public static final String PARAM_AUTO_INCREMENT
See Also:
Constant Field Values

PARAM_OVERWRITE

public static final String PARAM_OVERWRITE
See Also:
Constant Field Values
Constructor Detail

NewPageHandler

public NewPageHandler()
Method Detail

execute

public String execute(WikiContext context,
                      Map params)
               throws PluginException
Specified by:
execute in interface WikiPlugin
Throws:
PluginException


The Ceryle Project. Copyright ©2001-2007 Murray Altheim, All Rights Reserved. See LICENSE included with distribution.