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

📄 aucitemaction.java

📁 基于ssh2的三者整合
💻 JAVA
字号:
package com.lixineng.action;

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

import com.lixineng.action.base.BaseActionInterface;
import com.opensymphony.xwork2.ActionContext;

public class AucItemAction extends BaseActionInterface{
	private List items;
	private List kinds;

	public String execute() throws Exception
	{
		Map session = ActionContext.getContext().getSession();
        Integer userId = (Integer)session.get("userId");
        setItems(aucService.getItemsByOwner(userId));
		setKinds(aucService.getAllKinds());
		return SUCCESS;
	}

	public void setItems(List items)
	{
		this.items = items;
	}
	public List getItems()
	{
		 return this.items;
	}

	public void setKinds(List kinds)
	{
		this.kinds = kinds;
	}
	public List getKinds()
	{
		 return this.kinds;
	}
	
	

}

⌨️ 快捷键说明

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