Interface MediaContentTypeService


  • public interface MediaContentTypeService
    Media content type service.
    • Method Detail

      • getMediaContentTypes

        List<MediaContentType> getMediaContentTypes()
        Returns a list of all media content types. This includes inactive content types (content types from stopped / uninstalled media item component type bundles).
        Returns:
        a list of all media content types.
      • getMediaContentTypeById

        MediaContentType getMediaContentTypeById​(int id)
        Returns the media content type instance for the given id.
        Parameters:
        id - Media content type ID.
        Returns:
        instance of media content type.
      • getMediaContentTypeByValue

        MediaContentType getMediaContentTypeByValue​(String value)
        Returns the media content type instance for the given content type value.
        Parameters:
        value - Media content type value.
        Returns:
        instance of media content type.