Liferay 6.1.2-ce-ga3

com.liferay.portlet.calendar.service
Interface CalEventService

All Superinterfaces:
BaseService
All Known Implementing Classes:
CalEventServiceBaseImpl, CalEventServiceImpl, CalEventServiceWrapper

@JSONWebService
@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface CalEventService
extends BaseService

The interface for the cal event remote service.

This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.

See Also:
CalEventServiceUtil, CalEventServiceBaseImpl, CalEventServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

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)
           
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 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)
           
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 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)
 

Method Detail

getBeanIdentifier

String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Returns:
the Spring bean ID for this bean

setBeanIdentifier

void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Parameters:
beanIdentifier - the Spring bean ID for this bean

addEvent

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

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

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

exportEvent

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

exportGroupEvents

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

getEvent

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

getEvents

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<CalEvent> getEvents(long groupId,
                                                                  Calendar cal,
                                                                  String type)
                         throws PortalException,
                                SystemException
Throws:
PortalException
SystemException

getEvents

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<CalEvent> getEvents(long groupId,
                                                                  Calendar cal,
                                                                  String[] types)
                         throws PortalException,
                                SystemException
Throws:
PortalException
SystemException

getEvents

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<CalEvent> getEvents(long groupId,
                                                                  String type,
                                                                  int start,
                                                                  int end)
                         throws SystemException
Throws:
SystemException

getEvents

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

getEventsCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getEventsCount(long groupId,
                                                            String type)
                   throws SystemException
Throws:
SystemException

getEventsCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getEventsCount(long groupId,
                                                            String[] types)
                   throws SystemException
Throws:
SystemException

hasEvents

@Transactional(propagation=SUPPORTS,
               readOnly=true)
boolean hasEvents(long groupId,
                                                           Calendar cal)
                  throws PortalException,
                         SystemException
Throws:
PortalException
SystemException

hasEvents

@Transactional(propagation=SUPPORTS,
               readOnly=true)
boolean hasEvents(long groupId,
                                                           Calendar cal,
                                                           String type)
                  throws PortalException,
                         SystemException
Throws:
PortalException
SystemException

hasEvents

@Transactional(propagation=SUPPORTS,
               readOnly=true)
boolean hasEvents(long groupId,
                                                           Calendar cal,
                                                           String[] types)
                  throws PortalException,
                         SystemException
Throws:
PortalException
SystemException

importICal4j

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

updateEvent

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

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