1
22
23 package com.liferay.portlet.wiki.model.impl;
24
25 import com.liferay.portlet.wiki.model.WikiPageDisplay;
26
27
33 public class WikiPageDisplayImpl implements WikiPageDisplay {
34
35 public WikiPageDisplayImpl(
36 long userId, long nodeId, String title, double version, String content,
37 String formattedContent, String format, boolean head,
38 String parentTitle, String redirectTitle, String[] attachments) {
39
40 _userId = userId;
41 _nodeId = nodeId;
42 _title = title;
43 _version = version;
44 _content = content;
45 _formattedContent = formattedContent;
46 _format = format;
47 _head = head;
48 _parentTitle = parentTitle;
49 _redirectTitle = redirectTitle;
50 _attachments = attachments;
51 }
52
53 public long getUserId() {
54 return _userId;
55 }
56
57 public void setUserId(long userId) {
58 _userId = userId;
59 }
60
61 public long getNodeId() {
62 return _nodeId;
63 }
64
65 public void setNodeId(long nodeId) {
66 _nodeId = nodeId;
67 }
68
69 public String getTitle() {
70 return _title;
71 }
72
73 public void setTitle(String title) {
74 _title = title;
75 }
76
77 public double getVersion() {
78 return _version;
79 }
80
81 public void setVersion(double version) {
82 _version = version;
83 }
84
85 public String getContent() {
86 return _content;
87 }
88
89 public void setContent(String content) {
90 _content = content;
91 }
92
93 public String getFormattedContent() {
94 return _formattedContent;
95 }
96
97 public void setFormattedContent(String formattedContent) {
98 _formattedContent = formattedContent;
99 }
100
101 public String getFormat() {
102 return _format;
103 }
104
105 public void setFormat(String format) {
106 _format = format;
107 }
108
109 public boolean getHead() {
110 return _head;
111 }
112
113 public boolean isHead() {
114 return _head;
115 }
116
117 public void setHead(boolean head) {
118 _head = head;
119 }
120
121 public String getParentTitle() {
122 return _parentTitle;
123 }
124
125 public void setParentTitle(String parentTitle) {
126 _parentTitle = parentTitle;
127 }
128
129 public String getRedirectTitle() {
130 return _redirectTitle;
131 }
132
133 public void setRedirectTitle(String redirectTitle) {
134 _redirectTitle = redirectTitle;
135 }
136
137 public String[] getAttachments() {
138 return _attachments;
139 }
140
141 public void setAttachments(String[] attachments) {
142 _attachments = attachments;
143 }
144
145 private long _userId;
146 private long _nodeId;
147 private String _title;
148 private double _version;
149 private String _content;
150 private String _formattedContent;
151 private String _format;
152 private boolean _head;
153 private String _parentTitle;
154 private String _redirectTitle;
155 private String[] _attachments;
156
157 }