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 DLFileShortcut}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       DLFileShortcut
024     * @generated
025     */
026    public class DLFileShortcutWrapper implements DLFileShortcut {
027            public DLFileShortcutWrapper(DLFileShortcut dlFileShortcut) {
028                    _dlFileShortcut = dlFileShortcut;
029            }
030    
031            public Class<?> getModelClass() {
032                    return DLFileShortcut.class;
033            }
034    
035            public String getModelClassName() {
036                    return DLFileShortcut.class.getName();
037            }
038    
039            /**
040            * Gets the primary key of this d l file shortcut.
041            *
042            * @return the primary key of this d l file shortcut
043            */
044            public long getPrimaryKey() {
045                    return _dlFileShortcut.getPrimaryKey();
046            }
047    
048            /**
049            * Sets the primary key of this d l file shortcut
050            *
051            * @param primaryKey the primary key of this d l file shortcut
052            */
053            public void setPrimaryKey(long primaryKey) {
054                    _dlFileShortcut.setPrimaryKey(primaryKey);
055            }
056    
057            /**
058            * Gets the uuid of this d l file shortcut.
059            *
060            * @return the uuid of this d l file shortcut
061            */
062            public java.lang.String getUuid() {
063                    return _dlFileShortcut.getUuid();
064            }
065    
066            /**
067            * Sets the uuid of this d l file shortcut.
068            *
069            * @param uuid the uuid of this d l file shortcut
070            */
071            public void setUuid(java.lang.String uuid) {
072                    _dlFileShortcut.setUuid(uuid);
073            }
074    
075            /**
076            * Gets the file shortcut ID of this d l file shortcut.
077            *
078            * @return the file shortcut ID of this d l file shortcut
079            */
080            public long getFileShortcutId() {
081                    return _dlFileShortcut.getFileShortcutId();
082            }
083    
084            /**
085            * Sets the file shortcut ID of this d l file shortcut.
086            *
087            * @param fileShortcutId the file shortcut ID of this d l file shortcut
088            */
089            public void setFileShortcutId(long fileShortcutId) {
090                    _dlFileShortcut.setFileShortcutId(fileShortcutId);
091            }
092    
093            /**
094            * Gets the group ID of this d l file shortcut.
095            *
096            * @return the group ID of this d l file shortcut
097            */
098            public long getGroupId() {
099                    return _dlFileShortcut.getGroupId();
100            }
101    
102            /**
103            * Sets the group ID of this d l file shortcut.
104            *
105            * @param groupId the group ID of this d l file shortcut
106            */
107            public void setGroupId(long groupId) {
108                    _dlFileShortcut.setGroupId(groupId);
109            }
110    
111            /**
112            * Gets the company ID of this d l file shortcut.
113            *
114            * @return the company ID of this d l file shortcut
115            */
116            public long getCompanyId() {
117                    return _dlFileShortcut.getCompanyId();
118            }
119    
120            /**
121            * Sets the company ID of this d l file shortcut.
122            *
123            * @param companyId the company ID of this d l file shortcut
124            */
125            public void setCompanyId(long companyId) {
126                    _dlFileShortcut.setCompanyId(companyId);
127            }
128    
129            /**
130            * Gets the user ID of this d l file shortcut.
131            *
132            * @return the user ID of this d l file shortcut
133            */
134            public long getUserId() {
135                    return _dlFileShortcut.getUserId();
136            }
137    
138            /**
139            * Sets the user ID of this d l file shortcut.
140            *
141            * @param userId the user ID of this d l file shortcut
142            */
143            public void setUserId(long userId) {
144                    _dlFileShortcut.setUserId(userId);
145            }
146    
147            /**
148            * Gets the user uuid of this d l file shortcut.
149            *
150            * @return the user uuid of this d l file shortcut
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 _dlFileShortcut.getUserUuid();
156            }
157    
158            /**
159            * Sets the user uuid of this d l file shortcut.
160            *
161            * @param userUuid the user uuid of this d l file shortcut
162            */
163            public void setUserUuid(java.lang.String userUuid) {
164                    _dlFileShortcut.setUserUuid(userUuid);
165            }
166    
167            /**
168            * Gets the user name of this d l file shortcut.
169            *
170            * @return the user name of this d l file shortcut
171            */
172            public java.lang.String getUserName() {
173                    return _dlFileShortcut.getUserName();
174            }
175    
176            /**
177            * Sets the user name of this d l file shortcut.
178            *
179            * @param userName the user name of this d l file shortcut
180            */
181            public void setUserName(java.lang.String userName) {
182                    _dlFileShortcut.setUserName(userName);
183            }
184    
185            /**
186            * Gets the create date of this d l file shortcut.
187            *
188            * @return the create date of this d l file shortcut
189            */
190            public java.util.Date getCreateDate() {
191                    return _dlFileShortcut.getCreateDate();
192            }
193    
194            /**
195            * Sets the create date of this d l file shortcut.
196            *
197            * @param createDate the create date of this d l file shortcut
198            */
199            public void setCreateDate(java.util.Date createDate) {
200                    _dlFileShortcut.setCreateDate(createDate);
201            }
202    
203            /**
204            * Gets the modified date of this d l file shortcut.
205            *
206            * @return the modified date of this d l file shortcut
207            */
208            public java.util.Date getModifiedDate() {
209                    return _dlFileShortcut.getModifiedDate();
210            }
211    
212            /**
213            * Sets the modified date of this d l file shortcut.
214            *
215            * @param modifiedDate the modified date of this d l file shortcut
216            */
217            public void setModifiedDate(java.util.Date modifiedDate) {
218                    _dlFileShortcut.setModifiedDate(modifiedDate);
219            }
220    
221            /**
222            * Gets the folder ID of this d l file shortcut.
223            *
224            * @return the folder ID of this d l file shortcut
225            */
226            public long getFolderId() {
227                    return _dlFileShortcut.getFolderId();
228            }
229    
230            /**
231            * Sets the folder ID of this d l file shortcut.
232            *
233            * @param folderId the folder ID of this d l file shortcut
234            */
235            public void setFolderId(long folderId) {
236                    _dlFileShortcut.setFolderId(folderId);
237            }
238    
239            /**
240            * Gets the to file entry ID of this d l file shortcut.
241            *
242            * @return the to file entry ID of this d l file shortcut
243            */
244            public long getToFileEntryId() {
245                    return _dlFileShortcut.getToFileEntryId();
246            }
247    
248            /**
249            * Sets the to file entry ID of this d l file shortcut.
250            *
251            * @param toFileEntryId the to file entry ID of this d l file shortcut
252            */
253            public void setToFileEntryId(long toFileEntryId) {
254                    _dlFileShortcut.setToFileEntryId(toFileEntryId);
255            }
256    
257            /**
258            * Gets the status of this d l file shortcut.
259            *
260            * @return the status of this d l file shortcut
261            */
262            public int getStatus() {
263                    return _dlFileShortcut.getStatus();
264            }
265    
266            /**
267            * Sets the status of this d l file shortcut.
268            *
269            * @param status the status of this d l file shortcut
270            */
271            public void setStatus(int status) {
272                    _dlFileShortcut.setStatus(status);
273            }
274    
275            /**
276            * Gets the status by user ID of this d l file shortcut.
277            *
278            * @return the status by user ID of this d l file shortcut
279            */
280            public long getStatusByUserId() {
281                    return _dlFileShortcut.getStatusByUserId();
282            }
283    
284            /**
285            * Sets the status by user ID of this d l file shortcut.
286            *
287            * @param statusByUserId the status by user ID of this d l file shortcut
288            */
289            public void setStatusByUserId(long statusByUserId) {
290                    _dlFileShortcut.setStatusByUserId(statusByUserId);
291            }
292    
293            /**
294            * Gets the status by user uuid of this d l file shortcut.
295            *
296            * @return the status by user uuid of this d l file shortcut
297            * @throws SystemException if a system exception occurred
298            */
299            public java.lang.String getStatusByUserUuid()
300                    throws com.liferay.portal.kernel.exception.SystemException {
301                    return _dlFileShortcut.getStatusByUserUuid();
302            }
303    
304            /**
305            * Sets the status by user uuid of this d l file shortcut.
306            *
307            * @param statusByUserUuid the status by user uuid of this d l file shortcut
308            */
309            public void setStatusByUserUuid(java.lang.String statusByUserUuid) {
310                    _dlFileShortcut.setStatusByUserUuid(statusByUserUuid);
311            }
312    
313            /**
314            * Gets the status by user name of this d l file shortcut.
315            *
316            * @return the status by user name of this d l file shortcut
317            */
318            public java.lang.String getStatusByUserName() {
319                    return _dlFileShortcut.getStatusByUserName();
320            }
321    
322            /**
323            * Sets the status by user name of this d l file shortcut.
324            *
325            * @param statusByUserName the status by user name of this d l file shortcut
326            */
327            public void setStatusByUserName(java.lang.String statusByUserName) {
328                    _dlFileShortcut.setStatusByUserName(statusByUserName);
329            }
330    
331            /**
332            * Gets the status date of this d l file shortcut.
333            *
334            * @return the status date of this d l file shortcut
335            */
336            public java.util.Date getStatusDate() {
337                    return _dlFileShortcut.getStatusDate();
338            }
339    
340            /**
341            * Sets the status date of this d l file shortcut.
342            *
343            * @param statusDate the status date of this d l file shortcut
344            */
345            public void setStatusDate(java.util.Date statusDate) {
346                    _dlFileShortcut.setStatusDate(statusDate);
347            }
348    
349            /**
350            * @deprecated {@link #isApproved}
351            */
352            public boolean getApproved() {
353                    return _dlFileShortcut.getApproved();
354            }
355    
356            /**
357            * Determines if this d l file shortcut is approved.
358            *
359            * @return <code>true</code> if this d l file shortcut is approved; <code>false</code> otherwise
360            */
361            public boolean isApproved() {
362                    return _dlFileShortcut.isApproved();
363            }
364    
365            /**
366            * Determines if this d l file shortcut is a draft.
367            *
368            * @return <code>true</code> if this d l file shortcut is a draft; <code>false</code> otherwise
369            */
370            public boolean isDraft() {
371                    return _dlFileShortcut.isDraft();
372            }
373    
374            /**
375            * Determines if this d l file shortcut is expired.
376            *
377            * @return <code>true</code> if this d l file shortcut is expired; <code>false</code> otherwise
378            */
379            public boolean isExpired() {
380                    return _dlFileShortcut.isExpired();
381            }
382    
383            /**
384            * Determines if this d l file shortcut is pending.
385            *
386            * @return <code>true</code> if this d l file shortcut is pending; <code>false</code> otherwise
387            */
388            public boolean isPending() {
389                    return _dlFileShortcut.isPending();
390            }
391    
392            public boolean isNew() {
393                    return _dlFileShortcut.isNew();
394            }
395    
396            public void setNew(boolean n) {
397                    _dlFileShortcut.setNew(n);
398            }
399    
400            public boolean isCachedModel() {
401                    return _dlFileShortcut.isCachedModel();
402            }
403    
404            public void setCachedModel(boolean cachedModel) {
405                    _dlFileShortcut.setCachedModel(cachedModel);
406            }
407    
408            public boolean isEscapedModel() {
409                    return _dlFileShortcut.isEscapedModel();
410            }
411    
412            public void setEscapedModel(boolean escapedModel) {
413                    _dlFileShortcut.setEscapedModel(escapedModel);
414            }
415    
416            public java.io.Serializable getPrimaryKeyObj() {
417                    return _dlFileShortcut.getPrimaryKeyObj();
418            }
419    
420            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
421                    _dlFileShortcut.setPrimaryKeyObj(primaryKeyObj);
422            }
423    
424            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
425                    return _dlFileShortcut.getExpandoBridge();
426            }
427    
428            public void setExpandoBridgeAttributes(
429                    com.liferay.portal.service.ServiceContext serviceContext) {
430                    _dlFileShortcut.setExpandoBridgeAttributes(serviceContext);
431            }
432    
433            @Override
434            public java.lang.Object clone() {
435                    return new DLFileShortcutWrapper((DLFileShortcut)_dlFileShortcut.clone());
436            }
437    
438            public int compareTo(
439                    com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut) {
440                    return _dlFileShortcut.compareTo(dlFileShortcut);
441            }
442    
443            @Override
444            public int hashCode() {
445                    return _dlFileShortcut.hashCode();
446            }
447    
448            public com.liferay.portal.model.CacheModel<com.liferay.portlet.documentlibrary.model.DLFileShortcut> toCacheModel() {
449                    return _dlFileShortcut.toCacheModel();
450            }
451    
452            public com.liferay.portlet.documentlibrary.model.DLFileShortcut toEscapedModel() {
453                    return new DLFileShortcutWrapper(_dlFileShortcut.toEscapedModel());
454            }
455    
456            @Override
457            public java.lang.String toString() {
458                    return _dlFileShortcut.toString();
459            }
460    
461            public java.lang.String toXmlString() {
462                    return _dlFileShortcut.toXmlString();
463            }
464    
465            public void persist()
466                    throws com.liferay.portal.kernel.exception.SystemException {
467                    _dlFileShortcut.persist();
468            }
469    
470            public com.liferay.portlet.documentlibrary.model.DLFolder getFolder() {
471                    return _dlFileShortcut.getFolder();
472            }
473    
474            public com.liferay.portlet.documentlibrary.model.DLFileEntry getToFileEntry()
475                    throws com.liferay.portal.kernel.exception.PortalException,
476                            com.liferay.portal.kernel.exception.SystemException {
477                    return _dlFileShortcut.getToFileEntry();
478            }
479    
480            /**
481            * @deprecated {@link #getToFileEntry()}
482            */
483            public long getToFolderId()
484                    throws com.liferay.portal.kernel.exception.PortalException,
485                            com.liferay.portal.kernel.exception.SystemException {
486                    return _dlFileShortcut.getToFolderId();
487            }
488    
489            /**
490            * @deprecated {@link #getToFileEntry()}
491            */
492            public long getToGroupId()
493                    throws com.liferay.portal.kernel.exception.PortalException,
494                            com.liferay.portal.kernel.exception.SystemException {
495                    return _dlFileShortcut.getToGroupId();
496            }
497    
498            /**
499            * @deprecated {@link #getToFileEntry()}
500            */
501            public java.lang.String getToName()
502                    throws com.liferay.portal.kernel.exception.PortalException,
503                            com.liferay.portal.kernel.exception.SystemException {
504                    return _dlFileShortcut.getToName();
505            }
506    
507            public java.lang.String getToTitle() {
508                    return _dlFileShortcut.getToTitle();
509            }
510    
511            public DLFileShortcut getWrappedDLFileShortcut() {
512                    return _dlFileShortcut;
513            }
514    
515            public void resetOriginalValues() {
516                    _dlFileShortcut.resetOriginalValues();
517            }
518    
519            private DLFileShortcut _dlFileShortcut;
520    }