|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.core.bean.EntityObject
com.atlassian.confluence.core.ConfluenceEntityObject
com.atlassian.confluence.spaces.Space
public class Space
Field Summary | |
---|---|
protected static org.apache.log4j.Category |
log
|
static java.lang.String |
PERSONAL_SPACEKEY_IDENTIFIER
|
Constructor Summary | |
---|---|
Space()
|
|
Space(java.lang.String spaceKey)
|
Method Summary | |
---|---|
void |
addPageTemplate(PageTemplate pageTemplate)
|
void |
addPermission(SpacePermission permission)
|
java.lang.Object |
clone()
|
boolean |
equals(java.lang.Object o)
|
java.util.List |
getBlogPosts()
Deprecated. use spaceManager.getBlogPosts(space, false) instead |
java.util.List |
getCurrentBlogPosts()
Deprecated. use spaceManager.getBlogPosts(space, true) instead |
java.util.List |
getCurrentMail()
Deprecated. use spageManager.getMail(space, false) instead. |
java.util.List |
getCurrentPages()
Deprecated. use spaceManager.getPages(space, true) instead |
SpaceDescription |
getDescription()
|
Page |
getHomePage()
|
java.lang.String |
getKey()
|
java.util.List |
getMail()
Deprecated. use spageManager.getMail(space, false) instead. |
java.lang.String |
getName()
|
java.util.List |
getPages()
Deprecated. use spaceManager.getPages(space, false) instead |
java.util.List |
getPageTemplates()
|
java.util.List |
getPermissions()
|
java.util.Collection |
getSearchableDependants()
only here because the interface needs it like this. |
SpaceGroup |
getSpaceGroup()
|
SpaceType |
getSpaceType()
|
SpaceType |
getType()
Deprecated. use getSpaceType() |
java.lang.String |
getUrlPath()
|
int |
hashCode()
|
boolean |
isGlobal()
|
boolean |
isIndexable()
|
boolean |
isPersonal()
|
static boolean |
isValidGlobalSpaceKey(java.lang.String key)
|
static boolean |
isValidPersonalSpaceKey(java.lang.String key)
|
static boolean |
isValidSpaceKey(java.lang.String key)
Is the key a valid space key of any type? Tests validity of both personal and global space keys |
void |
removePageTemplate(PageTemplate pageTemplate)
|
void |
removePermission(SpacePermission permission)
|
void |
setDescription(SpaceDescription description)
|
void |
setHomePage(Page homePage)
|
void |
setKey(java.lang.String key)
|
void |
setName(java.lang.String name)
|
void |
setPermissions(java.util.List permissions)
|
void |
setSpaceGroup(SpaceGroup spaceGroup)
|
void |
setSpaceManager(SpaceManager spaceManager)
|
void |
setSpaceType(SpaceType spaceType)
|
Methods inherited from class com.atlassian.confluence.core.ConfluenceEntityObject |
---|
getCreatorName, getLastModifierName, isPersistent, setCreatorName, setLastModifierName |
Methods inherited from class com.atlassian.core.bean.EntityObject |
---|
getCreationDate, getCurrentDate, getId, getLastModificationDate, setClock, setCreationDate, setId, setLastModificationDate |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.atlassian.bonnie.Searchable |
---|
getId |
Field Detail |
---|
public static final java.lang.String PERSONAL_SPACEKEY_IDENTIFIER
protected static org.apache.log4j.Category log
Constructor Detail |
---|
public Space()
public Space(java.lang.String spaceKey)
Method Detail |
---|
public static boolean isValidSpaceKey(java.lang.String key)
public static boolean isValidGlobalSpaceKey(java.lang.String key)
public static boolean isValidPersonalSpaceKey(java.lang.String key)
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String getKey()
public void setKey(java.lang.String key)
public SpaceType getType()
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 java.util.List getPages()
public java.util.List getCurrentPages()
public java.util.List getBlogPosts()
public java.util.List getCurrentBlogPosts()
public java.util.List getPermissions()
public void setPermissions(java.util.List permissions)
public void addPermission(SpacePermission permission)
public void removePermission(SpacePermission permission)
public java.util.List getPageTemplates()
public void addPageTemplate(PageTemplate pageTemplate)
public void removePageTemplate(PageTemplate pageTemplate)
public java.util.List getMail()
public java.util.List getCurrentMail()
public boolean equals(java.lang.Object o)
equals
in class com.atlassian.core.bean.EntityObject
public int hashCode()
hashCode
in class com.atlassian.core.bean.EntityObject
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class com.atlassian.core.bean.EntityObject
java.lang.CloneNotSupportedException
public java.util.Collection getSearchableDependants()
getSearchableDependants
in interface com.atlassian.bonnie.Searchable
public boolean isIndexable()
isIndexable
in interface com.atlassian.bonnie.Searchable
public void setSpaceManager(SpaceManager spaceManager)
public java.lang.String getUrlPath()
public boolean isPersonal()
public boolean isGlobal()
public SpaceGroup getSpaceGroup()
public void setSpaceGroup(SpaceGroup spaceGroup)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |