@Controller
@RequestMapping(value="VIEW")
@SessionAttributes(value="form")
public class BnsImportController
extends fr.toutatice.portail.cms.nuxeo.api.CMSPortlet
implements org.springframework.web.portlet.context.PortletConfigAware, org.springframework.web.portlet.context.PortletContextAware
CMSPortlet,
PortletConfigAware,
PortletContextAware| Modifier and Type | Field and Description |
|---|---|
protected org.springframework.context.ApplicationContext |
applicationContext |
protected org.osivia.portal.api.internationalization.IBundleFactory |
bundleFactory
Bundle factory.
|
protected org.osivia.portal.api.notifications.INotificationsService |
notificationsService
Notifications service.
|
| Constructor and Description |
|---|
BnsImportController() |
| Modifier and Type | Method and Description |
|---|---|
void |
detectDuplicate(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
BnsImportForm form) |
String |
exceptionHandler(javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response)
Exception handler.
|
void |
executeImport(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
BnsImportForm form) |
BnsImportForm |
getForm() |
BnsRepareForm |
getRepareForm() |
void |
postConstruct()
Post-construct.
|
void |
preDestroy()
Pre-destroy.
|
void |
repareAccounts(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
BnsRepareForm form) |
void |
setPortletConfig(javax.portlet.PortletConfig portletConfig) |
void |
setPortletContext(javax.portlet.PortletContext portletContext) |
String |
view(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
View render mapping.
|
addCommentAction, createNuxeoController, deleteCommentAction, destroy, formatResourceLastModified, getCMSService, getNuxeoNavigationService, getNuxeoService, init, isResourceExpired, processCommentAction, serveResource, serveResourceByCache, serveResourceException, serveResourceFancytreeLazyLoadingaddNotification, 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, render@Autowired protected org.osivia.portal.api.internationalization.IBundleFactory bundleFactory
@Autowired protected org.osivia.portal.api.notifications.INotificationsService notificationsService
@Autowired protected org.springframework.context.ApplicationContext applicationContext
@PostConstruct public void postConstruct() throws javax.portlet.PortletException
javax.portlet.PortletException@PreDestroy public void preDestroy()
@RenderMapping public String view(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response)
request - render requestresponse - render response@ExceptionHandler public String exceptionHandler(javax.portlet.PortletRequest request, javax.portlet.PortletResponse response) throws javax.portlet.PortletException
request - portlet requestresponse - portlet responsejavax.portlet.PortletException@ActionMapping(value="executeImport")
public void executeImport(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
@ModelAttribute(value="form")
BnsImportForm form)
throws javax.portlet.PortletException,
IOException,
ParseException,
org.osivia.portal.api.PortalException
request - action requestresponse - action responsejavax.portlet.PortletExceptionIOExceptionorg.osivia.portal.api.PortalExceptionParseException@ActionMapping(value="detectDuplicate")
public void detectDuplicate(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
@ModelAttribute(value="form")
BnsImportForm form)
throws org.osivia.portal.api.PortalException
org.osivia.portal.api.PortalException@ModelAttribute(value="form") public BnsImportForm getForm()
@ModelAttribute(value="repareform") public BnsRepareForm getRepareForm()
@ActionMapping(value="repareAccounts")
public void repareAccounts(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
@ModelAttribute(value="repareform")
BnsRepareForm form)
throws javax.portlet.PortletException,
IOException,
ParseException,
org.osivia.portal.api.PortalException
request - action requestresponse - action responsejavax.portlet.PortletExceptionIOExceptionorg.osivia.portal.api.PortalExceptionParseExceptionpublic void setPortletConfig(javax.portlet.PortletConfig portletConfig)
setPortletConfig in interface org.springframework.web.portlet.context.PortletConfigAwarepublic void setPortletContext(javax.portlet.PortletContext portletContext)
setPortletContext in interface org.springframework.web.portlet.context.PortletContextAwareCopyright © 2021. All rights reserved.