com.liferay.portlet.calendar.service
Interface CalEventService
- All Known Implementing Classes:
- CalEventServiceWrapper
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface CalEventService
The interface for the cal event remote service.
Never modify or reference this interface directly. Always use CalEventServiceUtil to access the cal event remote service. Add custom service methods to com.liferay.portlet.calendar.service.impl.CalEventServiceImpl and rerun ServiceBuilder to automatically copy the method declarations to this interface.
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.
- Author:
- Brian Wing Shun Chan
- See Also:
CalEventServiceUtil,
com.liferay.portlet.calendar.service.base.CalEventServiceBaseImpl,
com.liferay.portlet.calendar.service.impl.CalEventServiceImpl- Generated:
|
Method Summary |
CalEvent |
addEvent(java.lang.String title,
java.lang.String description,
int startDateMonth,
int startDateDay,
int startDateYear,
int startDateHour,
int startDateMinute,
int endDateMonth,
int endDateDay,
int endDateYear,
int durationHour,
int durationMinute,
boolean allDay,
boolean timeZoneSensitive,
java.lang.String type,
boolean repeating,
TZSRecurrence recurrence,
int remindBy,
int firstReminder,
int secondReminder,
ServiceContext serviceContext)
|
void |
deleteEvent(long eventId)
|
java.io.File |
exportEvent(long eventId)
|
java.io.File |
exportGroupEvents(long groupId,
java.lang.String fileName)
|
CalEvent |
getEvent(long eventId)
|
void |
importICal4j(long groupId,
java.io.File file)
|
CalEvent |
updateEvent(long eventId,
java.lang.String title,
java.lang.String description,
int startDateMonth,
int startDateDay,
int startDateYear,
int startDateHour,
int startDateMinute,
int endDateMonth,
int endDateDay,
int endDateYear,
int durationHour,
int durationMinute,
boolean allDay,
boolean timeZoneSensitive,
java.lang.String type,
boolean repeating,
TZSRecurrence recurrence,
int remindBy,
int firstReminder,
int secondReminder,
ServiceContext serviceContext)
|
addEvent
CalEvent addEvent(java.lang.String title,
java.lang.String description,
int startDateMonth,
int startDateDay,
int startDateYear,
int startDateHour,
int startDateMinute,
int endDateMonth,
int endDateDay,
int endDateYear,
int durationHour,
int durationMinute,
boolean allDay,
boolean timeZoneSensitive,
java.lang.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
java.io.File exportEvent(long eventId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
exportGroupEvents
java.io.File exportGroupEvents(long groupId,
java.lang.String fileName)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getEvent
@Transactional(propagation=SUPPORTS,
readOnly=true)
CalEvent getEvent(long eventId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
importICal4j
void importICal4j(long groupId,
java.io.File file)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateEvent
CalEvent updateEvent(long eventId,
java.lang.String title,
java.lang.String description,
int startDateMonth,
int startDateDay,
int startDateYear,
int startDateHour,
int startDateMinute,
int endDateMonth,
int endDateDay,
int endDateYear,
int durationHour,
int durationMinute,
boolean allDay,
boolean timeZoneSensitive,
java.lang.String type,
boolean repeating,
TZSRecurrence recurrence,
int remindBy,
int firstReminder,
int secondReminder,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException