public class VersionHistoryNode extends BaseContentNode implements org.alfresco.service.namespace.NamespacePrefixResolverProvider
BaseContentNode.TemplateContentDatachildren, 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, toStringpublic VersionHistoryNode(Version version, TemplateNode parent, ServiceRegistry services)
version - Descriptor of the node version informationpublic String getId()
getId in interface TemplateNodeRefpublic org.alfresco.service.cmr.repository.NodeRef getNodeRef()
getNodeRef in interface TemplateNodeRefpublic org.alfresco.service.namespace.QName getType()
getType in interface TemplateNodeRefpublic String getName()
getName in interface TemplateNodeRefpublic 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 TemplatePropertiespublic Set<org.alfresco.service.namespace.QName> getAspects()
getAspects in interface TemplatePropertiesgetAspects in class BaseContentNodepublic boolean hasAspect(String aspect)
hasAspect in interface TemplatePropertieshasAspect in class BaseContentNodeaspect - The aspect name to test forpublic List<TemplateProperties> getChildren()
getChildren in interface TemplatePropertiesgetChildren in class BaseContentNodeTemplateProperties.getChildren()public TemplateProperties getParent()
getParent in interface TemplatePropertiesTemplateProperties.getParent()public org.alfresco.service.namespace.NamespacePrefixResolver getNamespacePrefixResolver()
getNamespacePrefixResolver in interface org.alfresco.service.namespace.NamespacePrefixResolverProviderpublic String getUrl()
getUrl in interface TemplateContentgetUrl in class BaseContentNodeCopyright © 2005–2018 Alfresco Software. All rights reserved.