public interface ContentTypeManager
Modifier and Type | Method and Description |
---|---|
ContentType |
getContentType(String contentModuleKey)
Get the Content Type plugin module for the given module key, or the default "uninstalled" content type
if no matching plugin can be found.
|
Collection<ContentType> |
getEnabledContentTypes()
Deprecated.
since 5.7 use getEnabledCustomContentTypes
|
Collection<CustomContentType> |
getEnabledCustomContentTypes()
Get all CustomContentTypes currently enabled in the system
|
String |
getImplementingPluginVersion(String contentModuleKey)
Get the current version of the plugin that implements this content type.
|
ContentType getContentType(String contentModuleKey)
contentModuleKey
- the plugin module complete key of the content type providerString getImplementingPluginVersion(String contentModuleKey)
contentModuleKey
- the plugin module complete key of the content type providerIllegalStateException
- if the implementing plugin does not exist, is disabled or is the wrong type.@Deprecated Collection<ContentType> getEnabledContentTypes()
Collection<CustomContentType> getEnabledCustomContentTypes()
Copyright © 2003–2017 Atlassian. All rights reserved.