|
|||||||||
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, getHasChildren, 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 informationMethod Detail |
---|
public java.lang.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 java.lang.String getName()
getName
in interface TemplateNodeRef
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 TemplateProperties
public java.util.Set getAspects()
getAspects
in interface TemplateProperties
getAspects
in class BaseContentNode
public boolean hasAspect(java.lang.String aspect)
hasAspect
in interface TemplateProperties
hasAspect
in class BaseContentNode
aspect
- The aspect name to test for
public java.util.List 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 java.lang.String getUrl()
getUrl
in interface TemplateContent
getUrl
in class BaseContentNode
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |