public class CalendarPortlet
extends com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet
| Constructor and Description |
|---|
CalendarPortlet() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addCalendar(javax.portlet.PortletRequest portletRequest,
java.util.Set<com.liferay.calendar.model.Calendar> calendarsSet,
long classNameId,
long classPK) |
void |
deleteCalendar(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse) |
void |
deleteCalendarResource(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse) |
protected void |
doDispatch(javax.portlet.RenderRequest renderRequest,
javax.portlet.RenderResponse renderResponse) |
protected void |
getCalendar(javax.portlet.PortletRequest portletRequest) |
protected void |
getCalendarBooking(javax.portlet.PortletRequest portletRequest) |
protected void |
getCalendarResource(javax.portlet.PortletRequest portletRequest) |
protected java.util.List<java.lang.Integer> |
getDaysOfWeek(com.liferay.calendar.recurrence.Recurrence recurrenceObj) |
protected java.lang.String |
getEditCalendarURL(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse,
com.liferay.calendar.model.Calendar calendar) |
protected com.liferay.calendar.model.CalendarBooking |
getFirstCalendarBookingInstance(com.liferay.calendar.model.CalendarBooking calendarBooking,
com.liferay.calendar.recurrence.Recurrence recurrenceObj,
java.util.TimeZone timeZone) |
protected java.util.Calendar |
getJCalendar(javax.portlet.PortletRequest portletRequest,
java.lang.String name) |
protected java.lang.String |
getNotificationTypeSettings(javax.portlet.ActionRequest actionRequest,
com.liferay.calendar.notification.NotificationType notificationType) |
protected long |
getOffset(com.liferay.calendar.model.CalendarBooking editedCalendarBookingInstance,
long newStartTime,
com.liferay.calendar.recurrence.Recurrence recurrence) |
protected com.liferay.calendar.recurrence.Recurrence |
getRecurrence(javax.portlet.ActionRequest actionRequest) |
protected long[] |
getReminders(javax.portlet.PortletRequest portletRequest) |
protected java.lang.String[] |
getRemindersType(javax.portlet.PortletRequest portletRequest) |
protected java.util.TimeZone |
getTimeZone(javax.portlet.PortletRequest portletRequest) |
void |
importCalendar(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse) |
void |
init() |
void |
invokeTransition(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse) |
protected boolean |
isSessionErrorException(java.lang.Throwable cause) |
void |
moveCalendarBookingToTrash(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse) |
void |
render(javax.portlet.RenderRequest renderRequest,
javax.portlet.RenderResponse renderResponse) |
protected com.liferay.portal.kernel.search.Hits |
search(long companyId,
long userId,
java.lang.String keywords) |
protected void |
serveCalendar(javax.portlet.ResourceRequest resourceRequest,
javax.portlet.ResourceResponse resourceResponse) |
protected void |
serveCalendarBookingInvitees(javax.portlet.ResourceRequest resourceRequest,
javax.portlet.ResourceResponse resourceResponse) |
protected void |
serveCalendarBookings(javax.portlet.ResourceRequest resourceRequest,
javax.portlet.ResourceResponse resourceResponse) |
protected void |
serveCalendarBookingsRSS(javax.portlet.ResourceRequest resourceRequest,
javax.portlet.ResourceResponse resourceResponse) |
protected void |
serveCalendarRenderingRules(javax.portlet.ResourceRequest resourceRequest,
javax.portlet.ResourceResponse resourceResponse) |
protected void |
serveCalendarResources(javax.portlet.ResourceRequest resourceRequest,
javax.portlet.ResourceResponse resourceResponse) |
protected void |
serveCurrentTime(javax.portlet.ResourceRequest resourceRequest,
javax.portlet.ResourceResponse resourceResponse) |
protected void |
serveExportCalendar(javax.portlet.ResourceRequest resourceRequest,
javax.portlet.ResourceResponse resourceResponse) |
void |
serveResource(javax.portlet.ResourceRequest resourceRequest,
javax.portlet.ResourceResponse resourceResponse) |
protected void |
serveResourceCalendars(javax.portlet.ResourceRequest resourceRequest,
javax.portlet.ResourceResponse resourceResponse) |
protected void |
serveUnknownResource(javax.portlet.ResourceRequest resourceRequest,
javax.portlet.ResourceResponse resourceResponse) |
protected void |
setCalendarBookingLocalService(com.liferay.calendar.service.CalendarBookingLocalService calendarBookingLocalService) |
protected void |
setCalendarBookingService(com.liferay.calendar.service.CalendarBookingService calendarBookingService) |
protected void |
setCalendarLocalService(com.liferay.calendar.service.CalendarLocalService calendarLocalService) |
protected void |
setCalendarNotificationTemplateService(com.liferay.calendar.service.CalendarNotificationTemplateService calendarNotificationTemplateService) |
protected void |
setCalendarResourceService(com.liferay.calendar.service.CalendarResourceService calendarResourceService) |
protected void |
setCalendarService(com.liferay.calendar.service.CalendarService calendarService) |
protected void |
setCalendarWebUpgrade(CalendarWebUpgrade calendarWebUpgrade) |
protected void |
setGroupLocalService(com.liferay.portal.kernel.service.GroupLocalService groupLocalService) |
protected void |
setUserLocalService(com.liferay.portal.kernel.service.UserLocalService userLocalService) |
void |
updateCalendar(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse) |
protected com.liferay.calendar.model.CalendarBooking |
updateCalendarBooking(long calendarBookingId,
com.liferay.calendar.model.Calendar calendar,
long[] childCalendarIds,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.lang.String location,
long startTime,
long endTime,
boolean allDay,
com.liferay.calendar.recurrence.Recurrence recurrence,
long[] reminders,
java.lang.String[] remindersType,
int instanceIndex,
boolean updateInstance,
boolean allFollowing,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
updateCalendarNotificationTemplate(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse) |
void |
updateCalendarResource(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse) |
void |
updateFormCalendarBooking(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse) |
void |
updateSchedulerCalendarBooking(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse) |
callActionMethod, callResourceMethod, checkPermissions, destroy, doAbout, doConfig, doEdit, doEditDefaults, doEditGuest, doHelp, doPreview, doPrint, doView, getMVCPathAttributeName, getPath, hideDefaultErrorMessage, hideDefaultSuccessMessage, include, include, include, include, include, invokeHideDefaultSuccessMessage, invokeTaglibDiscussion, invokeTaglibDiscussionPagination, processActionaddSuccessMessage, checkPath, getActionMethod, getJSONContentType, getPaths, getRedirect, getResourceMethod, getServletContext, getTitle, initValidPaths, isAlwaysSendRedirect, isEmptySessionMessages, isProcessActionRequest, isProcessPortletRequest, isProcessRenderRequest, isProcessResourceRequest, isValidPath, sendRedirect, translate, translate, writeJSON, writeJSONdoHeaders, getContainerRuntimeOptions, getDefaultNamespace, getInitParameter, getInitParameterNames, getNextPossiblePortletModes, getPortletConfig, getPortletContext, getPortletName, getProcessingEventQNames, getPublicRenderParameterNames, getPublishingEventQNames, getResourceBundle, getSupportedLocales, init, processEventpublic void deleteCalendar(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse)
throws java.lang.Exception
java.lang.Exceptionpublic void deleteCalendarResource(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse)
throws java.lang.Exception
java.lang.Exceptionpublic void importCalendar(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse)
throws java.lang.Exception
java.lang.Exceptionpublic void init()
throws javax.portlet.PortletException
init in class com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortletjavax.portlet.PortletExceptionpublic void invokeTransition(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse)
throws java.lang.Exception
java.lang.Exceptionpublic void moveCalendarBookingToTrash(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse)
throws java.lang.Exception
java.lang.Exceptionpublic void render(javax.portlet.RenderRequest renderRequest,
javax.portlet.RenderResponse renderResponse)
throws java.io.IOException,
javax.portlet.PortletException
render in interface javax.portlet.Portletrender in class com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortletjava.io.IOExceptionjavax.portlet.PortletExceptionpublic void serveResource(javax.portlet.ResourceRequest resourceRequest,
javax.portlet.ResourceResponse resourceResponse)
throws javax.portlet.PortletException
serveResource in interface javax.portlet.ResourceServingPortletserveResource in class com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortletjavax.portlet.PortletExceptionpublic void updateCalendar(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse)
throws java.lang.Exception
java.lang.Exceptionpublic void updateCalendarNotificationTemplate(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse)
throws java.lang.Exception
java.lang.Exceptionpublic void updateCalendarResource(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse)
throws java.lang.Exception
java.lang.Exceptionpublic void updateFormCalendarBooking(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse)
throws java.lang.Exception
java.lang.Exceptionpublic void updateSchedulerCalendarBooking(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse)
throws java.io.IOException,
com.liferay.portal.kernel.exception.PortalException
java.io.IOExceptioncom.liferay.portal.kernel.exception.PortalExceptionprotected void addCalendar(javax.portlet.PortletRequest portletRequest,
java.util.Set<com.liferay.calendar.model.Calendar> calendarsSet,
long classNameId,
long classPK)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionprotected void doDispatch(javax.portlet.RenderRequest renderRequest,
javax.portlet.RenderResponse renderResponse)
throws java.io.IOException,
javax.portlet.PortletException
doDispatch in class com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortletjava.io.IOExceptionjavax.portlet.PortletExceptionprotected void getCalendar(javax.portlet.PortletRequest portletRequest)
throws java.lang.Exception
java.lang.Exceptionprotected void getCalendarBooking(javax.portlet.PortletRequest portletRequest)
throws java.lang.Exception
java.lang.Exceptionprotected void getCalendarResource(javax.portlet.PortletRequest portletRequest)
throws java.lang.Exception
java.lang.Exceptionprotected java.util.List<java.lang.Integer> getDaysOfWeek(com.liferay.calendar.recurrence.Recurrence recurrenceObj)
protected java.lang.String getEditCalendarURL(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse,
com.liferay.calendar.model.Calendar calendar)
throws java.lang.Exception
java.lang.Exceptionprotected com.liferay.calendar.model.CalendarBooking getFirstCalendarBookingInstance(com.liferay.calendar.model.CalendarBooking calendarBooking,
com.liferay.calendar.recurrence.Recurrence recurrenceObj,
java.util.TimeZone timeZone)
protected java.util.Calendar getJCalendar(javax.portlet.PortletRequest portletRequest,
java.lang.String name)
protected java.lang.String getNotificationTypeSettings(javax.portlet.ActionRequest actionRequest,
com.liferay.calendar.notification.NotificationType notificationType)
protected long getOffset(com.liferay.calendar.model.CalendarBooking editedCalendarBookingInstance,
long newStartTime,
com.liferay.calendar.recurrence.Recurrence recurrence)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionprotected com.liferay.calendar.recurrence.Recurrence getRecurrence(javax.portlet.ActionRequest actionRequest)
protected long[] getReminders(javax.portlet.PortletRequest portletRequest)
protected java.lang.String[] getRemindersType(javax.portlet.PortletRequest portletRequest)
protected java.util.TimeZone getTimeZone(javax.portlet.PortletRequest portletRequest)
protected boolean isSessionErrorException(java.lang.Throwable cause)
isSessionErrorException in class com.liferay.portal.kernel.portlet.LiferayPortletprotected com.liferay.portal.kernel.search.Hits search(long companyId,
long userId,
java.lang.String keywords)
throws java.lang.Exception
java.lang.Exceptionprotected void serveCalendar(javax.portlet.ResourceRequest resourceRequest,
javax.portlet.ResourceResponse resourceResponse)
throws java.lang.Exception
java.lang.Exceptionprotected void serveCalendarBookingInvitees(javax.portlet.ResourceRequest resourceRequest,
javax.portlet.ResourceResponse resourceResponse)
throws java.lang.Exception
java.lang.Exceptionprotected void serveCalendarBookings(javax.portlet.ResourceRequest resourceRequest,
javax.portlet.ResourceResponse resourceResponse)
throws java.io.IOException,
com.liferay.portal.kernel.exception.PortalException
java.io.IOExceptioncom.liferay.portal.kernel.exception.PortalExceptionprotected void serveCalendarBookingsRSS(javax.portlet.ResourceRequest resourceRequest,
javax.portlet.ResourceResponse resourceResponse)
throws java.lang.Exception
java.lang.Exceptionprotected void serveCalendarRenderingRules(javax.portlet.ResourceRequest resourceRequest,
javax.portlet.ResourceResponse resourceResponse)
throws java.lang.Exception
java.lang.Exceptionprotected void serveCalendarResources(javax.portlet.ResourceRequest resourceRequest,
javax.portlet.ResourceResponse resourceResponse)
throws java.lang.Exception
java.lang.Exceptionprotected void serveCurrentTime(javax.portlet.ResourceRequest resourceRequest,
javax.portlet.ResourceResponse resourceResponse)
throws java.lang.Exception
java.lang.Exceptionprotected void serveExportCalendar(javax.portlet.ResourceRequest resourceRequest,
javax.portlet.ResourceResponse resourceResponse)
throws java.lang.Exception
java.lang.Exceptionprotected void serveResourceCalendars(javax.portlet.ResourceRequest resourceRequest,
javax.portlet.ResourceResponse resourceResponse)
throws java.lang.Exception
java.lang.Exceptionprotected void serveUnknownResource(javax.portlet.ResourceRequest resourceRequest,
javax.portlet.ResourceResponse resourceResponse)
throws java.io.IOException
java.io.IOExceptionprotected void setCalendarBookingLocalService(com.liferay.calendar.service.CalendarBookingLocalService calendarBookingLocalService)
protected void setCalendarBookingService(com.liferay.calendar.service.CalendarBookingService calendarBookingService)
protected void setCalendarLocalService(com.liferay.calendar.service.CalendarLocalService calendarLocalService)
protected void setCalendarNotificationTemplateService(com.liferay.calendar.service.CalendarNotificationTemplateService calendarNotificationTemplateService)
protected void setCalendarResourceService(com.liferay.calendar.service.CalendarResourceService calendarResourceService)
protected void setCalendarService(com.liferay.calendar.service.CalendarService calendarService)
protected void setCalendarWebUpgrade(CalendarWebUpgrade calendarWebUpgrade)
protected void setGroupLocalService(com.liferay.portal.kernel.service.GroupLocalService groupLocalService)
protected void setUserLocalService(com.liferay.portal.kernel.service.UserLocalService userLocalService)
protected com.liferay.calendar.model.CalendarBooking updateCalendarBooking(long calendarBookingId,
com.liferay.calendar.model.Calendar calendar,
long[] childCalendarIds,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.lang.String location,
long startTime,
long endTime,
boolean allDay,
com.liferay.calendar.recurrence.Recurrence recurrence,
long[] reminders,
java.lang.String[] remindersType,
int instanceIndex,
boolean updateInstance,
boolean allFollowing,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException