Class PresetProviderImpl

java.lang.Object
org.opencastproject.presets.impl.PresetProviderImpl
All Implemented Interfaces:
PresetProvider

public class PresetProviderImpl extends Object implements PresetProvider
A service that provides presets.
  • Constructor Details

    • PresetProviderImpl

      public PresetProviderImpl()
  • Method Details

    • setSeriesService

      public void setSeriesService(org.opencastproject.series.api.SeriesService seriesService)
    • setSecurityService

      public void setSecurityService(org.opencastproject.security.api.SecurityService securityService)
    • getProperty

      public String getProperty(String seriesID, String propertyName) throws org.opencastproject.util.NotFoundException
      Description copied from interface: PresetProvider
      Gets a preset property first from the series, then from the organization
      Specified by:
      getProperty in interface PresetProvider
      Parameters:
      seriesID - The series to look for the property.
      propertyName - The property's key value to look for.
      Returns:
      The property's value
      Throws:
      org.opencastproject.util.NotFoundException - Thrown if the property can't be found in the series or organization's property collection.