public class VersionHistoryNode extends BaseContentNode implements org.alfresco.service.namespace.NamespacePrefixResolverProvider
BaseContentNode.TemplateContentData
children, CONTENT_DOWNLOAD_PROP_URL, CONTENT_DOWNLOAD_URL, CONTENT_GET_PROP_URL, CONTENT_GET_URL, CONTENT_SERVICE_GET_PROP_URL, CONTENT_SERVICE_GET_URL, FOLDER_BROWSE_URL, imageResolver, NAMESPACE_BEGIN, services
Constructor and Description |
---|
VersionHistoryNode(Version version,
TemplateNode parent,
ServiceRegistry services)
Constructor
|
Modifier and Type | Method and Description |
---|---|
Set<org.alfresco.service.namespace.QName> |
getAspects() |
List<TemplateProperties> |
getChildren() |
Date |
getCreatedDate()
Helper method to get the created date from the version property data.
|
String |
getCreator()
Helper method to get the creator of the version.
|
String |
getDescription()
Helper method to get the version description.
|
String |
getId() |
boolean |
getIsMajorVersion()
Helper method to get the version type.
|
String |
getName()
Helper method to get the item name.
|
org.alfresco.service.namespace.NamespacePrefixResolver |
getNamespacePrefixResolver() |
org.alfresco.service.cmr.repository.NodeRef |
getNodeRef() |
TemplateProperties |
getParent() |
Map<String,Serializable> |
getProperties()
Get the map containing the version property values.
|
String |
getTitle()
Helper method to get the item title.
|
org.alfresco.service.namespace.QName |
getType() |
String |
getUrl() |
String |
getVersionLabel()
Helper method to get the version label from the version property data.
|
boolean |
hasAspect(String aspect) |
getContent, getDisplayMimetype, getDisplayPath, getDownloadUrl, getEncoding, getHasChildren, getIcon16, getIcon32, getIcon64, getIsContainer, getIsDocument, getIsLinkToContainer, getIsLinkToDocument, getMimetype, getQnamePath, getServiceUrl, getSiteShortName, getSize, getWebdavUrl, isTemplateContent, isTemplateNodeRef, toString
public VersionHistoryNode(Version version, TemplateNode parent, ServiceRegistry services)
version
- Descriptor of the node version informationpublic String getId()
getId
in interface TemplateNodeRef
public org.alfresco.service.cmr.repository.NodeRef getNodeRef()
getNodeRef
in interface TemplateNodeRef
public org.alfresco.service.namespace.QName getType()
getType
in interface TemplateNodeRef
public String getName()
getName
in interface TemplateNodeRef
public String getTitle()
public Date getCreatedDate()
public String getCreator()
public String getVersionLabel()
public boolean getIsMajorVersion()
public String getDescription()
public Map<String,Serializable> getProperties()
getProperties
in interface TemplateProperties
public Set<org.alfresco.service.namespace.QName> getAspects()
getAspects
in interface TemplateProperties
getAspects
in class BaseContentNode
public boolean hasAspect(String aspect)
hasAspect
in interface TemplateProperties
hasAspect
in class BaseContentNode
aspect
- The aspect name to test forpublic List<TemplateProperties> getChildren()
getChildren
in interface TemplateProperties
getChildren
in class BaseContentNode
TemplateProperties.getChildren()
public TemplateProperties getParent()
getParent
in interface TemplateProperties
TemplateProperties.getParent()
public org.alfresco.service.namespace.NamespacePrefixResolver getNamespacePrefixResolver()
getNamespacePrefixResolver
in interface org.alfresco.service.namespace.NamespacePrefixResolverProvider
public String getUrl()
getUrl
in interface TemplateContent
getUrl
in class BaseContentNode
Copyright © 2005–2017 Alfresco Software. All rights reserved.