public class JsonPropertyEntityAdapter extends ContentEntityAdapterParent
| Constructor and Description |
|---|
JsonPropertyEntityAdapter() |
| 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.
|
static boolean |
isContentProperty(ContentEntityObject o) |
static boolean |
isContentProperty(CustomContentEntityObject o) |
boolean |
isIndexable(CustomContentEntityObject pluginContentEntityObject,
boolean isDefaultIndexable)
Determine if a particular content should be indexed.
|
getAttachmentsUrlPath, getAttachmentUrlPath, getDisplayTitle, getExcerpt, getNameForComparison, getUrlPath, getVersionChildPolicy, isAllowedParent, shouldConvertToContentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitattachmentsUrlPath, attachmentUrlPath, displayTitle, excerpt, nameForComparison, urlPathpublic static boolean isContentProperty(ContentEntityObject o)
public static boolean isContentProperty(CustomContentEntityObject o)
public 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)public boolean isIndexable(CustomContentEntityObject pluginContentEntityObject, boolean isDefaultIndexable)
ContentEntityAdapterisIndexable in interface ContentEntityAdapterisIndexable in class ContentEntityAdapterParentpluginContentEntityObject - the entity to checkisDefaultIndexable - if the entity would be indexed absent of this check.Copyright © 2003–2022 Atlassian. All rights reserved.