001    /**
002     * Copyright (c) 2000-2011 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 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            * Gets the primary key of this d l folder.
041            *
042            * @return the primary key of this d l folder
043            */
044            public long getPrimaryKey() {
045                    return _dlFolder.getPrimaryKey();
046            }
047    
048            /**
049            * Sets the primary key of this d l folder
050            *
051            * @param primaryKey the primary key of this d l folder
052            */
053            public void setPrimaryKey(long primaryKey) {
054                    _dlFolder.setPrimaryKey(primaryKey);
055            }
056    
057            /**
058            * Gets the uuid of this d l folder.
059            *
060            * @return the uuid of this d l folder
061            */
062            public java.lang.String getUuid() {
063                    return _dlFolder.getUuid();
064            }
065    
066            /**
067            * Sets the uuid of this d l folder.
068            *
069            * @param uuid the uuid of this d l folder
070            */
071            public void setUuid(java.lang.String uuid) {
072                    _dlFolder.setUuid(uuid);
073            }
074    
075            /**
076            * Gets the folder ID of this d l folder.
077            *
078            * @return the folder ID of this d l folder
079            */
080            public long getFolderId() {
081                    return _dlFolder.getFolderId();
082            }
083    
084            /**
085            * Sets the folder ID of this d l folder.
086            *
087            * @param folderId the folder ID of this d l folder
088            */
089            public void setFolderId(long folderId) {
090                    _dlFolder.setFolderId(folderId);
091            }
092    
093            /**
094            * Gets the group ID of this d l folder.
095            *
096            * @return the group ID of this d l folder
097            */
098            public long getGroupId() {
099                    return _dlFolder.getGroupId();
100            }
101    
102            /**
103            * Sets the group ID of this d l folder.
104            *
105            * @param groupId the group ID of this d l folder
106            */
107            public void setGroupId(long groupId) {
108                    _dlFolder.setGroupId(groupId);
109            }
110    
111            /**
112            * Gets the company ID of this d l folder.
113            *
114            * @return the company ID of this d l folder
115            */
116            public long getCompanyId() {
117                    return _dlFolder.getCompanyId();
118            }
119    
120            /**
121            * Sets the company ID of this d l folder.
122            *
123            * @param companyId the company ID of this d l folder
124            */
125            public void setCompanyId(long companyId) {
126                    _dlFolder.setCompanyId(companyId);
127            }
128    
129            /**
130            * Gets the user ID of this d l folder.
131            *
132            * @return the user ID of this d l folder
133            */
134            public long getUserId() {
135                    return _dlFolder.getUserId();
136            }
137    
138            /**
139            * Sets the user ID of this d l folder.
140            *
141            * @param userId the user ID of this d l folder
142            */
143            public void setUserId(long userId) {
144                    _dlFolder.setUserId(userId);
145            }
146    
147            /**
148            * Gets the user uuid of this d l folder.
149            *
150            * @return the user uuid of this d l 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 d l folder.
160            *
161            * @param userUuid the user uuid of this d l folder
162            */
163            public void setUserUuid(java.lang.String userUuid) {
164                    _dlFolder.setUserUuid(userUuid);
165            }
166    
167            /**
168            * Gets the user name of this d l folder.
169            *
170            * @return the user name of this d l folder
171            */
172            public java.lang.String getUserName() {
173                    return _dlFolder.getUserName();
174            }
175    
176            /**
177            * Sets the user name of this d l folder.
178            *
179            * @param userName the user name of this d l folder
180            */
181            public void setUserName(java.lang.String userName) {
182                    _dlFolder.setUserName(userName);
183            }
184    
185            /**
186            * Gets the create date of this d l folder.
187            *
188            * @return the create date of this d l folder
189            */
190            public java.util.Date getCreateDate() {
191                    return _dlFolder.getCreateDate();
192            }
193    
194            /**
195            * Sets the create date of this d l folder.
196            *
197            * @param createDate the create date of this d l folder
198            */
199            public void setCreateDate(java.util.Date createDate) {
200                    _dlFolder.setCreateDate(createDate);
201            }
202    
203            /**
204            * Gets the modified date of this d l folder.
205            *
206            * @return the modified date of this d l folder
207            */
208            public java.util.Date getModifiedDate() {
209                    return _dlFolder.getModifiedDate();
210            }
211    
212            /**
213            * Sets the modified date of this d l folder.
214            *
215            * @param modifiedDate the modified date of this d l folder
216            */
217            public void setModifiedDate(java.util.Date modifiedDate) {
218                    _dlFolder.setModifiedDate(modifiedDate);
219            }
220    
221            /**
222            * Gets the parent folder ID of this d l folder.
223            *
224            * @return the parent folder ID of this d l folder
225            */
226            public long getParentFolderId() {
227                    return _dlFolder.getParentFolderId();
228            }
229    
230            /**
231            * Sets the parent folder ID of this d l folder.
232            *
233            * @param parentFolderId the parent folder ID of this d l folder
234            */
235            public void setParentFolderId(long parentFolderId) {
236                    _dlFolder.setParentFolderId(parentFolderId);
237            }
238    
239            /**
240            * Gets the name of this d l folder.
241            *
242            * @return the name of this d l folder
243            */
244            public java.lang.String getName() {
245                    return _dlFolder.getName();
246            }
247    
248            /**
249            * Sets the name of this d l folder.
250            *
251            * @param name the name of this d l folder
252            */
253            public void setName(java.lang.String name) {
254                    _dlFolder.setName(name);
255            }
256    
257            /**
258            * Gets the description of this d l folder.
259            *
260            * @return the description of this d l folder
261            */
262            public java.lang.String getDescription() {
263                    return _dlFolder.getDescription();
264            }
265    
266            /**
267            * Sets the description of this d l folder.
268            *
269            * @param description the description of this d l folder
270            */
271            public void setDescription(java.lang.String description) {
272                    _dlFolder.setDescription(description);
273            }
274    
275            /**
276            * Gets the last post date of this d l folder.
277            *
278            * @return the last post date of this d l folder
279            */
280            public java.util.Date getLastPostDate() {
281                    return _dlFolder.getLastPostDate();
282            }
283    
284            /**
285            * Sets the last post date of this d l folder.
286            *
287            * @param lastPostDate the last post date of this d l folder
288            */
289            public void setLastPostDate(java.util.Date lastPostDate) {
290                    _dlFolder.setLastPostDate(lastPostDate);
291            }
292    
293            public boolean isNew() {
294                    return _dlFolder.isNew();
295            }
296    
297            public void setNew(boolean n) {
298                    _dlFolder.setNew(n);
299            }
300    
301            public boolean isCachedModel() {
302                    return _dlFolder.isCachedModel();
303            }
304    
305            public void setCachedModel(boolean cachedModel) {
306                    _dlFolder.setCachedModel(cachedModel);
307            }
308    
309            public boolean isEscapedModel() {
310                    return _dlFolder.isEscapedModel();
311            }
312    
313            public void setEscapedModel(boolean escapedModel) {
314                    _dlFolder.setEscapedModel(escapedModel);
315            }
316    
317            public java.io.Serializable getPrimaryKeyObj() {
318                    return _dlFolder.getPrimaryKeyObj();
319            }
320    
321            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
322                    _dlFolder.setPrimaryKeyObj(primaryKeyObj);
323            }
324    
325            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
326                    return _dlFolder.getExpandoBridge();
327            }
328    
329            public void setExpandoBridgeAttributes(
330                    com.liferay.portal.service.ServiceContext serviceContext) {
331                    _dlFolder.setExpandoBridgeAttributes(serviceContext);
332            }
333    
334            @Override
335            public java.lang.Object clone() {
336                    return new DLFolderWrapper((DLFolder)_dlFolder.clone());
337            }
338    
339            public int compareTo(
340                    com.liferay.portlet.documentlibrary.model.DLFolder dlFolder) {
341                    return _dlFolder.compareTo(dlFolder);
342            }
343    
344            @Override
345            public int hashCode() {
346                    return _dlFolder.hashCode();
347            }
348    
349            public com.liferay.portal.model.CacheModel<com.liferay.portlet.documentlibrary.model.DLFolder> toCacheModel() {
350                    return _dlFolder.toCacheModel();
351            }
352    
353            public com.liferay.portlet.documentlibrary.model.DLFolder toEscapedModel() {
354                    return new DLFolderWrapper(_dlFolder.toEscapedModel());
355            }
356    
357            @Override
358            public java.lang.String toString() {
359                    return _dlFolder.toString();
360            }
361    
362            public java.lang.String toXmlString() {
363                    return _dlFolder.toXmlString();
364            }
365    
366            public void persist()
367                    throws com.liferay.portal.kernel.exception.SystemException {
368                    _dlFolder.persist();
369            }
370    
371            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getAncestors()
372                    throws com.liferay.portal.kernel.exception.PortalException,
373                            com.liferay.portal.kernel.exception.SystemException {
374                    return _dlFolder.getAncestors();
375            }
376    
377            public com.liferay.portlet.documentlibrary.model.DLFolder getParentFolder()
378                    throws com.liferay.portal.kernel.exception.PortalException,
379                            com.liferay.portal.kernel.exception.SystemException {
380                    return _dlFolder.getParentFolder();
381            }
382    
383            public java.lang.String getPath()
384                    throws com.liferay.portal.kernel.exception.PortalException,
385                            com.liferay.portal.kernel.exception.SystemException {
386                    return _dlFolder.getPath();
387            }
388    
389            public java.lang.String[] getPathArray()
390                    throws com.liferay.portal.kernel.exception.PortalException,
391                            com.liferay.portal.kernel.exception.SystemException {
392                    return _dlFolder.getPathArray();
393            }
394    
395            public boolean hasLock(long userId) {
396                    return _dlFolder.hasLock(userId);
397            }
398    
399            public boolean isLocked() {
400                    return _dlFolder.isLocked();
401            }
402    
403            public boolean isRoot() {
404                    return _dlFolder.isRoot();
405            }
406    
407            public DLFolder getWrappedDLFolder() {
408                    return _dlFolder;
409            }
410    
411            public void resetOriginalValues() {
412                    _dlFolder.resetOriginalValues();
413            }
414    
415            private DLFolder _dlFolder;
416    }