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

java.lang.Object
  extended by fr.paris.lutece.portal.util.mvc.xpage.MVCApplication
      extended by fr.paris.lutece.plugins.graphite.web.Graphite
All Implemented Interfaces:
fr.paris.lutece.portal.web.xpages.XPageApplication, Serializable

@Controller(xpageName="graphite",
            pageTitleProperty="graphite.pageTitle",
            pagePathProperty="graphite.pagePathLabel")
public class Graphite
extends fr.paris.lutece.portal.util.mvc.xpage.MVCApplication

This class provides a simple implementation of an XPage

See Also:
Serialized Form

Constructor Summary
Graphite()
           
 
Method Summary
 List<Category> getAuthorizedCategory(javax.servlet.http.HttpServletRequest request)
          Returns the Authorized Collection
 List<Category> getComboCategories()
          Returns the categories
 boolean isAuthorized(javax.servlet.http.HttpServletRequest request, Category category)
          Returns a boolean for the authorisation
 fr.paris.lutece.portal.web.xpages.XPage viewHome(javax.servlet.http.HttpServletRequest request)
          Returns the content of the page Graphite.
 
Methods inherited from class fr.paris.lutece.portal.util.mvc.xpage.MVCApplication
addError, addError, addInfo, addInfo, download, download, fillCommons, getActionFullUrl, getActionUrl, getDefaultPagePath, getDefaultPageTitle, getLocale, getModel, getPage, getViewFullUrl, getViewUrl, getXPage, getXPage, getXPage, getXPage, getXPageName, populate, redirect, redirect, redirect, redirect, redirectMessageBox, redirectView, validateBean, validateBean
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Graphite

public Graphite()
Method Detail

viewHome

@View(value="home",
      defaultView=true)
public fr.paris.lutece.portal.web.xpages.XPage viewHome(javax.servlet.http.HttpServletRequest request)
Returns the content of the page Graphite.

Parameters:
request - The HTTP request
Returns:
The view

getComboCategories

public List<Category> getComboCategories()
Returns the categories

Returns:
the categories

getAuthorizedCategory

public List<Category> getAuthorizedCategory(javax.servlet.http.HttpServletRequest request)
Returns the Authorized Collection

Returns:
the Authorized Collection

isAuthorized

public boolean isAuthorized(javax.servlet.http.HttpServletRequest request,
                            Category category)
Returns a boolean for the authorisation

Returns:
the boolean


Copyright © 2014 Mairie de Paris. All Rights Reserved.