Class CRMApp

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

public class CRMApp extends Object implements fr.paris.lutece.portal.web.xpages.XPageApplication
CRMApp
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    doEditDemand(javax.servlet.http.HttpServletRequest request)
    Do edit a demand
    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

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CRMApp

      public CRMApp()
  • Method Details

    • 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 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 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