com.atlassian.confluence.api.extension.typebinding
Class AbstractContentTypeBinding

java.lang.Object
  extended by com.atlassian.confluence.api.extension.typebinding.AbstractContentTypeBinding
All Implemented Interfaces:
ContentTypeBinding

Deprecated. since 5.7, use ContentTypeApiSupport

@PublicSpi
@Deprecated
public abstract class AbstractContentTypeBinding
extends Object
implements ContentTypeBinding

Abstract ContentTypeBinding impl with some common helper methods.


Constructor Summary
AbstractContentTypeBinding(ContentType handledType, Set<ContentType> parentTypes)
          Deprecated.  
 
Method Summary
 ContentType getHandledType()
          Deprecated.  
 boolean handlesParentType(ContentType type)
          Deprecated.  
 
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.api.extension.typebinding.ContentTypeBinding
getChildren
 

Constructor Detail

AbstractContentTypeBinding

public AbstractContentTypeBinding(ContentType handledType,
                                  Set<ContentType> parentTypes)
Deprecated. 
Method Detail

getHandledType

public ContentType getHandledType()
Deprecated. 
Specified by:
getHandledType in interface ContentTypeBinding
Returns:
the ContentType of the Content that this service provides.

handlesParentType

public boolean handlesParentType(ContentType type)
Deprecated. 
Specified by:
handlesParentType in interface ContentTypeBinding
Returns:
true if Content of this binding's ContentType can be a child of content of the given type


Copyright © 2003–2015 Atlassian. All rights reserved.