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