com.atlassian.confluence.pages
Class BlogPost
java.lang.Object
com.atlassian.core.bean.EntityObject
com.atlassian.confluence.core.ConfluenceEntityObject
com.atlassian.confluence.core.AbstractVersionedEntityObject
com.atlassian.confluence.core.ContentEntityObject
com.atlassian.confluence.core.SpaceContentEntityObject
com.atlassian.confluence.pages.AbstractPage
com.atlassian.confluence.pages.BlogPost
- All Implemented Interfaces:
- Searchable, Addressable, ContentTypeAware, HasLinkWikiMarkup, Versioned, Labelable, Spaced, Serializable, Cloneable, Comparable
public class BlogPost
- extends AbstractPage
- See Also:
- Serialized Form
Methods inherited from class com.atlassian.confluence.pages.AbstractPage |
addComment, convertToHistoricalVersion, getComments, getOriginalVersionPage, getPreviousVersion, getSearchableDependants, getTopLevelComments, getUrlPath, hasInvalidTitleCharacters, isValidPageTitle, isValidPageTitleCharacter, isValidTitleLength, remove, removeComment, setComments, setOriginalVersionPage, setTitle |
Methods inherited from class com.atlassian.confluence.core.ContentEntityObject |
addAttachment, addLabelling, addOutgoingLink, addPermission, addReferralLink, clone, compareTo, equals, getAttachmentNamed, getAttachments, getBodyContents, getContent, getContentPermission, getContentPermissionSet, getContentStatus, getDisplayTitle, getExcerpt, getGlobalLabels, getIdAsString, getLabelCount, getLabellings, getLabels, getLabelsForDisplay, getLabelUtil, getLatestVersionsOfAttachments, getOutgoingLinks, getPermissions, getPersonalLabels, getReferralLinks, getRenderedVersionComment, getTitle, getTrackbackLinks, getUserAccessor, getVersionComment, getVisibleLabels, hasContentPermissions, hasPermissions, isCurrent, isDeleted, isFavourite, isRecentlyUpdatedFor, isVersionCommentAvailable, removeAttachment, removeContentPermissionSet, removeLabelling, removeOutgoingLink, removeReferralLink, removeTrackbackLink, setAttachments, setBodyContents, setContent, setContentStatus, setOutgoingLinks, setReferralLinks, setTrackbackLinks, setUserAccessor, setVersionComment, toPageContext, toString, trash |
Methods inherited from interface com.atlassian.confluence.core.Addressable |
getId |
CONTENT_TYPE
public static final String CONTENT_TYPE
- See Also:
- Constant Field Values
POSTING_DAY_FORMAT
public static final String POSTING_DAY_FORMAT
- See Also:
- Constant Field Values
BlogPost
public BlogPost()
getType
public String getType()
- Description copied from class:
ContentEntityObject
- An easy name for the type of this content: makes it easy for
things like the #contentLink macro to work out what to draw.
This is a bit of a hack, but it saves heaps of code elsewhere,
especially since we tend to get back these objects wrapped in
all sorts of Hibernate CGLIB stuff.
- Specified by:
getType
in interface ContentTypeAware
- Specified by:
getType
in class ContentEntityObject
- Returns:
- the content type
toCalendar
public static Calendar toCalendar(Date date)
getLinkPart
public String getLinkPart()
getDatePath
public String getDatePath()
toDatePath
public static String toDatePath(Date date)
getAttachmentsUrlPath
public String getAttachmentsUrlPath()
- Overrides:
getAttachmentsUrlPath
in class AbstractPage
getLinkWikiMarkup
public String getLinkWikiMarkup()
- Returns:
- the wiki markup used to link to this content
getPostingYear
public String getPostingYear()
getPostingMonth
public String getPostingMonth()
getPostingMonthNumeric
public String getPostingMonthNumeric()
getPostingDayOfMonth
public String getPostingDayOfMonth()