com.atlassian.confluence.spaces
Class SpaceDescription
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.spaces.SpaceDescription
- All Implemented Interfaces:
- Searchable, Addressable, ContentTypeAware, Versioned, Labelable, Spaced, Serializable, Cloneable, Comparable
public class SpaceDescription
- extends SpaceContentEntityObject
- See Also:
- Serialized Form
| Methods inherited from class com.atlassian.confluence.core.ContentEntityObject |
addAttachment, addLabelling, addOutgoingLink, addPermission, addReferralLink, clone, compareTo, equals, getAttachmentNamed, getAttachments, getAttachmentsUrlPath, getBodyContents, getContent, getContentPermission, getContentPermissionSet, getContentStatus, getExcerpt, getGlobalLabels, getIdAsString, getLabelCount, getLabellings, getLabels, getLabelsForDisplay, getLabelUtil, getLatestVersionsOfAttachments, getOutgoingLinks, getPermissions, getPersonalLabels, getRealTitle, getReferralLinks, getRenderedVersionComment, getSearchableDependants, getTitle, getTrackbackLinks, getUserAccessor, getVersionComment, getVisibleLabels, hasContentPermissions, hasPermissions, isCurrent, isDeleted, isFavourite, isRecentlyUpdatedFor, isVersionCommentAvailable, removeAttachment, removeContentPermissionSet, removeLabelling, removeOutgoingLink, removeReferralLink, removeTrackbackLink, setAttachments, setBodyContents, setContent, setContentStatus, setOutgoingLinks, setReferralLinks, setTitle, setTrackbackLinks, setUserAccessor, setVersionComment, toPageContext, toString, trash |
| Methods inherited from interface com.atlassian.confluence.core.Addressable |
getId |
log
public static final org.apache.log4j.Logger log
CONTENT_TYPE_SPACEDESC
public static final String CONTENT_TYPE_SPACEDESC
- See Also:
- Constant Field Values
CONTENT_TYPE_PERSONAL_SPACEDESC
public static final String CONTENT_TYPE_PERSONAL_SPACEDESC
- See Also:
- Constant Field Values
SpaceDescription
public SpaceDescription()
SpaceDescription
public SpaceDescription(Space space)
getDisplayTitle
public String getDisplayTitle()
- Description copied from class:
ContentEntityObject
- Returns the display title. Some entities don't have titles for identification. For example, personal information objects use the user's fullname.
Override this method to provide a custom title.
- Specified by:
getDisplayTitle in interface Addressable- Overrides:
getDisplayTitle in class ContentEntityObject
- Returns:
- the display title
getUrlPath
public String getUrlPath()
- Specified by:
getUrlPath in interface Addressable- Specified by:
getUrlPath in class ContentEntityObject
- Returns:
- a link to the home page of the associated space
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
getSpaceKey
public String getSpaceKey()
- Overrides:
getSpaceKey in class SpaceContentEntityObject
isPersonalSpace
public boolean isPersonalSpace()