## Uses of Class
org.silverpeas.components.gallery.constant.MediaType

- Packages that use MediaType
  Package | Description
  --- | ---
  org.silverpeas.components.gallery.constant |
  org.silverpeas.components.gallery.dao |
  org.silverpeas.components.gallery.delegate |
  org.silverpeas.components.gallery.model |

- - ### Uses of MediaType in org.silverpeas.components.gallery.constant

    Methods in org.silverpeas.components.gallery.constant that return MediaType
    Modifier and Type | Method | Description
    --- | --- | ---
    `static MediaType` | MediaType.`from​(String type)` | Gets the enum instance according to the specified type.
    `static MediaType` | MediaType.`valueOf​(String name)` | Returns the enum constant of this type with the specified name.
    `static MediaType[]` | MediaType.`values()` | Returns an array containing the constants of this enum type, in the order they are declared.

    Methods in org.silverpeas.components.gallery.constant with parameters of type MediaType
    Modifier and Type | Method | Description
    --- | --- | ---
    `static Set<MediaMimeType>` | MediaMimeType.`getSupportedMimeTypes​(MediaType mediaType)` | Gets the supported mime types according to the given media type.

  - ### Uses of MediaType in org.silverpeas.components.gallery.dao

    Method parameters in org.silverpeas.components.gallery.dao with type arguments of type MediaType
    Modifier and Type | Method | Description
    --- | --- | ---
    `MediaCriteriaProcessor` | MediaSQLQueryBuilder.`processMediaTypes​(List<MediaType> mediaTypes)` |

  - ### Uses of MediaType in org.silverpeas.components.gallery.delegate

    Methods in org.silverpeas.components.gallery.delegate that return MediaType
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected MediaType` | AbstractMediaDataDelegate.`getMediaType()` |

    Constructors in org.silverpeas.components.gallery.delegate with parameters of type MediaType
    Constructor | Description
    --- | ---
    `AbstractMediaDataDelegate​(MediaType mediaType, String language, String albumId, List<org.apache.commons.fileupload.FileItem> parameters)` |
    `AbstractMediaDataDelegate​(MediaType mediaType, String language, String albumId, List<org.apache.commons.fileupload.FileItem> parameters, boolean skipEmptyValues)` |
    `MediaDataCreateDelegate​(MediaType mediaType, String language, String albumId)` |
    `MediaDataCreateDelegate​(MediaType mediaType, String language, String albumId, List<org.apache.commons.fileupload.FileItem> parameters)` |
    `MediaDataUpdateDelegate​(MediaType mediaType, String language, String albumId, List<org.apache.commons.fileupload.FileItem> parameters)` |
    `MediaDataUpdateDelegate​(MediaType mediaType, String language, String albumId, List<org.apache.commons.fileupload.FileItem> parameters, boolean skipEmptyValues)` |

  - ### Uses of MediaType in org.silverpeas.components.gallery.model

    Methods in org.silverpeas.components.gallery.model that return MediaType
    Modifier and Type | Method | Description
    --- | --- | ---
    `abstract MediaType` | Media.`getType()` |
    `MediaType` | Photo.`getType()` |
    `MediaType` | Sound.`getType()` |
    `MediaType` | Streaming.`getType()` |
    `MediaType` | Video.`getType()` |

    Methods in org.silverpeas.components.gallery.model with parameters of type MediaType
    Modifier and Type | Method | Description
    --- | --- | ---
    `MediaCriteria` | MediaCriteria.`mediaTypeIsOneOf​(MediaType... mediaTypes)` | Sets the list of media type criterion to find media which have their type equals to one of the given ones.

    Method parameters in org.silverpeas.components.gallery.model with type arguments of type MediaType
    Modifier and Type | Method | Description
    --- | --- | ---
    `MediaCriteriaProcessor` | MediaCriteriaProcessor.`processMediaTypes​(List<MediaType> mediaTypes)` | Processes the criterion on type of media.