def __getAllSystems(self): docSystemList = self.__database.getAllSystems() systemList = [] for document in docSystemList: systemList.append(System.convertDocument(document)) return systemList
def __getSystem(self, system): systemDoc = system.toDocument() return System.convertDocument(self.__database.findSystem(systemDoc))