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.setSmallImage(model.getSmallImage());
055 soapModel.setSmallImageFileEntryId(model.getSmallImageFileEntryId());
056 soapModel.setSmallImageId(model.getSmallImageId());
057 soapModel.setSmallImageURL(model.getSmallImageURL());
058 soapModel.setStatus(model.getStatus());
059 soapModel.setStatusByUserId(model.getStatusByUserId());
060 soapModel.setStatusByUserName(model.getStatusByUserName());
061 soapModel.setStatusDate(model.getStatusDate());
062
063 return soapModel;
064 }
065
066 public static BlogsEntrySoap[] toSoapModels(BlogsEntry[] models) {
067 BlogsEntrySoap[] soapModels = new BlogsEntrySoap[models.length];
068
069 for (int i = 0; i < models.length; i++) {
070 soapModels[i] = toSoapModel(models[i]);
071 }
072
073 return soapModels;
074 }
075
076 public static BlogsEntrySoap[][] toSoapModels(BlogsEntry[][] models) {
077 BlogsEntrySoap[][] soapModels = null;
078
079 if (models.length > 0) {
080 soapModels = new BlogsEntrySoap[models.length][models[0].length];
081 }
082 else {
083 soapModels = new BlogsEntrySoap[0][0];
084 }
085
086 for (int i = 0; i < models.length; i++) {
087 soapModels[i] = toSoapModels(models[i]);
088 }
089
090 return soapModels;
091 }
092
093 public static BlogsEntrySoap[] toSoapModels(List<BlogsEntry> models) {
094 List<BlogsEntrySoap> soapModels = new ArrayList<BlogsEntrySoap>(models.size());
095
096 for (BlogsEntry model : models) {
097 soapModels.add(toSoapModel(model));
098 }
099
100 return soapModels.toArray(new BlogsEntrySoap[soapModels.size()]);
101 }
102
103 public BlogsEntrySoap() {
104 }
105
106 public long getPrimaryKey() {
107 return _entryId;
108 }
109
110 public void setPrimaryKey(long pk) {
111 setEntryId(pk);
112 }
113
114 public String getUuid() {
115 return _uuid;
116 }
117
118 public void setUuid(String uuid) {
119 _uuid = uuid;
120 }
121
122 public long getEntryId() {
123 return _entryId;
124 }
125
126 public void setEntryId(long entryId) {
127 _entryId = entryId;
128 }
129
130 public long getGroupId() {
131 return _groupId;
132 }
133
134 public void setGroupId(long groupId) {
135 _groupId = groupId;
136 }
137
138 public long getCompanyId() {
139 return _companyId;
140 }
141
142 public void setCompanyId(long companyId) {
143 _companyId = companyId;
144 }
145
146 public long getUserId() {
147 return _userId;
148 }
149
150 public void setUserId(long userId) {
151 _userId = userId;
152 }
153
154 public String getUserName() {
155 return _userName;
156 }
157
158 public void setUserName(String userName) {
159 _userName = userName;
160 }
161
162 public Date getCreateDate() {
163 return _createDate;
164 }
165
166 public void setCreateDate(Date createDate) {
167 _createDate = createDate;
168 }
169
170 public Date getModifiedDate() {
171 return _modifiedDate;
172 }
173
174 public void setModifiedDate(Date modifiedDate) {
175 _modifiedDate = modifiedDate;
176 }
177
178 public String getTitle() {
179 return _title;
180 }
181
182 public void setTitle(String title) {
183 _title = title;
184 }
185
186 public String getSubtitle() {
187 return _subtitle;
188 }
189
190 public void setSubtitle(String subtitle) {
191 _subtitle = subtitle;
192 }
193
194 public String getUrlTitle() {
195 return _urlTitle;
196 }
197
198 public void setUrlTitle(String urlTitle) {
199 _urlTitle = urlTitle;
200 }
201
202 public String getDescription() {
203 return _description;
204 }
205
206 public void setDescription(String description) {
207 _description = description;
208 }
209
210 public String getContent() {
211 return _content;
212 }
213
214 public void setContent(String content) {
215 _content = content;
216 }
217
218 public Date getDisplayDate() {
219 return _displayDate;
220 }
221
222 public void setDisplayDate(Date displayDate) {
223 _displayDate = displayDate;
224 }
225
226 public boolean getAllowPingbacks() {
227 return _allowPingbacks;
228 }
229
230 public boolean isAllowPingbacks() {
231 return _allowPingbacks;
232 }
233
234 public void setAllowPingbacks(boolean allowPingbacks) {
235 _allowPingbacks = allowPingbacks;
236 }
237
238 public boolean getAllowTrackbacks() {
239 return _allowTrackbacks;
240 }
241
242 public boolean isAllowTrackbacks() {
243 return _allowTrackbacks;
244 }
245
246 public void setAllowTrackbacks(boolean allowTrackbacks) {
247 _allowTrackbacks = allowTrackbacks;
248 }
249
250 public String getTrackbacks() {
251 return _trackbacks;
252 }
253
254 public void setTrackbacks(String trackbacks) {
255 _trackbacks = trackbacks;
256 }
257
258 public boolean getSmallImage() {
259 return _smallImage;
260 }
261
262 public boolean isSmallImage() {
263 return _smallImage;
264 }
265
266 public void setSmallImage(boolean smallImage) {
267 _smallImage = smallImage;
268 }
269
270 public long getSmallImageFileEntryId() {
271 return _smallImageFileEntryId;
272 }
273
274 public void setSmallImageFileEntryId(long smallImageFileEntryId) {
275 _smallImageFileEntryId = smallImageFileEntryId;
276 }
277
278 public long getSmallImageId() {
279 return _smallImageId;
280 }
281
282 public void setSmallImageId(long smallImageId) {
283 _smallImageId = smallImageId;
284 }
285
286 public String getSmallImageURL() {
287 return _smallImageURL;
288 }
289
290 public void setSmallImageURL(String smallImageURL) {
291 _smallImageURL = smallImageURL;
292 }
293
294 public int getStatus() {
295 return _status;
296 }
297
298 public void setStatus(int status) {
299 _status = status;
300 }
301
302 public long getStatusByUserId() {
303 return _statusByUserId;
304 }
305
306 public void setStatusByUserId(long statusByUserId) {
307 _statusByUserId = statusByUserId;
308 }
309
310 public String getStatusByUserName() {
311 return _statusByUserName;
312 }
313
314 public void setStatusByUserName(String statusByUserName) {
315 _statusByUserName = statusByUserName;
316 }
317
318 public Date getStatusDate() {
319 return _statusDate;
320 }
321
322 public void setStatusDate(Date statusDate) {
323 _statusDate = statusDate;
324 }
325
326 private String _uuid;
327 private long _entryId;
328 private long _groupId;
329 private long _companyId;
330 private long _userId;
331 private String _userName;
332 private Date _createDate;
333 private Date _modifiedDate;
334 private String _title;
335 private String _subtitle;
336 private String _urlTitle;
337 private String _description;
338 private String _content;
339 private Date _displayDate;
340 private boolean _allowPingbacks;
341 private boolean _allowTrackbacks;
342 private String _trackbacks;
343 private boolean _smallImage;
344 private long _smallImageFileEntryId;
345 private long _smallImageId;
346 private String _smallImageURL;
347 private int _status;
348 private long _statusByUserId;
349 private String _statusByUserName;
350 private Date _statusDate;
351 }