Liferay 6.1.2-ce-ga3

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

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

public class CalEventServiceImpl
extends CalEventServiceBaseImpl


Field Summary
 
Fields inherited from class com.liferay.portlet.calendar.service.base.CalEventServiceBaseImpl
assetEntryFinder, assetEntryLocalService, assetEntryPersistence, assetEntryService, assetLinkLocalService, assetLinkPersistence, assetTagFinder, assetTagLocalService, assetTagPersistence, assetTagService, calEventFinder, calEventLocalService, calEventPersistence, calEventService, companyLocalService, companyPersistence, companyService, counterLocalService, expandoValueLocalService, expandoValuePersistence, expandoValueService, groupFinder, groupLocalService, groupPersistence, groupService, mailService, mbMessageFinder, mbMessageLocalService, mbMessagePersistence, mbMessageService, portletPreferencesFinder, portletPreferencesLocalService, portletPreferencesPersistence, portletPreferencesService, resourceFinder, resourceLocalService, resourcePersistence, resourceService, socialActivityFinder, socialActivityLocalService, socialActivityPersistence, subscriptionLocalService, subscriptionPersistence, userFinder, userLocalService, userPersistence, userService
 
Fields inherited from class com.liferay.portal.service.BaseServiceImpl
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
 
Constructor Summary
CalEventServiceImpl()
           
 
Method Summary
 CalEvent addEvent(String title, String description, String location, int startDateMonth, int startDateDay, int startDateYear, int startDateHour, int startDateMinute, int durationHour, int durationMinute, boolean allDay, boolean timeZoneSensitive, String type, boolean repeating, TZSRecurrence recurrence, int remindBy, int firstReminder, int secondReminder, ServiceContext serviceContext)
           
 CalEvent addEvent(String title, String description, String location, int startDateMonth, int startDateDay, int startDateYear, int startDateHour, int startDateMinute, int endDateMonth, int endDateDay, int endDateYear, int durationHour, int durationMinute, boolean allDay, boolean timeZoneSensitive, String type, boolean repeating, TZSRecurrence recurrence, int remindBy, int firstReminder, int secondReminder, ServiceContext serviceContext)
          Deprecated. addEvent(String, String, String, int, int, int, int, int, int, int, boolean, boolean, String, boolean, TZSRecurrence, int, int, int, ServiceContext)
 void deleteEvent(long eventId)
           
 File exportEvent(long eventId)
           
 File exportGroupEvents(long groupId, String fileName)
           
 CalEvent getEvent(long eventId)
           
 List<CalEvent> getEvents(long groupId, Calendar cal, String type)
           
 List<CalEvent> getEvents(long groupId, Calendar cal, String[] types)
           
 List<CalEvent> getEvents(long groupId, String[] types, int start, int end)
           
 List<CalEvent> getEvents(long groupId, String type, int start, int end)
           
 int getEventsCount(long groupId, String type)
           
 int getEventsCount(long groupId, String[] types)
           
 boolean hasEvents(long groupId, Calendar cal)
           
 boolean hasEvents(long groupId, Calendar cal, String type)
           
 boolean hasEvents(long groupId, Calendar cal, String[] types)
           
 void importICal4j(long groupId, InputStream inputStream)
           
 CalEvent updateEvent(long eventId, String title, String description, String location, int startDateMonth, int startDateDay, int startDateYear, int startDateHour, int startDateMinute, int durationHour, int durationMinute, boolean allDay, boolean timeZoneSensitive, String type, boolean repeating, TZSRecurrence recurrence, int remindBy, int firstReminder, int secondReminder, ServiceContext serviceContext)
           
 CalEvent updateEvent(long eventId, String title, String description, String location, int startDateMonth, int startDateDay, int startDateYear, int startDateHour, int startDateMinute, int endDateMonth, int endDateDay, int endDateYear, int durationHour, int durationMinute, boolean allDay, boolean timeZoneSensitive, String type, boolean repeating, TZSRecurrence recurrence, int remindBy, int firstReminder, int secondReminder, ServiceContext serviceContext)
          Deprecated. updateEvent(long, String, String, String, int, int, int, int, int, int, int, boolean, boolean, String, boolean, TZSRecurrence, int, int, int, ServiceContext)
 
Methods inherited from class com.liferay.portlet.calendar.service.base.CalEventServiceBaseImpl
afterPropertiesSet, destroy, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getAssetEntryService, getAssetLinkLocalService, getAssetLinkPersistence, getAssetTagFinder, getAssetTagLocalService, getAssetTagPersistence, getAssetTagService, getBeanIdentifier, getCalEventFinder, getCalEventLocalService, getCalEventPersistence, getCalEventService, getCompanyLocalService, getCompanyPersistence, getCompanyService, getCounterLocalService, getExpandoValueLocalService, getExpandoValuePersistence, getExpandoValueService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getMailService, getMBMessageFinder, getMBMessageLocalService, getMBMessagePersistence, getMBMessageService, getModelClass, getModelClassName, getPortletPreferencesFinder, getPortletPreferencesLocalService, getPortletPreferencesPersistence, getPortletPreferencesService, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getSocialActivityFinder, getSocialActivityLocalService, getSocialActivityPersistence, getSubscriptionLocalService, getSubscriptionPersistence, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setAssetEntryFinder, setAssetEntryLocalService, setAssetEntryPersistence, setAssetEntryService, setAssetLinkLocalService, setAssetLinkPersistence, setAssetTagFinder, setAssetTagLocalService, setAssetTagPersistence, setAssetTagService, setBeanIdentifier, setCalEventFinder, setCalEventLocalService, setCalEventPersistence, setCalEventService, setCompanyLocalService, setCompanyPersistence, setCompanyService, setCounterLocalService, setExpandoValueLocalService, setExpandoValuePersistence, setExpandoValueService, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setMailService, setMBMessageFinder, setMBMessageLocalService, setMBMessagePersistence, setMBMessageService, setPortletPreferencesFinder, setPortletPreferencesLocalService, setPortletPreferencesPersistence, setPortletPreferencesService, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setSocialActivityFinder, setSocialActivityLocalService, setSocialActivityPersistence, setSubscriptionLocalService, setSubscriptionPersistence, setUserFinder, setUserLocalService, setUserPersistence, setUserService
 
Methods inherited from class com.liferay.portal.service.BaseServiceImpl
getClassLoader, getGuestOrUser, 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 CalEvent addEvent(String title,
                         String description,
                         String location,
                         int startDateMonth,
                         int startDateDay,
                         int startDateYear,
                         int startDateHour,
                         int startDateMinute,
                         int durationHour,
                         int durationMinute,
                         boolean allDay,
                         boolean timeZoneSensitive,
                         String type,
                         boolean repeating,
                         TZSRecurrence recurrence,
                         int remindBy,
                         int firstReminder,
                         int secondReminder,
                         ServiceContext serviceContext)
                  throws PortalException,
                         SystemException
Throws:
PortalException
SystemException

addEvent

public CalEvent addEvent(String title,
                         String description,
                         String location,
                         int startDateMonth,
                         int startDateDay,
                         int startDateYear,
                         int startDateHour,
                         int startDateMinute,
                         int endDateMonth,
                         int endDateDay,
                         int endDateYear,
                         int durationHour,
                         int durationMinute,
                         boolean allDay,
                         boolean timeZoneSensitive,
                         String type,
                         boolean repeating,
                         TZSRecurrence recurrence,
                         int remindBy,
                         int firstReminder,
                         int secondReminder,
                         ServiceContext serviceContext)
                  throws PortalException,
                         SystemException
Deprecated. addEvent(String, String, String, int, int, int, int, int, int, int, boolean, boolean, String, boolean, TZSRecurrence, int, int, int, ServiceContext)

Throws:
PortalException
SystemException

deleteEvent

public void deleteEvent(long eventId)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

exportEvent

public File exportEvent(long eventId)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

exportGroupEvents

public File exportGroupEvents(long groupId,
                              String fileName)
                       throws PortalException,
                              SystemException
Throws:
PortalException
SystemException

getEvent

public CalEvent getEvent(long eventId)
                  throws PortalException,
                         SystemException
Throws:
PortalException
SystemException

getEvents

public List<CalEvent> getEvents(long groupId,
                                Calendar cal,
                                String type)
                         throws PortalException,
                                SystemException
Throws:
PortalException
SystemException

getEvents

public List<CalEvent> getEvents(long groupId,
                                Calendar cal,
                                String[] types)
                         throws PortalException,
                                SystemException
Throws:
PortalException
SystemException

getEvents

public List<CalEvent> getEvents(long groupId,
                                String type,
                                int start,
                                int end)
                         throws SystemException
Throws:
SystemException

getEvents

public List<CalEvent> getEvents(long groupId,
                                String[] types,
                                int start,
                                int end)
                         throws SystemException
Throws:
SystemException

getEventsCount

public int getEventsCount(long groupId,
                          String type)
                   throws SystemException
Throws:
SystemException

getEventsCount

public int getEventsCount(long groupId,
                          String[] types)
                   throws SystemException
Throws:
SystemException

hasEvents

public boolean hasEvents(long groupId,
                         Calendar cal)
                  throws PortalException,
                         SystemException
Throws:
PortalException
SystemException

hasEvents

public boolean hasEvents(long groupId,
                         Calendar cal,
                         String type)
                  throws PortalException,
                         SystemException
Throws:
PortalException
SystemException

hasEvents

public boolean hasEvents(long groupId,
                         Calendar cal,
                         String[] types)
                  throws PortalException,
                         SystemException
Throws:
PortalException
SystemException

importICal4j

public void importICal4j(long groupId,
                         InputStream inputStream)
                  throws PortalException,
                         SystemException
Throws:
PortalException
SystemException

updateEvent

public CalEvent updateEvent(long eventId,
                            String title,
                            String description,
                            String location,
                            int startDateMonth,
                            int startDateDay,
                            int startDateYear,
                            int startDateHour,
                            int startDateMinute,
                            int durationHour,
                            int durationMinute,
                            boolean allDay,
                            boolean timeZoneSensitive,
                            String type,
                            boolean repeating,
                            TZSRecurrence recurrence,
                            int remindBy,
                            int firstReminder,
                            int secondReminder,
                            ServiceContext serviceContext)
                     throws PortalException,
                            SystemException
Throws:
PortalException
SystemException

updateEvent

public CalEvent updateEvent(long eventId,
                            String title,
                            String description,
                            String location,
                            int startDateMonth,
                            int startDateDay,
                            int startDateYear,
                            int startDateHour,
                            int startDateMinute,
                            int endDateMonth,
                            int endDateDay,
                            int endDateYear,
                            int durationHour,
                            int durationMinute,
                            boolean allDay,
                            boolean timeZoneSensitive,
                            String type,
                            boolean repeating,
                            TZSRecurrence recurrence,
                            int remindBy,
                            int firstReminder,
                            int secondReminder,
                            ServiceContext serviceContext)
                     throws PortalException,
                            SystemException
Deprecated. updateEvent(long, String, String, String, int, int, int, int, int, int, int, boolean, boolean, String, boolean, TZSRecurrence, int, int, int, ServiceContext)

Throws:
PortalException
SystemException

Liferay 6.1.2-ce-ga3