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
CRMApp
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoEditDemand(javax.servlet.http.HttpServletRequest request) Do edit a demanddoOpenDemandType(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
-
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:
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
Do open a demand type- Parameters:
request- the HTTP request- Returns:
- the resource url of the demand type
-
doEditDemand
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
-