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