LibreOffice Module comphelper (master)  1
Public Member Functions | Private Member Functions | List of all members
comphelper::SimpleFileAccessInteraction Class Referencefinal

An interaction handler wrapper for simple file access. More...

#include <simplefileaccessinteraction.hxx>

Inheritance diagram for comphelper::SimpleFileAccessInteraction:
[legend]
Collaboration diagram for comphelper::SimpleFileAccessInteraction:
[legend]

Public Member Functions

 SimpleFileAccessInteraction (const css::uno::Reference< css::task::XInteractionHandler > &xHandler)
 
virtual ~SimpleFileAccessInteraction () override
 
- Public Member Functions inherited from ucbhelper::InterceptedInteraction
 InterceptedInteraction ()
 
void setInterceptedHandler (const css::uno::Reference< css::task::XInteractionHandler > &xInterceptedHandler)
 
void setInterceptions (const ::std::vector< InterceptedRequest > &lInterceptions)
 
virtual void SAL_CALL handle (const css::uno::Reference< css::task::XInteractionRequest > &xRequest) override
 

Private Member Functions

virtual ucbhelper::InterceptedInteraction::EInterceptionState intercepted (const ::ucbhelper::InterceptedInteraction::InterceptedRequest &aRequest, const css::uno::Reference< css::task::XInteractionRequest > &xRequest) override
 

Additional Inherited Members

- Public Types inherited from ucbhelper::InterceptedInteraction
enum  EInterceptionState
 
- Static Public Member Functions inherited from ucbhelper::InterceptedInteraction
static css::uno::Reference< css::task::XInteractionContinuation > extractContinuation (const css::uno::Sequence< css::uno::Reference< css::task::XInteractionContinuation > > &lContinuations, const css::uno::Type &aType)
 
- Public Attributes inherited from ucbhelper::InterceptedInteraction
 E_NOT_INTERCEPTED
 
 E_NO_CONTINUATION_FOUND
 
 E_INTERCEPTED
 
- Protected Member Functions inherited from ucbhelper::InterceptedInteraction
virtual EInterceptionState intercepted (const InterceptedRequest &rRequest, const css::uno::Reference< css::task::XInteractionRequest > &xOrgRequest)
 
- Protected Attributes inherited from ucbhelper::InterceptedInteraction
css::uno::Reference< css::task::XInteractionHandler > m_xInterceptedHandler
 
::std::vector< InterceptedRequestm_lInterceptions
 

Detailed Description

An interaction handler wrapper for simple file access.

This wrapper is to be used together with XSimpleFileAccess when you want to avoid the error messages displayed when accessing a file (the messages activated by ucphelper::cancelCommandExecution).

This wrapper is especially useful when you need to access a Web/DAV connection enabling https certificate validation and optionally enabling the authentication dialog that may be needed in these operations.

Parameters
xHandlerUsed handler, always needed. It will be used for Certificate Validation dialog or authentication dialog. The authentication is used in Web/DAV access when the server requests credentials to be accessed.

Definition at line 36 of file simplefileaccessinteraction.hxx.

Constructor & Destructor Documentation

comphelper::SimpleFileAccessInteraction::SimpleFileAccessInteraction ( const css::uno::Reference< css::task::XInteractionHandler > &  xHandler)
comphelper::SimpleFileAccessInteraction::~SimpleFileAccessInteraction ( )
overridevirtual

Definition at line 72 of file simplefileaccessinteraction.cxx.

Member Function Documentation

ucbhelper::InterceptedInteraction::EInterceptionState comphelper::SimpleFileAccessInteraction::intercepted ( const ::ucbhelper::InterceptedInteraction::InterceptedRequest aRequest,
const css::uno::Reference< css::task::XInteractionRequest > &  xRequest 
)
overrideprivatevirtual

The documentation for this class was generated from the following files: