public class SiteInfoImpl extends Object implements SiteInfo
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Override equals for this ref type
|
Date |
getCreatedDate()
Get the site created date
|
Map<org.alfresco.service.namespace.QName,Serializable> |
getCustomProperties()
Get the custom property values
|
Serializable |
getCustomProperty(org.alfresco.service.namespace.QName name)
Get the value of a custom property
|
String |
getDescription()
Get the description
|
boolean |
getIsPublic()
Indicates whether the site is public.
|
Date |
getLastModifiedDate()
Get the site last modified date
|
org.alfresco.service.cmr.repository.NodeRef |
getNodeRef()
Get the site node reference
|
String |
getShortName()
Get the short name
|
String |
getSitePreset()
Get the site preset
|
String |
getTitle()
Get the title
|
SiteVisibility |
getVisibility()
Get the sites visibility
|
int |
hashCode() |
void |
setCreatedDate(Date createdDate)
Set the site created date
|
void |
setDescription(String description)
Set the description
|
void |
setIsPublic(boolean isPublic)
Sets whether this site is public or not.
|
void |
setLastModifiedDate(Date lastModifiedDate)
Set the site last modified date
|
void |
setTitle(String title)
Set the title
|
void |
setVisibility(SiteVisibility visibility)
Set the sites visibility
|
String |
toString() |
public org.alfresco.service.cmr.repository.NodeRef getNodeRef()
SiteInfo
getNodeRef
in interface PermissionCheckValue
getNodeRef
in interface SiteInfo
SiteInfo.getNodeRef()
public String getSitePreset()
SiteInfo
getSitePreset
in interface SiteInfo
SiteInfo.getSitePreset()
public String getShortName()
SiteInfo
getShortName
in interface SiteInfo
SiteInfo.getShortName()
public String getTitle()
SiteInfo
getTitle
in interface SiteInfo
SiteInfo.getTitle()
public void setTitle(String title)
SiteInfo
setTitle
in interface SiteInfo
title
- site titleSiteInfo.setTitle(java.lang.String)
public String getDescription()
SiteInfo
getDescription
in interface SiteInfo
SiteInfo.getDescription()
public void setDescription(String description)
SiteInfo
setDescription
in interface SiteInfo
description
- site descriptionSiteInfo.setDescription(java.lang.String)
public void setIsPublic(boolean isPublic)
SiteInfo
setIsPublic
in interface SiteInfo
isPublic
- true public, false privateSiteInfo.setIsPublic(boolean)
public boolean getIsPublic()
SiteInfo
getIsPublic
in interface SiteInfo
SiteInfo.getIsPublic()
public SiteVisibility getVisibility()
SiteInfo
getVisibility
in interface SiteInfo
SiteInfo.getVisibility()
public void setVisibility(SiteVisibility visibility)
SiteInfo
setVisibility
in interface SiteInfo
visibility
- site visibilitySiteInfo.setVisibility(org.alfresco.service.cmr.site.SiteVisibility)
public Map<org.alfresco.service.namespace.QName,Serializable> getCustomProperties()
SiteInfo
getCustomProperties
in interface SiteInfo
SiteInfo.getCustomProperties()
public Serializable getCustomProperty(org.alfresco.service.namespace.QName name)
SiteInfo
getCustomProperty
in interface SiteInfo
name
- name of custom propertySiteInfo.getCustomProperty(org.alfresco.service.namespace.QName)
public Date getCreatedDate()
SiteInfo
getCreatedDate
in interface SiteInfo
Date
site created dateSiteInfo.getCreatedDate()
public void setCreatedDate(Date createdDate)
SiteInfo
setCreatedDate
in interface SiteInfo
createdDate
- site created dateSiteInfo.setCreatedDate(java.util.Date)
public Date getLastModifiedDate()
SiteInfo
getLastModifiedDate
in interface SiteInfo
Date
site last modified dateSiteInfo.getLastModifiedDate()
public void setLastModifiedDate(Date lastModifiedDate)
SiteInfo
setLastModifiedDate
in interface SiteInfo
lastModifiedDate
- site last modified dateSiteInfo.setLastModifiedDate(java.util.Date)
public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class Object
Object.hashCode()
Copyright © 2005–2017 Alfresco Software. All rights reserved.