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

public 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 com.liferay.portal.SystemException,
                         com.liferay.portal.PortalException,
                         java.rmi.RemoteException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
java.rmi.RemoteException

addEvent

public 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 com.liferay.portal.SystemException,
                         com.liferay.portal.PortalException,
                         java.rmi.RemoteException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
java.rmi.RemoteException

deleteEvent

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

exportEvent

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

exportGroupEvents

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

getEvent

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

importICal4j

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

updateEvent

public 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 com.liferay.portal.SystemException,
                            com.liferay.portal.PortalException,
                            java.rmi.RemoteException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
java.rmi.RemoteException