public interface Space
Modifier and Type | Field and Description |
---|---|
static String |
META_SPACE_DOMAIN_PATH |
static String |
META_SPACE_IMAGE |
static String |
META_SPACE_OWNER |
Modifier and Type | Method and Description |
---|---|
void |
addSecuredGroup(String group)
Add a group to the list of required group to view this space
|
void |
addSecuredRole(String role)
Add a role to the list of required roles to view this space
|
void |
addSecuredUser(String user)
Add a username to the list of users who can view this page
|
String |
getDashboard()
Retrieves the default dashboard for this space.
|
String |
getDescription()
Retrieve the description of this space
|
String |
getDescription(Locale locale)
Retrieve the description of this space
|
String |
getDomainPath()
Retrieves the domain path associated with this space
For example, employees.localhost.com, or employees.* where * is the SERVER_NAME of this request
|
String |
getImage()
Retrieves the image associated with this space
|
String |
getName()
Retrieve the name of the space
|
String |
getOwner()
Retrieves the owner, a portal user name, for this space
|
String |
getPath()
Retrieve the path of the space, which can be implementation specific
|
List<String> |
getSecuredGroup()
Retrieve the list of secured groups constraining access to this space
|
List<String> |
getSecuredRoles()
Retrieve the list of secured roles constraining access to this space
|
List<String> |
getSecuredUsers()
Retrieve the list of secured users constraining access to this space
|
String |
getSecurityConstraint()
Get the security constraint on this space
|
String |
getShortTitle()
Retrieve the unlocalized short title of the space
|
String |
getShortTitle(Locale locale)
Retrieve the localized short title of the space for the requested locale
|
String |
getTheme()
Retrieves the theme name for this space
|
String |
getTitle()
Retrieve the unlocalized title of the space
|
String |
getTitle(Locale locale)
Retrieve the localized title of the space for the requested locale
|
void |
removeSecuredGroup(String group)
Remove a group from the list of required roles to view this space
|
void |
removeSecuredRole(String role)
Remove a role from the list of required roles to view this space
|
void |
removeSecuredUser(String user)
Remove a user from the list of required users to view this space
|
void |
setDashboard(String dashboard)
Sets the dashboard for this space.
|
void |
setDescription(String description)
Sets the description on this space
|
void |
setDescription(String description,
Locale locale)
Sets the description on this space
|
void |
setDomainPath(String domain)
Sets the domain path associated with this space
For example, employees.localhost.com, or employees.* where * is the SERVER_NAME of this request
|
void |
setImage(String pathToImage)
Sets the portal context relative path to the image associated with this space
|
void |
setOwner(String owner)
Sets the owner on this environment
|
void |
setSecurityConstraint(String constraint)
Set the security constraint on this space
|
void |
setShortTitle(String shortTitle)
Set the short title of space
|
void |
setShortTitle(String shortTitle,
Locale locale)
Set the short title of space for the given locale
|
void |
setTheme(String themeName)
Sets the theme name to be associated with this space
All pages in this space will inherit the theme (unless the theme is overriden on the specific page or folder)
|
void |
setTitle(String title)
Set the title of space
|
void |
setTitle(String title,
Locale locale)
Set the title of space for the given locale
|
static final String META_SPACE_OWNER
static final String META_SPACE_DOMAIN_PATH
static final String META_SPACE_IMAGE
String getName()
String getTitle(Locale locale)
String getTitle()
String getShortTitle(Locale locale)
String getShortTitle()
void setTitle(String title, Locale locale)
locale
- title
- void setTitle(String title)
title
- void setShortTitle(String shortTitle, Locale locale)
locale
- title
- void setShortTitle(String shortTitle)
title
- String getPath()
String getDescription(Locale locale)
locale
- the locale of the stringString getDescription()
void setDescription(String description, Locale locale)
description
- locale
- the locale of the stringvoid setDescription(String description)
description
- String getOwner()
void setOwner(String owner)
owner
- String getImage()
void setImage(String pathToImage)
pathToImage
- the portal context relative path to the imageString getDashboard()
void setDashboard(String dashboard)
page
- String getDomainPath()
void setDomainPath(String domain)
domain
- the domain path stringString getTheme()
void setTheme(String themeName)
themeName
- the name of the themeList<String> getSecuredRoles()
void addSecuredRole(String role)
role
- void removeSecuredRole(String role)
role
- List<String> getSecuredGroup()
void addSecuredGroup(String group)
group
- void removeSecuredGroup(String group)
group
- List<String> getSecuredUsers()
void addSecuredUser(String user)
user
- the name of uservoid removeSecuredUser(String user)
user
- the name of userString getSecurityConstraint()
void setSecurityConstraint(String constraint)
Copyright © 1999–2016 The Apache Software Foundation. All rights reserved.