def lihatNIM(username): return DBManager.readfromLoginMappingMahasiswa(username)
def filterNIM(nim): info = DBManager.readfromPilihanBeasiswaByNIM(nim) return PilihanBeasiswa.checkDictResult(info)
def insertDetail(info): return DBManager.inserttoPilihanBeasiswa(info)
def login(): return DBManager.readfromLoginPenyedia()
def lihatSemua(): info = DBManager.readfromPilihanBeasiswa() return PilihanBeasiswa.checkDictResult(info)
def lihatID(username): return DBManager.readfromLoginMappingPenyedia(username)
def insertDetail(info): return DBManager.inserttoPenyediaBeasiswa(info)
def filterMinGPA(gpa): info = DBManager.readfromDetailBeasiswaByMinGPA(gpa) return (DetailBeasiswa.checkDictResult(info))
def filterAktif(id_penyedia, aktif): info = DBManager.readfromDetailBeasiswaByAktif(id_penyedia, aktif) return (DetailBeasiswa.checkDictResult(info))
def filterJurusanSemesterMinGPA(jurusan, semester, gpa): info = DBManager.readfromDetailBeasiswaByJurusanSemesterMinGPA( jurusan, semester, gpa) return (DetailBeasiswa.checkDictResult(info))
def filterSemester(semester): info = DBManager.readfromDetailBeasiswaBySemester(semester) return (DetailBeasiswa.checkDictResult(info))
def filterJurusanSemester(jurusan, semester): info = DBManager.readfromDetailBeasiswaByJurusanAndSemester( jurusan, semester) return (DetailBeasiswa.checkDictResult(info))
def filterJurusan(jurusan): info = DBManager.readfromDetailBeasiswaByJurusan(jurusan) return (DetailBeasiswa.checkDictResult(info))
def filterAll(fakultas, jurusan, semester, gpa): info = DBManager.readfromDetailBeasiswaByAllParameters( fakultas, jurusan, semester, gpa) return (DetailBeasiswa.checkDictResult(info))
def filterFakultasSemester(fakultas, semester): info = DBManager.readfromDetailBeasiswaByFakultasAndSemester( fakultas, semester) return (DetailBeasiswa.checkDictResult(info))
def countTidakAktif(id_penyedia): info = DBManager.readfromDetailBeasiswaCountTidakAktif(id_penyedia) return (DetailBeasiswa.checkDictResult(info))
def filterFakultasMinGPA(fakultas, gpa): info = DBManager.readfromDetailBeasiswaByFakultasAndMinGPA( fakultas, gpa) return (DetailBeasiswa.checkDictResult(info))
def insertDetail(info): return DBManager.inserttoDetailBeasiswa(info)
def filterID(id_penyedia): return DBManager.readfromPenyediaByID(id_penyedia)
def updateAktif(info, id_penyedia): return DBManager.updateAktifDetailBeasiswa(info, id_penyedia)
def updateDetail(info,id_penyedia): return DBManager.updatePenyediaBeasiswa(info,id_penyedia)
def lihatSemua(): info = DBManager.readfromDetailBeasiswa() info = DetailBeasiswa.checkDate(info) return (DetailBeasiswa.convertDate(info))
def lihatSemua(): return DBManager.readfromPenyedia()
def filterID(id_penyedia): info = DBManager.readfromDetailBeasiswaByID(id_penyedia) return (DetailBeasiswa.checkDictResult(info))
def filterID(id_penyedia): info = DBManager.readfromPilihanBeasiswaByIDPenyedia(id_penyedia) return PilihanBeasiswa.checkDictResult(info)
def filterFakultas(fakultas): info = DBManager.readfromDetailBeasiswaByFakultas(fakultas) return (DetailBeasiswa.checkDictResult(info))
def filterIDStatusSeleksi(id_penyedia, status_seleksi): info = DBManager.readfromPilihanBeasiswaByIDStatus( id_penyedia, status_seleksi) return PilihanBeasiswa.checkDictResult(info)
def filterFakultasJurusan(fakultas, jurusan): info = DBManager.readfromDetailBeasiswaByFakultasAndJurusan( fakultas, jurusan) return (DetailBeasiswa.checkDictResult(info))
def updateStatusSeleksi(info, id_penyedia, nim): return DBManager.updatetoPilihanBeasiswa(info, id_penyedia, nim)
def login(): return DBManager.readfromLoginMahasiswa()