Package fr.paris.lutece.plugins.crm.web
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CRMApp()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringdoEditDemand(javax.servlet.http.HttpServletRequest request)Do edit a demandStringdoOpenDemandType(javax.servlet.http.HttpServletRequest request)Do open a demand typefr.paris.lutece.portal.web.xpages.XPagegetPage(javax.servlet.http.HttpServletRequest request, int nMode, fr.paris.lutece.portal.service.plugin.Plugin plugin)Get the XPage of the plugin CRMfr.paris.lutece.portal.service.security.LuteceUsergetUser(javax.servlet.http.HttpServletRequest request)Gets the user from the request
-
-
-
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.SiteMessageExceptionGet the XPage of the plugin CRM- Specified by:
getPagein interfacefr.paris.lutece.portal.web.xpages.XPageApplication- Parameters:
request-HttpServletRequestnMode- the modeplugin-Plugin- Returns:
- a
XPage - Throws:
fr.paris.lutece.portal.service.security.UserNotSignedException- exception when user is not connectedfr.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.UserNotSignedExceptionGets 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
-
-