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