Show / Hide Table of Contents

Class RepositoryItemNode

Represents an item from the repository in the navigation hierarchy.

Inheritance
object
NotificationObject
Node
RepositoryItemNode
Implements
INotifyPropertyChanged
IVersionableProvider
IStatefulItem
IHaveClient
Inherited Members
Node.ItemType
Node.Identifier
Node.Header
Node.ToolTip
Node.Path
Node.Children
Node.AreChildrenEditable
Node.AreChildrenRemote
Node.AutoExpandChildren
Node.Parent
Node.IsExpanded
Node.IsSelected
Node.IsRare
Node.ExternalLink
Node.IsLocalUpdateAvailable
Node.IsRemoteUpdateAvailable
Node.IsUpdateAvailable
Node.IsLocallyModified
Node.IsDeprecated
Node.IsReadOnly
Node.IsChildOfLockedItem
Node.GetClient()
Node.IsItemUnderType<T>()
Node.GetParentOfType<T>()
Node.GetParentNodeWithVersionable()
Node.IsUnderEditableParent
Node.IsStatic
Node.GetFlattenedChildren(Collection<Node>)
NotificationObject.PropertyChanged
NotificationObject.RaisePropertyChanged(string)
NotificationObject.OnPropertyChanged(string)
NotificationObject.ResumePropertyEvents()
NotificationObject.SuspendPropertyEvents()
NotificationObject.PropertyEventsSuspended
NotificationObject.PropagateChildChanges(INotifyCollectionChanged, string)
NotificationObject.WatchProperties()
NotificationObject.WatchProperty(INotifyPropertyChanged, string)
NotificationObject.WatchCollection(INotifyCollectionChanged, string)
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: Algenta.Colectica.Navigator.NodeTypes
Assembly: Algenta.Colectica.ViewModel.dll
Syntax
public class RepositoryItemNode : Node, INotifyPropertyChanged, IVersionableProvider, IStatefulItem, IHaveClient

Constructors

RepositoryItemNode(RepositoryItemMetadata, Node, RepositoryClientBase)

Initializes a new instance of the RepositoryItemNode class.

Declaration
public RepositoryItemNode(RepositoryItemMetadata metadata, Node parent, RepositoryClientBase client)
Parameters
Type Name Description
RepositoryItemMetadata metadata

A description of the item represented by this node.

Node parent

The parent node of this node.

RepositoryClientBase client

The repository client for the repository that contains the item represented by this node.

RepositoryItemNode(SearchResult, Node, RepositoryClientBase)

Initializes a new instance of the RepositoryItemNode class.

Declaration
public RepositoryItemNode(SearchResult result, Node parent, RepositoryClientBase client)
Parameters
Type Name Description
SearchResult result

A search result that contains a description of the item represented by this node.

Node parent

The parent node of this node.

RepositoryClientBase client

The repository client for the repository that contains the item represented by this node.

Fields

TypesToPopulate

Gets an array of item types that should always have their children populated when they are opened in the main item view.

Declaration
public static Guid[] TypesToPopulate
Field Value
Type Description
Guid[]

Properties

Client

Gets or sets repository client for the repository that contains the item represented by this node.

Declaration
public RepositoryClientBase Client { get; set; }
Property Value
Type Description
RepositoryClientBase

CompositeId

Gets the identifier of the item represented by this node.

Declaration
public IdentifierTriple CompositeId { get; set; }
Property Value
Type Description
IdentifierTriple

Metadata

Gets a description of the item represented by this node.

Declaration
public RepositoryItemMetadata Metadata { get; set; }
Property Value
Type Description
RepositoryItemMetadata

Methods

ClearCachedItem()

Clears the cached item, forcing the item to be retrieved from the repository the next time the node is selected and opened in the main item view.

Declaration
public void ClearCachedItem()

CopyPropertiesIfNodeIsMatch(Node)

Copies the state information from the specified node to this node.

Declaration
public override void CopyPropertiesIfNodeIsMatch(Node node)
Parameters
Type Name Description
Node node

The node from which properties should be copied.

Overrides
Node.CopyPropertiesIfNodeIsMatch(Node)

GetVersionable()

Gets the versionable item. Depending on the node type, the versionable item may be locally or stored, or it may need to be retrieved over the network.

Declaration
public IVersionable GetVersionable()
Returns
Type Description
IVersionable

SetHeader()

Sets the header for this node, based on the item description.

Declaration
public void SetHeader()

Implements

INotifyPropertyChanged
IVersionableProvider
IStatefulItem
IHaveClient
In this article
Back to top Generated by DocFX