public class BlogPost extends AbstractPage implements ContentConvertible
| Modifier and Type | Field and Description |
|---|---|
static String |
CONTENT_TYPE |
static String |
POSTING_DAY_FORMAT |
CREATED, CURRENT, DELETED, MODIFIEDINITIAL_VERSION| Constructor and Description |
|---|
BlogPost() |
convertToHistoricalVersion, getAttachmentsUrlPath, getAttachmentUrlPath, getLatestVersion, getOriginalVersionPage, getPageLevelComments, getPreviousVersion, getSearchableDependants, getTopLevelComments, getUrlPath, hasInvalidTitleCharacters, isValidPageTitle, isValidPageTitleCharacter, isValidTitleLength, remove, setContentPropertiesFromDraft, setOriginalVersionPage, setTitlegetNameForComparison, getSpace, getSpaceKey, hashCode, isIndexable, isInSpace, setSpaceaddAttachment, addComment, addCustomContent, addOutgoingLink, addPermission, addReferralLink, addTrackbackLink, applyChildVersioningPolicy, clone, compareTo, ensureAttachmentBelongsToContent, equals, getAttachmentNamed, getAttachments, getBodyAsString, getBodyAsStringWithoutMarkup, getBodyContent, getBodyContent, getBodyContents, getComments, getContainerContent, getContentEntityObject, getContentPermission, getContentPermissionSet, getContentStatus, getDefaultBodyType, getDisplayTitle, getEntity, getExcerpt, getIdAsString, getLatestVersionsOfAttachments, getOutgoingLinks, getPermissions, getProperties, getReferralLinks, getRenderedVersionComment, getTitle, getTrackbackLinks, getTypeEnum, getUserAccessor, getVersionComment, hasContentPermissions, hasPermissions, isCurrent, isDeleted, isRecentlyUpdatedFor, isVersionCommentAvailable, removeAttachment, removeComment, removeContentPermissionSet, removeCustomContent, removeOutgoingLink, removeReferralLink, removeTrackbackLink, replaceContentProperties, restore, restoreDependents, setAttachments, setBodyAsString, setBodyContent, setBodyContents, setComments, setContainerContent, setContentStatus, setOutgoingLinks, setReferralLinks, setTrackbackLinks, setUserAccessor, setVersionComment, toPageContext, toString, trash, trashDependentsaddLabelling, getGlobalLabels, getLabelCount, getLabellings, getLabels, getLabelsForDisplay, getLabelUtil, getPersonalLabels, getTeamLabels, getVisibleLabels, isFavourite, isFavourite, removeLabelling, setLabellingsgetOriginalVersion, getVersion, getVersionChildPolicy, isLatestVersion, isNew, setOriginalVersion, setVersiongetCreator, getCreatorName, getLastModifier, getLastModifierName, getRealClass, isPersistent, setCreator, setCreatorName, setLastModifier, setLastModifierNamegetCreationDate, getCurrentDate, getId, getLastModificationDate, setClock, setCreationDate, setId, setLastModificationDatefinalize, getClass, notify, notifyAll, wait, wait, waitgetIdgetId, isPersistentpublic static final String CONTENT_TYPE
public static final String POSTING_DAY_FORMAT
public String getType()
ContentEntityObjectgetType in interface ContentTypeAwaregetType in class ContentEntityObjectpublic static Calendar getCalendarFromDatePath(String datePath)
BlogPostReference better suits your needs.datePath - - should resemble /2005/11/12/aBlogTitlepublic static String getTitleFromDatePath(String datePath)
BlogPostReference better suits your needs.datePath - - should resemble /2010/11/12/aBlogTitlepublic String getLinkPart()
public String getDatePath()
public String getLinkWikiMarkup()
getLinkWikiMarkup in interface HasLinkWikiMarkuppublic String getPostingYear()
public String getPostingMonth()
public String getPostingMonth(DateFormatter formatter)
public String getPostingMonthNumeric()
public String getPostingDayOfMonth()
public Date getPostingDate()
EntityObject.getCreationDate()public Calendar getPostingCalendarDate()
public ContentType getContentTypeObject()
getContentTypeObject in interface ContentConvertiblepublic ContentId getContentId()
ContentId for this Blog post.getContentId in interface ContentConvertiblegetContentId in class ContentEntityObjectpublic boolean shouldConvertToContent()
shouldConvertToContent in interface ContentConvertibleCopyright © 2003–2015 Atlassian. All rights reserved.