Class TNotesItem (unit Class_LotusNotes)

Inherits from

TPersistent

Document item

Constructors


constructor Create(notesDocument: TNotesDocument; aName: string);

ClassMarker_Method(TNotesDatabase) (******************************************************************************) {TNotesItem} (

constructor CreateNew (notesDocument: TNotesDocument; aName: string);

**********************************************


Functions

destructor Destroy;

*****************************************************************************)

function GetAsDateTime: TDateTime;

*****************************************************************************)

function GetAsFloat : extended;

**********************************************

function GetAsList : variant;

**********************************************

function GetAsNumbers : variant;

**********************************************

function GetAsString : string;

**********************************************

function GetAsStrings : TStrings;

**********************************************

function GetAsTimes : variant;

**********************************************

function GetItemFlags (anItemFlag: integer): boolean;

*****************************************************************************)

function GetItemValue: variant;

*****************************************************************************)

function GetLastModifed: TDateTime;

*****************************************************************************)

function GetRichText : TStrings;

**********************************************

procedure InitItemInfo;

*****************************************************************************)

procedure SetAsDateTime(Value: TDateTime);

*****************************************************************************)

procedure SetAsFloat (Value: extended);

**********************************************

procedure SetAsList (Value: variant);

**********************************************

procedure SetAsNumbers (Value: variant);

**********************************************

procedure SetAsString (Value: string);

**********************************************

procedure SetAsStrings (Value: TStrings);

**********************************************

procedure SetAsTimes (Value: variant);

**********************************************

procedure SetCreated;

**********************************************

procedure SetItemFlags (anItemFlag: integer; anValue: boolean);

*****************************************************************************)

procedure SetItemValue (aValue: variant);

*****************************************************************************)

procedure SetRichText (Value: TStrings);

**********************************************

Properties

property AsDateTime : TDateTime


property AsList : variant


property AsNumber : extended


property AsNumbers : variant


property AsRichText : TStrings


property AsString : string


property AsStrings : TStrings


property AsTimes : variant


property Document : TNotesDocument


property IsAuthors : boolean

Item flags

property IsEncrypted : boolean


property IsNames : boolean


property IsNewItem : boolean


property IsProtected : boolean


property IsReaders : boolean


property IsSigned : boolean


property IsSummary : boolean


property ItemType : word


property LastModified : TDateTime


property Name : string


property SaveToDisk : boolean


property Value : Variant


property ValueLength : integer

see TYPE_.

Events

Variables

fCreated : boolean;


fDataType : word;


fDoc : TNotesDocument;


fIsNew : boolean;


fItemBid : BlockId;


fItemflags : integer;


fName : string;


fSaveToDisk : boolean;


FStringsValue : TStrings;


fValueBid : BlockId;


fValueLength : integer;



Constructors


constructor Create(notesDocument: TNotesDocument; aName: string);

ClassMarker_Method(TNotesDatabase) (******************************************************************************) {TNotesItem} (


constructor CreateNew (notesDocument: TNotesDocument; aName: string);

**********************************************


Functions


destructor Destroy;

*****************************************************************************)


function GetAsDateTime: TDateTime;

*****************************************************************************)


function GetAsFloat : extended;

**********************************************


function GetAsList : variant;

**********************************************


function GetAsNumbers : variant;

**********************************************


function GetAsString : string;

**********************************************


function GetAsStrings : TStrings;

**********************************************


function GetAsTimes : variant;

**********************************************


function GetItemFlags (anItemFlag: integer): boolean;

*****************************************************************************)


function GetItemValue: variant;

*****************************************************************************)


function GetLastModifed: TDateTime;

*****************************************************************************)


function GetRichText : TStrings;

**********************************************


procedure InitItemInfo;

*****************************************************************************)


procedure SetAsDateTime(Value: TDateTime);

*****************************************************************************)


procedure SetAsFloat (Value: extended);

**********************************************


procedure SetAsList (Value: variant);

**********************************************


procedure SetAsNumbers (Value: variant);

**********************************************


procedure SetAsString (Value: string);

**********************************************


procedure SetAsStrings (Value: TStrings);

**********************************************


procedure SetAsTimes (Value: variant);

**********************************************


procedure SetCreated;

**********************************************


procedure SetItemFlags (anItemFlag: integer; anValue: boolean);

*****************************************************************************)


procedure SetItemValue (aValue: variant);

*****************************************************************************)


procedure SetRichText (Value: TStrings);

**********************************************


Properties


property AsDateTime : TDateTime


property AsList : variant


property AsNumber : extended


property AsNumbers : variant


property AsRichText : TStrings


property AsString : string


property AsStrings : TStrings


property AsTimes : variant


property Document : TNotesDocument


property IsAuthors : boolean

Item flags


property IsEncrypted : boolean


property IsNames : boolean


property IsNewItem : boolean


property IsProtected : boolean


property IsReaders : boolean


property IsSigned : boolean


property IsSummary : boolean


property ItemType : word


property LastModified : TDateTime


property Name : string


property SaveToDisk : boolean


property Value : Variant


property ValueLength : integer

see TYPE_... in NotesAPI


Events


Variables


fCreated : boolean;


fDataType : word;


fDoc : TNotesDocument;


fIsNew : boolean;


fItemBid : BlockId;


fItemflags : integer;


fName : string;


fSaveToDisk : boolean;


FStringsValue : TStrings;


fValueBid : BlockId;


fValueLength : integer;