|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.form.web.FormApp
public class FormApp
This class manages Form page.
| Field Summary | |
|---|---|
static String |
PARAMETER_ID_FORM
Parameter 'id_form' |
| Constructor Summary | |
|---|---|
FormApp()
|
|
| Method Summary | |
|---|---|
static String |
doCleanFormAnswers(javax.servlet.http.HttpServletRequest request)
Do clean responses of a form |
List<fr.paris.lutece.plugins.genericattributes.business.GenericAttributeError> |
doInsertResponseInFormSubmit(javax.servlet.http.HttpServletRequest request,
FormSubmit formSubmit,
boolean bReturnErrors,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert response in the form submit |
void |
doPerformFormSubmit(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpSession session,
FormSubmit formSubmit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
perform the form submit in database |
String |
doRemoveAsynchronousUploadedFile(javax.servlet.http.HttpServletRequest request)
Removes the uploaded fileItem |
fr.paris.lutece.portal.web.xpages.XPage |
getPage(javax.servlet.http.HttpServletRequest request,
int nMode,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns the Form XPage result content depending on the request parameters and the current mode. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String PARAMETER_ID_FORM
| Constructor Detail |
|---|
public FormApp()
| Method Detail |
|---|
public fr.paris.lutece.portal.web.xpages.XPage getPage(javax.servlet.http.HttpServletRequest request,
int nMode,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
throws fr.paris.lutece.portal.service.message.SiteMessageException,
fr.paris.lutece.portal.service.security.UserNotSignedException
getPage in interface fr.paris.lutece.portal.web.xpages.XPageApplicationrequest - The HTTP request.nMode - The current mode.plugin - The Plugin
fr.paris.lutece.portal.service.message.SiteMessageException - the SiteMessageException
fr.paris.lutece.portal.service.security.UserNotSignedException - If the user has not signed and the form
has a entry of type MyLutece user.
public List<fr.paris.lutece.plugins.genericattributes.business.GenericAttributeError> doInsertResponseInFormSubmit(javax.servlet.http.HttpServletRequest request,
FormSubmit formSubmit,
boolean bReturnErrors,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
request - request The HTTP requestformSubmit - Form SubmitbReturnErrors - true if errors must be returnedplugin - the Plugin
public void doPerformFormSubmit(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpSession session,
FormSubmit formSubmit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
throws fr.paris.lutece.portal.service.message.SiteMessageException
request - The HTTP requestsession - the http sessionformSubmit - Form Submitplugin - the Plugin
fr.paris.lutece.portal.service.message.SiteMessageException - SiteMessageExceptionpublic String doRemoveAsynchronousUploadedFile(javax.servlet.http.HttpServletRequest request)
request - the request
public static String doCleanFormAnswers(javax.servlet.http.HttpServletRequest request)
request - The request
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||