public class DummyAvailableContentEntityAdapter extends ContentEntityAdapterParent
| Constructor and Description |
|---|
DummyAvailableContentEntityAdapter() |
| Modifier and Type | Method and Description |
|---|---|
BodyType |
getDefaultBodyType(CustomContentEntityObject pluginContentEntityObject)
Get the default type for BodyContent objects attached to this content.
|
boolean |
isAllowedContainer(ContentEntityObject child,
ContentEntityObject container)
Determine if a particular content is an acceptable container for a particular child.
|
getAttachmentsUrlPath, getAttachmentUrlPath, getDisplayTitle, getExcerpt, getNameForComparison, getUrlPath, getVersionChildPolicy, isAllowedParent, isIndexable, shouldConvertToContentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitattachmentsUrlPath, attachmentUrlPath, displayTitle, excerpt, nameForComparison, urlPathpublic BodyType getDefaultBodyType(CustomContentEntityObject pluginContentEntityObject)
ContentEntityAdaptergetDefaultBodyType in interface ContentEntityAdaptergetDefaultBodyType in class ContentEntityAdapterParentpluginContentEntityObject - the content to get the body type ofpublic boolean isAllowedContainer(ContentEntityObject child, ContentEntityObject container)
ContentEntityAdapterWill be invoked for the child adapter and the container adapter, if applicable.
Only one of container or child are required to be CustomContentEntityObjects. If both types are
CustomContentEntityObjects, this must only be used if CustomContentEntityObject.getPluginModuleKey()
also returns distinct values for both objects.
isAllowedContainer in interface ContentEntityAdapterisAllowedContainer in class ContentEntityAdapterParentContentEntityAdapter.isAllowedParent(CustomContentEntityObject, CustomContentEntityObject)Copyright © 2003–2020 Atlassian. All rights reserved.