Uses of Class
org.opencastproject.security.api.UnauthorizedException
Packages that use UnauthorizedException
Package
Description
This package and all of its sub-packages contain the API definition of the asset manager.
This package and all of its sub-packages contain the default implementation of the asset manager API
as defined in
org.opencastproject.assetmanager.api.Implementation of search persistent storage.
Series service.
Series REST Service endpoints
Series REST Service implementation
Implementation of series persistent storage.
Workflow service.
Workflow REST and WSDL Service endpoints
-
Uses of UnauthorizedException in org.opencastproject.adminui.endpoint
Methods in org.opencastproject.adminui.endpoint that throw UnauthorizedExceptionModifier and TypeMethodDescriptionjavax.ws.rs.core.ResponseAbstractEventEndpoint.applyAclToEvent(String eventId, String acl) javax.ws.rs.core.ResponseSeriesEndpoint.createNewSeries(String metadata) javax.ws.rs.core.ResponseAbstractEventEndpoint.deleteEvent(String id) javax.ws.rs.core.ResponseAbstractEventEndpoint.deleteEvents(String eventIdsContent) javax.ws.rs.core.ResponseSeriesEndpoint.deleteSeriesProperty(String seriesId, String propertyName) javax.ws.rs.core.ResponseSeriesEndpoint.deleteSeriesTheme(String seriesID) javax.ws.rs.core.ResponseThemesEndpoint.deleteTheme(long themeId) javax.ws.rs.core.ResponseAbstractEventEndpoint.getEventScheduling(String eventId) javax.ws.rs.core.ResponseAbstractEventEndpoint.getEventWorkflowProperties(String eventIds) javax.ws.rs.core.ResponseAbstractEventEndpoint.getEventWorkflows(String id) javax.ws.rs.core.ResponsePresetsEndpoint.getProperty(String seriesId, String propertyName) javax.ws.rs.core.Responsejavax.ws.rs.core.ResponseSeriesEndpoint.getSeriesMetadata(String series) javax.ws.rs.core.ResponseSeriesEndpoint.getSeriesPropertiesAsJson(String seriesId) javax.ws.rs.core.ResponseSeriesEndpoint.getSeriesProperty(String seriesId, String propertyName) javax.ws.rs.core.ResponseCaptureAgentsEndpoint.removeAgent(String agentName) javax.ws.rs.core.ResponseAbstractEventEndpoint.updateEventScheduling(String eventId, String scheduling) javax.ws.rs.core.ResponseAbstractEventEndpoint.updateEventWorkflow(String id, String configuration) javax.ws.rs.core.ResponseSeriesEndpoint.updateSeriesMetadata(String seriesID, String metadataJSON) javax.ws.rs.core.ResponseSeriesEndpoint.updateSeriesProperty(String seriesId, String name, String value) javax.ws.rs.core.ResponseSeriesEndpoint.updateSeriesTheme(String seriesID, long themeId) -
Uses of UnauthorizedException in org.opencastproject.assetmanager.api
Methods in org.opencastproject.assetmanager.api that throw UnauthorizedExceptionModifier and TypeMethodDescriptionvoidAssetManager.triggerIndexUpdate(String mediaPackageId) Trigger search index update for event. -
Uses of UnauthorizedException in org.opencastproject.assetmanager.impl
Methods in org.opencastproject.assetmanager.impl that return UnauthorizedExceptionMethods in org.opencastproject.assetmanager.impl that return types with arguments of type UnauthorizedExceptionModifier and TypeMethodDescriptionProtected.get()static <A> com.entwinemedia.fn.Fn<Protected<A>, Either<UnauthorizedException, A>> Protected.getFn()Methods in org.opencastproject.assetmanager.impl with parameters of type UnauthorizedExceptionModifier and TypeMethodDescriptionstatic <A> Protected<A> Protected.rejected(UnauthorizedException e) Methods in org.opencastproject.assetmanager.impl that throw UnauthorizedExceptionModifier and TypeMethodDescriptionvoidAssetManagerImpl.triggerIndexUpdate(String mediaPackageId) Constructor parameters in org.opencastproject.assetmanager.impl with type arguments of type UnauthorizedException -
Uses of UnauthorizedException in org.opencastproject.editor
Methods in org.opencastproject.editor that throw UnauthorizedException -
Uses of UnauthorizedException in org.opencastproject.editor.api
Methods in org.opencastproject.editor.api that throw UnauthorizedExceptionModifier and TypeMethodDescriptionEditorService.getEditData(String mediaPackageId) Provide information to edit video and audio data relevant to the given mediaPackageId -
Uses of UnauthorizedException in org.opencastproject.external.endpoint
Methods in org.opencastproject.external.endpoint that throw UnauthorizedExceptionModifier and TypeMethodDescriptionjavax.ws.rs.core.ResponseSeriesEndpoint.createNewSeries(String acceptHeader, String metadataParam, String aclParam, String themeIdParam) javax.ws.rs.core.ResponseEventsEndpoint.deleteEvent(String acceptHeader, String id) protected com.entwinemedia.fn.data.json.JValueEventsEndpoint.eventToJSON(Event event, Boolean withAcl, Boolean withMetadata, Boolean withScheduling, Boolean withPublications, Boolean includeInternalPublication, Boolean withSignedUrls, ApiVersion requestedVersion) Transform anEventto Jsonjavax.ws.rs.core.ResponseStatisticsEndpoint.getExportCSV(String acceptHeader, String data, Integer limit, Integer offset, String filter) protected javax.ws.rs.core.ResponseEventsEndpoint.getJsonEvents(String acceptHeader, List<IndexObject> events, Boolean withAcl, Boolean withMetadata, Boolean withScheduling, Boolean withPublications, Boolean includeInternalPublication, Boolean withSignedUrls, ApiVersion requestedVersion) Render a collection ofEvents into a json array.javax.ws.rs.core.ResponseSeriesEndpoint.getSeriesAsJson(String text, String seriesId, Boolean edit, Boolean fuzzyMatch, String seriesTitle, String creator, String contributor, String publisher, String rightsHolder, String createdFrom, String createdTo, String language, String license, String subject, String description, String sort, String offset, String count) javax.ws.rs.core.ResponseSeriesEndpoint.getSeriesList(String acceptHeader, String filter, String sort, String order, int offset, int limit, Boolean onlyWithWriteAccess, Boolean withAcl) javax.ws.rs.core.ResponseSeriesEndpoint.updateSeriesAcl(String acceptHeader, String seriesID, String aclJson, boolean override) javax.ws.rs.core.ResponseSeriesEndpoint.updateSeriesMetadata(String acceptHeader, String seriesID, String metadataJSON) javax.ws.rs.core.ResponseSeriesEndpoint.updateSeriesProperties(String acceptHeader, String seriesID, String propertiesJson) -
Uses of UnauthorizedException in org.opencastproject.external.util
Methods in org.opencastproject.external.util that throw UnauthorizedExceptionModifier and TypeMethodDescriptionstatic List<MediaPackage> SchedulingUtils.getConflictingEvents(SchedulingUtils.SchedulingInfo schedulingInfo, CaptureAgentStateService agentStateService, SchedulerService schedulerService) Get the conflicting events for the given SchedulingInfo.SchedulingUtils.SchedulingInfo.of(String eventId, SchedulerService schedulerService) Get the SchedulingInfo for the given event id. -
Uses of UnauthorizedException in org.opencastproject.index.service.api
Methods in org.opencastproject.index.service.api that throw UnauthorizedExceptionModifier and TypeMethodDescriptionIndexService.createEvent(EventHttpServletRequest eventHttpServletRequest) Create a new event using aEventHttpServletRequest.IndexService.createSeries(org.json.simple.JSONObject metadata) Create a new series.voidIndexService.removeCatalogByFlavor(Event event, MediaPackageElementFlavor flavor) Remove catalogs from the event with the given flavor.booleanIndexService.removeEvent(String id) Removes an event.IndexService.removeEvent(Event event, String retractWorkflowId) Removes an event and retracts it if necessary.voidIndexService.removeSeries(String id) Remove a series.IndexService.updateAllEventMetadata(String id, String metadataJSON, ElasticsearchIndex index) Update the event metadata in all available catalogs.IndexService.updateAllSeriesMetadata(String id, String metadataJSON, ElasticsearchIndex index) Update the series metadata in all available catalogs.IndexService.updateAllSeriesMetadata(String id, MetadataList metadataList, ElasticsearchIndex index) Update the series metadata in all available catalogs by providing a completeMetadataListIndexService.updateEventAcl(String id, AccessControlList acl, ElasticsearchIndex index) Update the event'sAccessControlList.IndexService.updateEventAssets(MediaPackage mp, javax.servlet.http.HttpServletRequest request) Create or Update an existing event asset.IndexService.updateEventMetadata(String id, MetadataList metadataList, ElasticsearchIndex index) Update an event's metadata using aMetadataList -
Uses of UnauthorizedException in org.opencastproject.index.service.impl
Methods in org.opencastproject.index.service.impl that throw UnauthorizedExceptionModifier and TypeMethodDescriptionIndexServiceImpl.createEvent(org.json.simple.JSONObject metadataJson, MediaPackage mp) IndexServiceImpl.createEvent(EventHttpServletRequest eventHttpServletRequest) IndexServiceImpl.createSeries(org.json.simple.JSONObject metadata) voidIndexServiceImpl.removeCatalogByFlavor(Event event, MediaPackageElementFlavor flavor) booleanIndexServiceImpl.removeEvent(String id) IndexServiceImpl.removeEvent(Event event, String retractWorkflowId) voidIndexServiceImpl.removeSeries(String id) IndexServiceImpl.updateAllEventMetadata(String id, String metadataJSON, ElasticsearchIndex index) IndexServiceImpl.updateEventAcl(String id, AccessControlList acl, ElasticsearchIndex index) IndexServiceImpl.updateEventMetadata(String id, MetadataList metadataList, ElasticsearchIndex index) -
Uses of UnauthorizedException in org.opencastproject.ingest.api
Methods in org.opencastproject.ingest.api that throw UnauthorizedExceptionModifier and TypeMethodDescriptionIngestService.addZippedMediaPackage(InputStream zippedMediaPackage, String workflowDefinitionID, Map<String, String> wfConfig, Long workflowId) Deprecated.As of release 2.4, the scheduler service is able to store a mediapackage.IngestService.ingest(MediaPackage mediaPackage, String workflowDefinitionID, Map<String, String> properties, Long workflowId) Deprecated.As of release 2.4, the scheduler service is able to store a mediapackage.voidIngestService.schedule(MediaPackage mediaPackage, String workflowDefinitionID, Map<String, String> properties) Schedule an event with a given media package. -
Uses of UnauthorizedException in org.opencastproject.ingest.impl
Methods in org.opencastproject.ingest.impl that throw UnauthorizedExceptionModifier and TypeMethodDescriptionIngestServiceImpl.addZippedMediaPackage(InputStream zipStream, String workflowDefinitionId, Map<String, String> workflowConfig, Long workflowInstanceId) Ingests the compressed mediapackage and starts the workflow as defined byworkflowDefinitionID.IngestServiceImpl.ingest(MediaPackage mp, String workflowDefinitionId, Map<String, String> properties, Long workflowInstanceId) Ingests the mediapackage and starts the workflow as defined byworkflowDefinitionID.voidIngestServiceImpl.schedule(MediaPackage mediaPackage, String workflowDefinitionID, Map<String, String> properties) -
Uses of UnauthorizedException in org.opencastproject.lti.endpoint
Methods in org.opencastproject.lti.endpoint that throw UnauthorizedExceptionModifier and TypeMethodDescriptionLtiServiceRemoteImpl.getEventMetadata(String eventId) voidLtiServiceRemoteImpl.setEventMetadataJson(String eventId, String metadataJson) -
Uses of UnauthorizedException in org.opencastproject.lti.service.api
Methods in org.opencastproject.lti.service.api that throw UnauthorizedExceptionModifier and TypeMethodDescriptionLtiService.getEventMetadata(String eventId) Returns the event metadata for a specific eventvoidLtiService.setEventMetadataJson(String eventId, String metadataJson) Set the event metadatavoidLtiService.upsertEvent(LtiFileUpload file, String captions, String captionFormat, String captionLanguage, String eventId, String seriesId, String metadataJson) Upload a new event or update existing event's metadata -
Uses of UnauthorizedException in org.opencastproject.lti.service.impl
Methods in org.opencastproject.lti.service.impl that throw UnauthorizedExceptionModifier and TypeMethodDescriptionLtiServiceImpl.getEventMetadata(String eventId) voidLtiServiceImpl.setEventMetadataJson(String eventId, String metadataJson) voidLtiServiceImpl.upsertEvent(LtiFileUpload file, String captions, String captionFormat, String captionLanguage, String eventId, String seriesId, String metadataJson) -
Uses of UnauthorizedException in org.opencastproject.playlists
Methods in org.opencastproject.playlists that throw UnauthorizedExceptionModifier and TypeMethodDescriptionjavax.ws.rs.core.Responsejavax.ws.rs.core.ResponsePlaylistRestService.addEntry(String playlistId, String contentId, PlaylistEntryType type) PlaylistService.addEntry(String playlistId, String contentId, PlaylistEntryType type) Adds a new entry at the end of a playlist and persists itjavax.ws.rs.core.ResponsePlaylistRestService.createAsJson(String playlistText) javax.ws.rs.core.ResponsePlaylistRestService.createAsXml(String playlistText) PlaylistService.getAllForAdministrativeRead(Date from, Date to, int limit) javax.ws.rs.core.ResponsePlaylistRestService.getPlaylistAsJson(String id, boolean withPublications) javax.ws.rs.core.ResponsePlaylistRestService.getPlaylistAsXml(String id, boolean withPublications) PlaylistService.getPlaylistById(String id) Returns a playlist from the database by its idjavax.ws.rs.core.ResponseDeletes a playlist from the databasePlaylistService.removeEntry(String playlistId, long entryId) Removes an entry with the given id from the playlist and persists itPersist a new playlist in the database or update an existing onejavax.ws.rs.core.ResponsePlaylistRestService.updateAsJson(String id, String playlistText) javax.ws.rs.core.ResponsePlaylistRestService.updateAsXml(String id, String playlistText) PlaylistService.updateEntries(String playlistId, List<PlaylistEntry> playlistEntries) Replaces the entries in the playlist with the given entriesPlaylistService.updateWithJson(String id, String json) Overwrite an existing playlist with a playlist in JSON format. -
Uses of UnauthorizedException in org.opencastproject.scheduler.api
Methods in org.opencastproject.scheduler.api that throw UnauthorizedExceptionModifier and TypeMethodDescriptionvoidSchedulerService.addEvent(Date startDateTime, Date endDateTime, String captureAgentId, Set<String> userIds, MediaPackage mediaPackage, Map<String, String> wfProperties, Map<String, String> caMetadata, Optional<String> schedulingSource) Creates new event using specified mediapackage, workflow configuration and capture agent configuration.SchedulerService.addMultipleEvents(net.fortuna.ical4j.model.property.RRule rRule, Date start, Date end, Long duration, TimeZone tz, String captureAgentId, Set<String> userIds, MediaPackage templateMp, Map<String, String> wfProperties, Map<String, String> caMetadata, Optional<String> schedulingSource) Creates a group of new event using specified mediapackage, workflow configuration and capture agent configuration.SchedulerService.findConflictingEvents(String captureDeviceID, Date startDate, Date endDate) Returns list of all conflicting events, i.e. all events that ends after start date and begins before end date.SchedulerService.findConflictingEvents(String captureAgentId, net.fortuna.ical4j.model.property.RRule rrule, Date startDate, Date endDate, long duration, TimeZone timezone) Returns list of all conflicting events.SchedulerService.getCaptureAgentConfiguration(String mediaPackageId) Retrieves capture agent configuration for specified event.SchedulerService.getCurrentRecording(String captureAgentId) Retrieves the currently active recording for the given capture agent (if any).SchedulerService.getDublinCore(String mediaPackageId) Retrieves dublin core catalog associated with specified event ID.intSchedulerService.getEventCount()Returns the number of scheduled events.SchedulerService.getMediaPackage(String mediaPackageId) Retrieves mediapackage associated with specified event ID.SchedulerService.getTechnicalMetadata(String mediaPackageId) Retrieves the technical metadata associated with specified event ID.SchedulerService.getUpcomingRecording(String captureAgentId) Retrieves the upcoming recording for the given capture agent (if any).SchedulerService.getWorkflowConfig(String mediaPackageId) Retrieves workflow configuration associated with specified event ID.voidSchedulerService.removeEvent(String mediaPackageId) Removes event with specified ID.voidSchedulerService.removeScheduledRecordingsBeforeBuffer(long buffer) Remove all of the scheduled events before a buffer.SchedulerService.search(Optional<String> captureAgentId, Optional<Date> startsFrom, Optional<Date> startsTo, Optional<Date> endFrom, Optional<Date> endTo) Retrieves all events matching given filter.voidSchedulerService.updateEvent(String mediaPackageId, Optional<Date> startDateTime, Optional<Date> endDateTime, Optional<String> captureAgentId, Optional<Set<String>> userIds, Optional<MediaPackage> mediaPackage, Optional<Map<String, String>> wfProperties, Optional<Map<String, String>> caMetadata) Updates event with specified ID and check for conflicts.voidSchedulerService.updateEvent(String mediaPackageId, Optional<Date> startDateTime, Optional<Date> endDateTime, Optional<String> captureAgentId, Optional<Set<String>> userIds, Optional<MediaPackage> mediaPackage, Optional<Map<String, String>> wfProperties, Optional<Map<String, String>> caMetadata, boolean allowConflict) Updates event with specified ID and possibly checking for conflicts. -
Uses of UnauthorizedException in org.opencastproject.scheduler.endpoint
Methods in org.opencastproject.scheduler.endpoint that throw UnauthorizedExceptionModifier and TypeMethodDescriptionjavax.ws.rs.core.ResponseSchedulerRestService.addEvent(long startTime, long endTime, String agentId, String users, String mediaPackageXml, String workflowProperties, String agentParameters, String schedulingSource) Creates new event based on parameters.javax.ws.rs.core.ResponseSchedulerRestService.addMultipleEvents(String rruleString, long startTime, long endTime, long duration, String tzString, String agentId, String users, MediaPackage templateMp, String workflowProperties, String agentParameters, String schedulingSource) Creates new event based on parameters.javax.ws.rs.core.ResponseSchedulerRestService.currentRecording(String agentId) javax.ws.rs.core.ResponseSchedulerRestService.deleteEvent(String eventId) Removes the specified event.javax.ws.rs.core.ResponseSchedulerRestService.eventCount()javax.ws.rs.core.ResponseSchedulerRestService.getCaptureAgentMetadata(String eventId) Gets java Properties file with technical metadata for the specified event.javax.ws.rs.core.ResponseSchedulerRestService.getConflictingEventsJson(String device, String rrule, Long startDate, Long endDate, Long duration, String timezone) javax.ws.rs.core.ResponseSchedulerRestService.getConflicts(String type, String device, String rrule, Long startDate, Long endDate, Long duration, String timezone) javax.ws.rs.core.ResponseSchedulerRestService.getDublinCoreMetadataJSON(String eventId) Gets a Dublin Core metadata for the specified event as JSON.javax.ws.rs.core.ResponseSchedulerRestService.getDublinCoreMetadataXml(String eventId) Gets a XML with the Dublin Core metadata for the specified event.javax.ws.rs.core.ResponseSchedulerRestService.getEventsAsList(String type, String device, Long startsFromTime, Long startsToTime, Long endsFromTime, Long endsToTime) javax.ws.rs.core.ResponseSchedulerRestService.getMediaPackageXml(String eventId) Gets a XML with the media package for the specified event.javax.ws.rs.core.ResponseSchedulerRestService.getTechnicalMetadataJSON(String eventId) Gets a XML with the media package for the specified event.javax.ws.rs.core.ResponseSchedulerRestService.getWorkflowConfiguration(String eventId) Gets the workflow configuration for the specified event.javax.ws.rs.core.ResponseSchedulerRestService.prolongCapture(String agentId) javax.ws.rs.core.ResponseSchedulerRestService.removeOldScheduledRecordings(long buffer) javax.ws.rs.core.ResponseSchedulerRestService.startCapture(String agentId, String wfId) javax.ws.rs.core.ResponseSchedulerRestService.stopCapture(String agentId) javax.ws.rs.core.ResponseSchedulerRestService.upcomingRecording(String agentId) javax.ws.rs.core.ResponseSchedulerRestService.updateEvent(String eventID, Long startTime, Long endTime, String agentId, String users, String mediaPackageXml, String workflowProperties, String agentParameters) -
Uses of UnauthorizedException in org.opencastproject.scheduler.impl
Methods in org.opencastproject.scheduler.impl that throw UnauthorizedExceptionModifier and TypeMethodDescriptionvoidSchedulerServiceImpl.addEvent(Date startDateTime, Date endDateTime, String captureAgentId, Set<String> userIds, MediaPackage mediaPackage, Map<String, String> wfProperties, Map<String, String> caMetadata, Optional<String> schedulingSource) SchedulerServiceImpl.addMultipleEvents(net.fortuna.ical4j.model.property.RRule rRule, Date start, Date end, Long duration, TimeZone tz, String captureAgentId, Set<String> userIds, MediaPackage templateMp, Map<String, String> wfProperties, Map<String, String> caMetadata, Optional<String> schedulingSource) CaptureNowProlongingService.getCurrentRecording(String agentId) Returns the current event for the given capture agent.SchedulerServiceImpl.getTechnicalMetadata(String mediaPackageId) voidCaptureNowProlongingService.prolongEvent(MediaPackage event, DublinCoreCatalog dublinCore, String agentId) Extends the current recording.voidSchedulerServiceImpl.updateEvent(String mpId, Optional<Date> startDateTime, Optional<Date> endDateTime, Optional<String> captureAgentId, Optional<Set<String>> userIds, Optional<MediaPackage> mediaPackage, Optional<Map<String, String>> wfProperties, Optional<Map<String, String>> caMetadata) voidSchedulerServiceImpl.updateEvent(String mpId, Optional<Date> startDateTime, Optional<Date> endDateTime, Optional<String> captureAgentId, Optional<Set<String>> userIds, Optional<MediaPackage> mediaPackage, Optional<Map<String, String>> wfProperties, Optional<Map<String, String>> caMetadata, boolean allowConflict) -
Uses of UnauthorizedException in org.opencastproject.scheduler.remote
Methods in org.opencastproject.scheduler.remote that throw UnauthorizedExceptionModifier and TypeMethodDescriptionvoidSchedulerServiceRemoteImpl.addEvent(Date startDateTime, Date endDateTime, String captureAgentId, Set<String> userIds, MediaPackage mediaPackage, Map<String, String> wfProperties, Map<String, String> caMetadata, Optional<String> schedulingSource) SchedulerServiceRemoteImpl.addMultipleEvents(net.fortuna.ical4j.model.property.RRule rRule, Date start, Date end, Long duration, TimeZone tz, String captureAgentId, Set<String> userIds, MediaPackage templateMp, Map<String, String> wfProperties, Map<String, String> caMetadata, Optional<String> schedulingSource) SchedulerServiceRemoteImpl.findConflictingEvents(String captureDeviceID, Date startDate, Date endDate) SchedulerServiceRemoteImpl.findConflictingEvents(String captureAgentId, net.fortuna.ical4j.model.property.RRule rrule, Date startDate, Date endDate, long duration, TimeZone timezone) SchedulerServiceRemoteImpl.getCaptureAgentConfiguration(String eventId) SchedulerServiceRemoteImpl.getCurrentRecording(String captureAgentId) SchedulerServiceRemoteImpl.getDublinCore(String eventId) intSchedulerServiceRemoteImpl.getEventCount()SchedulerServiceRemoteImpl.getMediaPackage(String eventId) SchedulerServiceRemoteImpl.getTechnicalMetadata(String eventId) SchedulerServiceRemoteImpl.getUpcomingRecording(String captureAgentId) SchedulerServiceRemoteImpl.getWorkflowConfig(String eventId) voidSchedulerServiceRemoteImpl.removeEvent(String eventId) voidSchedulerServiceRemoteImpl.removeScheduledRecordingsBeforeBuffer(long buffer) SchedulerServiceRemoteImpl.search(Optional<String> captureAgentId, Optional<Date> startsFrom, Optional<Date> startsTo, Optional<Date> endFrom, Optional<Date> endTo) voidSchedulerServiceRemoteImpl.updateEvent(String eventId, Optional<Date> startDateTime, Optional<Date> endDateTime, Optional<String> captureAgentId, Optional<Set<String>> userIds, Optional<MediaPackage> mediaPackage, Optional<Map<String, String>> wfProperties, Optional<Map<String, String>> caMetadata) voidSchedulerServiceRemoteImpl.updateEvent(String eventId, Optional<Date> startDateTime, Optional<Date> endDateTime, Optional<String> captureAgentId, Optional<Set<String>> userIds, Optional<MediaPackage> mediaPackage, Optional<Map<String, String>> wfProperties, Optional<Map<String, String>> caMetadata, boolean allowConflict) -
Uses of UnauthorizedException in org.opencastproject.search.api
Methods in org.opencastproject.search.api that throw UnauthorizedExceptionModifier and TypeMethodDescriptionSearchService.add(MediaPackage mediaPackage) Adds the media package to the search index.voidSearchService.addSynchronously(MediaPackage mediaPackage) Immediately adds the mediapackage to the search index.Removes the media package identified bymediaPackageIdfrom the search index.SearchService.deleteSeries(String seriesId) Removes the series identified byseriseIdfrom the search index.Gets theMediaPackagefor an event, based on its mediapackage ID. -
Uses of UnauthorizedException in org.opencastproject.search.impl
Methods in org.opencastproject.search.impl that throw UnauthorizedExceptionModifier and TypeMethodDescriptionvoidSearchServiceImpl.addSynchronously(MediaPackage mediaPackage) voidSearchServiceIndex.addSynchronously(MediaPackage mediaPackage) Immediately adds the mediapackage to the search index.voidSearchServiceIndex.indexMediaPackage(String mediaPackageId) -
Uses of UnauthorizedException in org.opencastproject.search.impl.persistence
Methods in org.opencastproject.search.impl.persistence that throw UnauthorizedExceptionModifier and TypeMethodDescriptionvoidSearchServiceDatabase.deleteMediaPackage(String mediaPackageId, Date deletionDate) Removes media package from persistent storage.voidSearchServiceDatabaseImpl.deleteMediaPackage(String mediaPackageId, Date deletionDate) Removes media package from persistent storage.SearchServiceDatabase.getMediaPackage(String mediaPackageId) Gets a single media package by its identifier.SearchServiceDatabaseImpl.getMediaPackage(String mediaPackageId) Gets a single media package by its identifier.voidSearchServiceDatabase.storeMediaPackage(MediaPackage mediaPackage, AccessControlList acl, Date now) Store (or update) media package.voidSearchServiceDatabaseImpl.storeMediaPackage(MediaPackage mediaPackage, AccessControlList acl, Date now) Store (or update) media package. -
Uses of UnauthorizedException in org.opencastproject.security.util
Methods in org.opencastproject.security.util that throw UnauthorizedExceptionModifier and TypeMethodDescriptionstatic voidSecurityUtil.checkAgentAccess(SecurityService securityService, String agentId) Check if the current user has access to the capture agent with the given id. -
Uses of UnauthorizedException in org.opencastproject.series.api
Methods in org.opencastproject.series.api that throw UnauthorizedExceptionModifier and TypeMethodDescriptionvoidSeriesService.deleteSeries(String seriesID) Removes seriesvoidSeriesService.deleteSeriesProperty(String seriesID, String propertyName) SeriesService.getAllForAdministrativeRead(Date from, Optional<Date> to, int limit) Returns all series (including deleted ones!)Returns Dublin core representing series by series ID.SeriesService.getSeriesProperties(String seriesID) Returns the properties for a series.SeriesService.getSeriesProperty(String seriesID, String propertyName) Get a series property.booleanSeriesService.updateAccessControl(String seriesID, AccessControlList accessControl) Updates access control rules for specified series.booleanSeriesService.updateAccessControl(String seriesID, AccessControlList accessControl, boolean overrideEpisodeAcl) Updates access control rules for specified series.SeriesService.updateSeries(DublinCoreCatalog dc) Adds or updates series.voidSeriesService.updateSeriesProperty(String seriesID, String propertyName, String propertyValue) Update a series property or create a new one if it doesn't exist. -
Uses of UnauthorizedException in org.opencastproject.series.endpoint
Methods in org.opencastproject.series.endpoint that throw UnauthorizedExceptionModifier and TypeMethodDescriptionjavax.ws.rs.core.ResponseSeriesRestService.addOrUpdateSeries(String series, String accessControl, String dcAccessRights, String dcAvailable, String dcContributor, String dcCoverage, String dcCreated, String dcCreator, String dcDate, String dcDescription, String dcExtent, String dcFormat, String dcIdentifier, String dcIsPartOf, String dcIsReferencedBy, String dcIsReplacedBy, String dcLanguage, String dcLicense, String dcPublisher, String dcRelation, String dcReplaces, String dcRights, String dcRightsHolder, String dcSource, String dcSpatial, String dcSubject, String dcTemporal, String dcTitle, String dcType, boolean override) javax.ws.rs.core.ResponseSeriesRestService.deleteSeries(String seriesID) javax.ws.rs.core.ResponseSeriesRestService.deleteSeriesProperty(String seriesId, String propertyName) javax.ws.rs.core.ResponseSeriesRestService.getAllInRangeAdministrative(Long from, Long to, Integer limit) javax.ws.rs.core.ResponseSeriesRestService.getCount()javax.ws.rs.core.ResponseSeriesRestService.getSeriesPropertiesAsJson(String seriesId) javax.ws.rs.core.ResponseSeriesRestService.getSeriesProperty(String seriesId, String propertyName) javax.ws.rs.core.ResponseSeriesRestService.updateAccessControl(String seriesID, String accessControl, boolean override) javax.ws.rs.core.ResponseSeriesRestService.updateSeriesProperty(String seriesId, String name, String value) -
Uses of UnauthorizedException in org.opencastproject.series.impl
Methods in org.opencastproject.series.impl that throw UnauthorizedExceptionModifier and TypeMethodDescriptionvoidSeriesServiceImpl.deleteSeriesProperty(String seriesID, String propertyName) SeriesServiceDatabase.getAllForAdministrativeRead(Date from, Optional<Date> to, int limit) Returns all series (including deleted ones!)SeriesServiceImpl.getAllForAdministrativeRead(Date from, Optional<Date> to, int limit) SeriesServiceImpl.getSeriesProperties(String seriesID) SeriesServiceImpl.getSeriesProperty(String seriesID, String propertyName) SeriesServiceDatabase.storeSeries(DublinCoreCatalog dc) Store (or update) series.SeriesServiceImpl.updateSeries(DublinCoreCatalog dc) voidSeriesServiceImpl.updateSeriesProperty(String seriesID, String propertyName, String propertyValue) -
Uses of UnauthorizedException in org.opencastproject.series.impl.persistence
Methods in org.opencastproject.series.impl.persistence that throw UnauthorizedExceptionModifier and TypeMethodDescriptionSeriesServiceDatabaseImpl.getAllForAdministrativeRead(Date from, Optional<Date> to, int limit) SeriesServiceDatabaseImpl.storeSeries(DublinCoreCatalog dc) -
Uses of UnauthorizedException in org.opencastproject.series.remote
Methods in org.opencastproject.series.remote that throw UnauthorizedExceptionModifier and TypeMethodDescriptionvoidSeriesServiceRemoteImpl.deleteSeries(String seriesID) voidSeriesServiceRemoteImpl.deleteSeriesProperty(String seriesID, String propertyName) SeriesServiceRemoteImpl.getAllForAdministrativeRead(Date from, Optional<Date> to, int limit) javax.ws.rs.core.ResponseSeriesServiceRemoteImpl.getSeriesJSON(String seriesID) SeriesServiceRemoteImpl.getSeriesProperties(String seriesID) SeriesServiceRemoteImpl.getSeriesProperty(String seriesID, String propertyName) booleanSeriesServiceRemoteImpl.updateAccessControl(String seriesID, AccessControlList accessControl) booleanSeriesServiceRemoteImpl.updateAccessControl(String seriesID, AccessControlList accessControl, boolean overrideEpisodeAcl) SeriesServiceRemoteImpl.updateSeries(DublinCoreCatalog dc) voidSeriesServiceRemoteImpl.updateSeriesProperty(String seriesID, String propertyName, String propertyValue) -
Uses of UnauthorizedException in org.opencastproject.statistics.export.api
Methods in org.opencastproject.statistics.export.api that throw UnauthorizedExceptionModifier and TypeMethodDescriptionStatisticsExportService.getCSV(StatisticsProvider provider, String resourceId, Instant from, Instant to, DataResolution dataResolution, ElasticsearchIndex index, ZoneId zoneId) Get a CSV representation for the query result based on the given parameters.StatisticsExportService.getCSV(StatisticsProvider provider, String resourceId, Instant from, Instant to, DataResolution dataResolution, ElasticsearchIndex index, ZoneId zoneId, boolean fullMetadata, DetailLevel detailLevel, int limit, int offset, Map<String, String> filters) Get a CSV representation for the query result based on the given parameters. -
Uses of UnauthorizedException in org.opencastproject.statistics.export.impl
Methods in org.opencastproject.statistics.export.impl that throw UnauthorizedExceptionModifier and TypeMethodDescriptionStatisticsExportServiceImpl.getCSV(StatisticsProvider provider, String resourceId, Instant from, Instant to, DataResolution dataResolution, ElasticsearchIndex index, ZoneId zoneId) StatisticsExportServiceImpl.getCSV(StatisticsProvider provider, String resourceId, Instant from, Instant to, DataResolution dataResolution, ElasticsearchIndex index, ZoneId zoneId, boolean fullMetadata, DetailLevel detailLevel, int limit, int offset, Map<String, String> filters) -
Uses of UnauthorizedException in org.opencastproject.userdirectory
Methods in org.opencastproject.userdirectory that throw UnauthorizedExceptionModifier and TypeMethodDescriptionvoidAdds or updates a group to the persistence.booleanJpaGroupRoleProvider.addMemberToGroup(String groupId, String member) Add member to group.voidAdds a user to the persistencevoidAdds a user to the persistencevoidJpaGroupRoleProvider.createGroup(String name, String description, String roles, String users) Create a new groupvoidJpaUserAndRoleProvider.deleteUser(String username, String orgId) Delete the given uservoidJpaUserReferenceProvider.deleteUser(String username, String orgId) Delete the given uservoidJpaGroupRoleProvider.removeGroup(String groupId) Remove a group by idbooleanJpaGroupRoleProvider.removeMemberFromGroup(String groupId, String member) Remove member from group.voidJpaGroupRoleProvider.updateGroup(String groupId, String name, String description, String roles, String users) Update a groupJpaUserAndRoleProvider.updateUser(JpaUser user) Updates a user to the persistenceJpaUserAndRoleProvider.updateUser(JpaUser user, boolean passwordEncoded) Updates a user to the persistence -
Uses of UnauthorizedException in org.opencastproject.userdirectory.api
Methods in org.opencastproject.userdirectory.api that throw UnauthorizedException -
Uses of UnauthorizedException in org.opencastproject.workflow.api
Methods in org.opencastproject.workflow.api that throw UnauthorizedExceptionModifier and TypeMethodDescriptionvoidWorkflowService.cleanupWorkflowInstances(int lifetime, WorkflowInstance.WorkflowState state) Starts a cleanup of workflow instances with a given lifetime and a specific stateWorkflowService.getRunningWorkflowInstanceByMediaPackage(String mediaPackageId, String action) Returns theWorkflowInstancecurrently running on the given mediaPackageWorkflowService.getWorkflowById(long workflowId) Gets aWorkflowInstanceby its ID.WorkflowService.getWorkflowInstancesByMediaPackage(String mediaPackageId) Returns all workflows associated with the given mediapackage Current user needs permission to the mediapackagevoidWorkflowService.remove(long workflowInstanceId) Permanently removes a workflow instance.voidWorkflowService.remove(long workflowInstanceId, boolean force) Permanently removes a workflow instance.WorkflowService.resume(long workflowInstanceId) Resumes a suspended workflow instance.Resumes a suspended workflow instance, applying new properties to the workflow.WorkflowService.start(WorkflowDefinition workflowDefinition, MediaPackage mediaPackage) Creates a new workflow instance and starts the workflow.WorkflowService.start(WorkflowDefinition workflowDefinition, MediaPackage mediaPackage, Long parentWorkflowId, Map<String, String> properties) Creates a new workflow instance and starts the workflow.WorkflowService.start(WorkflowDefinition workflowDefinition, MediaPackage mediaPackage, Map<String, String> properties) Creates a new workflow instance and starts the workflow.WorkflowService.stop(long workflowInstanceId) Stops a running workflow instance.WorkflowService.suspend(long workflowInstanceId) Temporarily suspends a started workflow instance.voidWorkflowService.update(WorkflowInstance workflowInstance) Updates the given workflow instance with regard to the media package, the properties and the operations involved. -
Uses of UnauthorizedException in org.opencastproject.workflow.endpoint
Methods in org.opencastproject.workflow.endpoint that throw UnauthorizedExceptionModifier and TypeMethodDescriptionjavax.ws.rs.core.ResponseWorkflowRestService.getWorkflowAsJson(long id) WorkflowRestService.getWorkflowAsXml(long id) javax.ws.rs.core.ResponseWorkflowRestService.remove(long workflowInstanceId, boolean force) javax.ws.rs.core.ResponseWorkflowRestService.resume(long workflowInstanceId, String mediaPackage, LocalHashMap properties) javax.ws.rs.core.ResponseWorkflowRestService.resume(long workflowInstanceId, LocalHashMap properties) WorkflowRestService.stop(long workflowInstanceId) javax.ws.rs.core.ResponseWorkflowRestService.suspend(long workflowInstanceId) javax.ws.rs.core.Response -
Uses of UnauthorizedException in org.opencastproject.workflow.impl
Methods in org.opencastproject.workflow.impl that throw UnauthorizedExceptionModifier and TypeMethodDescriptionprotected voidWorkflowServiceImpl.assertPermission(WorkflowInstance workflow, String action, String workflowOrgId) Asserts that the current user has permission to take the provided action on a workflow instance.voidWorkflowServiceImpl.cleanupWorkflowInstances(int buffer, WorkflowInstance.WorkflowState state) WorkflowServiceImpl.getRunningWorkflowInstanceByMediaPackage(String mediaPackageId, String action) Returns theWorkflowInstancecurrently running on the given mediaPackageWorkflowServiceImpl.getWorkflowById(long id) Gets aWorkflowInstanceby its ID.WorkflowServiceImpl.getWorkflowInstancesByMediaPackage(String mediaPackageId) Returns all workflows associated with the given mediapackage Current user needs permission to the mediapackagevoidWorkflowServiceImpl.remove(long workflowInstanceId) Permanently removes a workflow instance.voidWorkflowServiceImpl.remove(long workflowInstanceId, boolean force) Permanently removes a workflow instance.WorkflowServiceImpl.resume(long id) Resumes a suspended workflow instance.Resumes a suspended workflow instance, applying new properties to the workflow.protected JobWorkflowServiceImpl.runWorkflow(WorkflowInstance workflow) Executes the workflow.protected WorkflowOperationInstanceWorkflowServiceImpl.runWorkflowOperation(WorkflowInstance workflow, Map<String, String> properties) Executes the workflow's current operation.WorkflowServiceImpl.start(WorkflowDefinition workflowDefinition, MediaPackage mediaPackage) Creates a new workflow instance and starts the workflow.WorkflowServiceImpl.start(WorkflowDefinition workflowDefinition, MediaPackage sourceMediaPackage, Long parentWorkflowId, Map<String, String> originalProperties) Creates a new workflow instance and starts the workflow.WorkflowServiceImpl.start(WorkflowDefinition workflowDefinition, MediaPackage mediaPackage, Map<String, String> properties) Creates a new workflow instance and starts the workflow.WorkflowServiceImpl.stop(long workflowInstanceId) Stops a running workflow instance.WorkflowServiceImpl.suspend(long workflowInstanceId) Temporarily suspends a started workflow instance.voidWorkflowServiceImpl.update(WorkflowInstance workflowInstance) Updates the given workflow instance with regard to the media package, the properties and the operations involved. -
Uses of UnauthorizedException in org.opencastproject.workflow.remote
Methods in org.opencastproject.workflow.remote that throw UnauthorizedExceptionModifier and TypeMethodDescriptionvoidWorkflowServiceRemoteImpl.cleanupWorkflowInstances(int lifetime, WorkflowInstance.WorkflowState state) WorkflowServiceRemoteImpl.resume(long workflowInstanceId) Resumes a suspended workflow instance.Resumes a suspended workflow instance, applying new properties to the workflow.