@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface CalendarService
extends com.liferay.portal.kernel.service.BaseService
CalendarServiceUtil
,
com.liferay.calendar.service.base.CalendarServiceBaseImpl
,
com.liferay.calendar.service.impl.CalendarServiceImpl
Modifier and Type | Method and Description |
---|---|
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) |
Calendar |
deleteCalendar(long calendarId) |
java.lang.String |
exportCalendar(long calendarId,
java.lang.String type) |
Calendar |
fetchCalendar(long calendarId) |
Calendar |
getCalendar(long calendarId) |
java.util.List<Calendar> |
getCalendarResourceCalendars(long groupId,
long calendarResourceId) |
java.util.List<Calendar> |
getCalendarResourceCalendars(long groupId,
long calendarResourceId,
boolean defaultCalendar) |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
void |
importCalendar(long calendarId,
java.lang.String data,
java.lang.String type) |
boolean |
isManageableFromGroup(long calendarId,
long groupId) |
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.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) |
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.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) |
int |
searchCount(long companyId,
long[] groupIds,
long[] calendarResourceIds,
java.lang.String keywords,
boolean andOperator) |
int |
searchCount(long companyId,
long[] groupIds,
long[] calendarResourceIds,
java.lang.String keywords,
boolean andOperator,
java.lang.String actionId) |
int |
searchCount(long companyId,
long[] groupIds,
long[] calendarResourceIds,
java.lang.String name,
java.lang.String description,
boolean andOperator) |
int |
searchCount(long companyId,
long[] groupIds,
long[] calendarResourceIds,
java.lang.String name,
java.lang.String description,
boolean andOperator,
java.lang.String actionId) |
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) |
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) |
Calendar |
updateColor(long calendarId,
int color,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
@Transactional(propagation=SUPPORTS, readOnly=true) boolean isManageableFromGroup(long calendarId, long groupId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
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
Calendar deleteCalendar(long calendarId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) Calendar fetchCalendar(long calendarId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) Calendar getCalendar(long calendarId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
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
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
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
@Transactional(propagation=SUPPORTS, readOnly=true) 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
@Transactional(propagation=SUPPORTS, readOnly=true) 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
@Transactional(propagation=SUPPORTS, readOnly=true) 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
@Transactional(propagation=SUPPORTS, readOnly=true) 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
java.lang.String exportCalendar(long calendarId, java.lang.String type) throws java.lang.Exception
java.lang.Exception
java.lang.String getOSGiServiceIdentifier()
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<Calendar> getCalendarResourceCalendars(long groupId, long calendarResourceId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<Calendar> getCalendarResourceCalendars(long groupId, long calendarResourceId, boolean defaultCalendar) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) 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
@Transactional(propagation=SUPPORTS, readOnly=true) 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
@Transactional(propagation=SUPPORTS, readOnly=true) 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
@Transactional(propagation=SUPPORTS, readOnly=true) 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
void importCalendar(long calendarId, java.lang.String data, java.lang.String type) throws java.lang.Exception
java.lang.Exception