@Exported
public interface Site
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAssetTypes()
Gets the list of enabled asset types for the site
|
String |
getCSPrefix()
Gets the prefix string for this site; prefix is primarily used in naming asset and in site replication
assets named with this prefix when copied with be given new name with new prefix
|
String |
getCSPreview()
Gets the preview string for this sie
|
AssetId |
getCSPreviewAsset()
Gets the preview asset for this site
|
String |
getDescription()
Gets the description for the site
|
Long |
getId()
Gets the site id
|
String |
getName()
Gets the site name
|
String |
getPubroot()
Gets the pub root for this site
|
List<String> |
getUserRoles(String user)
Gets the list of roles that this user has in the site
|
List<String> |
getUsers()
Gets the list of usernames that are granted access to this site
|
String |
getWebroot()
Gets the default webroot for this site
|
void |
setAssetTypes(List<String> assettypes)
Sets the list of enabled asset types for the site
|
void |
setCSPrefix(String csprefix)
Gets the prefix string for this site; prefix is primarily used in naming asset and in site replication
assets named with this prefix when copied with be given new name with new prefix
|
void |
setCSPreview(String cspreview)
Sets the preview string for this site
|
void |
setCSPreviewAsset(AssetId assetid)
Sets the preview asset for this site
|
void |
setDescription(String desc)
Sets the site description
|
void |
setId(Long siteid)
Sets the side id
|
void |
setName(String name)
Sets the site name
|
void |
setPubroot(String pubroot)
Sets the pubroot for this site
|
void |
setUserRoles(String user,
List<String> userRoles)
Sets the list of roles that this user has in the site
|
void |
setWebroot(String defaultWebroot)
Sets the default webroot for this site
|
String getName()
void setName(String name)
name - the name of the siteString getDescription()
void setDescription(String desc)
desc - the description of the siteLong getId()
void setId(Long siteid)
siteid - the id of the siteList<String> getAssetTypes()
void setAssetTypes(List<String> assettypes)
assettypes - the asset type list that are enabled for the siteList<String> getUsers()
List<String> getUserRoles(String user)
user - the usernamevoid setUserRoles(String user, List<String> userRoles)
user - the usernameuserRoles - the list of roles that this user has in the siteString getPubroot()
void setPubroot(String pubroot)
pubroot - the pubroot nameString getCSPreview()
void setCSPreview(String cspreview)
cspreview - the preview stringString getCSPrefix()
void setCSPrefix(String csprefix)
csprefix - the prefix stringAssetId getCSPreviewAsset()
void setCSPreviewAsset(AssetId assetid)
assetid - the preview assetString getWebroot()
void setWebroot(String defaultWebroot)
defaultWebroot - default webroot for this site