Package org.alfresco.service.cmr.site
Interface SiteInfo
-
- All Superinterfaces:
PermissionCheckValue
- All Known Implementing Classes:
SiteInfoImpl
@AlfrescoPublicApi public interface SiteInfo extends PermissionCheckValue
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.util.DategetCreatedDate()Get the site created datejava.util.Map<org.alfresco.service.namespace.QName,java.io.Serializable>getCustomProperties()Get the custom property valuesjava.io.SerializablegetCustomProperty(org.alfresco.service.namespace.QName name)Get the value of a custom propertyjava.lang.StringgetDescription()Get the descriptionbooleangetIsPublic()Deprecated.as of version 3.2, replaced bygetVisibility()java.util.DategetLastModifiedDate()Get the site last modified dateorg.alfresco.service.cmr.repository.NodeRefgetNodeRef()Get the site node referencejava.lang.StringgetShortName()Get the short namejava.lang.StringgetSitePreset()Get the site presetjava.lang.StringgetTitle()Get the titleSiteVisibilitygetVisibility()Get the sites visibilityvoidsetCreatedDate(java.util.Date createdDate)Set the site created datevoidsetDescription(java.lang.String description)Set the descriptionvoidsetIsPublic(boolean isPublic)Deprecated.as of version 3.2, replaced bysetVisibility(SiteVisibility)voidsetLastModifiedDate(java.util.Date lastModifiedDate)Set the site last modified datevoidsetTitle(java.lang.String title)Set the titlevoidsetVisibility(SiteVisibility visibility)Set the sites visibility
-
-
-
Method Detail
-
getNodeRef
org.alfresco.service.cmr.repository.NodeRef getNodeRef()
Get the site node reference- Specified by:
getNodeRefin interfacePermissionCheckValue- Returns:
- NodeRef site node reference, null if not set
-
getSitePreset
java.lang.String getSitePreset()
Get the site preset- Returns:
- String site preset
-
getShortName
java.lang.String getShortName()
Get the short name- Returns:
- String short name
-
getTitle
java.lang.String getTitle()
Get the title- Returns:
- String site title
-
setTitle
void setTitle(java.lang.String title)
Set the title- Parameters:
title- site title
-
getDescription
java.lang.String getDescription()
Get the description- Returns:
- String site description
-
setDescription
void setDescription(java.lang.String description)
Set the description- Parameters:
description- site description
-
setIsPublic
void setIsPublic(boolean isPublic)
Deprecated.as of version 3.2, replaced bysetVisibility(SiteVisibility)Sets whether this site is public or not. If true the visibility is set to "public", if false the visibility is set to "private"- Parameters:
isPublic- true public, false private
-
getIsPublic
boolean getIsPublic()
Deprecated.as of version 3.2, replaced bygetVisibility()Indicates whether the site is public.- Returns:
- boolean true if public, false either private or moderated
-
getVisibility
SiteVisibility getVisibility()
Get the sites visibility- Returns:
- SiteVisibility site visibility
-
setVisibility
void setVisibility(SiteVisibility visibility)
Set the sites visibility- Parameters:
visibility- site visibility
-
getCustomProperties
java.util.Map<org.alfresco.service.namespace.QName,java.io.Serializable> getCustomProperties()
Get the custom property values- Returns:
- map of custom property names and values
-
getCustomProperty
java.io.Serializable getCustomProperty(org.alfresco.service.namespace.QName name)
Get the value of a custom property- Parameters:
name- name of custom property- Returns:
- Serializable value of the property, null if not set or doesn't exist
-
getCreatedDate
java.util.Date getCreatedDate()
Get the site created date- Returns:
Datesite created date
-
setCreatedDate
void setCreatedDate(java.util.Date createdDate)
Set the site created date- Parameters:
createdDate- site created date
-
getLastModifiedDate
java.util.Date getLastModifiedDate()
Get the site last modified date- Returns:
Datesite last modified date
-
setLastModifiedDate
void setLastModifiedDate(java.util.Date lastModifiedDate)
Set the site last modified date- Parameters:
lastModifiedDate- site last modified date
-
-