com.liferay.portlet.calendar.service
Interface CalEventLocalService
- All Known Implementing Classes:
- CalEventLocalServiceWrapper
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
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:
CalEventLocalServiceUtil
- Generated:
Method Summary |
CalEvent |
addCalEvent(CalEvent calEvent)
|
CalEvent |
addEvent(java.lang.String uuid,
long userId,
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,
TZSRecurrence recurrence,
int remindBy,
int firstReminder,
int secondReminder,
ServiceContext serviceContext)
|
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()
|
CalEvent |
createCalEvent(long eventId)
|
void |
deleteCalEvent(CalEvent calEvent)
|
void |
deleteCalEvent(long eventId)
|
void |
deleteEvent(CalEvent event)
|
void |
deleteEvent(long eventId)
|
void |
deleteEvents(long groupId)
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery)
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
|
java.io.File |
exportEvent(long userId,
long eventId)
|
java.io.File |
exportGroupEvents(long userId,
long groupId,
java.lang.String fileName)
|
CalEvent |
getCalEvent(long eventId)
|
CalEvent |
getCalEventByUuidAndGroupId(java.lang.String uuid,
long groupId)
|
java.util.List<CalEvent> |
getCalEvents(int start,
int end)
|
int |
getCalEventsCount()
|
java.util.List<CalEvent> |
getCompanyEvents(long companyId,
int start,
int end)
|
int |
getCompanyEventsCount(long companyId)
|
CalEvent |
getEvent(long eventId)
|
java.util.List<CalEvent> |
getEvents(long groupId,
java.util.Calendar cal)
|
java.util.List<CalEvent> |
getEvents(long groupId,
java.util.Calendar cal,
java.lang.String type)
|
java.util.List<CalEvent> |
getEvents(long groupId,
java.lang.String type,
int start,
int end)
|
int |
getEventsCount(long groupId,
java.lang.String type)
|
java.util.List<CalEvent> |
getNoAssetEvents()
|
java.util.List<CalEvent> |
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 groupId,
java.io.File file)
|
void |
updateAsset(long userId,
CalEvent event,
long[] assetCategoryIds,
java.lang.String[] assetTagNames)
|
CalEvent |
updateCalEvent(CalEvent calEvent)
|
CalEvent |
updateCalEvent(CalEvent calEvent,
boolean merge)
|
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,
TZSRecurrence recurrence,
int remindBy,
int firstReminder,
int secondReminder,
ServiceContext serviceContext)
|
addCalEvent
CalEvent addCalEvent(CalEvent calEvent)
throws SystemException
- Throws:
SystemException
createCalEvent
CalEvent createCalEvent(long eventId)
deleteCalEvent
void deleteCalEvent(long eventId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteCalEvent
void deleteCalEvent(CalEvent calEvent)
throws SystemException
- Throws:
SystemException
dynamicQuery
java.util.List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
dynamicQuery
java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Throws:
SystemException
dynamicQuery
java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
dynamicQueryCount
long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
getCalEvent
@Transactional(propagation=SUPPORTS,
readOnly=true)
CalEvent getCalEvent(long eventId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getCalEventByUuidAndGroupId
@Transactional(propagation=SUPPORTS,
readOnly=true)
CalEvent getCalEventByUuidAndGroupId(java.lang.String uuid,
long groupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getCalEvents
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<CalEvent> getCalEvents(int start,
int end)
throws SystemException
- Throws:
SystemException
getCalEventsCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getCalEventsCount()
throws SystemException
- Throws:
SystemException
updateCalEvent
CalEvent updateCalEvent(CalEvent calEvent)
throws SystemException
- Throws:
SystemException
updateCalEvent
CalEvent updateCalEvent(CalEvent calEvent,
boolean merge)
throws SystemException
- Throws:
SystemException
addEvent
CalEvent addEvent(java.lang.String uuid,
long userId,
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,
TZSRecurrence recurrence,
int remindBy,
int firstReminder,
int secondReminder,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addEventResources
void addEventResources(CalEvent event,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addEventResources
void addEventResources(CalEvent event,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addEventResources
void addEventResources(long eventId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addEventResources
void addEventResources(long eventId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
checkEvents
void checkEvents()
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteEvent
void deleteEvent(CalEvent event)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteEvent
void deleteEvent(long eventId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteEvents
void deleteEvents(long groupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
exportEvent
java.io.File exportEvent(long userId,
long eventId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
exportGroupEvents
java.io.File exportGroupEvents(long userId,
long groupId,
java.lang.String fileName)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getCompanyEvents
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<CalEvent> getCompanyEvents(long companyId,
int start,
int end)
throws SystemException
- Throws:
SystemException
getCompanyEventsCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getCompanyEventsCount(long companyId)
throws SystemException
- Throws:
SystemException
getEvent
@Transactional(propagation=SUPPORTS,
readOnly=true)
CalEvent getEvent(long eventId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getEvents
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<CalEvent> getEvents(long groupId,
java.util.Calendar cal)
throws SystemException
- Throws:
SystemException
getEvents
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<CalEvent> getEvents(long groupId,
java.util.Calendar cal,
java.lang.String type)
throws SystemException
- Throws:
SystemException
getEvents
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<CalEvent> getEvents(long groupId,
java.lang.String type,
int start,
int end)
throws SystemException
- Throws:
SystemException
getEventsCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getEventsCount(long groupId,
java.lang.String type)
throws SystemException
- Throws:
SystemException
getNoAssetEvents
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<CalEvent> getNoAssetEvents()
throws SystemException
- Throws:
SystemException
getRepeatingEvents
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<CalEvent> getRepeatingEvents(long groupId)
throws SystemException
- Throws:
SystemException
hasEvents
@Transactional(propagation=SUPPORTS,
readOnly=true)
boolean hasEvents(long groupId,
java.util.Calendar cal)
throws SystemException
- Throws:
SystemException
hasEvents
@Transactional(propagation=SUPPORTS,
readOnly=true)
boolean hasEvents(long groupId,
java.util.Calendar cal,
java.lang.String type)
throws SystemException
- Throws:
SystemException
importICal4j
void importICal4j(long userId,
long groupId,
java.io.File file)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateAsset
void updateAsset(long userId,
CalEvent event,
long[] assetCategoryIds,
java.lang.String[] assetTagNames)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateEvent
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,
TZSRecurrence recurrence,
int remindBy,
int firstReminder,
int secondReminder,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException