Exemplo n.º 1
0
 public Notes getNotesById(int id, int inst_id, int sub_id, int div_id) {
   NotesDB db = new NotesDB();
   List<Notes> notes = db.getNotesPathById(id, inst_id, sub_id, div_id);
   if (notes != null) {
     return notes.get(0);
   }
   return null;
 }
Exemplo n.º 2
0
  public Boolean addNotes(Notes notes) {

    NotesDB db = new NotesDB();
    db.add(notes);
    return true;
  }
Exemplo n.º 3
0
 public boolean removebatchfromnotes(int inst_id, int div_id, String batchid) {
   NotesDB db = new NotesDB();
   return db.removebatchfromnotes(inst_id, div_id, batchid);
 }
Exemplo n.º 4
0
 public boolean deleteNotesRelatedToDivision(int div_d) {
   NotesDB db = new NotesDB();
   return db.deleteNotesRelatedToDivision(div_d);
 }
Exemplo n.º 5
0
 public boolean deleteNotesRelatedToSubject(int sub_id) {
   NotesDB db = new NotesDB();
   return db.deleteNotesRelatedToSubject(sub_id);
 }
Exemplo n.º 6
0
 public boolean validatenotesnamebyID(String notesname, int regID, int notesID) {
   NotesDB db = new NotesDB();
   return db.validatenotesnamebyID(notesname, regID, notesID);
 }
Exemplo n.º 7
0
 public void updatenotes(
     String notesname, int notesid, String batchids, int inst_id, int div_id, int sub_id) {
   NotesDB db = new NotesDB();
   db.updatenotes(notesname, notesid, batchids, inst_id, div_id, sub_id);
 }
Exemplo n.º 8
0
 public List<Notes> getStudentNotesPath(String batch, int subid, int classid, int div_id) {
   NotesDB notesDB = new NotesDB();
   List<Notes> list = notesDB.getStudentNotesPath(batch, subid, classid, div_id);
   return list;
 }
Exemplo n.º 9
0
 public int getNotescount(int divid, int subid, int classid, String batchids) {
   NotesDB notesDB = new NotesDB();
   return notesDB.getNotescount(divid, subid, classid, batchids);
 }
Exemplo n.º 10
0
 public List<Notes> getNotesPath(
     int divid, int subid, int classid, int currentPage, String batchids) {
   NotesDB notesDB = new NotesDB();
   List<Notes> list = notesDB.getNotesPath(divid, subid, classid, currentPage, batchids);
   return list;
 }
Exemplo n.º 11
0
  public Boolean deleteNotes(int notesid, int inst_id, int div_id, int sub_id) {

    NotesDB db = new NotesDB();
    db.deletenotes(notesid, inst_id, div_id, sub_id);
    return true;
  }