commentservice.java
来自「达内网上购物系统」· Java 代码 · 共 40 行
JAVA
40 行
package org.whatisjava.dang.service;
import java.util.List;
import org.whatisjava.dang.domain.Comment;
import org.whatisjava.dang.domain.CommentReply;
import org.whatisjava.dang.domain.Product;
import org.whatisjava.dang.domain.User;
public class CommentService {
public void createComment(Comment comment) {
}
public Comment getCommentById(Integer id, boolean withReplay) {
return null;
}
public Comment getCommentById(Integer id) {
return this.getCommentById(id, false);
}
public void createReply(CommentReply reply) {
}
public List<?> findCommentByUser(User user, boolean withReply) {
return null;
}
public List<?> findReplyByUser(User user) {
return null;
}
public List<?> findCommentByProduct(Product product, boolean withReply) {
return null;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?