com.liferay.portlet.calendar.service
Interface CalEventService
- All Known Implementing Classes:
- CalEventServiceBaseImpl, CalEventServiceImpl, CalEventServiceWrapper
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface CalEventService
This interface defines the service. The default implementation is
CalEventServiceImpl.
Modify methods in that class and rerun ServiceBuilder to populate this class
and all other generated classes.
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- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
|
Method Summary |
CalEvent |
addEvent(String title,
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,
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)
|
void |
importICal4j(long groupId,
File file)
|
CalEvent |
updateEvent(long eventId,
String title,
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,
String type,
boolean repeating,
TZSRecurrence recurrence,
int remindBy,
int firstReminder,
int secondReminder,
ServiceContext serviceContext)
|
addEvent
CalEvent addEvent(String title,
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,
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
importICal4j
void importICal4j(long groupId,
File file)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateEvent
CalEvent updateEvent(long eventId,
String title,
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,
String type,
boolean repeating,
TZSRecurrence recurrence,
int remindBy,
int firstReminder,
int secondReminder,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException