ooodev.adapter.sdb.sql_error_broadcaster_partial module

class ooodev.adapter.sdb.sql_error_broadcaster_partial.SQLErrorBroadcasterPartial(component, interface=com.sun.star.sdb.XSQLErrorBroadcaster)[source]

Bases: object

Partial Class for XSQLErrorBroadcaster.

Parameters:
  • component (XSQLErrorBroadcaster) –

  • interface (UnoInterface | None) –

__init__(component, interface=com.sun.star.sdb.XSQLErrorBroadcaster)[source]

Constructor

Parameters:
  • component (XSQLErrorBroadcaster) – UNO Component that implements com.sun.star.sdb.XSQLErrorBroadcaster. interface (UnoInterface, optional): The interface to be validated. Defaults to None.

  • interface (UnoInterface | None) –

Return type:

None

add_sql_error_listener(listener)[source]

Adds the specified listener to receive the event “errorOccurred”

Return type:

None

Parameters:

listener (com.sun.star.sdb.XSQLErrorListener) –

remove_sql_error_listener(listener)[source]

Removes the specified listener.

Return type:

None

Parameters:

listener (com.sun.star.sdb.XSQLErrorListener) –