Class AgendaEventStorage

    • Method Detail

      • getEventIds

        public List<Long> getEventIds​(org.exoplatform.agenda.model.EventFilter eventFilter)
      • getPendingEventIds

        public List<Long> getPendingEventIds​(Long userIdentityId,
                                             List<Long> ownerIds,
                                             List<Long> attendeeIds,
                                             int offset,
                                             int limit)
      • countPendingEvents

        public long countPendingEvents​(Long userIdentityId,
                                       List<Long> ownerIds,
                                       List<Long> attendeeIds)
      • getEventDatePollIds

        public List<Long> getEventDatePollIds​(Long userIdentityId,
                                              List<Long> ownerIds,
                                              List<Long> attendeeIds,
                                              int offset,
                                              int limit)
      • countEventDatePolls

        public long countEventDatePolls​(List<Long> ownerIds,
                                        List<Long> attendeeIds)
      • getParentRecurrentEventIds

        public List<org.exoplatform.agenda.model.Event> getParentRecurrentEventIds​(ZonedDateTime start,
                                                                                   ZonedDateTime end)
      • getEventById

        public org.exoplatform.agenda.model.Event getEventById​(long eventId)
      • deleteEventById

        public void deleteEventById​(long eventId)
      • deleteCalendarEvents

        public void deleteCalendarEvents​(long calendarId)
      • getExceptionalOccurenceIds

        public List<Long> getExceptionalOccurenceIds​(long parentRecurrentEventId)
        Parameters:
        parentRecurrentEventId - a parent recurrent Event technical identifier
        Returns:
        List of Event identifiers corresponding to exceptional occurences events Identifiers of a parent recurrent event for a selected period of time
      • getExceptionalOccurenceIdsByPeriod

        public List<Long> getExceptionalOccurenceIdsByPeriod​(long parentRecurrentEventId,
                                                             ZonedDateTime start,
                                                             ZonedDateTime end)
        Parameters:
        parentRecurrentEventId - a parent recurrent Event technical identifier
        start - start DateTime of period to search on
        end - end DateTime of period to search on
        Returns:
        List of Event identifiers corresponding to exceptional occurences events Identifiers of a parent recurrent event for a selected period of time
      • getExceptionalOccurenceIds

        public List<Long> getExceptionalOccurenceIds​(long parentRecurrentEventId,
                                                     ZonedDateTime occurrenceId)
      • createEvent

        public org.exoplatform.agenda.model.Event createEvent​(org.exoplatform.agenda.model.Event event)
      • deleteExceptionalOccurences

        public List<Long> deleteExceptionalOccurences​(long parentRecurrentEventId)
      • getExceptionalOccurrenceEvent

        public org.exoplatform.agenda.model.Event getExceptionalOccurrenceEvent​(long parentRecurrentEventId,
                                                                                ZonedDateTime occurrenceId)
      • updateEvent

        public org.exoplatform.agenda.model.Event updateEvent​(org.exoplatform.agenda.model.Event event)
      • isRecurrentEvent

        public boolean isRecurrentEvent​(long eventId)