fr.paris.lutece.plugins.crm.web
Class CRMApp

java.lang.Object
  extended by fr.paris.lutece.plugins.crm.web.CRMApp
All Implemented Interfaces:
fr.paris.lutece.portal.web.xpages.XPageApplication

public class CRMApp
extends java.lang.Object
implements fr.paris.lutece.portal.web.xpages.XPageApplication

CRMApp


Constructor Summary
CRMApp()
           
 
Method Summary
 java.lang.String doEditDemand(javax.servlet.http.HttpServletRequest request)
          Do edit a demand
 java.lang.String doOpenDemandType(javax.servlet.http.HttpServletRequest request)
          Do open a demand type
 fr.paris.lutece.portal.web.xpages.XPage getPage(javax.servlet.http.HttpServletRequest request, int nMode, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Get the XPage of the plugin CRM
 fr.paris.lutece.portal.service.security.LuteceUser getUser(javax.servlet.http.HttpServletRequest request)
          Gets the user from the request
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CRMApp

public CRMApp()
Method Detail

getPage

public fr.paris.lutece.portal.web.xpages.XPage getPage(javax.servlet.http.HttpServletRequest request,
                                                       int nMode,
                                                       fr.paris.lutece.portal.service.plugin.Plugin plugin)
                                                throws fr.paris.lutece.portal.service.security.UserNotSignedException,
                                                       fr.paris.lutece.portal.service.message.SiteMessageException
Get the XPage of the plugin CRM

Specified by:
getPage in interface fr.paris.lutece.portal.web.xpages.XPageApplication
Parameters:
request - HttpServletRequest
nMode - the mode
plugin - Plugin
Returns:
a XPage
Throws:
fr.paris.lutece.portal.service.security.UserNotSignedException - exception when user is not connected
fr.paris.lutece.portal.service.message.SiteMessageException - site message when displaying messages

doOpenDemandType

public java.lang.String doOpenDemandType(javax.servlet.http.HttpServletRequest request)
Do open a demand type

Parameters:
request - the HTTP request
Returns:
the resource url of the demand type

doEditDemand

public java.lang.String doEditDemand(javax.servlet.http.HttpServletRequest request)
Do edit a demand

Parameters:
request - the HTTP request
Returns:
the url resource to edit the resource

getUser

public fr.paris.lutece.portal.service.security.LuteceUser getUser(javax.servlet.http.HttpServletRequest request)
                                                           throws fr.paris.lutece.portal.service.security.UserNotSignedException
Gets the user from the request

Parameters:
request - The HTTP user
Returns:
The Lutece User
Throws:
fr.paris.lutece.portal.service.security.UserNotSignedException - exception if user not connected


Copyright © 2011 Mairie de Paris. All Rights Reserved.