com.atlassian.confluence.content
Class DefaultContentTypeManager
java.lang.Object
com.atlassian.confluence.content.DefaultContentTypeManager
- All Implemented Interfaces:
- ContentTypeManager, org.springframework.beans.factory.InitializingBean
public class DefaultContentTypeManager
- extends java.lang.Object
- implements ContentTypeManager, org.springframework.beans.factory.InitializingBean
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultContentTypeManager
public DefaultContentTypeManager(ModuleDescriptorCache<ContentTypeModuleDescriptor> moduleDescriptorCache,
PluginContentHibernateInterceptor pluginContentHibernateInterceptor,
com.atlassian.plugin.webresource.WebResourceUrlProvider webResourceUrlProvider)
afterPropertiesSet
public void afterPropertiesSet()
throws java.lang.Exception
- Specified by:
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
- Throws:
java.lang.Exception
getContentType
public ContentType getContentType(java.lang.String contentModuleKey)
- Description copied from interface:
ContentTypeManager
- Get the Content Type plugin module for the given module key, or the default "uninstalled" content type
if no matching plugin can be found.
- Specified by:
getContentType
in interface ContentTypeManager
- Parameters:
contentModuleKey
- the plugin module complete key of the content type provider
- Returns:
- the ContentType plugin object for that content type
getImplementingPluginVersion
public java.lang.String getImplementingPluginVersion(java.lang.String contentModuleKey)
- Description copied from interface:
ContentTypeManager
- Get the current version of the plugin that implements this content type.
- Specified by:
getImplementingPluginVersion
in interface ContentTypeManager
- Parameters:
contentModuleKey
- the plugin module complete key of the content type provider
- Returns:
- the version of the plugin that provides this content
getEnabledContentTypes
public java.util.Collection<ContentType> getEnabledContentTypes()
- Description copied from interface:
ContentTypeManager
- Get all ContentTypes currently enabled in the system
- Specified by:
getEnabledContentTypes
in interface ContentTypeManager
- Returns:
- all content types currently enabled
Copyright © 2003-2013 Atlassian. All Rights Reserved.