///
/// Copyright © 2003-2008 JetBrains s.r.o.
/// You may distribute under the terms of the GNU General Public License, as published by the Free Software Foundation, version 2 (see License.txt in the repository root folder).
///
namespace JetBrains.Omea.OpenAPI
{
///
/// IDs of the resource properties which are registered by the core.
///
/// 2.0
public interface ICoreProps
{
///
/// String property which stores the name of a resource
///
int Name { get; }
///
/// Date property which stores the date of a resource
///
int Date { get; }
///
/// Integer property which stores the size of a resource
///
int Size { get; }
///
/// String property which stores the subject of a resource
///
int Subject { get; }
///
/// Long string property which stores the contents of a resource
///
int LongBody { get; }
///
/// Boolean property which is set to true if the contents of the LongBody property is formatted as HTML
///
int LongBodyIsHTML { get; }
///
/// Boolean property which is set to true if the contents of the LongBody property is formatted as RTF
///
int LongBodyIsRTF { get; }
///
/// Directed link property which links a resource to its parent in a hierarchy
///
int Parent { get; }
///
/// Directed link property which links a resource to its parent in a conversation thread
///
int Reply { get; }
///
/// Boolean property which is set to true on resources which have been non-permanently deleted
///
int IsDeleted { get; }
///
/// Order in some ortogonal sorting (that is if the list is not sorted by property-based way).
/// Usually used when user is allowed to sort a list manually (using D'n'D e.g.).
///
/// 2.3
int Order { get; }
///
/// Boolean property which is set to true on container resources for which the deleted items are not hidden when displaying their content
///
int ShowDeletedItems { get; }
///
/// Boolean property which is set to true on container resources for which the total count of items is to be shown.
///
int ShowTotalCount { get; }
///
/// Boolean property which is set to true on unread resources
///
int IsUnread { get; }
///
/// Boolean property which is set to true on container resources for which only unread resources are shown when displaying their content
///
int DisplayUnread { get; }
///
/// Boolean property which is set to true on container resources whose contents is displayed in threaded mode.
///
int DisplayThreaded { get; }
///
/// Boolean property which is set to true on container resources whose contents is displayed in newspaper mode.
///
int DisplayNewspaper { get; }
///
/// Integer property which is set to 1 on folders which are expanded and 0 on folders which are not.
///
int Open { get; }
///
/// String property which stores the text of the resource annotation.
///
int Annotation { get; }
///
/// String property which stores the basic resource type for an entity (e.g. Tab, View, etc).
///
int ContentType { get; }
///
/// A double property that defines an order in which the resources should be arranged in lists and under one parent in trees in those controls that support rearranging by the user, either with order buttons or by drag'n'drop.
///
int ResourceVisibleOrder { get; }
///
/// A string property that is set on the resource container and defines the user sorting order on its children by listing the resource IDs in a descending order.
///
int UserResourceOrder { get; }
///
/// A string property that is set on the resource if any subsystem detected an error on it or failed to process it.
/// The content of the property describes the error reason (and origin).
///
int LastError { get; }
///
/// A string property that is set on the resource when it is deleted (non-permanently). This facilitates
/// to construct flexible views on the deleted resources.
///
int DeleteDate { get; }
///
/// An boolean property which is set on the resource if the fragment of the text fed to the
/// FullTextIndexer should be stored in the
/// resource's Preview Property.
///
int NeedPreview { get; }
///
/// A string property which is set to the beginning fragment of the resource's text content.
/// Usually takes 128 bytes.
///
int PreviewText { get; }
}
}