com.atlassian.confluence.content.custom
Class BaseCustomContentType

java.lang.Object
  extended by com.atlassian.confluence.content.custom.BaseCustomContentType
All Implemented Interfaces:
ContentType, CustomContentType
Direct Known Subclasses:
CustomContentTypeWrapper, DummyAvailableContentType, DummyCurrentVersionContentType, DummyOriginalVersionContentType

public abstract class BaseCustomContentType
extends Object
implements CustomContentType

A base class for Custom Content to extend. This allows the CustomContentType SPI to evolve with default implementations in this class


Constructor Summary
BaseCustomContentType(ContentType contentType, ApiSupportProvider apiSupportProvider)
           
 
Method Summary
 ContentTypeApiSupport<CustomContentEntityObject> getApiSupport()
          A null implementation that provide no extensions or children for the CustomContentType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.confluence.content.ContentType
getContentAdapter, getContentUiSupport, getPermissionDelegate
 

Constructor Detail

BaseCustomContentType

public BaseCustomContentType(ContentType contentType,
                             ApiSupportProvider apiSupportProvider)
Method Detail

getApiSupport

public ContentTypeApiSupport<CustomContentEntityObject> getApiSupport()
A null implementation that provide no extensions or children for the CustomContentType

Specified by:
getApiSupport in interface CustomContentType
Returns:
a ContentTypeApiSupport object that does not allow children and provides no extensions


Copyright © 2003–2015 Atlassian. All rights reserved.