|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.portlet.calendar.mvc.controller.EditCalendarSubscriptionsController
@Controller @RequestMapping(value="EDIT") public class EditCalendarSubscriptionsController
EditCalendarPreferencesController provides the main edit page for the calendars portlet. The page allows users to view, add, delete and edit all available calendars.
| Field Summary | |
|---|---|
protected org.apache.commons.logging.Log |
log
|
| Constructor Summary | |
|---|---|
EditCalendarSubscriptionsController()
|
|
| Method Summary | |
|---|---|
void |
addSharedCalendar(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
Long id)
|
void |
defaultAction(javax.portlet.ActionRequest request)
|
CalendarPreferencesCommand |
getForm(javax.portlet.PortletRequest request)
Return a pre-populated preferences form for the current user. |
List<String> |
getTimeZones()
Return the list of available time zone IDs. |
void |
hideCalendar(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
Long id)
|
void |
removeSubscription(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
Long id)
|
void |
setCalendarStore(CalendarStore calendarStore)
|
void |
setPredefinedEditActions(Map<String,String> predefinedEditActions)
|
void |
setTimeZones(List<String> timeZones)
Set the list of time zone IDs that should be presented as options for user time zones. |
void |
setViewSelector(IViewSelector viewSelector)
|
void |
showCalendar(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
Long id)
|
void |
updatePreferences(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
CalendarPreferencesCommand form)
Process the preferences update request. |
org.springframework.web.portlet.ModelAndView |
viewEditOptions(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
|
org.springframework.web.portlet.ModelAndView |
viewSubscriptions(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final org.apache.commons.logging.Log log
| Constructor Detail |
|---|
public EditCalendarSubscriptionsController()
| Method Detail |
|---|
@RequestMapping
public org.springframework.web.portlet.ModelAndView viewEditOptions(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
@ActionMapping public void defaultAction(javax.portlet.ActionRequest request)
@RequestMapping(params="action=editSubscriptions")
public org.springframework.web.portlet.ModelAndView viewSubscriptions(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
@ActionMapping(params="action=deleteUserCalendar")
public void removeSubscription(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
@RequestParam(value="configurationId")
Long id)
@ActionMapping(params="action=showCalendar")
public void showCalendar(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
@RequestParam(value="configurationId")
Long id)
@ActionMapping(params="action=hideCalendar")
public void hideCalendar(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
@RequestParam(value="configurationId")
Long id)
@ActionMapping(params="action=addSharedCalendar")
public void addSharedCalendar(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
@RequestParam(value="definitionId")
Long id)
@ActionMapping(params="action=editPreferences")
public void updatePreferences(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
@ModelAttribute(value="calendarPreferencesCommand")
CalendarPreferencesCommand form)
throws Exception
request - response - form -
Exception@ModelAttribute(value="timezones") public List<String> getTimeZones()
@ModelAttribute(value="calendarPreferencesCommand")
public CalendarPreferencesCommand getForm(javax.portlet.PortletRequest request)
throws Exception
request -
Exceptionpublic void setPredefinedEditActions(Map<String,String> predefinedEditActions)
public void setTimeZones(List<String> timeZones)
timeZones - public void setCalendarStore(CalendarStore calendarStore)
public void setViewSelector(IViewSelector viewSelector)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||