com.atlassian.confluence.it
Class Space

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

public class Space
extends Object
implements TitledContent


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

Field Detail

ALACARTE_ONDEMAND

public static final 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(String key,
             String name)

Space

public Space(String key,
             String name,
             String description)

Space

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

Space

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

personalSpaceFor

public static Space personalSpaceFor(User user)

getKey

public String getKey()

getName

public String getName()

getDescription

public String getDescription()

setHomePageId

public void setHomePageId(long homePageId)

getHomePage

public Page getHomePage()

getType

public Space.Type getType()

getDefaultHomePageTitle

public String getDefaultHomePageTitle()

getPageTreeUrl

public String getPageTreeUrl()

getPagesAlphabeticalUrl

public String getPagesAlphabeticalUrl()

getPagesAlphabeticalUrl

public String getPagesAlphabeticalUrl(String startsWith)

getLabelsUrl

public String getLabelsUrl()

getAttachmentsUrl

public String getAttachmentsUrl()

getBlogCollectorUrl

public String getBlogCollectorUrl()

getEditColorSchemeUrl

public String getEditColorSchemeUrl()

getCreateTemplateUrl

public String getCreateTemplateUrl()

getCreatePageUrl

public String getCreatePageUrl()

getCreateChildPageUrl

public String getCreateChildPageUrl(long parentPageId)

getCreateBlogPostUrl

public String getCreateBlogPostUrl()

chooseTemplateToCreatePageUrl

public String chooseTemplateToCreatePageUrl()

chooseTemplateToCreatePageUrl

public String chooseTemplateToCreatePageUrl(long parentPageId)

getCreatePageFromTemplateUrl

public String getCreatePageFromTemplateUrl(long templateId)

getHtmlExportUrl

public String getHtmlExportUrl()

getBrowseUrl

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


getSpaceSummaryUrl

public String getSpaceSummaryUrl()

getChooseThemeUrl

public String getChooseThemeUrl()

getPagesCollectorUrl

public String getPagesCollectorUrl()

getUrlPath

public String getUrlPath()

getDefaultPersonalSpaceKey

public static String getDefaultPersonalSpaceKey(User user)

getDefaultPersonalSpaceName

public static String getDefaultPersonalSpaceName(User user)

getTitle

public String getTitle()
Specified by:
getTitle in interface TitledContent

getDefaultSpaceContentExcerpt

public static String getDefaultSpaceContentExcerpt()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2003–2015 Atlassian. All rights reserved.