com.liferay.portlet.calendar.service.impl
Class CalEventServiceImpl
java.lang.Object
com.liferay.portal.service.impl.PrincipalBean
com.liferay.portlet.calendar.service.impl.CalEventServiceImpl
- All Implemented Interfaces:
- com.liferay.portlet.calendar.service.CalEventService
- public class CalEventServiceImpl
- extends PrincipalBean
- implements com.liferay.portlet.calendar.service.CalEventService
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
com.liferay.portlet.calendar.model.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)
|
com.liferay.portlet.calendar.model.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)
|
com.liferay.portlet.calendar.model.CalEvent |
getEvent(long eventId)
|
void |
importICal4j(long plid,
java.io.File file)
|
com.liferay.portlet.calendar.model.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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CalEventServiceImpl
public CalEventServiceImpl()
addEvent
public com.liferay.portlet.calendar.model.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.PortalException,
com.liferay.portal.SystemException
- Specified by:
addEvent
in interface com.liferay.portlet.calendar.service.CalEventService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addEvent
public com.liferay.portlet.calendar.model.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.PortalException,
com.liferay.portal.SystemException
- Specified by:
addEvent
in interface com.liferay.portlet.calendar.service.CalEventService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteEvent
public void deleteEvent(long eventId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
deleteEvent
in interface com.liferay.portlet.calendar.service.CalEventService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
exportEvent
public java.io.File exportEvent(long eventId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
exportEvent
in interface com.liferay.portlet.calendar.service.CalEventService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
exportGroupEvents
public java.io.File exportGroupEvents(long plid,
java.lang.String fileName)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
exportGroupEvents
in interface com.liferay.portlet.calendar.service.CalEventService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getEvent
public com.liferay.portlet.calendar.model.CalEvent getEvent(long eventId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
getEvent
in interface com.liferay.portlet.calendar.service.CalEventService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
importICal4j
public void importICal4j(long plid,
java.io.File file)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
importICal4j
in interface com.liferay.portlet.calendar.service.CalEventService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateEvent
public com.liferay.portlet.calendar.model.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.PortalException,
com.liferay.portal.SystemException
- Specified by:
updateEvent
in interface com.liferay.portlet.calendar.service.CalEventService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException