📄 adminforumviewsetform.java
字号:
package com.laoer.bbscs.web.form;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionMapping;
import javax.servlet.http.HttpServletRequest;
import org.apache.commons.lang.*;
public class AdminForumViewSetForm
extends ActionForm {
private String action;
private int forumHotRes;
private int forumHotViews;
private int forumPrePage;
private int maxMultiPage;
private int postViewLength;
private int useLinkToPages;
public String getAction() {
return action;
}
public void setAction(String action) {
this.action = action;
}
public void setUseLinkToPages(int useLinkToPages) {
this.useLinkToPages = useLinkToPages;
}
public void setPostViewLength(int postViewLength) {
this.postViewLength = postViewLength;
}
public void setMaxMultiPage(int maxMultiPage) {
this.maxMultiPage = maxMultiPage;
}
public void setForumPrePage(int forumPrePage) {
this.forumPrePage = forumPrePage;
}
public void setForumHotViews(int forumHotViews) {
this.forumHotViews = forumHotViews;
}
public void setForumHotRes(int forumHotRes) {
this.forumHotRes = forumHotRes;
}
public int getForumHotRes() {
return forumHotRes;
}
public int getForumHotViews() {
return forumHotViews;
}
public int getForumPrePage() {
return forumPrePage;
}
public int getMaxMultiPage() {
return maxMultiPage;
}
public int getPostViewLength() {
return postViewLength;
}
public int getUseLinkToPages() {
return useLinkToPages;
}
public ActionErrors validate(ActionMapping actionMapping, HttpServletRequest httpServletRequest) {
if (StringUtils.isBlank(this.action)) {
this.action = "index";
}
return null;
}
public void reset(ActionMapping actionMapping, HttpServletRequest servletRequest) {
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -