Class AgendaConferenceEventRest
java.lang.Object
org.exoplatform.agenda.rest.AgendaConferenceEventRest
@RestController
@RequestMapping("conference-event")
public class AgendaConferenceEventRest
extends Object
Tells which event a web conferencing call was held for, so that what the
call left behind, such as a recording, can link to it.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAgendaConferenceEventRest(org.exoplatform.agenda.service.AgendaConferenceEventService conferenceEventService, org.exoplatform.social.core.manager.IdentityManager identityManager) Builds the resource. -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<ConferenceEventEntity> getConferenceEvent(jakarta.servlet.http.HttpServletRequest request, String providerType, String callId, String moment, int graceHours) Answers the event, or the occurrence of a recurring event, a call was held for at a moment, asAgendaConferenceEventService.getConferenceEvent(String, String, ZonedDateTime, int, long)finds it for the authenticated user.
-
Field Details
-
INVALID_MOMENT
- See Also:
-
DEFAULT_GRACE_HOURS
The grace when the caller gives none: the default of web conferencing'soccurrence-grace-hours, which files a recording under an occurrence up to that long after its end.- See Also:
-
-
Constructor Details
-
AgendaConferenceEventRest
@Autowired public AgendaConferenceEventRest(org.exoplatform.agenda.service.AgendaConferenceEventService conferenceEventService, org.exoplatform.social.core.manager.IdentityManager identityManager) Builds the resource.- Parameters:
conferenceEventService- finds the event of a callidentityManager- resolves the authenticated user's identity
-
-
Method Details
-
getConferenceEvent
@GetMapping @Secured("users") public org.springframework.http.ResponseEntity<ConferenceEventEntity> getConferenceEvent(jakarta.servlet.http.HttpServletRequest request, @RequestParam("providerType") String providerType, @RequestParam("callId") String callId, @RequestParam("moment") String moment, @RequestParam(name="graceHours",required=false,defaultValue="12") int graceHours) Answers the event, or the occurrence of a recurring event, a call was held for at a moment, asAgendaConferenceEventService.getConferenceEvent(String, String, ZonedDateTime, int, long)finds it for the authenticated user.- Parameters:
request- the authenticated request, the only source of the reading user's identityproviderType- the web conferencing provider typecallId- the call identifiermoment- when the call was held, ISO-8601 with an offsetgraceHours- how many hours after an occurrence's end the call still belongs to it- Returns:
- 200 with the event, or 204 when the lookup answers no event the user can read in full; never stored by a cache, the answer depending on the reader
-