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