public class Space extends ConfluenceEntityObject implements com.atlassian.bonnie.Searchable, Addressable
Modifier and Type | Field and Description |
---|---|
static String |
CONTENT_TYPE |
static int |
MAX_SPACE_NAME_LENGTH |
static String |
PERSONAL_SPACEKEY_IDENTIFIER |
getCreator, getCreatorName, getLastModifier, getLastModifierName, getRealClass, isPersistent, setCreator, setCreatorName, setLastModifier, setLastModifierName
getCreationDate, getCurrentDate, getId, getLastModificationDate, setClock, setCreationDate, setId, setLastModificationDate
finalize, getClass, notify, notifyAll, wait, wait, wait
getId
public static final String PERSONAL_SPACEKEY_IDENTIFIER
public static final String CONTENT_TYPE
public static final int MAX_SPACE_NAME_LENGTH
public Space()
public Space(String spaceKey)
public static boolean isValidSpaceKey(String key)
public static boolean isValidGlobalSpaceKey(String key)
public static boolean isValidPersonalSpaceKey(String key)
public String getName()
public void setName(String name)
public String getKey()
public void setKey(String key)
public String getLowerKey()
public SpaceType getSpaceType()
public void setSpaceType(SpaceType spaceType)
public SpaceDescription getDescription()
public void setDescription(SpaceDescription description)
public Page getHomePage()
public void setHomePage(Page homePage)
public List<SpacePermission> getPermissions()
public void setPermissions(List<SpacePermission> permissions)
public void addPermission(SpacePermission permission)
public void removePermission(SpacePermission permission)
public void removeAllPermissions()
public List getPageTemplates()
public void addPageTemplate(PageTemplate pageTemplate)
public void removePageTemplate(PageTemplate pageTemplate)
public boolean equals(Object o)
equals
in class com.atlassian.core.bean.EntityObject
public int hashCode()
hashCode
in class com.atlassian.core.bean.EntityObject
public Object clone() throws CloneNotSupportedException
clone
in class com.atlassian.core.bean.EntityObject
CloneNotSupportedException
public Collection getSearchableDependants()
getSearchableDependants
in interface com.atlassian.bonnie.Searchable
public boolean isIndexable()
isIndexable
in interface com.atlassian.bonnie.Searchable
@Deprecated public void setSpaceManager(SpaceManager spaceManager)
public String getUrlPath()
getUrlPath
in interface Addressable
public URI getDeepLinkUri()
public String getBrowseUrlPath()
public String getAdvancedTabUrlPath()
public String getBlogTabUrlPath()
public String getDisplayTitle()
getDisplayTitle
in interface Addressable
public String getType()
getType
in interface ContentTypeAware
public boolean isPersonal()
public boolean isGlobal()
@Deprecated public SpaceGroup getSpaceGroup()
SpaceGroup
and related classes like
SpaceGroupManager
and
SpaceGroupComparator
will be removed.
Please do not use them.
@Deprecated public void setSpaceGroup(SpaceGroup spaceGroup)
SpaceGroup
and related classes like
SpaceGroupManager
and
SpaceGroupComparator
will be removed.
Please do not use them.
public SpaceStatus getSpaceStatus()
public void setSpaceStatus(SpaceStatus spaceStatus)
public Message getDefaultHomepageTitle()
public boolean isArchived()
Copyright © 2003–2021 Atlassian. All rights reserved.