Liferay 6.0.5

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

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 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.

See Also:
CalEventServiceUtil, CalEventServiceBaseImpl, CalEventServiceImpl
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)
           
 

Method Detail

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

Liferay 6.0.5