Class: QgsCapabilitiesCache¶
- class qgis.server.QgsCapabilitiesCache¶
Bases:
PyQt5.QtCore.QObject
A cache for capabilities xml documents (by configuration file path)
Methods
Inserts new capabilities document (creates a copy of the document, does not take ownership)
Removes capabilities document
Returns cached capabilities document (or 0 if document for configuration file not in cache)
- childEvent(self, a0: QChildEvent | None)¶
- connectNotify(self, signal: QMetaMethod)¶
- customEvent(self, a0: QEvent | None)¶
- disconnectNotify(self, signal: QMetaMethod)¶
- insertCapabilitiesDocument(self, configFilePath: str | None, key: str | None, doc: QDomDocument | None)¶
Inserts new capabilities document (creates a copy of the document, does not take ownership)
- Parameters:
configFilePath (Optional[str]) – the project file path
key (Optional[str]) – key used to separate different version in different cache
doc (Optional[QDomDocument]) – the DOM document
- isSignalConnected(self, signal: QMetaMethod) bool ¶
- receivers(self, signal: PYQT_SIGNAL) int ¶
- removeCapabilitiesDocument(self, path: str | None)¶
Removes capabilities document
- Parameters:
path (Optional[str]) – the project file path
- searchCapabilitiesDocument(self, configFilePath: str | None, key: str | None) QDomDocument | None ¶
Returns cached capabilities document (or 0 if document for configuration file not in cache)
- Parameters:
configFilePath (Optional[str]) – the progect file path
key (Optional[str]) – key used to separate different version in different cache
- Return type:
Optional[QDomDocument]
- sender(self) QObject | None ¶
- senderSignalIndex(self) int ¶
- timerEvent(self, a0: QTimerEvent | None)¶