001
014
015 package com.liferay.portlet.documentlibrary.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 DLFileEntrySoap implements Serializable {
034 public static DLFileEntrySoap toSoapModel(DLFileEntry model) {
035 DLFileEntrySoap soapModel = new DLFileEntrySoap();
036
037 soapModel.setUuid(model.getUuid());
038 soapModel.setFileEntryId(model.getFileEntryId());
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.setClassNameId(model.getClassNameId());
046 soapModel.setClassPK(model.getClassPK());
047 soapModel.setRepositoryId(model.getRepositoryId());
048 soapModel.setFolderId(model.getFolderId());
049 soapModel.setTreePath(model.getTreePath());
050 soapModel.setName(model.getName());
051 soapModel.setFileName(model.getFileName());
052 soapModel.setExtension(model.getExtension());
053 soapModel.setMimeType(model.getMimeType());
054 soapModel.setTitle(model.getTitle());
055 soapModel.setDescription(model.getDescription());
056 soapModel.setExtraSettings(model.getExtraSettings());
057 soapModel.setFileEntryTypeId(model.getFileEntryTypeId());
058 soapModel.setVersion(model.getVersion());
059 soapModel.setSize(model.getSize());
060 soapModel.setReadCount(model.getReadCount());
061 soapModel.setSmallImageId(model.getSmallImageId());
062 soapModel.setLargeImageId(model.getLargeImageId());
063 soapModel.setCustom1ImageId(model.getCustom1ImageId());
064 soapModel.setCustom2ImageId(model.getCustom2ImageId());
065 soapModel.setManualCheckInRequired(model.getManualCheckInRequired());
066 soapModel.setLastPublishDate(model.getLastPublishDate());
067
068 return soapModel;
069 }
070
071 public static DLFileEntrySoap[] toSoapModels(DLFileEntry[] models) {
072 DLFileEntrySoap[] soapModels = new DLFileEntrySoap[models.length];
073
074 for (int i = 0; i < models.length; i++) {
075 soapModels[i] = toSoapModel(models[i]);
076 }
077
078 return soapModels;
079 }
080
081 public static DLFileEntrySoap[][] toSoapModels(DLFileEntry[][] models) {
082 DLFileEntrySoap[][] soapModels = null;
083
084 if (models.length > 0) {
085 soapModels = new DLFileEntrySoap[models.length][models[0].length];
086 }
087 else {
088 soapModels = new DLFileEntrySoap[0][0];
089 }
090
091 for (int i = 0; i < models.length; i++) {
092 soapModels[i] = toSoapModels(models[i]);
093 }
094
095 return soapModels;
096 }
097
098 public static DLFileEntrySoap[] toSoapModels(List<DLFileEntry> models) {
099 List<DLFileEntrySoap> soapModels = new ArrayList<DLFileEntrySoap>(models.size());
100
101 for (DLFileEntry model : models) {
102 soapModels.add(toSoapModel(model));
103 }
104
105 return soapModels.toArray(new DLFileEntrySoap[soapModels.size()]);
106 }
107
108 public DLFileEntrySoap() {
109 }
110
111 public long getPrimaryKey() {
112 return _fileEntryId;
113 }
114
115 public void setPrimaryKey(long pk) {
116 setFileEntryId(pk);
117 }
118
119 public String getUuid() {
120 return _uuid;
121 }
122
123 public void setUuid(String uuid) {
124 _uuid = uuid;
125 }
126
127 public long getFileEntryId() {
128 return _fileEntryId;
129 }
130
131 public void setFileEntryId(long fileEntryId) {
132 _fileEntryId = fileEntryId;
133 }
134
135 public long getGroupId() {
136 return _groupId;
137 }
138
139 public void setGroupId(long groupId) {
140 _groupId = groupId;
141 }
142
143 public long getCompanyId() {
144 return _companyId;
145 }
146
147 public void setCompanyId(long companyId) {
148 _companyId = companyId;
149 }
150
151 public long getUserId() {
152 return _userId;
153 }
154
155 public void setUserId(long userId) {
156 _userId = userId;
157 }
158
159 public String getUserName() {
160 return _userName;
161 }
162
163 public void setUserName(String userName) {
164 _userName = userName;
165 }
166
167 public Date getCreateDate() {
168 return _createDate;
169 }
170
171 public void setCreateDate(Date createDate) {
172 _createDate = createDate;
173 }
174
175 public Date getModifiedDate() {
176 return _modifiedDate;
177 }
178
179 public void setModifiedDate(Date modifiedDate) {
180 _modifiedDate = modifiedDate;
181 }
182
183 public long getClassNameId() {
184 return _classNameId;
185 }
186
187 public void setClassNameId(long classNameId) {
188 _classNameId = classNameId;
189 }
190
191 public long getClassPK() {
192 return _classPK;
193 }
194
195 public void setClassPK(long classPK) {
196 _classPK = classPK;
197 }
198
199 public long getRepositoryId() {
200 return _repositoryId;
201 }
202
203 public void setRepositoryId(long repositoryId) {
204 _repositoryId = repositoryId;
205 }
206
207 public long getFolderId() {
208 return _folderId;
209 }
210
211 public void setFolderId(long folderId) {
212 _folderId = folderId;
213 }
214
215 public String getTreePath() {
216 return _treePath;
217 }
218
219 public void setTreePath(String treePath) {
220 _treePath = treePath;
221 }
222
223 public String getName() {
224 return _name;
225 }
226
227 public void setName(String name) {
228 _name = name;
229 }
230
231 public String getFileName() {
232 return _fileName;
233 }
234
235 public void setFileName(String fileName) {
236 _fileName = fileName;
237 }
238
239 public String getExtension() {
240 return _extension;
241 }
242
243 public void setExtension(String extension) {
244 _extension = extension;
245 }
246
247 public String getMimeType() {
248 return _mimeType;
249 }
250
251 public void setMimeType(String mimeType) {
252 _mimeType = mimeType;
253 }
254
255 public String getTitle() {
256 return _title;
257 }
258
259 public void setTitle(String title) {
260 _title = title;
261 }
262
263 public String getDescription() {
264 return _description;
265 }
266
267 public void setDescription(String description) {
268 _description = description;
269 }
270
271 public String getExtraSettings() {
272 return _extraSettings;
273 }
274
275 public void setExtraSettings(String extraSettings) {
276 _extraSettings = extraSettings;
277 }
278
279 public long getFileEntryTypeId() {
280 return _fileEntryTypeId;
281 }
282
283 public void setFileEntryTypeId(long fileEntryTypeId) {
284 _fileEntryTypeId = fileEntryTypeId;
285 }
286
287 public String getVersion() {
288 return _version;
289 }
290
291 public void setVersion(String version) {
292 _version = version;
293 }
294
295 public long getSize() {
296 return _size;
297 }
298
299 public void setSize(long size) {
300 _size = size;
301 }
302
303 public int getReadCount() {
304 return _readCount;
305 }
306
307 public void setReadCount(int readCount) {
308 _readCount = readCount;
309 }
310
311 public long getSmallImageId() {
312 return _smallImageId;
313 }
314
315 public void setSmallImageId(long smallImageId) {
316 _smallImageId = smallImageId;
317 }
318
319 public long getLargeImageId() {
320 return _largeImageId;
321 }
322
323 public void setLargeImageId(long largeImageId) {
324 _largeImageId = largeImageId;
325 }
326
327 public long getCustom1ImageId() {
328 return _custom1ImageId;
329 }
330
331 public void setCustom1ImageId(long custom1ImageId) {
332 _custom1ImageId = custom1ImageId;
333 }
334
335 public long getCustom2ImageId() {
336 return _custom2ImageId;
337 }
338
339 public void setCustom2ImageId(long custom2ImageId) {
340 _custom2ImageId = custom2ImageId;
341 }
342
343 public boolean getManualCheckInRequired() {
344 return _manualCheckInRequired;
345 }
346
347 public boolean isManualCheckInRequired() {
348 return _manualCheckInRequired;
349 }
350
351 public void setManualCheckInRequired(boolean manualCheckInRequired) {
352 _manualCheckInRequired = manualCheckInRequired;
353 }
354
355 public Date getLastPublishDate() {
356 return _lastPublishDate;
357 }
358
359 public void setLastPublishDate(Date lastPublishDate) {
360 _lastPublishDate = lastPublishDate;
361 }
362
363 private String _uuid;
364 private long _fileEntryId;
365 private long _groupId;
366 private long _companyId;
367 private long _userId;
368 private String _userName;
369 private Date _createDate;
370 private Date _modifiedDate;
371 private long _classNameId;
372 private long _classPK;
373 private long _repositoryId;
374 private long _folderId;
375 private String _treePath;
376 private String _name;
377 private String _fileName;
378 private String _extension;
379 private String _mimeType;
380 private String _title;
381 private String _description;
382 private String _extraSettings;
383 private long _fileEntryTypeId;
384 private String _version;
385 private long _size;
386 private int _readCount;
387 private long _smallImageId;
388 private long _largeImageId;
389 private long _custom1ImageId;
390 private long _custom2ImageId;
391 private boolean _manualCheckInRequired;
392 private Date _lastPublishDate;
393 }