Micro Focus Content Manager SDK 9.4
HP.HPTRIM.SDK.TrimSearchDataStream Class Reference

Public Member Functions

TrimSearchDataStreamItem Current ()
 Gets the current item in the search result. The current item is setup by a successful call to MoveNext. More...
 
bool MoveNext ()
 Moves to the next selected object in the search result. Returns false if the search results have been exhausted. More...
 
void Reset ()
 Resets the data streaming iterator back to its initial state More...
 
void SetBufferSize (long newBufferSize)
 Sets an underlying buffer size that may be useful to align with any external buffering by web services, etc. Call prior to any retrieval operation. More...
 
void Release ()
 Indicates that this search data stream is no longer needed. Allows the resources allocated for making unstreamed pending results available to be freed. More...
 

Static Public Member Functions

static bool IsObjectSupported (Database db, BaseObjectTypes forObject)
 A static function to determine if a particular type of object is supported by the TrimSearchDataStream class. More...
 
static bool IsPropertyOrFieldSupported (Database db, PropertyOrFieldDef propOrField, BaseObjectTypes forObject)
 A static function to determine if a particular property or field is supported by the TrimSearchDataStream class. More...
 

Properties

bool RetrieveLoginIdForLocations [get, set]
 Gets or sets a boolean value indicating whether to return location login id when retrieving properties of type Location. More...
 
bool HasMoreItems [get]
 Gets a boolean property indicating if there are more items in the collection beyond the current one More...
 

Member Function Documentation

TrimSearchDataStreamItem HP.HPTRIM.SDK.TrimSearchDataStream.Current ( )

Gets the current item in the search result. The current item is setup by a successful call to MoveNext.

static bool HP.HPTRIM.SDK.TrimSearchDataStream.IsObjectSupported ( Database  db,
BaseObjectTypes  forObject 
)
static

A static function to determine if a particular type of object is supported by the TrimSearchDataStream class.

static bool HP.HPTRIM.SDK.TrimSearchDataStream.IsPropertyOrFieldSupported ( Database  db,
PropertyOrFieldDef  propOrField,
BaseObjectTypes  forObject 
)
static

A static function to determine if a particular property or field is supported by the TrimSearchDataStream class.

bool HP.HPTRIM.SDK.TrimSearchDataStream.MoveNext ( )

Moves to the next selected object in the search result. Returns false if the search results have been exhausted.

void HP.HPTRIM.SDK.TrimSearchDataStream.Release ( )

Indicates that this search data stream is no longer needed. Allows the resources allocated for making unstreamed pending results available to be freed.

void HP.HPTRIM.SDK.TrimSearchDataStream.Reset ( )

Resets the data streaming iterator back to its initial state

void HP.HPTRIM.SDK.TrimSearchDataStream.SetBufferSize ( long  newBufferSize)

Sets an underlying buffer size that may be useful to align with any external buffering by web services, etc. Call prior to any retrieval operation.

Property Documentation

bool HP.HPTRIM.SDK.TrimSearchDataStream.HasMoreItems
get

Gets a boolean property indicating if there are more items in the collection beyond the current one

bool HP.HPTRIM.SDK.TrimSearchDataStream.RetrieveLoginIdForLocations
getset

Gets or sets a boolean value indicating whether to return location login id when retrieving properties of type Location.