Package com.atlassian.confluence.spaces
Class ReadOnlySpace
java.lang.Object
com.atlassian.core.bean.EntityObject
com.atlassian.confluence.core.AnnotatedEntityObject
com.atlassian.confluence.core.ConfluenceEntityObject
com.atlassian.confluence.spaces.Space
com.atlassian.confluence.spaces.ReadOnlySpace
- All Implemented Interfaces:
Searchable
,Addressable
,ContentTypeAware
,Serializable
,Cloneable
Deprecated, for removal: This API element is subject to removal in a future version.
- See Also:
-
Field Summary
Fields inherited from class com.atlassian.confluence.spaces.Space
CONTENT_TYPE, MAX_SPACE_NAME_LENGTH, PERSONAL_SPACEKEY_IDENTIFIER
-
Constructor Summary
ConstructorsConstructorDescriptionReadOnlySpace
(Space delegate) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addPageTemplate
(PageTemplate pageTemplate) Deprecated, for removal: This API element is subject to removal in a future version.void
addPermission
(SpacePermission permission) Deprecated, for removal: This API element is subject to removal in a future version.clone()
Deprecated, for removal: This API element is subject to removal in a future version.boolean
Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.This method returns a link directly to the space homepage.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.long
getId()
Deprecated, for removal: This API element is subject to removal in a future version.getKey()
Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.getName()
Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.When we un-index something (say, a page), we also need to un-index everything contained within that page (comments, attachments), because presumably they're all about to go away.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.getType()
Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.int
hashCode()
Deprecated, for removal: This API element is subject to removal in a future version.boolean
Deprecated, for removal: This API element is subject to removal in a future version.boolean
isGlobal()
Deprecated, for removal: This API element is subject to removal in a future version.boolean
Deprecated, for removal: This API element is subject to removal in a future version.Allows an object to tell the search indexer that it is not allowed to be indexedboolean
Deprecated, for removal: This API element is subject to removal in a future version.This object is persistent if the id is not 0.boolean
Deprecated, for removal: This API element is subject to removal in a future version.void
Deprecated, for removal: This API element is subject to removal in a future version.Remove all permissions from this Spacevoid
removePageTemplate
(PageTemplate pageTemplate) Deprecated, for removal: This API element is subject to removal in a future version.void
removePermission
(SpacePermission permission) Deprecated, for removal: This API element is subject to removal in a future version.void
setClock
(com.atlassian.core.util.Clock clock) Deprecated, for removal: This API element is subject to removal in a future version.void
setCreationDate
(Date creationDate) Deprecated, for removal: This API element is subject to removal in a future version.void
setCreator
(ConfluenceUser creator) Deprecated, for removal: This API element is subject to removal in a future version.void
setCreatorName
(String creatorName) Deprecated, for removal: This API element is subject to removal in a future version.Set the username of the creatorvoid
setDescription
(SpaceDescription description) Deprecated, for removal: This API element is subject to removal in a future version.void
setHomePage
(Page homePage) Deprecated, for removal: This API element is subject to removal in a future version.void
setId
(long id) Deprecated, for removal: This API element is subject to removal in a future version.void
Deprecated, for removal: This API element is subject to removal in a future version.void
setLastModificationDate
(Date lastModificationDate) Deprecated, for removal: This API element is subject to removal in a future version.void
setLastModifier
(ConfluenceUser lastModifier) Deprecated, for removal: This API element is subject to removal in a future version.void
setLastModifierName
(String lastModifierName) Deprecated, for removal: This API element is subject to removal in a future version.void
Deprecated, for removal: This API element is subject to removal in a future version.void
setPermissions
(List<SpacePermission> permissions) Deprecated, for removal: This API element is subject to removal in a future version.void
setSpaceGroup
(SpaceGroup spaceGroup) Deprecated, for removal: This API element is subject to removal in a future version.void
setSpaceManager
(SpaceManager spaceManager) Deprecated, for removal: This API element is subject to removal in a future version.void
setSpaceStatus
(SpaceStatus spaceStatus) Deprecated, for removal: This API element is subject to removal in a future version.void
setSpaceType
(SpaceType spaceType) Deprecated, for removal: This API element is subject to removal in a future version.toString()
Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class com.atlassian.confluence.spaces.Space
isValidGlobalSpaceKey, isValidPersonalSpaceKey, isValidSpaceKey
Methods inherited from class com.atlassian.confluence.core.ConfluenceEntityObject
getRealClass
-
Constructor Details
-
ReadOnlySpace
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getId
public long getId()Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getId
in interfaceAddressable
- Specified by:
getId
in interfaceSearchable
- Overrides:
getId
in classcom.atlassian.core.bean.EntityObject
-
setId
public void setId(long id) Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
setId
in classcom.atlassian.core.bean.EntityObject
-
getCreationDate
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
getCreationDate
in classAnnotatedEntityObject
-
setCreationDate
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
setCreationDate
in classcom.atlassian.core.bean.EntityObject
-
getLastModificationDate
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
getLastModificationDate
in classAnnotatedEntityObject
-
setLastModificationDate
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
setLastModificationDate
in classcom.atlassian.core.bean.EntityObject
-
setClock
public void setClock(com.atlassian.core.util.Clock clock) Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
setClock
in classcom.atlassian.core.bean.EntityObject
-
getCurrentDate
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
getCurrentDate
in classcom.atlassian.core.bean.EntityObject
-
getName
Deprecated, for removal: This API element is subject to removal in a future version. -
setName
Deprecated, for removal: This API element is subject to removal in a future version. -
getKey
Deprecated, for removal: This API element is subject to removal in a future version. -
setKey
Deprecated, for removal: This API element is subject to removal in a future version. -
getLowerKey
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
getLowerKey
in classSpace
-
getSpaceType
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
getSpaceType
in classSpace
-
setSpaceType
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
setSpaceType
in classSpace
-
getDescription
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
getDescription
in classSpace
-
setDescription
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
setDescription
in classSpace
-
getHomePage
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
getHomePage
in classSpace
-
setHomePage
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
setHomePage
in classSpace
-
getPermissions
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
getPermissions
in classSpace
-
setPermissions
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
setPermissions
in classSpace
-
addPermission
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
addPermission
in classSpace
-
removePermission
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
removePermission
in classSpace
-
removeAllPermissions
public void removeAllPermissions()Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:Space
Remove all permissions from this Space- Overrides:
removeAllPermissions
in classSpace
-
getPageTemplates
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
getPageTemplates
in classSpace
-
addPageTemplate
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
addPageTemplate
in classSpace
-
removePageTemplate
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
removePageTemplate
in classSpace
-
equals
Deprecated, for removal: This API element is subject to removal in a future version. -
hashCode
public int hashCode()Deprecated, for removal: This API element is subject to removal in a future version. -
clone
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
clone
in classSpace
- Throws:
CloneNotSupportedException
-
getSearchableDependants
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:Searchable
When we un-index something (say, a page), we also need to un-index everything contained within that page (comments, attachments), because presumably they're all about to go away. -
isIndexable
public boolean isIndexable()Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:Searchable
Allows an object to tell the search indexer that it is not allowed to be indexed- Specified by:
isIndexable
in interfaceSearchable
- Overrides:
isIndexable
in classSpace
-
setSpaceManager
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
setSpaceManager
in classSpace
-
getUrlPath
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getUrlPath
in interfaceAddressable
- Overrides:
getUrlPath
in classSpace
-
getDeepLinkUri
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:Space
This method returns a link directly to the space homepage. It is not safe to persist this link as the space homepage can change. If no space homepage is defined, it falls back to getUrlPath() above.- Overrides:
getDeepLinkUri
in classSpace
-
getBrowseUrlPath
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
getBrowseUrlPath
in classSpace
-
getAdvancedTabUrlPath
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
getAdvancedTabUrlPath
in classSpace
-
getBlogTabUrlPath
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
getBlogTabUrlPath
in classSpace
-
getDisplayTitle
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getDisplayTitle
in interfaceAddressable
- Overrides:
getDisplayTitle
in classSpace
- Returns:
- the title of the addressable object, suitable for display in a list
-
getType
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getType
in interfaceContentTypeAware
- Overrides:
getType
in classSpace
- Returns:
- the content type
-
isPersonal
public boolean isPersonal()Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
isPersonal
in classSpace
-
isGlobal
public boolean isGlobal()Deprecated, for removal: This API element is subject to removal in a future version. -
getSpaceGroup
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
getSpaceGroup
in classSpace
-
setSpaceGroup
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
setSpaceGroup
in classSpace
-
getSpaceStatus
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
getSpaceStatus
in classSpace
-
setSpaceStatus
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
setSpaceStatus
in classSpace
-
getDefaultHomepageTitle
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
getDefaultHomepageTitle
in classSpace
-
isArchived
public boolean isArchived()Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
isArchived
in classSpace
-
toString
Deprecated, for removal: This API element is subject to removal in a future version. -
getCreatorName
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
getCreatorName
in classConfluenceEntityObject
- Returns:
- username of the creator, or null if created anonymously
-
getCreator
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
getCreator
in classConfluenceEntityObject
-
setCreatorName
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:ConfluenceEntityObject
Set the username of the creator- Overrides:
setCreatorName
in classConfluenceEntityObject
-
getLastModifierName
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
getLastModifierName
in classConfluenceEntityObject
- Returns:
- username of the last modifier, or null if none.
-
getLastModifier
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
getLastModifier
in classConfluenceEntityObject
-
setLastModifierName
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
setLastModifierName
in classConfluenceEntityObject
-
setCreator
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
setCreator
in classConfluenceEntityObject
-
setLastModifier
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
setLastModifier
in classConfluenceEntityObject
-
isPersistent
public boolean isPersistent()Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:ConfluenceEntityObject
This object is persistent if the id is not 0.- Overrides:
isPersistent
in classConfluenceEntityObject
- Returns:
- true if this instance is a persisted label.
-
Space
directly.