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