com.ibm.mm.sdk.server
Class DKDatastoreExtJDBC
java.lang.Object
|
+--com.ibm.mm.sdk.server.dkAbstractDatastoreExt
|
+--com.ibm.mm.sdk.server.DKDatastoreExtJDBC
- All Implemented Interfaces:
- DKConstant, DKConstantJDBC, dkDatastoreExt, dkExtension, DKMessageId, DKMessageIdJDBC
- public class DKDatastoreExtJDBC
- extends dkAbstractDatastoreExt
- implements DKConstantJDBC, DKMessageIdJDBC
DKDatastoreExtJDBC is the implementation class of JDBC datastore extension object.
Fields inherited from interface com.ibm.mm.sdk.common.DKConstantJDBC |
DK_JDBC_AUTOCOMMIT_OFF, DK_JDBC_AUTOCOMMIT_ON, DK_JDBC_DATABASE_DEFAULT, DK_JDBC_DEFAULT_MIMETYPE, DK_JDBC_DSTYPE, DK_JDBC_HSTMT, DK_JDBC_OPT_AUTOCOMMIT_MODE, DK_JDBC_OPT_TXN_ISOLATION, DK_JDBC_PROPERTY_TABLE_NAME, DK_JDBC_PROPERTY_TABLE_SCHEMA, DK_JDBC_READ_COMMITTED, DK_JDBC_READ_UNCOMMITTED, DK_JDBC_REPEATABLE_READ, DK_JDBC_SERIALIZABLE, DK_JDBC_TABLE, DK_JDBC_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.DKMessageId |
For details, see the class or interface |
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 |
DKDatastoreExtJDBC
public DKDatastoreExtJDBC()
throws DKException,
java.lang.Exception
- Default constructor for DKDatastoreExtJDBC.
DKDatastoreExtJDBC
public DKDatastoreExtJDBC(dkDatastore ds)
throws DKException,
java.lang.Exception
- Constructs a DKDatastoreExtJDBC for a given datastore object.
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
(c) Copyright International Business Machines Corporation 1996, 2002. IBM Corp. All rights reserved.