001    /**
002     * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.documentlibrary.model;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link DLFolder}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       DLFolder
024     * @generated
025     */
026    public class DLFolderWrapper implements DLFolder {
027            public DLFolderWrapper(DLFolder dlFolder) {
028                    _dlFolder = dlFolder;
029            }
030    
031            public Class<?> getModelClass() {
032                    return DLFolder.class;
033            }
034    
035            public String getModelClassName() {
036                    return DLFolder.class.getName();
037            }
038    
039            /**
040            * Returns the primary key of this document library folder.
041            *
042            * @return the primary key of this document library folder
043            */
044            public long getPrimaryKey() {
045                    return _dlFolder.getPrimaryKey();
046            }
047    
048            /**
049            * Sets the primary key of this document library folder.
050            *
051            * @param primaryKey the primary key of this document library folder
052            */
053            public void setPrimaryKey(long primaryKey) {
054                    _dlFolder.setPrimaryKey(primaryKey);
055            }
056    
057            /**
058            * Returns the uuid of this document library folder.
059            *
060            * @return the uuid of this document library folder
061            */
062            public java.lang.String getUuid() {
063                    return _dlFolder.getUuid();
064            }
065    
066            /**
067            * Sets the uuid of this document library folder.
068            *
069            * @param uuid the uuid of this document library folder
070            */
071            public void setUuid(java.lang.String uuid) {
072                    _dlFolder.setUuid(uuid);
073            }
074    
075            /**
076            * Returns the folder ID of this document library folder.
077            *
078            * @return the folder ID of this document library folder
079            */
080            public long getFolderId() {
081                    return _dlFolder.getFolderId();
082            }
083    
084            /**
085            * Sets the folder ID of this document library folder.
086            *
087            * @param folderId the folder ID of this document library folder
088            */
089            public void setFolderId(long folderId) {
090                    _dlFolder.setFolderId(folderId);
091            }
092    
093            /**
094            * Returns the group ID of this document library folder.
095            *
096            * @return the group ID of this document library folder
097            */
098            public long getGroupId() {
099                    return _dlFolder.getGroupId();
100            }
101    
102            /**
103            * Sets the group ID of this document library folder.
104            *
105            * @param groupId the group ID of this document library folder
106            */
107            public void setGroupId(long groupId) {
108                    _dlFolder.setGroupId(groupId);
109            }
110    
111            /**
112            * Returns the company ID of this document library folder.
113            *
114            * @return the company ID of this document library folder
115            */
116            public long getCompanyId() {
117                    return _dlFolder.getCompanyId();
118            }
119    
120            /**
121            * Sets the company ID of this document library folder.
122            *
123            * @param companyId the company ID of this document library folder
124            */
125            public void setCompanyId(long companyId) {
126                    _dlFolder.setCompanyId(companyId);
127            }
128    
129            /**
130            * Returns the user ID of this document library folder.
131            *
132            * @return the user ID of this document library folder
133            */
134            public long getUserId() {
135                    return _dlFolder.getUserId();
136            }
137    
138            /**
139            * Sets the user ID of this document library folder.
140            *
141            * @param userId the user ID of this document library folder
142            */
143            public void setUserId(long userId) {
144                    _dlFolder.setUserId(userId);
145            }
146    
147            /**
148            * Returns the user uuid of this document library folder.
149            *
150            * @return the user uuid of this document library folder
151            * @throws SystemException if a system exception occurred
152            */
153            public java.lang.String getUserUuid()
154                    throws com.liferay.portal.kernel.exception.SystemException {
155                    return _dlFolder.getUserUuid();
156            }
157    
158            /**
159            * Sets the user uuid of this document library folder.
160            *
161            * @param userUuid the user uuid of this document library folder
162            */
163            public void setUserUuid(java.lang.String userUuid) {
164                    _dlFolder.setUserUuid(userUuid);
165            }
166    
167            /**
168            * Returns the user name of this document library folder.
169            *
170            * @return the user name of this document library folder
171            */
172            public java.lang.String getUserName() {
173                    return _dlFolder.getUserName();
174            }
175    
176            /**
177            * Sets the user name of this document library folder.
178            *
179            * @param userName the user name of this document library folder
180            */
181            public void setUserName(java.lang.String userName) {
182                    _dlFolder.setUserName(userName);
183            }
184    
185            /**
186            * Returns the create date of this document library folder.
187            *
188            * @return the create date of this document library folder
189            */
190            public java.util.Date getCreateDate() {
191                    return _dlFolder.getCreateDate();
192            }
193    
194            /**
195            * Sets the create date of this document library folder.
196            *
197            * @param createDate the create date of this document library folder
198            */
199            public void setCreateDate(java.util.Date createDate) {
200                    _dlFolder.setCreateDate(createDate);
201            }
202    
203            /**
204            * Returns the modified date of this document library folder.
205            *
206            * @return the modified date of this document library folder
207            */
208            public java.util.Date getModifiedDate() {
209                    return _dlFolder.getModifiedDate();
210            }
211    
212            /**
213            * Sets the modified date of this document library folder.
214            *
215            * @param modifiedDate the modified date of this document library folder
216            */
217            public void setModifiedDate(java.util.Date modifiedDate) {
218                    _dlFolder.setModifiedDate(modifiedDate);
219            }
220    
221            /**
222            * Returns the repository ID of this document library folder.
223            *
224            * @return the repository ID of this document library folder
225            */
226            public long getRepositoryId() {
227                    return _dlFolder.getRepositoryId();
228            }
229    
230            /**
231            * Sets the repository ID of this document library folder.
232            *
233            * @param repositoryId the repository ID of this document library folder
234            */
235            public void setRepositoryId(long repositoryId) {
236                    _dlFolder.setRepositoryId(repositoryId);
237            }
238    
239            /**
240            * Returns the mount point of this document library folder.
241            *
242            * @return the mount point of this document library folder
243            */
244            public boolean getMountPoint() {
245                    return _dlFolder.getMountPoint();
246            }
247    
248            /**
249            * Returns <code>true</code> if this document library folder is mount point.
250            *
251            * @return <code>true</code> if this document library folder is mount point; <code>false</code> otherwise
252            */
253            public boolean isMountPoint() {
254                    return _dlFolder.isMountPoint();
255            }
256    
257            /**
258            * Sets whether this document library folder is mount point.
259            *
260            * @param mountPoint the mount point of this document library folder
261            */
262            public void setMountPoint(boolean mountPoint) {
263                    _dlFolder.setMountPoint(mountPoint);
264            }
265    
266            /**
267            * Returns the parent folder ID of this document library folder.
268            *
269            * @return the parent folder ID of this document library folder
270            */
271            public long getParentFolderId() {
272                    return _dlFolder.getParentFolderId();
273            }
274    
275            /**
276            * Sets the parent folder ID of this document library folder.
277            *
278            * @param parentFolderId the parent folder ID of this document library folder
279            */
280            public void setParentFolderId(long parentFolderId) {
281                    _dlFolder.setParentFolderId(parentFolderId);
282            }
283    
284            /**
285            * Returns the name of this document library folder.
286            *
287            * @return the name of this document library folder
288            */
289            public java.lang.String getName() {
290                    return _dlFolder.getName();
291            }
292    
293            /**
294            * Sets the name of this document library folder.
295            *
296            * @param name the name of this document library folder
297            */
298            public void setName(java.lang.String name) {
299                    _dlFolder.setName(name);
300            }
301    
302            /**
303            * Returns the description of this document library folder.
304            *
305            * @return the description of this document library folder
306            */
307            public java.lang.String getDescription() {
308                    return _dlFolder.getDescription();
309            }
310    
311            /**
312            * Sets the description of this document library folder.
313            *
314            * @param description the description of this document library folder
315            */
316            public void setDescription(java.lang.String description) {
317                    _dlFolder.setDescription(description);
318            }
319    
320            /**
321            * Returns the last post date of this document library folder.
322            *
323            * @return the last post date of this document library folder
324            */
325            public java.util.Date getLastPostDate() {
326                    return _dlFolder.getLastPostDate();
327            }
328    
329            /**
330            * Sets the last post date of this document library folder.
331            *
332            * @param lastPostDate the last post date of this document library folder
333            */
334            public void setLastPostDate(java.util.Date lastPostDate) {
335                    _dlFolder.setLastPostDate(lastPostDate);
336            }
337    
338            /**
339            * Returns the default file entry type ID of this document library folder.
340            *
341            * @return the default file entry type ID of this document library folder
342            */
343            public long getDefaultFileEntryTypeId() {
344                    return _dlFolder.getDefaultFileEntryTypeId();
345            }
346    
347            /**
348            * Sets the default file entry type ID of this document library folder.
349            *
350            * @param defaultFileEntryTypeId the default file entry type ID of this document library folder
351            */
352            public void setDefaultFileEntryTypeId(long defaultFileEntryTypeId) {
353                    _dlFolder.setDefaultFileEntryTypeId(defaultFileEntryTypeId);
354            }
355    
356            /**
357            * Returns the override file entry types of this document library folder.
358            *
359            * @return the override file entry types of this document library folder
360            */
361            public boolean getOverrideFileEntryTypes() {
362                    return _dlFolder.getOverrideFileEntryTypes();
363            }
364    
365            /**
366            * Returns <code>true</code> if this document library folder is override file entry types.
367            *
368            * @return <code>true</code> if this document library folder is override file entry types; <code>false</code> otherwise
369            */
370            public boolean isOverrideFileEntryTypes() {
371                    return _dlFolder.isOverrideFileEntryTypes();
372            }
373    
374            /**
375            * Sets whether this document library folder is override file entry types.
376            *
377            * @param overrideFileEntryTypes the override file entry types of this document library folder
378            */
379            public void setOverrideFileEntryTypes(boolean overrideFileEntryTypes) {
380                    _dlFolder.setOverrideFileEntryTypes(overrideFileEntryTypes);
381            }
382    
383            public boolean isNew() {
384                    return _dlFolder.isNew();
385            }
386    
387            public void setNew(boolean n) {
388                    _dlFolder.setNew(n);
389            }
390    
391            public boolean isCachedModel() {
392                    return _dlFolder.isCachedModel();
393            }
394    
395            public void setCachedModel(boolean cachedModel) {
396                    _dlFolder.setCachedModel(cachedModel);
397            }
398    
399            public boolean isEscapedModel() {
400                    return _dlFolder.isEscapedModel();
401            }
402    
403            public java.io.Serializable getPrimaryKeyObj() {
404                    return _dlFolder.getPrimaryKeyObj();
405            }
406    
407            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
408                    _dlFolder.setPrimaryKeyObj(primaryKeyObj);
409            }
410    
411            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
412                    return _dlFolder.getExpandoBridge();
413            }
414    
415            public void setExpandoBridgeAttributes(
416                    com.liferay.portal.service.ServiceContext serviceContext) {
417                    _dlFolder.setExpandoBridgeAttributes(serviceContext);
418            }
419    
420            @Override
421            public java.lang.Object clone() {
422                    return new DLFolderWrapper((DLFolder)_dlFolder.clone());
423            }
424    
425            public int compareTo(
426                    com.liferay.portlet.documentlibrary.model.DLFolder dlFolder) {
427                    return _dlFolder.compareTo(dlFolder);
428            }
429    
430            @Override
431            public int hashCode() {
432                    return _dlFolder.hashCode();
433            }
434    
435            public com.liferay.portal.model.CacheModel<com.liferay.portlet.documentlibrary.model.DLFolder> toCacheModel() {
436                    return _dlFolder.toCacheModel();
437            }
438    
439            public com.liferay.portlet.documentlibrary.model.DLFolder toEscapedModel() {
440                    return new DLFolderWrapper(_dlFolder.toEscapedModel());
441            }
442    
443            @Override
444            public java.lang.String toString() {
445                    return _dlFolder.toString();
446            }
447    
448            public java.lang.String toXmlString() {
449                    return _dlFolder.toXmlString();
450            }
451    
452            public void persist()
453                    throws com.liferay.portal.kernel.exception.SystemException {
454                    _dlFolder.persist();
455            }
456    
457            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getAncestors()
458                    throws com.liferay.portal.kernel.exception.PortalException,
459                            com.liferay.portal.kernel.exception.SystemException {
460                    return _dlFolder.getAncestors();
461            }
462    
463            public com.liferay.portlet.documentlibrary.model.DLFolder getParentFolder()
464                    throws com.liferay.portal.kernel.exception.PortalException,
465                            com.liferay.portal.kernel.exception.SystemException {
466                    return _dlFolder.getParentFolder();
467            }
468    
469            public java.lang.String getPath()
470                    throws com.liferay.portal.kernel.exception.PortalException,
471                            com.liferay.portal.kernel.exception.SystemException {
472                    return _dlFolder.getPath();
473            }
474    
475            public java.lang.String[] getPathArray()
476                    throws com.liferay.portal.kernel.exception.PortalException,
477                            com.liferay.portal.kernel.exception.SystemException {
478                    return _dlFolder.getPathArray();
479            }
480    
481            public boolean hasInheritableLock() {
482                    return _dlFolder.hasInheritableLock();
483            }
484    
485            public boolean hasLock() {
486                    return _dlFolder.hasLock();
487            }
488    
489            public boolean isLocked() {
490                    return _dlFolder.isLocked();
491            }
492    
493            public boolean isRoot() {
494                    return _dlFolder.isRoot();
495            }
496    
497            public DLFolder getWrappedDLFolder() {
498                    return _dlFolder;
499            }
500    
501            public void resetOriginalValues() {
502                    _dlFolder.resetOriginalValues();
503            }
504    
505            private DLFolder _dlFolder;
506    }