示例#1
0
 def official_documents_dao(self):
     """ Gets an instance of a data access object for a certain collection """
     return GenericMongoDAO(_COLLECTION_OF_OFFICIAL_DOCUMENTS,
                            self.mongo_id)
示例#2
0
 def attendances_dao(self):
     """ Gets an instance of a data access object for a certain collection """
     return GenericMongoDAO(_COLLECTION_OF_ATTENDANCES, self.mongo_id)
示例#3
0
 def integrations_infos_dao(self):
     """ Gets an instance of a data access object for a certain collection """
     return GenericMongoDAO(_COLLECTION_OF_INTEGRATIONS_INFOS,
                            self.mongo_id)
示例#4
0
 def boards_of_staffs_dao(self):
     """ Gets an instance of a data access object for a certain collection """
     return GenericMongoDAO(_COLLECTION_OF_BOARDS_OF_STAFFS, self.mongo_id)
示例#5
0
 def weekly_schedules_dao(self):
     """ Gets an instance of a data access object for a certain collection """
     return GenericMongoDAO(_COLLECTION_OF_WEEKLY_SCHEDULES, self.mongo_id)
示例#6
0
 def grades_of_subjects_dao(self):
     """ Gets an instance of a data access object for a certain collection """
     return GenericMongoDAO(_COLLECTION_OF_GRADES_OF_SUBJECTS,
                            self.mongo_id)
示例#7
0
 def post_graduations_dao(self):
     """ Gets an instance of a data access object for a certain collection """
     return GenericMongoDAO(_COLLECTION_OF_POST_GRADUATIONS)
示例#8
0
 def final_reports_dao(self):
     """ Gets an instance of a data access object for a certain collection """
     return GenericMongoDAO(_COLLECTION_OF_FINAL_REPORTS, self.mongo_id)
示例#9
0
 def calendar_dao(self):
     """ Gets an instance of a data access object for a certain collection """
     return GenericMongoDAO(_COLLECTION_OF_CALENDAR, self.mongo_id)
示例#10
0
 def news_dao(self):
     """ Gets an instance of a data access object for a certain collection """
     return GenericMongoDAO(_COLLECTION_OF_NEWS, self.mongo_id)
示例#11
0
 def board_of_professors_dao(self):
     """ Gets an instance of a data access object for a certain collection """
     return GenericMongoDAO(_COLLECTION_OF_BOARD_OF_PROFESSORS,
                            self.mongo_id)
示例#12
0
 def publications_dao(self):
     """ Gets an instance of a data access object for a certain collection """
     return GenericMongoDAO(_COLLECTION_OF_PUBLICATIONS, self.mongo_id)
示例#13
0
 def coordinators_dao(self):
     """ Gets an instance of a data access object for a certain collection """
     return GenericMongoDAO('studentsCoordinators', self.mongo_id)
示例#14
0
 def classes_database_dao(self):
     """ Gets an instance of a data access object for a certain collection """
     return GenericMongoDAO(_COLLECTION_OF_FIRST_CLASSES, self.mongo_id)
示例#15
0
 def projects_database_dao(self):
     """ Gets an instance of a data access object for a certain collection """
     return GenericMongoDAO(_COLLECTION_OF_PROJECTS, self.mongo_id)