fr.paris.lutece.plugins.form.web
Class FormJspBean

java.lang.Object
  extended by fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
      extended by fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
          extended by fr.paris.lutece.plugins.form.web.FormJspBean

public class FormJspBean
extends fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean

This class provides the user interface to manage form features ( manage, create, modify, remove)


Field Summary
static java.lang.String RIGHT_MANAGE_FORM
           
 
Constructor Summary
FormJspBean()
           
 
Method Summary
 java.lang.String doCopyEntry(javax.servlet.http.HttpServletRequest request)
          copy the entry whose key is specified in the Http request
 java.lang.String doCopyForm(javax.servlet.http.HttpServletRequest request)
          copy the form whose key is specified in the Http request
 java.lang.String doCreateEntry(javax.servlet.http.HttpServletRequest request)
          Perform the entry creation
 java.lang.String doCreateField(javax.servlet.http.HttpServletRequest request)
          Perform creation field
 java.lang.String doCreateForm(javax.servlet.http.HttpServletRequest request)
          Perform the form creation
 java.lang.String doDisableForm(javax.servlet.http.HttpServletRequest request)
          Perform disable form
 java.lang.String doEnableForm(javax.servlet.http.HttpServletRequest request)
          Perform enable form
 java.lang.String doInsertRegularExpression(javax.servlet.http.HttpServletRequest request)
          insert association between field and regular expression
 java.lang.String doModifyEntry(javax.servlet.http.HttpServletRequest request)
          Perform the entry modification
 java.lang.String doModifyField(javax.servlet.http.HttpServletRequest request)
          Perform modification field
 java.lang.String doModifyForm(javax.servlet.http.HttpServletRequest request)
          Perform the form modification
 java.lang.String doModifyRecap(javax.servlet.http.HttpServletRequest request)
          Perform the recap form modification
 java.lang.String doMoveDownEntry(javax.servlet.http.HttpServletRequest request)
          Move down the entry
 java.lang.String doMoveDownField(javax.servlet.http.HttpServletRequest request)
          Move down the field
 java.lang.String doMoveEntry(javax.servlet.http.HttpServletRequest request)
          Move the entry in the questions group specified in parameter
 java.lang.String doMoveOutEntry(javax.servlet.http.HttpServletRequest request)
          Move out the entry
 java.lang.String doMoveUpEntry(javax.servlet.http.HttpServletRequest request)
          Move up the entry
 java.lang.String doMoveUpField(javax.servlet.http.HttpServletRequest request)
          Move up the field
 java.lang.String doRemoveEntry(javax.servlet.http.HttpServletRequest request)
          Perform the entry supression
 java.lang.String doRemoveField(javax.servlet.http.HttpServletRequest request)
          Perform suppression field
 java.lang.String doRemoveForm(javax.servlet.http.HttpServletRequest request)
          Perform the form supression
 java.lang.String doRemoveRegularExpression(javax.servlet.http.HttpServletRequest request)
          Delete association between field and regular expression
 java.lang.String doTestForm(javax.servlet.http.HttpServletRequest request)
          return the html code of the form
 java.lang.String getConfirmDisableForm(javax.servlet.http.HttpServletRequest request)
          Gets the confirmation page of disable form
 java.lang.String getConfirmRemoveEntry(javax.servlet.http.HttpServletRequest request)
          Gets the confirmation page of delete entry
 java.lang.String getConfirmRemoveField(javax.servlet.http.HttpServletRequest request)
          Gets the confirmation page of delete field
 java.lang.String getConfirmRemoveForm(javax.servlet.http.HttpServletRequest request)
          Gets the confirmation page of delete form
 java.lang.String getCreateEntry(javax.servlet.http.HttpServletRequest request)
          Gets the entry creation page
 java.lang.String getCreateField(javax.servlet.http.HttpServletRequest request)
          Gets the field creation page
 java.lang.String getCreateForm(javax.servlet.http.HttpServletRequest request)
          Gets the form creation page
 java.lang.String getHtmlForm(javax.servlet.http.HttpServletRequest request)
          return the html code of the form
 java.lang.String getManageForm(javax.servlet.http.HttpServletRequest request)
          Return management Form ( list of form )
 java.lang.String getModifyEntry(javax.servlet.http.HttpServletRequest request)
          Gets the entry modification page
 java.lang.String getModifyField(javax.servlet.http.HttpServletRequest request, boolean bWithConditionalQuestion)
          Gets the field modification page
 java.lang.String getModifyForm(javax.servlet.http.HttpServletRequest request)
          Gets the form modification page
 java.lang.String getModifyRecap(javax.servlet.http.HttpServletRequest request)
          Gets the form recap modification page
 java.lang.String getMoveEntry(javax.servlet.http.HttpServletRequest request)
          Gets the list of questions group
 
Methods inherited from class fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
getPlugin, init
 
Methods inherited from class fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
getAdminPage, getFeatureIcon, getHomeUrl, getLocale, getPageTitle, getUser, setFeatureIcon, setPageTitleProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RIGHT_MANAGE_FORM

public static final java.lang.String RIGHT_MANAGE_FORM
See Also:
Constant Field Values
Constructor Detail

FormJspBean

public FormJspBean()
Method Detail

getManageForm

public java.lang.String getManageForm(javax.servlet.http.HttpServletRequest request)
Return management Form ( list of form )

Parameters:
request - The Http request
Returns:
Html form

getCreateForm

public java.lang.String getCreateForm(javax.servlet.http.HttpServletRequest request)
Gets the form creation page

Parameters:
request - The HTTP request
Returns:
The form creation page

doCreateForm

public java.lang.String doCreateForm(javax.servlet.http.HttpServletRequest request)
Perform the form creation

Parameters:
request - The HTTP request
Returns:
The URL to go after performing the action

getModifyForm

public java.lang.String getModifyForm(javax.servlet.http.HttpServletRequest request)
Gets the form modification page

Parameters:
request - The HTTP request
Returns:
The form modification page

doModifyForm

public java.lang.String doModifyForm(javax.servlet.http.HttpServletRequest request)
Perform the form modification

Parameters:
request - The HTTP request
Returns:
The URL to go after performing the action

getConfirmRemoveForm

public java.lang.String getConfirmRemoveForm(javax.servlet.http.HttpServletRequest request)
Gets the confirmation page of delete form

Parameters:
request - The HTTP request
Returns:
the confirmation page of delete form

doRemoveForm

public java.lang.String doRemoveForm(javax.servlet.http.HttpServletRequest request)
Perform the form supression

Parameters:
request - The HTTP request
Returns:
The URL to go after performing the action

doCopyForm

public java.lang.String doCopyForm(javax.servlet.http.HttpServletRequest request)
copy the form whose key is specified in the Http request

Parameters:
request - The HTTP request
Returns:
The URL to go after performing the action

getModifyRecap

public java.lang.String getModifyRecap(javax.servlet.http.HttpServletRequest request)
Gets the form recap modification page

Parameters:
request - The HTTP request
Returns:
the form recap modification page

doModifyRecap

public java.lang.String doModifyRecap(javax.servlet.http.HttpServletRequest request)
Perform the recap form modification

Parameters:
request - The HTTP request
Returns:
The URL to go after performing the action

getCreateEntry

public java.lang.String getCreateEntry(javax.servlet.http.HttpServletRequest request)
Gets the entry creation page

Parameters:
request - The HTTP request
Returns:
The entry creation page

doCreateEntry

public java.lang.String doCreateEntry(javax.servlet.http.HttpServletRequest request)
Perform the entry creation

Parameters:
request - The HTTP request
Returns:
The URL to go after performing the action

getModifyEntry

public java.lang.String getModifyEntry(javax.servlet.http.HttpServletRequest request)
Gets the entry modification page

Parameters:
request - The HTTP request
Returns:
The entry modification page

doModifyEntry

public java.lang.String doModifyEntry(javax.servlet.http.HttpServletRequest request)
Perform the entry modification

Parameters:
request - The HTTP request
Returns:
The URL to go after performing the action

getConfirmRemoveEntry

public java.lang.String getConfirmRemoveEntry(javax.servlet.http.HttpServletRequest request)
Gets the confirmation page of delete entry

Parameters:
request - The HTTP request
Returns:
the confirmation page of delete entry

doRemoveEntry

public java.lang.String doRemoveEntry(javax.servlet.http.HttpServletRequest request)
Perform the entry supression

Parameters:
request - The HTTP request
Returns:
The URL to go after performing the action

doCopyEntry

public java.lang.String doCopyEntry(javax.servlet.http.HttpServletRequest request)
copy the entry whose key is specified in the Http request

Parameters:
request - The HTTP request
Returns:
The URL to go after performing the action

getMoveEntry

public java.lang.String getMoveEntry(javax.servlet.http.HttpServletRequest request)
Gets the list of questions group

Parameters:
request - The HTTP request
Returns:
the list of questions group

doMoveEntry

public java.lang.String doMoveEntry(javax.servlet.http.HttpServletRequest request)
Move the entry in the questions group specified in parameter

Parameters:
request - The HTTP request
Returns:
The URL to go after performing the action

doMoveUpEntry

public java.lang.String doMoveUpEntry(javax.servlet.http.HttpServletRequest request)
Move up the entry

Parameters:
request - The HTTP request
Returns:
The URL to go after performing the action

doMoveDownEntry

public java.lang.String doMoveDownEntry(javax.servlet.http.HttpServletRequest request)
Move down the entry

Parameters:
request - The HTTP request
Returns:
The URL to go after performing the action

doMoveOutEntry

public java.lang.String doMoveOutEntry(javax.servlet.http.HttpServletRequest request)
Move out the entry

Parameters:
request - The HTTP request
Returns:
The URL to go after performing the action

getConfirmDisableForm

public java.lang.String getConfirmDisableForm(javax.servlet.http.HttpServletRequest request)
Gets the confirmation page of disable form

Parameters:
request - The HTTP request
Returns:
the confirmation page of disable form

doDisableForm

public java.lang.String doDisableForm(javax.servlet.http.HttpServletRequest request)
Perform disable form

Parameters:
request - The HTTP request
Returns:
The URL to go after performing the action

doEnableForm

public java.lang.String doEnableForm(javax.servlet.http.HttpServletRequest request)
Perform enable form

Parameters:
request - The HTTP request
Returns:
The URL to go after performing the action

getCreateField

public java.lang.String getCreateField(javax.servlet.http.HttpServletRequest request)
Gets the field creation page

Parameters:
request - The HTTP request
Returns:
the field creation page

getModifyField

public java.lang.String getModifyField(javax.servlet.http.HttpServletRequest request,
                                       boolean bWithConditionalQuestion)
Gets the field modification page

Parameters:
request - The HTTP request
bWithConditionalQuestion - true if the field is associate to conditionals questions
Returns:
the field modification page

doCreateField

public java.lang.String doCreateField(javax.servlet.http.HttpServletRequest request)
Perform creation field

Parameters:
request - The HTTP request
Returns:
The URL to go after performing the action

doModifyField

public java.lang.String doModifyField(javax.servlet.http.HttpServletRequest request)
Perform modification field

Parameters:
request - The HTTP request
Returns:
The URL to go after performing the action

getConfirmRemoveField

public java.lang.String getConfirmRemoveField(javax.servlet.http.HttpServletRequest request)
Gets the confirmation page of delete field

Parameters:
request - The HTTP request
Returns:
the confirmation page of delete field

doRemoveField

public java.lang.String doRemoveField(javax.servlet.http.HttpServletRequest request)
Perform suppression field

Parameters:
request - The HTTP request
Returns:
The URL to go after performing the action

doMoveUpField

public java.lang.String doMoveUpField(javax.servlet.http.HttpServletRequest request)
Move up the field

Parameters:
request - The HTTP request
Returns:
The URL to go after performing the action

doMoveDownField

public java.lang.String doMoveDownField(javax.servlet.http.HttpServletRequest request)
Move down the field

Parameters:
request - The HTTP request
Returns:
The URL to go after performing the action

doRemoveRegularExpression

public java.lang.String doRemoveRegularExpression(javax.servlet.http.HttpServletRequest request)
Delete association between field and regular expression

Parameters:
request - the Http Request
Returns:
The URL to go after performing the action

doInsertRegularExpression

public java.lang.String doInsertRegularExpression(javax.servlet.http.HttpServletRequest request)
insert association between field and regular expression

Parameters:
request - the Http Request
Returns:
The URL to go after performing the action

getHtmlForm

public java.lang.String getHtmlForm(javax.servlet.http.HttpServletRequest request)
return the html code of the form

Parameters:
request - the http request
Returns:
the html code of the form

doTestForm

public java.lang.String doTestForm(javax.servlet.http.HttpServletRequest request)
return the html code of the form

Parameters:
request - the http request
Returns:
the html code of the form


Copyright © 2007 Mairie de Paris. All Rights Reserved.