Beispiel #1
0
 def removeDocument(self, docId):
     documentXmlPath = self._getDocumentPath( docId )
     document = loadDocument(documentXmlPath)
     os.remove(documentXmlPath)
     self._fireDocumentDeletedEvent(document)
Beispiel #2
0
 def getDocument(self, docId):
     documentXmlPath = self._getDocumentPath( docId )
     return loadDocument(documentXmlPath)