You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

62 lines
1.1 KiB

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

package mvc»ù´¡2;
/**
* å¾ä¹¦æŽ§åˆ¶å™¨ç±»ï¼ˆControllerå±ï¼‰ å<><C3A5>è°ƒModelå±åŒViewå±ï¼Œå¤„ç<E2809E>†ç”¨æˆ·è¯·æ±å¹¶è¿”åžç»“æž?
* @author The Administrator
* @version 1.0
* @created 26-10ÔÂ-2025 22:50:57
*/
class BookController {
/**
* æ•°æ<C2B0>®è®¿é—®å¯¹è±¡ï¼ˆä¾<C3A4>èµDAOå±ï¼‰
*/
private BookDAO bookDAO;
/**
* æŒ<C3A6>有ModelåŒView的引用(关è<C2B3>”关系ï¼?
*/
private Book model;
private BookView view;
public BookView m_BookView;
public BookController(){
}
public void finalize() throws Throwable {
}
/**
* æž„é€ æ¹æ³•:åˆ<C3A5>å§åŒæŽ§åˆ¶å™¨ï¼Œå…³è<C2B3>”模åžåŒè§†å¾
*
* @param model 图书模型对象
* @param view 图书视图对象
*/
public BookController(Book model, BookView view){
}
/**
* 展示所有å¾ä¹¦ä¿¡æ<C2A1>?
*/
public void showAllBooks(){
}
/**
* 展示å<C2BA>•本å¾ä¹¦ä¿¡æ<C2A1>¯
*
* @param id å¾ä¹¦ID
*/
public void showBook(int id){
}
/**
* 处ç<E2809E>†ç”¨æˆ·äº¤äºæµ<C3A6>ç¨ï¼ˆè<CB86>œå<C593>•循环)
*/
public void start(){
}
}//end BookController