Class ListProvidersServiceImpl

java.lang.Object
org.opencastproject.list.impl.ListProvidersServiceImpl
All Implemented Interfaces:
org.opencastproject.list.api.ListProvidersService

public class ListProvidersServiceImpl extends Object implements org.opencastproject.list.api.ListProvidersService
  • Constructor Details

    • ListProvidersServiceImpl

      public ListProvidersServiceImpl()
  • Method Details

    • setSecurityService

      public void setSecurityService(org.opencastproject.security.api.SecurityService securityService)
      OSGi callback for security service
    • addProvider

      public void addProvider(org.opencastproject.list.api.ResourceListProvider provider)
      OSGi callback for provider.
    • removeProvider

      public void removeProvider(org.opencastproject.list.api.ResourceListProvider provider)
      OSGi callback for provider.
    • getList

      public Map<String,String> getList(String listName, org.opencastproject.list.api.ResourceListQuery query, boolean inverseValueKey) throws org.opencastproject.list.api.ListProviderException
      Specified by:
      getList in interface org.opencastproject.list.api.ListProvidersService
      Throws:
      org.opencastproject.list.api.ListProviderException
    • isTranslatable

      public boolean isTranslatable(String listName) throws org.opencastproject.list.api.ListProviderNotFoundException
      Specified by:
      isTranslatable in interface org.opencastproject.list.api.ListProvidersService
      Throws:
      org.opencastproject.list.api.ListProviderNotFoundException
    • getDefault

      public String getDefault(String listName) throws org.opencastproject.list.api.ListProviderNotFoundException
      Specified by:
      getDefault in interface org.opencastproject.list.api.ListProvidersService
      Throws:
      org.opencastproject.list.api.ListProviderNotFoundException
    • addProvider

      public void addProvider(String listName, org.opencastproject.list.api.ResourceListProvider provider)
      Specified by:
      addProvider in interface org.opencastproject.list.api.ListProvidersService
    • addProvider

      public void addProvider(String listName, org.opencastproject.list.api.ResourceListProvider provider, String organizationId)
      Specified by:
      addProvider in interface org.opencastproject.list.api.ListProvidersService
    • removeProvider

      public void removeProvider(String name)
      Specified by:
      removeProvider in interface org.opencastproject.list.api.ListProvidersService
    • removeProvider

      public void removeProvider(String name, String organizationId)
      Specified by:
      removeProvider in interface org.opencastproject.list.api.ListProvidersService
    • hasProvider

      public boolean hasProvider(String name)
      Specified by:
      hasProvider in interface org.opencastproject.list.api.ListProvidersService
    • hasProvider

      public boolean hasProvider(String name, String organizationId)
      Specified by:
      hasProvider in interface org.opencastproject.list.api.ListProvidersService
    • getAvailableProviders

      public List<String> getAvailableProviders()
      Specified by:
      getAvailableProviders in interface org.opencastproject.list.api.ListProvidersService