@Controller
@RequestMapping(value="VIEW",
params="edit=container")
public class EditContainerController
extends Object
| Modifier and Type | Field and Description |
|---|---|
org.springframework.context.ApplicationContext |
applicationContext
Application context.
|
protected org.osivia.portal.api.internationalization.IBundleFactory |
bundleFactory
Bundle factory.
|
static String |
DOCID |
protected org.osivia.portal.api.notifications.INotificationsService |
notificationsService
Notifications service.
|
protected javax.portlet.PortletContext |
portletContext
Portlet context.
|
protected FeedService |
service
Container RSS service.
|
| Constructor and Description |
|---|
EditContainerController()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
ContainerRssModel form,
org.springframework.validation.BindingResult result,
org.springframework.web.bind.support.SessionStatus status)
Modification container
|
void |
del(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
ContainerRssModel form,
org.springframework.web.bind.support.SessionStatus status)
Remove container
|
void |
formInitBinder(org.springframework.web.bind.WebDataBinder binder)
Containerform init binder.
|
ContainerRssModel |
getForm(javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response) |
String |
view(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
View container render mapping
|
@Autowired protected javax.portlet.PortletContext portletContext
@Autowired public org.springframework.context.ApplicationContext applicationContext
@Autowired protected FeedService service
@Autowired protected org.osivia.portal.api.internationalization.IBundleFactory bundleFactory
@Autowired protected org.osivia.portal.api.notifications.INotificationsService notificationsService
public static final String DOCID
@RenderMapping public String view(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response) throws javax.portlet.PortletException
request - render requestresponse - render responsejavax.portlet.PortletException@ActionMapping(value="modif")
public void add(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
@Validated @ModelAttribute(value="form")
ContainerRssModel form,
org.springframework.validation.BindingResult result,
org.springframework.web.bind.support.SessionStatus status)
throws javax.portlet.PortletException,
IOException
request - response - form - status - javax.portlet.PortletExceptionIOException@ActionMapping(value="del")
public void del(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
@ModelAttribute(value="form")
ContainerRssModel form,
org.springframework.web.bind.support.SessionStatus status)
throws javax.portlet.PortletException,
IOException
request - response - form - javax.portlet.PortletExceptionIOException@InitBinder(value="form") public void formInitBinder(org.springframework.web.bind.WebDataBinder binder)
binder - data binder@ModelAttribute(value="form") public ContainerRssModel getForm(javax.portlet.PortletRequest request, javax.portlet.PortletResponse response) throws javax.portlet.PortletException
javax.portlet.PortletExceptionCopyright © 2020 OSIVIA. All rights reserved.