com.atlassian.confluence.api.extension.typebinding
Class AbstractContentTypeBinding
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractContentTypeBinding
public AbstractContentTypeBinding(ContentType handledType,
Set<ContentType> parentTypes)
- Deprecated.
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.