Index

DXBlobDES

Purpose:

This class represents an XDO for Domino Extended Search (DES).

Methods:

Init
init(LPDISPATCH datastore);

If this method is used it must be called following the creation of a DXBlobDES object (except for methods returning a DXBlobDES object). Initialize XDO with the datastore from DES. The input parameter LPDISPATCH pointer contains a DXDatastoreDES object.

getPidObject
LPDISPATCH getPidObject();

Gets the PID object. The returned LPDISPATCH pointer contains a DXPidXDODES object.

setPidObject
setPidObject(LPDISPATCH pidXDO);

Sets the PID object. The input parameter LPDISPATCH pointer contains a DXPidXDODES object.

getContent
BSTR getContent();

Gets the content data.

setContent
setContent(LPCTSTR content);

Sets the content data.

isContentChanged
BOOL isContentChanged();

Returns TRUE if content has changed.

isSet
BOOL isSet();

Returns TRUE if content data is set.

datastore
LPDISPATCH datastore();

Gets the datastore. The returned LPDISPATCH pointer contains a DXDatastoreDES object.

isNull
BOOL isNull();

Returns TRUE if object is null.

setNull
setNull();

Set this object to null. Sets the PID object.

getContentToFile
BSTR getContentToFiles(LPCTSTR filename, long fileOption);

Copies the content data to the given file.

setContentFromFile
setContentFromFile(LPCTSTR filename);

Sets the content data from the given file.

length
long length();

Gets the size of the content data in this object.

getItemId
BSTR getItemId();

Gets item ID.

setItemId
setItemId(LPCTSTR itemId);

Sets item ID.

getFieldName
getFieldName();

Gets the FieldName for the PID and returns the fieldName that contains this BLOB.

setFieldName
setFieldName(LPCTSTR fieldName);

Sets the fieldName in the PID.

add
add(const VARIANT FAR& fileName);

Adds the object content from an existing file to the datastore.

retrieve
retrieve(const VARIANT FAR& fileName);

Retrieves the object content from the datastore to a file name.

update
update(const VARIANT FAR& fileName);

Updates the object content in datastore with a file.

del
del(const VARIANT FAR& flushFlag);

Deletes the object content from the datastore.

open
open(const VARIANT FAR& fileName);

The content of the object will be unloaded to a current file with a system generated name and then a default handler will be invoked against the file.

setClassOpenHandler
setClassOpenHandler(LPCTSTR aHandler, BOOL newSynchronousFlag);

Sets the executable handler program name and indicates whether this handler should be invoked synchronously or asynchronously for this object class.

getInstanceOpenHandler
getInstanceOpenHandler(LPCTSTR aHandler, BOOL newSynchronousFlag);

Sets the executable handler program name and indicates whether this handler should be invoked synchronously or asynchronously for this object instant.

getOpenHandler
get OpenHandler();

Gets the current program name of the handler for this object instance and returns it.

isOpenSynchronous
isOpenSynchronous();

Gets the current synchronization property (TRUE or FALSE).

getDatabaseName
getDatabaseName();

Gets the databaseName and returns the databaseName of DES that contains this BLOB.

setDatabaseName
set DatabaseName(LPCTSTR aDBName);

Sets the databaseName in the PID.

getDocId
getDocId();

Gets the DocId from the PID and returns the DOCId of the DES document that contains this BLOB.

setDocId
setDocId(LPCTSTR aDocId);

Sets the docId in this PID.

getMimeType
getMimeType();

Gets the MIME type (for example, text or html).

setMimeType
setMimeType(LPCTSTR mimeType);

Sets the MIME type

(c) Copyright International Business Machines Corporation 1996, 2002. IBM Corp. All rights reserved.