001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.portlet.documentlibrary.model;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link DLFileEntry}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       DLFileEntry
024     * @generated
025     */
026    public class DLFileEntryWrapper implements DLFileEntry {
027            public DLFileEntryWrapper(DLFileEntry dlFileEntry) {
028                    _dlFileEntry = dlFileEntry;
029            }
030    
031            /**
032            * Gets the primary key of this d l file entry.
033            *
034            * @return the primary key of this d l file entry
035            */
036            public long getPrimaryKey() {
037                    return _dlFileEntry.getPrimaryKey();
038            }
039    
040            /**
041            * Sets the primary key of this d l file entry
042            *
043            * @param pk the primary key of this d l file entry
044            */
045            public void setPrimaryKey(long pk) {
046                    _dlFileEntry.setPrimaryKey(pk);
047            }
048    
049            /**
050            * Gets the uuid of this d l file entry.
051            *
052            * @return the uuid of this d l file entry
053            */
054            public java.lang.String getUuid() {
055                    return _dlFileEntry.getUuid();
056            }
057    
058            /**
059            * Sets the uuid of this d l file entry.
060            *
061            * @param uuid the uuid of this d l file entry
062            */
063            public void setUuid(java.lang.String uuid) {
064                    _dlFileEntry.setUuid(uuid);
065            }
066    
067            /**
068            * Gets the file entry id of this d l file entry.
069            *
070            * @return the file entry id of this d l file entry
071            */
072            public long getFileEntryId() {
073                    return _dlFileEntry.getFileEntryId();
074            }
075    
076            /**
077            * Sets the file entry id of this d l file entry.
078            *
079            * @param fileEntryId the file entry id of this d l file entry
080            */
081            public void setFileEntryId(long fileEntryId) {
082                    _dlFileEntry.setFileEntryId(fileEntryId);
083            }
084    
085            /**
086            * Gets the group id of this d l file entry.
087            *
088            * @return the group id of this d l file entry
089            */
090            public long getGroupId() {
091                    return _dlFileEntry.getGroupId();
092            }
093    
094            /**
095            * Sets the group id of this d l file entry.
096            *
097            * @param groupId the group id of this d l file entry
098            */
099            public void setGroupId(long groupId) {
100                    _dlFileEntry.setGroupId(groupId);
101            }
102    
103            /**
104            * Gets the company id of this d l file entry.
105            *
106            * @return the company id of this d l file entry
107            */
108            public long getCompanyId() {
109                    return _dlFileEntry.getCompanyId();
110            }
111    
112            /**
113            * Sets the company id of this d l file entry.
114            *
115            * @param companyId the company id of this d l file entry
116            */
117            public void setCompanyId(long companyId) {
118                    _dlFileEntry.setCompanyId(companyId);
119            }
120    
121            /**
122            * Gets the user id of this d l file entry.
123            *
124            * @return the user id of this d l file entry
125            */
126            public long getUserId() {
127                    return _dlFileEntry.getUserId();
128            }
129    
130            /**
131            * Sets the user id of this d l file entry.
132            *
133            * @param userId the user id of this d l file entry
134            */
135            public void setUserId(long userId) {
136                    _dlFileEntry.setUserId(userId);
137            }
138    
139            /**
140            * Gets the user uuid of this d l file entry.
141            *
142            * @return the user uuid of this d l file entry
143            * @throws SystemException if a system exception occurred
144            */
145            public java.lang.String getUserUuid()
146                    throws com.liferay.portal.kernel.exception.SystemException {
147                    return _dlFileEntry.getUserUuid();
148            }
149    
150            /**
151            * Sets the user uuid of this d l file entry.
152            *
153            * @param userUuid the user uuid of this d l file entry
154            */
155            public void setUserUuid(java.lang.String userUuid) {
156                    _dlFileEntry.setUserUuid(userUuid);
157            }
158    
159            /**
160            * Gets the user name of this d l file entry.
161            *
162            * @return the user name of this d l file entry
163            */
164            public java.lang.String getUserName() {
165                    return _dlFileEntry.getUserName();
166            }
167    
168            /**
169            * Sets the user name of this d l file entry.
170            *
171            * @param userName the user name of this d l file entry
172            */
173            public void setUserName(java.lang.String userName) {
174                    _dlFileEntry.setUserName(userName);
175            }
176    
177            /**
178            * Gets the version user id of this d l file entry.
179            *
180            * @return the version user id of this d l file entry
181            */
182            public long getVersionUserId() {
183                    return _dlFileEntry.getVersionUserId();
184            }
185    
186            /**
187            * Sets the version user id of this d l file entry.
188            *
189            * @param versionUserId the version user id of this d l file entry
190            */
191            public void setVersionUserId(long versionUserId) {
192                    _dlFileEntry.setVersionUserId(versionUserId);
193            }
194    
195            /**
196            * Gets the version user uuid of this d l file entry.
197            *
198            * @return the version user uuid of this d l file entry
199            * @throws SystemException if a system exception occurred
200            */
201            public java.lang.String getVersionUserUuid()
202                    throws com.liferay.portal.kernel.exception.SystemException {
203                    return _dlFileEntry.getVersionUserUuid();
204            }
205    
206            /**
207            * Sets the version user uuid of this d l file entry.
208            *
209            * @param versionUserUuid the version user uuid of this d l file entry
210            */
211            public void setVersionUserUuid(java.lang.String versionUserUuid) {
212                    _dlFileEntry.setVersionUserUuid(versionUserUuid);
213            }
214    
215            /**
216            * Gets the version user name of this d l file entry.
217            *
218            * @return the version user name of this d l file entry
219            */
220            public java.lang.String getVersionUserName() {
221                    return _dlFileEntry.getVersionUserName();
222            }
223    
224            /**
225            * Sets the version user name of this d l file entry.
226            *
227            * @param versionUserName the version user name of this d l file entry
228            */
229            public void setVersionUserName(java.lang.String versionUserName) {
230                    _dlFileEntry.setVersionUserName(versionUserName);
231            }
232    
233            /**
234            * Gets the create date of this d l file entry.
235            *
236            * @return the create date of this d l file entry
237            */
238            public java.util.Date getCreateDate() {
239                    return _dlFileEntry.getCreateDate();
240            }
241    
242            /**
243            * Sets the create date of this d l file entry.
244            *
245            * @param createDate the create date of this d l file entry
246            */
247            public void setCreateDate(java.util.Date createDate) {
248                    _dlFileEntry.setCreateDate(createDate);
249            }
250    
251            /**
252            * Gets the modified date of this d l file entry.
253            *
254            * @return the modified date of this d l file entry
255            */
256            public java.util.Date getModifiedDate() {
257                    return _dlFileEntry.getModifiedDate();
258            }
259    
260            /**
261            * Sets the modified date of this d l file entry.
262            *
263            * @param modifiedDate the modified date of this d l file entry
264            */
265            public void setModifiedDate(java.util.Date modifiedDate) {
266                    _dlFileEntry.setModifiedDate(modifiedDate);
267            }
268    
269            /**
270            * Gets the folder id of this d l file entry.
271            *
272            * @return the folder id of this d l file entry
273            */
274            public long getFolderId() {
275                    return _dlFileEntry.getFolderId();
276            }
277    
278            /**
279            * Sets the folder id of this d l file entry.
280            *
281            * @param folderId the folder id of this d l file entry
282            */
283            public void setFolderId(long folderId) {
284                    _dlFileEntry.setFolderId(folderId);
285            }
286    
287            /**
288            * Gets the name of this d l file entry.
289            *
290            * @return the name of this d l file entry
291            */
292            public java.lang.String getName() {
293                    return _dlFileEntry.getName();
294            }
295    
296            /**
297            * Sets the name of this d l file entry.
298            *
299            * @param name the name of this d l file entry
300            */
301            public void setName(java.lang.String name) {
302                    _dlFileEntry.setName(name);
303            }
304    
305            /**
306            * Gets the extension of this d l file entry.
307            *
308            * @return the extension of this d l file entry
309            */
310            public java.lang.String getExtension() {
311                    return _dlFileEntry.getExtension();
312            }
313    
314            /**
315            * Sets the extension of this d l file entry.
316            *
317            * @param extension the extension of this d l file entry
318            */
319            public void setExtension(java.lang.String extension) {
320                    _dlFileEntry.setExtension(extension);
321            }
322    
323            /**
324            * Gets the title of this d l file entry.
325            *
326            * @return the title of this d l file entry
327            */
328            public java.lang.String getTitle() {
329                    return _dlFileEntry.getTitle();
330            }
331    
332            /**
333            * Sets the title of this d l file entry.
334            *
335            * @param title the title of this d l file entry
336            */
337            public void setTitle(java.lang.String title) {
338                    _dlFileEntry.setTitle(title);
339            }
340    
341            /**
342            * Gets the description of this d l file entry.
343            *
344            * @return the description of this d l file entry
345            */
346            public java.lang.String getDescription() {
347                    return _dlFileEntry.getDescription();
348            }
349    
350            /**
351            * Sets the description of this d l file entry.
352            *
353            * @param description the description of this d l file entry
354            */
355            public void setDescription(java.lang.String description) {
356                    _dlFileEntry.setDescription(description);
357            }
358    
359            /**
360            * Gets the extra settings of this d l file entry.
361            *
362            * @return the extra settings of this d l file entry
363            */
364            public java.lang.String getExtraSettings() {
365                    return _dlFileEntry.getExtraSettings();
366            }
367    
368            /**
369            * Sets the extra settings of this d l file entry.
370            *
371            * @param extraSettings the extra settings of this d l file entry
372            */
373            public void setExtraSettings(java.lang.String extraSettings) {
374                    _dlFileEntry.setExtraSettings(extraSettings);
375            }
376    
377            /**
378            * Gets the version of this d l file entry.
379            *
380            * @return the version of this d l file entry
381            */
382            public java.lang.String getVersion() {
383                    return _dlFileEntry.getVersion();
384            }
385    
386            /**
387            * Sets the version of this d l file entry.
388            *
389            * @param version the version of this d l file entry
390            */
391            public void setVersion(java.lang.String version) {
392                    _dlFileEntry.setVersion(version);
393            }
394    
395            /**
396            * Gets the size of this d l file entry.
397            *
398            * @return the size of this d l file entry
399            */
400            public long getSize() {
401                    return _dlFileEntry.getSize();
402            }
403    
404            /**
405            * Sets the size of this d l file entry.
406            *
407            * @param size the size of this d l file entry
408            */
409            public void setSize(long size) {
410                    _dlFileEntry.setSize(size);
411            }
412    
413            /**
414            * Gets the read count of this d l file entry.
415            *
416            * @return the read count of this d l file entry
417            */
418            public int getReadCount() {
419                    return _dlFileEntry.getReadCount();
420            }
421    
422            /**
423            * Sets the read count of this d l file entry.
424            *
425            * @param readCount the read count of this d l file entry
426            */
427            public void setReadCount(int readCount) {
428                    _dlFileEntry.setReadCount(readCount);
429            }
430    
431            public boolean isNew() {
432                    return _dlFileEntry.isNew();
433            }
434    
435            public void setNew(boolean n) {
436                    _dlFileEntry.setNew(n);
437            }
438    
439            public boolean isCachedModel() {
440                    return _dlFileEntry.isCachedModel();
441            }
442    
443            public void setCachedModel(boolean cachedModel) {
444                    _dlFileEntry.setCachedModel(cachedModel);
445            }
446    
447            public boolean isEscapedModel() {
448                    return _dlFileEntry.isEscapedModel();
449            }
450    
451            public void setEscapedModel(boolean escapedModel) {
452                    _dlFileEntry.setEscapedModel(escapedModel);
453            }
454    
455            public java.io.Serializable getPrimaryKeyObj() {
456                    return _dlFileEntry.getPrimaryKeyObj();
457            }
458    
459            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
460                    return _dlFileEntry.getExpandoBridge();
461            }
462    
463            public void setExpandoBridgeAttributes(
464                    com.liferay.portal.service.ServiceContext serviceContext) {
465                    _dlFileEntry.setExpandoBridgeAttributes(serviceContext);
466            }
467    
468            public java.lang.Object clone() {
469                    return _dlFileEntry.clone();
470            }
471    
472            public int compareTo(
473                    com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry) {
474                    return _dlFileEntry.compareTo(dlFileEntry);
475            }
476    
477            public int hashCode() {
478                    return _dlFileEntry.hashCode();
479            }
480    
481            public com.liferay.portlet.documentlibrary.model.DLFileEntry toEscapedModel() {
482                    return _dlFileEntry.toEscapedModel();
483            }
484    
485            public java.lang.String toString() {
486                    return _dlFileEntry.toString();
487            }
488    
489            public java.lang.String toXmlString() {
490                    return _dlFileEntry.toXmlString();
491            }
492    
493            public com.liferay.portal.kernel.util.UnicodeProperties getExtraSettingsProperties() {
494                    return _dlFileEntry.getExtraSettingsProperties();
495            }
496    
497            public com.liferay.portlet.documentlibrary.model.DLFileVersion getFileVersion()
498                    throws com.liferay.portal.kernel.exception.PortalException,
499                            com.liferay.portal.kernel.exception.SystemException {
500                    return _dlFileEntry.getFileVersion();
501            }
502    
503            public com.liferay.portlet.documentlibrary.model.DLFolder getFolder() {
504                    return _dlFileEntry.getFolder();
505            }
506    
507            public java.lang.String getIcon() {
508                    return _dlFileEntry.getIcon();
509            }
510    
511            public com.liferay.portlet.documentlibrary.model.DLFileVersion getLatestFileVersion()
512                    throws com.liferay.portal.kernel.exception.PortalException,
513                            com.liferay.portal.kernel.exception.SystemException {
514                    return _dlFileEntry.getLatestFileVersion();
515            }
516    
517            public com.liferay.portal.model.Lock getLock() {
518                    return _dlFileEntry.getLock();
519            }
520    
521            public java.lang.String getLuceneProperties() {
522                    return _dlFileEntry.getLuceneProperties();
523            }
524    
525            public long getRepositoryId() {
526                    return _dlFileEntry.getRepositoryId();
527            }
528    
529            public boolean hasLock(long userId) {
530                    return _dlFileEntry.hasLock(userId);
531            }
532    
533            public boolean isLocked() {
534                    return _dlFileEntry.isLocked();
535            }
536    
537            public void setExtraSettingsProperties(
538                    com.liferay.portal.kernel.util.UnicodeProperties extraSettingsProperties) {
539                    _dlFileEntry.setExtraSettingsProperties(extraSettingsProperties);
540            }
541    
542            public DLFileEntry getWrappedDLFileEntry() {
543                    return _dlFileEntry;
544            }
545    
546            private DLFileEntry _dlFileEntry;
547    }