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

📄 adminattachsetform.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 AdminAttachSetForm
    extends ActionForm {

  private String action;
  private String attachFileType;
  private int attachImgRow;
  private String attachImgType;
  private int attachmentNum;
  private int canDelAttachmentClosedPost;
  private int canDelAttachmentOverTime;
  private int reduceAttachImg;
  private int reduceAttachImgSize;
  private int viewAttachImg;
  private int attachFileSize;

  public String getAction() {
    return action;
  }

  public void setAction(String action) {
    this.action = action;
  }

  public void setViewAttachImg(int viewAttachImg) {
    this.viewAttachImg = viewAttachImg;
  }

  public void setReduceAttachImgSize(int reduceAttachImgSize) {
    this.reduceAttachImgSize = reduceAttachImgSize;
  }

  public void setReduceAttachImg(int reduceAttachImg) {
    this.reduceAttachImg = reduceAttachImg;
  }

  public void setCanDelAttachmentOverTime(int canDelAttachmentOverTime) {
    this.canDelAttachmentOverTime = canDelAttachmentOverTime;
  }

  public void setCanDelAttachmentClosedPost(int canDelAttachmentClosedPost) {
    this.canDelAttachmentClosedPost = canDelAttachmentClosedPost;
  }

  public void setAttachmentNum(int attachmentNum) {
    this.attachmentNum = attachmentNum;
  }

  public void setAttachImgType(String attachImgType) {
    this.attachImgType = attachImgType;
  }

  public void setAttachImgRow(int attachImgRow) {
    this.attachImgRow = attachImgRow;
  }

  public void setAttachFileType(String attachFileType) {
    this.attachFileType = attachFileType;
  }

  public void setAttachFileSize(int attachFileSize) {
    this.attachFileSize = attachFileSize;
  }

  public String getAttachFileType() {
    return attachFileType;
  }

  public int getAttachImgRow() {
    return attachImgRow;
  }

  public String getAttachImgType() {
    return attachImgType;
  }

  public int getAttachmentNum() {
    return attachmentNum;
  }

  public int getCanDelAttachmentClosedPost() {
    return canDelAttachmentClosedPost;
  }

  public int getCanDelAttachmentOverTime() {
    return canDelAttachmentOverTime;
  }

  public int getReduceAttachImg() {
    return reduceAttachImg;
  }

  public int getReduceAttachImgSize() {
    return reduceAttachImgSize;
  }

  public int getViewAttachImg() {
    return viewAttachImg;
  }

  public int getAttachFileSize() {
    return attachFileSize;
  }

  public ActionErrors validate(ActionMapping actionMapping, HttpServletRequest httpServletRequest) {
    if (StringUtils.isBlank(this.action)) {
      this.action = "index";
    }
    return null;
  }

  public void reset(ActionMapping actionMapping, HttpServletRequest servletRequest) {
  }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -