public interface Site extends Displayable, Describable, Comparable<Site>, Serializable
Portal.saveSite(Site)
is invoked.Modifier and Type | Interface and Description |
---|---|
static class |
Site.AttributeKeys
Contains attribute keys for default site attributes
|
Modifier and Type | Method and Description |
---|---|
Permission |
getAccessPermission()
The permissions that represents what users are allowed to access the site
|
Attributes |
getAttributes()
Returns the attributes (properties) associated with the site
|
Permission |
getEditPermission()
The permissions that represents what users are allowed to modify the site
|
SiteId |
getId()
Returns the id of the site
|
Locale |
getLocale()
Returns the default locale associated with the site
|
String |
getName()
Returns the name of the site
|
String |
getSkin()
Returns the skin associated with the site
|
SiteType |
getType()
Returns the type of the site.
|
void |
setAccessPermission(Permission permission)
Changes the access permission for the site
|
void |
setEditPermission(Permission permission)
Changes the edit permission for the site
|
void |
setLocale(Locale locale)
Changes the default locale associated with the site
|
void |
setSkin(String skin)
Changes the skin associated with the site
|
getDisplayName, setDisplayName
getDescription, setDescription
compareTo
SiteId getId()
SiteType getType()
String getName()
Locale getLocale()
void setLocale(Locale locale)
locale
- String getSkin()
void setSkin(String skin)
skin
- the skinAttributes getAttributes()
Permission getAccessPermission()
void setAccessPermission(Permission permission)
permission
- the access permissionPermission getEditPermission()
void setEditPermission(Permission permission)
permission
- the edit permissionCopyright © 2013 JBoss by Red Hat. All Rights Reserved.