Class AgendaEventConferenceStorage
java.lang.Object
org.exoplatform.agenda.storage.AgendaEventConferenceStorage
-
Constructor Summary
ConstructorsConstructorDescriptionAgendaEventConferenceStorage(EventDAO eventDAO, EventConferenceDAO eventConferenceDAO, org.exoplatform.services.listener.ListenerService listenerService) -
Method Summary
Modifier and TypeMethodDescriptionfindConferencesHoldingSegment(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.List<org.exoplatform.agenda.model.EventConference> getEventConferences(long eventId) voidremoveEventConference(long conferenceId) org.exoplatform.agenda.model.EventConferencesaveEventConference(org.exoplatform.agenda.model.EventConference eventConference)
-
Constructor Details
-
AgendaEventConferenceStorage
public AgendaEventConferenceStorage(EventDAO eventDAO, EventConferenceDAO eventConferenceDAO, org.exoplatform.services.listener.ListenerService listenerService)
-
-
Method Details
-
getEventConferences
-
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 typesegment- the segment, such as/and a call identifierlimit- 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)
-