?? adminpostform.java
字號:
package src.com.laoer.bbscs.web.form;
import org.apache.struts.action.*;
import javax.servlet.http.*;
/**
* <p>Title: TianYi BBS</p>
* <p>Description: TianYi BBS System</p>
* <p>Copyright: Copyright (c) 2004</p>
* <p>Company: LAOER.COM/TIANYISOFT.NET</p>
* @author laoer
* @version 6.0
*/
public class AdminPostForm
extends ActionForm {
private String action;
private int cachemaxlifetime;
private int cachemaxsize;
private int forumpernum;
private int htmledit;
private int indexall;
private int indextime;
private int posthtml;
private int postmaxsize;
private int postpernum;
private int postubb;
private int upfile;
private String upfilename;
private int upfilesize;
private int upimghigh;
private int upimgwith;
private int postminsize;
private int votenum;
private int posttitlemax;
private int voteexp;
public String getAction() {
return action;
}
public void setAction(String action) {
this.action = action;
}
public int getCachemaxlifetime() {
return cachemaxlifetime;
}
public void setCachemaxlifetime(int cachemaxlifetime) {
this.cachemaxlifetime = cachemaxlifetime;
}
public int getCachemaxsize() {
return cachemaxsize;
}
public void setCachemaxsize(int cachemaxsize) {
this.cachemaxsize = cachemaxsize;
}
public int getForumpernum() {
return forumpernum;
}
public void setForumpernum(int forumpernum) {
this.forumpernum = forumpernum;
}
public int getHtmledit() {
return htmledit;
}
public void setHtmledit(int htmledit) {
this.htmledit = htmledit;
}
public int getIndexall() {
return indexall;
}
public void setIndexall(int indexall) {
this.indexall = indexall;
}
public int getIndextime() {
return indextime;
}
public void setIndextime(int indextime) {
this.indextime = indextime;
}
public int getPosthtml() {
return posthtml;
}
public void setPosthtml(int posthtml) {
this.posthtml = posthtml;
}
public int getPostmaxsize() {
return postmaxsize;
}
public void setPostmaxsize(int postmaxsize) {
this.postmaxsize = postmaxsize;
}
public int getPostpernum() {
return postpernum;
}
public void setPostpernum(int postpernum) {
this.postpernum = postpernum;
}
public int getPostubb() {
return postubb;
}
public void setPostubb(int postubb) {
this.postubb = postubb;
}
public int getUpfile() {
return upfile;
}
public void setUpfile(int upfile) {
this.upfile = upfile;
}
public String getUpfilename() {
return upfilename;
}
public void setUpfilename(String upfilename) {
this.upfilename = upfilename;
}
public int getUpfilesize() {
return upfilesize;
}
public void setUpfilesize(int upfilesize) {
this.upfilesize = upfilesize;
}
public int getUpimghigh() {
return upimghigh;
}
public void setUpimghigh(int upimghigh) {
this.upimghigh = upimghigh;
}
public int getUpimgwith() {
return upimgwith;
}
public void setUpimgwith(int upimgwith) {
this.upimgwith = upimgwith;
}
public ActionErrors validate(ActionMapping actionMapping,
HttpServletRequest httpServletRequest) {
ActionErrors errors = new ActionErrors();
if (action == null || action.length() == 0) {
action = "edit";
}
return errors;
}
public void reset(ActionMapping actionMapping,
HttpServletRequest httpServletRequest) {
}
public int getPostminsize() {
return postminsize;
}
public void setPostminsize(int postminsize) {
this.postminsize = postminsize;
}
public int getVotenum() {
return votenum;
}
public void setVotenum(int votenum) {
this.votenum = votenum;
}
public int getPosttitlemax() {
return posttitlemax;
}
public void setPosttitlemax(int posttitlemax) {
this.posttitlemax = posttitlemax;
}
public int getVoteexp() {
return voteexp;
}
public void setVoteexp(int voteexp) {
this.voteexp = voteexp;
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -