Package com.liferay.calendar.service
Class CalendarBookingServiceUtil
java.lang.Object
com.liferay.calendar.service.CalendarBookingServiceUtil
Provides the remote service utility for CalendarBooking. This utility wraps
com.liferay.calendar.service.impl.CalendarBookingServiceImpl
and is an
access point for service operations in application layer code running on a
remote server. Methods of this service are expected to have security checks
based on the propagated JAAS credentials because this service can be
accessed remotely.- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CalendarBooking
addCalendarBooking
(long calendarId, long[] childCalendarIds, long parentCalendarBookingId, long recurringCalendarBookingId, Map<Locale, String> titleMap, Map<Locale, String> descriptionMap, String location, int startTimeYear, int startTimeMonth, int startTimeDay, int startTimeHour, int startTimeMinute, int endTimeYear, int endTimeMonth, int endTimeDay, int endTimeHour, int endTimeMinute, String timeZoneId, boolean allDay, String recurrence, long firstReminder, String firstReminderType, long secondReminder, String secondReminderType, com.liferay.portal.kernel.service.ServiceContext serviceContext) static CalendarBooking
addCalendarBooking
(long calendarId, long[] childCalendarIds, long parentCalendarBookingId, long recurringCalendarBookingId, Map<Locale, String> titleMap, Map<Locale, String> descriptionMap, String location, long startTime, long endTime, boolean allDay, String recurrence, long firstReminder, String firstReminderType, long secondReminder, String secondReminderType, com.liferay.portal.kernel.service.ServiceContext serviceContext) static CalendarBooking
deleteCalendarBooking
(long calendarBookingId) static void
deleteCalendarBookingInstance
(long calendarBookingId, int instanceIndex, boolean allFollowing) static void
deleteCalendarBookingInstance
(long calendarBookingId, int instanceIndex, boolean allFollowing, boolean deleteRecurringCalendarBookings) static void
deleteCalendarBookingInstance
(long calendarBookingId, long startTime, boolean allFollowing) static String
exportCalendarBooking
(long calendarBookingId, String type) static CalendarBooking
fetchCalendarBooking
(long calendarBookingId) static CalendarBooking
getCalendarBooking
(long calendarBookingId) static CalendarBooking
getCalendarBooking
(long calendarId, long parentCalendarBookingId) static CalendarBooking
getCalendarBookingInstance
(long calendarBookingId, int instanceIndex) static List<CalendarBooking>
getCalendarBookings
(long calendarId, int[] statuses) static List<CalendarBooking>
getCalendarBookings
(long calendarId, long startTime, long endTime) static List<CalendarBooking>
getCalendarBookings
(long calendarId, long startTime, long endTime, int max) static String
getCalendarBookingsRSS
(long calendarId, long startTime, long endTime, int max, String type, double version, String displayStyle, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) static List<CalendarBooking>
getChildCalendarBookings
(long parentCalendarBookingId) static List<CalendarBooking>
getChildCalendarBookings
(long parentCalendarBookingId, boolean includeStagingCalendarBookings) static List<CalendarBooking>
getChildCalendarBookings
(long parentCalendarBookingId, int status) static CalendarBooking
getLastInstanceCalendarBooking
(long calendarBookingId) static CalendarBooking
getNewStartTimeAndDurationCalendarBooking
(long calendarBookingId, long offset, long duration) static String
Returns the OSGi service identifier.static CalendarBookingService
static boolean
hasChildCalendarBookings
(long parentCalendarBookingId) static CalendarBooking
invokeTransition
(long calendarBookingId, int instanceIndex, int status, boolean updateInstance, boolean allFollowing, com.liferay.portal.kernel.service.ServiceContext serviceContext) static CalendarBooking
invokeTransition
(long calendarBookingId, long startTime, int status, boolean updateInstance, boolean allFollowing, com.liferay.portal.kernel.service.ServiceContext serviceContext) static CalendarBooking
moveCalendarBookingToTrash
(long calendarBookingId) static CalendarBooking
restoreCalendarBookingFromTrash
(long calendarBookingId) static List<CalendarBooking>
search
(long companyId, long[] groupIds, long[] calendarIds, long[] calendarResourceIds, long parentCalendarBookingId, String keywords, long startTime, long endTime, TimeZone displayTimeZone, boolean recurring, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) static List<CalendarBooking>
search
(long companyId, long[] groupIds, long[] calendarIds, long[] calendarResourceIds, long parentCalendarBookingId, String title, String description, String location, long startTime, long endTime, boolean recurring, int[] statuses, boolean andOperator, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) static int
searchCount
(long companyId, long[] groupIds, long[] calendarIds, long[] calendarResourceIds, long parentCalendarBookingId, String keywords, long startTime, long endTime, boolean recurring, int[] statuses) static int
searchCount
(long companyId, long[] groupIds, long[] calendarIds, long[] calendarResourceIds, long parentCalendarBookingId, String title, String description, String location, long startTime, long endTime, boolean recurring, int[] statuses, boolean andOperator) static CalendarBooking
updateCalendarBooking
(long calendarBookingId, long calendarId, long[] childCalendarIds, Map<Locale, String> titleMap, Map<Locale, String> descriptionMap, String location, long startTime, long endTime, boolean allDay, String recurrence, long firstReminder, String firstReminderType, long secondReminder, String secondReminderType, com.liferay.portal.kernel.service.ServiceContext serviceContext) static CalendarBooking
updateCalendarBooking
(long calendarBookingId, long calendarId, Map<Locale, String> titleMap, Map<Locale, String> descriptionMap, String location, long startTime, long endTime, boolean allDay, String recurrence, long firstReminder, String firstReminderType, long secondReminder, String secondReminderType, com.liferay.portal.kernel.service.ServiceContext serviceContext) static CalendarBooking
updateCalendarBookingInstance
(long calendarBookingId, int instanceIndex, long calendarId, long[] childCalendarIds, Map<Locale, String> titleMap, Map<Locale, String> descriptionMap, String location, long startTime, long endTime, boolean allDay, boolean allFollowing, long firstReminder, String firstReminderType, long secondReminder, String secondReminderType, com.liferay.portal.kernel.service.ServiceContext serviceContext) static CalendarBooking
updateCalendarBookingInstance
(long calendarBookingId, int instanceIndex, long calendarId, long[] childCalendarIds, Map<Locale, String> titleMap, Map<Locale, String> descriptionMap, String location, long startTime, long endTime, boolean allDay, String recurrence, boolean allFollowing, long firstReminder, String firstReminderType, long secondReminder, String secondReminderType, com.liferay.portal.kernel.service.ServiceContext serviceContext) static CalendarBooking
updateCalendarBookingInstance
(long calendarBookingId, int instanceIndex, long calendarId, Map<Locale, String> titleMap, Map<Locale, String> descriptionMap, String location, int startTimeYear, int startTimeMonth, int startTimeDay, int startTimeHour, int startTimeMinute, int endTimeYear, int endTimeMonth, int endTimeDay, int endTimeHour, int endTimeMinute, String timeZoneId, boolean allDay, String recurrence, boolean allFollowing, long firstReminder, String firstReminderType, long secondReminder, String secondReminderType, com.liferay.portal.kernel.service.ServiceContext serviceContext) static CalendarBooking
updateCalendarBookingInstance
(long calendarBookingId, int instanceIndex, long calendarId, Map<Locale, String> titleMap, Map<Locale, String> descriptionMap, String location, long startTime, long endTime, boolean allDay, String recurrence, boolean allFollowing, long firstReminder, String firstReminderType, long secondReminder, String secondReminderType, com.liferay.portal.kernel.service.ServiceContext serviceContext) static void
updateLastInstanceCalendarBookingRecurrence
(long calendarBookingId, String recurrence) static CalendarBooking
updateOffsetAndDuration
(long calendarBookingId, long calendarId, long[] childCalendarIds, Map<Locale, String> titleMap, Map<Locale, String> descriptionMap, String location, long offset, long duration, boolean allDay, String recurrence, long firstReminder, String firstReminderType, long secondReminder, String secondReminderType, com.liferay.portal.kernel.service.ServiceContext serviceContext) static CalendarBooking
updateOffsetAndDuration
(long calendarBookingId, long calendarId, Map<Locale, String> titleMap, Map<Locale, String> descriptionMap, String location, long offset, long duration, boolean allDay, String recurrence, long firstReminder, String firstReminderType, long secondReminder, String secondReminderType, com.liferay.portal.kernel.service.ServiceContext serviceContext) static CalendarBooking
updateRecurringCalendarBooking
(long calendarBookingId, long calendarId, long[] childCalendarIds, Map<Locale, String> titleMap, Map<Locale, String> descriptionMap, String location, long startTime, long endTime, boolean allDay, long firstReminder, String firstReminderType, long secondReminder, String secondReminderType, com.liferay.portal.kernel.service.ServiceContext serviceContext)
-
Constructor Details
-
CalendarBookingServiceUtil
public CalendarBookingServiceUtil()
-
-
Method Details
-
addCalendarBooking
public static CalendarBooking addCalendarBooking(long calendarId, long[] childCalendarIds, long parentCalendarBookingId, long recurringCalendarBookingId, Map<Locale, String> titleMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap, String location, int startTimeYear, int startTimeMonth, int startTimeDay, int startTimeHour, int startTimeMinute, int endTimeYear, int endTimeMonth, int endTimeDay, int endTimeHour, int endTimeMinute, String timeZoneId, boolean allDay, String recurrence, long firstReminder, String firstReminderType, long secondReminder, String secondReminderType, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addCalendarBooking
public static CalendarBooking addCalendarBooking(long calendarId, long[] childCalendarIds, long parentCalendarBookingId, long recurringCalendarBookingId, Map<Locale, String> titleMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap, String location, long startTime, long endTime, boolean allDay, String recurrence, long firstReminder, String firstReminderType, long secondReminder, String secondReminderType, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCalendarBooking
public static CalendarBooking deleteCalendarBooking(long calendarBookingId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCalendarBookingInstance
public static void deleteCalendarBookingInstance(long calendarBookingId, int instanceIndex, boolean allFollowing) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCalendarBookingInstance
public static void deleteCalendarBookingInstance(long calendarBookingId, int instanceIndex, boolean allFollowing, boolean deleteRecurringCalendarBookings) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCalendarBookingInstance
public static void deleteCalendarBookingInstance(long calendarBookingId, long startTime, boolean allFollowing) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
exportCalendarBooking
- Throws:
Exception
-
fetchCalendarBooking
public static CalendarBooking fetchCalendarBooking(long calendarBookingId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCalendarBooking
public static CalendarBooking getCalendarBooking(long calendarBookingId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCalendarBooking
public static CalendarBooking getCalendarBooking(long calendarId, long parentCalendarBookingId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCalendarBookingInstance
public static CalendarBooking getCalendarBookingInstance(long calendarBookingId, int instanceIndex) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCalendarBookings
public static List<CalendarBooking> getCalendarBookings(long calendarId, int[] statuses) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCalendarBookings
public static List<CalendarBooking> getCalendarBookings(long calendarId, long startTime, long endTime) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCalendarBookings
public static List<CalendarBooking> getCalendarBookings(long calendarId, long startTime, long endTime, int max) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCalendarBookingsRSS
public static String getCalendarBookingsRSS(long calendarId, long startTime, long endTime, int max, String type, double version, String displayStyle, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getChildCalendarBookings
public static List<CalendarBooking> getChildCalendarBookings(long parentCalendarBookingId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getChildCalendarBookings
public static List<CalendarBooking> getChildCalendarBookings(long parentCalendarBookingId, boolean includeStagingCalendarBookings) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getChildCalendarBookings
public static List<CalendarBooking> getChildCalendarBookings(long parentCalendarBookingId, int status) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getLastInstanceCalendarBooking
public static CalendarBooking getLastInstanceCalendarBooking(long calendarBookingId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getNewStartTimeAndDurationCalendarBooking
public static CalendarBooking getNewStartTimeAndDurationCalendarBooking(long calendarBookingId, long offset, long duration) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
hasChildCalendarBookings
public static boolean hasChildCalendarBookings(long parentCalendarBookingId) -
invokeTransition
public static CalendarBooking invokeTransition(long calendarBookingId, int instanceIndex, int status, boolean updateInstance, boolean allFollowing, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
invokeTransition
public static CalendarBooking invokeTransition(long calendarBookingId, long startTime, int status, boolean updateInstance, boolean allFollowing, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
moveCalendarBookingToTrash
public static CalendarBooking moveCalendarBookingToTrash(long calendarBookingId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
restoreCalendarBookingFromTrash
public static CalendarBooking restoreCalendarBookingFromTrash(long calendarBookingId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
search
public static List<CalendarBooking> search(long companyId, long[] groupIds, long[] calendarIds, long[] calendarResourceIds, long parentCalendarBookingId, String keywords, long startTime, long endTime, TimeZone displayTimeZone, boolean recurring, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
search
public static List<CalendarBooking> search(long companyId, long[] groupIds, long[] calendarIds, long[] calendarResourceIds, long parentCalendarBookingId, String title, String description, String location, long startTime, long endTime, boolean recurring, int[] statuses, boolean andOperator, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
searchCount
public static int searchCount(long companyId, long[] groupIds, long[] calendarIds, long[] calendarResourceIds, long parentCalendarBookingId, String keywords, long startTime, long endTime, boolean recurring, int[] statuses) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
searchCount
public static int searchCount(long companyId, long[] groupIds, long[] calendarIds, long[] calendarResourceIds, long parentCalendarBookingId, String title, String description, String location, long startTime, long endTime, boolean recurring, int[] statuses, boolean andOperator) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCalendarBooking
public static CalendarBooking updateCalendarBooking(long calendarBookingId, long calendarId, long[] childCalendarIds, Map<Locale, String> titleMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap, String location, long startTime, long endTime, boolean allDay, String recurrence, long firstReminder, String firstReminderType, long secondReminder, String secondReminderType, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCalendarBooking
public static CalendarBooking updateCalendarBooking(long calendarBookingId, long calendarId, Map<Locale, String> titleMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap, String location, long startTime, long endTime, boolean allDay, String recurrence, long firstReminder, String firstReminderType, long secondReminder, String secondReminderType, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCalendarBookingInstance
public static CalendarBooking updateCalendarBookingInstance(long calendarBookingId, int instanceIndex, long calendarId, long[] childCalendarIds, Map<Locale, String> titleMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap, String location, long startTime, long endTime, boolean allDay, boolean allFollowing, long firstReminder, String firstReminderType, long secondReminder, String secondReminderType, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCalendarBookingInstance
public static CalendarBooking updateCalendarBookingInstance(long calendarBookingId, int instanceIndex, long calendarId, long[] childCalendarIds, Map<Locale, String> titleMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap, String location, long startTime, long endTime, boolean allDay, String recurrence, boolean allFollowing, long firstReminder, String firstReminderType, long secondReminder, String secondReminderType, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCalendarBookingInstance
public static CalendarBooking updateCalendarBookingInstance(long calendarBookingId, int instanceIndex, long calendarId, Map<Locale, String> titleMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap, String location, int startTimeYear, int startTimeMonth, int startTimeDay, int startTimeHour, int startTimeMinute, int endTimeYear, int endTimeMonth, int endTimeDay, int endTimeHour, int endTimeMinute, String timeZoneId, boolean allDay, String recurrence, boolean allFollowing, long firstReminder, String firstReminderType, long secondReminder, String secondReminderType, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCalendarBookingInstance
public static CalendarBooking updateCalendarBookingInstance(long calendarBookingId, int instanceIndex, long calendarId, Map<Locale, String> titleMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap, String location, long startTime, long endTime, boolean allDay, String recurrence, boolean allFollowing, long firstReminder, String firstReminderType, long secondReminder, String secondReminderType, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateLastInstanceCalendarBookingRecurrence
public static void updateLastInstanceCalendarBookingRecurrence(long calendarBookingId, String recurrence) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateOffsetAndDuration
public static CalendarBooking updateOffsetAndDuration(long calendarBookingId, long calendarId, long[] childCalendarIds, Map<Locale, String> titleMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap, String location, long offset, long duration, boolean allDay, String recurrence, long firstReminder, String firstReminderType, long secondReminder, String secondReminderType, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateOffsetAndDuration
public static CalendarBooking updateOffsetAndDuration(long calendarBookingId, long calendarId, Map<Locale, String> titleMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap, String location, long offset, long duration, boolean allDay, String recurrence, long firstReminder, String firstReminderType, long secondReminder, String secondReminderType, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateRecurringCalendarBooking
public static CalendarBooking updateRecurringCalendarBooking(long calendarBookingId, long calendarId, long[] childCalendarIds, Map<Locale, String> titleMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap, String location, long startTime, long endTime, boolean allDay, long firstReminder, String firstReminderType, long secondReminder, String secondReminderType, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getService
-