|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.confluence.content.DefaultContentTypeManager
public class DefaultContentTypeManager
| Constructor Summary | |
|---|---|
DefaultContentTypeManager(ModuleDescriptorCache<ContentTypeModuleDescriptor> moduleDescriptorCache,
PluginContentHibernateInterceptor pluginContentHibernateInterceptor,
com.atlassian.plugin.webresource.WebResourceUrlProvider webResourceUrlProvider)
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
|
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()
Get all ContentTypes currently enabled in the system |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultContentTypeManager(ModuleDescriptorCache<ContentTypeModuleDescriptor> moduleDescriptorCache,
PluginContentHibernateInterceptor pluginContentHibernateInterceptor,
com.atlassian.plugin.webresource.WebResourceUrlProvider webResourceUrlProvider)
| Method Detail |
|---|
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic ContentType getContentType(String contentModuleKey)
ContentTypeManager
getContentType in interface ContentTypeManagercontentModuleKey - the plugin module complete key of the content type provider
public String getImplementingPluginVersion(String contentModuleKey)
ContentTypeManager
getImplementingPluginVersion in interface ContentTypeManagercontentModuleKey - the plugin module complete key of the content type provider
public Collection<ContentType> getEnabledContentTypes()
ContentTypeManager
getEnabledContentTypes in interface ContentTypeManagerpublic Collection<CustomContentType> getEnabledCustomContentTypes()
ContentTypeManager
getEnabledCustomContentTypes in interface ContentTypeManager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||