com.liferay.portlet.calendar.service
Class CalEventLocalServiceWrapper
java.lang.Object
com.liferay.portlet.calendar.service.CalEventLocalServiceWrapper
- All Implemented Interfaces:
- CalEventLocalService
public class CalEventLocalServiceWrapper
- extends Object
- implements CalEventLocalService
This class is a wrapper for CalEventLocalService.
- See Also:
CalEventLocalService- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
|
Method Summary |
CalEvent |
addCalEvent(CalEvent calEvent)
|
CalEvent |
addEvent(long userId,
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)
|
void |
addEventResources(CalEvent event,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addEventResources(CalEvent event,
String[] communityPermissions,
String[] guestPermissions)
|
void |
addEventResources(long eventId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addEventResources(long eventId,
String[] communityPermissions,
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)
|
List |
dynamicQuery(DynamicQuery dynamicQuery)
|
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
|
File |
exportEvent(long userId,
long eventId)
|
File |
exportGroupEvents(long userId,
long groupId,
String fileName)
|
CalEvent |
getCalEvent(long eventId)
|
CalEvent |
getCalEventByUuidAndGroupId(String uuid,
long groupId)
|
List<CalEvent> |
getCalEvents(int start,
int end)
|
int |
getCalEventsCount()
|
List<CalEvent> |
getCompanyEvents(long companyId,
int start,
int end)
|
int |
getCompanyEventsCount(long companyId)
|
CalEvent |
getEvent(long eventId)
|
List<CalEvent> |
getEvents(long groupId,
Calendar cal)
|
List<CalEvent> |
getEvents(long groupId,
Calendar cal,
String type)
|
List<CalEvent> |
getEvents(long groupId,
String type,
int start,
int end)
|
int |
getEventsCount(long groupId,
String type)
|
List<CalEvent> |
getNoAssetEvents()
|
List<CalEvent> |
getRepeatingEvents(long groupId)
|
CalEventLocalService |
getWrappedCalEventLocalService()
|
boolean |
hasEvents(long groupId,
Calendar cal)
|
boolean |
hasEvents(long groupId,
Calendar cal,
String type)
|
void |
importICal4j(long userId,
long groupId,
File file)
|
void |
updateAsset(long userId,
CalEvent event,
long[] assetCategoryIds,
String[] assetTagNames)
|
CalEvent |
updateCalEvent(CalEvent calEvent)
|
CalEvent |
updateCalEvent(CalEvent calEvent,
boolean merge)
|
CalEvent |
updateEvent(long userId,
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 |
CalEventLocalServiceWrapper
public CalEventLocalServiceWrapper(CalEventLocalService calEventLocalService)
addCalEvent
public CalEvent addCalEvent(CalEvent calEvent)
throws SystemException
- Specified by:
addCalEvent in interface CalEventLocalService
- Throws:
SystemException
createCalEvent
public CalEvent createCalEvent(long eventId)
- Specified by:
createCalEvent in interface CalEventLocalService
deleteCalEvent
public void deleteCalEvent(long eventId)
throws PortalException,
SystemException
- Specified by:
deleteCalEvent in interface CalEventLocalService
- Throws:
PortalException
SystemException
deleteCalEvent
public void deleteCalEvent(CalEvent calEvent)
throws SystemException
- Specified by:
deleteCalEvent in interface CalEventLocalService
- Throws:
SystemException
dynamicQuery
public List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Specified by:
dynamicQuery in interface CalEventLocalService
- Throws:
SystemException
dynamicQuery
public List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Specified by:
dynamicQuery in interface CalEventLocalService
- Throws:
SystemException
dynamicQuery
public List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Specified by:
dynamicQuery in interface CalEventLocalService
- Throws:
SystemException
dynamicQueryCount
public long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
- Specified by:
dynamicQueryCount in interface CalEventLocalService
- Throws:
SystemException
getCalEvent
public CalEvent getCalEvent(long eventId)
throws PortalException,
SystemException
- Specified by:
getCalEvent in interface CalEventLocalService
- Throws:
PortalException
SystemException
getCalEventByUuidAndGroupId
public CalEvent getCalEventByUuidAndGroupId(String uuid,
long groupId)
throws PortalException,
SystemException
- Specified by:
getCalEventByUuidAndGroupId in interface CalEventLocalService
- Throws:
PortalException
SystemException
getCalEvents
public List<CalEvent> getCalEvents(int start,
int end)
throws SystemException
- Specified by:
getCalEvents in interface CalEventLocalService
- Throws:
SystemException
getCalEventsCount
public int getCalEventsCount()
throws SystemException
- Specified by:
getCalEventsCount in interface CalEventLocalService
- Throws:
SystemException
updateCalEvent
public CalEvent updateCalEvent(CalEvent calEvent)
throws SystemException
- Specified by:
updateCalEvent in interface CalEventLocalService
- Throws:
SystemException
updateCalEvent
public CalEvent updateCalEvent(CalEvent calEvent,
boolean merge)
throws SystemException
- Specified by:
updateCalEvent in interface CalEventLocalService
- Throws:
SystemException
addEvent
public CalEvent addEvent(long userId,
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
- Specified by:
addEvent in interface CalEventLocalService
- Throws:
PortalException
SystemException
addEventResources
public void addEventResources(CalEvent event,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
- Specified by:
addEventResources in interface CalEventLocalService
- Throws:
PortalException
SystemException
addEventResources
public void addEventResources(CalEvent event,
String[] communityPermissions,
String[] guestPermissions)
throws PortalException,
SystemException
- Specified by:
addEventResources in interface CalEventLocalService
- Throws:
PortalException
SystemException
addEventResources
public void addEventResources(long eventId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
- Specified by:
addEventResources in interface CalEventLocalService
- Throws:
PortalException
SystemException
addEventResources
public void addEventResources(long eventId,
String[] communityPermissions,
String[] guestPermissions)
throws PortalException,
SystemException
- Specified by:
addEventResources in interface CalEventLocalService
- Throws:
PortalException
SystemException
checkEvents
public void checkEvents()
throws PortalException,
SystemException
- Specified by:
checkEvents in interface CalEventLocalService
- Throws:
PortalException
SystemException
deleteEvent
public void deleteEvent(CalEvent event)
throws PortalException,
SystemException
- Specified by:
deleteEvent in interface CalEventLocalService
- Throws:
PortalException
SystemException
deleteEvent
public void deleteEvent(long eventId)
throws PortalException,
SystemException
- Specified by:
deleteEvent in interface CalEventLocalService
- Throws:
PortalException
SystemException
deleteEvents
public void deleteEvents(long groupId)
throws PortalException,
SystemException
- Specified by:
deleteEvents in interface CalEventLocalService
- Throws:
PortalException
SystemException
exportEvent
public File exportEvent(long userId,
long eventId)
throws PortalException,
SystemException
- Specified by:
exportEvent in interface CalEventLocalService
- Throws:
PortalException
SystemException
exportGroupEvents
public File exportGroupEvents(long userId,
long groupId,
String fileName)
throws PortalException,
SystemException
- Specified by:
exportGroupEvents in interface CalEventLocalService
- Throws:
PortalException
SystemException
getCompanyEvents
public List<CalEvent> getCompanyEvents(long companyId,
int start,
int end)
throws SystemException
- Specified by:
getCompanyEvents in interface CalEventLocalService
- Throws:
SystemException
getCompanyEventsCount
public int getCompanyEventsCount(long companyId)
throws SystemException
- Specified by:
getCompanyEventsCount in interface CalEventLocalService
- Throws:
SystemException
getEvent
public CalEvent getEvent(long eventId)
throws PortalException,
SystemException
- Specified by:
getEvent in interface CalEventLocalService
- Throws:
PortalException
SystemException
getEvents
public List<CalEvent> getEvents(long groupId,
Calendar cal)
throws SystemException
- Specified by:
getEvents in interface CalEventLocalService
- Throws:
SystemException
getEvents
public List<CalEvent> getEvents(long groupId,
Calendar cal,
String type)
throws SystemException
- Specified by:
getEvents in interface CalEventLocalService
- Throws:
SystemException
getEvents
public List<CalEvent> getEvents(long groupId,
String type,
int start,
int end)
throws SystemException
- Specified by:
getEvents in interface CalEventLocalService
- Throws:
SystemException
getEventsCount
public int getEventsCount(long groupId,
String type)
throws SystemException
- Specified by:
getEventsCount in interface CalEventLocalService
- Throws:
SystemException
getNoAssetEvents
public List<CalEvent> getNoAssetEvents()
throws SystemException
- Specified by:
getNoAssetEvents in interface CalEventLocalService
- Throws:
SystemException
getRepeatingEvents
public List<CalEvent> getRepeatingEvents(long groupId)
throws SystemException
- Specified by:
getRepeatingEvents in interface CalEventLocalService
- Throws:
SystemException
hasEvents
public boolean hasEvents(long groupId,
Calendar cal)
throws SystemException
- Specified by:
hasEvents in interface CalEventLocalService
- Throws:
SystemException
hasEvents
public boolean hasEvents(long groupId,
Calendar cal,
String type)
throws SystemException
- Specified by:
hasEvents in interface CalEventLocalService
- Throws:
SystemException
importICal4j
public void importICal4j(long userId,
long groupId,
File file)
throws PortalException,
SystemException
- Specified by:
importICal4j in interface CalEventLocalService
- Throws:
PortalException
SystemException
updateAsset
public void updateAsset(long userId,
CalEvent event,
long[] assetCategoryIds,
String[] assetTagNames)
throws PortalException,
SystemException
- Specified by:
updateAsset in interface CalEventLocalService
- Throws:
PortalException
SystemException
updateEvent
public CalEvent updateEvent(long userId,
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
- Specified by:
updateEvent in interface CalEventLocalService
- Throws:
PortalException
SystemException
getWrappedCalEventLocalService
public CalEventLocalService getWrappedCalEventLocalService()