@Controller
@RequestMapping(value="VIEW")
@SessionAttributes(value="form")
public class CalendarEventEditionController
extends fr.toutatice.portail.cms.nuxeo.api.CMSPortlet
implements org.springframework.web.portlet.context.PortletConfigAware
CMSPortlet| Constructor and Description |
|---|
CalendarEventEditionController()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
cancel(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response)
Cancel action mapping.
|
void |
deleteAttachment(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
Integer index,
CalendarCommonEventForm form)
Delete attachment action mapping.
|
void |
formInitBinder(org.springframework.web.bind.WebDataBinder binder)
Calendar event edition form init binder.
|
void |
getEditor(javax.portlet.ResourceRequest request,
javax.portlet.ResourceResponse response,
String editorId)
Get editor properties resource mapping.
|
CalendarCommonEventForm |
getForm(javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response)
Get calendar event edition form model attribute.
|
CalendarEditionOptions |
getOptions(javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response)
Get calendar edition options model attribute.
|
void |
restoreAttachment(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
Integer index,
CalendarCommonEventForm form)
Restore attachment action mapping.
|
void |
save(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
CalendarEditionOptions options,
CalendarCommonEventForm form,
org.springframework.validation.BindingResult result,
org.springframework.web.bind.support.SessionStatus status)
Save action mapping.
|
void |
setPortletConfig(javax.portlet.PortletConfig portletConfig) |
void |
uploadAttachments(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
CalendarCommonEventForm form)
Upload attachments action mapping.
|
String |
view(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
CalendarEditionOptions options)
View render mapping.
|
addCommentAction, createNuxeoController, deleteCommentAction, destroy, formatResourceLastModified, getCMSService, getNuxeoNavigationService, getNuxeoService, init, isResourceExpired, processCommentAction, serveResource, serveResourceByCache, serveResourceEditor, serveResourceException, serveResourceFancytreeLazyLoading, serveResourceSelect2VocabularyaddNotification, addNotification, getBundleFactory, getDirectoryService, getMenubarService, getMessage, getMessage, getNotificationsService, getPortalUrlFactory, getTraceServicedoDispatch, doEdit, doHeaders, doHelp, doView, getContainerRuntimeOptions, getDefaultNamespace, getInitParameter, getInitParameterNames, getNextPossiblePortletModes, getPortletConfig, getPortletContext, getPortletName, getProcessingEventQNames, getPublicRenderParameterNames, getPublishingEventQNames, getResourceBundle, getSupportedLocales, getTitle, init, processAction, processEvent, renderpublic CalendarEventEditionController()
public void setPortletConfig(javax.portlet.PortletConfig portletConfig)
setPortletConfig in interface org.springframework.web.portlet.context.PortletConfigAware@RenderMapping public String view(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response, @ModelAttribute(value="options") CalendarEditionOptions options) throws javax.portlet.PortletException
request - render requestresponse - render responseoptions - calendar edition options model attributejavax.portlet.PortletException@ActionMapping(name="save",
params="upload-attachments")
public void uploadAttachments(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
@ModelAttribute(value="form")
CalendarCommonEventForm form)
throws javax.portlet.PortletException,
IOException
request - action requestresponse - action responseform - calendar event edition form model attributejavax.portlet.PortletExceptionIOException@ActionMapping(name="save",
params="delete-attachment")
public void deleteAttachment(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
@RequestParam(value="delete-attachment")
Integer index,
@ModelAttribute(value="form")
CalendarCommonEventForm form)
throws javax.portlet.PortletException,
IOException
request - action requestresponse - action responseindex - attachment index request parameterform - calendar event edition form model attributejavax.portlet.PortletExceptionIOException@ActionMapping(name="save",
params="restore-attachment")
public void restoreAttachment(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
@RequestParam(value="restore-attachment")
Integer index,
@ModelAttribute(value="form")
CalendarCommonEventForm form)
throws javax.portlet.PortletException,
IOException
request - action requestresponse - action responseindex - attachment index request parameterform - calendar event edition form model attributejavax.portlet.PortletExceptionIOException@ActionMapping(name="save",
params="save")
public void save(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
@ModelAttribute(value="options")
CalendarEditionOptions options,
@ModelAttribute(value="form") @Validated
CalendarCommonEventForm form,
org.springframework.validation.BindingResult result,
org.springframework.web.bind.support.SessionStatus status)
throws javax.portlet.PortletException,
IOException
request - action requestresponse - action responseoptions - calendar edition options model attributeform - calendar event edition form model attributeresult - binding resultstatus - session statusjavax.portlet.PortletExceptionIOException@ActionMapping(value="cancel")
public void cancel(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response)
throws javax.portlet.PortletException,
IOException
request - action requestresponse - action responsejavax.portlet.PortletExceptionIOException@ResourceMapping(value="editor")
public void getEditor(javax.portlet.ResourceRequest request,
javax.portlet.ResourceResponse response,
@RequestParam(name="editorId")
String editorId)
throws javax.portlet.PortletException,
IOException
request - resource requestresponse - resource responseeditorId - editor identifier required request parameterjavax.portlet.PortletExceptionIOException@ModelAttribute(value="options") public CalendarEditionOptions getOptions(javax.portlet.PortletRequest request, javax.portlet.PortletResponse response) throws javax.portlet.PortletException
request - portlet requestresponse - portlet responsejavax.portlet.PortletException@ModelAttribute(value="form") public CalendarCommonEventForm getForm(javax.portlet.PortletRequest request, javax.portlet.PortletResponse response) throws javax.portlet.PortletException
request - portlet requestresponse - portlet responsejavax.portlet.PortletException@InitBinder(value="form") public void formInitBinder(org.springframework.web.bind.WebDataBinder binder)
binder - data binderCopyright © 2020 OSIVIA. All rights reserved.