Class MeetServerService
- All Implemented Interfaces:
fr.paris.lutece.plugins.appointment.modules.virtualmeeting.provider.IVirtualMeetingProvider
IVirtualMeetingProvider.
Integrates with the Meet external API for room management. Since Meet uses room URLs for access (not per-participant tokens), the token generation methods return the room URL.
-
Field Summary
Fields inherited from interface fr.paris.lutece.plugins.appointment.modules.virtualmeeting.provider.IVirtualMeetingProvider
PARAM_ACCESS_LEVEL, PARAM_DISPLAY_NAME, PARAM_EMPTY_TIMEOUT, PARAM_IDENTITY, PARAM_MAX_PARTICIPANTS, PARAM_NOT_BEFORE, PARAM_ROOM_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancreateRoom(Map<String, Object> mapParameters) booleandeleteRoom(Map<String, Object> mapParameters) generateParticipantToken(Map<String, Object> mapParameters) generateViewerToken(Map<String, Object> mapParameters) getName()booleanvoidsetAccessLevel(String strAccessLevel) voidsetBaseUrl(String strBaseUrl) voidsetClientId(String strClientId) voidsetClientSecret(String strClientSecret) voidsetDefault(boolean bDefault) voidsetMeetingUrlPattern(String strMeetingUrlPattern) voidvoidMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface fr.paris.lutece.plugins.appointment.modules.virtualmeeting.provider.IVirtualMeetingProvider
getParticipantMeetingUrl, getViewerMeetingUrl
-
Constructor Details
-
MeetServerService
-
-
Method Details
-
getName
- Specified by:
getNamein interfacefr.paris.lutece.plugins.appointment.modules.virtualmeeting.provider.IVirtualMeetingProvider
-
setName
-
isDefault
public boolean isDefault()- Specified by:
isDefaultin interfacefr.paris.lutece.plugins.appointment.modules.virtualmeeting.provider.IVirtualMeetingProvider
-
setDefault
public void setDefault(boolean bDefault) -
setBaseUrl
-
setClientId
-
setClientSecret
-
setScope
-
setMeetingUrlPattern
-
setAccessLevel
-
getSupportedAccessLevels
- Specified by:
getSupportedAccessLevelsin interfacefr.paris.lutece.plugins.appointment.modules.virtualmeeting.provider.IVirtualMeetingProvider
-
getDefaultAccessLevel
Resolves exactly like
createRoom(java.util.Map<java.lang.String, java.lang.Object>): the valid site-wide default if one is configured, otherwise the documented Meet server default. An invalid configured value therefore reports the server default, which is what the server will actually apply.- Specified by:
getDefaultAccessLevelin interfacefr.paris.lutece.plugins.appointment.modules.virtualmeeting.provider.IVirtualMeetingProvider
-
createRoom
The Meet API auto-generates room slugs; the
roomNameparameter is used as a local cache key only. ParametersemptyTimeoutandmaxParticipantsare not supported by the Meet API and are ignored if present.accessLevelis resolved in three steps: the value passed inmapParameters, else the site-wide default (meet.server.accessLevelor the injected field), else nothing — in which case the field is omitted from the request body and the Meet server applies its own secure default.- Specified by:
createRoomin interfacefr.paris.lutece.plugins.appointment.modules.virtualmeeting.provider.IVirtualMeetingProvider
-
deleteRoom
Room deletion is not yet supported by the Meet API. This method removes the room from the local cache and returns
false.- Specified by:
deleteRoomin interfacefr.paris.lutece.plugins.appointment.modules.virtualmeeting.provider.IVirtualMeetingProvider
-
generateParticipantToken
The Meet API does not issue per-participant tokens. This method returns the room URL, which serves as the access point for all participants. Parameters
identity,displayName, andnotBeforeare ignored if present.- Specified by:
generateParticipantTokenin interfacefr.paris.lutece.plugins.appointment.modules.virtualmeeting.provider.IVirtualMeetingProvider
-
generateViewerToken
The Meet API does not distinguish between participant and viewer access levels. This method delegates to
generateParticipantToken(Map).- Specified by:
generateViewerTokenin interfacefr.paris.lutece.plugins.appointment.modules.virtualmeeting.provider.IVirtualMeetingProvider
-