com.liferay.portlet.calendar.service
Interface CalEventService


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:
CalEventServiceFactory, 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.Recurrence recurrence, java.lang.String 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.Recurrence recurrence, java.lang.String 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.Recurrence recurrence, java.lang.String 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.Recurrence recurrence,
                  java.lang.String remindBy,
                  int firstReminder,
                  int secondReminder,
                  boolean addCommunityPermissions,
                  boolean addGuestPermissions)
                  throws java.rmi.RemoteException,
                         com.liferay.portal.SystemException,
                         com.liferay.portal.PortalException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException

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.Recurrence recurrence,
                  java.lang.String remindBy,
                  int firstReminder,
                  int secondReminder,
                  java.lang.String[] communityPermissions,
                  java.lang.String[] guestPermissions)
                  throws java.rmi.RemoteException,
                         com.liferay.portal.SystemException,
                         com.liferay.portal.PortalException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deleteEvent

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

exportEvent

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

exportGroupEvents

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

getEvent

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

importICal4j

void importICal4j(long plid,
                  java.io.File file)
                  throws java.rmi.RemoteException,
                         com.liferay.portal.SystemException,
                         com.liferay.portal.PortalException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException

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.Recurrence recurrence,
                     java.lang.String remindBy,
                     int firstReminder,
                     int secondReminder)
                     throws java.rmi.RemoteException,
                            com.liferay.portal.SystemException,
                            com.liferay.portal.PortalException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException