Skip navigation links


com.fatwire.assetapi.site
Interface Site


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

getName

java.lang.String getName()
Gets the site name
Returns:
the site name

setName

void setName(java.lang.String name)
Sets the site name
Parameters:
name - the name of the site

getDescription

java.lang.String getDescription()
Gets the description for the site
Returns:
the site description

setDescription

void setDescription(java.lang.String desc)
Sets the site description
Parameters:
desc - the description of the site

getId

java.lang.Long getId()
Gets the site id
Returns:
the id of the site

setId

void setId(java.lang.Long siteid)
Sets the side id
Parameters:
siteid - the id of the site

getAssetTypes

java.util.List<java.lang.String> getAssetTypes()
Gets the list of enabled asset types for the site
Returns:
the asset type list that are enabled for the site

setAssetTypes

void setAssetTypes(java.util.List<java.lang.String> assettypes)
Sets the list of enabled asset types for the site
Parameters:
assettypes - the asset type list that are enabled for the site

getUsers

java.util.List<java.lang.String> getUsers()
Gets the list of usernames that are granted access to this site
Returns:
the list usernames

getUserRoles

java.util.List<java.lang.String> getUserRoles(java.lang.String user)
Gets the list of roles that this user has in the site
Parameters:
user - the username
Returns:
the list of roles that this user has in the site

setUserRoles

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
Parameters:
user - the username
userRoles - the list of roles that this user has in the site

getPubroot

java.lang.String getPubroot()
Gets the pub root for this site
Returns:
the pub root

setPubroot

void setPubroot(java.lang.String pubroot)
Sets the pubroot for this site
Parameters:
pubroot - the pubroot name

getCSPreview

java.lang.String getCSPreview()
Gets the preview string for this sie
Returns:
the preview string

setCSPreview

void setCSPreview(java.lang.String cspreview)
Sets the preview string for this site
Parameters:
cspreview - the preview string

getCSPrefix

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
Returns:
the prefix string

setCSPrefix

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
Parameters:
csprefix - the prefix string

getCSPreviewAsset

AssetId getCSPreviewAsset()
Gets the preview asset for this site
Returns:
the preview asset

setCSPreviewAsset

void setCSPreviewAsset(AssetId assetid)
Sets the preview asset for this site
Parameters:
assetid - the preview asset

Skip navigation links


Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.