LibreOffice Module dbaccess (master) 1
Public Member Functions | List of all members
dbaui::LegacyInteractionHandler Class Reference

an implementation for the legacy css.sdb.InteractionHandler More...

#include <dbinteraction.hxx>

Inheritance diagram for dbaui::LegacyInteractionHandler:
[legend]
Collaboration diagram for dbaui::LegacyInteractionHandler:
[legend]

Public Member Functions

 LegacyInteractionHandler (const css::uno::Reference< css::uno::XComponentContext > &rxContext)
 
 DECLARE_SERVICE_INFO ()
 
- Public Member Functions inherited from dbaui::BasicInteractionHandler
 BasicInteractionHandler (const css::uno::Reference< css::uno::XComponentContext > &rxContext, const bool i_bFallbackToGeneric)
 
virtual void SAL_CALL initialize (const css::uno::Sequence< css::uno::Any > &rArgs) override
 
virtual sal_Bool SAL_CALL handleInteractionRequest (const css::uno::Reference< css::task::XInteractionRequest > &Request) override
 
virtual void SAL_CALL handle (const css::uno::Reference< css::task::XInteractionRequest > &Request) override
 

Additional Inherited Members

- Protected Types inherited from dbaui::BasicInteractionHandler
enum  Continuation {
  APPROVE ,
  DISAPPROVE ,
  RETRY ,
  ABORT ,
  SUPPLY_PARAMETERS ,
  SUPPLY_DOCUMENTSAVE
}
 known continuation types More...
 
- Protected Member Functions inherited from dbaui::BasicInteractionHandler
bool impl_handle_throw (const css::uno::Reference< css::task::XInteractionRequest > &i_Request)
 
void implHandle (const css::sdb::ParametersRequest &_rParamRequest, const css::uno::Sequence< css::uno::Reference< css::task::XInteractionContinuation > > &_rContinuations)
 handle parameter requests More...
 
void implHandle (const css::sdb::DocumentSaveRequest &_rParamRequest, const css::uno::Sequence< css::uno::Reference< css::task::XInteractionContinuation > > &_rContinuations)
 handle document save requests More...
 
bool implHandleUnknown (const css::uno::Reference< css::task::XInteractionRequest > &_rxRequest)
 handles requests which are not SDB-specific More...
 
- Static Protected Member Functions inherited from dbaui::BasicInteractionHandler
static void implHandle (const ::dbtools::SQLExceptionInfo &_rSqlInfo, const css::uno::Sequence< css::uno::Reference< css::task::XInteractionContinuation > > &_rContinuations)
 handle SQLExceptions (and derived classes) More...
 
static sal_Int32 getContinuation (Continuation _eCont, const css::uno::Sequence< css::uno::Reference< css::task::XInteractionContinuation > > &_rContinuations)
 check if a given continuation sequence contains a given continuation type More...
 

Detailed Description

an implementation for the legacy css.sdb.InteractionHandler

css.sdb.InteractionHandler is deprecated, as it does not only handle database related interactions, but also delegates all kind of unknown requests to a css.task.InteractionHandler.

In today's architecture, there's only one central css.task.InteractionHandler, which is to be used for all requests. Depending on configuration information, it decides which handler implementation to delegate a request to.

SQLExceptionInteractionHandler is the delegatee which handles only database related interactions. LegacyInteractionHandler is the version which first checks for a database related interaction, and forwards everything else to the css.task.InteractionHandler.

Definition at line 152 of file dbinteraction.hxx.

Constructor & Destructor Documentation

◆ LegacyInteractionHandler()

dbaui::LegacyInteractionHandler::LegacyInteractionHandler ( const css::uno::Reference< css::uno::XComponentContext > &  rxContext)
inlineexplicit

Definition at line 155 of file dbinteraction.hxx.

Member Function Documentation

◆ DECLARE_SERVICE_INFO()

dbaui::LegacyInteractionHandler::DECLARE_SERVICE_INFO ( )

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