com.xpn.xwiki.web
Class ObjectAddForm

java.lang.Object
  extended by org.apache.struts.action.ActionForm
      extended by com.xpn.xwiki.web.XWikiForm
          extended by com.xpn.xwiki.web.ObjectAddForm
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ObjectRemoveForm

public class ObjectAddForm
extends XWikiForm

Note: We store the class name as a String and not a Document Reference since Struts Form beans are called before there's an Execution Context available and before there's a current document in the Execution Context. This bean should be considered only as a helper placeholder for getting parameters from the HTTP Request.

Version:
$Id: 609664ea1edf6baf8199fa5bb5456ec7cae7da00 $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
ObjectAddForm()
           
 
Method Summary
 String getClassName()
           
 Map<String,String[]> getObject(String prefix)
           
 void readRequest()
           
 void setClassName(String className)
           
 
Methods inherited from class com.xpn.xwiki.web.XWikiForm
getRequest, reset, reset, setRequest
 
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectAddForm

public ObjectAddForm()
Method Detail

getClassName

public String getClassName()

setClassName

public void setClassName(String className)

readRequest

public void readRequest()
Specified by:
readRequest in class XWikiForm

getObject

public Map<String,String[]> getObject(String prefix)


Copyright © 2004–2014 XWiki. All rights reserved.