예제 #1
0
 @Override
 public void createType(String name, NoteType parentNoteType) {
   NoteType t = new NoteType();
   t.setName(name);
   t.setParentType(parentNoteType);
   typeDAO.insert(t);
 }
예제 #2
0
 @Override
 public void createType(NoteType t) {
   typeDAO.insert(t);
 }