コード例 #1
0
  public static com.liferay.portlet.calendar.model.CalEvent updateEvent(
      long plid,
      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,
      java.lang.String remindBy,
      int firstReminder,
      int secondReminder,
      boolean morning,
      boolean afternoon,
      boolean evening,
      boolean prior)
      throws java.rmi.RemoteException, com.liferay.portal.PortalException,
          com.liferay.portal.SystemException {
    com.liferay.portlet.calendar.model.CalEvent returnValue =
        MeetingCalendarServiceUtil.updateEvent(
            plid,
            eventId,
            title,
            description,
            startDateMonth,
            startDateDay,
            startDateYear,
            startDateHour,
            startDateMinute,
            endDateMonth,
            endDateDay,
            endDateYear,
            durationHour,
            durationMinute,
            allDay,
            timeZoneSensitive,
            type,
            repeating,
            recurrence,
            remindBy,
            firstReminder,
            secondReminder,
            morning,
            afternoon,
            evening,
            prior);

    return returnValue;
  }
コード例 #2
0
  public static com.liferay.portlet.calendar.model.CalEvent getEvent(long eventId)
      throws java.rmi.RemoteException, com.liferay.portal.PortalException,
          com.liferay.portal.SystemException {
    com.liferay.portlet.calendar.model.CalEvent returnValue =
        MeetingCalendarServiceUtil.getEvent(eventId);

    return returnValue;
  }
コード例 #3
0
  public static void deleteEvent(long plid, long eventId) throws RemoteException {
    try {
      MeetingCalendarServiceUtil.deleteEvent(plid, eventId);
    } catch (Exception e) {
      _log.error(e, e);

      throw new RemoteException(e.getMessage());
    }
  }
コード例 #4
0
  public static com.liferay.portlet.calendar.model.CalEvent getEvent(long eventId)
      throws RemoteException {
    try {
      com.liferay.portlet.calendar.model.CalEvent returnValue =
          MeetingCalendarServiceUtil.getEvent(eventId);

      return returnValue;
    } catch (Exception e) {
      _log.error(e, e);

      throw new RemoteException(e.getMessage());
    }
  }
コード例 #5
0
 public static void deleteEvent(long plid, long eventId)
     throws java.rmi.RemoteException, com.liferay.portal.PortalException,
         com.liferay.portal.SystemException {
   MeetingCalendarServiceUtil.deleteEvent(plid, eventId);
 }
コード例 #6
0
  public static com.liferay.portlet.calendar.model.CalEvent addEvent(
      long plid,
      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,
      java.lang.String[] communityPermissions,
      java.lang.String[] guestPermissions,
      boolean morning,
      boolean afternoon,
      boolean evening,
      boolean prior,
      com.liferay.portal.service.ServiceContext serviceContext)
      throws RemoteException {
    try {
      com.liferay.portlet.calendar.model.CalEvent returnValue =
          MeetingCalendarServiceUtil.addEvent(
              plid,
              title,
              description,
              startDateMonth,
              startDateDay,
              startDateYear,
              startDateHour,
              startDateMinute,
              endDateMonth,
              endDateDay,
              endDateYear,
              durationHour,
              durationMinute,
              allDay,
              timeZoneSensitive,
              type,
              repeating,
              recurrence,
              remindBy,
              firstReminder,
              secondReminder,
              communityPermissions,
              guestPermissions,
              morning,
              afternoon,
              evening,
              prior,
              serviceContext);

      return returnValue;
    } catch (Exception e) {
      _log.error(e, e);

      throw new RemoteException(e.getMessage());
    }
  }