1
22
23 package com.liferay.portlet.calendar.service;
24
25
26
50 public interface CalEventService {
51 public com.liferay.portlet.calendar.model.CalEvent addEvent(long plid,
52 java.lang.String title, java.lang.String description,
53 int startDateMonth, int startDateDay, int startDateYear,
54 int startDateHour, int startDateMinute, int endDateMonth,
55 int endDateDay, int endDateYear, int durationHour, int durationMinute,
56 boolean allDay, boolean timeZoneSensitive, java.lang.String type,
57 boolean repeating, com.liferay.portal.kernel.cal.Recurrence recurrence,
58 java.lang.String remindBy, int firstReminder, int secondReminder,
59 boolean addCommunityPermissions, boolean addGuestPermissions)
60 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
61 com.liferay.portal.SystemException;
62
63 public com.liferay.portlet.calendar.model.CalEvent addEvent(long plid,
64 java.lang.String title, java.lang.String description,
65 int startDateMonth, int startDateDay, int startDateYear,
66 int startDateHour, int startDateMinute, int endDateMonth,
67 int endDateDay, int endDateYear, int durationHour, int durationMinute,
68 boolean allDay, boolean timeZoneSensitive, java.lang.String type,
69 boolean repeating, com.liferay.portal.kernel.cal.Recurrence recurrence,
70 java.lang.String remindBy, int firstReminder, int secondReminder,
71 java.lang.String[] communityPermissions,
72 java.lang.String[] guestPermissions)
73 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
74 com.liferay.portal.SystemException;
75
76 public void deleteEvent(long eventId)
77 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
78 com.liferay.portal.SystemException;
79
80 public java.io.File exportEvent(long eventId)
81 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
82 com.liferay.portal.SystemException;
83
84 public java.io.File exportGroupEvents(long plid, java.lang.String fileName)
85 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
86 com.liferay.portal.SystemException;
87
88 public com.liferay.portlet.calendar.model.CalEvent getEvent(long eventId)
89 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
90 com.liferay.portal.SystemException;
91
92 public void importICal4j(long plid, java.io.File file)
93 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
94 com.liferay.portal.SystemException;
95
96 public com.liferay.portlet.calendar.model.CalEvent updateEvent(
97 long eventId, java.lang.String title, java.lang.String description,
98 int startDateMonth, int startDateDay, int startDateYear,
99 int startDateHour, int startDateMinute, int endDateMonth,
100 int endDateDay, int endDateYear, int durationHour, int durationMinute,
101 boolean allDay, boolean timeZoneSensitive, java.lang.String type,
102 boolean repeating, com.liferay.portal.kernel.cal.Recurrence recurrence,
103 java.lang.String remindBy, int firstReminder, int secondReminder)
104 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
105 com.liferay.portal.SystemException;
106 }