@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(java.lang.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(java.util.List<IInitializationService> services) |
void |
setNewsStore(NewsStore newsStore) |
void |
setSetCreationService(NewsSetResolvingService setCreationService) |
java.lang.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(java.util.List<IInitializationService> services)
@ActionMapping public void defaultAction()
@ModelAttribute
public void getPreferences(javax.portlet.RenderRequest request,
org.springframework.ui.Model model)
@RenderMapping
public java.lang.String showMainView(javax.portlet.RenderRequest request)
throws java.lang.Exception
java.lang.Exception@RenderMapping(params="action=fullStory")
public org.springframework.web.portlet.ModelAndView fullStory(@RequestParam
java.lang.Long activeFeed,
@RequestParam
int itemIndex,
@RequestParam
int page,
javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
org.springframework.ui.Model model)
throws java.lang.Exception
java.lang.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-2023 Apereo. All Rights Reserved.