|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Site
The Object that represents a Site inforamtion in Content Server
| Method Summary | |
|---|---|
java.util.List<java.lang.String> |
getAssetTypes()
Gets the list of enabled asset types for the site |
java.lang.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 |
java.lang.String |
getCSPreview()
Gets the preview string for this sie |
AssetId |
getCSPreviewAsset()
Gets the preview asset for this site |
java.lang.String |
getDescription()
Gets the description for the site |
java.lang.Long |
getId()
Gets the site id |
java.lang.String |
getName()
Gets the site name |
java.lang.String |
getPubroot()
Gets the pub root for this site |
java.util.List<java.lang.String> |
getUserRoles(java.lang.String user)
Gets the list of roles that this user has in the site |
java.util.List<java.lang.String> |
getUsers()
Gets the list of usernames that are granted access to this site |
void |
setAssetTypes(java.util.List<java.lang.String> assettypes)
Sets the list of enabled asset types for the site |
void |
setCSPrefix(java.lang.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(java.lang.String cspreview)
Sets the preview string for this site |
void |
setCSPreviewAsset(AssetId assetid)
Sets the preview asset for this site |
void |
setDescription(java.lang.String desc)
Sets the site description |
void |
setId(java.lang.Long siteid)
Sets the side id |
void |
setName(java.lang.String name)
Sets the site name |
void |
setPubroot(java.lang.String pubroot)
Sets the pubroot for this site |
void |
setUserRoles(java.lang.String user,
java.util.List<java.lang.String> userRoles)
Sets the list of roles that this user has in the site |
| Method Detail |
|---|
java.lang.String getName()
void setName(java.lang.String name)
name - the name of the sitejava.lang.String getDescription()
void setDescription(java.lang.String desc)
desc - the description of the sitejava.lang.Long getId()
void setId(java.lang.Long siteid)
siteid - the id of the sitejava.util.List<java.lang.String> getAssetTypes()
void setAssetTypes(java.util.List<java.lang.String> assettypes)
assettypes - the asset type list that are enabled for the sitejava.util.List<java.lang.String> getUsers()
java.util.List<java.lang.String> getUserRoles(java.lang.String user)
user - the username
void setUserRoles(java.lang.String user,
java.util.List<java.lang.String> userRoles)
user - the usernameuserRoles - the list of roles that this user has in the sitejava.lang.String getPubroot()
void setPubroot(java.lang.String pubroot)
pubroot - the pubroot namejava.lang.String getCSPreview()
void setCSPreview(java.lang.String cspreview)
cspreview - the preview stringjava.lang.String getCSPrefix()
void setCSPrefix(java.lang.String csprefix)
csprefix - the prefix stringAssetId getCSPreviewAsset()
void setCSPreviewAsset(AssetId assetid)
assetid - the preview asset
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||