|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.service.BaseLocalServiceImpl
com.liferay.portlet.calendar.service.base.CalEventLocalServiceBaseImpl
com.liferay.portlet.calendar.service.impl.CalEventLocalServiceImpl
@Deprecated public class CalEventLocalServiceImpl
| Field Summary | |
|---|---|
protected MailService |
mailService
Deprecated. |
| Constructor Summary | |
|---|---|
CalEventLocalServiceImpl()
Deprecated. |
|
| Method Summary | |
|---|---|
CalEvent |
addEvent(long userId,
String title,
String description,
String location,
int startDateMonth,
int startDateDay,
int startDateYear,
int startDateHour,
int startDateMinute,
int durationHour,
int durationMinute,
boolean allDay,
boolean timeZoneSensitive,
String type,
boolean repeating,
TZSRecurrence recurrence,
int remindBy,
int firstReminder,
int secondReminder,
ServiceContext serviceContext)
Deprecated. |
CalEvent |
addEvent(long userId,
String title,
String description,
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,
String type,
boolean repeating,
TZSRecurrence recurrence,
int remindBy,
int firstReminder,
int secondReminder,
ServiceContext serviceContext)
Deprecated. As of 6.2.0, replaced by addEvent(long, String,
String, String, int, int, int, int, int, int, int, boolean,
boolean, String, boolean, TZSRecurrence, int, int, int,
ServiceContext) |
void |
addEventResources(CalEvent event,
boolean addGroupPermissions,
boolean addGuestPermissions)
Deprecated. |
void |
addEventResources(CalEvent event,
ModelPermissions modelPermissions)
Deprecated. |
void |
addEventResources(long eventId,
boolean addGroupPermissions,
boolean addGuestPermissions)
Deprecated. |
void |
addEventResources(long eventId,
ModelPermissions modelPermissions)
Deprecated. |
void |
checkEvents()
Deprecated. |
CalEvent |
deleteEvent(CalEvent event)
Deprecated. |
CalEvent |
deleteEvent(long eventId)
Deprecated. |
void |
deleteEvents(long groupId)
Deprecated. |
File |
exportEvent(long userId,
long eventId)
Deprecated. |
File |
exportEvents(long userId,
List<CalEvent> events,
String fileName)
Deprecated. |
File |
exportGroupEvents(long userId,
long groupId,
String fileName)
Deprecated. |
protected File |
exportICal4j(net.fortuna.ical4j.model.Calendar cal,
String fileName)
Deprecated. |
List<CalEvent> |
getCompanyEvents(long companyId,
int start,
int end)
Deprecated. |
int |
getCompanyEventsCount(long companyId)
Deprecated. |
protected Date |
getEndDate(Recurrence recurrence)
Deprecated. |
CalEvent |
getEvent(long eventId)
Deprecated. |
List<CalEvent> |
getEvents(long groupId,
Calendar cal)
Deprecated. |
List<CalEvent> |
getEvents(long groupId,
Calendar cal,
String type)
Deprecated. |
List<CalEvent> |
getEvents(long groupId,
Calendar cal,
String[] types)
Deprecated. |
List<CalEvent> |
getEvents(long groupId,
String[] types,
int start,
int end)
Deprecated. |
List<CalEvent> |
getEvents(long groupId,
String type,
int start,
int end)
Deprecated. |
int |
getEventsCount(long groupId,
String type)
Deprecated. |
int |
getEventsCount(long groupId,
String[] types)
Deprecated. |
List<CalEvent> |
getNoAssetEvents()
Deprecated. |
protected Calendar |
getRecurrenceCal(Calendar cal,
Calendar tzICal,
CalEvent event)
Deprecated. |
List<CalEvent> |
getRepeatingEvents(long groupId)
Deprecated. |
List<CalEvent> |
getRepeatingEvents(long groupId,
Calendar cal,
String[] types)
Deprecated. |
boolean |
hasEvents(long groupId,
Calendar cal)
Deprecated. |
boolean |
hasEvents(long groupId,
Calendar cal,
String type)
Deprecated. |
boolean |
hasEvents(long groupId,
Calendar cal,
String[] types)
Deprecated. |
void |
importICal4j(long userId,
long groupId,
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(CalEvent event,
User user,
Calendar startDate)
Deprecated. |
protected void |
remindUser(CalEvent event,
User user,
Calendar startCalendar,
Calendar nowCalendar)
Deprecated. |
protected Calendar |
toCalendar(net.fortuna.ical4j.model.property.DateProperty date,
TimeZone timeZone,
boolean timeZoneSensitive)
Deprecated. |
protected int |
toCalendarWeekDay(net.fortuna.ical4j.model.WeekDay weekDay)
Deprecated. |
protected net.fortuna.ical4j.model.Calendar |
toICalCalendar(long userId,
List<CalEvent> events)
Deprecated. |
protected net.fortuna.ical4j.model.Recur |
toICalRecurrence(TZSRecurrence recurrence)
Deprecated. |
protected net.fortuna.ical4j.model.component.VEvent |
toICalVEvent(CalEvent event,
TimeZone timeZone)
Deprecated. |
protected net.fortuna.ical4j.model.WeekDay |
toICalWeekDay(int dayOfWeek)
Deprecated. |
protected TZSRecurrence |
toRecurrence(net.fortuna.ical4j.model.property.RRule rRule,
Calendar startDate)
Deprecated. |
void |
updateAsset(long userId,
CalEvent event,
long[] assetCategoryIds,
String[] assetTagNames,
long[] assetLinkEntryIds)
Deprecated. |
CalEvent |
updateEvent(long userId,
long eventId,
String title,
String description,
String location,
int startDateMonth,
int startDateDay,
int startDateYear,
int startDateHour,
int startDateMinute,
int durationHour,
int durationMinute,
boolean allDay,
boolean timeZoneSensitive,
String type,
boolean repeating,
TZSRecurrence recurrence,
int remindBy,
int firstReminder,
int secondReminder,
ServiceContext serviceContext)
Deprecated. |
CalEvent |
updateEvent(long userId,
long eventId,
String title,
String description,
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,
String type,
boolean repeating,
TZSRecurrence recurrence,
int remindBy,
int firstReminder,
int secondReminder,
ServiceContext serviceContext)
Deprecated. As of 6.2.0, replaced by updateEvent(long, long,
String, String, String, int, int, int, int, int, int, int,
boolean, boolean, String, boolean, TZSRecurrence, int, int,
int, ServiceContext) |
protected void |
validate(String title,
int startDateMonth,
int startDateDay,
int startDateYear,
int durationHour,
int durationMinute,
boolean allDay,
boolean repeating,
TZSRecurrence recurrence)
Deprecated. |
| Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl |
|---|
getClassLoader, getLocalizationMap |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
@BeanReference(type=MailService.class) protected MailService mailService
| Constructor Detail |
|---|
public CalEventLocalServiceImpl()
| Method Detail |
|---|
@Indexable(type=REINDEX)
public CalEvent addEvent(long userId,
String title,
String description,
String location,
int startDateMonth,
int startDateDay,
int startDateYear,
int startDateHour,
int startDateMinute,
int durationHour,
int durationMinute,
boolean allDay,
boolean timeZoneSensitive,
String type,
boolean repeating,
TZSRecurrence recurrence,
int remindBy,
int firstReminder,
int secondReminder,
ServiceContext serviceContext)
throws PortalException
PortalException
@Deprecated
@Indexable(type=REINDEX)
public CalEvent addEvent(long userId,
String title,
String description,
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,
String type,
boolean repeating,
TZSRecurrence recurrence,
int remindBy,
int firstReminder,
int secondReminder,
ServiceContext serviceContext)
throws PortalException
addEvent(long, String,
String, String, int, int, int, int, int, int, int, boolean,
boolean, String, boolean, TZSRecurrence, int, int, int,
ServiceContext)
PortalException
public void addEventResources(CalEvent event,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws PortalException
PortalException
public void addEventResources(CalEvent event,
ModelPermissions modelPermissions)
throws PortalException
PortalException
public void addEventResources(long eventId,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws PortalException
PortalException
public void addEventResources(long eventId,
ModelPermissions modelPermissions)
throws PortalException
PortalExceptionpublic void checkEvents()
@Indexable(type=DELETE)
public CalEvent deleteEvent(CalEvent event)
throws PortalException
PortalException
@Indexable(type=DELETE)
public CalEvent deleteEvent(long eventId)
throws PortalException
PortalException
public void deleteEvents(long groupId)
throws PortalException
PortalException
public File exportEvent(long userId,
long eventId)
throws PortalException
PortalException
public File exportEvents(long userId,
List<CalEvent> events,
String fileName)
throws PortalException
PortalException
public File exportGroupEvents(long userId,
long groupId,
String fileName)
throws PortalException
PortalException
public List<CalEvent> getCompanyEvents(long companyId,
int start,
int end)
public int getCompanyEventsCount(long companyId)
public CalEvent getEvent(long eventId)
throws PortalException
PortalException
public List<CalEvent> getEvents(long groupId,
Calendar cal)
public List<CalEvent> getEvents(long groupId,
Calendar cal,
String type)
public List<CalEvent> getEvents(long groupId,
Calendar cal,
String[] types)
public List<CalEvent> getEvents(long groupId,
String type,
int start,
int end)
public List<CalEvent> getEvents(long groupId,
String[] types,
int start,
int end)
public int getEventsCount(long groupId,
String type)
public int getEventsCount(long groupId,
String[] types)
public List<CalEvent> getNoAssetEvents()
public List<CalEvent> getRepeatingEvents(long groupId)
public List<CalEvent> getRepeatingEvents(long groupId,
Calendar cal,
String[] types)
public boolean hasEvents(long groupId,
Calendar cal)
public boolean hasEvents(long groupId,
Calendar cal,
String type)
public boolean hasEvents(long groupId,
Calendar cal,
String[] types)
public void importICal4j(long userId,
long groupId,
InputStream inputStream)
throws PortalException
PortalException
public void updateAsset(long userId,
CalEvent event,
long[] assetCategoryIds,
String[] assetTagNames,
long[] assetLinkEntryIds)
throws PortalException
PortalException
@Indexable(type=REINDEX)
public CalEvent updateEvent(long userId,
long eventId,
String title,
String description,
String location,
int startDateMonth,
int startDateDay,
int startDateYear,
int startDateHour,
int startDateMinute,
int durationHour,
int durationMinute,
boolean allDay,
boolean timeZoneSensitive,
String type,
boolean repeating,
TZSRecurrence recurrence,
int remindBy,
int firstReminder,
int secondReminder,
ServiceContext serviceContext)
throws PortalException
PortalException
@Deprecated
@Indexable(type=REINDEX)
public CalEvent updateEvent(long userId,
long eventId,
String title,
String description,
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,
String type,
boolean repeating,
TZSRecurrence recurrence,
int remindBy,
int firstReminder,
int secondReminder,
ServiceContext serviceContext)
throws PortalException
updateEvent(long, long,
String, String, String, int, int, int, int, int, int, int,
boolean, boolean, String, boolean, TZSRecurrence, int, int,
int, ServiceContext)
PortalException
protected File exportICal4j(net.fortuna.ical4j.model.Calendar cal,
String fileName)
protected Date getEndDate(Recurrence recurrence)
protected Calendar getRecurrenceCal(Calendar cal,
Calendar tzICal,
CalEvent event)
protected void importICal4j(long userId,
long groupId,
net.fortuna.ical4j.model.component.VEvent event)
throws PortalException
PortalExceptionprotected boolean isICal4jDateOnly(net.fortuna.ical4j.model.property.DateProperty dateProperty)
protected void remindUser(CalEvent event,
User user,
Calendar startDate)
protected void remindUser(CalEvent event,
User user,
Calendar startCalendar,
Calendar nowCalendar)
protected Calendar toCalendar(net.fortuna.ical4j.model.property.DateProperty date,
TimeZone timeZone,
boolean timeZoneSensitive)
protected int toCalendarWeekDay(net.fortuna.ical4j.model.WeekDay weekDay)
protected net.fortuna.ical4j.model.Calendar toICalCalendar(long userId,
List<CalEvent> events)
throws PortalException
PortalExceptionprotected net.fortuna.ical4j.model.Recur toICalRecurrence(TZSRecurrence recurrence)
protected net.fortuna.ical4j.model.component.VEvent toICalVEvent(CalEvent event,
TimeZone timeZone)
protected net.fortuna.ical4j.model.WeekDay toICalWeekDay(int dayOfWeek)
protected TZSRecurrence toRecurrence(net.fortuna.ical4j.model.property.RRule rRule,
Calendar startDate)
protected void validate(String title,
int startDateMonth,
int startDateDay,
int startDateYear,
int durationHour,
int durationMinute,
boolean allDay,
boolean repeating,
TZSRecurrence recurrence)
throws PortalException
PortalException
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||