fr.paris.lutece.plugins.graphite.web
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.portal.util.mvc.admin.MVCAdminJspBean
              extended by fr.paris.lutece.plugins.graphite.web.ManageGraphJspBean
                  extended by fr.paris.lutece.plugins.graphite.web.CategoryJspBean
All Implemented Interfaces:
Serializable

@Controller(controllerJsp="ManageCategorys.jsp",
            controllerPath="jsp/admin/plugins/graphite/",
            right="GRAPHITE_MANAGEMENT")
public class CategoryJspBean
extends ManageGraphJspBean

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

See Also:
Serialized Form

Field Summary
 
Fields inherited from class fr.paris.lutece.plugins.graphite.web.ManageGraphJspBean
_nDefaultItemsPerPage, _nItemsPerPage, _strCurrentPageIndex, MARK_NB_ITEMS_PER_PAGE, MARK_PAGINATOR, PARAMETER_PAGE_INDEX, RIGHT_MANAGEGRAPH
 
Constructor Summary
CategoryJspBean()
           
 
Method Summary
 String doCreateCategory(javax.servlet.http.HttpServletRequest request)
          Process the data capture form of a new category
 String doModifyCategory(javax.servlet.http.HttpServletRequest request)
          Process the change form of a category
 String doRemoveCategory(javax.servlet.http.HttpServletRequest request)
          Handles the removal form of a category
 fr.paris.lutece.util.ReferenceList getComboRoles()
          Returns the roles
 fr.paris.lutece.util.ReferenceList getComboWorkGroups()
          Returns the WorkGroups
 String getConfirmRemoveCategory(javax.servlet.http.HttpServletRequest request)
          Manages the removal form of a category whose identifier is in the http request
 String getCreateCategory(javax.servlet.http.HttpServletRequest request)
          Returns the form to create a category
 String getManageCategorys(javax.servlet.http.HttpServletRequest request)
           
 String getModifyCategory(javax.servlet.http.HttpServletRequest request)
          Returns the form to update info about a category
 
Methods inherited from class fr.paris.lutece.portal.util.mvc.admin.MVCAdminJspBean
addError, addError, addInfo, addInfo, fillCommons, getActionUrl, getControllerJsp, getControllerPath, getModel, getPage, getPage, getPage, getViewFullUrl, getViewUrl, processController, redirect, redirect, redirect, redirect, redirectView, validateBean
 
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, populate, setFeatureIcon, setPageTitleProperty, validate, validate, validate
 
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

getManageCategorys

@View(value="manageCategorys",
      defaultView=true)
public String getManageCategorys(javax.servlet.http.HttpServletRequest request)

getCreateCategory

@View(value="createCategory")
public 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

@Action(value="createCategory")
public 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

@Action(value="confirmRemoveCategory")
public 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

@Action(value="removeCategory")
public 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

@View(value="modifyCategory")
public 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

@Action(value="modifyCategory")
public 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

getComboRoles

public fr.paris.lutece.util.ReferenceList getComboRoles()
Returns the roles

Returns:
The roles

getComboWorkGroups

public fr.paris.lutece.util.ReferenceList getComboWorkGroups()
Returns the WorkGroups

Returns:
The WorkGroups


Copyright © 2014 Mairie de Paris. All Rights Reserved.