Package org.alfresco.repo.site
Class SiteInfoImpl
java.lang.Object
org.alfresco.repo.site.SiteInfoImpl
- All Implemented Interfaces:
PermissionCheckValue,SiteInfo
Site Information Class
- Author:
- Roy Wetherall
-
Method Summary
Modifier and TypeMethodDescriptionbooleanOverride equals for this ref typeGet the site created dateGet the custom property valuesgetCustomProperty(QName name) Get the value of a custom propertyGet the descriptionbooleanIndicates whether the site is public.Get the site last modified dateGet the site node referenceGet the short nameGet the site presetgetTitle()Get the titleGet the sites visibilityinthashCode()voidsetCreatedDate(Date createdDate) Set the site created datevoidsetDescription(String description) Set the descriptionvoidsetIsPublic(boolean isPublic) Sets whether this site is public or not.voidsetLastModifiedDate(Date lastModifiedDate) Set the site last modified datevoidSet the titlevoidsetVisibility(SiteVisibility visibility) Set the sites visibilitytoString()
-
Method Details
-
getNodeRef
Description copied from interface:SiteInfoGet the site node reference- Specified by:
getNodeRefin interfacePermissionCheckValue- Specified by:
getNodeRefin interfaceSiteInfo- Returns:
- NodeRef site node reference, null if not set
- See Also:
-
getSitePreset
Description copied from interface:SiteInfoGet the site preset- Specified by:
getSitePresetin interfaceSiteInfo- Returns:
- String site preset
- See Also:
-
getShortName
Description copied from interface:SiteInfoGet the short name- Specified by:
getShortNamein interfaceSiteInfo- Returns:
- String short name
- See Also:
-
getTitle
Description copied from interface:SiteInfoGet the title -
setTitle
Description copied from interface:SiteInfoSet the title -
getDescription
Description copied from interface:SiteInfoGet the description- Specified by:
getDescriptionin interfaceSiteInfo- Returns:
- String site description
- See Also:
-
setDescription
Description copied from interface:SiteInfoSet the description- Specified by:
setDescriptionin interfaceSiteInfo- Parameters:
description- site description- See Also:
-
setIsPublic
public void setIsPublic(boolean isPublic) Description copied from interface:SiteInfoSets whether this site is public or not. If true the visibility is set to "public", if false the visibility is set to "private"- Specified by:
setIsPublicin interfaceSiteInfo- Parameters:
isPublic- true public, false private- See Also:
-
getIsPublic
public boolean getIsPublic()Description copied from interface:SiteInfoIndicates whether the site is public.- Specified by:
getIsPublicin interfaceSiteInfo- Returns:
- boolean true if public, false either private or moderated
- See Also:
-
getVisibility
Description copied from interface:SiteInfoGet the sites visibility- Specified by:
getVisibilityin interfaceSiteInfo- Returns:
- SiteVisibility site visibility
- See Also:
-
setVisibility
Description copied from interface:SiteInfoSet the sites visibility- Specified by:
setVisibilityin interfaceSiteInfo- Parameters:
visibility- site visibility- See Also:
-
getCustomProperties
Description copied from interface:SiteInfoGet the custom property values- Specified by:
getCustomPropertiesin interfaceSiteInfo- Returns:
- map of custom property names and values
- See Also:
-
getCustomProperty
Description copied from interface:SiteInfoGet the value of a custom property- Specified by:
getCustomPropertyin interfaceSiteInfo- Parameters:
name- name of custom property- Returns:
- Serializable value of the property, null if not set or doesn't exist
- See Also:
-
getCreatedDate
Description copied from interface:SiteInfoGet the site created date- Specified by:
getCreatedDatein interfaceSiteInfo- Returns:
Datesite created date- See Also:
-
setCreatedDate
Description copied from interface:SiteInfoSet the site created date- Specified by:
setCreatedDatein interfaceSiteInfo- Parameters:
createdDate- site created date- See Also:
-
getLastModifiedDate
Description copied from interface:SiteInfoGet the site last modified date- Specified by:
getLastModifiedDatein interfaceSiteInfo- Returns:
Datesite last modified date- See Also:
-
setLastModifiedDate
Description copied from interface:SiteInfoSet the site last modified date- Specified by:
setLastModifiedDatein interfaceSiteInfo- Parameters:
lastModifiedDate- site last modified date- See Also:
-
equals
Override equals for this ref type -
hashCode
public int hashCode() -
toString
-