com.liferay.portlet.calendar.service.impl
Class CalEventServiceImpl
java.lang.Object
com.liferay.portal.service.base.PrincipalBean
com.liferay.portlet.calendar.service.base.CalEventServiceBaseImpl
com.liferay.portlet.calendar.service.impl.CalEventServiceImpl
- All Implemented Interfaces:
- com.liferay.portal.kernel.bean.IdentifiableBean, com.liferay.portlet.calendar.service.CalEventService
public class CalEventServiceImpl
- extends CalEventServiceBaseImpl
- Author:
- Brian Wing Shun Chan
| Fields inherited from class com.liferay.portlet.calendar.service.base.CalEventServiceBaseImpl |
assetEntryFinder, assetEntryLocalService, assetEntryPersistence, assetEntryService, assetLinkLocalService, assetLinkPersistence, assetTagFinder, assetTagLocalService, assetTagPersistence, assetTagService, calEventFinder, calEventLocalService, calEventPersistence, calEventService, companyLocalService, companyPersistence, companyService, counterLocalService, expandoValueLocalService, expandoValuePersistence, expandoValueService, groupFinder, groupLocalService, groupPersistence, groupService, mailService, portletPreferencesFinder, portletPreferencesLocalService, portletPreferencesPersistence, portletPreferencesService, resourceFinder, resourceLocalService, resourcePersistence, resourceService, socialActivityFinder, socialActivityLocalService, socialActivityPersistence, userFinder, userLocalService, userPersistence, userService |
| Fields inherited from class com.liferay.portal.service.base.PrincipalBean |
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS |
|
Method Summary |
com.liferay.portlet.calendar.model.CalEvent |
addEvent(java.lang.String title,
java.lang.String description,
java.lang.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,
java.lang.String type,
boolean repeating,
com.liferay.portal.kernel.cal.TZSRecurrence recurrence,
int remindBy,
int firstReminder,
int secondReminder,
com.liferay.portal.service.ServiceContext serviceContext)
|
void |
deleteEvent(long eventId)
|
java.io.File |
exportEvent(long eventId)
|
java.io.File |
exportGroupEvents(long groupId,
java.lang.String fileName)
|
com.liferay.portlet.calendar.model.CalEvent |
getEvent(long eventId)
|
java.util.List<com.liferay.portlet.calendar.model.CalEvent> |
getEvents(long groupId,
java.util.Calendar cal,
java.lang.String type)
|
java.util.List<com.liferay.portlet.calendar.model.CalEvent> |
getEvents(long groupId,
java.util.Calendar cal,
java.lang.String[] types)
|
java.util.List<com.liferay.portlet.calendar.model.CalEvent> |
getEvents(long groupId,
java.lang.String[] types,
int start,
int end)
|
java.util.List<com.liferay.portlet.calendar.model.CalEvent> |
getEvents(long groupId,
java.lang.String type,
int start,
int end)
|
int |
getEventsCount(long groupId,
java.lang.String type)
|
int |
getEventsCount(long groupId,
java.lang.String[] types)
|
boolean |
hasEvents(long groupId,
java.util.Calendar cal)
|
boolean |
hasEvents(long groupId,
java.util.Calendar cal,
java.lang.String type)
|
boolean |
hasEvents(long groupId,
java.util.Calendar cal,
java.lang.String[] types)
|
void |
importICal4j(long groupId,
java.io.InputStream inputStream)
|
com.liferay.portlet.calendar.model.CalEvent |
updateEvent(long eventId,
java.lang.String title,
java.lang.String description,
java.lang.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,
java.lang.String type,
boolean repeating,
com.liferay.portal.kernel.cal.TZSRecurrence recurrence,
int remindBy,
int firstReminder,
int secondReminder,
com.liferay.portal.service.ServiceContext serviceContext)
|
| Methods inherited from class com.liferay.portlet.calendar.service.base.CalEventServiceBaseImpl |
afterPropertiesSet, destroy, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getAssetEntryService, getAssetLinkLocalService, getAssetLinkPersistence, getAssetTagFinder, getAssetTagLocalService, getAssetTagPersistence, getAssetTagService, getBeanIdentifier, getCalEventFinder, getCalEventLocalService, getCalEventPersistence, getCalEventService, getCompanyLocalService, getCompanyPersistence, getCompanyService, getCounterLocalService, getExpandoValueLocalService, getExpandoValuePersistence, getExpandoValueService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getMailService, getModelClass, getModelClassName, getPortletPreferencesFinder, getPortletPreferencesLocalService, getPortletPreferencesPersistence, getPortletPreferencesService, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getSocialActivityFinder, getSocialActivityLocalService, getSocialActivityPersistence, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setAssetEntryFinder, setAssetEntryLocalService, setAssetEntryPersistence, setAssetEntryService, setAssetLinkLocalService, setAssetLinkPersistence, setAssetTagFinder, setAssetTagLocalService, setAssetTagPersistence, setAssetTagService, setBeanIdentifier, setCalEventFinder, setCalEventLocalService, setCalEventPersistence, setCalEventService, setCompanyLocalService, setCompanyPersistence, setCompanyService, setCounterLocalService, setExpandoValueLocalService, setExpandoValuePersistence, setExpandoValueService, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setMailService, setPortletPreferencesFinder, setPortletPreferencesLocalService, setPortletPreferencesPersistence, setPortletPreferencesService, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setSocialActivityFinder, setSocialActivityLocalService, setSocialActivityPersistence, setUserFinder, setUserLocalService, setUserPersistence, setUserService |
| Methods inherited from class com.liferay.portal.service.base.PrincipalBean |
getGuestOrUser, getGuestOrUserId, getPermissionChecker, getUser, getUserId |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CalEventServiceImpl
public CalEventServiceImpl()
addEvent
public com.liferay.portlet.calendar.model.CalEvent addEvent(java.lang.String title,
java.lang.String description,
java.lang.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,
java.lang.String type,
boolean repeating,
com.liferay.portal.kernel.cal.TZSRecurrence recurrence,
int remindBy,
int firstReminder,
int secondReminder,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- 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
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
exportEvent
public java.io.File exportEvent(long eventId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
exportGroupEvents
public java.io.File exportGroupEvents(long groupId,
java.lang.String fileName)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getEvent
public com.liferay.portlet.calendar.model.CalEvent getEvent(long eventId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getEvents
public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(long groupId,
java.util.Calendar cal,
java.lang.String type)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getEvents
public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(long groupId,
java.util.Calendar cal,
java.lang.String[] types)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getEvents
public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(long groupId,
java.lang.String type,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getEvents
public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(long groupId,
java.lang.String[] types,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getEventsCount
public int getEventsCount(long groupId,
java.lang.String type)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getEventsCount
public int getEventsCount(long groupId,
java.lang.String[] types)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
hasEvents
public boolean hasEvents(long groupId,
java.util.Calendar cal)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
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.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
hasEvents
public boolean hasEvents(long groupId,
java.util.Calendar cal,
java.lang.String[] types)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
importICal4j
public void importICal4j(long groupId,
java.io.InputStream inputStream)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
updateEvent
public com.liferay.portlet.calendar.model.CalEvent updateEvent(long eventId,
java.lang.String title,
java.lang.String description,
java.lang.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,
java.lang.String type,
boolean repeating,
com.liferay.portal.kernel.cal.TZSRecurrence recurrence,
int remindBy,
int firstReminder,
int secondReminder,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException