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