Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.11
 Overview   Namespace   Class   Index   Help 

Methods of Class AccessControl


AccessControl
AccessControl(
const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > & xContext )
throw( ::com::sun::star::uno::RuntimeException );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO NO

Summary
Ctor.
Parameters
xContext
component context to retrieve access controller singleton

AccessControl
AccessControl(
const ::com::sun::star::uno::Reference< ::com::sun::star::security::XAccessController > & xController )
throw( ::com::sun::star::uno::RuntimeException );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO NO

Summary
Ctor.
Parameters
xController
access controller

AccessControl
AccessControl(
const ::cppu::AccessControl & ac )
throw( ::com::sun::star::uno::RuntimeException );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO NO

Summary
Copy ctor.
Parameters
another
object

get
const ::com::sun::star::uno::Reference< ::com::sun::star::security::XAccessController > & get() throw();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO

Summary
Returns access to the access controller reference being used.
Return
access controller

checkRuntimePermission
void checkRuntimePermission(
const ::rtl::OUString & name )
throw( ::com::sun::star::uno::RuntimeException );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO NO

Description
A com.sun.star.security.RuntimePermission is for runtime permissions. A RuntimePermission contains a name (also referred to as a "target name") but no actions list; you either have the named permission or you don't.
Parameters
name
name of permission

checkFilePermission
void checkFilePermission(
const ::rtl::OUString & url,
const ::rtl::OUString & actions )
throw( ::com::sun::star::uno::RuntimeException );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO NO

Summary
A com.sun.star.io.FilePermission represents access to a file or directory. A FilePermission consists of a file url and a set of actions valid for that pathname.
Parameters
url
file url
actions
actions list

checkSocketPermission
void checkSocketPermission(
const ::rtl::OUString & host,
const ::rtl::OUString & actions )
throw( ::com::sun::star::uno::RuntimeException );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO NO

Description
A com.sun.star.connection.SocketPermission represents access to a network via sockets. A SocketPermission consists of a host specification and a set of "actions" specifying ways to connect to that host.
Parameters
host
host and optional portrange
actions
actions list

Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.