1
16
17 package org.apache.wsrp4j.consumer.driver;
18
19 import oasis.names.tc.wsrp.v1.types.MarkupContext;
20
21 import org.apache.wsrp4j.consumer.PortletSession;
22 import org.apache.wsrp4j.consumer.PortletWindowSession;
23
24 public class GenericPortletWindowSessionImpl implements PortletWindowSession {
25 private transient MarkupContext markupCtx = null;
27
28 private String windowID = null;
30
31 private PortletSession pSession = null;
33
34 public GenericPortletWindowSessionImpl(String windowID,
35 PortletSession pSession) {
36 this.windowID = windowID;
37 this.pSession = pSession;
38 }
39
40 public PortletSession getPortletSession() {
41 return this.pSession;
42 }
43
44 public String getWindowID() {
45 return windowID;
46 }
47
48 public void setWindowID(String windowID) {
49 this.windowID = windowID;
50 }
51
52 public MarkupContext getCachedMarkup() {
53 return markupCtx;
54 }
55
56 public void updateMarkupCache(MarkupContext markupContext) {
57 markupCtx = markupContext;
58 }
59 }