com.liferay.portlet.calendar.service
Interface CalEventLocalService
- public interface CalEventLocalService
View Source
ServiceBuilder generated this class. Modifications in this class will be overwritten
the next time is generated.
This interface defines the service. The default implementation is com.liferay.portlet.calendar.service.impl.CalEventLocalServiceImpl
.
Modify methods in that class and rerun ServiceBuilder to populate this class
and all other generated classes.
This is a local service. 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.
- Author:
- Brian Wing Shun Chan
- See Also:
CalEventServiceFactory
,
CalEventServiceUtil
Method Summary |
CalEvent |
addCalEvent(CalEvent model)
|
CalEvent |
addEvent(long userId,
long plid,
java.lang.String title,
java.lang.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,
java.lang.String type,
boolean repeating,
com.liferay.portal.kernel.cal.Recurrence recurrence,
java.lang.String remindBy,
int firstReminder,
int secondReminder,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
CalEvent |
addEvent(long userId,
long plid,
java.lang.String title,
java.lang.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,
java.lang.String type,
boolean repeating,
com.liferay.portal.kernel.cal.Recurrence recurrence,
java.lang.String remindBy,
int firstReminder,
int secondReminder,
java.lang.Boolean addCommunityPermissions,
java.lang.Boolean addGuestPermissions,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
CalEvent |
addEvent(long userId,
long plid,
java.lang.String title,
java.lang.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,
java.lang.String type,
boolean repeating,
com.liferay.portal.kernel.cal.Recurrence recurrence,
java.lang.String remindBy,
int firstReminder,
int secondReminder,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
void |
addEventResources(CalEvent event,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addEventResources(CalEvent event,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
void |
addEventResources(long eventId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addEventResources(long eventId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
void |
checkEvents()
|
void |
deleteEvent(CalEvent event)
|
void |
deleteEvent(long eventId)
|
void |
deleteEvents(long groupId)
|
java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
java.io.File |
exportEvent(long userId,
long eventId)
|
java.io.File |
exportGroupEvents(long userId,
long plid,
java.lang.String fileName)
|
CalEvent |
getEvent(long eventId)
|
java.util.List |
getEvents(long groupId,
java.util.Calendar cal)
|
java.util.List |
getEvents(long groupId,
java.util.Calendar cal,
java.lang.String type)
|
java.util.List |
getEvents(long groupId,
java.lang.String type,
int begin,
int end)
|
int |
getEventsCount(long groupId,
java.lang.String type)
|
java.util.List |
getRepeatingEvents(long groupId)
|
boolean |
hasEvents(long groupId,
java.util.Calendar cal)
|
boolean |
hasEvents(long groupId,
java.util.Calendar cal,
java.lang.String type)
|
void |
importICal4j(long userId,
long plid,
java.io.File file)
|
CalEvent |
updateCalEvent(CalEvent model)
|
CalEvent |
updateEvent(long userId,
long eventId,
java.lang.String title,
java.lang.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,
java.lang.String type,
boolean repeating,
com.liferay.portal.kernel.cal.Recurrence recurrence,
java.lang.String remindBy,
int firstReminder,
int secondReminder)
|
addCalEvent
public CalEvent addCalEvent(CalEvent model)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateCalEvent
public CalEvent updateCalEvent(CalEvent model)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addEvent
public CalEvent addEvent(long userId,
long plid,
java.lang.String title,
java.lang.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,
java.lang.String type,
boolean repeating,
com.liferay.portal.kernel.cal.Recurrence recurrence,
java.lang.String remindBy,
int firstReminder,
int secondReminder,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addEvent
public CalEvent addEvent(long userId,
long plid,
java.lang.String title,
java.lang.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,
java.lang.String type,
boolean repeating,
com.liferay.portal.kernel.cal.Recurrence recurrence,
java.lang.String remindBy,
int firstReminder,
int secondReminder,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addEvent
public CalEvent addEvent(long userId,
long plid,
java.lang.String title,
java.lang.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,
java.lang.String type,
boolean repeating,
com.liferay.portal.kernel.cal.Recurrence recurrence,
java.lang.String remindBy,
int firstReminder,
int secondReminder,
java.lang.Boolean addCommunityPermissions,
java.lang.Boolean addGuestPermissions,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addEventResources
public void addEventResources(long eventId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addEventResources
public void addEventResources(CalEvent event,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addEventResources
public void addEventResources(long eventId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addEventResources
public void addEventResources(CalEvent event,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
checkEvents
public void checkEvents()
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteEvent
public void deleteEvent(long eventId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteEvent
public void deleteEvent(CalEvent event)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteEvents
public void deleteEvents(long groupId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
exportEvent
public java.io.File exportEvent(long userId,
long eventId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
exportGroupEvents
public java.io.File exportGroupEvents(long userId,
long plid,
java.lang.String fileName)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getEvent
public CalEvent getEvent(long eventId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getEvents
public java.util.List getEvents(long groupId,
java.lang.String type,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getEvents
public java.util.List getEvents(long groupId,
java.util.Calendar cal)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getEvents
public java.util.List getEvents(long groupId,
java.util.Calendar cal,
java.lang.String type)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getEventsCount
public int getEventsCount(long groupId,
java.lang.String type)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getRepeatingEvents
public java.util.List getRepeatingEvents(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
hasEvents
public boolean hasEvents(long groupId,
java.util.Calendar cal)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
hasEvents
public boolean hasEvents(long groupId,
java.util.Calendar cal,
java.lang.String type)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
importICal4j
public void importICal4j(long userId,
long plid,
java.io.File file)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
updateEvent
public CalEvent updateEvent(long userId,
long eventId,
java.lang.String title,
java.lang.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,
java.lang.String type,
boolean repeating,
com.liferay.portal.kernel.cal.Recurrence recurrence,
java.lang.String remindBy,
int firstReminder,
int secondReminder)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException