|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.portlet.announcements.controller.AdminTopicController
@Controller @RequestMapping(value="VIEW") public class AdminTopicController
| Constructor Summary | |
|---|---|
AdminTopicController()
|
|
| Method Summary | |
|---|---|
void |
actionAddTopicForm(Topic topic,
org.springframework.validation.BindingResult result,
org.springframework.web.bind.support.SessionStatus status,
javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response)
Saves the Topic that was submitted |
void |
actionDeleteTopic(String topicId,
javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response)
Delete a specified topic |
void |
setAnnouncementService(IAnnouncementService announcementService)
|
void |
setIncludeJQuery(Boolean includeJQuery)
|
String |
showAddTopicForm(String topicIdStr,
org.springframework.ui.Model model)
Add topic view controller, creates or fetches the topic for adding or editing |
String |
showTopic(String topicId,
javax.portlet.RenderRequest request,
org.springframework.ui.Model model)
Show a specified topic management view |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AdminTopicController()
| Method Detail |
|---|
@RequestMapping(params="action=addTopic")
public String showAddTopicForm(@RequestParam(value="edit",required=false)
String topicIdStr,
org.springframework.ui.Model model)
throws javax.portlet.PortletException
topicIdStr - model -
javax.portlet.PortletException
@RequestMapping(params="action=addTopic")
public void actionAddTopicForm(@ModelAttribute(value="topic")
Topic topic,
org.springframework.validation.BindingResult result,
org.springframework.web.bind.support.SessionStatus status,
javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response)
throws javax.portlet.PortletException
topic - result - status - request - response -
javax.portlet.PortletException
@RequestMapping(params="action=deleteTopic")
public void actionDeleteTopic(@RequestParam(value="topicId")
String topicId,
javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response)
throws NumberFormatException,
javax.portlet.PortletException
topicId - response -
NumberFormatException
javax.portlet.PortletException
@RequestMapping(params="action=showTopic")
public String showTopic(@RequestParam(value="topicId")
String topicId,
javax.portlet.RenderRequest request,
org.springframework.ui.Model model)
throws NumberFormatException,
javax.portlet.PortletException
topicId - request - model -
NumberFormatException
javax.portlet.PortletExceptionpublic void setAnnouncementService(IAnnouncementService announcementService)
announcementService - the announcementService to setpublic void setIncludeJQuery(Boolean includeJQuery)
includeJQuery - the includeJQuery to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||