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 |
|---|---|
java.util.Set |
getAspects() |
java.util.List |
getChildren() |
java.util.Date |
getCreatedDate()
Helper method to get the created date from the version property data.
|
java.lang.String |
getCreator()
Helper method to get the creator of the version.
|
java.lang.String |
getDescription()
Helper method to get the version description.
|
java.lang.String |
getId() |
boolean |
getIsMajorVersion()
Helper method to get the version type.
|
java.lang.String |
getName()
Helper method to get the item name.
|
org.alfresco.service.namespace.NamespacePrefixResolver |
getNamespacePrefixResolver() |
org.alfresco.service.cmr.repository.NodeRef |
getNodeRef() |
TemplateProperties |
getParent() |
java.util.Map |
getProperties()
Get the map containing the version property values.
|
java.lang.String |
getTitle()
Helper method to get the item title.
|
org.alfresco.service.namespace.QName |
getType() |
java.lang.String |
getUrl() |
java.lang.String |
getVersionLabel()
Helper method to get the version label from the version property data.
|
boolean |
hasAspect(java.lang.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 java.lang.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 java.lang.String getName()
getName in interface TemplateNodeRefpublic java.lang.String getTitle()
public java.util.Date getCreatedDate()
public java.lang.String getCreator()
public java.lang.String getVersionLabel()
public boolean getIsMajorVersion()
public java.lang.String getDescription()
public java.util.Map getProperties()
getProperties in interface TemplatePropertiespublic java.util.Set getAspects()
getAspects in interface TemplatePropertiesgetAspects in class BaseContentNodepublic boolean hasAspect(java.lang.String aspect)
hasAspect in interface TemplatePropertieshasAspect in class BaseContentNodeaspect - The aspect name to test forpublic java.util.List 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 java.lang.String getUrl()
getUrl in interface TemplateContentgetUrl in class BaseContentNodeCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.