001
014
015 package com.liferay.portlet.blogs.model;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import java.io.Serializable;
020
021 import java.util.ArrayList;
022 import java.util.Date;
023 import java.util.List;
024
025
032 @ProviderType
033 public class BlogsEntrySoap implements Serializable {
034 public static BlogsEntrySoap toSoapModel(BlogsEntry model) {
035 BlogsEntrySoap soapModel = new BlogsEntrySoap();
036
037 soapModel.setUuid(model.getUuid());
038 soapModel.setEntryId(model.getEntryId());
039 soapModel.setGroupId(model.getGroupId());
040 soapModel.setCompanyId(model.getCompanyId());
041 soapModel.setUserId(model.getUserId());
042 soapModel.setUserName(model.getUserName());
043 soapModel.setCreateDate(model.getCreateDate());
044 soapModel.setModifiedDate(model.getModifiedDate());
045 soapModel.setTitle(model.getTitle());
046 soapModel.setSubtitle(model.getSubtitle());
047 soapModel.setUrlTitle(model.getUrlTitle());
048 soapModel.setDescription(model.getDescription());
049 soapModel.setContent(model.getContent());
050 soapModel.setDisplayDate(model.getDisplayDate());
051 soapModel.setAllowPingbacks(model.getAllowPingbacks());
052 soapModel.setAllowTrackbacks(model.getAllowTrackbacks());
053 soapModel.setTrackbacks(model.getTrackbacks());
054 soapModel.setCoverImageCaption(model.getCoverImageCaption());
055 soapModel.setCoverImageFileEntryId(model.getCoverImageFileEntryId());
056 soapModel.setCoverImageURL(model.getCoverImageURL());
057 soapModel.setSmallImage(model.getSmallImage());
058 soapModel.setSmallImageFileEntryId(model.getSmallImageFileEntryId());
059 soapModel.setSmallImageId(model.getSmallImageId());
060 soapModel.setSmallImageURL(model.getSmallImageURL());
061 soapModel.setLastPublishDate(model.getLastPublishDate());
062 soapModel.setStatus(model.getStatus());
063 soapModel.setStatusByUserId(model.getStatusByUserId());
064 soapModel.setStatusByUserName(model.getStatusByUserName());
065 soapModel.setStatusDate(model.getStatusDate());
066
067 return soapModel;
068 }
069
070 public static BlogsEntrySoap[] toSoapModels(BlogsEntry[] models) {
071 BlogsEntrySoap[] soapModels = new BlogsEntrySoap[models.length];
072
073 for (int i = 0; i < models.length; i++) {
074 soapModels[i] = toSoapModel(models[i]);
075 }
076
077 return soapModels;
078 }
079
080 public static BlogsEntrySoap[][] toSoapModels(BlogsEntry[][] models) {
081 BlogsEntrySoap[][] soapModels = null;
082
083 if (models.length > 0) {
084 soapModels = new BlogsEntrySoap[models.length][models[0].length];
085 }
086 else {
087 soapModels = new BlogsEntrySoap[0][0];
088 }
089
090 for (int i = 0; i < models.length; i++) {
091 soapModels[i] = toSoapModels(models[i]);
092 }
093
094 return soapModels;
095 }
096
097 public static BlogsEntrySoap[] toSoapModels(List<BlogsEntry> models) {
098 List<BlogsEntrySoap> soapModels = new ArrayList<BlogsEntrySoap>(models.size());
099
100 for (BlogsEntry model : models) {
101 soapModels.add(toSoapModel(model));
102 }
103
104 return soapModels.toArray(new BlogsEntrySoap[soapModels.size()]);
105 }
106
107 public BlogsEntrySoap() {
108 }
109
110 public long getPrimaryKey() {
111 return _entryId;
112 }
113
114 public void setPrimaryKey(long pk) {
115 setEntryId(pk);
116 }
117
118 public String getUuid() {
119 return _uuid;
120 }
121
122 public void setUuid(String uuid) {
123 _uuid = uuid;
124 }
125
126 public long getEntryId() {
127 return _entryId;
128 }
129
130 public void setEntryId(long entryId) {
131 _entryId = entryId;
132 }
133
134 public long getGroupId() {
135 return _groupId;
136 }
137
138 public void setGroupId(long groupId) {
139 _groupId = groupId;
140 }
141
142 public long getCompanyId() {
143 return _companyId;
144 }
145
146 public void setCompanyId(long companyId) {
147 _companyId = companyId;
148 }
149
150 public long getUserId() {
151 return _userId;
152 }
153
154 public void setUserId(long userId) {
155 _userId = userId;
156 }
157
158 public String getUserName() {
159 return _userName;
160 }
161
162 public void setUserName(String userName) {
163 _userName = userName;
164 }
165
166 public Date getCreateDate() {
167 return _createDate;
168 }
169
170 public void setCreateDate(Date createDate) {
171 _createDate = createDate;
172 }
173
174 public Date getModifiedDate() {
175 return _modifiedDate;
176 }
177
178 public void setModifiedDate(Date modifiedDate) {
179 _modifiedDate = modifiedDate;
180 }
181
182 public String getTitle() {
183 return _title;
184 }
185
186 public void setTitle(String title) {
187 _title = title;
188 }
189
190 public String getSubtitle() {
191 return _subtitle;
192 }
193
194 public void setSubtitle(String subtitle) {
195 _subtitle = subtitle;
196 }
197
198 public String getUrlTitle() {
199 return _urlTitle;
200 }
201
202 public void setUrlTitle(String urlTitle) {
203 _urlTitle = urlTitle;
204 }
205
206 public String getDescription() {
207 return _description;
208 }
209
210 public void setDescription(String description) {
211 _description = description;
212 }
213
214 public String getContent() {
215 return _content;
216 }
217
218 public void setContent(String content) {
219 _content = content;
220 }
221
222 public Date getDisplayDate() {
223 return _displayDate;
224 }
225
226 public void setDisplayDate(Date displayDate) {
227 _displayDate = displayDate;
228 }
229
230 public boolean getAllowPingbacks() {
231 return _allowPingbacks;
232 }
233
234 public boolean isAllowPingbacks() {
235 return _allowPingbacks;
236 }
237
238 public void setAllowPingbacks(boolean allowPingbacks) {
239 _allowPingbacks = allowPingbacks;
240 }
241
242 public boolean getAllowTrackbacks() {
243 return _allowTrackbacks;
244 }
245
246 public boolean isAllowTrackbacks() {
247 return _allowTrackbacks;
248 }
249
250 public void setAllowTrackbacks(boolean allowTrackbacks) {
251 _allowTrackbacks = allowTrackbacks;
252 }
253
254 public String getTrackbacks() {
255 return _trackbacks;
256 }
257
258 public void setTrackbacks(String trackbacks) {
259 _trackbacks = trackbacks;
260 }
261
262 public String getCoverImageCaption() {
263 return _coverImageCaption;
264 }
265
266 public void setCoverImageCaption(String coverImageCaption) {
267 _coverImageCaption = coverImageCaption;
268 }
269
270 public long getCoverImageFileEntryId() {
271 return _coverImageFileEntryId;
272 }
273
274 public void setCoverImageFileEntryId(long coverImageFileEntryId) {
275 _coverImageFileEntryId = coverImageFileEntryId;
276 }
277
278 public String getCoverImageURL() {
279 return _coverImageURL;
280 }
281
282 public void setCoverImageURL(String coverImageURL) {
283 _coverImageURL = coverImageURL;
284 }
285
286 public boolean getSmallImage() {
287 return _smallImage;
288 }
289
290 public boolean isSmallImage() {
291 return _smallImage;
292 }
293
294 public void setSmallImage(boolean smallImage) {
295 _smallImage = smallImage;
296 }
297
298 public long getSmallImageFileEntryId() {
299 return _smallImageFileEntryId;
300 }
301
302 public void setSmallImageFileEntryId(long smallImageFileEntryId) {
303 _smallImageFileEntryId = smallImageFileEntryId;
304 }
305
306 public long getSmallImageId() {
307 return _smallImageId;
308 }
309
310 public void setSmallImageId(long smallImageId) {
311 _smallImageId = smallImageId;
312 }
313
314 public String getSmallImageURL() {
315 return _smallImageURL;
316 }
317
318 public void setSmallImageURL(String smallImageURL) {
319 _smallImageURL = smallImageURL;
320 }
321
322 public Date getLastPublishDate() {
323 return _lastPublishDate;
324 }
325
326 public void setLastPublishDate(Date lastPublishDate) {
327 _lastPublishDate = lastPublishDate;
328 }
329
330 public int getStatus() {
331 return _status;
332 }
333
334 public void setStatus(int status) {
335 _status = status;
336 }
337
338 public long getStatusByUserId() {
339 return _statusByUserId;
340 }
341
342 public void setStatusByUserId(long statusByUserId) {
343 _statusByUserId = statusByUserId;
344 }
345
346 public String getStatusByUserName() {
347 return _statusByUserName;
348 }
349
350 public void setStatusByUserName(String statusByUserName) {
351 _statusByUserName = statusByUserName;
352 }
353
354 public Date getStatusDate() {
355 return _statusDate;
356 }
357
358 public void setStatusDate(Date statusDate) {
359 _statusDate = statusDate;
360 }
361
362 private String _uuid;
363 private long _entryId;
364 private long _groupId;
365 private long _companyId;
366 private long _userId;
367 private String _userName;
368 private Date _createDate;
369 private Date _modifiedDate;
370 private String _title;
371 private String _subtitle;
372 private String _urlTitle;
373 private String _description;
374 private String _content;
375 private Date _displayDate;
376 private boolean _allowPingbacks;
377 private boolean _allowTrackbacks;
378 private String _trackbacks;
379 private String _coverImageCaption;
380 private long _coverImageFileEntryId;
381 private String _coverImageURL;
382 private boolean _smallImage;
383 private long _smallImageFileEntryId;
384 private long _smallImageId;
385 private String _smallImageURL;
386 private Date _lastPublishDate;
387 private int _status;
388 private long _statusByUserId;
389 private String _statusByUserName;
390 private Date _statusDate;
391 }