org.alfresco.repo.publishing
Class NodeSnapshotTransferImpl

java.lang.Object
  extended by org.alfresco.repo.publishing.NodeSnapshotTransferImpl
All Implemented Interfaces:
NodeSnapshot

public class NodeSnapshotTransferImpl
extends java.lang.Object
implements NodeSnapshot

Since:
4.0

Constructor Summary
NodeSnapshotTransferImpl(TransferManifestNormalNode transferNode)
           
 
Method Summary
 java.util.List getAllParentAssocs()
           
 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.List getOutboundPeerAssociations()
           
 org.alfresco.service.cmr.repository.ChildAssociationRef getPrimaryParentAssoc()
           
 org.alfresco.service.cmr.repository.Path getPrimaryPath()
           
 java.util.Map getProperties()
          The property values assigned to the node at the moment the snapshot was taken.
 TransferManifestNormalNode getTransferNode()
           
 org.alfresco.service.namespace.QName getType()
          Retrieve the type of the node at the moment the snapshot was taken.
 java.lang.String getVersion()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeSnapshotTransferImpl

public NodeSnapshotTransferImpl(TransferManifestNormalNode transferNode)
Parameters:
transferNode -
Method Detail

getAllParentAssocs

public java.util.List getAllParentAssocs()

getAspects

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

Specified by:
getAspects in interface NodeSnapshot
Returns:
A set of QName objects, each identifying an aspect that is applied to the node

getNodeRef

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

Specified by:
getNodeRef in interface NodeSnapshot
Returns:
The NodeRef object that identifies the node

getOutboundPeerAssociations

public java.util.List getOutboundPeerAssociations()
Returns:

getPrimaryParentAssoc

public org.alfresco.service.cmr.repository.ChildAssociationRef getPrimaryParentAssoc()
Returns:

getPrimaryPath

public org.alfresco.service.cmr.repository.Path getPrimaryPath()
Returns:

getProperties

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

Specified by:
getProperties in interface NodeSnapshot
Returns:
A map that associates property names to property values for the node.

getType

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

Specified by:
getType in interface NodeSnapshot
Returns:
The QName that identifies the type of the node

getVersion

public java.lang.String getVersion()

Specified by:
getVersion in interface NodeSnapshot
Returns:
the version of the node when the snapshot was taken.

getTransferNode

public TransferManifestNormalNode getTransferNode()
Returns:
the transferNode


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