@ProviderType
public class CalendarServiceUtil
extends java.lang.Object
com.liferay.calendar.service.impl.CalendarServiceImpl
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.CalendarService
,
com.liferay.calendar.service.base.CalendarServiceBaseImpl
,
com.liferay.calendar.service.impl.CalendarServiceImpl
Constructor and Description |
---|
CalendarServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static Calendar |
addCalendar(long groupId,
long calendarResourceId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.lang.String timeZoneId,
int color,
boolean defaultCalendar,
boolean enableComments,
boolean enableRatings,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static Calendar |
deleteCalendar(long calendarId) |
static java.lang.String |
exportCalendar(long calendarId,
java.lang.String type) |
static Calendar |
fetchCalendar(long calendarId) |
static Calendar |
getCalendar(long calendarId) |
static java.util.List<Calendar> |
getCalendarResourceCalendars(long groupId,
long calendarResourceId) |
static java.util.List<Calendar> |
getCalendarResourceCalendars(long groupId,
long calendarResourceId,
boolean defaultCalendar) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static CalendarService |
getService() |
static void |
importCalendar(long calendarId,
java.lang.String data,
java.lang.String type) |
static boolean |
isManageableFromGroup(long calendarId,
long groupId) |
static java.util.List<Calendar> |
search(long companyId,
long[] groupIds,
long[] calendarResourceIds,
java.lang.String keywords,
boolean andOperator,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator) |
static java.util.List<Calendar> |
search(long companyId,
long[] groupIds,
long[] calendarResourceIds,
java.lang.String keywords,
boolean andOperator,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator,
java.lang.String actionId) |
static java.util.List<Calendar> |
search(long companyId,
long[] groupIds,
long[] calendarResourceIds,
java.lang.String name,
java.lang.String description,
boolean andOperator,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator) |
static java.util.List<Calendar> |
search(long companyId,
long[] groupIds,
long[] calendarResourceIds,
java.lang.String name,
java.lang.String description,
boolean andOperator,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator,
java.lang.String actionId) |
static int |
searchCount(long companyId,
long[] groupIds,
long[] calendarResourceIds,
java.lang.String keywords,
boolean andOperator) |
static int |
searchCount(long companyId,
long[] groupIds,
long[] calendarResourceIds,
java.lang.String keywords,
boolean andOperator,
java.lang.String actionId) |
static int |
searchCount(long companyId,
long[] groupIds,
long[] calendarResourceIds,
java.lang.String name,
java.lang.String description,
boolean andOperator) |
static int |
searchCount(long companyId,
long[] groupIds,
long[] calendarResourceIds,
java.lang.String name,
java.lang.String description,
boolean andOperator,
java.lang.String actionId) |
static Calendar |
updateCalendar(long calendarId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
int color,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static Calendar |
updateCalendar(long calendarId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.lang.String timeZoneId,
int color,
boolean defaultCalendar,
boolean enableComments,
boolean enableRatings,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static Calendar |
updateColor(long calendarId,
int color,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
public static boolean isManageableFromGroup(long calendarId, long groupId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static Calendar addCalendar(long groupId, long calendarResourceId, java.util.Map<java.util.Locale,java.lang.String> nameMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, java.lang.String timeZoneId, int color, boolean defaultCalendar, boolean enableComments, boolean enableRatings, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static Calendar deleteCalendar(long calendarId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static Calendar fetchCalendar(long calendarId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static Calendar getCalendar(long calendarId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static Calendar updateCalendar(long calendarId, java.util.Map<java.util.Locale,java.lang.String> nameMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, int color, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static Calendar updateCalendar(long calendarId, java.util.Map<java.util.Locale,java.lang.String> nameMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, java.lang.String timeZoneId, int color, boolean defaultCalendar, boolean enableComments, boolean enableRatings, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static Calendar updateColor(long calendarId, int color, 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[] calendarResourceIds, java.lang.String keywords, boolean andOperator) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int searchCount(long companyId, long[] groupIds, long[] calendarResourceIds, java.lang.String keywords, boolean andOperator, java.lang.String actionId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int searchCount(long companyId, long[] groupIds, long[] calendarResourceIds, java.lang.String name, java.lang.String description, boolean andOperator) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int searchCount(long companyId, long[] groupIds, long[] calendarResourceIds, java.lang.String name, java.lang.String description, boolean andOperator, java.lang.String actionId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.lang.String exportCalendar(long calendarId, java.lang.String type) throws java.lang.Exception
java.lang.Exception
public static java.lang.String getOSGiServiceIdentifier()
public static java.util.List<Calendar> getCalendarResourceCalendars(long groupId, long calendarResourceId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<Calendar> getCalendarResourceCalendars(long groupId, long calendarResourceId, boolean defaultCalendar) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<Calendar> search(long companyId, long[] groupIds, long[] calendarResourceIds, java.lang.String keywords, boolean andOperator, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<Calendar> search(long companyId, long[] groupIds, long[] calendarResourceIds, java.lang.String keywords, boolean andOperator, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator, java.lang.String actionId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<Calendar> search(long companyId, long[] groupIds, long[] calendarResourceIds, java.lang.String name, java.lang.String description, boolean andOperator, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<Calendar> search(long companyId, long[] groupIds, long[] calendarResourceIds, java.lang.String name, java.lang.String description, boolean andOperator, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator, java.lang.String actionId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void importCalendar(long calendarId, java.lang.String data, java.lang.String type) throws java.lang.Exception
java.lang.Exception
public static CalendarService getService()