attachmentactionsupport.java

来自「新技术论坛系统 v1.0 前后台管理的初始用户名 : admin 密码 123」· Java 代码 · 共 35 行

JAVA
35
字号
package com.ntsky.bbs.web.webwork.action.attachment;

import java.util.List;
import java.util.Map;

import com.ntsky.bbs.domain.Attachment;
import com.ntsky.bbs.service.AttachmentService;
import com.ntsky.bbs.web.webwork.action.BasicActionSupport;
import com.opensymphony.webwork.interceptor.SessionAware;

/**
 * 论坛附件抽象类
 *  
 * @author ntsky
 * @link www.ntsky.com
 * 
 * @version $Revision: 1.1 $ $Date: 2006/07/15 17:42:45 $
 */
public abstract class AttachmentActionSupport extends BasicActionSupport {
	
	protected AttachmentService attachmentService;
	public void setAttachmentService(AttachmentService attachmentService){
		this.attachmentService = attachmentService;
	}
	
	private List attachments;
	public void setAttachments(List attachments){
		this.attachments = attachments;
	}
	public List getAttachments(){
		return this.attachments;
	}	
	
}

⌨️ 快捷键说明

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