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[] 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 _attachments = attachments;
49 }
50
51 public long getUserId() {
52 return _userId;
53 }
54
55 public void setUserId(long userId) {
56 _userId = userId;
57 }
58
59 public long getNodeId() {
60 return _nodeId;
61 }
62
63 public void setNodeId(long nodeId) {
64 _nodeId = nodeId;
65 }
66
67 public String getTitle() {
68 return _title;
69 }
70
71 public void setTitle(String title) {
72 _title = title;
73 }
74
75 public double getVersion() {
76 return _version;
77 }
78
79 public void setVersion(double version) {
80 _version = version;
81 }
82
83 public String getContent() {
84 return _content;
85 }
86
87 public void setContent(String content) {
88 _content = content;
89 }
90
91 public String getFormattedContent() {
92 return _formattedContent;
93 }
94
95 public void setFormattedContent(String formattedContent) {
96 _formattedContent = formattedContent;
97 }
98
99 public String getFormat() {
100 return _format;
101 }
102
103 public void setFormat(String format) {
104 _format = format;
105 }
106
107 public boolean getHead() {
108 return _head;
109 }
110
111 public boolean isHead() {
112 return _head;
113 }
114
115 public void setHead(boolean head) {
116 _head = head;
117 }
118
119 public String[] getAttachments() {
120 return _attachments;
121 }
122
123 public void setAttachments(String[] attachments) {
124 _attachments = attachments;
125 }
126
127 private long _userId;
128 private long _nodeId;
129 private String _title;
130 private double _version;
131 private String _content;
132 private String _formattedContent;
133 private String _format;
134 private boolean _head;
135 private String[] _attachments;
136
137 }