1
22
23 package com.liferay.portlet.journal.model.impl;
24
25 import com.liferay.portlet.journal.model.JournalArticleDisplay;
26
27
33 public class JournalArticleDisplayImpl implements JournalArticleDisplay {
34
35 public JournalArticleDisplayImpl(
36 long id, long resourcePrimKey, long groupId, long userId,
37 String articleId, double version, String title, String description,
38 String[] availableLocales, String content, String type,
39 String structureId, String templateId) {
40
41 _id = id;
42 _resourcePrimKey = resourcePrimKey;
43 _groupId = groupId;
44 _userId = userId;
45 _articleId = articleId;
46 _version = version;
47 _title = title;
48 _description = description;
49 _availableLocales = availableLocales;
50 _content = content;
51 _type = type;
52 _structureId = structureId;
53 _templateId = templateId;
54 }
55
56 public long getId() {
57 return _id;
58 }
59
60 public long getResourcePrimKey() {
61 return _resourcePrimKey;
62 }
63
64 public long getGroupId() {
65 return _groupId;
66 }
67
68 public long getUserId() {
69 return _userId;
70 }
71
72 public String getArticleId() {
73 return _articleId;
74 }
75
76 public double getVersion() {
77 return _version;
78 }
79
80 public String getTitle() {
81 return _title;
82 }
83
84 public String getDescription() {
85 return _description;
86 }
87
88 public String[] getAvailableLocales() {
89 return _availableLocales;
90 }
91
92 public String getContent() {
93 return _content;
94 }
95
96 public void setContent(String content) {
97 _content = content;
98 }
99
100 public String getType() {
101 return _type;
102 }
103
104 public String getStructureId() {
105 return _structureId;
106 }
107
108 public void setStructureId(String structureId) {
109 _structureId = structureId;
110 }
111
112 public String getTemplateId() {
113 return _templateId;
114 }
115
116 public void setTemplateId(String templateId) {
117 _templateId = templateId;
118 }
119
120 private long _id;
121 private long _resourcePrimKey;
122 private long _groupId;
123 private long _userId;
124 private String _articleId;
125 private double _version;
126 private String _title;
127 private String _description;
128 private String[] _availableLocales;
129 private String _content;
130 private String _type;
131 private String _structureId;
132 private String _templateId;
133
134 }