Enterprise Information Portal APIs

com.ibm.mm.sdk.common
Class DKBlobDD

java.lang.Object
  |
  +--com.ibm.mm.sdk.common.dkAbstractXDO
        |
        +--com.ibm.mm.sdk.common.dkBlob
              |
              +--com.ibm.mm.sdk.common.DKBlobDD
All Implemented Interfaces:
DKConstant, DKConstantDD, dkDataObjectBase, DKMessageId, DKMessageIdDD, dkXDO, dkXDOBase, java.io.Serializable

public class DKBlobDD
extends dkBlob
implements DKConstantDD, DKMessageIdDD, java.io.Serializable

DKBlobDD: a blob (XDO) represents the contents of a Domino.Doc Document

Other datastores let you manipulate the contents of a part. The Domino.Doc connector does not.

See Also:
Serialized Form

Fields inherited from interface com.ibm.mm.sdk.common.DKConstantDD
copyright, DK_ACTYPE_DD, DK_DD_APPEND, DK_DD_ATTR, DK_DD_BINDER, DK_DD_BLOB, DK_DD_CABINET, DK_DD_CREATE, DK_DD_CREATE_DATE, DK_DD_DATASTORE_EXT, DK_DD_DEFAULT_MIMETYPE, DK_DD_DLL_NAME, DK_DD_DOC_TYPE, DK_DD_DOCUMENT, DK_DD_DS_API_NAME, DK_DD_DSTYPE, DK_DD_FIELD, DK_DD_FILENAME, DK_DD_KEYWORD, DK_DD_LIBRARY, DK_DD_OPT_CONTENT, DK_DD_OPT_CONTENT_ATTRONLY, DK_DD_OPT_CONTENT_NO, DK_DD_OPT_CONTENT_YES, DK_DD_OPT_LIMIT, DK_DD_OPT_NO_LIMIT, DK_DD_OPT_RUN_FINALIZE_ON_EXIT, DK_DD_OPT_RUN_FINALIZE_ON_EXIT_NO, DK_DD_OPT_RUN_FINALIZE_ON_EXIT_YES, DK_DD_OPT_SEARCH_OPTION, DK_DD_OPT_SEARCH_OPTION_STEMS, DK_DD_OPT_SEARCH_OPTION_THESAURUS, DK_DD_OPT_SORT_ORDER, DK_DD_OPT_SORT_ORDER_DATE_ASC, DK_DD_OPT_SORT_ORDER_DATE_DES, DK_DD_OPT_SORT_ORDER_SCORES, DK_DD_OVERWRITE, DK_DD_PID_DOC_EXT, DK_DD_PID_DOC_ID, DK_DD_PID_DOC_ID_CNT, DK_DD_PROFILE, DK_DD_ROOM, DK_DD_SERVER_TYPE, DK_DD_TITLE, DK_DD_UNKNOWN
 
Fields inherited from interface com.ibm.mm.sdk.common.DKConstant
    For details, see the class or interface
 
Fields inherited from interface com.ibm.mm.sdk.common.DKMessageIdDD
copyright, DK_DD_MSG_MSGID_DOMDOC, DK_DD_MSG_MSGID_GOVERNOR, DK_DD_MSG_MSGID_NO_ATTR_OBJ, DK_DD_MSG_MSGID_NO_BINDER_OBJ, DK_DD_MSG_MSGID_NO_CABINET_OBJ, DK_DD_MSG_MSGID_NO_DOCUMENT_OBJ, DK_DD_MSG_MSGID_NO_MESSAGE, DK_DD_MSG_MSGID_NO_ROOM_OBJ, DK_DD_MSG_MSGID_NO_SUCCESS, DK_DD_MSG_MSGID_NUL_PARAM
 
Fields inherited from interface com.ibm.mm.sdk.common.DKMessageId
    For details, see the class or interface
 
Constructor Summary
DKBlobDD()
           
DKBlobDD(DKBlobDD aDKBlobDD)
          Copy constructor.
DKBlobDD(dkDatastore aDatastore)
          Constructs the blob and defers initialization until implementation methods are called.
DKBlobDD(dkDatastore aDatastore, byte[] aByteArr)
          Constructs the blob and set object's content.
 
Method Summary
 void add()
          Not Implemented: Adds the object content from existing file to the datastore
 void add(java.lang.String aFullFileName)
          Not Implemented: Adds the object content from existing file to the datastore
 dkXDO cloneSkeleton()
          Clone this XDO with its persistent-id only, that is, with its data content set to empty.
 boolean compareData(dkXDO adkXDO)
          Compares the content of this object with the content of the other XDO object
 dkBlob concatReplace(byte[] aByteArr)
          Deprecated.  
 dkBlob concatReplace(dkBlob adkBlob)
          Deprecated.  
 void copyData(dkXDO adkXDO)
          Replaces the content of this object with the content of the other XDO object
 void del()
          Not Implemented Deletes the object content from datastore
 void del(boolean flush)
          Not Implemented: Deletes the object content from datastore
 void deletingValue()
          Deletes value, this function performs as setNull in this class
 boolean equals(dkXDOBase adkXDOBase)
          Check if the caller's XDO is a "DKBlobDD", and if so compare the objects.
 byte[] getContent()
          Gets the content of this object
 void getContentToClientFile(java.lang.String aFileName, int fileOption)
          Copies the lob data of this object to the given file
 java.lang.String getDomDocFileExtension()
          Get file Extension
 java.lang.String getMimeType()
          Get the MIME type for this document
 java.lang.String getObjectType()
          Gets the object type.
 java.lang.String getOpenHandler()
          Gets the current program name of the handler for this object instance
 DKPid getPid()
          Deprecated. Replace by getPidObject()
 java.lang.String getPidDocumentId()
          Get this document's id
 DKPid getPidObject()
          Gets a copy of the persistent ID object of this object
 int getRank()
          Gets the ranking value of a query
 int getSize()
          Gets the length of this object without retrieving the object
 int indexOf(dkBlob adkBlob, int startpos)
          Deprecated.  
 int indexOf(java.lang.String astring, int startpos)
          Deprecated.  
 dkBlob insert(dkBlob adkBlob, int startpos)
          Deprecated.  
 dkBlob insert(java.lang.String astring, int startpos)
          Deprecated.  
 boolean isContentChanged()
          Checks if the part content changed (in memory).
 boolean isNull()
          Checks if the part content is null (in memory).
 boolean isOpenSynchronous()
          Gets the current synchronization property
 boolean isSet()
          Checks if the part content is set (in memory).
 int length()
          Gets the length of this object content in memory
 java.lang.String mimeType()
          Gets the MIME type represents this object
 boolean notEqual(dkXDOBase adkXDOBase)
          Compare the two objects and return the inverse of the equals method.
 void open(java.lang.String afileName)
          Invoke a document handler for this object.
 dkBlob remove(int startpos, int alength)
          Deprecated.  
 void retrieve()
          Retrieves the object content from the datastore to a file name
 void retrieve(java.lang.String aFileName)
          Retrieves the object content from the datastore to a file name
 void setClassOpenHandler(java.lang.String ahandler, boolean newSynchronousFlag)
          Sets the executable handler program name and whether this handler should be invoked synchronously or asynchronously for this object class
 void setContent(byte[] aByteArray)
          Sets the content of this object with a byte array stream argument
 void setContentFromClientFile(java.lang.String afileName)
          Replaces the lob data of this object with the contents of the file afileName
 void setDomDocFileExtension(java.lang.String fileExtension)
          Set file Extension
 void setInstanceOpenHandler(java.lang.String ahandler, boolean newSynchronousFlag)
          Sets the executable handler program name and whether this handler should be invoked synchronously or asynchronously for this object instant
 void setMimeType(java.lang.String mimeType)
          Sets the MIME type for this object.
 void setNull()
          Sets the part content to null (in memory).
 void setPid(DKPid aDKPid)
          Deprecated. Replace by setPidObject(DKPid aPidXDO)
 void setPidDocumentId(java.lang.String documentId)
          Set a Domino.Doc document Id.
 void setPidObject(DKPid aDKPid)
          Sets the pid information of this object with the new provided pid
 void setRank(int rank)
          Sets the ranking value of a query
 void setSize(int aObjectSize)
          Sets the object size
 int size()
          Gets the size of this object content in the datastore
 java.lang.String subString(int startpos, int alength)
          Deprecated.  
 void update()
          Note Implemented Updates the object content in datastore with a file
 void update(java.lang.String aFileName)
          Not Implemented: Updates the object content in datastore with a file
 
Methods inherited from class com.ibm.mm.sdk.common.dkAbstractXDO
addExtension, datastore, getAffiliatedType, getClassName, getContentType, getDatastore, getExtension, getOption, getParent, getRootObject, open, protocol, removeExtension, setAffiliatedType, setClassName, setContentType, setDatastore, setOption, setParent, setRootObject
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DKBlobDD

public DKBlobDD()
         throws DKException,
                java.lang.Exception

DKBlobDD

public DKBlobDD(dkDatastore aDatastore)
         throws DKUsageError,
                java.lang.Exception
Constructs the blob and defers initialization until implementation methods are called.
Parameters:
aDatastore - a DKDatastoreDD representing the associated DD datastore
Throws:
com.ibm.mm.sdk.common.DKUsageError, - Exception If invalid datastore type

DKBlobDD

public DKBlobDD(dkDatastore aDatastore,
                byte[] aByteArr)
         throws DKUsageError,
                java.lang.Exception
Constructs the blob and set object's content.
Parameters:
aDatastore - a DKDatastoreDD representing the associated DD datastore
aByteArr - a byte array to be set as this objects's content
Throws:
com.ibm.mm.sdk.common.DKUsageError, - Exception If invalid datastore type

DKBlobDD

public DKBlobDD(DKBlobDD aDKBlobDD)
         throws DKException,
                java.lang.Exception
Copy constructor.
Parameters:
aDKBlobDD - an instance of DKBlobDD
Throws:
DKException - If error occurred
Method Detail

getObjectType

public java.lang.String getObjectType()
Gets the object type.
Returns:
the object type "DKBlobDD"

deletingValue

public void deletingValue()
Deletes value, this function performs as setNull in this class

isContentChanged

public boolean isContentChanged()
Checks if the part content changed (in memory).
Overrides:
isContentChanged in class dkAbstractXDO
Returns:
true if the object content is changed; false otherwise.

isSet

public boolean isSet()
Checks if the part content is set (in memory).
Overrides:
isSet in class dkAbstractXDO
Returns:
true if the object content is set; false otherwise.

isNull

public boolean isNull()
Checks if the part content is null (in memory).
Overrides:
isNull in class dkAbstractXDO
Returns:
true if the object content is null; false otherwise.

setNull

public void setNull()
Sets the part content to null (in memory).
Overrides:
setNull in class dkAbstractXDO

equals

public boolean equals(dkXDOBase adkXDOBase)
               throws DKException
Check if the caller's XDO is a "DKBlobDD", and if so compare the objects.

Note: A DKBlobDD is a dkBlob is a dkXDO is a dkXDOBase.

Overrides:
equals in class dkAbstractXDO
Returns:
true if objects contain the same data.
Throws:
com.ibm.mm.sdk.common.DKException, - DKXDOError if is not a DKBlobDD.

notEqual

public boolean notEqual(dkXDOBase adkXDOBase)
                 throws DKException
Compare the two objects and return the inverse of the equals method.
Overrides:
notEqual in class dkAbstractXDO
Parameters:
adkXDOBase - an instance of dkXDOBase
Returns:
true if the objects do not have same type, pid, content and search index false otherwise.
Throws:
DKException - If objects are not the same class
See Also:
equals

getPid

public DKPid getPid()
Deprecated. Replace by getPidObject()

Gets a copy of the persistent ID object of this DKBlobDD object
Overrides:
getPid in class dkAbstractXDO
Returns:
a copy of the persistent ID object of this DKBlobDD object
See Also:
getPidObject()

setPid

public void setPid(DKPid aDKPid)
            throws DKUsageError
Deprecated. Replace by setPidObject(DKPid aPidXDO)

Not Implemented:
Overrides:
setPid in class dkAbstractXDO
Throws:
DKUsageError - If called
See Also:
setPidObject(DKPid aPidXDO)

getPidObject

public DKPid getPidObject()
Gets a copy of the persistent ID object of this object
Overrides:
getPidObject in class dkAbstractXDO
Returns:
a copy of the persistent ID object of this object

setPidObject

public void setPidObject(DKPid aDKPid)
                  throws DKException
Sets the pid information of this object with the new provided pid
Overrides:
setPidObject in class dkAbstractXDO
Parameters:
aPidXDO - a DKPidXDO object
Throws:
DKException - If provided pid is null

setRank

public void setRank(int rank)
Sets the ranking value of a query
Overrides:
setRank in class dkAbstractXDO
Parameters:
aRank - a ranking value

getRank

public int getRank()
Gets the ranking value of a query
Overrides:
getRank in class dkAbstractXDO
Returns:
a ranking value

add

public void add()
         throws DKException,
                java.lang.Exception
Not Implemented: Adds the object content from existing file to the datastore
Overrides:
add in class dkAbstractXDO
Parameters:
aFullFileName - a fully qualified path and file name, default is current directory
Throws:
com.ibm.mm.sdk.common.DKException, - DKUsageError: Not Implemented

add

public void add(java.lang.String aFullFileName)
         throws DKException,
                java.lang.Exception
Not Implemented: Adds the object content from existing file to the datastore
Overrides:
add in class dkAbstractXDO
Parameters:
aFullFileName - a fully qualified path and file name, default is current directory
Throws:
com.ibm.mm.sdk.common.DKException, - DKUsageError: Not Implemented

retrieve

public void retrieve()
              throws DKException,
                     java.lang.Exception
Retrieves the object content from the datastore to a file name
Overrides:
retrieve in class dkAbstractXDO
Throws:
com.ibm.mm.sdk.common.DKException, - Exception If error occurred

retrieve

public void retrieve(java.lang.String aFileName)
              throws DKException,
                     java.lang.Exception
Retrieves the object content from the datastore to a file name
Overrides:
retrieve in class dkAbstractXDO
Parameters:
aFileName - a fully qualified path and file name, default is current directory
Throws:
com.ibm.mm.sdk.common.DKException, - Exception If error occurred

update

public void update()
            throws DKException,
                   java.lang.Exception
Note Implemented Updates the object content in datastore with a file
Overrides:
update in class dkAbstractXDO
Throws:
com.ibm.mm.sdk.common.DKException, - DKUsageError: Not Implemented

update

public void update(java.lang.String aFileName)
            throws DKException,
                   java.lang.Exception
Not Implemented: Updates the object content in datastore with a file
Overrides:
update in class dkAbstractXDO
Parameters:
aFileName - a fully qualified path and file name, default is current directory
Throws:
com.ibm.mm.sdk.common.DKException, - DKUsageError: Not Implemented

del

public void del()
         throws DKException,
                java.lang.Exception
Not Implemented Deletes the object content from datastore
Overrides:
del in class dkAbstractXDO
Throws:
com.ibm.mm.sdk.common.DKException, - DKUsageError: Not Implemented

del

public void del(boolean flush)
         throws DKException,
                java.lang.Exception
Not Implemented: Deletes the object content from datastore
Overrides:
del in class dkAbstractXDO
Parameters:
flush - if true the memory content will be flush, if false and content is not set, the object will be retreived before delete it. The default is flush.
Throws:
com.ibm.mm.sdk.common.DKException, - DKUsageError: Not Implemented

copyData

public void copyData(dkXDO adkXDO)
              throws DKException,
                     java.lang.Exception
Replaces the content of this object with the content of the other XDO object
Overrides:
copyData in class dkAbstractXDO
Parameters:
adkXDO - the other XDO object must be of the same type as this one (i.e., "DKBlobDD").
Throws:
com.ibm.mm.sdk.common.DKException, - DKXDOError, if input object not a DKBlobDD.

compareData

public boolean compareData(dkXDO adkXDO)
                    throws DKException,
                           java.lang.Exception
Compares the content of this object with the content of the other XDO object

This method will get the document contents for this object and for the , if necessary.

Overrides:
compareData in class dkAbstractXDO
Parameters:
adkXDO - the other XDO object. It must be contain an object of the same type as this one (i.e., "DKBlobDD").
Returns:
true if length of this and are equal. Returns true if all bytes in this and contents are equal. Otherwise, returns false.
Throws:
DKException - = DKXDOError if objects are not the same type.

setContent

public void setContent(byte[] aByteArray)
Sets the content of this object with a byte array stream argument
Overrides:
setContent in class dkAbstractXDO
Parameters:
aByteArray - a byte array

getContent

public byte[] getContent()
                  throws DKException,
                         java.lang.Exception
Gets the content of this object
Overrides:
getContent in class dkAbstractXDO
Returns:
the object content as a byte array stream
Throws:
com.ibm.mm.sdk.common.DKException, - Exception If object type is different

getContentToClientFile

public void getContentToClientFile(java.lang.String aFileName,
                                   int fileOption)
                            throws DKException,
                                   java.lang.Exception
Copies the lob data of this object to the given file
Overrides:
getContentToClientFile in class dkAbstractXDO
Parameters:
afileName - a fully qualified path with file name; system default path used if no path provided.
fileOption -
DK_DD_OVERWRITE
Create or overwrite an existing file
DK_DD_CREATE
Create file, but throw an exception if the file already exists
DK_DD_APPEND
Append to an existing file
Throws:
com.ibm.mm.sdk.common.DKException, - Exception If error occurred

setContentFromClientFile

public void setContentFromClientFile(java.lang.String afileName)
                              throws DKException
Replaces the lob data of this object with the contents of the file afileName
Overrides:
setContentFromClientFile in class dkAbstractXDO
Parameters:
afileName - a fully qualified path with file name, default is current directory(if no path)
Throws:
DKException - If error occurred

concatReplace

public dkBlob concatReplace(dkBlob adkBlob)
                     throws DKException,
                            java.lang.Exception
Deprecated.  

Not Implemented: Concatenates this object content with another object content the results of the concatenation replaces the existing contents of this object
Overrides:
concatReplace in class dkBlob
Parameters:
adkBlob - another dkBlob object
Returns:
a dkBlob object
Throws:
com.ibm.mm.sdk.common.DKException, - DKUsageError: Not Implemented

concatReplace

public dkBlob concatReplace(byte[] aByteArr)
                     throws DKException,
                            java.lang.Exception
Deprecated.  

Not Implemented: Concatenates this object content with another stream the results of the concatenation replaces the existing contents of this object
Overrides:
concatReplace in class dkBlob
Parameters:
aByteArr - a byte array stream
Returns:
a dkBlob object
Throws:
DKException - DKUsageError: Not Implemented

length

public int length()
Gets the length of this object content in memory
Overrides:
length in class dkAbstractXDO
Returns:
a byte length of this object content in memory

indexOf

public int indexOf(java.lang.String astring,
                   int startpos)
            throws DKException,
                   java.lang.Exception
Deprecated.  

Not Implemented: Returns the byte offset of the first occurrence of the search argument within this object, starting the search at offset startPos. If the search argument is not found, return 0.
Overrides:
indexOf in class dkBlob
Parameters:
astring - the search string argument
startpos - the offset position start to search
Returns:
the byte offset of the first occurrence of the search argument; return 0 if the search argument is not found
Throws:
com.ibm.mm.sdk.common.DKException, - DKUsageError: Not Implemented

indexOf

public int indexOf(dkBlob adkBlob,
                   int startpos)
            throws DKException,
                   java.lang.Exception
Deprecated.  

Not Implemented: Returns the byte offset of the first occurrence of the search argument within this object, starting the search at offset startPos. If the search argument is not found, return 0.
Overrides:
indexOf in class dkBlob
Parameters:
adkBlob - the _lobData of this dkBlob is the search argument
startpos - the offset position start to search
Returns:
the byte offset of the first occurrence of the search argument; return 0 if the search argument is not found
Throws:
com.ibm.mm.sdk.common.DKException, - DKUsageError: Not Implemented

subString

public java.lang.String subString(int startpos,
                                  int alength)
                           throws DKException,
                                  java.lang.Exception
Deprecated.  

Not Implemented: return a string object containing a substring of the lob data of this object. The substring will be taken starting at byte offset startpos, and extracting alength bytes.
Overrides:
subString in class dkBlob
Parameters:
startpos - the byte offset position start to extract
alength - the length to extract
Returns:
a string object
Throws:
com.ibm.mm.sdk.common.DKException, - DKUsageError: Not Implemented

remove

public dkBlob remove(int startpos,
                     int alength)
              throws DKException,
                     java.lang.Exception
Deprecated.  

Not Implemented: Deletes the portion of the lob data of this object starting at startpos for alength bytes
Overrides:
remove in class dkBlob
Parameters:
startpos - the byte offset position start to delete
alength - the length to delete
Returns:
a dkBlob object
Throws:
com.ibm.mm.sdk.common.DKException, - DKUsageError: Not Implemented

insert

public dkBlob insert(java.lang.String astring,
                     int startpos)
              throws DKException,
                     java.lang.Exception
Deprecated.  

Not Implemented: Inserts the argument data, following position startpos in the lob data of this object
Overrides:
insert in class dkBlob
Parameters:
astring - the argument string data
startpos - the byte offset position start to insert
Returns:
a dkBlob object
Throws:
com.ibm.mm.sdk.common.DKException, - DKUsageError: Not Implemented

insert

public dkBlob insert(dkBlob adkBlob,
                     int startpos)
              throws DKException,
                     java.lang.Exception
Deprecated.  

Not Implemented: Inserts the argument data, following position startpos in the lob data of this object
Overrides:
insert in class dkBlob
Parameters:
adkBlob - the _lobData of this dkBlob is the argument data
startpos - the byte offset position start to insert
Returns:
a dkBlob object
Throws:
com.ibm.mm.sdk.common.DKException, - DKUsageError: Not Implemented

open

public void open(java.lang.String afileName)
          throws DKException,
                 java.lang.Exception
Invoke a document handler for this object. If the fileName parameter is empty/null, and if the document hasn't been retrieved from the server yet, then it will be retrieved and then opened. Whether the document handler is be invoked synchronously or asynchronously depends on the setting used in the setInstanceOpenHandler method.
Overrides:
open in class dkAbstractXDO
Parameters:
afileName - If null or empty, a temporary file name will be used for downloading file contents. If not null or empty, then the file name will be given to the document handler for handling.
See Also:
setInstanceOpenHandler

setInstanceOpenHandler

public void setInstanceOpenHandler(java.lang.String ahandler,
                                   boolean newSynchronousFlag)
Sets the executable handler program name and whether this handler should be invoked synchronously or asynchronously for this object instant
Overrides:
setInstanceOpenHandler in class dkAbstractXDO
Parameters:
ahandler - the handler program name to view the content
newSynchronousFlag - true for synchronous process; false otherwise.

setClassOpenHandler

public void setClassOpenHandler(java.lang.String ahandler,
                                boolean newSynchronousFlag)
Sets the executable handler program name and whether this handler should be invoked synchronously or asynchronously for this object class
Overrides:
setClassOpenHandler in class dkAbstractXDO
Parameters:
ahandler - the handler program name to view the content
newSynchronousFlag - true for synchronous process; false otherwise.

getOpenHandler

public java.lang.String getOpenHandler()
Gets the current program name of the handler for this object instance
Overrides:
getOpenHandler in class dkAbstractXDO
Returns:
the handler program name

isOpenSynchronous

public boolean isOpenSynchronous()
Gets the current synchronization property
Overrides:
isOpenSynchronous in class dkAbstractXDO
Returns:
TRUE or FALSE for the handler

cloneSkeleton

public dkXDO cloneSkeleton()
                    throws DKUsageError,
                           java.lang.Exception
Clone this XDO with its persistent-id only, that is, with its data content set to empty.
Overrides:
cloneSkeleton in class dkAbstractXDO

setPidDocumentId

public void setPidDocumentId(java.lang.String documentId)
Set a Domino.Doc document Id. The documentId is what Domino.Doc uses to uniquely identify a document in a library.

getPidDocumentId

public java.lang.String getPidDocumentId()
Get this document's id

getMimeType

public java.lang.String getMimeType()
                             throws DKException,
                                    java.lang.Exception
Get the MIME type for this document

For Domino.Doc, the mime type is the file's extension

Overrides:
getMimeType in class dkAbstractXDO
Returns:
a string, which is the file extension for the document

mimeType

public java.lang.String mimeType()
                          throws DKException,
                                 java.lang.Exception
Gets the MIME type represents this object
Returns:
the MIME type
Throws:
DKException, - Exception If error occurred

setMimeType

public void setMimeType(java.lang.String mimeType)
Description copied from class: dkAbstractXDO
Sets the MIME type for this object. The subclass need to override the behaviour of the default implementation of this method.

Note:DKUsageError exception thrown if method is not implemented

Overrides:
setMimeType in class dkAbstractXDO
Following copied from class: com.ibm.mm.sdk.common.dkAbstractXDO
Parameters:
mimeType - the MIME type
See Also:
dkAbstractXDO.getMimeType()

size

public int size()
         throws DKException,
                java.lang.Exception
Gets the size of this object content in the datastore
Overrides:
size in class dkAbstractXDO
Returns:
a byte length of this object content in the datastore

getSize

public int getSize()
            throws DKException,
                   java.lang.Exception
Gets the length of this object without retrieving the object
Returns:
the length of this object
Throws:
DKException - if error detected

setSize

public void setSize(int aObjectSize)
Sets the object size

setDomDocFileExtension

public void setDomDocFileExtension(java.lang.String fileExtension)
Set file Extension

getDomDocFileExtension

public java.lang.String getDomDocFileExtension()
Get file Extension

EIP Java APIs

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