01: /* Copyright 2004 The JA-SIG Collaborative. All rights reserved.
02: * See license distributed with this file and
03: * available online at http://www.uportal.org/license.html
04: */
05:
06: package org.jasig.portal.channels.portlet;
07:
08: import org.jasig.portal.ChannelRuntimeData;
09: import org.jasig.portal.ChannelStaticData;
10: import org.jasig.portal.PortalControlStructures;
11: import org.jasig.portal.PortalEvent;
12:
13: /**
14: * Represents the channel's state including the static data, runtime data,
15: * portal event, portal control structures and a ChannelData object.
16: * @author Ken Weiner, kweiner@unicon.net
17: * @version $Revision: 34756 $
18: */
19: public class ChannelState {
20: private ChannelStaticData staticData = null;
21: private ChannelRuntimeData runtimeData = null;
22: private PortalEvent portalEvent = null;
23: private PortalControlStructures pcs = null;
24: private ChannelData channelData = new ChannelData();
25:
26: public ChannelStaticData getStaticData() {
27: return this .staticData;
28: }
29:
30: public ChannelRuntimeData getRuntimeData() {
31: return this .runtimeData;
32: }
33:
34: public PortalControlStructures getPortalControlStructures() {
35: return this .pcs;
36: }
37:
38: public PortalEvent getPortalEvent() {
39: return this .portalEvent;
40: }
41:
42: public ChannelData getChannelData() {
43: return this .channelData;
44: }
45:
46: public void setStaticData(ChannelStaticData sd) {
47: this .staticData = sd;
48: }
49:
50: public void setRuntimeData(ChannelRuntimeData rd) {
51: this .runtimeData = rd;
52: }
53:
54: public void setPortalControlStructures(PortalControlStructures pcs) {
55: this .pcs = pcs;
56: }
57:
58: public void setPortalEvent(PortalEvent ev) {
59: this .portalEvent = ev;
60: }
61:
62: public void setChannelData(ChannelData cd) {
63: this.channelData = cd;
64: }
65: }
|