com.liferay.portlet.calendar.service
Interface CalEventService
- All Known Implementing Classes:
- CalEventServiceWrapper
@JSONWebService
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface CalEventService
The interface for the cal event remote service.
This is a remote service. 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:
CalEventServiceUtil
,
com.liferay.portlet.calendar.service.base.CalEventServiceBaseImpl
,
com.liferay.portlet.calendar.service.impl.CalEventServiceImpl
Method Summary |
CalEvent |
addEvent(String title,
String description,
String location,
int startDateMonth,
int startDateDay,
int startDateYear,
int startDateHour,
int startDateMinute,
int endDateMonth,
int endDateDay,
int endDateYear,
int durationHour,
int durationMinute,
boolean allDay,
boolean timeZoneSensitive,
String type,
boolean repeating,
TZSRecurrence recurrence,
int remindBy,
int firstReminder,
int secondReminder,
ServiceContext serviceContext)
|
void |
deleteEvent(long eventId)
|
File |
exportEvent(long eventId)
|
File |
exportGroupEvents(long groupId,
String fileName)
|
CalEvent |
getEvent(long eventId)
|
List<CalEvent> |
getEvents(long groupId,
Calendar cal,
String type)
|
List<CalEvent> |
getEvents(long groupId,
Calendar cal,
String[] types)
|
List<CalEvent> |
getEvents(long groupId,
String[] types,
int start,
int end)
|
List<CalEvent> |
getEvents(long groupId,
String type,
int start,
int end)
|
int |
getEventsCount(long groupId,
String type)
|
int |
getEventsCount(long groupId,
String[] types)
|
boolean |
hasEvents(long groupId,
Calendar cal)
|
boolean |
hasEvents(long groupId,
Calendar cal,
String type)
|
boolean |
hasEvents(long groupId,
Calendar cal,
String[] types)
|
void |
importICal4j(long groupId,
InputStream inputStream)
|
CalEvent |
updateEvent(long eventId,
String title,
String description,
String location,
int startDateMonth,
int startDateDay,
int startDateYear,
int startDateHour,
int startDateMinute,
int endDateMonth,
int endDateDay,
int endDateYear,
int durationHour,
int durationMinute,
boolean allDay,
boolean timeZoneSensitive,
String type,
boolean repeating,
TZSRecurrence recurrence,
int remindBy,
int firstReminder,
int secondReminder,
ServiceContext serviceContext)
|
addEvent
CalEvent addEvent(String title,
String description,
String location,
int startDateMonth,
int startDateDay,
int startDateYear,
int startDateHour,
int startDateMinute,
int endDateMonth,
int endDateDay,
int endDateYear,
int durationHour,
int durationMinute,
boolean allDay,
boolean timeZoneSensitive,
String type,
boolean repeating,
TZSRecurrence recurrence,
int remindBy,
int firstReminder,
int secondReminder,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteEvent
void deleteEvent(long eventId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
exportEvent
File exportEvent(long eventId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
exportGroupEvents
File exportGroupEvents(long groupId,
String fileName)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getEvent
@Transactional(propagation=SUPPORTS,
readOnly=true)
CalEvent getEvent(long eventId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getEvents
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<CalEvent> getEvents(long groupId,
Calendar cal,
String type)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getEvents
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<CalEvent> getEvents(long groupId,
Calendar cal,
String[] types)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getEvents
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<CalEvent> getEvents(long groupId,
String type,
int start,
int end)
throws SystemException
- Throws:
SystemException
getEvents
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<CalEvent> getEvents(long groupId,
String[] types,
int start,
int end)
throws SystemException
- Throws:
SystemException
getEventsCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getEventsCount(long groupId,
String type)
throws SystemException
- Throws:
SystemException
getEventsCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getEventsCount(long groupId,
String[] types)
throws SystemException
- Throws:
SystemException
hasEvents
@Transactional(propagation=SUPPORTS,
readOnly=true)
boolean hasEvents(long groupId,
Calendar cal)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
hasEvents
@Transactional(propagation=SUPPORTS,
readOnly=true)
boolean hasEvents(long groupId,
Calendar cal,
String type)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
hasEvents
@Transactional(propagation=SUPPORTS,
readOnly=true)
boolean hasEvents(long groupId,
Calendar cal,
String[] types)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
importICal4j
void importICal4j(long groupId,
InputStream inputStream)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateEvent
CalEvent updateEvent(long eventId,
String title,
String description,
String location,
int startDateMonth,
int startDateDay,
int startDateYear,
int startDateHour,
int startDateMinute,
int endDateMonth,
int endDateDay,
int endDateYear,
int durationHour,
int durationMinute,
boolean allDay,
boolean timeZoneSensitive,
String type,
boolean repeating,
TZSRecurrence recurrence,
int remindBy,
int firstReminder,
int secondReminder,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException