001: /******************************************************************************
002: * JBoss, a division of Red Hat *
003: * Copyright 2006, Red Hat Middleware, LLC, and individual *
004: * contributors as indicated by the @authors tag. See the *
005: * copyright.txt in the distribution for a full listing of *
006: * individual contributors. *
007: * *
008: * This is free software; you can redistribute it and/or modify it *
009: * under the terms of the GNU Lesser General Public License as *
010: * published by the Free Software Foundation; either version 2.1 of *
011: * the License, or (at your option) any later version. *
012: * *
013: * This software is distributed in the hope that it will be useful, *
014: * but WITHOUT ANY WARRANTY; without even the implied warranty of *
015: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
016: * Lesser General Public License for more details. *
017: * *
018: * You should have received a copy of the GNU Lesser General Public *
019: * License along with this software; if not, write to the Free *
020: * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA *
021: * 02110-1301 USA, or see the FSF site: http://www.fsf.org. *
022: ******************************************************************************/package org.jboss.portal.wsrp.core;
023:
024: import java.io.Serializable;
025:
026: public class UpdateResponse implements Serializable {
027: protected org.jboss.portal.wsrp.core.SessionContext sessionContext;
028: protected org.jboss.portal.wsrp.core.PortletContext portletContext;
029: protected org.jboss.portal.wsrp.core.MarkupContext markupContext;
030: protected java.lang.String navigationalState;
031: protected java.lang.String newWindowState;
032: protected java.lang.String newMode;
033:
034: public UpdateResponse() {
035: }
036:
037: public UpdateResponse(
038: org.jboss.portal.wsrp.core.SessionContext sessionContext,
039: org.jboss.portal.wsrp.core.PortletContext portletContext,
040: org.jboss.portal.wsrp.core.MarkupContext markupContext,
041: java.lang.String navigationalState,
042: java.lang.String newWindowState, java.lang.String newMode) {
043: this .sessionContext = sessionContext;
044: this .portletContext = portletContext;
045: this .markupContext = markupContext;
046: this .navigationalState = navigationalState;
047: this .newWindowState = newWindowState;
048: this .newMode = newMode;
049: }
050:
051: public org.jboss.portal.wsrp.core.SessionContext getSessionContext() {
052: return sessionContext;
053: }
054:
055: public void setSessionContext(
056: org.jboss.portal.wsrp.core.SessionContext sessionContext) {
057: this .sessionContext = sessionContext;
058: }
059:
060: public org.jboss.portal.wsrp.core.PortletContext getPortletContext() {
061: return portletContext;
062: }
063:
064: public void setPortletContext(
065: org.jboss.portal.wsrp.core.PortletContext portletContext) {
066: this .portletContext = portletContext;
067: }
068:
069: public org.jboss.portal.wsrp.core.MarkupContext getMarkupContext() {
070: return markupContext;
071: }
072:
073: public void setMarkupContext(
074: org.jboss.portal.wsrp.core.MarkupContext markupContext) {
075: this .markupContext = markupContext;
076: }
077:
078: public java.lang.String getNavigationalState() {
079: return navigationalState;
080: }
081:
082: public void setNavigationalState(java.lang.String navigationalState) {
083: this .navigationalState = navigationalState;
084: }
085:
086: public java.lang.String getNewWindowState() {
087: return newWindowState;
088: }
089:
090: public void setNewWindowState(java.lang.String newWindowState) {
091: this .newWindowState = newWindowState;
092: }
093:
094: public java.lang.String getNewMode() {
095: return newMode;
096: }
097:
098: public void setNewMode(java.lang.String newMode) {
099: this.newMode = newMode;
100: }
101: }
|