@Controller
@RequestMapping(value="VIEW")
@SessionAttributes(value="fiche")
public class FichePersonneController
extends fr.toutatice.portail.cms.nuxeo.api.CMSPortlet
implements org.springframework.web.portlet.context.PortletContextAware, org.springframework.web.portlet.context.PortletConfigAware
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.commons.logging.Log |
logger |
protected static org.apache.commons.logging.Log |
logModifLdap |
| Constructor and Description |
|---|
FichePersonneController() |
| Modifier and Type | Method and Description |
|---|---|
void |
annuler(javax.portlet.ActionResponse response,
org.springframework.web.bind.support.SessionStatus status,
org.springframework.ui.ModelMap model) |
FormChgtMdp |
getFormChgtMdp() |
FormSurchargeMdp |
getFormSurchargeMdp() |
FormUpload |
getFormUpload() |
Fiche |
initFichePerson(javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response)
Initialise la fiche personne avec le user connecté et le user recherché
|
void |
initNuxeoService() |
void |
razMdp(Fiche fiche,
javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response) |
void |
serveResource(javax.portlet.ResourceRequest resourceRequest,
javax.portlet.ResourceResponse resourceResponse,
javax.portlet.PortletSession session) |
void |
setMailSender(org.springframework.mail.javamail.JavaMailSender mailSender) |
void |
setPortletConfig(javax.portlet.PortletConfig portletConfig) |
void |
setPortletContext(javax.portlet.PortletContext ctx) |
String |
showChgtMdp(Fiche fiche,
javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
javax.portlet.PortletSession session) |
String |
showFichePersonne(Fiche fiche,
javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response) |
String |
showSurchargeMdp(Fiche fiche,
javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response) |
String |
showUpdateFiche(Fiche fiche,
FormUpload formUpload,
javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response) |
void |
submitModif(FormUpload formUpload,
org.springframework.validation.BindingResult result,
Fiche fiche,
javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
org.springframework.web.bind.support.SessionStatus status,
org.springframework.ui.ModelMap model) |
void |
surchargeMdp(Fiche fiche,
FormSurchargeMdp formSurchargeMdp,
org.springframework.validation.BindingResult result,
javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
org.springframework.ui.ModelMap modelMap,
javax.portlet.PortletSession session,
org.springframework.ui.ModelMap model) |
void |
updateChgtMdp(Fiche fiche,
FormChgtMdp formChgtMdp,
org.springframework.validation.BindingResult result,
javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response) |
createNuxeoController, destroy, formatResourceLastModified, getCMSService, getNuxeoNavigationService, getNuxeoService, init, isResourceExpired, serveResource, serveResourceByCache, serveResourceException, serveResourceFancytreeLazyLoadingaddNotification, addNotification, getBundleFactory, getDirectoryService, getNotificationsService, getPortalUrlFactorydoDispatch, doEdit, doHeaders, doHelp, doView, getContainerRuntimeOptions, getDefaultNamespace, getInitParameter, getInitParameterNames, getNextPossiblePortletModes, getPortletConfig, getPortletContext, getPortletName, getProcessingEventQNames, getPublicRenderParameterNames, getPublishingEventQNames, getResourceBundle, getSupportedLocales, getTitle, init, processAction, processEvent, renderprotected static final org.apache.commons.logging.Log logger
protected static final org.apache.commons.logging.Log logModifLdap
public void setMailSender(org.springframework.mail.javamail.JavaMailSender mailSender)
@ModelAttribute(value="formUpload") public FormUpload getFormUpload()
@ModelAttribute(value="formChgtMdp") public FormChgtMdp getFormChgtMdp()
@ModelAttribute(value="formSurchargeMdp") public FormSurchargeMdp getFormSurchargeMdp()
@PostConstruct public void initNuxeoService() throws Exception
Exception@ModelAttribute(value="fiche") public Fiche initFichePerson(javax.portlet.PortletRequest request, javax.portlet.PortletResponse response) throws fr.toutatice.outils.ldap.exception.ToutaticeAnnuaireException, org.osivia.portal.core.cms.CMSException
request - response - fr.toutatice.outils.ldap.exception.ToutaticeAnnuaireExceptionorg.osivia.portal.core.cms.CMSException@RenderMapping public String showFichePersonne(@ModelAttribute(value="fiche") Fiche fiche, javax.portlet.RenderRequest request, javax.portlet.RenderResponse response) throws fr.toutatice.outils.ldap.exception.ToutaticeAnnuaireException, org.osivia.portal.api.PortalException, org.osivia.portal.core.cms.CMSException
fr.toutatice.outils.ldap.exception.ToutaticeAnnuaireExceptionorg.osivia.portal.api.PortalExceptionorg.osivia.portal.core.cms.CMSException@RenderMapping(params="action=chgtMdp") public String showChgtMdp(@ModelAttribute(value="fiche") Fiche fiche, javax.portlet.RenderRequest request, javax.portlet.RenderResponse response, javax.portlet.PortletSession session) throws fr.toutatice.outils.ldap.exception.ToutaticeAnnuaireException, org.osivia.portal.api.PortalException, org.osivia.portal.core.cms.CMSException
fr.toutatice.outils.ldap.exception.ToutaticeAnnuaireExceptionorg.osivia.portal.api.PortalExceptionorg.osivia.portal.core.cms.CMSException@RenderMapping(params="action=surchargeMdp") public String showSurchargeMdp(@ModelAttribute(value="fiche") Fiche fiche, javax.portlet.RenderRequest request, javax.portlet.RenderResponse response) throws fr.toutatice.outils.ldap.exception.ToutaticeAnnuaireException, org.osivia.portal.core.cms.CMSException, org.osivia.portal.api.PortalException
fr.toutatice.outils.ldap.exception.ToutaticeAnnuaireExceptionorg.osivia.portal.core.cms.CMSExceptionorg.osivia.portal.api.PortalException@RenderMapping(params="action=modify") public String showUpdateFiche(@ModelAttribute(value="fiche") Fiche fiche, @ModelAttribute(value="formUpload") FormUpload formUpload, javax.portlet.RenderRequest request, javax.portlet.RenderResponse response) throws fr.toutatice.outils.ldap.exception.ToutaticeAnnuaireException, org.osivia.portal.core.cms.CMSException
fr.toutatice.outils.ldap.exception.ToutaticeAnnuaireExceptionorg.osivia.portal.core.cms.CMSException@ActionMapping(params="action=submit")
public void submitModif(@ModelAttribute(value="formUpload")
FormUpload formUpload,
org.springframework.validation.BindingResult result,
@ModelAttribute(value="fiche")
Fiche fiche,
javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
org.springframework.web.bind.support.SessionStatus status,
org.springframework.ui.ModelMap model)
throws Exception
Exception@ActionMapping(params="action=annuler")
public void annuler(javax.portlet.ActionResponse response,
org.springframework.web.bind.support.SessionStatus status,
org.springframework.ui.ModelMap model)
throws Exception
Exception@ActionMapping(params="action=updateMdp")
public void updateChgtMdp(@ModelAttribute(value="fiche")
Fiche fiche,
@ModelAttribute
FormChgtMdp formChgtMdp,
org.springframework.validation.BindingResult result,
javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response)
throws fr.toutatice.outils.ldap.exception.ToutaticeAnnuaireException
fr.toutatice.outils.ldap.exception.ToutaticeAnnuaireException@ActionMapping(params="action=razMdp")
public void razMdp(@ModelAttribute(value="fiche")
Fiche fiche,
javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response)
throws fr.toutatice.outils.ldap.exception.ToutaticeAnnuaireException
fr.toutatice.outils.ldap.exception.ToutaticeAnnuaireException@ActionMapping(params="action=surchargeMdp")
public void surchargeMdp(@ModelAttribute(value="fiche")
Fiche fiche,
@ModelAttribute
FormSurchargeMdp formSurchargeMdp,
org.springframework.validation.BindingResult result,
javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
org.springframework.ui.ModelMap modelMap,
javax.portlet.PortletSession session,
org.springframework.ui.ModelMap model)
throws fr.toutatice.outils.ldap.exception.ToutaticeAnnuaireException
fr.toutatice.outils.ldap.exception.ToutaticeAnnuaireException@ResourceMapping
public void serveResource(javax.portlet.ResourceRequest resourceRequest,
javax.portlet.ResourceResponse resourceResponse,
javax.portlet.PortletSession session)
throws javax.portlet.PortletException,
IOException
javax.portlet.PortletExceptionIOExceptionpublic void setPortletContext(javax.portlet.PortletContext ctx)
setPortletContext in interface org.springframework.web.portlet.context.PortletContextAwarepublic void setPortletConfig(javax.portlet.PortletConfig portletConfig)
setPortletConfig in interface org.springframework.web.portlet.context.PortletConfigAwareCopyright © 2015. All rights reserved.