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