Lines Matching refs:OUString
52 const ::rtl::OUString& _Name in OHSQLUser()
71 …PASSWORD), PROPERTY_ID_PASSWORD,0,&m_Password,::getCppuType(static_cast< ::rtl::OUString*>(NULL))); in construct()
87 sal_Int32 SAL_CALL OHSQLUser::getPrivileges( const ::rtl::OUString& objName, sal_Int32 objType ) th… in getPrivileges()
97 void OHSQLUser::findPrivilegesAndGrantPrivileges(const ::rtl::OUString& objName, sal_Int32 objType,… in findPrivilegesAndGrantPrivileges()
102 ::rtl::OUString sCatalog,sSchema,sTable; in findPrivilegesAndGrantPrivileges()
122 …xRes = xMeta->getColumnPrivileges(aCatalog,sSchema,sTable,::rtl::OUString(RTL_CONSTASCII_USTRINGPA… in findPrivilegesAndGrantPrivileges()
129 static const ::rtl::OUString sSELECT = ::rtl::OUString::createFromAscii("SELECT"); in findPrivilegesAndGrantPrivileges()
130 static const ::rtl::OUString sINSERT = ::rtl::OUString::createFromAscii("INSERT"); in findPrivilegesAndGrantPrivileges()
131 static const ::rtl::OUString sUPDATE = ::rtl::OUString::createFromAscii("UPDATE"); in findPrivilegesAndGrantPrivileges()
132 static const ::rtl::OUString sDELETE = ::rtl::OUString::createFromAscii("DELETE"); in findPrivilegesAndGrantPrivileges()
133 static const ::rtl::OUString sREAD = ::rtl::OUString::createFromAscii("READ"); in findPrivilegesAndGrantPrivileges()
134 static const ::rtl::OUString sCREATE = ::rtl::OUString::createFromAscii("CREATE"); in findPrivilegesAndGrantPrivileges()
135 static const ::rtl::OUString sALTER = ::rtl::OUString::createFromAscii("ALTER"); in findPrivilegesAndGrantPrivileges()
136 static const ::rtl::OUString sREFERENCE = ::rtl::OUString::createFromAscii("REFERENCE"); in findPrivilegesAndGrantPrivileges()
137 static const ::rtl::OUString sDROP = ::rtl::OUString::createFromAscii("DROP"); in findPrivilegesAndGrantPrivileges()
138 static const ::rtl::OUString sYes = ::rtl::OUString::createFromAscii("YES"); in findPrivilegesAndGrantPrivileges()
145 ::rtl::OUString sGrantee = xCurrentRow->getString(5); in findPrivilegesAndGrantPrivileges()
146 ::rtl::OUString sPrivilege = xCurrentRow->getString(6); in findPrivilegesAndGrantPrivileges()
147 ::rtl::OUString sGrantable = xCurrentRow->getString(7); in findPrivilegesAndGrantPrivileges()
211 sal_Int32 SAL_CALL OHSQLUser::getGrantablePrivileges( const ::rtl::OUString& objName, sal_Int32 obj… in getGrantablePrivileges()
221 void SAL_CALL OHSQLUser::grantPrivileges( const ::rtl::OUString& objName, sal_Int32 objType, sal_In… in grantPrivileges()
226 const ::rtl::OUString sError( aResources.getResourceString(STR_PRIVILEGE_NOT_GRANTED)); in grantPrivileges()
233 ::rtl::OUString sPrivs = getPrivilegeString(objPrivileges); in grantPrivileges()
236 ::rtl::OUString sGrant; in grantPrivileges()
237 sGrant += ::rtl::OUString::createFromAscii("GRANT "); in grantPrivileges()
239 sGrant += ::rtl::OUString::createFromAscii(" ON "); in grantPrivileges()
242 sGrant += ::rtl::OUString::createFromAscii(" TO "); in grantPrivileges()
252 void SAL_CALL OHSQLUser::revokePrivileges( const ::rtl::OUString& objName, sal_Int32 objType, sal_I… in revokePrivileges()
257 const ::rtl::OUString sError( aResources.getResourceString(STR_PRIVILEGE_NOT_REVOKED)); in revokePrivileges()
263 ::rtl::OUString sPrivs = getPrivilegeString(objPrivileges); in revokePrivileges()
266 ::rtl::OUString sGrant; in revokePrivileges()
267 sGrant += ::rtl::OUString::createFromAscii("REVOKE "); in revokePrivileges()
269 sGrant += ::rtl::OUString::createFromAscii(" ON "); in revokePrivileges()
272 sGrant += ::rtl::OUString::createFromAscii(" FROM "); in revokePrivileges()
283 …id SAL_CALL OHSQLUser::changePassword( const ::rtl::OUString& /*oldPassword*/, const ::rtl::OUStri… in changePassword() argument
287 ::rtl::OUString sAlterPwd; in changePassword()
288 sAlterPwd = ::rtl::OUString::createFromAscii("SET PASSWORD FOR "); in changePassword()
290 sAlterPwd += ::rtl::OUString::createFromAscii("@\"%\" = PASSWORD('") ; in changePassword()
292 sAlterPwd += ::rtl::OUString::createFromAscii("')") ; in changePassword()
303 ::rtl::OUString OHSQLUser::getPrivilegeString(sal_Int32 nRights) const in getPrivilegeString()
305 ::rtl::OUString sPrivs; in getPrivilegeString()
307 sPrivs += ::rtl::OUString::createFromAscii("INSERT"); in getPrivilegeString()
312 sPrivs += ::rtl::OUString::createFromAscii(","); in getPrivilegeString()
313 sPrivs += ::rtl::OUString::createFromAscii("DELETE"); in getPrivilegeString()
319 sPrivs += ::rtl::OUString::createFromAscii(","); in getPrivilegeString()
320 sPrivs += ::rtl::OUString::createFromAscii("UPDATE"); in getPrivilegeString()
326 sPrivs += ::rtl::OUString::createFromAscii(","); in getPrivilegeString()
327 sPrivs += ::rtl::OUString::createFromAscii("ALTER"); in getPrivilegeString()
333 sPrivs += ::rtl::OUString::createFromAscii(","); in getPrivilegeString()
334 sPrivs += ::rtl::OUString::createFromAscii("SELECT"); in getPrivilegeString()
340 sPrivs += ::rtl::OUString::createFromAscii(","); in getPrivilegeString()
341 sPrivs += ::rtl::OUString::createFromAscii("REFERENCES"); in getPrivilegeString()