fr.paris.lutece.plugins.crm.web.category
Class CategoryJspBean

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.crm.web.category.CategoryJspBean

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

CategoryJspBean


Constructor Summary
CategoryJspBean()
           
 
Method Summary
 java.lang.String doCreateCategory(javax.servlet.http.HttpServletRequest request)
          Process the data capture form of a new category
 java.lang.String doModifyCategory(javax.servlet.http.HttpServletRequest request)
          Process the change form of a category
 java.lang.String doRemoveCategory(javax.servlet.http.HttpServletRequest request)
          Handles the removal form of a category
 java.lang.String getConfirmRemoveCategory(javax.servlet.http.HttpServletRequest request)
          Manages the removal form of a category whose identifier is in the http request
 java.lang.String getCreateCategory(javax.servlet.http.HttpServletRequest request)
          Returns the form to create a category
 java.lang.String getManageCategories(javax.servlet.http.HttpServletRequest request)
          Returns the list of categories
 java.lang.String getModifyCategory(javax.servlet.http.HttpServletRequest request)
          Returns the form to update info about a category
 
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
 

Constructor Detail

CategoryJspBean

public CategoryJspBean()
Method Detail

getManageCategories

public java.lang.String getManageCategories(javax.servlet.http.HttpServletRequest request)
Returns the list of categories

Parameters:
request - The Http request
Returns:
the categorys list

getCreateCategory

public java.lang.String getCreateCategory(javax.servlet.http.HttpServletRequest request)
Returns the form to create a category

Parameters:
request - The Http request
Returns:
the html code of the category form

doCreateCategory

public java.lang.String doCreateCategory(javax.servlet.http.HttpServletRequest request)
Process the data capture form of a new category

Parameters:
request - The Http Request
Returns:
The Jsp URL of the process result

getConfirmRemoveCategory

public java.lang.String getConfirmRemoveCategory(javax.servlet.http.HttpServletRequest request)
Manages the removal form of a category whose identifier is in the http request

Parameters:
request - The Http request
Returns:
the html code to confirm

doRemoveCategory

public java.lang.String doRemoveCategory(javax.servlet.http.HttpServletRequest request)
Handles the removal form of a category

Parameters:
request - The Http request
Returns:
the jsp URL to display the form to manage categorys

getModifyCategory

public java.lang.String getModifyCategory(javax.servlet.http.HttpServletRequest request)
Returns the form to update info about a category

Parameters:
request - The Http request
Returns:
The HTML form to update info

doModifyCategory

public java.lang.String doModifyCategory(javax.servlet.http.HttpServletRequest request)
Process the change form of a category

Parameters:
request - The Http request
Returns:
The Jsp URL of the process result


Copyright © 2011 Mairie de Paris. All Rights Reserved.