covermanageform.java

来自「一个jsp写的bbs」· Java 代码 · 共 88 行

JAVA
88
字号
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 + =
减小字号Ctrl + -
显示快捷键?