com.liferay.portlet.calendar.service
Interface CalEventService


@Transactional(isolation=PORTAL,
               rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface CalEventService

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This interface defines the service. The default implementation is com.liferay.portlet.calendar.service.impl.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.

Author:
Brian Wing Shun Chan
See Also:
CalEventServiceUtil

Method Summary
 CalEvent addEvent(long plid, 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, com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy, int firstReminder, int secondReminder, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 CalEvent addEvent(long plid, 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, com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy, int firstReminder, int secondReminder, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 void deleteEvent(long eventId)
           
 java.io.File exportEvent(long eventId)
           
 java.io.File exportGroupEvents(long plid, java.lang.String fileName)
           
 CalEvent getEvent(long eventId)
           
 void importICal4j(long plid, 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, com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy, int firstReminder, int secondReminder)
           
 

Method Detail

addEvent

CalEvent addEvent(long plid,
                  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,
                  com.liferay.portal.kernel.cal.TZSRecurrence recurrence,
                  int remindBy,
                  int firstReminder,
                  int secondReminder,
                  boolean addCommunityPermissions,
                  boolean addGuestPermissions)
                  throws java.rmi.RemoteException,
                         com.liferay.portal.PortalException,
                         com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addEvent

CalEvent addEvent(long plid,
                  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,
                  com.liferay.portal.kernel.cal.TZSRecurrence recurrence,
                  int remindBy,
                  int firstReminder,
                  int secondReminder,
                  java.lang.String[] communityPermissions,
                  java.lang.String[] guestPermissions)
                  throws java.rmi.RemoteException,
                         com.liferay.portal.PortalException,
                         com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteEvent

void deleteEvent(long eventId)
                 throws java.rmi.RemoteException,
                        com.liferay.portal.PortalException,
                        com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException

exportEvent

java.io.File exportEvent(long eventId)
                         throws java.rmi.RemoteException,
                                com.liferay.portal.PortalException,
                                com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException

exportGroupEvents

java.io.File exportGroupEvents(long plid,
                               java.lang.String fileName)
                               throws java.rmi.RemoteException,
                                      com.liferay.portal.PortalException,
                                      com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getEvent

@Transactional(propagation=SUPPORTS,
               readOnly=true)
CalEvent getEvent(long eventId)
                  throws java.rmi.RemoteException,
                         com.liferay.portal.PortalException,
                         com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException

importICal4j

void importICal4j(long plid,
                  java.io.File file)
                  throws java.rmi.RemoteException,
                         com.liferay.portal.PortalException,
                         com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.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,
                     com.liferay.portal.kernel.cal.TZSRecurrence recurrence,
                     int remindBy,
                     int firstReminder,
                     int secondReminder)
                     throws java.rmi.RemoteException,
                            com.liferay.portal.PortalException,
                            com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException