Package org.opencastproject.lti.endpoint
Class LtiServiceRemoteImpl
java.lang.Object
org.opencastproject.serviceregistry.api.RemoteBase
org.opencastproject.lti.endpoint.LtiServiceRemoteImpl
- All Implemented Interfaces:
org.opencastproject.lti.service.api.LtiService
public class LtiServiceRemoteImpl
extends org.opencastproject.serviceregistry.api.RemoteBase
implements org.opencastproject.lti.service.api.LtiService
The service calling the LTI REST endpoint (for multi-node setups with LTI)
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opencastproject.serviceregistry.api.RemoteBase
org.opencastproject.serviceregistry.api.RemoteBase.HttpClientClosingInputStream -
Field Summary
Fields inherited from class org.opencastproject.serviceregistry.api.RemoteBase
client, elementsFromHttpResponse, remoteServiceManager, serviceTypeFields inherited from interface org.opencastproject.lti.service.api.LtiService
JOB_TYPE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcopyEventToSeries(String eventId, String seriesId) voidgetEventMetadata(String eventId) List<org.opencastproject.lti.service.api.LtiJob> voidsetEventMetadataJson(String eventId, String metadataJson) voidsetRemoteServiceManager(org.opencastproject.serviceregistry.api.ServiceRegistry serviceRegistry) voidsetTrustedHttpClient(org.opencastproject.security.api.TrustedHttpClient trustedHttpClient) voidupsertEvent(org.opencastproject.lti.service.api.LtiFileUpload file, String captions, String captionFormat, String captionLanguage, String eventId, String seriesId, String metadataJson) Methods inherited from class org.opencastproject.serviceregistry.api.RemoteBase
closeConnection, getResponse, getResponse, runRequest
-
Constructor Details
-
LtiServiceRemoteImpl
public LtiServiceRemoteImpl()
-
-
Method Details
-
listJobs
- Specified by:
listJobsin interfaceorg.opencastproject.lti.service.api.LtiService
-
upsertEvent
public void upsertEvent(org.opencastproject.lti.service.api.LtiFileUpload file, String captions, String captionFormat, String captionLanguage, String eventId, String seriesId, String metadataJson) - Specified by:
upsertEventin interfaceorg.opencastproject.lti.service.api.LtiService
-
copyEventToSeries
- Specified by:
copyEventToSeriesin interfaceorg.opencastproject.lti.service.api.LtiService
-
getEventMetadata
public String getEventMetadata(String eventId) throws org.opencastproject.util.NotFoundException, org.opencastproject.security.api.UnauthorizedException - Specified by:
getEventMetadatain interfaceorg.opencastproject.lti.service.api.LtiService- Throws:
org.opencastproject.util.NotFoundExceptionorg.opencastproject.security.api.UnauthorizedException
-
getNewEventMetadata
- Specified by:
getNewEventMetadatain interfaceorg.opencastproject.lti.service.api.LtiService
-
setEventMetadataJson
public void setEventMetadataJson(String eventId, String metadataJson) throws org.opencastproject.util.NotFoundException, org.opencastproject.security.api.UnauthorizedException - Specified by:
setEventMetadataJsonin interfaceorg.opencastproject.lti.service.api.LtiService- Throws:
org.opencastproject.util.NotFoundExceptionorg.opencastproject.security.api.UnauthorizedException
-
delete
- Specified by:
deletein interfaceorg.opencastproject.lti.service.api.LtiService
-
setTrustedHttpClient
public void setTrustedHttpClient(org.opencastproject.security.api.TrustedHttpClient trustedHttpClient) - Overrides:
setTrustedHttpClientin classorg.opencastproject.serviceregistry.api.RemoteBase
-
setRemoteServiceManager
public void setRemoteServiceManager(org.opencastproject.serviceregistry.api.ServiceRegistry serviceRegistry) - Overrides:
setRemoteServiceManagerin classorg.opencastproject.serviceregistry.api.RemoteBase
-