Beispiel #1
0
    def read_all_ideal_learn_obj(self):

        dao = learn_object_dao.Learning_object_dao()
        ideal_learn_obj_list = dao.read_all_ideal_learn_object()

        return ideal_learn_obj_list
Beispiel #2
0
    def read_all_suggested_learn_obj(self):

        dao = learn_object_dao.Learning_object_dao()
        learn_obj_list = dao.read_all_suggested_objects()

        return learn_obj_list
Beispiel #3
0
    def create_ideal_learn_obj(self, ideal_learn_obj):

        dao = learn_object_dao.Learning_object_dao()
        dao.create_ideal_learn_object(ideal_learn_obj)
Beispiel #4
0
    def read_ideal_learn_obj(self, instance_name="LO_ideal_0000001"):

        dao = learn_object_dao.Learning_object_dao()
        ideal_learn_obj = dao.read_ideal_learn_object(instance_name)

        return ideal_learn_obj
Beispiel #5
0
    def delete_repeated_temp_learn_object(self):

        dao = learn_object_dao.Learning_object_dao()
        dao.delete_repeated_temp_learn_obj()
Beispiel #6
0
    def persist_recomm_temp_learn_object(self, recomm_learn_obj_list):

        dao = learn_object_dao.Learning_object_dao()
        dao.persist_recomm_temp_learn_obj(recomm_learn_obj_list)
Beispiel #7
0
    def create_temp_learn_obj(self, list_learn_obj):

        dao = learn_object_dao.Learning_object_dao()
        dao.create_temp_learn_object(list_learn_obj)
Beispiel #8
0
    def read_recommended_learn_obj(self):

        dao = learn_object_dao.Learning_object_dao()
        rec_learn_obj_list = dao.read_recommended_objects()

        return rec_learn_obj_list
Beispiel #9
0
    def update_ideal_learn_object(self, learn_obj_ideal):

        dao = learn_object_dao.Learning_object_dao()
        dao.update_ideal_learn_obj(learn_obj_ideal)
Beispiel #10
0
    def set_ideal_learn_object_active(self, instance_name):

        dao = learn_object_dao.Learning_object_dao()
        dao.set_all_ideal_learn_obj_inactive()
        dao.set_ideal_learn_obj_active(instance_name)
Beispiel #11
0
 def save_main_ontology(self):
     dao = learn_object_dao.Learning_object_dao()
     dao.save_ontology()