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 ContentTypesgetAll()ContentTypesgetByApplication(ApplicationKey applicationKey)ContentTypegetByName(GetContentTypeParams params)Set<String>getMimeTypes(ContentTypeNames napes)ContentTypeValidationResultvalidate(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)
-
-