Interface MediaContentTypeService
-
public interface MediaContentTypeService
Media content type service.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MediaContentType
getMediaContentTypeById(int id)
Returns the media content type instance for the given id.MediaContentType
getMediaContentTypeByValue(String value)
Returns the media content type instance for the given content type value.List<MediaContentType>
getMediaContentTypes()
Returns a list of all media content types.
-
-
-
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.
-
-