@Controller @RequestMapping(value="VIEW") public class NewsController extends AbstractNewsController
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
log |
ALLOW_EDIT_PREFERENCE, ALLOW_HELP_PREFERENCE, INITIALIZED, NEWS_ADMIN_ROLE| Constructor and Description |
|---|
NewsController() |
| Modifier and Type | Method and Description |
|---|---|
void |
defaultAction() |
org.springframework.web.portlet.ModelAndView |
fullStory(Long activeFeed,
int itemIndex,
int page,
javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
org.springframework.ui.Model model) |
void |
getPreferences(javax.portlet.RenderRequest request,
org.springframework.ui.Model model) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setDefaultItems(int defaultItems) |
void |
setInitializationServices(List<IInitializationService> services) |
void |
setNewsStore(NewsStore newsStore) |
void |
setSetCreationService(NewsSetResolvingService setCreationService) |
String |
showMainView(javax.portlet.RenderRequest request) |
filterNonWhitelistedConfigurations, getMaxStories, isAdmin, isGuest, supportsEdit, supportsHelp@Autowired public void setNewsStore(NewsStore newsStore)
public void setDefaultItems(int defaultItems)
public void setInitializationServices(List<IInitializationService> services)
@ActionMapping public void defaultAction()
@ModelAttribute
public void getPreferences(javax.portlet.RenderRequest request,
org.springframework.ui.Model model)
@RenderMapping public String showMainView(javax.portlet.RenderRequest request) throws Exception
Exception@RenderMapping(params="action=fullStory")
public org.springframework.web.portlet.ModelAndView fullStory(@RequestParam
Long activeFeed,
@RequestParam
int itemIndex,
@RequestParam
int page,
javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
org.springframework.ui.Model model)
throws Exception
Exception@Autowired
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
org.springframework.beans.BeansException@Autowired public void setSetCreationService(NewsSetResolvingService setCreationService)
Copyright © 2009-2016 Apereo. All Rights Reserved.