Class SearchResult
An individual search result.
Assembly: Algenta.Colectica.Model.dll
Syntax
[DataContract(Namespace = "http://ns.colectica.com/2009/07/")]
public class SearchResult : RepositoryItem, IRepositoryItemIdentity, ISummaryText, IDescribable, IVersionable, IIdentifiable, IHasCustomFields, IVisitable
Constructors
SearchResult()
Declaration
Properties
Attachments
Gets a collection of file URIs stored in the File Storage Service attached to this item.
Declaration
public virtual ObservableCollection<Attachment> Attachments { get; }
Property Value
BannerImageUri
Gets or sets the banner image for the item.
Declaration
public Uri BannerImageUri { get; set; }
Property Value
BasedOn
Gets a collection that describes previous items on which this item is based
Declaration
public BasedOn BasedOn { get; set; }
Property Value
ChildTypesAccepted
Unimplemented, and present for historical purposes.
Declaration
public Collection<Guid> ChildTypesAccepted { get; }
Property Value
Exceptions
ChildrenDereferenced
Gets or sets a value indicating whether the item's children have been dereferenced.
Declaration
public bool ChildrenDereferenced { get; set; }
Property Value
Type |
Description |
bool |
true if the item's children have been dereferenced; otherwise, false .
|
CustomFields
Gets a collection of custom fields defined for this item.
Declaration
public ObservableCollection<CustomField> CustomFields { get; }
Property Value
Description
Gets the description of the item represented by the search result.
Declaration
public MultilingualString Description { get; }
Property Value
DisplayLabel
Declaration
public string DisplayLabel { get; }
Property Value
IsAuthoritative
Gets or sets a value indicating whether the repository is authoritative for
the item represented by the search result.
Declaration
[DataMember]
public bool IsAuthoritative { get; set; }
Property Value
IsDirty
Gets or sets a value indicating whether this instance has unsaved changes.
Declaration
public bool IsDirty { get; set; }
Property Value
Type |
Description |
bool |
true if this instance has unsaved changes; otherwise, false .
|
IsPopulated
Gets or sets a value indicating whether this instance's information is populated.
Declaration
public bool IsPopulated { get; set; }
Property Value
Type |
Description |
bool |
true if this instance is populated; otherwise, false .
|
ItemName
Gets the name of the item represented by the search result.
Declaration
public MultilingualString ItemName { get; }
Property Value
Label
Gets the label of the item represented by the search result.
Declaration
public MultilingualString Label { get; }
Property Value
Gets or sets the metadata rank, which is based on how often an item is referenced.
Declaration
[DataMember]
public long MetadataRank { get; set; }
Property Value
OtherMaterials
Unimplemented, and present for historical purposes.
Declaration
public ObservableCollection<OtherMaterial> OtherMaterials { get; }
Property Value
Exceptions
RepositoryName
Gets or sets the name of the repository in which the search result was found.
Declaration
[DataMember]
public string RepositoryName { get; set; }
Property Value
SucceededBy
If another item should be preferred instead of this item.
Declaration
public TypedIdTriple SucceededBy { get; set; }
Property Value
Summary
Gets a summary of the item represented by search result.
Declaration
public MultilingualString Summary { get; }
Property Value
Gets or sets the tags currently set on the item.
Declaration
[DataMember]
public Collection<string> Tags { get; set; }
Property Value
ThumbnailImageUri
Gets or sets the thumbnail image for the item.
Declaration
public Uri ThumbnailImageUri { get; set; }
Property Value
UserAttributes
Gets a collection of user defined fields defined for this item.
Declaration
public ObservableCollection<UserAttribute> UserAttributes { get; }
Property Value
UserIds
Gets the user-specified identifiers.
Declaration
public UserIdCollection UserIds { get; }
Property Value
Methods
Accept(IVersionableVisitor)
Unimplemented, and present for historical purposes.
Declaration
public void Accept(IVersionableVisitor visitor)
Parameters
Exceptions
AddChild(IVersionable)
Unimplemented, and present for historical purposes.
Declaration
public void AddChild(IVersionable child)
Parameters
Exceptions
GetChildren()
Gets a collection of this item's children.
Declaration
public ChildItemCollection GetChildren()
Returns
RemoveChild(IVersionable)
Unimplemented, and present for historical purposes.
Declaration
public bool RemoveChild(IVersionable child)
Parameters
Returns
Exceptions
RemoveChild(IdentifierTriple)
Unimplemented, and present for historical purposes.
Declaration
public int RemoveChild(IdentifierTriple child)
Parameters
Returns
Exceptions
ReplaceChild(IdentifierTriple, IVersionable)
Unimplemented, and present for historical purposes.
Declaration
public int ReplaceChild(IdentifierTriple toReplace, IVersionable child)
Parameters
Returns
Exceptions
Implements
Extension Methods