📄 noteform.java
字号:
package com.laoer.bbscs.web.form;
import javax.servlet.http.*;
import org.apache.commons.lang.*;
import org.apache.struts.action.*;
public class NoteForm
extends BaseForm {
private String fromID;
private String id;
private String[] ids;
private String noteContext;
private String noteTitle;
private String toID;
private String toUserName;
private int needRe;
public String getFromID() {
return fromID;
}
public void setFromID(String fromID) {
this.fromID = fromID;
}
public void setToUserName(String toUserName) {
this.toUserName = toUserName;
}
public void setToID(String toID) {
this.toID = toID;
}
public void setNoteTitle(String noteTitle) {
this.noteTitle = noteTitle;
}
public void setNoteContext(String noteContext) {
this.noteContext = noteContext;
}
public void setIds(String[] ids) {
this.ids = ids;
}
public void setId(String id) {
this.id = id;
}
public void setNeedRe(int needRe) {
this.needRe = needRe;
}
public String getId() {
return id;
}
public String[] getIds() {
return ids;
}
public String getNoteContext() {
return noteContext;
}
public String getNoteTitle() {
return noteTitle;
}
public String getToID() {
return toID;
}
public String getToUserName() {
return toUserName;
}
public int getNeedRe() {
return needRe;
}
public ActionErrors validate(ActionMapping actionMapping, HttpServletRequest httpServletRequest) {
if (StringUtils.isBlank(this.getAction())) {
this.setAction("index");
}
if (this.getPage() == 0) {
this.setPage(1);
}
return null;
}
public void reset(ActionMapping actionMapping, HttpServletRequest servletRequest) {
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -