com.atlassian.confluence.it
Class Space

java.lang.Object
  extended by com.atlassian.confluence.it.Space
All Implemented Interfaces:
TitledContent

public class Space
extends java.lang.Object
implements TitledContent


Nested Class Summary
static class Space.Type
           
 
Field Summary
static java.lang.String ALACARTE_ONDEMAND
           
static Space TEST
          A sample test space.
static Space TEST2
          A sample test space.
 
Constructor Summary
Space(java.lang.String key, java.lang.String name)
           
Space(java.lang.String key, java.lang.String name, java.lang.String description)
           
Space(java.lang.String key, java.lang.String name, java.lang.String description, Space.Type spaceType)
           
Space(java.lang.String key, java.lang.String name, java.lang.String description, Space.Type spaceType, long homepageId)
           
Space(User user)
           
 
Method Summary
 java.lang.String chooseTemplateToCreatePageUrl()
           
 java.lang.String chooseTemplateToCreatePageUrl(long parentPageId)
           
 java.lang.String getAttachmentsUrl()
           
 java.lang.String getBlogCollectorUrl()
           
 java.lang.String getBrowseUrl()
          Deprecated. Since 5.0, we have Pages Collector
 java.lang.String getCreateBlogPostUrl()
           
 java.lang.String getCreateChildPageUrl(long parentPageId)
           
 java.lang.String getCreatePageFromTemplateUrl(long templateId)
           
 java.lang.String getCreatePageUrl()
           
 java.lang.String getCreateTemplateUrl()
           
 java.lang.String getDefaultHomePageTitle()
           
static java.lang.String getDefaultPersonalSpaceKey(User user)
           
static java.lang.String getDefaultPersonalSpaceName(User user)
           
static java.lang.String getDefaultSpaceContentExcerpt()
           
 java.lang.String getDescription()
           
 java.lang.String getEditColorSchemeUrl()
           
 Page getHomePage()
           
 java.lang.String getHtmlExportUrl()
           
 java.lang.String getKey()
           
 java.lang.String getLabelsUrl()
           
 java.lang.String getName()
           
 java.lang.String getPagesAlphabeticalUrl()
           
 java.lang.String getPagesAlphabeticalUrl(java.lang.String startsWith)
           
 java.lang.String getPagesCollectorUrl()
           
 java.lang.String getPageTreeUrl()
           
 java.lang.String getSpaceSummaryUrl()
           
 java.lang.String getTitle()
           
 java.lang.String getUrlPath()
           
static Space personalSpaceFor(User user)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ALACARTE_ONDEMAND

public static final java.lang.String ALACARTE_ONDEMAND
See Also:
Constant Field Values

TEST

public static Space TEST
A sample test space.


TEST2

public static Space TEST2
A sample test space.

Constructor Detail

Space

public Space(User user)

Space

public Space(java.lang.String key,
             java.lang.String name)

Space

public Space(java.lang.String key,
             java.lang.String name,
             java.lang.String description)

Space

public Space(java.lang.String key,
             java.lang.String name,
             java.lang.String description,
             Space.Type spaceType)

Space

public Space(java.lang.String key,
             java.lang.String name,
             java.lang.String description,
             Space.Type spaceType,
             long homepageId)
Method Detail

personalSpaceFor

public static Space personalSpaceFor(User user)

getKey

public java.lang.String getKey()

getName

public java.lang.String getName()

getDescription

public java.lang.String getDescription()

getHomePage

public Page getHomePage()

getDefaultHomePageTitle

public java.lang.String getDefaultHomePageTitle()

getPageTreeUrl

public java.lang.String getPageTreeUrl()

getPagesAlphabeticalUrl

public java.lang.String getPagesAlphabeticalUrl()

getPagesAlphabeticalUrl

public java.lang.String getPagesAlphabeticalUrl(java.lang.String startsWith)

getLabelsUrl

public java.lang.String getLabelsUrl()

getAttachmentsUrl

public java.lang.String getAttachmentsUrl()

getBlogCollectorUrl

public java.lang.String getBlogCollectorUrl()

getEditColorSchemeUrl

public java.lang.String getEditColorSchemeUrl()

getCreateTemplateUrl

public java.lang.String getCreateTemplateUrl()

getCreatePageUrl

public java.lang.String getCreatePageUrl()

getCreateChildPageUrl

public java.lang.String getCreateChildPageUrl(long parentPageId)

getCreateBlogPostUrl

public java.lang.String getCreateBlogPostUrl()

chooseTemplateToCreatePageUrl

public java.lang.String chooseTemplateToCreatePageUrl()

chooseTemplateToCreatePageUrl

public java.lang.String chooseTemplateToCreatePageUrl(long parentPageId)

getCreatePageFromTemplateUrl

public java.lang.String getCreatePageFromTemplateUrl(long templateId)

getHtmlExportUrl

public java.lang.String getHtmlExportUrl()

getBrowseUrl

public java.lang.String getBrowseUrl()
Deprecated. Since 5.0, we have Pages Collector


getSpaceSummaryUrl

public java.lang.String getSpaceSummaryUrl()

getPagesCollectorUrl

public java.lang.String getPagesCollectorUrl()

getUrlPath

public java.lang.String getUrlPath()

getDefaultPersonalSpaceKey

public static java.lang.String getDefaultPersonalSpaceKey(User user)

getDefaultPersonalSpaceName

public static java.lang.String getDefaultPersonalSpaceName(User user)

getTitle

public java.lang.String getTitle()
Specified by:
getTitle in interface TitledContent

getDefaultSpaceContentExcerpt

public static java.lang.String getDefaultSpaceContentExcerpt()


Copyright © 2003-2013 Atlassian. All Rights Reserved.