Enterprise Information Portal APIs

com.ibm.mm.sdk.common
Class DKBlobDES

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

public class DKBlobDES
extends dkBlob
implements DKConstantDES, DKMessageIdDES, java.io.Serializable

DKBlobDES: a blob (XDO) represents a part object of DES

See Also:
Serialized Form

Field Summary
static short APPEND
           
static short NOOVERWRITE
           
static short OVERWRITE
           
 
Fields inherited from interface com.ibm.mm.sdk.common.DKConstantDES
DK_DES_APPID_HANDLE, DK_DES_APPINFO_HANDLE, DK_DES_BROKER_HANDLE, DK_DES_CMBROOT, DK_DES_DATASOURCE, DK_DES_DLL_NAME, DK_DES_DSTYPE, DK_DES_GQL_QL_TYPE, DK_DES_INIFILE, DK_DES_ITEMID_SEPARATOR, DK_DES_PORT, DK_DES_PROPERTY_DISPNAME, DK_DES_PROPERTY_HELPTEXT, DK_DES_PROPERTY_LANGUAGE, DK_DES_PROPERTY_RETRIEVABLE, DK_DES_PROPERTY_SEARCHABLE, DK_DES_PROPERTY_SEARCHOPERATOR, DK_DES_PROPERTY_VALUECOUNT, DK_DES_REPOSITORIES_HANDLE, DK_DES_RMIREF_HANDLE, DK_DES_SESSION_HANDLE, DK_FILESYSTEM_ENTITY, DK_NOTES_ENTITY, DK_NOTESPUMP_ENTITY, DK_WEB_ENTITY
 
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.DKMessageIdDES
DK_DES_MSG_MSGID_NOT_FOUND
 
Fields inherited from interface com.ibm.mm.sdk.common.DKMessageId
    For details, see the class or interface
 
Constructor Summary
DKBlobDES(DKBlobDES aDKBlobDES)
          Copy constructor.
DKBlobDES(dkDatastore aDatastore)
          Constructs the blob and defers initialization until implementation methods are called.
DKBlobDES(dkDatastore aDatastore, byte[] aByteArr)
          Constructs the blob and set the object's content.
 
Method Summary
 void add()
          Adds the object content from memory to the datastore
 void add(java.lang.String aFullFileName)
          Adds the object content from existing file to the datastore
 void addExtension(java.lang.String extensionName, dkExtension extensionObj)
          Add the extension object.
 boolean compareData(dkXDO adkXDO)
          Compares the content of this object with the content of the other XDO object
 DKBlobDES concatenate(byte[] aByteArr)
          Deprecated. not really needed
 DKBlobDES concatenate(DKBlobDES aDKBlobDES)
          Deprecated. not really needed
 dkBlob concatReplace(byte[] aByteArr)
          Deprecated. no need to do this, no meaning
 dkBlob concatReplace(dkBlob adkBlob)
          Deprecated. no need to do this, no meaning
 void copyData(dkXDO adkXDO)
          Replaces the content of this object with the content of the other XDO object
 void del()
          Deletes the object content from datastore
 void del(boolean flush)
          Deletes the object content from datastore
 void deletingValue()
          Deprecated. no meaning for Digital Library
 boolean equals(dkXDOBase adkXDOBase)
          Deprecated. no need to do this, no meaning
 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 getDatabaseName()
          Gets the databaseName
 java.lang.String getDocId()
          Gets the DocId from the pid
 dkExtension getExtension(java.lang.String extensionName)
          Gets the extension object.
 java.lang.String getFieldName()
          Gets the FieldName from the pid
 java.lang.String getItemId()
          Gets the DES item id of the object content
 java.lang.String getMimeType()
          Gets the MIME type.
 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()
 DKPid getPidObject()
          Gets a copy of the persistent ID object of this object
 int getRank()
          Gets the ranking value of a query
 int indexOf(dkBlob adkBlob, int startpos)
          Deprecated. no need to do this, no meaning
 int indexOf(java.lang.String astring, int startpos)
          Deprecated. no need to do this, no meaning
 dkBlob insert(dkBlob adkBlob, int startpos)
          Deprecated. no need to do this, no meaning
 dkBlob insert(java.lang.String astring, int startpos)
          Deprecated. no need to do this, no meaning
 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.
 boolean notEqual(dkXDOBase adkXDOBase)
          Deprecated. no need to do this, no meaning
 void open()
          Unloads the object content to a client file with a system generated name and then synchronously invoking a default handler against the file.
 void open(java.lang.String afileName)
          Unloads the object content to a file afileName provided by the application and then synchronously invoking a default handler against the file.
 dkBlob remove(int startpos, int alength)
          Deprecated. no need to do this, no meaning
 void removeExtension(java.lang.String extensionName)
          Remove the extension object.
 void retrieve()
          Retrieves the object content from the datastore to the memory buffer
 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 setDatabaseName(java.lang.String databaseName)
          Sets the databaseName in the pid
 void setDocId(java.lang.String docId)
          Sets the docId in the pid
 void setExtension(java.lang.String extensionName, dkExtension extensionObj)
          Sets the extension object.
 void setFieldName(java.lang.String fieldName)
          Sets the fieldName in the pid
 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 setItemId(java.lang.String aItemId)
          Sets the DES item id of the object content
 void setMimeType(java.lang.String mimeType)
          Sets the MIME type
 void setNull()
          Sets the part content to null (in memory).
 void setPid(DKPid aDKPid)
          Deprecated. Replace by setPidObject(DKPid aPidXDO)
 void setPidObject(DKPid aPidXDO)
          Sets the pid information of this object with the new provided pid
 void setRank(int aRank)
          Sets the ranking value of a query
 DKBlobDES subLob(int startpos, int alength)
          Deprecated. not really needed
 java.lang.String subString(int startpos, int alength)
          Deprecated. no need to do this, no meaning
 void update()
          Updates the object content in datastore with the content in memory
 void update(java.lang.String aFileName)
          Updates the object content in datastore with a file
 
Methods inherited from class com.ibm.mm.sdk.common.dkAbstractXDO
cloneSkeleton, datastore, getAffiliatedType, getClassName, getContentType, getDatastore, getOption, getParent, getRootObject, protocol, setAffiliatedType, setClassName, setContentType, setDatastore, setOption, setParent, setRootObject, size
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OVERWRITE

public static final short OVERWRITE

NOOVERWRITE

public static final short NOOVERWRITE

APPEND

public static final short APPEND
Constructor Detail

DKBlobDES

public DKBlobDES(dkDatastore aDatastore)
          throws DKUsageError,
                 java.lang.Exception
Constructs the blob and defers initialization until implementation methods are called.
Parameters:
aDatastore - a DKDatastoreDES representing the associated DES datastore
Throws:
DKUsageError, - Exception If invalid datastore type

DKBlobDES

public DKBlobDES(dkDatastore aDatastore,
                 byte[] aByteArr)
          throws DKException,
                 java.lang.Exception
Constructs the blob and set the object's content.
Parameters:
aDatastore - a DKDatastoreDES representing the associated DES datastore
aByteArr - a byte array to be set as this object's content
Throws:
DKException, - Exception If error occurred

DKBlobDES

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

getObjectType

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

deletingValue

public void deletingValue()
Deprecated. no meaning for Digital Library

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
Deprecated. no need to do this, no meaning

Check if the xdo objects have same type, pid, content and indexed by same search engine
Overrides:
equals in class dkAbstractXDO
Parameters:
adkXDOBase - an instance of dkXDOBase
Returns:
true if the objects have same type, pid, content and search index false otherwise.
Throws:
DKException - If objects are not the same class

notEqual

public boolean notEqual(dkXDOBase adkXDOBase)
                 throws DKException
Deprecated. no need to do this, no meaning

check if the xdo objects is not equal.
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

getPid

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

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

setPid

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

Sets the pid information of this object with the new provided pid
Overrides:
setPid in class dkAbstractXDO
Parameters:
aDKPid - a DKPidXDO object
Throws:
DKUsageError - If provided pid is null
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 aPidXDO)
                  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

add

public void add()
         throws DKException,
                java.lang.Exception
Adds the object content from memory to the datastore
Overrides:
add in class dkAbstractXDO
Throws:
DKException, - Exception If error occurred

add

public void add(java.lang.String aFullFileName)
         throws DKException,
                java.lang.Exception
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:
DKException, - Exception If error occurred

retrieve

public void retrieve()
              throws DKException,
                     java.lang.Exception
Retrieves the object content from the datastore to the memory buffer
Overrides:
retrieve in class dkAbstractXDO
Throws:
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:
DKException, - Exception If error occurred

update

public void update(java.lang.String aFileName)
            throws DKException,
                   java.lang.Exception
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:
DKException, - Exception If error occurred

update

public void update()
            throws DKException,
                   java.lang.Exception
Updates the object content in datastore with the content in memory
Overrides:
update in class dkAbstractXDO
Throws:
DKException, - Exception If error occurred

del

public void del()
         throws DKException,
                java.lang.Exception
Deletes the object content from datastore
Overrides:
del in class dkAbstractXDO
Throws:
DKException, - Exception If error occurred

del

public void del(boolean flush)
         throws DKException,
                java.lang.Exception
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:
DKException, - Exception If error occurred

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
Throws:
DKException, - Exception If error occurred

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
Overrides:
compareData in class dkAbstractXDO
Parameters:
adkXDO - the other XDO object
Throws:
DKException, - Exception If object type is different

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:
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, default is current directory(if no path)
fileOption - 1 will create or overwrite an existing file; 2 will only create file, but will also throw an exception if the file already exists; 3 appends to an existing file
Throws:
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. no need to do this, no meaning

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

concatReplace

public dkBlob concatReplace(byte[] aByteArr)
                     throws DKException,
                            java.lang.Exception
Deprecated. no need to do this, no meaning

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

length

public int length()
           throws DKException,
                  java.lang.Exception
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. no need to do this, no meaning

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

indexOf

public int indexOf(dkBlob adkBlob,
                   int startpos)
            throws DKException,
                   java.lang.Exception
Deprecated. no need to do this, no meaning

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

subString

public java.lang.String subString(int startpos,
                                  int alength)
                           throws DKException,
                                  java.lang.Exception
Deprecated. no need to do this, no meaning

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

remove

public dkBlob remove(int startpos,
                     int alength)
              throws DKException,
                     java.lang.Exception
Deprecated. no need to do this, no meaning

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

insert

public dkBlob insert(java.lang.String astring,
                     int startpos)
              throws DKException,
                     java.lang.Exception
Deprecated. no need to do this, no meaning

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

insert

public dkBlob insert(dkBlob adkBlob,
                     int startpos)
              throws DKException,
                     java.lang.Exception
Deprecated. no need to do this, no meaning

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

open

public void open()
          throws DKException,
                 java.lang.Exception
Unloads the object content to a client file with a system generated name and then synchronously invoking a default handler against the file.
Overrides:
open in class dkAbstractXDO
Throws:
DKException, - Exception If error occurred

open

public void open(java.lang.String afileName)
          throws DKException,
                 java.lang.Exception
Unloads the object content to a file afileName provided by the application and then synchronously invoking a default handler against the file.
Overrides:
open in class dkAbstractXDO
Parameters:
afileName - a provided file name
Throws:
DKException, - Exception If error occurred

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

getItemId

public java.lang.String getItemId()
Gets the DES item id of the object content
Returns:
the DES item id of the object content

setItemId

public void setItemId(java.lang.String aItemId)
Sets the DES item id of the object content
Parameters:
aItemId - - the unique item id; format is databaseName|docId

getDatabaseName

public java.lang.String getDatabaseName()
Gets the databaseName
Returns:
databaseName of DES that contains this blob

setDatabaseName

public void setDatabaseName(java.lang.String databaseName)
Sets the databaseName in the pid
Parameters:
databaseName - - name of DES database which contains this blob

getDocId

public java.lang.String getDocId()
Gets the DocId from the pid
Returns:
docId of the DES document that contains this blob

setDocId

public void setDocId(java.lang.String docId)
Sets the docId in the pid
Parameters:
docId - - docId of the DES document which contains this blob

getFieldName

public java.lang.String getFieldName()
Gets the FieldName from the pid
Returns:
fieldName that contains this blob

setFieldName

public void setFieldName(java.lang.String fieldName)
Sets the fieldName in the pid
Parameters:
fieldName - - fieldName which contains this blob

concatenate

public DKBlobDES concatenate(DKBlobDES aDKBlobDES)
                      throws DKException,
                             java.lang.Exception
Deprecated. not really needed

Concatenates this object content with another object content and returns a new DKBlobDES object containing the result.
Parameters:
aDKBlobDES - another DKBlobDES object
Returns:
a new DKBlobDES object containing the result
Throws:
DKException, - Exception If error occurred

concatenate

public DKBlobDES concatenate(byte[] aByteArr)
                      throws DKException,
                             java.lang.Exception
Deprecated. not really needed

Concatenates this object content with another stream and returns a new DKBlobDES object containing the result.
Parameters:
aByteArr - a byte array stream
Returns:
a new DKBlobDES object containing the result
Throws:
DKException, - Exception If error occurred

subLob

public DKBlobDES subLob(int startpos,
                        int alength)
                 throws DKException,
                        java.lang.Exception
Deprecated. not really needed

Similar to subString, but returns the subString data in form of a new DKBlobDES object
Parameters:
startpos - the byte offset position to start
alength - the length of bytes to obtain
Returns:
a new DKBlobDES object containing the result
Throws:
DKException, - Exception If error occurred

setRank

public void setRank(int aRank)
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

setMimeType

public void setMimeType(java.lang.String mimeType)
                 throws DKException,
                        java.lang.Exception
Sets the MIME type
Overrides:
setMimeType in class dkAbstractXDO
Throws:
DKException, - Exception If error occurred

getMimeType

public java.lang.String getMimeType()
                             throws DKException,
                                    java.lang.Exception
Gets the MIME type. For example, "Text/html"
Overrides:
getMimeType in class dkAbstractXDO
Returns:
the MIME type
Throws:
DKException, - Exception If error occurred

mimeType

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

setExtension

public void setExtension(java.lang.String extensionName,
                         dkExtension extensionObj)
                  throws DKException,
                         java.lang.Exception
Sets the extension object.
Parameters:
extensionName - the extension name

The valid extension names are:

extensionObj - a source extension object
Throws:
DKException, - Exception If error occurred

addExtension

public void addExtension(java.lang.String extensionName,
                         dkExtension extensionObj)
                  throws DKException,
                         java.lang.Exception
Add the extension object.
Overrides:
addExtension in class dkAbstractXDO
Parameters:
extensionName - the extension name
extensionObj - a source extension object
Throws:
DKException, - Exception If error occurred

getExtension

public dkExtension getExtension(java.lang.String extensionName)
                         throws DKException,
                                java.lang.Exception
Gets the extension object.
Overrides:
getExtension in class dkAbstractXDO
Parameters:
extensionName - the extension name

The valid extension names are:

Returns:
a dkExtension object
Throws:
DKException, - Exception If error occurred

removeExtension

public void removeExtension(java.lang.String extensionName)
                     throws DKException
Remove the extension object.
Overrides:
removeExtension in class dkAbstractXDO
Parameters:
extensionName - the extension name

The valid extension names are:

Throws:
DKException - If error occurred

EIP Java APIs

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