public class SpaceDescription extends SpaceContentEntityObject
| Modifier and Type | Field and Description | 
|---|---|
| static String | CONTENT_TYPE_PERSONAL_SPACEDESC | 
| static String | CONTENT_TYPE_SPACEDESC | 
| static org.apache.log4j.Logger | logDeprecated. 
 Since 3.1, use private logger | 
COLLABORATIVE_EDITING_UUID, CONFLUENCE_RECOVERY, CONFLUENCE_RECOVERY_WITH_EXTERNAL_CHANGE, CONTENT_RESTORED_SYNC_REV_SOURCE, CREATED, CURRENT, DELETED, DRAFT, DUMMY_SYNC_REV, LIMITED_MODE_SYNC_REV_SOURCE, MODIFIED, SHARE_ID, SYNC_REV, SYNC_REV_SOURCE, SYNCHRONY_RECOVERY, SYNCHRONY_RECOVERY_WITH_EXTERNAL_CHANGE, SYNCHRONY_SYNC_REV_SOURCEINITIAL_VERSION| Constructor and Description | 
|---|
| SpaceDescription() | 
| SpaceDescription(Space space) | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getAttachmentUrlPath(Attachment attachment)Gets the path relative to Confluence's base URL to view the given attachment in the context of this content
 (for example, highlighted in the content's list of attachments). | 
| BodyType | getDefaultBodyType() | 
| String | getDisplayTitle()Returns the display title. | 
| String | getSpaceKey() | 
| String | getType()An easy name for the type of this content: makes it easy for
 things like the #contentLink macro to work out what to draw. | 
| String | getUrlPath() | 
| boolean | isPersonalSpace() | 
convertToHistoricalVersion, getNameForComparison, getSpace, hashCode, isIndexable, isInSpace, setSpaceaddAttachment, addComment, addCustomContent, addOutgoingLink, addPermission, addReferralLink, addTrackbackLink, applyChildVersioningPolicy, clone, compareTo, ensureAttachmentBelongsToContent, equals, getAttachmentNamed, getAttachments, getAttachmentsUrlPath, getBodyAsString, getBodyAsStringWithoutMarkup, getBodyContent, getBodyContent, getBodyContents, getCollaborativeEditingUuid, getComments, getContainerContent, getContentEntityObject, getContentId, getContentPermission, getContentPermissionSet, getContentStatus, getContentStatusObject, getEntity, getExcerpt, getIdAsString, getLatestVersionId, getLatestVersionsOfAttachments, getLowerTitle, getOriginalVersionId, getOutgoingLinks, getPermissions, getProperties, getReferralLinks, getRenderedVersionComment, getSearchableDependants, getSelector, getShareId, getSynchronyRevision, getSynchronyRevisionSource, getTitle, getTrackbackLinks, getTypeEnum, getUserAccessor, getVersionComment, hasContentPermissions, hasPermissions, isCurrent, isDeleted, isDraft, isRecentlyUpdatedFor, isUnpublished, isVersionCommentAvailable, removeAttachment, removeComment, removeContentPermissionSet, removeCustomContent, removeOutgoingLink, removeReferralLink, removeTrackbackLink, replaceContentProperties, restore, restoreDependents, setAttachments, setBodyAsString, setBodyContent, setBodyContents, setCollaborativeEditingUuid, setComments, setContainerContent, setContentPropertiesFrom, setContentStatus, setOriginalVersion, setOriginalVersionId, setOutgoingLinks, setReferralLinks, setShareId, setSynchronyRevision, setSynchronyRevisionSource, setTitle, setTrackbackLinks, setUserAccessor, setVersionComment, sharedAccessAllowed, sharedAccessAllowed, toPageContext, toString, trash, trashDependents, wasCreatedByaddLabelling, getGlobalLabels, getLabelCount, getLabellings, getLabels, getLabelsForDisplay, getLabelUtil, getPersonalLabels, getTeamLabels, getVisibleLabels, isFavourite, isFavourite, removeLabelling, setLabellingsgetConfluenceRevision, getLatestVersion, getOriginalVersion, getVersion, getVersionChildPolicy, isLatestVersion, isNew, setVersiongetCreator, getCreatorName, getLastModifier, getLastModifierName, getRealClass, isPersistent, setCreator, setCreatorName, setLastModifier, setLastModifierNamegetCreationDate, getCurrentDate, getId, getLastModificationDate, setClock, setCreationDate, setId, setLastModificationDatefinalize, getClass, notify, notifyAll, wait, wait, waitgetIdgetId, isPersistent@Deprecated public static final org.apache.log4j.Logger log
public static final String CONTENT_TYPE_SPACEDESC
public static final String CONTENT_TYPE_PERSONAL_SPACEDESC
public SpaceDescription()
public SpaceDescription(Space space)
public String getDisplayTitle()
ContentEntityObjectgetDisplayTitle in interface AddressablegetDisplayTitle in class ContentEntityObjectpublic String getUrlPath()
getUrlPath in interface AddressablegetUrlPath in class ContentEntityObjectpublic String getType()
ContentEntityObjectThis 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.
getType in interface ContentTypeAwaregetType in class ContentEntityObjectpublic String getSpaceKey()
getSpaceKey in class SpaceContentEntityObjectpublic boolean isPersonalSpace()
public BodyType getDefaultBodyType()
getDefaultBodyType in class ContentEntityObjectpublic String getAttachmentUrlPath(Attachment attachment)
ContentEntityObjectAttachment.getUrlPath() instead of this method: if we ever implement
 view pages for individual attachments, that's the method that will be changed to point to them.
 The default implementation just returns the view page for this content.
getAttachmentUrlPath in class ContentEntityObjectattachment - one of this content's attachmentsCopyright © 2003–2017 Atlassian. All rights reserved.