@Deprecated public class CalEventLocalServiceImpl extends CalEventLocalServiceBaseImpl
| Modifier and Type | Field and Description |
|---|---|
protected com.liferay.mail.service.MailService |
mailService
Deprecated.
|
assetEntryFinder, assetEntryLocalService, assetEntryPersistence, assetLinkLocalService, assetLinkPersistence, assetTagFinder, assetTagLocalService, assetTagPersistence, calEventFinder, calEventLocalService, calEventPersistence, classNameLocalService, classNamePersistence, companyLocalService, companyPersistence, counterLocalService, expandoValueLocalService, expandoValuePersistence, groupFinder, groupLocalService, groupPersistence, mbMessageFinder, mbMessageLocalService, mbMessagePersistence, persistedModelLocalServiceRegistry, portletPreferencesFinder, portletPreferencesLocalService, portletPreferencesPersistence, resourceLocalService, socialActivityFinder, socialActivityLocalService, socialActivityPersistence, subscriptionLocalService, subscriptionPersistence, userFinder, userLocalService, userPersistence| Constructor and Description |
|---|
CalEventLocalServiceImpl()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
com.liferay.portlet.calendar.model.CalEvent |
addEvent(long userId,
java.lang.String title,
java.lang.String description,
java.lang.String location,
int startDateMonth,
int startDateDay,
int startDateYear,
int startDateHour,
int startDateMinute,
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)
Deprecated.
|
void |
addEventResources(com.liferay.portlet.calendar.model.CalEvent event,
boolean addGroupPermissions,
boolean addGuestPermissions)
Deprecated.
|
void |
addEventResources(com.liferay.portlet.calendar.model.CalEvent event,
com.liferay.portal.service.permission.ModelPermissions modelPermissions)
Deprecated.
|
void |
addEventResources(long eventId,
boolean addGroupPermissions,
boolean addGuestPermissions)
Deprecated.
|
void |
addEventResources(long eventId,
com.liferay.portal.service.permission.ModelPermissions modelPermissions)
Deprecated.
|
void |
checkEvents()
Deprecated.
|
com.liferay.portlet.calendar.model.CalEvent |
deleteEvent(com.liferay.portlet.calendar.model.CalEvent event)
Deprecated.
|
com.liferay.portlet.calendar.model.CalEvent |
deleteEvent(long eventId)
Deprecated.
|
void |
deleteEvents(long groupId)
Deprecated.
|
java.io.File |
exportEvent(long userId,
long eventId)
Deprecated.
|
java.io.File |
exportEvents(long userId,
java.util.List<com.liferay.portlet.calendar.model.CalEvent> events,
java.lang.String fileName)
Deprecated.
|
java.io.File |
exportGroupEvents(long userId,
long groupId,
java.lang.String fileName)
Deprecated.
|
protected java.io.File |
exportICal4j(net.fortuna.ical4j.model.Calendar cal,
java.lang.String fileName)
Deprecated.
|
java.util.List<com.liferay.portlet.calendar.model.CalEvent> |
getCompanyEvents(long companyId,
int start,
int end)
Deprecated.
|
int |
getCompanyEventsCount(long companyId)
Deprecated.
|
protected java.util.Date |
getEndDate(com.liferay.portal.kernel.cal.Recurrence recurrence)
Deprecated.
|
com.liferay.portlet.calendar.model.CalEvent |
getEvent(long eventId)
Deprecated.
|
java.util.List<com.liferay.portlet.calendar.model.CalEvent> |
getEvents(long groupId,
java.util.Calendar cal)
Deprecated.
|
java.util.List<com.liferay.portlet.calendar.model.CalEvent> |
getEvents(long groupId,
java.util.Calendar cal,
java.lang.String type)
Deprecated.
|
java.util.List<com.liferay.portlet.calendar.model.CalEvent> |
getEvents(long groupId,
java.util.Calendar cal,
java.lang.String[] types)
Deprecated.
|
java.util.List<com.liferay.portlet.calendar.model.CalEvent> |
getEvents(long groupId,
java.lang.String[] types,
int start,
int end)
Deprecated.
|
java.util.List<com.liferay.portlet.calendar.model.CalEvent> |
getEvents(long groupId,
java.lang.String type,
int start,
int end)
Deprecated.
|
int |
getEventsCount(long groupId,
java.lang.String type)
Deprecated.
|
int |
getEventsCount(long groupId,
java.lang.String[] types)
Deprecated.
|
java.util.List<com.liferay.portlet.calendar.model.CalEvent> |
getNoAssetEvents()
Deprecated.
|
protected java.util.Calendar |
getRecurrenceCal(java.util.Calendar cal,
java.util.Calendar tzICal,
com.liferay.portlet.calendar.model.CalEvent event)
Deprecated.
|
java.util.List<com.liferay.portlet.calendar.model.CalEvent> |
getRepeatingEvents(long groupId)
Deprecated.
|
java.util.List<com.liferay.portlet.calendar.model.CalEvent> |
getRepeatingEvents(long groupId,
java.util.Calendar cal,
java.lang.String[] types)
Deprecated.
|
boolean |
hasEvents(long groupId,
java.util.Calendar cal)
Deprecated.
|
boolean |
hasEvents(long groupId,
java.util.Calendar cal,
java.lang.String type)
Deprecated.
|
boolean |
hasEvents(long groupId,
java.util.Calendar cal,
java.lang.String[] types)
Deprecated.
|
void |
importICal4j(long userId,
long groupId,
java.io.InputStream inputStream)
Deprecated.
|
protected void |
importICal4j(long userId,
long groupId,
net.fortuna.ical4j.model.component.VEvent event)
Deprecated.
|
protected boolean |
isICal4jDateOnly(net.fortuna.ical4j.model.property.DateProperty dateProperty)
Deprecated.
|
protected void |
remindUser(com.liferay.portlet.calendar.model.CalEvent event,
com.liferay.portal.model.User user,
java.util.Calendar startDate)
Deprecated.
|
protected void |
remindUser(com.liferay.portlet.calendar.model.CalEvent event,
com.liferay.portal.model.User user,
java.util.Calendar startCalendar,
java.util.Calendar nowCalendar)
Deprecated.
|
protected java.util.Calendar |
toCalendar(net.fortuna.ical4j.model.property.DateProperty date,
java.util.TimeZone timeZone,
boolean timeZoneSensitive)
Deprecated.
|
protected int |
toCalendarWeekDay(net.fortuna.ical4j.model.WeekDay weekDay)
Deprecated.
|
protected net.fortuna.ical4j.model.Calendar |
toICalCalendar(long userId,
java.util.List<com.liferay.portlet.calendar.model.CalEvent> events)
Deprecated.
|
protected net.fortuna.ical4j.model.Recur |
toICalRecurrence(com.liferay.portal.kernel.cal.TZSRecurrence recurrence)
Deprecated.
|
protected net.fortuna.ical4j.model.component.VEvent |
toICalVEvent(com.liferay.portlet.calendar.model.CalEvent event,
java.util.TimeZone timeZone)
Deprecated.
|
protected net.fortuna.ical4j.model.WeekDay |
toICalWeekDay(int dayOfWeek)
Deprecated.
|
protected com.liferay.portal.kernel.cal.TZSRecurrence |
toRecurrence(net.fortuna.ical4j.model.property.RRule rRule,
java.util.Calendar startDate)
Deprecated.
|
void |
updateAsset(long userId,
com.liferay.portlet.calendar.model.CalEvent event,
long[] assetCategoryIds,
java.lang.String[] assetTagNames,
long[] assetLinkEntryIds)
Deprecated.
|
com.liferay.portlet.calendar.model.CalEvent |
updateEvent(long userId,
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 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)
Deprecated.
|
protected void |
validate(java.lang.String title,
int startDateMonth,
int startDateDay,
int startDateYear,
int durationHour,
int durationMinute,
boolean allDay,
boolean repeating,
com.liferay.portal.kernel.cal.TZSRecurrence recurrence)
Deprecated.
|
addCalEvent, afterPropertiesSet, createCalEvent, deleteCalEvent, deleteCalEvent, deletePersistedModel, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchCalEvent, fetchCalEventByUuidAndGroupId, getActionableDynamicQuery, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getAssetLinkLocalService, getAssetLinkPersistence, getAssetTagFinder, getAssetTagLocalService, getAssetTagPersistence, getCalEvent, getCalEventByUuidAndGroupId, getCalEventFinder, getCalEventLocalService, getCalEventPersistence, getCalEvents, getCalEventsByUuidAndCompanyId, getCalEventsByUuidAndCompanyId, getCalEventsCount, getClassNameLocalService, getClassNamePersistence, getCompanyLocalService, getCompanyPersistence, getCounterLocalService, getExpandoValueLocalService, getExpandoValuePersistence, getExportActionableDynamicQuery, getGroupFinder, getGroupLocalService, getGroupPersistence, getIndexableActionableDynamicQuery, getMBMessageFinder, getMBMessageLocalService, getMBMessagePersistence, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, getPortletPreferencesFinder, getPortletPreferencesLocalService, getPortletPreferencesPersistence, getResourceLocalService, getSocialActivityFinder, getSocialActivityLocalService, getSocialActivityPersistence, getSubscriptionLocalService, getSubscriptionPersistence, getUserFinder, getUserLocalService, getUserPersistence, initActionableDynamicQuery, runSQL, setAssetEntryFinder, setAssetEntryLocalService, setAssetEntryPersistence, setAssetLinkLocalService, setAssetLinkPersistence, setAssetTagFinder, setAssetTagLocalService, setAssetTagPersistence, setCalEventFinder, setCalEventLocalService, setCalEventPersistence, setClassNameLocalService, setClassNamePersistence, setCompanyLocalService, setCompanyPersistence, setCounterLocalService, setExpandoValueLocalService, setExpandoValuePersistence, setGroupFinder, setGroupLocalService, setGroupPersistence, setMBMessageFinder, setMBMessageLocalService, setMBMessagePersistence, setPortletPreferencesFinder, setPortletPreferencesLocalService, setPortletPreferencesPersistence, setResourceLocalService, setSocialActivityFinder, setSocialActivityLocalService, setSocialActivityPersistence, setSubscriptionLocalService, setSubscriptionPersistence, setUserFinder, setUserLocalService, setUserPersistence, updateCalEvent@BeanReference(type=com.liferay.mail.service.MailService.class) protected com.liferay.mail.service.MailService mailService
@Indexable(type=REINDEX)
public com.liferay.portlet.calendar.model.CalEvent addEvent(long userId,
java.lang.String title,
java.lang.String description,
java.lang.String location,
int startDateMonth,
int startDateDay,
int startDateYear,
int startDateHour,
int startDateMinute,
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.PortalExceptionpublic void addEventResources(com.liferay.portlet.calendar.model.CalEvent event,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic void addEventResources(com.liferay.portlet.calendar.model.CalEvent event,
com.liferay.portal.service.permission.ModelPermissions modelPermissions)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic void addEventResources(long eventId,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic void addEventResources(long eventId,
com.liferay.portal.service.permission.ModelPermissions modelPermissions)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic void checkEvents()
@Indexable(type=DELETE)
public com.liferay.portlet.calendar.model.CalEvent deleteEvent(com.liferay.portlet.calendar.model.CalEvent event)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Indexable(type=DELETE)
public com.liferay.portlet.calendar.model.CalEvent deleteEvent(long eventId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic void deleteEvents(long groupId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic java.io.File exportEvent(long userId,
long eventId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic java.io.File exportEvents(long userId,
java.util.List<com.liferay.portlet.calendar.model.CalEvent> events,
java.lang.String fileName)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic java.io.File exportGroupEvents(long userId,
long groupId,
java.lang.String fileName)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<com.liferay.portlet.calendar.model.CalEvent> getCompanyEvents(long companyId,
int start,
int end)
public int getCompanyEventsCount(long companyId)
public com.liferay.portlet.calendar.model.CalEvent getEvent(long eventId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(long groupId,
java.util.Calendar cal)
public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(long groupId,
java.util.Calendar cal,
java.lang.String type)
public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(long groupId,
java.util.Calendar cal,
java.lang.String[] types)
public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(long groupId,
java.lang.String type,
int start,
int end)
public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(long groupId,
java.lang.String[] types,
int start,
int end)
public int getEventsCount(long groupId,
java.lang.String type)
public int getEventsCount(long groupId,
java.lang.String[] types)
public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getNoAssetEvents()
public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getRepeatingEvents(long groupId)
public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getRepeatingEvents(long groupId,
java.util.Calendar cal,
java.lang.String[] types)
public boolean hasEvents(long groupId,
java.util.Calendar cal)
public boolean hasEvents(long groupId,
java.util.Calendar cal,
java.lang.String type)
public boolean hasEvents(long groupId,
java.util.Calendar cal,
java.lang.String[] types)
public void importICal4j(long userId,
long groupId,
java.io.InputStream inputStream)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic void updateAsset(long userId,
com.liferay.portlet.calendar.model.CalEvent event,
long[] assetCategoryIds,
java.lang.String[] assetTagNames,
long[] assetLinkEntryIds)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Indexable(type=REINDEX)
public com.liferay.portlet.calendar.model.CalEvent updateEvent(long userId,
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 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.PortalExceptionprotected java.io.File exportICal4j(net.fortuna.ical4j.model.Calendar cal,
java.lang.String fileName)
protected java.util.Date getEndDate(com.liferay.portal.kernel.cal.Recurrence recurrence)
protected java.util.Calendar getRecurrenceCal(java.util.Calendar cal,
java.util.Calendar tzICal,
com.liferay.portlet.calendar.model.CalEvent event)
protected void importICal4j(long userId,
long groupId,
net.fortuna.ical4j.model.component.VEvent event)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionprotected boolean isICal4jDateOnly(net.fortuna.ical4j.model.property.DateProperty dateProperty)
protected void remindUser(com.liferay.portlet.calendar.model.CalEvent event,
com.liferay.portal.model.User user,
java.util.Calendar startDate)
protected void remindUser(com.liferay.portlet.calendar.model.CalEvent event,
com.liferay.portal.model.User user,
java.util.Calendar startCalendar,
java.util.Calendar nowCalendar)
protected java.util.Calendar toCalendar(net.fortuna.ical4j.model.property.DateProperty date,
java.util.TimeZone timeZone,
boolean timeZoneSensitive)
protected int toCalendarWeekDay(net.fortuna.ical4j.model.WeekDay weekDay)
protected net.fortuna.ical4j.model.Calendar toICalCalendar(long userId,
java.util.List<com.liferay.portlet.calendar.model.CalEvent> events)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionprotected net.fortuna.ical4j.model.Recur toICalRecurrence(com.liferay.portal.kernel.cal.TZSRecurrence recurrence)
protected net.fortuna.ical4j.model.component.VEvent toICalVEvent(com.liferay.portlet.calendar.model.CalEvent event,
java.util.TimeZone timeZone)
protected net.fortuna.ical4j.model.WeekDay toICalWeekDay(int dayOfWeek)
protected com.liferay.portal.kernel.cal.TZSRecurrence toRecurrence(net.fortuna.ical4j.model.property.RRule rRule,
java.util.Calendar startDate)
protected void validate(java.lang.String title,
int startDateMonth,
int startDateDay,
int startDateYear,
int durationHour,
int durationMinute,
boolean allDay,
boolean repeating,
com.liferay.portal.kernel.cal.TZSRecurrence recurrence)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException