Class: QgsCapabilitiesCache

class qgis.server.QgsCapabilitiesCache

Bases: PyQt5.QtCore.QObject

A cache for capabilities xml documents (by configuration file path)

Enums

Methods

childEvent
connectNotify
customEvent
disconnectNotify
insertCapabilitiesDocument Inserts new capabilities document (creates a copy of the document, does not take ownership)
isSignalConnected
receivers
removeCapabilitiesDocument Remove capabilities document
searchCapabilitiesDocument Returns cached capabilities document (or 0 if document for configuration file not in cache)
sender
senderSignalIndex
timerEvent

Signals

Attributes

childEvent()
connectNotify()
customEvent()
disconnectNotify()
insertCapabilitiesDocument(self, configFilePath: str, key: str, doc: QDomDocument)

Inserts new capabilities document (creates a copy of the document, does not take ownership)

Parameters:
  • configFilePath – the project file path
  • key – key used to separate different version in different cache
  • doc – the DOM document
isSignalConnected()
receivers()
removeCapabilitiesDocument(self, path: str)

Remove capabilities document

Parameters:path – the project file path

New in version 2.16.

searchCapabilitiesDocument(self, configFilePath: str, key: str) → QDomDocument

Returns cached capabilities document (or 0 if document for configuration file not in cache)

Parameters:
  • configFilePath – the progect file path
  • key – key used to separate different version in different cache
sender()
senderSignalIndex()
timerEvent()