@ProviderType
public class CalendarBookingServiceUtil
extends java.lang.Object
com.liferay.calendar.service.impl.CalendarBookingServiceImpl
and is the
primary 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.CalendarBookingService
,
com.liferay.calendar.service.base.CalendarBookingServiceBaseImpl
,
com.liferay.calendar.service.impl.CalendarBookingServiceImpl
Constructor and Description |
---|
CalendarBookingServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static CalendarBooking |
addCalendarBooking(long calendarId,
long[] childCalendarIds,
long parentCalendarBookingId,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.lang.String location,
int startTimeYear,
int startTimeMonth,
int startTimeDay,
int startTimeHour,
int startTimeMinute,
int endTimeYear,
int endTimeMonth,
int endTimeDay,
int endTimeHour,
int endTimeMinute,
java.lang.String timeZoneId,
boolean allDay,
java.lang.String recurrence,
long firstReminder,
java.lang.String firstReminderType,
long secondReminder,
java.lang.String secondReminderType,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CalendarBooking |
addCalendarBooking(long calendarId,
long[] childCalendarIds,
long parentCalendarBookingId,
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,
java.lang.String recurrence,
long firstReminder,
java.lang.String firstReminderType,
long secondReminder,
java.lang.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,
long startTime,
boolean allFollowing) |
static java.lang.String |
exportCalendarBooking(long calendarBookingId,
java.lang.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 java.util.List<CalendarBooking> |
getCalendarBookings(long calendarId,
int[] statuses) |
static java.util.List<CalendarBooking> |
getCalendarBookings(long calendarId,
long startTime,
long endTime) |
static java.util.List<CalendarBooking> |
getCalendarBookings(long calendarId,
long startTime,
long endTime,
int max) |
static java.lang.String |
getCalendarBookingsRSS(long calendarId,
long startTime,
long endTime,
int max,
java.lang.String type,
double version,
java.lang.String displayStyle,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) |
static java.util.List<CalendarBooking> |
getChildCalendarBookings(long parentCalendarBookingId) |
static java.util.List<CalendarBooking> |
getChildCalendarBookings(long parentCalendarBookingId,
int status) |
static CalendarBooking |
getNewStartTimeAndDurationCalendarBooking(long calendarBookingId,
long offset,
long duration) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static CalendarBookingService |
getService() |
static boolean |
hasChildCalendarBookings(long parentCalendarBookingId) |
static void |
invokeTransition(long calendarBookingId,
int status,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CalendarBooking |
moveCalendarBookingToTrash(long calendarBookingId) |
static CalendarBooking |
restoreCalendarBookingFromTrash(long calendarBookingId) |
static java.util.List<CalendarBooking> |
search(long companyId,
long[] groupIds,
long[] calendarIds,
long[] calendarResourceIds,
long parentCalendarBookingId,
java.lang.String keywords,
long startTime,
long endTime,
boolean recurring,
int[] statuses,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) |
static java.util.List<CalendarBooking> |
search(long companyId,
long[] groupIds,
long[] calendarIds,
long[] calendarResourceIds,
long parentCalendarBookingId,
java.lang.String title,
java.lang.String description,
java.lang.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,
java.lang.String keywords,
long startTime,
long endTime,
boolean recurring,
int[] statuses) |
static int |
searchCount(long companyId,
long[] groupIds,
long[] calendarIds,
long[] calendarResourceIds,
long parentCalendarBookingId,
java.lang.String title,
java.lang.String description,
java.lang.String location,
long startTime,
long endTime,
boolean recurring,
int[] statuses,
boolean andOperator) |
static CalendarBooking |
updateCalendarBooking(long calendarBookingId,
long calendarId,
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,
java.lang.String recurrence,
long firstReminder,
java.lang.String firstReminderType,
long secondReminder,
java.lang.String secondReminderType,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CalendarBooking |
updateCalendarBooking(long calendarBookingId,
long calendarId,
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,
java.lang.String recurrence,
long firstReminder,
java.lang.String firstReminderType,
long secondReminder,
java.lang.String secondReminderType,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CalendarBooking |
updateCalendarBookingInstance(long calendarBookingId,
int instanceIndex,
long calendarId,
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,
java.lang.String recurrence,
boolean allFollowing,
long firstReminder,
java.lang.String firstReminderType,
long secondReminder,
java.lang.String secondReminderType,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CalendarBooking |
updateCalendarBookingInstance(long calendarBookingId,
int instanceIndex,
long calendarId,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.lang.String location,
int startTimeYear,
int startTimeMonth,
int startTimeDay,
int startTimeHour,
int startTimeMinute,
int endTimeYear,
int endTimeMonth,
int endTimeDay,
int endTimeHour,
int endTimeMinute,
java.lang.String timeZoneId,
boolean allDay,
java.lang.String recurrence,
boolean allFollowing,
long firstReminder,
java.lang.String firstReminderType,
long secondReminder,
java.lang.String secondReminderType,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CalendarBooking |
updateCalendarBookingInstance(long calendarBookingId,
int instanceIndex,
long calendarId,
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,
java.lang.String recurrence,
boolean allFollowing,
long firstReminder,
java.lang.String firstReminderType,
long secondReminder,
java.lang.String secondReminderType,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CalendarBooking |
updateOffsetAndDuration(long calendarBookingId,
long calendarId,
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 offset,
long duration,
boolean allDay,
java.lang.String recurrence,
long firstReminder,
java.lang.String firstReminderType,
long secondReminder,
java.lang.String secondReminderType,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CalendarBooking |
updateOffsetAndDuration(long calendarBookingId,
long calendarId,
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 offset,
long duration,
boolean allDay,
java.lang.String recurrence,
long firstReminder,
java.lang.String firstReminderType,
long secondReminder,
java.lang.String secondReminderType,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
public static boolean hasChildCalendarBookings(long parentCalendarBookingId)
public static CalendarBooking addCalendarBooking(long calendarId, long[] childCalendarIds, long parentCalendarBookingId, java.util.Map<java.util.Locale,java.lang.String> titleMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, java.lang.String location, int startTimeYear, int startTimeMonth, int startTimeDay, int startTimeHour, int startTimeMinute, int endTimeYear, int endTimeMonth, int endTimeDay, int endTimeHour, int endTimeMinute, java.lang.String timeZoneId, boolean allDay, java.lang.String recurrence, long firstReminder, java.lang.String firstReminderType, long secondReminder, java.lang.String secondReminderType, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CalendarBooking addCalendarBooking(long calendarId, long[] childCalendarIds, long parentCalendarBookingId, 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, java.lang.String recurrence, long firstReminder, java.lang.String firstReminderType, long secondReminder, java.lang.String secondReminderType, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CalendarBooking deleteCalendarBooking(long calendarBookingId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CalendarBooking fetchCalendarBooking(long calendarBookingId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CalendarBooking getCalendarBooking(long calendarBookingId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CalendarBooking getCalendarBooking(long calendarId, long parentCalendarBookingId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CalendarBooking getCalendarBookingInstance(long calendarBookingId, int instanceIndex) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CalendarBooking getNewStartTimeAndDurationCalendarBooking(long calendarBookingId, long offset, long duration) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CalendarBooking moveCalendarBookingToTrash(long calendarBookingId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CalendarBooking restoreCalendarBookingFromTrash(long calendarBookingId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CalendarBooking updateCalendarBooking(long calendarBookingId, long calendarId, 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, java.lang.String recurrence, long firstReminder, java.lang.String firstReminderType, long secondReminder, java.lang.String secondReminderType, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CalendarBooking updateCalendarBooking(long calendarBookingId, long calendarId, 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, java.lang.String recurrence, long firstReminder, java.lang.String firstReminderType, long secondReminder, java.lang.String secondReminderType, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CalendarBooking updateCalendarBookingInstance(long calendarBookingId, int instanceIndex, long calendarId, java.util.Map<java.util.Locale,java.lang.String> titleMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, java.lang.String location, int startTimeYear, int startTimeMonth, int startTimeDay, int startTimeHour, int startTimeMinute, int endTimeYear, int endTimeMonth, int endTimeDay, int endTimeHour, int endTimeMinute, java.lang.String timeZoneId, boolean allDay, java.lang.String recurrence, boolean allFollowing, long firstReminder, java.lang.String firstReminderType, long secondReminder, java.lang.String secondReminderType, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CalendarBooking updateCalendarBookingInstance(long calendarBookingId, int instanceIndex, long calendarId, 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, java.lang.String recurrence, boolean allFollowing, long firstReminder, java.lang.String firstReminderType, long secondReminder, java.lang.String secondReminderType, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CalendarBooking updateCalendarBookingInstance(long calendarBookingId, int instanceIndex, long calendarId, 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, java.lang.String recurrence, boolean allFollowing, long firstReminder, java.lang.String firstReminderType, long secondReminder, java.lang.String secondReminderType, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CalendarBooking updateOffsetAndDuration(long calendarBookingId, long calendarId, 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 offset, long duration, boolean allDay, java.lang.String recurrence, long firstReminder, java.lang.String firstReminderType, long secondReminder, java.lang.String secondReminderType, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CalendarBooking updateOffsetAndDuration(long calendarBookingId, long calendarId, 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 offset, long duration, boolean allDay, java.lang.String recurrence, long firstReminder, java.lang.String firstReminderType, long secondReminder, java.lang.String secondReminderType, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int searchCount(long companyId, long[] groupIds, long[] calendarIds, long[] calendarResourceIds, long parentCalendarBookingId, java.lang.String keywords, long startTime, long endTime, boolean recurring, int[] statuses) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int searchCount(long companyId, long[] groupIds, long[] calendarIds, long[] calendarResourceIds, long parentCalendarBookingId, java.lang.String title, java.lang.String description, java.lang.String location, long startTime, long endTime, boolean recurring, int[] statuses, boolean andOperator) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.lang.String exportCalendarBooking(long calendarBookingId, java.lang.String type) throws java.lang.Exception
java.lang.Exception
public static java.lang.String getCalendarBookingsRSS(long calendarId, long startTime, long endTime, int max, java.lang.String type, double version, java.lang.String displayStyle, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.lang.String getOSGiServiceIdentifier()
public static java.util.List<CalendarBooking> getCalendarBookings(long calendarId, int[] statuses) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<CalendarBooking> getCalendarBookings(long calendarId, long startTime, long endTime) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<CalendarBooking> getCalendarBookings(long calendarId, long startTime, long endTime, int max) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<CalendarBooking> getChildCalendarBookings(long parentCalendarBookingId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<CalendarBooking> getChildCalendarBookings(long parentCalendarBookingId, int status) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<CalendarBooking> search(long companyId, long[] groupIds, long[] calendarIds, long[] calendarResourceIds, long parentCalendarBookingId, java.lang.String keywords, long startTime, long endTime, boolean recurring, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<CalendarBooking> search(long companyId, long[] groupIds, long[] calendarIds, long[] calendarResourceIds, long parentCalendarBookingId, java.lang.String title, java.lang.String description, java.lang.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
com.liferay.portal.kernel.exception.PortalException
public static void deleteCalendarBookingInstance(long calendarBookingId, int instanceIndex, boolean allFollowing) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void deleteCalendarBookingInstance(long calendarBookingId, long startTime, boolean allFollowing) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void invokeTransition(long calendarBookingId, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CalendarBookingService getService()