⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 covermanageform.java

📁 一个jsp写的bbs
💻 JAVA
字号:
package com.laoer.bbscs.web.form;

import javax.servlet.http.*;

import org.apache.commons.lang.*;
import org.apache.struts.action.*;

public class CoverManageForm
    extends ForumBaseForm {

  private String categoryID;
  private String categoryName;
  private String[] choiceIds;
  private String[] commendIds;
  private String postID;
  private int useStat;
  private int orders;

  public String getCategoryID() {
    return categoryID;
  }

  public void setCategoryID(String categoryID) {
    this.categoryID = categoryID;
  }

  public void setPostID(String postID) {
    this.postID = postID;
  }

  public void setCommendIds(String[] commendIds) {
    this.commendIds = commendIds;
  }

  public void setChoiceIds(String[] choiceIds) {
    this.choiceIds = choiceIds;
  }

  public void setCategoryName(String categoryName) {
    this.categoryName = categoryName;
  }

  public void setUseStat(int useStat) {
    this.useStat = useStat;
  }

  public void setOrders(int orders) {
    this.orders = orders;
  }

  public String getCategoryName() {
    return categoryName;
  }

  public String[] getChoiceIds() {
    return choiceIds;
  }

  public String[] getCommendIds() {
    return commendIds;
  }

  public String getPostID() {
    return postID;
  }

  public int getUseStat() {
    return useStat;
  }

  public int getOrders() {
    return orders;
  }

  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 + -