【Java开源代码栏目提醒】:文章导读:在新的一年中,各位网友都进入紧张的学习或是工作阶段。网学会员整理了Java开源代码-AuthorManager.java的相关内容供大家参考,祝大家在新的一年里工作和学习顺利!
package com.weblog.service;
import java.util.List;
import com.weblog.model.Author;
import com.weblog.dao.AuthorDao;
public interface AuthorManager{
/**
* Retrieves all of the authors
*/
public List getAuthors();
/**
* Gets author's information based on id.
* @param id the author's id
* @return author populated author object
*/
public Author getAuthor( String id);
/**
* Saves a author's information
* @param author the object to be saved
*/
public void saveAuthor(Author author);
/**
* Removes a author from the database by id
* @param id the author's id
*/
public void removeAuthor( String id);
}
上一篇:
Authorize.java
下一篇:
首鼠两端