Liferay 7.0-ce-b4

com.liferay.portlet.calendar.service
Interface CalEventLocalService

All Superinterfaces:
BaseLocalService, PersistedModelLocalService
All Known Implementing Classes:
CalEventLocalServiceWrapper

Deprecated. As of 7.0.0, with no direct replacement

@Deprecated
@ProviderType
@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface CalEventLocalService
extends BaseLocalService, PersistedModelLocalService

Provides the local service interface for CalEvent. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.

See Also:
CalEventLocalServiceUtil, com.liferay.portlet.calendar.service.base.CalEventLocalServiceBaseImpl, com.liferay.portlet.calendar.service.impl.CalEventLocalServiceImpl

Method Summary
 CalEvent addCalEvent(CalEvent calEvent)
          Deprecated. Adds the cal event to the database.
 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 createCalEvent(long eventId)
          Deprecated. Creates a new cal event with the primary key.
 CalEvent deleteCalEvent(CalEvent calEvent)
          Deprecated. Deletes the cal event from the database.
 CalEvent deleteCalEvent(long eventId)
          Deprecated. Deletes the cal event with the primary key from the database.
 CalEvent deleteEvent(CalEvent event)
          Deprecated.  
 CalEvent deleteEvent(long eventId)
          Deprecated.  
 void deleteEvents(long groupId)
          Deprecated.  
 PersistedModel deletePersistedModel(PersistedModel persistedModel)
          Deprecated.  
 DynamicQuery dynamicQuery()
          Deprecated.  
<T> List<T>
dynamicQuery(DynamicQuery dynamicQuery)
          Deprecated. Performs a dynamic query on the database and returns the matching rows.
<T> List<T>
dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
          Deprecated. Performs a dynamic query on the database and returns a range of the matching rows.
<T> List<T>
dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<T> orderByComparator)
          Deprecated. Performs a dynamic query on the database and returns an ordered range of the matching rows.
 long dynamicQueryCount(DynamicQuery dynamicQuery)
          Deprecated. Returns the number of rows matching the dynamic query.
 long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
          Deprecated. Returns the number of rows matching the dynamic query.
 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.  
 CalEvent fetchCalEvent(long eventId)
          Deprecated.  
 CalEvent fetchCalEventByUuidAndGroupId(String uuid, long groupId)
          Deprecated. Returns the cal event matching the UUID and group.
 ActionableDynamicQuery getActionableDynamicQuery()
          Deprecated.  
 CalEvent getCalEvent(long eventId)
          Deprecated. Returns the cal event with the primary key.
 CalEvent getCalEventByUuidAndGroupId(String uuid, long groupId)
          Deprecated. Returns the cal event matching the UUID and group.
 List<CalEvent> getCalEvents(int start, int end)
          Deprecated. Returns a range of all the cal events.
 List<CalEvent> getCalEventsByUuidAndCompanyId(String uuid, long companyId)
          Deprecated. Returns all the cal events matching the UUID and company.
 List<CalEvent> getCalEventsByUuidAndCompanyId(String uuid, long companyId, int start, int end, OrderByComparator<CalEvent> orderByComparator)
          Deprecated. Returns a range of cal events matching the UUID and company.
 int getCalEventsCount()
          Deprecated. Returns the number of cal events.
 List<CalEvent> getCompanyEvents(long companyId, int start, int end)
          Deprecated.  
 int getCompanyEventsCount(long companyId)
          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.  
 ExportActionableDynamicQuery getExportActionableDynamicQuery(PortletDataContext portletDataContext)
          Deprecated.  
 IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
          Deprecated.  
 List<CalEvent> getNoAssetEvents()
          Deprecated.  
 String getOSGiServiceIdentifier()
          Deprecated. Returns the OSGi service identifier.
 PersistedModel getPersistedModel(Serializable primaryKeyObj)
          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.  
 void updateAsset(long userId, CalEvent event, long[] assetCategoryIds, String[] assetTagNames, long[] assetLinkEntryIds)
          Deprecated.  
 CalEvent updateCalEvent(CalEvent calEvent)
          Deprecated. Updates the cal event in the database or adds it if it does not yet exist.
 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)
 

Method Detail

addCalEvent

@Indexable(type=REINDEX)
CalEvent addCalEvent(CalEvent calEvent)
Deprecated. 
Adds the cal event to the database. Also notifies the appropriate model listeners.

Parameters:
calEvent - the cal event
Returns:
the cal event that was added

addEvent

@Indexable(type=REINDEX)
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)
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

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

addEventResources

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

addEventResources

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

addEventResources

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

checkEvents

void checkEvents()
Deprecated. 

createCalEvent

CalEvent createCalEvent(long eventId)
Deprecated. 
Creates a new cal event with the primary key. Does not add the cal event to the database.

Parameters:
eventId - the primary key for the new cal event
Returns:
the new cal event

deleteCalEvent

@Indexable(type=DELETE)
CalEvent deleteCalEvent(CalEvent calEvent)
Deprecated. 
Deletes the cal event from the database. Also notifies the appropriate model listeners.

Parameters:
calEvent - the cal event
Returns:
the cal event that was removed

deleteCalEvent

@Indexable(type=DELETE)
CalEvent deleteCalEvent(long eventId)
                        throws PortalException
Deprecated. 
Deletes the cal event with the primary key from the database. Also notifies the appropriate model listeners.

Parameters:
eventId - the primary key of the cal event
Returns:
the cal event that was removed
Throws:
PortalException - if a cal event with the primary key could not be found

deleteEvent

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

deleteEvent

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

deleteEvents

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

deletePersistedModel

PersistedModel deletePersistedModel(PersistedModel persistedModel)
                                    throws PortalException
Deprecated. 
Specified by:
deletePersistedModel in interface PersistedModelLocalService
Throws:
PortalException

dynamicQuery

DynamicQuery dynamicQuery()
Deprecated. 

dynamicQuery

<T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
Deprecated. 
Performs a dynamic query on the database and returns the matching rows.

Parameters:
dynamicQuery - the dynamic query
Returns:
the matching rows

dynamicQuery

<T> List<T> dynamicQuery(DynamicQuery dynamicQuery,
                         int start,
                         int end)
Deprecated. 
Performs a dynamic query on the database and returns a range of the matching rows.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from com.liferay.portlet.calendar.model.impl.CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
dynamicQuery - the dynamic query
start - the lower bound of the range of model instances
end - the upper bound of the range of model instances (not inclusive)
Returns:
the range of matching rows

dynamicQuery

<T> List<T> dynamicQuery(DynamicQuery dynamicQuery,
                         int start,
                         int end,
                         OrderByComparator<T> orderByComparator)
Deprecated. 
Performs a dynamic query on the database and returns an ordered range of the matching rows.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from com.liferay.portlet.calendar.model.impl.CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
dynamicQuery - the dynamic query
start - the lower bound of the range of model instances
end - the upper bound of the range of model instances (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching rows

dynamicQueryCount

long dynamicQueryCount(DynamicQuery dynamicQuery)
Deprecated. 
Returns the number of rows matching the dynamic query.

Parameters:
dynamicQuery - the dynamic query
Returns:
the number of rows matching the dynamic query

dynamicQueryCount

long dynamicQueryCount(DynamicQuery dynamicQuery,
                       Projection projection)
Deprecated. 
Returns the number of rows matching the dynamic query.

Parameters:
dynamicQuery - the dynamic query
projection - the projection to apply to the query
Returns:
the number of rows matching the dynamic query

exportEvent

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

exportEvents

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

exportGroupEvents

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

fetchCalEvent

@Transactional(propagation=SUPPORTS,
               readOnly=true)
CalEvent fetchCalEvent(long eventId)
Deprecated. 

fetchCalEventByUuidAndGroupId

@Transactional(propagation=SUPPORTS,
               readOnly=true)
CalEvent fetchCalEventByUuidAndGroupId(String uuid,
                                                                                long groupId)
Deprecated. 
Returns the cal event matching the UUID and group.

Parameters:
uuid - the cal event's UUID
groupId - the primary key of the group
Returns:
the matching cal event, or null if a matching cal event could not be found

getActionableDynamicQuery

@Transactional(propagation=SUPPORTS,
               readOnly=true)
ActionableDynamicQuery getActionableDynamicQuery()
Deprecated. 

getCalEvent

@Transactional(propagation=SUPPORTS,
               readOnly=true)
CalEvent getCalEvent(long eventId)
                     throws PortalException
Deprecated. 
Returns the cal event with the primary key.

Parameters:
eventId - the primary key of the cal event
Returns:
the cal event
Throws:
PortalException - if a cal event with the primary key could not be found

getCalEventByUuidAndGroupId

@Transactional(propagation=SUPPORTS,
               readOnly=true)
CalEvent getCalEventByUuidAndGroupId(String uuid,
                                                                              long groupId)
                                     throws PortalException
Deprecated. 
Returns the cal event matching the UUID and group.

Parameters:
uuid - the cal event's UUID
groupId - the primary key of the group
Returns:
the matching cal event
Throws:
PortalException - if a matching cal event could not be found

getCalEvents

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<CalEvent> getCalEvents(int start,
                                                                     int end)
Deprecated. 
Returns a range of all the cal events.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from com.liferay.portlet.calendar.model.impl.CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
start - the lower bound of the range of cal events
end - the upper bound of the range of cal events (not inclusive)
Returns:
the range of cal events

getCalEventsByUuidAndCompanyId

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<CalEvent> getCalEventsByUuidAndCompanyId(String uuid,
                                                                                       long companyId)
Deprecated. 
Returns all the cal events matching the UUID and company.

Parameters:
uuid - the UUID of the cal events
companyId - the primary key of the company
Returns:
the matching cal events, or an empty list if no matches were found

getCalEventsByUuidAndCompanyId

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<CalEvent> getCalEventsByUuidAndCompanyId(String uuid,
                                                                                       long companyId,
                                                                                       int start,
                                                                                       int end,
                                                                                       OrderByComparator<CalEvent> orderByComparator)
Deprecated. 
Returns a range of cal events matching the UUID and company.

Parameters:
uuid - the UUID of the cal events
companyId - the primary key of the company
start - the lower bound of the range of cal events
end - the upper bound of the range of cal events (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the range of matching cal events, or an empty list if no matches were found

getCalEventsCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getCalEventsCount()
Deprecated. 
Returns the number of cal events.

Returns:
the number of cal events

getCompanyEvents

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<CalEvent> getCompanyEvents(long companyId,
                                                                         int start,
                                                                         int end)
Deprecated. 

getCompanyEventsCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getCompanyEventsCount(long companyId)
Deprecated. 

getEvent

@Transactional(propagation=SUPPORTS,
               readOnly=true)
CalEvent getEvent(long eventId)
                  throws PortalException
Deprecated. 
Throws:
PortalException

getEvents

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<CalEvent> getEvents(long groupId,
                                                                  Calendar cal)
Deprecated. 

getEvents

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<CalEvent> getEvents(long groupId,
                                                                  Calendar cal,
                                                                  String type)
Deprecated. 

getEvents

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<CalEvent> getEvents(long groupId,
                                                                  Calendar cal,
                                                                  String[] types)
Deprecated. 

getEvents

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<CalEvent> getEvents(long groupId,
                                                                  String type,
                                                                  int start,
                                                                  int end)
Deprecated. 

getEvents

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<CalEvent> getEvents(long groupId,
                                                                  String[] types,
                                                                  int start,
                                                                  int end)
Deprecated. 

getEventsCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getEventsCount(long groupId,
                                                            String type)
Deprecated. 

getEventsCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getEventsCount(long groupId,
                                                            String[] types)
Deprecated. 

getExportActionableDynamicQuery

@Transactional(propagation=SUPPORTS,
               readOnly=true)
ExportActionableDynamicQuery getExportActionableDynamicQuery(PortletDataContext portletDataContext)
Deprecated. 

getIndexableActionableDynamicQuery

@Transactional(propagation=SUPPORTS,
               readOnly=true)
IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
Deprecated. 

getNoAssetEvents

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<CalEvent> getNoAssetEvents()
Deprecated. 

getOSGiServiceIdentifier

String getOSGiServiceIdentifier()
Deprecated. 
Returns the OSGi service identifier.

Returns:
the OSGi service identifier

getPersistedModel

@Transactional(propagation=SUPPORTS,
               readOnly=true)
PersistedModel getPersistedModel(Serializable primaryKeyObj)
                                 throws PortalException
Deprecated. 
Specified by:
getPersistedModel in interface PersistedModelLocalService
Throws:
PortalException

getRepeatingEvents

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<CalEvent> getRepeatingEvents(long groupId)
Deprecated. 

getRepeatingEvents

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<CalEvent> getRepeatingEvents(long groupId,
                                                                           Calendar cal,
                                                                           String[] types)
Deprecated. 

hasEvents

@Transactional(propagation=SUPPORTS,
               readOnly=true)
boolean hasEvents(long groupId,
                                                           Calendar cal)
Deprecated. 

hasEvents

@Transactional(propagation=SUPPORTS,
               readOnly=true)
boolean hasEvents(long groupId,
                                                           Calendar cal,
                                                           String type)
Deprecated. 

hasEvents

@Transactional(propagation=SUPPORTS,
               readOnly=true)
boolean hasEvents(long groupId,
                                                           Calendar cal,
                                                           String[] types)
Deprecated. 

importICal4j

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

updateAsset

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

updateCalEvent

@Indexable(type=REINDEX)
CalEvent updateCalEvent(CalEvent calEvent)
Deprecated. 
Updates the cal event in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Parameters:
calEvent - the cal event
Returns:
the cal event that was updated

updateEvent

@Indexable(type=REINDEX)
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)
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

Liferay 7.0-ce-b4