Class 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:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      CRMApp()  
    • 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 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