com.liferay.portlet.calendar.service
Class CalEventServiceWrapper
java.lang.Object
com.liferay.portlet.calendar.service.CalEventServiceWrapper
- All Implemented Interfaces:
- ServiceWrapper<CalEventService>, CalEventService
public class CalEventServiceWrapper
- extends Object
- implements CalEventService, ServiceWrapper<CalEventService>
This class is a wrapper for CalEventService
.
- See Also:
CalEventService
Method Summary |
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)
|
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)
|
CalEventService |
getWrappedCalEventService()
Deprecated. Renamed to getWrappedService() |
CalEventService |
getWrappedService()
|
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 |
setWrappedCalEventService(CalEventService calEventService)
Deprecated. Renamed to setWrappedService(com.liferay.portlet.calendar.service.CalEventService) |
void |
setWrappedService(CalEventService calEventService)
|
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CalEventServiceWrapper
public CalEventServiceWrapper(CalEventService calEventService)
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
- Specified by:
addEvent
in interface CalEventService
- Throws:
PortalException
SystemException
deleteEvent
public void deleteEvent(long eventId)
throws PortalException,
SystemException
- Specified by:
deleteEvent
in interface CalEventService
- Throws:
PortalException
SystemException
exportEvent
public File exportEvent(long eventId)
throws PortalException,
SystemException
- Specified by:
exportEvent
in interface CalEventService
- Throws:
PortalException
SystemException
exportGroupEvents
public File exportGroupEvents(long groupId,
String fileName)
throws PortalException,
SystemException
- Specified by:
exportGroupEvents
in interface CalEventService
- Throws:
PortalException
SystemException
getEvent
public CalEvent getEvent(long eventId)
throws PortalException,
SystemException
- Specified by:
getEvent
in interface CalEventService
- Throws:
PortalException
SystemException
getEvents
public List<CalEvent> getEvents(long groupId,
Calendar cal,
String type)
throws PortalException,
SystemException
- Specified by:
getEvents
in interface CalEventService
- Throws:
PortalException
SystemException
getEvents
public List<CalEvent> getEvents(long groupId,
Calendar cal,
String[] types)
throws PortalException,
SystemException
- Specified by:
getEvents
in interface CalEventService
- Throws:
PortalException
SystemException
getEvents
public List<CalEvent> getEvents(long groupId,
String type,
int start,
int end)
throws SystemException
- Specified by:
getEvents
in interface CalEventService
- Throws:
SystemException
getEvents
public List<CalEvent> getEvents(long groupId,
String[] types,
int start,
int end)
throws SystemException
- Specified by:
getEvents
in interface CalEventService
- Throws:
SystemException
getEventsCount
public int getEventsCount(long groupId,
String type)
throws SystemException
- Specified by:
getEventsCount
in interface CalEventService
- Throws:
SystemException
getEventsCount
public int getEventsCount(long groupId,
String[] types)
throws SystemException
- Specified by:
getEventsCount
in interface CalEventService
- Throws:
SystemException
hasEvents
public boolean hasEvents(long groupId,
Calendar cal)
throws PortalException,
SystemException
- Specified by:
hasEvents
in interface CalEventService
- Throws:
PortalException
SystemException
hasEvents
public boolean hasEvents(long groupId,
Calendar cal,
String type)
throws PortalException,
SystemException
- Specified by:
hasEvents
in interface CalEventService
- Throws:
PortalException
SystemException
hasEvents
public boolean hasEvents(long groupId,
Calendar cal,
String[] types)
throws PortalException,
SystemException
- Specified by:
hasEvents
in interface CalEventService
- Throws:
PortalException
SystemException
importICal4j
public void importICal4j(long groupId,
InputStream inputStream)
throws PortalException,
SystemException
- Specified by:
importICal4j
in interface CalEventService
- 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
- Specified by:
updateEvent
in interface CalEventService
- Throws:
PortalException
SystemException
getWrappedCalEventService
public CalEventService getWrappedCalEventService()
- Deprecated. Renamed to
getWrappedService()
setWrappedCalEventService
public void setWrappedCalEventService(CalEventService calEventService)
- Deprecated. Renamed to
setWrappedService(com.liferay.portlet.calendar.service.CalEventService)
getWrappedService
public CalEventService getWrappedService()
- Specified by:
getWrappedService
in interface ServiceWrapper<CalEventService>
setWrappedService
public void setWrappedService(CalEventService calEventService)
- Specified by:
setWrappedService
in interface ServiceWrapper<CalEventService>