|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.opencms.db.generic.CmsUserDriver
org.opencms.db.oracle.CmsUserDriver
public class CmsUserDriver
Oracle implementation of the user driver methods.
| Field Summary |
|---|
| Fields inherited from class org.opencms.db.generic.CmsUserDriver |
|---|
m_digest, m_digestAlgorithm, m_digestFileEncoding, m_driverManager, m_sqlManager, ORGUNIT_BASE_FOLDER, REQ_ATTR_DONT_DIGEST_PASSWORD |
| Fields inherited from interface org.opencms.db.I_CmsUserDriver |
|---|
DRIVER_TYPE_ID |
| Fields inherited from interface org.opencms.db.I_CmsDriver |
|---|
AND_CONDITION, BEGIN_CONDITION, BEGIN_EXCLUDE_CONDITION, BEGIN_INCLUDE_CONDITION, END_CONDITION, OR_CONDITION |
| Constructor Summary | |
|---|---|
CmsUserDriver()
|
|
| Method Summary | |
|---|---|
CmsUserQueryBuilder |
createUserQueryBuilder()
Creates a new user query builder. |
static java.io.OutputStream |
getOutputStreamFromBlob(java.sql.ResultSet res,
java.lang.String name)
Generates an Output stream that writes to a blob, also truncating the existing blob if required. |
CmsSqlManager |
initSqlManager(java.lang.String classname)
Initializes the SQL manager for this driver. |
protected void |
internalUpdateUserInfo(CmsDbContext dbc,
CmsUUID userId,
java.lang.String key,
java.lang.Object value)
Updates additional user info. |
protected void |
internalUpdateUserInfoData(CmsDbContext dbc,
CmsUUID userId,
java.lang.String key,
java.lang.Object value)
Updates the given user information entry. |
protected void |
internalWriteUserInfo(CmsDbContext dbc,
CmsUUID userId,
java.lang.String key,
java.lang.Object value)
Writes a new additional user info. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.opencms.db.I_CmsDriver |
|---|
toString |
| Constructor Detail |
|---|
public CmsUserDriver()
| Method Detail |
|---|
public static java.io.OutputStream getOutputStreamFromBlob(java.sql.ResultSet res,
java.lang.String name)
throws java.sql.SQLException
Apparently Oracle requires some non-standard handling here.
res - the result set where the blob is located inname - the name of the database column where the blob is located
java.sql.SQLException - if something goes wringpublic CmsUserQueryBuilder createUserQueryBuilder()
CmsUserDriver
createUserQueryBuilder in class CmsUserDriverCmsUserDriver.createUserQueryBuilder()public CmsSqlManager initSqlManager(java.lang.String classname)
I_CmsUserDriverTo obtain JDBC connections from different pools, further {online|offline|history} pool Urls have to be specified.
initSqlManager in interface I_CmsUserDriverinitSqlManager in class CmsUserDriverclassname - the classname of the SQL manager
I_CmsUserDriver.initSqlManager(String)
protected void internalUpdateUserInfo(CmsDbContext dbc,
CmsUUID userId,
java.lang.String key,
java.lang.Object value)
throws CmsDataAccessException
internalUpdateUserInfo in class CmsUserDriverdbc - the current dbcuserId - the user id to add the user info forkey - the name of the additional user infovalue - the value of the additional user info
CmsDataAccessException - if something goes wrong
protected void internalUpdateUserInfoData(CmsDbContext dbc,
CmsUUID userId,
java.lang.String key,
java.lang.Object value)
throws CmsDataAccessException
dbc - the current database contextuserId - the id of the user to updatekey - the user info entry keyvalue - the user info entry value
CmsDataAccessException - if something goes wrong
protected void internalWriteUserInfo(CmsDbContext dbc,
CmsUUID userId,
java.lang.String key,
java.lang.Object value)
throws CmsDataAccessException
internalWriteUserInfo in class CmsUserDriverdbc - the current dbcuserId - the user id to add the user info forkey - the name of the additional user infovalue - the value of the additional user info
CmsDataAccessException - if something goes wrong
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||