|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.repo.template.BaseContentNode
org.alfresco.repo.template.VersionHistoryNode
public class VersionHistoryNode
Template Node wrapper representing a record in the version history of a node. Provides access to basic properties and version information for the frozen state record.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.alfresco.repo.template.BaseContentNode |
|---|
BaseContentNode.TemplateContentData |
| Field Summary |
|---|
| Fields inherited from class org.alfresco.repo.template.BaseContentNode |
|---|
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 Summary | |
|---|---|
VersionHistoryNode(Version version,
TemplateNode parent,
ServiceRegistry services)
Constructor |
|
| Method Summary | |
|---|---|
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. |
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)
|
| Methods inherited from class org.alfresco.repo.template.BaseContentNode |
|---|
getContent, getDisplayMimetype, getDisplayPath, getDownloadUrl, getEncoding, getIcon16, getIcon32, getIcon64, getIsContainer, getIsDocument, getIsLinkToContainer, getIsLinkToDocument, getMimetype, getQnamePath, getServiceUrl, getSiteShortName, getSize, getWebdavUrl, isTemplateContent, isTemplateNodeRef, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public VersionHistoryNode(Version version,
TemplateNode parent,
ServiceRegistry services)
version - Descriptor of the node version information| Method Detail |
|---|
public 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.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 for
public 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 BaseContentNode
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||