Index

DXBlobDD

Purpose:

This is the class that is used to represent an XDO for DD. A BLOB (XDO) represents the base part of a Domino.Doc document.

Methods:

initialization
   init(LPDISPATCH datastore);

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

add
   add([VARIANT fileName]);

Not suppported for this release.

datastore
   LPDISPATCH datastore();

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

del
   del([VARIANT flushFlag]);

Not supported for this release.

gettAffiliatedType
   long getAffiliatedType();

Gets the affiliated type.

getContent
   BSTR getContent();

Gets the lob data content.

getContentToClientFile
   getContentToClientFile(LPCTSTR filename, long fileOption);

Copies the lob data content of this object to the named file.

getContentType
   BSTR	getContentType();

Gets the content type.

getDocumentId
    BSTR getDocumentId();

Gets the document id.

getMimeType
   BSTR getMimeType();

Gets the MIME type representing this objects content class.

getOpenHandler
   BSTR getOpenHandler();

Gets the executable handler program name for this object instance.

getPidObject
   LPDISPATCH getPidObject();

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

isContentChanged
   BOOL isContentChanged();

Returns true if content has changed.

isNull
   BOOL isNull();

Returns true is object is null.

isOpenSynchronous
   BOOL isOpenSynchronous();

Returns true if the open handler methods were called with true for the synchronous flag.

isSet
   BOOL isSet();

Returns true if content data is set.

length
   long length();

Returns the length of the lob content of this object.

open
   open(VARIANT fileName);

If no file name is specified, then the content of the object will be unloaded to a client file with a system generated name and then the appropriate instance or class handler will be invoked against the file. If a file name is specified, then the content of the object will be unloaded to the file specified and the appropriate instance or class handler invoked against the file.

retrieve
   retrieve([VARIANT fileName]);

Retrieves the persistent data of this object from the datastore.

setAffiliatedType
   setAffiliatedType(long affiliatedType);

Sets the affiliated type of the object.

setClassOpenHandler
   setClassOpenHandler(LPCTSTR aHandler, BOOL newSynchronousFlag);

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

setContent
   setContent(LPCTSTR content);

Sets the lob data content.

setContentFromClientFile
   setContentFromClientFile(LPCTSTR filename);

Sets the content lob data from the contents of the given file.

setContentType
   setContentType(LPCTSTR	contentType);

Sets the content type.

setDocumentId
   setDocumentId(LPCTSTR id);

Sets the document id.

setDomDocFileExtension
   setDomDocFileExtension(LPCTSTR aFileExtension);

Sets the document file extension.

setInstanceOpenHandler
   setInstanceOpenHandler(LPCTSTR aHandler, BOOL newSynchronousFlag);

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

setMimeType
   setMimeType(LPCTSTR mimeType);

Sets the MIME type.

setNull
   setNull();

Set this object to null.

setPidObject
   setPidObject(LPDISPATCH pidXDO);

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

update
   update([VARIANT fileName]);

Not supported in this release.

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