Class LiveScheduleServiceImpl
java.lang.Object
org.opencastproject.liveschedule.impl.LiveScheduleServiceImpl
- All Implemented Interfaces:
org.opencastproject.liveschedule.api.LiveScheduleService
public class LiveScheduleServiceImpl
extends Object
implements org.opencastproject.liveschedule.api.LiveScheduleService
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringVariables that can be replaced in stream namestatic final StringFields inherited from interface org.opencastproject.liveschedule.api.LiveScheduleService
CHANNEL_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidactivate(org.osgi.service.component.ComponentContext context) OSGi callback on component activation.booleancreateOrUpdateLiveEvent(String mpId, org.opencastproject.metadata.dublincore.DublinCoreCatalog episodeDC) booleandeleteLiveEvent(String mpId) voidsetAssetManager(org.opencastproject.assetmanager.api.AssetManager assetManager) voidsetAuthorizationService(org.opencastproject.security.api.AuthorizationService service) voidsetCaptureAgentService(org.opencastproject.capture.admin.api.CaptureAgentStateService service) voidsetDownloadDistributionService(org.opencastproject.distribution.api.DownloadDistributionService service) voidsetDublinCoreService(org.opencastproject.metadata.dublincore.DublinCoreCatalogService service) voidsetOrganizationService(org.opencastproject.security.api.OrganizationDirectoryService service) voidsetSearchService(org.opencastproject.search.api.SearchService service) voidsetSecurityService(org.opencastproject.security.api.SecurityService service) voidsetSeriesService(org.opencastproject.series.api.SeriesService service) voidsetServiceRegistry(org.opencastproject.serviceregistry.api.ServiceRegistry service) voidsetWorkspace(org.opencastproject.workspace.api.Workspace ws) booleanupdateLiveEventAcl(String mpId, org.opencastproject.security.api.AccessControlList acl)
-
Field Details
-
CA_PROPERTY_RESOLUTION_URL_PREFIX
- See Also:
-
REPLACE_ID
Variables that can be replaced in stream name- See Also:
-
REPLACE_FLAVOR
- See Also:
-
REPLACE_CA_NAME
- See Also:
-
REPLACE_RESOLUTION
- See Also:
-
LIVE_STREAMING_URL
- See Also:
-
LIVE_STREAM_NAME
- See Also:
-
LIVE_STREAM_MIME_TYPE
- See Also:
-
LIVE_STREAM_RESOLUTION
- See Also:
-
LIVE_TARGET_FLAVORS
- See Also:
-
LIVE_DISTRIBUTION_SERVICE
- See Also:
-
LIVE_PUBLISH_STREAMING
- See Also:
-
-
Constructor Details
-
LiveScheduleServiceImpl
public LiveScheduleServiceImpl()
-
-
Method Details
-
activate
protected void activate(org.osgi.service.component.ComponentContext context) OSGi callback on component activation.- Parameters:
context- the component context
-
createOrUpdateLiveEvent
public boolean createOrUpdateLiveEvent(String mpId, org.opencastproject.metadata.dublincore.DublinCoreCatalog episodeDC) throws org.opencastproject.liveschedule.api.LiveScheduleException - Specified by:
createOrUpdateLiveEventin interfaceorg.opencastproject.liveschedule.api.LiveScheduleService- Throws:
org.opencastproject.liveschedule.api.LiveScheduleException
-
deleteLiveEvent
public boolean deleteLiveEvent(String mpId) throws org.opencastproject.liveschedule.api.LiveScheduleException - Specified by:
deleteLiveEventin interfaceorg.opencastproject.liveschedule.api.LiveScheduleService- Throws:
org.opencastproject.liveschedule.api.LiveScheduleException
-
updateLiveEventAcl
public boolean updateLiveEventAcl(String mpId, org.opencastproject.security.api.AccessControlList acl) throws org.opencastproject.liveschedule.api.LiveScheduleException - Specified by:
updateLiveEventAclin interfaceorg.opencastproject.liveschedule.api.LiveScheduleService- Throws:
org.opencastproject.liveschedule.api.LiveScheduleException
-
setDublinCoreService
public void setDublinCoreService(org.opencastproject.metadata.dublincore.DublinCoreCatalogService service) -
setSearchService
public void setSearchService(org.opencastproject.search.api.SearchService service) -
setSeriesService
public void setSeriesService(org.opencastproject.series.api.SeriesService service) -
setServiceRegistry
public void setServiceRegistry(org.opencastproject.serviceregistry.api.ServiceRegistry service) -
setCaptureAgentService
public void setCaptureAgentService(org.opencastproject.capture.admin.api.CaptureAgentStateService service) -
setDownloadDistributionService
public void setDownloadDistributionService(org.opencastproject.distribution.api.DownloadDistributionService service) -
setWorkspace
public void setWorkspace(org.opencastproject.workspace.api.Workspace ws) -
setAssetManager
public void setAssetManager(org.opencastproject.assetmanager.api.AssetManager assetManager) -
setAuthorizationService
public void setAuthorizationService(org.opencastproject.security.api.AuthorizationService service) -
setOrganizationService
public void setOrganizationService(org.opencastproject.security.api.OrganizationDirectoryService service) -
setSecurityService
public void setSecurityService(org.opencastproject.security.api.SecurityService service)
-