📄 adminpostsetform.java
字号:
package com.laoer.bbscs.web.form;
import javax.servlet.http.*;
import org.apache.commons.lang.*;
import org.apache.struts.action.*;
import com.laoer.bbscs.comm.BBSCSUtil;
public class AdminPostSetForm
extends ActionForm {
private String action;
private int editPostLimit;
private int editPostTitleLimit;
private int logIP;
private int postCheckTime;
private int postMaxSize;
private int postMinSize;
private int quoteMaxSize;
private int editInterface;
private int usePostPeriodOfTime;
private int postPeriodOfTimeDay;
private int postPeriodOfTimeStart;
private int postPeriodOfTimeEnd;
public String getAction() {
return action;
}
public void setAction(String action) {
this.action = action;
}
public void setQuoteMaxSize(int quoteMaxSize) {
this.quoteMaxSize = quoteMaxSize;
}
public void setPostMinSize(int postMinSize) {
this.postMinSize = postMinSize;
}
public void setPostMaxSize(int postMaxSize) {
this.postMaxSize = postMaxSize;
}
public void setPostCheckTime(int postCheckTime) {
this.postCheckTime = postCheckTime;
}
public void setLogIP(int logIP) {
this.logIP = logIP;
}
public void setEditPostTitleLimit(int editPostTitleLimit) {
this.editPostTitleLimit = editPostTitleLimit;
}
public void setEditPostLimit(int editPostLimit) {
this.editPostLimit = editPostLimit;
}
public void setEditInterface(int editInterface) {
this.editInterface = editInterface;
}
public void setUsePostPeriodOfTime(int usePostPeriodOfTime) {
this.usePostPeriodOfTime = usePostPeriodOfTime;
}
public void setPostPeriodOfTimeDay(int postPeriodOfTimeDay) {
this.postPeriodOfTimeDay = postPeriodOfTimeDay;
}
public void setPostPeriodOfTimeStart(int postPeriodOfTimeStart) {
this.postPeriodOfTimeStart = postPeriodOfTimeStart;
}
public void setPostPeriodOfTimeEnd(int postPeriodOfTimeEnd) {
this.postPeriodOfTimeEnd = postPeriodOfTimeEnd;
}
public int getEditPostLimit() {
return editPostLimit;
}
public int getEditPostTitleLimit() {
return editPostTitleLimit;
}
public int getLogIP() {
return logIP;
}
public int getPostCheckTime() {
return postCheckTime;
}
public int getPostMaxSize() {
return postMaxSize;
}
public int getPostMinSize() {
return postMinSize;
}
public int getQuoteMaxSize() {
return quoteMaxSize;
}
public int getEditInterface() {
return editInterface;
}
public int getUsePostPeriodOfTime() {
return usePostPeriodOfTime;
}
public int getPostPeriodOfTimeDay() {
return postPeriodOfTimeDay;
}
public int getPostPeriodOfTimeStart() {
return postPeriodOfTimeStart;
}
public int getPostPeriodOfTimeEnd() {
return postPeriodOfTimeEnd;
}
public ActionErrors validate(ActionMapping actionMapping, HttpServletRequest httpServletRequest) {
if (StringUtils.isBlank(this.action)) {
this.action = "index";
}
httpServletRequest.setAttribute("hourValues", BBSCSUtil.getHourValues());
return null;
}
public void reset(ActionMapping actionMapping, HttpServletRequest servletRequest) {
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -