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:
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([VARIANT fileName]);
LPDISPATCH datastore();
Gets the datastore. The returned LPDISPATCH pointer contains a DXDatastoreDD object.
del([VARIANT flushFlag]);
long getAffiliatedType();
BSTR getContent();
getContentToClientFile(LPCTSTR filename, long fileOption);
Copies the lob data content of this object to the named file.
BSTR getContentType();
BSTR getDocumentId();
BSTR getMimeType();
BSTR getOpenHandler();
Gets the executable handler program name for this object instance.
LPDISPATCH getPidObject();
Gets the PID object. The returned LPDISPATCH pointer contains a DXPidXDODD object.
BOOL isContentChanged();
BOOL isNull();
BOOL isOpenSynchronous();
Returns true if the open handler methods were called with true for the synchronous flag.
BOOL isSet();
long length();
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([VARIANT fileName]);
Retrieves the persistent data of this object from the datastore.
setAffiliatedType(long affiliatedType);
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(LPCTSTR content);
setContentFromClientFile(LPCTSTR filename);
Sets the content lob data from the contents of the given file.
setContentType(LPCTSTR contentType);
setDocumentId(LPCTSTR id);
setDomDocFileExtension(LPCTSTR aFileExtension);
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(LPCTSTR mimeType);
setNull();
setPidObject(LPDISPATCH pidXDO);
Sets the PID object. The input parameter LPDISPATCH pointer contains a DXPidXDODD object.
update([VARIANT fileName]);
Not supported in this release.
(c) Copyright International Business Machines Corporation 1996, 2002. IBM Corp. All rights reserved.