summaryrefslogtreecommitdiff
path: root/offapi/com/sun/star/sdbcx/XAuthorizable.idl
diff options
context:
space:
mode:
Diffstat (limited to 'offapi/com/sun/star/sdbcx/XAuthorizable.idl')
-rw-r--r--offapi/com/sun/star/sdbcx/XAuthorizable.idl43
1 files changed, 41 insertions, 2 deletions
diff --git a/offapi/com/sun/star/sdbcx/XAuthorizable.idl b/offapi/com/sun/star/sdbcx/XAuthorizable.idl
index 771e02495784..c9ba47ea424e 100644
--- a/offapi/com/sun/star/sdbcx/XAuthorizable.idl
+++ b/offapi/com/sun/star/sdbcx/XAuthorizable.idl
@@ -2,9 +2,9 @@
*
* $RCSfile: XAuthorizable.idl,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: jsc $ $Date: 2001-03-16 16:41:36 $
+ * last change: $Author: mi $ $Date: 2002-10-03 13:07:20 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -74,12 +74,22 @@
// DocMerge from xml: interface com::sun::star::sdbcx::XAuthorizable
/** is used for accessing and setting the permissions of a user for a database
object.
+ @see com::sun::star::sdbcx::PrivilegeObject
*/
interface XAuthorizable: com::sun::star::uno::XInterface
{
// DocMerge from xml: method com::sun::star::sdbcx::XAuthorizable::getPrivileges
/** retrieves the permissions for a specific object.
+ @param objName
+ the name of the object
+ @param objType
+ a value of
+ <type scope="com::sun::star::sdbcx">PrivilegeObject</Type>
+ @returns
+ the privileges
+ @throws com::sun::star::sdbc::SQLException
+ if a database access error occurs.
*/
long getPrivileges([in]string objName, [in]long objType) raises
(com::sun::star::sdbc::SQLException);
@@ -88,6 +98,15 @@ interface XAuthorizable: com::sun::star::uno::XInterface
// DocMerge from xml: method com::sun::star::sdbcx::XAuthorizable::getGrantablePrivileges
/** retrieves the permissions for a specific object, which could be granted
to other users and groups.
+ @param objName
+ the name of the object
+ @param objType
+ a value of
+ <type scope="com::sun::star::sdbcx">PrivilegeObject</Type>
+ @returns
+ the grant privileges
+ @throws com::sun::star::sdbc::SQLException
+ if a database access error occurs.
*/
long getGrantablePrivileges([in]string objName, [in]long objType) raises
(com::sun::star::sdbc::SQLException);
@@ -95,6 +114,13 @@ interface XAuthorizable: com::sun::star::uno::XInterface
// DocMerge from xml: method com::sun::star::sdbcx::XAuthorizable::grantPrivileges
/** adds additional permissions for a specific object.
+ @param objName
+ the name of the object
+ @param objType
+ a value of
+ <type scope="com::sun::star::sdbcx">PrivilegeObject</Type>
+ @throws com::sun::star::sdbc::SQLException
+ if a database access error occurs.
*/
void grantPrivileges([in]string objName, [in]long objType,
[in]long objPrivileges) raises
@@ -103,6 +129,13 @@ interface XAuthorizable: com::sun::star::uno::XInterface
// DocMerge from xml: method com::sun::star::sdbcx::XAuthorizable::revokePrivileges
/** removes permissions for a specific object from a group or user.
+ @param objName
+ the name of the object
+ @param objType
+ a value of
+ <type scope="com::sun::star::sdbcx">PrivilegeObject</Type>
+ @throws com::sun::star::sdbc::SQLException
+ if a database access error occurs.
*/
void revokePrivileges([in]string objName, [in]long objType,
[in]long objPrivileges) raises
@@ -115,6 +148,12 @@ interface XAuthorizable: com::sun::star::uno::XInterface
/*===========================================================================
$Log: not supported by cvs2svn $
+ Revision 1.4.16.1 2002/02/18 10:00:22 oj
+ #97563# parameter,return value and exception description
+
+ Revision 1.4 2001/03/16 16:41:36 jsc
+ remove interfaceheader with uik and remove [const] in method definitions
+
Revision 1.3 2000/11/08 12:43:40 mi
moved from api