@Controller
@RequestMapping(value="VIEW")
@Primary
public class InteractikViewCalendarController
extends org.osivia.services.calendar.view.portlet.controller.ViewCalendarController
| Modifier and Type | Field and Description |
|---|---|
protected org.osivia.services.calendar.view.portlet.service.CalendarViewService |
calendarService
Calendar service.
|
protected static String |
INTERACTIK_FILTERS
Interactik Filter request attribute.
|
| Constructor and Description |
|---|
InteractikViewCalendarController()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addEvent(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response)
Add event action mapping.
|
void |
dragndrop(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
javax.portlet.PortletSession session,
String startDate,
String endDate,
String docid,
String title,
String scrollViewDayWeek,
String scrollViewMonth,
String period,
String date)
Event'save after drag and drop
|
InteractikFilters |
getInteractikFilters(javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response)
Get Filter Interactik.
|
void |
initSchedulerData(javax.portlet.ResourceRequest request,
javax.portlet.ResourceResponse response,
org.osivia.services.calendar.view.portlet.model.calendar.CalendarData calendarData,
String periodTypeName,
Date selectedDate)
Ajax call to load scheduler events
|
void |
search(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
String period,
String date,
InteractikFilters filters)
Search coop action mapping.
|
String |
view(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
String startDate,
String periodType,
String scrollViewDayWeek,
String scrollViewMonth,
org.osivia.services.calendar.view.portlet.model.calendar.CalendarData calendarData)
View calendar render mapping
|
protected static final String INTERACTIK_FILTERS
@Autowired protected org.osivia.services.calendar.view.portlet.service.CalendarViewService calendarService
public InteractikViewCalendarController()
@RenderMapping public String view(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response, @RequestParam(value="date",required=false) String startDate, @RequestParam(value="period",required=false) String periodType, @RequestParam(value="scrollViewDayWeek",required=false) String scrollViewDayWeek, @RequestParam(value="scrollViewMonth",required=false) String scrollViewMonth, @ModelAttribute org.osivia.services.calendar.view.portlet.model.calendar.CalendarData calendarData) throws javax.portlet.PortletException
view in class org.osivia.services.calendar.view.portlet.controller.ViewCalendarControllerrequest - render requestresponse - render responseselectedDate - request parameter, may be nulljavax.portlet.PortletException@ResourceMapping(value="initSchedulerData")
public void initSchedulerData(javax.portlet.ResourceRequest request,
javax.portlet.ResourceResponse response,
@ModelAttribute(value="calendarData")
org.osivia.services.calendar.view.portlet.model.calendar.CalendarData calendarData,
@RequestParam(value="period",required=false)
String periodTypeName,
@RequestParam(value="date",required=false)
Date selectedDate)
throws javax.portlet.PortletException,
IOException
initSchedulerData in class org.osivia.services.calendar.view.portlet.controller.ViewCalendarControllerrequest - resource requestresponse - resource responsepath - parent path, may be null for root nodejavax.portlet.PortletExceptionIOException@ActionMapping(value="dragndrop")
public void dragndrop(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
javax.portlet.PortletSession session,
@RequestParam(value="start")
String startDate,
@RequestParam(value="end")
String endDate,
@RequestParam(value="doc_id")
String docid,
@RequestParam(value="title")
String title,
@RequestParam(value="scrollViewDayWeek",required=false)
String scrollViewDayWeek,
@RequestParam(value="scrollViewMonth",required=false)
String scrollViewMonth,
@RequestParam(value="period")
String period,
@RequestParam(value="date")
String date)
throws javax.portlet.PortletException,
IOException
dragndrop in class org.osivia.services.calendar.view.portlet.controller.ViewCalendarControllerrequest - response - session - startDate - endDate - docid - title - scrollViewDayWeek - scrollViewMonth - period - date - javax.portlet.PortletExceptionIOException@ActionMapping(value="addEvent")
public void addEvent(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response)
throws javax.portlet.PortletException,
IOException
request - action requestresponse - action responsejavax.portlet.PortletExceptionIOException@ActionMapping(value="search")
public void search(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
@RequestParam(value="period")
String period,
@RequestParam(value="date")
String date,
@ModelAttribute(value="InteractikFilters")
InteractikFilters filters)
throws javax.portlet.PortletException,
IOException
request - action requestresponse - action responsejavax.portlet.PortletExceptionIOException@ModelAttribute(value="InteractikFilters") public InteractikFilters getInteractikFilters(javax.portlet.PortletRequest request, javax.portlet.PortletResponse response) throws javax.portlet.PortletException
request - portlet requestresponse - portlet responsejavax.portlet.PortletExceptionCopyright © 2019. All rights reserved.