org.springframework.social.alfresco.api.entities
Class Site

java.lang.Object
  extended by org.springframework.social.alfresco.api.entities.Site

public class Site
extends Object

An Alfresco site is a project area where you can share content and collaborate with other site members.

Author:
jottley

Nested Class Summary
static class Site.Visibility
          Visibility of the Site
 
Constructor Summary
Site()
           
 
Method Summary
 String getDescription()
           
 String getId()
           
 Role getRole()
           
 Site getSite()
           
 String getSitePreset()
           
 String getTitle()
           
 Site.Visibility getVisibility()
           
 void setDescription(String description)
          Set the description of the site
 void setId(String id)
          Set the site identifier.
 void setRole(Role role)
          Set user role in Site
 void setSite(Site site)
          Utility function when site is nested
 void setSitePreset(String sitePreset)
          Set the site preset values
 void setTitle(String title)
          Set the site's name (used in the site's list and on the sites dashboard).
 void setVisibility(Site.Visibility visibility)
          Set the visibility of the site, PRIVATE, PUBLIC, or MODERATED.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Site

public Site()
Method Detail

getTitle

public String getTitle()
Returns:
The site's name (used in the site's list and on the sites dashboard).

setTitle

public void setTitle(String title)
Set the site's name (used in the site's list and on the sites dashboard).

Parameters:
title -

getDescription

public String getDescription()
Returns:
The description of the site

setDescription

public void setDescription(String description)
Set the description of the site

Parameters:
description -

getVisibility

public Site.Visibility getVisibility()
Returns:
The visibility of the site, PRIVATE, PUBLIC, or MODERATED.

setVisibility

public void setVisibility(Site.Visibility visibility)
Set the visibility of the site, PRIVATE, PUBLIC, or MODERATED.

Parameters:
visibility -

getId

public String getId()
Returns:
The site identifier. An opaque string which uniquely identifies this site.

setId

public void setId(String id)
Set the site identifier. An opaque string which uniquely identifies this site.

Parameters:
id -

getSitePreset

public String getSitePreset()
Returns:
The site preset values

setSitePreset

public void setSitePreset(String sitePreset)
Set the site preset values

Parameters:
sitePreset -

getSite

public Site getSite()
Returns:
Utility function when site is nested

setSite

public void setSite(Site site)
Utility function when site is nested

Parameters:
site -

getRole

public Role getRole()
Returns:
user role in site

setRole

public void setRole(Role role)
Set user role in Site

Parameters:
role -


Copyright © 2012 Alfresco Software Inc.. All Rights Reserved.