Class AjaxNewsController
java.lang.Object
org.jasig.portlet.newsreader.mvc.portlet.reader.AjaxNewsController
AjaxNewsController class.
- Since:
- 5.1.1
- Author:
- bgonzalez
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.web.portlet.ModelAndViewgetJSONFeeds(javax.portlet.ResourceRequest request, javax.portlet.ResourceResponse response) getJSONFeeds.voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext) Setter for the fieldapplicationContext.voidsetNewsStore(NewsStore newsStore) Setter for the fieldnewsStore.voidsetSetCreationService(NewsSetResolvingService setCreationService) Setter for the fieldsetCreationService.
-
Field Details
-
log
protected final org.slf4j.Logger log
-
-
Constructor Details
-
AjaxNewsController
public AjaxNewsController()
-
-
Method Details
-
setNewsStore
Setter for the field
newsStore.- Parameters:
newsStore- aNewsStoreobject
-
setSetCreationService
Setter for the field
setCreationService.- Parameters:
setCreationService- aNewsSetResolvingServiceobject
-
setApplicationContext
@Autowired public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException Setter for the field
applicationContext.- Parameters:
applicationContext- aApplicationContextobject- Throws:
org.springframework.beans.BeansException- if any.
-
getJSONFeeds
@ResourceMapping public org.springframework.web.portlet.ModelAndView getJSONFeeds(javax.portlet.ResourceRequest request, javax.portlet.ResourceResponse response) throws Exception getJSONFeeds.
- Parameters:
request- aResourceRequestobjectresponse- aResourceResponseobject- Returns:
- a
ModelAndViewobject - Throws:
Exception- if any.
-