roadinspectionmanager.java

来自「Java的框架」· Java 代码 · 共 68 行

JAVA
68
字号
package mcaps.apps.prrm.roadinspection.service;

import java.util.List;

import mcaps.apps.prrm.roadinspection.dao.RoadInspectionDAO;
import mcaps.apps.prrm.roadinspection.model.RoadInspection;

/**
 * Business Service Interface for implementation that provides 
 * road inspection management service.
 * 
 * @author jov
 * @date Dec 7, 2005
 * @version 1.0.1.0
 */
/**
 * @author fenglei
 *
 */
public interface RoadInspectionManager {

	/**
	 * Set the RoadInspectionDAO
	 * @param dao the RoadInspectionDAO
	 */
	void setRoadInspectionDAO (RoadInspectionDAO dao);

	/**
	 * Retrieve road inspection by road inspection id
	 * @param id road inspection id
	 * @return Road Inspection object
	 */
	RoadInspection getRoadInspection(Integer id);

	/**
	 * Search for road inspections that matches the road inspection
	 * object.
	 * @param roadInspection
	 * @return
	 */
	List getRoadInspections(RoadInspection roadInspection);

	/**
	 * Retrieve a list of road inspection.
	 * @return
	 */
	List getAllRoadInspections();
	
	/**
	 * Saves the road inspection
	 * @param roadInspection the road inspection object to save
	 * @return the id of the road inspection saved
	 */
	void saveRoadInspection(RoadInspection roadInspection);
	
	/**
	 * Deletes a road inspection that macthes the id parameter
	 * @param id the id of the road inspection
	 */
	void removeRoadInspection(RoadInspection roadInspection);
	
	/**
	 * Submit a road inspection report
	 * @param roadInspection
	 */
	void submitRoadInspection(RoadInspection roadInspection);
}

⌨️ 快捷键说明

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