Uses of Class
org.opencastproject.scheduler.api.SchedulerException
-
Uses of SchedulerException in org.opencastproject.scheduler.api
Subclasses of SchedulerException in org.opencastproject.scheduler.apiModifier and TypeClassDescriptionclassThrown when a scheduled event can not be added or updated because of a conflict.Methods in org.opencastproject.scheduler.api that throw SchedulerExceptionModifier and TypeMethodDescriptionvoidSchedulerService.addEvent(Date startDateTime, Date endDateTime, String captureAgentId, Set<String> userIds, org.opencastproject.mediapackage.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.Map<String, net.fortuna.ical4j.model.Period<ZonedDateTime>> SchedulerService.addMultipleEvents(net.fortuna.ical4j.model.property.RRule<ZonedDateTime> rRule, Date start, Date end, Long duration, TimeZone tz, String captureAgentId, Set<String> userIds, org.opencastproject.mediapackage.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.List<org.opencastproject.mediapackage.MediaPackage> 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.List<org.opencastproject.mediapackage.MediaPackage> SchedulerService.findConflictingEvents(String captureAgentId, net.fortuna.ical4j.model.property.RRule<ZonedDateTime> rrule, Date startDate, Date endDate, long duration, TimeZone timezone) Returns list of all conflicting events.SchedulerService.getCalendar(Optional<String> captureAgentId, Optional<String> seriesId, Optional<Date> cutoff) Generates calendar for specified capture agent.SchedulerService.getCaptureAgentConfiguration(String mediaPackageId) Retrieves capture agent configuration for specified event.Optional<org.opencastproject.mediapackage.MediaPackage> SchedulerService.getCurrentRecording(String captureAgentId) Retrieves the currently active recording for the given capture agent (if any).org.opencastproject.metadata.dublincore.DublinCoreCatalogSchedulerService.getDublinCore(String mediaPackageId) Retrieves dublin core catalog associated with specified event ID.intSchedulerService.getEventCount()Returns the number of scheduled events.SchedulerService.getKnownRecordings()Gets the state of all recordings in the system.org.opencastproject.mediapackage.MediaPackageSchedulerService.getMediaPackage(String mediaPackageId) Retrieves mediapackage associated with specified event ID.SchedulerService.getRecordingState(String mediaPackageId) Gets the state of a recording, if it exists.SchedulerService.getScheduleLastModified(String captureAgentId) Returns hash of last modification of event belonging to specified capture agent.SchedulerService.getTechnicalMetadata(String mediaPackageId) Retrieves the technical metadata associated with specified event ID.Optional<org.opencastproject.mediapackage.MediaPackage> 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.removeRecording(String mediaPackageId) Removes a recording from the system, if the recording exists.voidSchedulerService.removeScheduledRecordingsBeforeBuffer(long buffer) Remove all of the scheduled events before a buffer.List<org.opencastproject.mediapackage.MediaPackage> 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<org.opencastproject.mediapackage.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<org.opencastproject.mediapackage.MediaPackage> mediaPackage, Optional<Map<String, String>> wfProperties, Optional<Map<String, String>> caMetadata, boolean allowConflict) Updates event with specified ID and possibly checking for conflicts.booleanSchedulerService.updateRecordingState(String mediaPackageId, String state) Updates the state of a recording with the given state, if it exists.