com.liferay.portlet.calendar.service.impl
Class CalEventServiceImpl

java.lang.Object
  extended by com.liferay.portal.service.base.PrincipalBean
      extended by com.liferay.portlet.calendar.service.base.CalEventServiceBaseImpl
          extended by com.liferay.portlet.calendar.service.impl.CalEventServiceImpl
All Implemented Interfaces:
com.liferay.portlet.calendar.service.CalEventService

public class CalEventServiceImpl
extends CalEventServiceBaseImpl

View Source

Author:
Brian Wing Shun Chan

Field Summary
 
Fields inherited from class com.liferay.portlet.calendar.service.base.CalEventServiceBaseImpl
calEventFinder, calEventLocalService, calEventPersistence, calEventService, companyLocalService, companyPersistence, companyService, counterLocalService, counterService, mailService, portletPreferencesFinder, portletPreferencesLocalService, portletPreferencesPersistence, portletPreferencesService, resourceFinder, resourceLocalService, resourcePersistence, resourceService, socialActivityFinder, socialActivityLocalService, socialActivityPersistence, userFinder, userLocalService, userPersistence, userService
 
Fields inherited from class com.liferay.portal.service.base.PrincipalBean
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
 
Constructor Summary
CalEventServiceImpl()
           
 
Method Summary
 com.liferay.portlet.calendar.model.CalEvent addEvent(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.TZSRecurrence recurrence, java.lang.String remindBy, int firstReminder, int secondReminder, com.liferay.portal.service.ServiceContext serviceContext)
           
 void deleteEvent(long eventId)
           
 java.io.File exportEvent(long eventId)
           
 java.io.File exportGroupEvents(long groupId, java.lang.String fileName)
           
 com.liferay.portlet.calendar.model.CalEvent getEvent(long eventId)
           
 void importICal4j(long groupId, 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.TZSRecurrence recurrence, java.lang.String remindBy, int firstReminder, int secondReminder)
           
 
Methods inherited from class com.liferay.portlet.calendar.service.base.CalEventServiceBaseImpl
getCalEventFinder, getCalEventLocalService, getCalEventPersistence, getCalEventService, getCompanyLocalService, getCompanyPersistence, getCompanyService, getCounterLocalService, getCounterService, getMailService, getPortletPreferencesFinder, getPortletPreferencesLocalService, getPortletPreferencesPersistence, getPortletPreferencesService, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getSocialActivityFinder, getSocialActivityLocalService, getSocialActivityPersistence, getUserFinder, getUserLocalService, getUserPersistence, getUserService, setCalEventFinder, setCalEventLocalService, setCalEventPersistence, setCalEventService, setCompanyLocalService, setCompanyPersistence, setCompanyService, setCounterLocalService, setCounterService, setMailService, setPortletPreferencesFinder, setPortletPreferencesLocalService, setPortletPreferencesPersistence, setPortletPreferencesService, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setSocialActivityFinder, setSocialActivityLocalService, setSocialActivityPersistence, setUserFinder, setUserLocalService, setUserPersistence, setUserService
 
Methods inherited from class com.liferay.portal.service.base.PrincipalBean
getGuestOrUserId, getPermissionChecker, getUser, getUserId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CalEventServiceImpl

public CalEventServiceImpl()
Method Detail

addEvent

public com.liferay.portlet.calendar.model.CalEvent addEvent(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.TZSRecurrence recurrence,
                                                            java.lang.String remindBy,
                                                            int firstReminder,
                                                            int secondReminder,
                                                            com.liferay.portal.service.ServiceContext serviceContext)
                                                     throws com.liferay.portal.PortalException,
                                                            com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteEvent

public void deleteEvent(long eventId)
                 throws com.liferay.portal.PortalException,
                        com.liferay.portal.SystemException
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
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

exportGroupEvents

public java.io.File exportGroupEvents(long groupId,
                                      java.lang.String fileName)
                               throws com.liferay.portal.PortalException,
                                      com.liferay.portal.SystemException
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
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

importICal4j

public void importICal4j(long groupId,
                         java.io.File file)
                  throws com.liferay.portal.PortalException,
                         com.liferay.portal.SystemException
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.TZSRecurrence recurrence,
                                                               java.lang.String remindBy,
                                                               int firstReminder,
                                                               int secondReminder)
                                                        throws com.liferay.portal.PortalException,
                                                               com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException