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

📄 topicsessioncontainer.java

📁 struts+hibernate BBS mysql数据库 功能基本齐全
💻 JAVA
字号:
package com.elan.forum.actions.util;

import javax.servlet.http.HttpSessionBindingEvent;
import javax.servlet.http.HttpSessionBindingListener;

import com.elan.forum.model.ForumTopic;
import com.elan.forum.model.Forummodule;
import com.elan.forum.model.Forumpiece;
import com.elan.forum.model.Forumtopicreply;

public class TopicSessionContainer implements HttpSessionBindingListener {

	private String lastReuqestUrl;
	private Integer moduleId;
	private Integer pieceId;
	private Integer topicId;
	private Forummodule module;
	private Forumpiece piece;
	private ForumTopic topic;
	private Forumtopicreply replyTopic;

	public TopicSessionContainer(String lastReuqestUrl, Integer moduleId,
			Integer pieceId, Integer topicId, Forummodule module,
			Forumpiece piece, ForumTopic topic, Forumtopicreply replyTopic) {
		super();
		this.lastReuqestUrl = lastReuqestUrl;
		this.moduleId = moduleId;
		this.pieceId = pieceId;
		this.topicId = topicId;
		this.module = module;
		this.piece = piece;
		this.topic = topic;
		this.replyTopic = replyTopic;
	}

	public TopicSessionContainer(String lastReuqestUrl, Integer moduleId,
			Integer pieceId, Integer topicId) {
		super();
		this.lastReuqestUrl = lastReuqestUrl;
		this.moduleId = moduleId;
		this.pieceId = pieceId;
		this.topicId = topicId;
	}

	public TopicSessionContainer(Integer moduleId, Integer pieceId,
			Integer topicId) {
		this.moduleId = moduleId;
		this.pieceId = pieceId;
		this.topicId = topicId;
	}

	public String getLastReuqestUrl() {
		return lastReuqestUrl;
	}

	public void setLastReuqestUrl(String lastReuqestUrl) {
		this.lastReuqestUrl = lastReuqestUrl;
	}

	public Integer getModuleId() {
		return moduleId;
	}

	public void setModuleId(Integer moduleId) {
		this.moduleId = moduleId;
	}

	public Integer getPieceId() {
		return pieceId;
	}

	public void setPieceId(Integer pieceId) {
		this.pieceId = pieceId;
	}

	public Integer getTopicId() {
		return topicId;
	}

	public void setTopicId(Integer topicId) {
		this.topicId = topicId;
	}

	public Forummodule getModule() {
		return module;
	}

	public void setModule(Forummodule module) {
		this.module = module;
	}

	public Forumpiece getPiece() {
		return piece;
	}

	public void setPiece(Forumpiece piece) {
		this.piece = piece;
	}

	public ForumTopic getTopic() {
		return topic;
	}

	public void setTopic(ForumTopic topic) {
		this.topic = topic;
	}

	public Forumtopicreply getReplyTopic() {
		return replyTopic;
	}

	public void setReplyTopic(Forumtopicreply replyTopic) {
		this.replyTopic = replyTopic;
	}

	public void valueBound(HttpSessionBindingEvent arg0) {

	}

	public void valueUnbound(HttpSessionBindingEvent arg0) {

	}

}

⌨️ 快捷键说明

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