Package org.opencastproject.presets.impl
Class PresetProviderImpl
java.lang.Object
org.opencastproject.presets.impl.PresetProviderImpl
- All Implemented Interfaces:
PresetProvider
A service that provides presets.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetProperty(String seriesID, String propertyName) Gets a preset property first from the series, then from the organizationvoidsetSecurityService(org.opencastproject.security.api.SecurityService securityService) voidsetSeriesService(org.opencastproject.series.api.SeriesService seriesService)
-
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:PresetProviderGets a preset property first from the series, then from the organization- Specified by:
getPropertyin interfacePresetProvider- 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.
-