Lines Matching refs:OUString

52 				const ::rtl::OUString& _Name  in OMySQLUser()
71 …PASSWORD), PROPERTY_ID_PASSWORD,0,&m_Password,::getCppuType(static_cast< ::rtl::OUString*>(NULL))); in construct()
87 sal_Int32 SAL_CALL OMySQLUser::getPrivileges( const ::rtl::OUString& objName, sal_Int32 objType ) t… in getPrivileges()
97 void OMySQLUser::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 OMySQLUser::getGrantablePrivileges( const ::rtl::OUString& objName, sal_Int32 ob… in getGrantablePrivileges()
221 void SAL_CALL OMySQLUser::grantPrivileges( const ::rtl::OUString& objName, sal_Int32 objType, sal_I… in grantPrivileges()
226 const ::rtl::OUString sError( aResources.getResourceString(STR_PRIVILEGE_NOT_GRANTED)); in grantPrivileges()
232 ::rtl::OUString sPrivs = getPrivilegeString(objPrivileges); in grantPrivileges()
235 ::rtl::OUString sGrant; in grantPrivileges()
236 sGrant += ::rtl::OUString::createFromAscii("GRANT "); in grantPrivileges()
238 sGrant += ::rtl::OUString::createFromAscii(" ON "); in grantPrivileges()
241 sGrant += ::rtl::OUString::createFromAscii(" TO "); in grantPrivileges()
251 void SAL_CALL OMySQLUser::revokePrivileges( const ::rtl::OUString& objName, sal_Int32 objType, sal_… in revokePrivileges()
256 const ::rtl::OUString sError( aResources.getResourceString(STR_PRIVILEGE_NOT_REVOKED)); in revokePrivileges()
262 ::rtl::OUString sPrivs = getPrivilegeString(objPrivileges); in revokePrivileges()
265 ::rtl::OUString sGrant; in revokePrivileges()
266 sGrant += ::rtl::OUString::createFromAscii("REVOKE "); in revokePrivileges()
268 sGrant += ::rtl::OUString::createFromAscii(" ON "); in revokePrivileges()
271 sGrant += ::rtl::OUString::createFromAscii(" FROM "); in revokePrivileges()
282 …d SAL_CALL OMySQLUser::changePassword( const ::rtl::OUString& /*oldPassword*/, const ::rtl::OUStri… in changePassword() argument
286 ::rtl::OUString sAlterPwd; in changePassword()
287 sAlterPwd = ::rtl::OUString::createFromAscii("SET PASSWORD FOR "); in changePassword()
289 sAlterPwd += ::rtl::OUString::createFromAscii("@\"%\" = PASSWORD('") ; in changePassword()
291 sAlterPwd += ::rtl::OUString::createFromAscii("')") ; in changePassword()
302 ::rtl::OUString OMySQLUser::getPrivilegeString(sal_Int32 nRights) const in getPrivilegeString()
304 ::rtl::OUString sPrivs; in getPrivilegeString()
306 sPrivs += ::rtl::OUString::createFromAscii("INSERT"); in getPrivilegeString()
311 sPrivs += ::rtl::OUString::createFromAscii(","); in getPrivilegeString()
312 sPrivs += ::rtl::OUString::createFromAscii("DELETE"); in getPrivilegeString()
318 sPrivs += ::rtl::OUString::createFromAscii(","); in getPrivilegeString()
319 sPrivs += ::rtl::OUString::createFromAscii("UPDATE"); in getPrivilegeString()
325 sPrivs += ::rtl::OUString::createFromAscii(","); in getPrivilegeString()
326 sPrivs += ::rtl::OUString::createFromAscii("ALTER"); in getPrivilegeString()
332 sPrivs += ::rtl::OUString::createFromAscii(","); in getPrivilegeString()
333 sPrivs += ::rtl::OUString::createFromAscii("SELECT"); in getPrivilegeString()
339 sPrivs += ::rtl::OUString::createFromAscii(","); in getPrivilegeString()
340 sPrivs += ::rtl::OUString::createFromAscii("REFERENCES"); in getPrivilegeString()