Class AgendaEventConferenceStorage

java.lang.Object
org.exoplatform.agenda.storage.AgendaEventConferenceStorage

public class AgendaEventConferenceStorage extends Object
  • Constructor Details

    • AgendaEventConferenceStorage

      public AgendaEventConferenceStorage(EventDAO eventDAO, EventConferenceDAO eventConferenceDAO, org.exoplatform.services.listener.ListenerService listenerService)
  • Method Details

    • getEventConferences

      public List<org.exoplatform.agenda.model.EventConference> getEventConferences(long eventId)
    • findConferencesHoldingSegment

      public List<EventConferenceMatch> findConferencesHoldingSegment(String type, String segment, int limit)
      Lists the meeting links of a conference type holding a path segment, each with the series of the events holding it: the segment followed by the end of the link, a query string, a fragment or another segment. The segment is matched literally: the LIKE wildcards it holds, % and _, are escaped. The links come by series, the earliest created first, so the limit keeps the series created first, whenever their links were saved.

      The segment is searched anywhere in the link, which no index serves: each call reads the whole conference table. It is meant for one lookup at a time, such as opening one recording, never for each item of a list.

      Parameters:
      type - conference type, the web conferencing provider type
      segment - the segment, such as / and a call identifier
      limit - maximum number of links to return
      Returns:
      the links found, possibly empty
    • saveEventConference

      public org.exoplatform.agenda.model.EventConference saveEventConference(org.exoplatform.agenda.model.EventConference eventConference)
    • removeEventConference

      public void removeEventConference(long conferenceId)