org.alfresco.service.cmr.publishing
Interface NodeSnapshot

All Known Implementing Classes:
NodeSnapshotTransferImpl

public interface NodeSnapshot

Since:
4.0

Method Summary
 java.util.Set getAspects()
          Retrieve all the aspects that were applied to the node at the moment the snapshot was taken
 org.alfresco.service.cmr.repository.NodeRef getNodeRef()
          Retrieve the identifier of the node of which this is a snapshot
 java.util.Map getProperties()
          The property values assigned to the node at the moment the snapshot was taken.
 org.alfresco.service.namespace.QName getType()
          Retrieve the type of the node at the moment the snapshot was taken.
 java.lang.String getVersion()
           
 

Method Detail

getNodeRef

org.alfresco.service.cmr.repository.NodeRef getNodeRef()
Retrieve the identifier of the node of which this is a snapshot

Returns:
The NodeRef object that identifies the node

getProperties

java.util.Map getProperties()
The property values assigned to the node at the moment the snapshot was taken.

Returns:
A map that associates property names to property values for the node.

getType

org.alfresco.service.namespace.QName getType()
Retrieve the type of the node at the moment the snapshot was taken.

Returns:
The QName that identifies the type of the node

getAspects

java.util.Set getAspects()
Retrieve all the aspects that were applied to the node at the moment the snapshot was taken

Returns:
A set of QName objects, each identifying an aspect that is applied to the node

getVersion

java.lang.String getVersion()
Returns:
the version of the node when the snapshot was taken.


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.