public class OneToc2HierarchyProxyContext extends Object implements IOneToc2HierarchyProxyContext
The hierarchy proxy context.
Constructor and Description |
---|
OneToc2HierarchyProxyContext(RevisionStoreMetaData revisionStoreMetaData)
Initializes a new instance of the
OneToc2HierarchyProxyContext class. |
OneToc2HierarchyProxyContext(RevisionStoreMetaData revisionStoreMetaData,
com.aspose.ms.System.Collections.Generic.IGenericCollection<ExtendedGuid> rootNodeIds,
com.aspose.ms.System.Collections.Generic.Dictionary<ExtendedGuid,com.aspose.ms.System.Collections.Generic.Dictionary<ExtendedGuid,HierarchyNodeProxy>> nodeHistoryMap)
Initializes a new instance of the
OneToc2HierarchyProxyContext class. |
Modifier and Type | Method and Description |
---|---|
void |
addNode(HierarchyNodeProxy node)
Adds the node for current revision.
|
void |
addRevision(ExtendedGuid rid,
ExtendedGuid ridDependent)
Adds the (RevisionId -> dependent RevisionId) pair.
|
RevisionStoreMetaData |
getRevisionStoreMetaData()
Gets the file store metadata.
|
com.aspose.ms.System.Collections.Generic.IGenericCollection<ExtendedGuid> |
getRootNodeIds()
Gets the root node proxies.
|
HierarchyNodeProxy |
tryGetNode(ExtendedGuid id)
Gets the last revision of the node.
|
com.aspose.ms.System.Collections.Generic.Dictionary<ExtendedGuid,HierarchyNodeProxy> |
tryGetNodeHistory(ExtendedGuid id)
Gets version history of the node.
|
HierarchyNodeProxy |
tryGetVersionedNode(ExtendedGuid id,
ExtendedGuid versionId)
Gets specified version of the node.
|
public OneToc2HierarchyProxyContext(RevisionStoreMetaData revisionStoreMetaData)
Initializes a new instance of the OneToc2HierarchyProxyContext
class.
public OneToc2HierarchyProxyContext(RevisionStoreMetaData revisionStoreMetaData, com.aspose.ms.System.Collections.Generic.IGenericCollection<ExtendedGuid> rootNodeIds, com.aspose.ms.System.Collections.Generic.Dictionary<ExtendedGuid,com.aspose.ms.System.Collections.Generic.Dictionary<ExtendedGuid,HierarchyNodeProxy>> nodeHistoryMap)
Initializes a new instance of the OneToc2HierarchyProxyContext
class.
public RevisionStoreMetaData getRevisionStoreMetaData()
Gets the file store metadata.
getRevisionStoreMetaData
in interface IOneToc2HierarchyProxyContext
public com.aspose.ms.System.Collections.Generic.IGenericCollection<ExtendedGuid> getRootNodeIds()
Gets the root node proxies.
getRootNodeIds
in interface IOneToc2HierarchyProxyContext
public void addRevision(ExtendedGuid rid, ExtendedGuid ridDependent)
Adds the (RevisionId -> dependent RevisionId) pair.
rid
- ridDependent
- public void addNode(HierarchyNodeProxy node)
Adds the node for current revision.
node
- The node.public HierarchyNodeProxy tryGetNode(ExtendedGuid id)
Gets the last revision of the node.
tryGetNode
in interface IOneToc2HierarchyProxyContext
public HierarchyNodeProxy tryGetVersionedNode(ExtendedGuid id, ExtendedGuid versionId)
Gets specified version of the node.
tryGetVersionedNode
in interface IOneToc2HierarchyProxyContext
public com.aspose.ms.System.Collections.Generic.Dictionary<ExtendedGuid,HierarchyNodeProxy> tryGetNodeHistory(ExtendedGuid id)
Gets version history of the node.
tryGetNodeHistory
in interface IOneToc2HierarchyProxyContext
Copyright (c) 2016 Aspose. All Rights Reserved.