Package org.opencms.db.mssql
Class CmsUserDriver
java.lang.Object
org.opencms.db.generic.CmsUserDriver
org.opencms.db.mssql.CmsUserDriver
- All Implemented Interfaces:
I_CmsDriver
,I_CmsUserDriver
MS SQL implementation of the user driver methods.
- Since:
- 6.0.0
-
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_CmsDriver
AND_CONDITION, BEGIN_CONDITION, BEGIN_EXCLUDE_CONDITION, BEGIN_INCLUDE_CONDITION, END_CONDITION, OR_CONDITION
Fields inherited from interface org.opencms.db.I_CmsUserDriver
DRIVER_TYPE_ID
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreates a new user query builder.initSqlManager
(String classname) Initializes the SQL manager for this driver.static boolean
Returns true if the user driver has been instantiated.Methods inherited from class org.opencms.db.generic.CmsUserDriver
addResourceToOrganizationalUnit, countUsers, createAccessControlEntry, createGroup, createOrganizationalUnit, createRoleQuery, createRootOrganizationalUnit, createUser, createUserInGroup, createUserQuery, deleteGroup, deleteOrganizationalUnit, deleteUser, deleteUserInfos, deleteUserInGroup, destroy, existsGroup, existsUser, fillDefaults, getGroups, getOrganizationalUnits, getResourcesForOrganizationalUnit, getSqlManager, getUsers, getUsersWithoutAdditionalInfo, init, internalCreateAce, internalCreateAce, internalCreateDefaultGroups, internalCreateGroup, internalCreateOrgUnitFromResource, internalCreateResourceForOrgUnit, internalCreateUser, internalDeleteOrgUnitResource, internalDeleteUserInfo, internalGetUsers, internalOrgUnitFolder, internalResourcesForOrgUnit, internalUpdateRoleGroup, internalUpdateUserInfo, internalValidateResourceForOrgUnit, internalValidateUserInGroup, internalWriteOrgUnitProperty, internalWriteUserInfo, internalWriteUserInfos, publishAccessControlEntries, readAccessControlEntries, readAccessControlEntry, readChildGroups, readGroup, readGroup, readGroupsOfUser, readOrganizationalUnit, readUser, readUser, readUser, readUserInfos, readUsersOfGroup, removeAccessControlEntries, removeAccessControlEntriesForPrincipal, removeAccessControlEntry, removeResourceFromOrganizationalUnit, searchUsers, setDriverManager, setSqlManager, setUsersOrganizationalUnit, writeAccessControlEntry, writeGroup, writeOrganizationalUnit, writePassword, writeUser, writeUserInfo
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 Details
-
CmsUserDriver
public CmsUserDriver()Creates a new driver instance.
-
-
Method Details
-
isInstantiated
Returns true if the user driver has been instantiated.We use this to check whether the used database is MSSQL. TODO: Make lazy user lists work with MSSQL, too.
- Returns:
- true if the user driver has been instantiated
-
createUserQueryBuilder
Description copied from class:CmsUserDriver
Creates a new user query builder.- Overrides:
createUserQueryBuilder
in classCmsUserDriver
- Returns:
- the new user query builder
- See Also:
-
initSqlManager
Description copied from interface:I_CmsUserDriver
Initializes the SQL manager for this driver.To obtain JDBC connections from different pools, further {online|offline|history} pool Urls have to be specified.
- Specified by:
initSqlManager
in interfaceI_CmsUserDriver
- Overrides:
initSqlManager
in classCmsUserDriver
- Parameters:
classname
- the classname of the SQL manager- Returns:
- the SQL manager for this driver
- See Also:
-