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

📄 archiveform.java

📁 一套完整的档案管理系统
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
/*
 *
 *       "This product includes software developed by the
 *        Apache Software Foundation (http://www.apache.org/)."
 *
 */


package com.stsc.archive.file;

import java.text.ParseException;
import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionError;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.upload.FormFile;
import org.apache.struts.upload.MultipartRequestHandler;
import java.util.Date;

/**
 * Form bean for the archive page.  This form has the following fields,
 * @author Yushirui
 * @version $Revision: 1.0 $ $Date: 2003/04/14 10:42:08 $
 */

public final class ArchiveForm extends ActionForm {

	public static final String ERROR_PROPERTY_MAX_LENGTH_EXCEEDED = "org.apache.struts.webapp.upload.MaxLengthExceeded";
	//public static final String ATTRIBUTE_MAX_LENGTH_EXCEEDED = "org.apache.struts.webapp.upload.MaxLengthExceeded";
    private String action = "Create";

    // --------------------------------------------------- Instance Variables

    private String serialno			= null;
	private String temp				= null;     
    private String archivetype		= null;
    private String code				= null;
    private String category			= null;
    private String filetype			= null;
	private String title			= null;
    private String titleremark		= null;
    private String fileno			= null;
	private String literaturetype	= null;
	private String filedate			= null;
    private String pagenumber       = null;
	private String duty				= null;
	private String otherduty		= null;
	private String electronicfilename = null;
	private String attachmenttitle	= null;
	private String keyword			= null;
	private String memo				= null;
	private String annotation		= null;
	private String abstractmsg		= null;
	private String copys			= null;
	private String lendnum			= null;
	private String securityclass	= null;
	private String securityterm		= null;
	private String decryptiondate	= null;
	private String retentionperiod	= null;
	private String archivedate		= null;
	private String destroydate		= null;
    private String  archivalcode    = null;
	private String	archiveno		= null;
    private String	handover		= null;
	private String	suggest			= null;
	private String	recordtransfer	= null;
	private String	filingtrace		= null;
	private String	filingscripts	= null;
	private String	reappraisedates	= null;
	private String  attachmentpath	= null;
	private String	volumnno="";
	private String status="";
	private String deleted="";
	private String flowno="";
	private String unitno="";

	public String getUnitno() {
		return (this.unitno);
    }

    /**
     * Set the serialno.
     *
     * @param serialno The new serialno
     */
    public void setUnitno(String unitno) {
        this.unitno = unitno;
    }
//2003-06-03 add by liqf
	//write handlelog
    // ----------------------------------------------------------- Properties
	public String getFlowno() {
		return (this.flowno);
    }

    /**
     * Set the serialno.
     *
     * @param serialno The new serialno
     */
    public void setFlowno(String flowno) {
        this.flowno = flowno;
    }

    // ----------------------------------------------------------- Properties
	public String getDeleted() {
		return (this.deleted);
    }

    /**
     * Set the serialno.
     *
     * @param serialno The new serialno
     */
    public void setDeleted(String deleted) {
        this.deleted = deleted;
    }
	//2003-05-22 add by liqf
	/**
     * Return the serialno.
     */
    public String getVolumnno() {
		return (this.volumnno);
    }

    /**
     * Set the serialno.
     *
     * @param serialno The new serialno
     */
    public void setVolumnno(String volumnno) {
        this.volumnno = volumnno;
    }

    /**
     * Return the action.
     */
    public String getAction() {
		return (this.action);
    }

    /**
     * Set the action.
     *
     * @param action The new action
     */
    public void setAction(String action) {
        this.action = action;
    }
	
	//2003-05-18 add by liqf
	//设置文件保存相对路径
	 /**
     * Return the attachmentpath.
     */
    public String getAttachmentpath() {
		return (this.attachmentpath);
    }

    /**
     * Set the attachmentpath.
     *
     * @param attachmentpath The new attachmentpath
     */
    public void setAttachmentpath(String attachmentpath) {
        this.attachmentpath = attachmentpath;
    }
    /**
     * Return the serialno.
     */
    public String getSerialno() {
		return (this.serialno);
    }

    /**
     * Set the serialno.
     *
     * @param serialno The new serialno
     */
    public void setSerialno(String serialno) {
        this.serialno = serialno;
    }
	
	 public String getTemp() {
		return (this.temp);
    }

    /**
     * Set the serialno.
     *
     * @param serialno The new serialno
     */
    public void setTemp(String temp) {
        this.temp = temp;
    }
     /**
     * Return the archivetype.
     */
    public String getArchivetype() {
		return (this.archivetype);
    }

    /**
     * Set the archivetype.
     *
     * @param archivetype The new archivetype
     */
    public void setArchivetype(String archivetype) {
        this.archivetype = archivetype;
    }

    /**
     * Return the code.
     */
    public String getCode() {
		return (this.code);
    }

    /**
     * Set the code.
     *
     * @param code The new code
     */
    public void setCode(String code) {
        this.code = code;
    }

    /**
     * Return the category.
     */
    public String getCategory() {
		return (this.category);
    }

    /**
     * Set the category.
     *
     * @param category The new category
     */
    public void setCategory(String category) {
        this.category = category; 
    }

    /**
     * Return the filetype.
     */
    public String getFiletype() {
		return (this.filetype);
    }

    /**
     * Set the filetype.
     *
     * @param filetype The new filetype
     */
    public void setFiletype(String filetype) {
        this.filetype = filetype;
    }

    /**
     * Return the title.
     */
    public String getTitle() {
		return (this.title);
    }

    /**
     * Set the title.
     *
     * @param title The new title
     */
    public void setTitle(String title) {
        this.title = title;
    }

    /**
     * Return the titleremark.
     */
    public String getTitleremark() {
		return (this.titleremark);
    }

    /**
     * Set the titleremark.
     *
     * @param titleremark The new titleremark
     */
    public void setTitleremark(String titleremark) {
        this.titleremark = titleremark;
    }

    /**
     * Return the fileno.
     */
    public String getFileno() {
		return (this.fileno);
    }

    /**
     * Set the fileno.
     *
     * @param fileno The new fileno
     */
    public void setFileno(String fileno) {
        this.fileno = fileno;
    }

    /**
     * Return the literaturetype.
     */
    public String getLiteraturetype() {
		return (this.literaturetype);
    }

    /**
     * Set the literaturetype.
     *
     * @param literaturetype The new literaturetype
     */
    public void setLiteraturetype(String literaturetype) {
        this.literaturetype = literaturetype;
    }

    /**
     * Return the filedate.
     */
    public String getFiledate() {
		return (this.filedate);
    }

    /**
     * Set the filedate.
     *
     * @param filedate The new filedate
     */
    public void setFiledate(String filedate) {
        this.filedate = filedate;
    }
    /**
     * Set the filedate.
     *
     * @param filedate The new filedate
     */
    public void setFiledate(Date filedate) {
        java.text.SimpleDateFormat sdf = new java.text.SimpleDateFormat(Constants.DATEFORMAT);
		this.filedate = (filedate==null)?null:sdf.format(filedate);
    }

    /**
     * Return the pagenumber.
     */
    public String getPagenumber() {
		return (this.pagenumber);
    }

    /**
     * Set the pagenumber.
     *
     * @param pagenumber The new pagenumber
     */
    public void setPagenumber(String pagenumber) {
        this.pagenumber = pagenumber;
    }

    /**
     * Return the duty.
     */
    public String getDuty() {
		return (this.duty);
    }

    /**
     * Set the duty.
     *
     * @param duty The new duty
     */
    public void setDuty(String duty) {
        this.duty = duty;
    }

    /**
     * Return the otherduty.
     */
    public String getOtherduty() {
		return (this.otherduty);
    }

    /**
     * Set the otherduty.
     *
     * @param otherduty The new otherduty
     */
    public void setOtherduty(String otherduty) {
        this.otherduty = otherduty;
    }

    /**
     * Return the electronicfilename.
     */
    public String getElectronicfilename() {
		return (this.electronicfilename);
    }

    /**
     * Set the electronicfilename.
     *
     * @param electronicfilename The new electronicfilename
     */
    public void setElectronicfilename(String electronicfilename) {
        this.electronicfilename = electronicfilename;
    }

    /**
     * Return the attachmenttitle.
     */
    public String getAttachmenttitle() {
		return (this.attachmenttitle);
    }

    /**
     * Set the attachmenttitle.
     *
     * @param attachmenttitle The new attachmenttitle
     */
    public void setAttachmenttitle(String attachmenttitle) {
        this.attachmenttitle = attachmenttitle;
    }

    /**
     * Return the keyword.
     */
    public String getKeyword() {
		return (this.keyword);
    }

    /**
     * Set the keyword.
     *
     * @param keyword The new keyword
     */
    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    /**
     * Return the memo.
     */
    public String getMemo() {
		return (this.memo);
    }

    /**
     * Set the memo.
     *
     * @param memo The new memo
     */
    public void setMemo(String memo) {
        this.memo = memo;
    }

    /**
     * Return the annotation.
     */
    public String getAnnotation() {
		return (this.annotation);
    }

    /**
     * Set the annotation.
     *
     * @param annotation The new annotation
     */
    public void setAnnotation(String annotation) {
        this.annotation = annotation;
    }

    /**
     * Return the abstractmsg.
     */
    public String getAbstractmsg() {
		return (this.abstractmsg);
    }

    /**
     * Set the Abstract.
     *
     * @param Abstract The new Abstract
     */
    public void setAbstractmsg(String abstractmsg) {
        this.abstractmsg = abstractmsg;
    }

    /**
     * Return the copys.
     */
    public String getCopys() {
	return (this.copys);
    }

⌨️ 快捷键说明

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