Enterprise Information Portal APIs

com.ibm.mm.sdk.server
Class DKDatastoreExtDJ

java.lang.Object
  |
  +--com.ibm.mm.sdk.server.dkAbstractDatastoreExt
        |
        +--com.ibm.mm.sdk.server.DKDatastoreExtDJ
All Implemented Interfaces:
DKConstant, DKConstantDJ, dkDatastoreExt, dkExtension, DKMessageId, DKMessageIdDJ

public class DKDatastoreExtDJ
extends dkAbstractDatastoreExt
implements DKConstantDJ, DKMessageIdDJ

DKDatastoreExtDJ is the implementation class of DJ datastore extension object.


Fields inherited from interface com.ibm.mm.sdk.common.DKConstantDJ
DK_DJ_AUTOCOMMIT_OFF, DK_DJ_AUTOCOMMIT_ON, DK_DJ_DATABASE_DEFAULT, DK_DJ_DEFAULT_MIMETYPE, DK_DJ_DLL_NAME, DK_DJ_DRIVER_COMPLETE, DK_DJ_DRIVER_COMPLETE_REQ, DK_DJ_DRIVER_NOPROMPT, DK_DJ_DRIVER_PROMPT, DK_DJ_DSTYPE, DK_DJ_HSTMT, DK_DJ_LOB_CONTENT, DK_DJ_LOB_LOCATOR, DK_DJ_OPT_AUTOCOMMIT_MODE, DK_DJ_OPT_DRIVERPROMPT_STATE, DK_DJ_OPT_LOB, DK_DJ_OPT_TXN_ISOLATION, DK_DJ_READ_COMMITTED, DK_DJ_READ_UNCOMMITTED, DK_DJ_REPEATABLE_READ, DK_DJ_SERIALIZABLE, DK_DJ_SQL_BINARY, DK_DJ_SQL_BIT, DK_DJ_SQL_BLOB, DK_DJ_SQL_C_BINARY, DK_DJ_SQL_C_BINARY_XDO, DK_DJ_SQL_C_BIT, DK_DJ_SQL_C_CHAR, DK_DJ_SQL_C_CHAR_XDO, DK_DJ_SQL_C_DATE, DK_DJ_SQL_C_DBCHAR, DK_DJ_SQL_C_DBCHAR_XDO, DK_DJ_SQL_C_DEFAULT, DK_DJ_SQL_C_DOUBLE, DK_DJ_SQL_C_FLOAT, DK_DJ_SQL_C_LONG, DK_DJ_SQL_C_NUMERIC, DK_DJ_SQL_C_SHORT, DK_DJ_SQL_C_TIME, DK_DJ_SQL_C_TIMESTAMP, DK_DJ_SQL_C_TINYINT, DK_DJ_SQL_CHAR, DK_DJ_SQL_CLOB, DK_DJ_SQL_DATE, DK_DJ_SQL_DBCLOB, DK_DJ_SQL_DECIMAL, DK_DJ_SQL_DOUBLE, DK_DJ_SQL_FLOAT, DK_DJ_SQL_GRAPHIC, DK_DJ_SQL_INTEGER, DK_DJ_SQL_LONGVARBINARY, DK_DJ_SQL_LONGVARCHAR, DK_DJ_SQL_LONGVARGRAPHIC, DK_DJ_SQL_NULL_DATA, DK_DJ_SQL_NUMERIC, DK_DJ_SQL_REAL, DK_DJ_SQL_SMALLINT, DK_DJ_SQL_TIME, DK_DJ_SQL_TIMESTAMP, DK_DJ_SQL_TINYINT, DK_DJ_SQL_VARBINARY, DK_DJ_SQL_VARCHAR, DK_DJ_SQL_VARGRAPHIC, DK_DJ_TABLE, DK_DJ_VIEW
 
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.DKMessageIdDJ
DK_DJ_MSG_MSGID_NOT_FOUND
 
Fields inherited from interface com.ibm.mm.sdk.common.DKMessageId
    For details, see the class or interface
 
Constructor Summary
DKDatastoreExtDJ()
          Default constructor for DKDatastoreExtDJ.
DKDatastoreExtDJ(dkDatastore ds)
          Constructs a DKDatastoreExtDJ for a given datastore object.
 
Method Summary
 DKCommonPrivilege getCommonPrivilege()
          Gets the commmon privilege of a specific datastore.
 dkDatastore getDatastore()
          Gets the reference to the owner datastore object.
 java.lang.String getName()
          Gets the name of this extension object.
 boolean isSupported(java.lang.String functionName)
          Query if the given function name is supported by this extension.
 java.lang.String[] listFunctions()
          Lists all supported function-names from this extension.
 void setDatastore(dkDatastore ds)
          Sets the reference to the owner datastore object.
 void setName(java.lang.String extName)
          Sets the name of this extension object.
 
Methods inherited from class com.ibm.mm.sdk.server.dkAbstractDatastoreExt
addChild, addLink, addPart, addToFolder, changePassword, checkedOutUserid, checkIn, checkOut, getCommonItemPrivilege, getCommonPrivilege, getFoldersContainingDDO, isCheckedOut, moveObject, moveObject, removeChild, removeFromFolder, removeLink, removeLinks, removePart, retrieveFormOverlay, unlockCheckedOut
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DKDatastoreExtDJ

public DKDatastoreExtDJ()
                 throws DKException,
                        java.lang.Exception
Default constructor for DKDatastoreExtDJ.

DKDatastoreExtDJ

public DKDatastoreExtDJ(dkDatastore ds)
                 throws DKException,
                        java.lang.Exception
Constructs a DKDatastoreExtDJ for a given datastore object.
Method Detail

getDatastore

public dkDatastore getDatastore()
                         throws java.lang.Exception
Gets the reference to the owner datastore object.
Overrides:
getDatastore in class dkAbstractDatastoreExt
Returns:
the dkDatastore object.

setDatastore

public void setDatastore(dkDatastore ds)
                  throws DKUsageError,
                         java.lang.Exception
Sets the reference to the owner datastore object.
Overrides:
setDatastore in class dkAbstractDatastoreExt
Parameters:
ds - datastore.

getName

public java.lang.String getName()
                         throws java.lang.Exception
Gets the name of this extension object.
Overrides:
getName in class dkAbstractDatastoreExt
Returns:
name of this object.

setName

public void setName(java.lang.String extName)
             throws java.lang.Exception
Sets the name of this extension object. This operation is not supported, since you can not change the datastore standard extension name.
Overrides:
setName in class dkAbstractDatastoreExt
Parameters:
extName - name of this extension object.

isSupported

public boolean isSupported(java.lang.String functionName)
                    throws java.lang.Exception
Query if the given function name is supported by this extension.
Overrides:
isSupported in class dkAbstractDatastoreExt
Parameters:
functionName - the name of the function providing this features
Returns:
true if this function is supported

listFunctions

public java.lang.String[] listFunctions()
                                 throws java.lang.Exception
Lists all supported function-names from this extension.
Overrides:
listFunctions in class dkAbstractDatastoreExt
Returns:
an array of supported function names, or null if there is no function supported

getCommonPrivilege

public DKCommonPrivilege getCommonPrivilege()
                                     throws java.lang.Exception,
                                            DKException,
                                            DKUsageError,
                                            DKDatastoreAccessError
Gets the commmon privilege of a specific datastore.
Overrides:
getCommonPrivilege in class dkAbstractDatastoreExt
Returns:
a DKCommonPrivilege object

EIP Java APIs

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