@Controller @RequestMapping(value="VIEW") public class ViewFeedsController 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.
|
protected org.osivia.portal.api.notifications.INotificationsService |
notificationsService
Notifications service.
|
protected javax.portlet.PortletContext |
portletContext
Portlet context.
|
protected FeedService |
service
Feed RSS service.
|
| Constructor and Description |
|---|
ViewFeedsController()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response)
Add container
|
List<FeedRssModel> |
getContainers(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 protected FeedService service
@Autowired protected org.osivia.portal.api.internationalization.IBundleFactory bundleFactory
@Autowired protected org.osivia.portal.api.notifications.INotificationsService notificationsService
@Autowired public org.springframework.context.ApplicationContext applicationContext
@RenderMapping public String view(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response) throws javax.portlet.PortletException
request - render requestresponse - render responsejavax.portlet.PortletException@ModelAttribute(value="feeds") public List<FeedRssModel> getContainers(javax.portlet.PortletRequest request, javax.portlet.PortletResponse response) throws javax.portlet.PortletException
javax.portlet.PortletException@ActionMapping(value="synchro")
public void add(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response)
throws javax.portlet.PortletException,
IOException
request - response - javax.portlet.PortletExceptionIOExceptionCopyright © 2020 OSIVIA. All rights reserved.