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 TypeMethodDescriptionvoidaddPageTemplate(PageTemplate pageTemplate) Deprecated, for removal: This API element is subject to removal in a future version.voidaddPermission(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.booleanDeprecated, 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.longgetId()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.inthashCode()Deprecated, for removal: This API element is subject to removal in a future version.booleanDeprecated, for removal: This API element is subject to removal in a future version.booleanisGlobal()Deprecated, for removal: This API element is subject to removal in a future version.booleanDeprecated, 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 indexedbooleanDeprecated, for removal: This API element is subject to removal in a future version.This object is persistent if the id is not 0.booleanDeprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.Remove all permissions from this SpacevoidremovePageTemplate(PageTemplate pageTemplate) Deprecated, for removal: This API element is subject to removal in a future version.voidremovePermission(SpacePermission permission) Deprecated, for removal: This API element is subject to removal in a future version.voidsetClock(com.atlassian.core.util.Clock clock) Deprecated, for removal: This API element is subject to removal in a future version.voidsetCreationDate(Date creationDate) Deprecated, for removal: This API element is subject to removal in a future version.voidsetCreator(ConfluenceUser creator) Deprecated, for removal: This API element is subject to removal in a future version.voidsetDescription(SpaceDescription description) Deprecated, for removal: This API element is subject to removal in a future version.voidsetHomePage(Page homePage) Deprecated, for removal: This API element is subject to removal in a future version.voidsetId(long id) Deprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.voidsetLastModificationDate(Date lastModificationDate) Deprecated, for removal: This API element is subject to removal in a future version.voidsetLastModifier(ConfluenceUser lastModifier) Deprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.voidsetPermissions(List<SpacePermission> permissions) Deprecated, for removal: This API element is subject to removal in a future version.voidsetSpaceGroup(SpaceGroup spaceGroup) Deprecated, for removal: This API element is subject to removal in a future version.voidsetSpaceStatus(SpaceStatus spaceStatus) Deprecated, for removal: This API element is subject to removal in a future version.voidsetSpaceType(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, isValidSpaceKeyMethods 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:
getIdin interfaceAddressable- Specified by:
getIdin interfaceSearchable- Overrides:
getIdin 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:
setIdin classcom.atlassian.core.bean.EntityObject
-
getCreationDate
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
getCreationDatein classAnnotatedEntityObject
-
setCreationDate
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
setCreationDatein classcom.atlassian.core.bean.EntityObject
-
getLastModificationDate
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
getLastModificationDatein classAnnotatedEntityObject
-
setLastModificationDate
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
setLastModificationDatein 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:
setClockin classcom.atlassian.core.bean.EntityObject
-
getCurrentDate
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
getCurrentDatein 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:
getLowerKeyin classSpace
-
getSpaceType
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
getSpaceTypein classSpace
-
setSpaceType
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
setSpaceTypein classSpace
-
getDescription
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
getDescriptionin classSpace
-
setDescription
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
setDescriptionin classSpace
-
getHomePage
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
getHomePagein classSpace
-
setHomePage
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
setHomePagein classSpace
-
getPermissions
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
getPermissionsin classSpace
-
setPermissions
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
setPermissionsin classSpace
-
addPermission
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
addPermissionin classSpace
-
removePermission
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
removePermissionin classSpace
-
removeAllPermissions
public void removeAllPermissions()Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:SpaceRemove all permissions from this Space- Overrides:
removeAllPermissionsin classSpace
-
getPageTemplates
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
getPageTemplatesin classSpace
-
addPageTemplate
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
addPageTemplatein classSpace
-
removePageTemplate
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
removePageTemplatein 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:
clonein classSpace- Throws:
CloneNotSupportedException
-
getSearchableDependants
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:SearchableWhen 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:SearchableAllows an object to tell the search indexer that it is not allowed to be indexed- Specified by:
isIndexablein interfaceSearchable- Overrides:
isIndexablein classSpace
-
getUrlPath
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getUrlPathin interfaceAddressable- Overrides:
getUrlPathin classSpace
-
getDeepLinkUri
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:SpaceThis 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:
getDeepLinkUriin classSpace
-
getBrowseUrlPath
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
getBrowseUrlPathin classSpace
-
getAdvancedTabUrlPath
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
getAdvancedTabUrlPathin classSpace
-
getBlogTabUrlPath
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
getBlogTabUrlPathin classSpace
-
getDisplayTitle
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getDisplayTitlein interfaceAddressable- Overrides:
getDisplayTitlein 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:
getTypein interfaceContentTypeAware- Overrides:
getTypein classSpace- Returns:
- the content type
-
isPersonal
public boolean isPersonal()Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
isPersonalin 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:
getSpaceGroupin classSpace
-
setSpaceGroup
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
setSpaceGroupin classSpace
-
getSpaceStatus
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
getSpaceStatusin classSpace
-
setSpaceStatus
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
setSpaceStatusin classSpace
-
getDefaultHomepageTitle
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
getDefaultHomepageTitlein classSpace
-
isArchived
public boolean isArchived()Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
isArchivedin 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:
getCreatorNamein 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:
getCreatorin classConfluenceEntityObject
-
getLastModifierName
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
getLastModifierNamein 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:
getLastModifierin classConfluenceEntityObject
-
setCreator
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
setCreatorin classConfluenceEntityObject
-
setLastModifier
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
setLastModifierin classConfluenceEntityObject
-
isPersistent
public boolean isPersistent()Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:ConfluenceEntityObjectThis object is persistent if the id is not 0.- Overrides:
isPersistentin classConfluenceEntityObject- Returns:
- true if this instance is a persisted label.
-
Spacedirectly.