01: /*
02: * (C) Copyright 2000 - 2007 Nabh Information Systems, Inc.
03: *
04: * This program is free software; you can redistribute it and/or
05: * modify it under the terms of the GNU General Public License
06: * as published by the Free Software Foundation; either version 2
07: * of the License, or (at your option) any later version.
08: *
09: * This program is distributed in the hope that it will be useful,
10: * but WITHOUT ANY WARRANTY; without even the implied warranty of
11: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12: * GNU General Public License for more details.
13: *
14: * You should have received a copy of the GNU General Public License
15: * along with this program; if not, write to the Free Software
16: * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17: *
18: */
19: package com.nabhinc.portlet.htmlblock;
20:
21: import javax.xml.bind.annotation.XmlElement;
22: import javax.xml.bind.annotation.XmlRootElement;
23:
24: import com.nabhinc.portal.model.PortletWindowState;
25:
26: /**
27: *
28: *
29: * @author Padmanabh Dabke<br/>
30: * (c) 2006 Nabh Information Systems, Inc. All Rights Reserved.
31: */
32: @XmlRootElement(name="html-block-state")
33: public class HTMLBlockState extends PortletWindowState {
34: private String title = null;
35: private String content = null;
36: private String draftTitle = null;
37: private String draftContent = null;
38:
39: @XmlElement(name="content")
40: public String getContent() {
41: return content;
42: }
43:
44: public void setContent(String content) {
45: this .content = content;
46: }
47:
48: @XmlElement(name="draft-content")
49: public String getDraftContent() {
50: return draftContent;
51: }
52:
53: public void setDraftContent(String draftContent) {
54: this .draftContent = draftContent;
55: }
56:
57: @XmlElement(name="draft-title")
58: public String getDraftTitle() {
59: return draftTitle;
60: }
61:
62: public void setDraftTitle(String draftTitle) {
63: this .draftTitle = draftTitle;
64: }
65:
66: @XmlElement(name="title")
67: public String getTitle() {
68: return title;
69: }
70:
71: public void setTitle(String title) {
72: this.title = title;
73: }
74:
75: }
|