Liferay 6.0.5

com.liferay.portlet.calendar.service
Class CalEventServiceUtil

java.lang.Object
  extended by com.liferay.portlet.calendar.service.CalEventServiceUtil

public class CalEventServiceUtil
extends Object

The utility for the cal event remote service. This utility wraps CalEventServiceImpl and is the primary access point for service operations in application layer code running on a remote server.

Never modify this class directly. Add custom service methods to CalEventServiceImpl and rerun ServiceBuilder to regenerate this class.

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:
CalEventService, CalEventServiceBaseImpl, CalEventServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Constructor Summary
CalEventServiceUtil()
           
 
Method Summary
static CalEvent addEvent(String title, 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, String type, boolean repeating, TZSRecurrence recurrence, int remindBy, int firstReminder, int secondReminder, ServiceContext serviceContext)
           
static void deleteEvent(long eventId)
           
static File exportEvent(long eventId)
           
static File exportGroupEvents(long groupId, String fileName)
           
static CalEvent getEvent(long eventId)
           
static CalEventService getService()
           
static void importICal4j(long groupId, File file)
           
 void setService(CalEventService service)
           
static CalEvent updateEvent(long eventId, String title, 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, String type, boolean repeating, TZSRecurrence recurrence, int remindBy, int firstReminder, int secondReminder, ServiceContext serviceContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CalEventServiceUtil

public CalEventServiceUtil()
Method Detail

addEvent

public static CalEvent addEvent(String title,
                                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,
                                String type,
                                boolean repeating,
                                TZSRecurrence recurrence,
                                int remindBy,
                                int firstReminder,
                                int secondReminder,
                                ServiceContext serviceContext)
                         throws PortalException,
                                SystemException
Throws:
PortalException
SystemException

deleteEvent

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

exportEvent

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

exportGroupEvents

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

getEvent

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

importICal4j

public static void importICal4j(long groupId,
                                File file)
                         throws PortalException,
                                SystemException
Throws:
PortalException
SystemException

updateEvent

public static CalEvent updateEvent(long eventId,
                                   String title,
                                   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,
                                   String type,
                                   boolean repeating,
                                   TZSRecurrence recurrence,
                                   int remindBy,
                                   int firstReminder,
                                   int secondReminder,
                                   ServiceContext serviceContext)
                            throws PortalException,
                                   SystemException
Throws:
PortalException
SystemException

getService

public static CalEventService getService()

setService

public void setService(CalEventService service)

Liferay 6.0.5