Enterprise Information Portal APIs

com.ibm.mm.sdk.common
Class dkClob

java.lang.Object
  |
  +--com.ibm.mm.sdk.common.dkAbstractXDO
        |
        +--com.ibm.mm.sdk.common.dkClob
All Implemented Interfaces:
dkDataObjectBase, dkXDO, dkXDOBase, java.io.Serializable
Direct Known Subclasses:
DKClobDB2, DKClobDJ, DKClobDL, DKClobJDBC

public abstract class dkClob
extends dkAbstractXDO
implements java.io.Serializable

dkClob: a common abstract class for basic CLOB in DL and other datastores.

See Also:
Serialized Form

Method Summary
 dkClob concatReplace(byte[] aByteArrg)
          Deprecated. no need to do this, no meaning
 dkClob concatReplace(dkClob adkClob)
          Deprecated. no need to do this, no meaning
 int indexOf(dkClob adkClob, 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
 dkClob insert(dkClob adkClob, int startpos)
          Deprecated. no need to do this, no meaning
 dkClob insert(java.lang.String astring, int startpos)
          Deprecated. no need to do this, no meaning
 dkClob remove(int startpos, int alength)
          Deprecated. no need to do this, no meaning
 java.lang.String subString(int startpos, int alength)
          Deprecated. no need to do this, no meaning
 
Methods inherited from class com.ibm.mm.sdk.common.dkAbstractXDO
add, add, addExtension, cloneSkeleton, compareData, copyData, datastore, del, del, equals, getAffiliatedType, getClassName, getContent, getContentToClientFile, getContentType, getDatastore, getExtension, getMimeType, getOpenHandler, getOption, getParent, getPid, getPidObject, getRank, getRootObject, isContentChanged, isNull, isOpenSynchronous, isSet, length, notEqual, open, open, protocol, removeExtension, retrieve, retrieve, setAffiliatedType, setClassName, setClassOpenHandler, setContent, setContentFromClientFile, setContentType, setDatastore, setInstanceOpenHandler, setMimeType, setNull, setOption, setParent, setPid, setPidObject, setRank, setRootObject, size, update, update
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ibm.mm.sdk.common.dkDataObjectBase
getObjectType
 

Method Detail

concatReplace

public dkClob concatReplace(dkClob adkClob)
                     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
Parameters:
adkClob - another dkClob object
Returns:
a dkClob object

concatReplace

public dkClob concatReplace(byte[] aByteArrg)
                     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
Parameters:
aByteArrg - a byte array stream
Returns:
a dkClob object

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.
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(dkClob adkClob,
                   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.
Parameters:
adkClob - the lobData of this dkClob 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.
Parameters:
startpos - the byte offset position start to extract
alength - the length to extract
Returns:
a string object

remove

public dkClob 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
Parameters:
startpos - the byte offset position start to delete
alength - the length to delete
Returns:
a dkClob object

insert

public dkClob 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
Parameters:
astring - the argument string data
startpos - the byte offset position start to insert
Returns:
a dkClob object

insert

public dkClob insert(dkClob adkClob,
                     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
Parameters:
adkClob - the lobData of this dkClob is the argument data
startpos - the byte offset position start to insert
Returns:
a dkClob object

EIP Java APIs

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