fr.paris.lutece.plugins.graphite.web
Class GraphJspBean

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.GraphJspBean
All Implemented Interfaces:
Serializable

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

This class provides the user interface to manage Graph 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
GraphJspBean()
           
 
Method Summary
 String doCreateGraph(javax.servlet.http.HttpServletRequest request)
          Process the data capture form of a new graph
 String doModifyGraph(javax.servlet.http.HttpServletRequest request)
          Process the change form of a graph
 String doRemoveGraph(javax.servlet.http.HttpServletRequest request)
          Handles the removal form of a graph
static fr.paris.lutece.util.ReferenceList getComboCategories()
          Returns a referenceList of the categories
 String getConfirmRemoveGraph(javax.servlet.http.HttpServletRequest request)
          Manages the removal form of a graph whose identifier is in the http request
 String getCreateGraph(javax.servlet.http.HttpServletRequest request)
          Returns the form to create a graph
 String getManageGraphs(javax.servlet.http.HttpServletRequest request)
           
 String getModifyGraph(javax.servlet.http.HttpServletRequest request)
          Returns the form to update info about a graph
 
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

GraphJspBean

public GraphJspBean()
Method Detail

getManageGraphs

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

getCreateGraph

@View(value="createGraph")
public String getCreateGraph(javax.servlet.http.HttpServletRequest request)
Returns the form to create a graph

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

doCreateGraph

@Action(value="createGraph")
public String doCreateGraph(javax.servlet.http.HttpServletRequest request)
Process the data capture form of a new graph

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

getConfirmRemoveGraph

@Action(value="confirmRemoveGraph")
public String getConfirmRemoveGraph(javax.servlet.http.HttpServletRequest request)
Manages the removal form of a graph whose identifier is in the http request

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

doRemoveGraph

@Action(value="removeGraph")
public String doRemoveGraph(javax.servlet.http.HttpServletRequest request)
Handles the removal form of a graph

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

getModifyGraph

@View(value="modifyGraph")
public String getModifyGraph(javax.servlet.http.HttpServletRequest request)
Returns the form to update info about a graph

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

doModifyGraph

@Action(value="modifyGraph")
public String doModifyGraph(javax.servlet.http.HttpServletRequest request)
Process the change form of a graph

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

getComboCategories

public static fr.paris.lutece.util.ReferenceList getComboCategories()
Returns a referenceList of the categories

Returns:
a referenceList of the categories


Copyright © 2014 Mairie de Paris. All Rights Reserved.