Liferay 7.0-ce-b4

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

java.lang.Object
  extended by com.liferay.portal.service.BaseLocalServiceImpl
      extended by com.liferay.portlet.calendar.service.base.CalEventLocalServiceBaseImpl
          extended by com.liferay.portlet.calendar.service.impl.CalEventLocalServiceImpl
All Implemented Interfaces:
IdentifiableOSGiService, BaseLocalService, PersistedModelLocalService, CalEventLocalService

Deprecated. As of 7.0.0, with no direct replacement

@Deprecated
public class CalEventLocalServiceImpl
extends CalEventLocalServiceBaseImpl


Field Summary
protected  MailService mailService
          Deprecated.  
 
Fields inherited from class com.liferay.portlet.calendar.service.base.CalEventLocalServiceBaseImpl
assetEntryFinder, assetEntryLocalService, assetEntryPersistence, assetLinkLocalService, assetLinkPersistence, assetTagFinder, assetTagLocalService, assetTagPersistence, calEventFinder, calEventLocalService, calEventPersistence, classNameLocalService, classNamePersistence, companyLocalService, companyPersistence, counterLocalService, expandoValueLocalService, expandoValuePersistence, groupFinder, groupLocalService, groupPersistence, mbMessageFinder, mbMessageLocalService, mbMessagePersistence, persistedModelLocalServiceRegistry, portletPreferencesFinder, portletPreferencesLocalService, portletPreferencesPersistence, resourceLocalService, socialActivityFinder, socialActivityLocalService, socialActivityPersistence, subscriptionLocalService, subscriptionPersistence, userFinder, userLocalService, userPersistence
 
Constructor Summary
CalEventLocalServiceImpl()
          Deprecated.  
 
Method Summary
 CalEvent addEvent(long userId, 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)
          Deprecated.  
 CalEvent addEvent(long userId, 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. As of 6.2.0, replaced by addEvent(long, String, String, String, int, int, int, int, int, int, int, boolean, boolean, String, boolean, TZSRecurrence, int, int, int, ServiceContext)
 void addEventResources(CalEvent event, boolean addGroupPermissions, boolean addGuestPermissions)
          Deprecated.  
 void addEventResources(CalEvent event, ModelPermissions modelPermissions)
          Deprecated.  
 void addEventResources(long eventId, boolean addGroupPermissions, boolean addGuestPermissions)
          Deprecated.  
 void addEventResources(long eventId, ModelPermissions modelPermissions)
          Deprecated.  
 void checkEvents()
          Deprecated.  
 CalEvent deleteEvent(CalEvent event)
          Deprecated.  
 CalEvent deleteEvent(long eventId)
          Deprecated.  
 void deleteEvents(long groupId)
          Deprecated.  
 File exportEvent(long userId, long eventId)
          Deprecated.  
 File exportEvents(long userId, List<CalEvent> events, String fileName)
          Deprecated.  
 File exportGroupEvents(long userId, long groupId, String fileName)
          Deprecated.  
protected  File exportICal4j(net.fortuna.ical4j.model.Calendar cal, String fileName)
          Deprecated.  
 List<CalEvent> getCompanyEvents(long companyId, int start, int end)
          Deprecated.  
 int getCompanyEventsCount(long companyId)
          Deprecated.  
protected  Date getEndDate(Recurrence recurrence)
          Deprecated.  
 CalEvent getEvent(long eventId)
          Deprecated.  
 List<CalEvent> getEvents(long groupId, Calendar cal)
          Deprecated.  
 List<CalEvent> getEvents(long groupId, Calendar cal, String type)
          Deprecated.  
 List<CalEvent> getEvents(long groupId, Calendar cal, String[] types)
          Deprecated.  
 List<CalEvent> getEvents(long groupId, String[] types, int start, int end)
          Deprecated.  
 List<CalEvent> getEvents(long groupId, String type, int start, int end)
          Deprecated.  
 int getEventsCount(long groupId, String type)
          Deprecated.  
 int getEventsCount(long groupId, String[] types)
          Deprecated.  
 List<CalEvent> getNoAssetEvents()
          Deprecated.  
protected  Calendar getRecurrenceCal(Calendar cal, Calendar tzICal, CalEvent event)
          Deprecated.  
 List<CalEvent> getRepeatingEvents(long groupId)
          Deprecated.  
 List<CalEvent> getRepeatingEvents(long groupId, Calendar cal, String[] types)
          Deprecated.  
 boolean hasEvents(long groupId, Calendar cal)
          Deprecated.  
 boolean hasEvents(long groupId, Calendar cal, String type)
          Deprecated.  
 boolean hasEvents(long groupId, Calendar cal, String[] types)
          Deprecated.  
 void importICal4j(long userId, long groupId, InputStream inputStream)
          Deprecated.  
protected  void importICal4j(long userId, long groupId, net.fortuna.ical4j.model.component.VEvent event)
          Deprecated.  
protected  boolean isICal4jDateOnly(net.fortuna.ical4j.model.property.DateProperty dateProperty)
          Deprecated.  
protected  void remindUser(CalEvent event, User user, Calendar startDate)
          Deprecated.  
protected  void remindUser(CalEvent event, User user, Calendar startCalendar, Calendar nowCalendar)
          Deprecated.  
protected  Calendar toCalendar(net.fortuna.ical4j.model.property.DateProperty date, TimeZone timeZone, boolean timeZoneSensitive)
          Deprecated.  
protected  int toCalendarWeekDay(net.fortuna.ical4j.model.WeekDay weekDay)
          Deprecated.  
protected  net.fortuna.ical4j.model.Calendar toICalCalendar(long userId, List<CalEvent> events)
          Deprecated.  
protected  net.fortuna.ical4j.model.Recur toICalRecurrence(TZSRecurrence recurrence)
          Deprecated.  
protected  net.fortuna.ical4j.model.component.VEvent toICalVEvent(CalEvent event, TimeZone timeZone)
          Deprecated.  
protected  net.fortuna.ical4j.model.WeekDay toICalWeekDay(int dayOfWeek)
          Deprecated.  
protected  TZSRecurrence toRecurrence(net.fortuna.ical4j.model.property.RRule rRule, Calendar startDate)
          Deprecated.  
 void updateAsset(long userId, CalEvent event, long[] assetCategoryIds, String[] assetTagNames, long[] assetLinkEntryIds)
          Deprecated.  
 CalEvent updateEvent(long userId, 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)
          Deprecated.  
 CalEvent updateEvent(long userId, 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. As of 6.2.0, replaced by updateEvent(long, long, String, String, String, int, int, int, int, int, int, int, boolean, boolean, String, boolean, TZSRecurrence, int, int, int, ServiceContext)
protected  void validate(String title, int startDateMonth, int startDateDay, int startDateYear, int durationHour, int durationMinute, boolean allDay, boolean repeating, TZSRecurrence recurrence)
          Deprecated.  
 
Methods inherited from class com.liferay.portlet.calendar.service.base.CalEventLocalServiceBaseImpl
addCalEvent, afterPropertiesSet, createCalEvent, deleteCalEvent, deleteCalEvent, deletePersistedModel, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchCalEvent, fetchCalEventByUuidAndGroupId, getActionableDynamicQuery, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getAssetLinkLocalService, getAssetLinkPersistence, getAssetTagFinder, getAssetTagLocalService, getAssetTagPersistence, getCalEvent, getCalEventByUuidAndGroupId, getCalEventFinder, getCalEventLocalService, getCalEventPersistence, getCalEvents, getCalEventsByUuidAndCompanyId, getCalEventsByUuidAndCompanyId, getCalEventsCount, getClassNameLocalService, getClassNamePersistence, getCompanyLocalService, getCompanyPersistence, getCounterLocalService, getExpandoValueLocalService, getExpandoValuePersistence, getExportActionableDynamicQuery, getGroupFinder, getGroupLocalService, getGroupPersistence, getIndexableActionableDynamicQuery, getMBMessageFinder, getMBMessageLocalService, getMBMessagePersistence, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, getPortletPreferencesFinder, getPortletPreferencesLocalService, getPortletPreferencesPersistence, getResourceLocalService, getSocialActivityFinder, getSocialActivityLocalService, getSocialActivityPersistence, getSubscriptionLocalService, getSubscriptionPersistence, getUserFinder, getUserLocalService, getUserPersistence, initActionableDynamicQuery, runSQL, setAssetEntryFinder, setAssetEntryLocalService, setAssetEntryPersistence, setAssetLinkLocalService, setAssetLinkPersistence, setAssetTagFinder, setAssetTagLocalService, setAssetTagPersistence, setCalEventFinder, setCalEventLocalService, setCalEventPersistence, setClassNameLocalService, setClassNamePersistence, setCompanyLocalService, setCompanyPersistence, setCounterLocalService, setExpandoValueLocalService, setExpandoValuePersistence, setGroupFinder, setGroupLocalService, setGroupPersistence, setMBMessageFinder, setMBMessageLocalService, setMBMessagePersistence, setPortletPreferencesFinder, setPortletPreferencesLocalService, setPortletPreferencesPersistence, setResourceLocalService, setSocialActivityFinder, setSocialActivityLocalService, setSocialActivityPersistence, setSubscriptionLocalService, setSubscriptionPersistence, setUserFinder, setUserLocalService, setUserPersistence, updateCalEvent
 
Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl
getClassLoader, getLocalizationMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mailService

@BeanReference(type=MailService.class)
protected MailService mailService
Deprecated. 
Constructor Detail

CalEventLocalServiceImpl

public CalEventLocalServiceImpl()
Deprecated. 
Method Detail

addEvent

@Indexable(type=REINDEX)
public CalEvent addEvent(long userId,
                                              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
Deprecated. 
Throws:
PortalException

addEvent

@Deprecated
@Indexable(type=REINDEX)
public CalEvent addEvent(long userId,
                                                         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
Deprecated. As of 6.2.0, replaced by addEvent(long, String, String, String, int, int, int, int, int, int, int, boolean, boolean, String, boolean, TZSRecurrence, int, int, int, ServiceContext)

Throws:
PortalException

addEventResources

public void addEventResources(CalEvent event,
                              boolean addGroupPermissions,
                              boolean addGuestPermissions)
                       throws PortalException
Deprecated. 
Throws:
PortalException

addEventResources

public void addEventResources(CalEvent event,
                              ModelPermissions modelPermissions)
                       throws PortalException
Deprecated. 
Throws:
PortalException

addEventResources

public void addEventResources(long eventId,
                              boolean addGroupPermissions,
                              boolean addGuestPermissions)
                       throws PortalException
Deprecated. 
Throws:
PortalException

addEventResources

public void addEventResources(long eventId,
                              ModelPermissions modelPermissions)
                       throws PortalException
Deprecated. 
Throws:
PortalException

checkEvents

public void checkEvents()
Deprecated. 

deleteEvent

@Indexable(type=DELETE)
public CalEvent deleteEvent(CalEvent event)
                     throws PortalException
Deprecated. 
Throws:
PortalException

deleteEvent

@Indexable(type=DELETE)
public CalEvent deleteEvent(long eventId)
                     throws PortalException
Deprecated. 
Throws:
PortalException

deleteEvents

public void deleteEvents(long groupId)
                  throws PortalException
Deprecated. 
Throws:
PortalException

exportEvent

public File exportEvent(long userId,
                        long eventId)
                 throws PortalException
Deprecated. 
Throws:
PortalException

exportEvents

public File exportEvents(long userId,
                         List<CalEvent> events,
                         String fileName)
                  throws PortalException
Deprecated. 
Throws:
PortalException

exportGroupEvents

public File exportGroupEvents(long userId,
                              long groupId,
                              String fileName)
                       throws PortalException
Deprecated. 
Throws:
PortalException

getCompanyEvents

public List<CalEvent> getCompanyEvents(long companyId,
                                       int start,
                                       int end)
Deprecated. 

getCompanyEventsCount

public int getCompanyEventsCount(long companyId)
Deprecated. 

getEvent

public CalEvent getEvent(long eventId)
                  throws PortalException
Deprecated. 
Throws:
PortalException

getEvents

public List<CalEvent> getEvents(long groupId,
                                Calendar cal)
Deprecated. 

getEvents

public List<CalEvent> getEvents(long groupId,
                                Calendar cal,
                                String type)
Deprecated. 

getEvents

public List<CalEvent> getEvents(long groupId,
                                Calendar cal,
                                String[] types)
Deprecated. 

getEvents

public List<CalEvent> getEvents(long groupId,
                                String type,
                                int start,
                                int end)
Deprecated. 

getEvents

public List<CalEvent> getEvents(long groupId,
                                String[] types,
                                int start,
                                int end)
Deprecated. 

getEventsCount

public int getEventsCount(long groupId,
                          String type)
Deprecated. 

getEventsCount

public int getEventsCount(long groupId,
                          String[] types)
Deprecated. 

getNoAssetEvents

public List<CalEvent> getNoAssetEvents()
Deprecated. 

getRepeatingEvents

public List<CalEvent> getRepeatingEvents(long groupId)
Deprecated. 

getRepeatingEvents

public List<CalEvent> getRepeatingEvents(long groupId,
                                         Calendar cal,
                                         String[] types)
Deprecated. 

hasEvents

public boolean hasEvents(long groupId,
                         Calendar cal)
Deprecated. 

hasEvents

public boolean hasEvents(long groupId,
                         Calendar cal,
                         String type)
Deprecated. 

hasEvents

public boolean hasEvents(long groupId,
                         Calendar cal,
                         String[] types)
Deprecated. 

importICal4j

public void importICal4j(long userId,
                         long groupId,
                         InputStream inputStream)
                  throws PortalException
Deprecated. 
Throws:
PortalException

updateAsset

public void updateAsset(long userId,
                        CalEvent event,
                        long[] assetCategoryIds,
                        String[] assetTagNames,
                        long[] assetLinkEntryIds)
                 throws PortalException
Deprecated. 
Throws:
PortalException

updateEvent

@Indexable(type=REINDEX)
public CalEvent updateEvent(long userId,
                                                 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
Deprecated. 
Throws:
PortalException

updateEvent

@Deprecated
@Indexable(type=REINDEX)
public CalEvent updateEvent(long userId,
                                                            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
Deprecated. As of 6.2.0, replaced by updateEvent(long, long, String, String, String, int, int, int, int, int, int, int, boolean, boolean, String, boolean, TZSRecurrence, int, int, int, ServiceContext)

Throws:
PortalException

exportICal4j

protected File exportICal4j(net.fortuna.ical4j.model.Calendar cal,
                            String fileName)
Deprecated. 

getEndDate

protected Date getEndDate(Recurrence recurrence)
Deprecated. 

getRecurrenceCal

protected Calendar getRecurrenceCal(Calendar cal,
                                    Calendar tzICal,
                                    CalEvent event)
Deprecated. 

importICal4j

protected void importICal4j(long userId,
                            long groupId,
                            net.fortuna.ical4j.model.component.VEvent event)
                     throws PortalException
Deprecated. 
Throws:
PortalException

isICal4jDateOnly

protected boolean isICal4jDateOnly(net.fortuna.ical4j.model.property.DateProperty dateProperty)
Deprecated. 

remindUser

protected void remindUser(CalEvent event,
                          User user,
                          Calendar startDate)
Deprecated. 

remindUser

protected void remindUser(CalEvent event,
                          User user,
                          Calendar startCalendar,
                          Calendar nowCalendar)
Deprecated. 

toCalendar

protected Calendar toCalendar(net.fortuna.ical4j.model.property.DateProperty date,
                              TimeZone timeZone,
                              boolean timeZoneSensitive)
Deprecated. 

toCalendarWeekDay

protected int toCalendarWeekDay(net.fortuna.ical4j.model.WeekDay weekDay)
Deprecated. 

toICalCalendar

protected net.fortuna.ical4j.model.Calendar toICalCalendar(long userId,
                                                           List<CalEvent> events)
                                                    throws PortalException
Deprecated. 
Throws:
PortalException

toICalRecurrence

protected net.fortuna.ical4j.model.Recur toICalRecurrence(TZSRecurrence recurrence)
Deprecated. 

toICalVEvent

protected net.fortuna.ical4j.model.component.VEvent toICalVEvent(CalEvent event,
                                                                 TimeZone timeZone)
Deprecated. 

toICalWeekDay

protected net.fortuna.ical4j.model.WeekDay toICalWeekDay(int dayOfWeek)
Deprecated. 

toRecurrence

protected TZSRecurrence toRecurrence(net.fortuna.ical4j.model.property.RRule rRule,
                                     Calendar startDate)
Deprecated. 

validate

protected void validate(String title,
                        int startDateMonth,
                        int startDateDay,
                        int startDateYear,
                        int durationHour,
                        int durationMinute,
                        boolean allDay,
                        boolean repeating,
                        TZSRecurrence recurrence)
                 throws PortalException
Deprecated. 
Throws:
PortalException

Liferay 7.0-ce-b4