📄 notemanager.java
字号:
package com.relationinfo.service;import java.util.List;import com.relationinfo.model.Note;import com.relationinfo.dao.NoteDAO;public interface NoteManager extends Manager { /** * Setter for DAO, convenient for unit testing */ public void setNoteDAO(NoteDAO noteDAO); /** * Retrieves all of the notes */ public List getNotes(Note note); /** * Gets note's information based on notecode. * @param notecode the note's notecode * @return note populated note object */ public Note getNote(final String notecode); /** * Saves a note's information * @param note the object to be saved */ public void saveNote(Note note); /** * Removes a note from the database by notecode * @param notecode the note's notecode */ public void removeNote(final String notecode);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -