com.atlassian.confluence.spaces
Class SpaceDescription

java.lang.Object
  extended bycom.atlassian.core.bean.EntityObject
      extended bycom.atlassian.confluence.core.ConfluenceEntityObject
          extended bycom.atlassian.confluence.core.AbstractVersionedEntityObject
              extended bycom.atlassian.confluence.core.ContentEntityObject
                  extended bycom.atlassian.confluence.core.SpaceContentEntityObject
                      extended bycom.atlassian.confluence.spaces.SpaceDescription
All Implemented Interfaces:
Addressable, Cloneable, Comparable, Labelable, Searchable, Serializable, Versioned

public class SpaceDescription
extends SpaceContentEntityObject

See Also:
Serialized Form

Field Summary
static String CONTENT_TYPE_PERSONAL_SPACEDESC
           
static String CONTENT_TYPE_SPACEDESC
           
protected static org.apache.log4j.Category log
           
 
Fields inherited from class com.atlassian.confluence.core.ContentEntityObject
CREATED, CURRENT, DELETED, MODIFIED
 
Constructor Summary
SpaceDescription()
           
SpaceDescription(Space space)
           
 
Method Summary
protected  org.apache.log4j.Category getLog()
           
 String getRealTitle()
           
 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()
           
 
Methods inherited from class com.atlassian.confluence.core.SpaceContentEntityObject
addTrackbackLink, convertToHistoricalVersion, getNameForComparison, getSpace, hashCode, isIndexable, isInSpace, setSpace
 
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, getReferralLinks, getRenderedVersionComment, getSearchableDependants, getTitle, getTrackbackLinks, getUserAccessor, getVersionComment, getVisibleLabels, 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 class com.atlassian.confluence.core.AbstractVersionedEntityObject
getLatestVersion, getOriginalVersion, getVersion, isLatestVersion, isNew, setOriginalVersion, setVersion
 
Methods inherited from class com.atlassian.confluence.core.ConfluenceEntityObject
getCreatorName, getLastModifierName, isPersistent, setCreatorName, setLastModifierName
 
Methods inherited from class com.atlassian.core.bean.EntityObject
getCreationDate, getCurrentDate, getId, getLastModificationDate, setClock, setCreationDate, setId, setLastModificationDate
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.atlassian.bonnie.Searchable
getId
 
Methods inherited from interface com.atlassian.confluence.core.Addressable
getId
 

Field Detail

log

protected static org.apache.log4j.Category 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
Constructor Detail

SpaceDescription

public SpaceDescription()

SpaceDescription

public SpaceDescription(Space space)
Method Detail

getRealTitle

public String getRealTitle()
Specified by:
getRealTitle in interface Addressable
Overrides:
getRealTitle in class ContentEntityObject

getUrlPath

public String getUrlPath()
Specified by:
getUrlPath in interface Addressable
Specified by:
getUrlPath in class ContentEntityObject

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 Addressable
Specified by:
getType in class ContentEntityObject

getSpaceKey

public String getSpaceKey()
Overrides:
getSpaceKey in class SpaceContentEntityObject

isPersonalSpace

public boolean isPersonalSpace()

getLog

protected org.apache.log4j.Category getLog()
Specified by:
getLog in class ContentEntityObject
Returns:
The category to log for this class


Confluence is developed by Atlassian.