Class EventConferenceDAO
java.lang.Object
org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<EventConferenceEntity, Long>
org.exoplatform.agenda.dao.EventConferenceDAO
- All Implemented Interfaces:
org.exoplatform.commons.api.persistence.GenericDAO<EventConferenceEntity, Long>
public class EventConferenceDAO
extends org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<EventConferenceEntity, Long>
-
Field Summary
Fields inherited from class org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl
modelClass -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteCalendarConferences(long calendarId) voiddeleteEventConferences(long eventId) findByTypeAndUrlSegment(String type, String escapedSegment, int limit) Lists the meeting links of a given conference type holding a path segment, each with the series of the event holding it: the event itself when it is not an occurrence.getEventConferences(long eventId) Methods inherited from class org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl
count, create, createAll, delete, deleteAll, deleteAll, find, findAll, getEntityManager, getHibernateDialect, isMSSQLDialect, isOrcaleDialect, update, updateAll
-
Constructor Details
-
EventConferenceDAO
public EventConferenceDAO()
-
-
Method Details
-
deleteCalendarConferences
public void deleteCalendarConferences(long calendarId) -
deleteEventConferences
public void deleteEventConferences(long eventId) -
getEventConferences
-
findByTypeAndUrlSegment
Lists the meeting links of a given conference type holding a path segment, each with the series of the event holding it: the event itself when it is not an occurrence. A link holds the segment when the segment is followed by the end of the link, a query string, a fragment or another segment; a link where it is only the beginning of a longer segment is not read, so it does not count toward the limit. A link a series copies onto its stored occurrences comes back once. The segment's LIKE wildcards are escaped with!, the one escape character every supported engine reads the same way (MySQL reads a backslash in a literal as an escape of its own). The rows come by series, the earliest created first, so the limit keeps the series created first, whenever their links were saved.- Parameters:
type- conference type, the web conferencing provider typeescapedSegment- the segment, such as/and a call identifier, its LIKE wildcards escaped with!limit- maximum number of rows to return- Returns:
- distinct rows of { url, series or event id }, possibly empty
-