Package com.enonic.xp.schema.content

## Interface ContentTypeService

-     @PublicApi
      public interface ContentTypeService

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `ContentTypes` | `getAll()` |
    `ContentTypes` | `getByApplication​(ApplicationKey applicationKey)` |
    `ContentType` | `getByName​(GetContentTypeParams params)` |
    `Set<String>` | `getMimeTypes​(ContentTypeNames napes)` |
    `ContentTypeValidationResult` | `validate​(ContentType type)` |

- - ### Method Detail

    - #### getByName

          ContentType getByName​(GetContentTypeParams params)

    - #### getByApplication

          ContentTypes getByApplication​(ApplicationKey applicationKey)

    - #### getAll

          ContentTypes getAll()

    - #### getMimeTypes

          Set<String> getMimeTypes​(ContentTypeNames napes)

    - #### validate

          ContentTypeValidationResult validate​(ContentType type)