com.liferay.portlet.calendar.service
Class CalEventLocalServiceWrapper

java.lang.Object
  extended by com.liferay.portlet.calendar.service.CalEventLocalServiceWrapper
All Implemented Interfaces:
CalEventLocalService

public class CalEventLocalServiceWrapper
extends java.lang.Object
implements CalEventLocalService

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This class is a wrapper for CalEventLocalService.

Author:
Brian Wing Shun Chan
See Also:
CalEventLocalService
Generated:

Constructor Summary
CalEventLocalServiceWrapper(CalEventLocalService calEventLocalService)
           
 
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, com.liferay.portal.kernel.cal.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<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 java.io.File exportEvent(long userId, long eventId)
           
 java.io.File exportGroupEvents(long userId, long groupId, java.lang.String fileName)
           
 CalEvent getCalEvent(long eventId)
           
 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)
           
 CalEventLocalService getWrappedCalEventLocalService()
           
 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, com.liferay.portal.kernel.cal.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

CalEventLocalServiceWrapper

public CalEventLocalServiceWrapper(CalEventLocalService calEventLocalService)
Method Detail

addCalEvent

public CalEvent addCalEvent(CalEvent calEvent)
                     throws com.liferay.portal.kernel.exception.SystemException
Specified by:
addCalEvent in interface CalEventLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

createCalEvent

public CalEvent createCalEvent(long eventId)
Specified by:
createCalEvent in interface CalEventLocalService

deleteCalEvent

public void deleteCalEvent(long eventId)
                    throws com.liferay.portal.kernel.exception.PortalException,
                           com.liferay.portal.kernel.exception.SystemException
Specified by:
deleteCalEvent in interface CalEventLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

deleteCalEvent

public void deleteCalEvent(CalEvent calEvent)
                    throws com.liferay.portal.kernel.exception.SystemException
Specified by:
deleteCalEvent in interface CalEventLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

dynamicQuery

public java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                              throws com.liferay.portal.kernel.exception.SystemException
Specified by:
dynamicQuery in interface CalEventLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

dynamicQuery

public java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                                     int start,
                                                     int end)
                                              throws com.liferay.portal.kernel.exception.SystemException
Specified by:
dynamicQuery in interface CalEventLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getCalEvent

public CalEvent getCalEvent(long eventId)
                     throws com.liferay.portal.kernel.exception.PortalException,
                            com.liferay.portal.kernel.exception.SystemException
Specified by:
getCalEvent in interface CalEventLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getCalEvents

public java.util.List<CalEvent> getCalEvents(int start,
                                             int end)
                                      throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getCalEvents in interface CalEventLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getCalEventsCount

public int getCalEventsCount()
                      throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getCalEventsCount in interface CalEventLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

updateCalEvent

public CalEvent updateCalEvent(CalEvent calEvent)
                        throws com.liferay.portal.kernel.exception.SystemException
Specified by:
updateCalEvent in interface CalEventLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

updateCalEvent

public CalEvent updateCalEvent(CalEvent calEvent,
                               boolean merge)
                        throws com.liferay.portal.kernel.exception.SystemException
Specified by:
updateCalEvent in interface CalEventLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

addEvent

public 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,
                         com.liferay.portal.kernel.cal.TZSRecurrence recurrence,
                         int remindBy,
                         int firstReminder,
                         int secondReminder,
                         ServiceContext serviceContext)
                  throws com.liferay.portal.kernel.exception.PortalException,
                         com.liferay.portal.kernel.exception.SystemException
Specified by:
addEvent in interface CalEventLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

addEventResources

public void addEventResources(CalEvent event,
                              boolean addCommunityPermissions,
                              boolean addGuestPermissions)
                       throws com.liferay.portal.kernel.exception.PortalException,
                              com.liferay.portal.kernel.exception.SystemException
Specified by:
addEventResources in interface CalEventLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

addEventResources

public void addEventResources(CalEvent event,
                              java.lang.String[] communityPermissions,
                              java.lang.String[] guestPermissions)
                       throws com.liferay.portal.kernel.exception.PortalException,
                              com.liferay.portal.kernel.exception.SystemException
Specified by:
addEventResources in interface CalEventLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

addEventResources

public void addEventResources(long eventId,
                              boolean addCommunityPermissions,
                              boolean addGuestPermissions)
                       throws com.liferay.portal.kernel.exception.PortalException,
                              com.liferay.portal.kernel.exception.SystemException
Specified by:
addEventResources in interface CalEventLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

addEventResources

public void addEventResources(long eventId,
                              java.lang.String[] communityPermissions,
                              java.lang.String[] guestPermissions)
                       throws com.liferay.portal.kernel.exception.PortalException,
                              com.liferay.portal.kernel.exception.SystemException
Specified by:
addEventResources in interface CalEventLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

checkEvents

public void checkEvents()
                 throws com.liferay.portal.kernel.exception.PortalException,
                        com.liferay.portal.kernel.exception.SystemException
Specified by:
checkEvents in interface CalEventLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

deleteEvent

public void deleteEvent(CalEvent event)
                 throws com.liferay.portal.kernel.exception.PortalException,
                        com.liferay.portal.kernel.exception.SystemException
Specified by:
deleteEvent in interface CalEventLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

deleteEvent

public void deleteEvent(long eventId)
                 throws com.liferay.portal.kernel.exception.PortalException,
                        com.liferay.portal.kernel.exception.SystemException
Specified by:
deleteEvent in interface CalEventLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

deleteEvents

public void deleteEvents(long groupId)
                  throws com.liferay.portal.kernel.exception.PortalException,
                         com.liferay.portal.kernel.exception.SystemException
Specified by:
deleteEvents in interface CalEventLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

exportEvent

public java.io.File exportEvent(long userId,
                                long eventId)
                         throws com.liferay.portal.kernel.exception.PortalException,
                                com.liferay.portal.kernel.exception.SystemException
Specified by:
exportEvent in interface CalEventLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

exportGroupEvents

public java.io.File exportGroupEvents(long userId,
                                      long groupId,
                                      java.lang.String fileName)
                               throws com.liferay.portal.kernel.exception.PortalException,
                                      com.liferay.portal.kernel.exception.SystemException
Specified by:
exportGroupEvents in interface CalEventLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getCompanyEvents

public java.util.List<CalEvent> getCompanyEvents(long companyId,
                                                 int start,
                                                 int end)
                                          throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getCompanyEvents in interface CalEventLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getCompanyEventsCount

public int getCompanyEventsCount(long companyId)
                          throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getCompanyEventsCount in interface CalEventLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getEvent

public CalEvent getEvent(long eventId)
                  throws com.liferay.portal.kernel.exception.PortalException,
                         com.liferay.portal.kernel.exception.SystemException
Specified by:
getEvent in interface CalEventLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getEvents

public java.util.List<CalEvent> getEvents(long groupId,
                                          java.util.Calendar cal)
                                   throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getEvents in interface CalEventLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getEvents

public java.util.List<CalEvent> getEvents(long groupId,
                                          java.util.Calendar cal,
                                          java.lang.String type)
                                   throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getEvents in interface CalEventLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getEvents

public java.util.List<CalEvent> getEvents(long groupId,
                                          java.lang.String type,
                                          int start,
                                          int end)
                                   throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getEvents in interface CalEventLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getEventsCount

public int getEventsCount(long groupId,
                          java.lang.String type)
                   throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getEventsCount in interface CalEventLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getNoAssetEvents

public java.util.List<CalEvent> getNoAssetEvents()
                                          throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getNoAssetEvents in interface CalEventLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getRepeatingEvents

public java.util.List<CalEvent> getRepeatingEvents(long groupId)
                                            throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getRepeatingEvents in interface CalEventLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

hasEvents

public boolean hasEvents(long groupId,
                         java.util.Calendar cal)
                  throws com.liferay.portal.kernel.exception.SystemException
Specified by:
hasEvents in interface CalEventLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

hasEvents

public boolean hasEvents(long groupId,
                         java.util.Calendar cal,
                         java.lang.String type)
                  throws com.liferay.portal.kernel.exception.SystemException
Specified by:
hasEvents in interface CalEventLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

importICal4j

public void importICal4j(long userId,
                         long groupId,
                         java.io.File file)
                  throws com.liferay.portal.kernel.exception.PortalException,
                         com.liferay.portal.kernel.exception.SystemException
Specified by:
importICal4j in interface CalEventLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

updateAsset

public void updateAsset(long userId,
                        CalEvent event,
                        long[] assetCategoryIds,
                        java.lang.String[] assetTagNames)
                 throws com.liferay.portal.kernel.exception.PortalException,
                        com.liferay.portal.kernel.exception.SystemException
Specified by:
updateAsset in interface CalEventLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

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.TZSRecurrence recurrence,
                            int remindBy,
                            int firstReminder,
                            int secondReminder,
                            ServiceContext serviceContext)
                     throws com.liferay.portal.kernel.exception.PortalException,
                            com.liferay.portal.kernel.exception.SystemException
Specified by:
updateEvent in interface CalEventLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getWrappedCalEventLocalService

public CalEventLocalService getWrappedCalEventLocalService()