categorymanager.java

来自「个人blog struts_spring_hibernate」· Java 代码 · 共 40 行

JAVA
40
字号
package com.weblog.service;import java.util.List;import com.weblog.model.Category;import com.weblog.dao.CategoryDao;public interface CategoryManager {	/**	 * Retrieves all of the categorys	 */	public List getCategorys();	/**	 * Gets category's information based on id.	 * 	 * @param id	 *            the category's id	 * @return category populated category object	 */	public Category getCategory(Long id);	/**	 * Saves a category's information	 * 	 * @param category	 *            the object to be saved	 */	public void saveCategory(Category category);	/**	 * Removes a category from the database by id	 * 	 * @param id	 *            the category's id	 */	public void removeCategory(Long id);}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?