def getTimestampForId(self, aId): myTimeStamp = utils.processFunctionOnDb( self._myPath, self._logger, utils.getMMSTimestampForId, aId) self._logger.info('DatabaseHandler :: getTimestampForId :: ' + 'timestamp : %s', myTimeStamp) return myTimeStamp
def checkMMSValidity(self, aId): return utils.processFunctionOnDb( self._myPath, self._logger, utils.checkMMSValidity, aId)
def getAttachmentsForId(self, aId): myAttachments = utils.processFunctionOnDb( self._myPath, self._logger, utils.getMMSAttachmentsForId, aId) return myAttachments
def getMMSHeadersForId(self, aId): myHeaders = utils.processFunctionOnDb( self._myPath, self._logger, utils.getMMSHeadersForId, aId) return myHeaders
def getMMSTuplesFromDb(self): myTuples = utils.processFunctionOnDb( self._myPath, self._logger, utils.getMMSIdFromDb) return myTuples
def getDatabaseEncoding(self): myEncoding = utils.processFunctionOnDb( self._myPath, self._logger, utils.getCharsetFromDb) return myEncoding
def getSMSFromDb(self): return utils.processFunctionOnDb(self._myPath, self._logger, utils.getSMSFromDb)